Document presentation method and apparatus, and electronic device, storage medium and program product

Accessing document demonstration applications through the browser, the presenter generates access information in the remote demonstration scenario, realizing the synchronization of audio and video file playback status between the demonstration end and the audience, solving the problem of insufficient convenience in the existing technology and improving the convenience of remote demonstration.

WO2025107785A1PCT designated stage expired Publication Date: 2025-05-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Application Number
PCT/CN2024/114808
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-24
Filing Date
2024-08-27
Publication Date
2025-05-30

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

Accessing the document demonstration application through a browser, the presenter can display the target document associated with media files in the document demonstration interface, and generate access information for the remote demonstration room, send it to the audience, so that it can be connected to the remote demonstration room, and realize synchronization of the media file playback status.

Benefits of technology

There is no need to download the online document client, the demo and viewers can synchronize the playback status of media files through the browser, improving the convenience of remote demonstrations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024114808_30052025_PF_FP_ABST
    Figure CN2024114808_30052025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a document presentation method and apparatus, and an electronic device, a computer-readable storage medium and a computer program product. The method is applied to a first terminal, and comprises: in response to an access operation for an application webpage link of a document presentation application, displaying a document presentation interface of the document presentation application; displaying, in the document presentation interface, a target document associated with a media file; in response to a remote presentation operation for the target document, generating and displaying access information of a remote presentation room corresponding to the target document; and sending the access information to a second terminal corresponding to a target audience, so that after the second terminal accesses the remote presentation room on the basis of the access information, and when the first terminal controls the playing state of the media file on the basis of a media control mechanism, the playing state of the media file is synchronized.
Need to check novelty before this filing date? Find Prior Art

Description

Document presentation method, device, electronic device, storage medium and program product

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] The embodiments of this application are based on and claim the priority of Chinese patent application with application number 2023115923812 and application date November 24, 2023. The entire contents of the Chinese patent application are hereby introduced into the embodiments of this application as a reference. Technical Field

[0003] The present application relates to mobile Internet technology, and in particular to a document presentation method, device, electronic device, storage medium and program product. Background Art

[0004] With the development of mobile internet technology, presenters can use remote presentation technology to share presentation content with audiences in different locations. This convenience has made remote presentation applications increasingly popular among users. However, when the presentation document includes audio and video files, existing web-based online documents cannot synchronize the audio and video playback status in remote presentation scenarios.

[0005] To this end, related technologies use online document clients to synchronize audio and video playback status in remote presentation scenarios. For example, the presenter or audience first downloads and installs the online document client (i.e., application software) on their local terminal. The presenter then creates or imports the document to be presented using the client installed on their terminal, and then shares the presentation screen of the document to be presented with the audience terminal through screen sharing, achieving synchronization of the presentation screen between the presenter and the audience terminal. However, this method requires both the presenter's terminal and the audience terminal to download and install the corresponding client, making remote presentation or viewing of documents inconvenient.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a document presentation method, apparatus, electronic device, computer-readable storage medium, and computer program product. These methods do not require downloading a remote presentation client, and can synchronize the playback status of media files between the presenter and the audience through a browser, thereby improving the convenience of remote presentations.

[0008] The technical solution of the embodiment of the present application is implemented as follows:

[0009] An embodiment of the present application provides a document presentation method, applied to a first terminal, comprising:

[0010] In response to an access operation of an application webpage link for a document presentation application, displaying a document presentation interface of the document presentation application;

[0011] 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 a playback state of the media file;

[0012] In response to a remote presentation operation for the target document, generating and displaying access information of a remote presentation room corresponding to the target document;

[0013] The access information is sent 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, the playback status of the media file is synchronized when the first terminal controls the playback status of the media file based on the media control mechanism.

[0014] An embodiment of the present application provides a document presentation device, applied to a first terminal, comprising:

[0015] A first display module is configured to display a document presentation interface of the document presentation application in response to an access operation of an application webpage link for the document presentation application;

[0016] 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 a playback state of the media file;

[0017] 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;

[0018] The information sending module is configured to 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, the playback status of the media file is synchronized when the first terminal controls the playback status of the media file based on the media control mechanism.

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

[0020] a memory for storing computer-executable instructions or computer programs;

[0021] The processor is used to implement the document presentation method provided in the embodiment of the present application when executing the computer executable instructions or computer program stored in the memory.

[0022] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or a computer program for implementing the document presentation method provided in the embodiment of the present application when executed by a processor.

[0023] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the document presentation method provided in the embodiment of the present application is implemented.

[0024] The embodiments of the present application have the following beneficial effects:

[0025] By applying the embodiment of the present application, the presentation end (i.e., the first terminal) generates and displays the access information of the remote presentation room corresponding to the target document when performing a remote presentation operation on the target document by accessing the application web link corresponding to the document presentation application (i.e., through a browser), and sends the access information to the second terminal (i.e., the audience end) corresponding to the target audience, so that after the second terminal accesses the remote presentation room based on the access information, the playback status of the media file is synchronized when the first terminal controls the playback status of the media file based on the media control mechanism; in this way, the presentation end or the audience end does not need to download the online document client, and by accessing the application web link corresponding to the document presentation application (i.e., accessing the URL corresponding to the document presentation application through a browser), the playback status of the media files in the target document can be synchronized between the presentation end and the audience end when demonstrating the media files in the target document in a remote presentation scenario, thereby improving the convenience of remote presentation. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] FIG1 is a schematic diagram of the architecture of a document presentation system 100 provided in an embodiment of the present application;

[0027] FIG2 is a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application;

[0028] FIG3 is a flow chart of a document presentation method according to an embodiment of the present application;

[0029] FIG4 is a schematic diagram showing a document presentation interface according to an embodiment of the present application;

[0030] FIG5 is a schematic diagram illustrating a target document provided in an embodiment of the present application;

[0031] FIG6 is a schematic diagram of triggering a state control instruction provided in an embodiment of the present application;

[0032] FIG7 is a schematic diagram of a web-side online document demonstration provided by an embodiment of the present application;

[0033] FIG8 is a flow chart of a document presentation method according to an embodiment of the present application;

[0034] FIG9 is a schematic diagram of a remote demonstration provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0036] It is understandable that in the embodiments of the present application, when user information and other related data (such as information related to the login account) are involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0037] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0038] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0039] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) 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 part of an overall module or unit that includes the function of the module or unit.

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

[0041] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0042] 1) Remote Presentation: The presenter shares the presentation content with audiences in different locations through a browser.

[0043] 2) Remote Presentation Room Layer: This refers to an architectural layer used to manage and coordinate connections and communications between multiple participants (presenters and audience members) in remote presentation scenarios. Participants may be located in different locations, and the room layer is responsible for managing connections between participants and synchronizing presentation content and status.

[0044] 3) Web Application: refers to a software application that runs through an Internet browser and relies on a web server for data transmission and logical processing. That is, a web application is an application that is accessed and run through a web browser. Users do not need to install additional software or clients locally. They only need to access a specific URL through a browser to use the corresponding functions.

[0045] 4) WebSocket: A protocol for implementing two-way communication in web applications. It provides a persistent connection and allows real-time two-way data transmission between the server and the terminal.

[0046] 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. Presentation documents include but are not limited to documents in the following formats: slides or electronic presentations (PPT, Microsoft PowerPoint), portable documents (PDF, Portable Document Format), and Microsoft Word formats.

[0047] 6) JSON: A lightweight data exchange format commonly used to transmit and store data between different applications.

[0048] 7) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.

[0049] The embodiment of the present application provides a document presentation method, device, electronic device, computer-readable storage medium and computer program product, which can realize synchronization of the playback status of media files between the presenter and the audience. The exemplary application of the electronic device provided by the embodiment of the present application is described below. The electronic device provided by the embodiment of the present application can be implemented as various types of terminals such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (for example, mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), smart phones, smart speakers, smart watches, smart TVs, car terminals, augmented reality (AR, Augmented Reality) and virtual reality (VR, Virtual Reality) devices, and can also be implemented as servers, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDN) and basic cloud computing services such as big data and artificial intelligence platforms. The terminal and the server can be directly or indirectly connected by wired or wireless communication, which is not limited in the embodiment of the present application.

[0050] Refer to Figure 1, which is a schematic diagram of the architecture of the document presentation system 100 provided in an embodiment of the present application. In order to support an exemplary application, the terminal (the first terminal 400-1 and the second terminal 400-2 are shown as an example) is connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0051] Taking the first terminal 400-1 as the presenter's terminal and the second terminal 400-2 as the audience's terminal as an example, when the presenter accesses the application web 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; the target document associated with the media file is displayed 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; in response to the remote presentation operation for the target document, a remote presentation request for the target document is sent to the server 200; based on the remote presentation request, the server 200 generates access information of the remote presentation room corresponding to the target document (such as a room web link or graphic code corresponding to the remote presentation room) 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 after the second terminal 400-2 accesses the remote presentation room based on the access information, the playback status of the media file is synchronized when the first terminal 400-1 controls the playback status of the media file based on the media control mechanism.

[0052] Referring to Figure 2, Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application. Taking the electronic device 500 as the first terminal 400-1 in Figure 1 as an example, the electronic device 500 shown in Figure 2 includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It will be understood that the bus system 540 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are labeled as bus system 540 in Figure 2.

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

[0054] The memory 550 includes a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. 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. The memory 550 may optionally include one or more storage devices physically remote from the processor 510.

[0055] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.

[0056] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic businesses and process 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 Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.

[0057] In some embodiments, the document presentation device provided in the embodiments of the present application can be implemented in software. The document presentation device provided in the embodiments of the present application can be provided as various software embodiments, including various forms including applications, software, software modules, scripts or codes. Figure 2 shows a document presentation device 555 stored in the memory 550, which can be software in the form of programs and plug-ins, 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 and can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.

[0058] In other embodiments, the apparatus provided in the embodiments of the present application may be implemented in hardware. As an example, the apparatus 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 be 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.

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

[0060] As previously mentioned, the document presentation method provided in the embodiment of the present application can be implemented by various types of electronic devices. For example, it can be executed by the terminal in Figure 1 alone, or it can be executed in collaboration with the terminal in Figure 1 and the server 200. Next, the document presentation method provided in the embodiment of the present application is described by taking the terminal in Figure 1 (such as the first terminal 400-1 on the presenter side) as an example. Referring to Figure 3, Figure 3 is a flow chart of the document presentation method provided in the embodiment of the present application, which will be described in conjunction with the steps shown in Figure 3.

[0061] Step 101: A first terminal displays a document presentation interface of a document presentation application in response to an access operation to an application webpage link of the document presentation application.

[0062] Among them, the application web link is the network address corresponding to the document demonstration 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 the search engine (i.e., the browser), the first terminal responds to the access operation and displays the document demonstration interface of the document demonstration application, that is, enters the document demonstration interface (or document demonstration room) through the browser.

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

[0064] In some embodiments, the first terminal may display the target document associated with the media file in the document presentation interface in the following manner: displaying a document import control in the document presentation interface; and displaying the imported target document associated with the media file in response to a document import operation triggered by the document import control.

[0065] In actual application, the presenter can create a new target document to be demonstrated in the document presentation interface, or import the target document for demonstration through the document import control. Referring to Figure 4, Figure 4 is a display diagram of the document presentation interface provided by the 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 the 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. Through the new entry 401, a new target document can be created as a document to be demonstrated; through the document import control 402, an existing target document can be imported as a document to be demonstrated. For example, in response to a trigger operation for the document import control 402, at least one candidate document for import is displayed. In response to a selection operation for a target document (such as presentation 1.pptx) 403 in at least one candidate document, the imported target document 403 is displayed in the document presentation interface.

[0066] The target document includes, but is not limited to, documents in the following formats: PPT, PDF, and Word. The target document is pre-associated with a media file, and the media file's presentation format includes at least one of the following: an audio file and a video file. The media file may be pre-set with a media control mechanism, which is used to control the playback state of the media file, such as controlling the start, stop, fast forward, and rewind of the media file. That is, the media control mechanism indicates an implementation method for playing the media file in the corresponding playback state. The media control mechanism includes, but is not limited to, a position trigger mechanism and an element trigger mechanism. The position trigger mechanism indicates triggering a corresponding position in the document presentation interface to control the change of the playback state of the media file, and the element trigger mechanism indicates triggering a corresponding element in the document presentation interface to control the change of the playback state of the media file, such as controlling the media file 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). 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 document presentation interface according to actual needs.

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

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

[0069] In actual application, the remote demonstration operation can be triggered through the remote demonstration entrance, such as displaying the remote demonstration entrance in the document demonstration interface, the first terminal responds to the trigger operation for the remote demonstration entrance, receives the remote demonstration operation for the target document, and responds to the remote demonstration operation, obtains the room identifier of the remote demonstration room (the room identifier and the document identifier of the target document are in a one-to-one correspondence), and generates a room web link of the remote demonstration room based on the room identifier and the application web link corresponding to the document demonstration application (the room web link corresponds to the room identifier of the remote demonstration room, and the room web link is the only link of the remote demonstration room), which can directly link the room web link to the remote demonstration room. The graphic code is used as the access information of the remote demonstration room, so that the audience can enter the remote demonstration room by accessing the room web link to view the demonstration content of the target document; after generating the room web link of the remote demonstration room based on the room identifier and the application web link corresponding to the document demonstration application, the room web link can be further encoded to obtain the corresponding graphic code (which is a coding method that can be read by the terminal, which contains information that can be understood and interpreted by the terminal machine, such as barcode, matrix code, QR code, etc.), and the graphic code is used as the access information of the remote demonstration room, so that the audience can enter the remote demonstration room by scanning the graphic code to view the demonstration content of the target document.

[0070] Step 104: Send 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, the playback status of the media file is synchronized when the first terminal controls the playback status of the media file based on the media control mechanism.

[0071] In some embodiments, the first terminal may send access information to the second terminal corresponding to the target audience in the following manner: sending access information to the second terminal corresponding to the target audience in a targeted manner; wherein the targeted manner includes at least one of the following: instant messaging, email, text message, and telephone notification.

[0072] Here, after the first terminal generates access information for a remote presentation room corresponding to the target document, it can then send the access information to the second terminal corresponding to the target audience via a targeted method, so that the second terminal can enter the remote presentation room based on the access information to view the presentation content of the target document. The targeted method can be an instant messaging method, where the first terminal sends a session message including the access information for the remote presentation room to the second terminal corresponding to the target audience via an instant messaging session message. When the audience triggers the access information in the session message displayed on the second terminal, the second terminal responds to the triggering operation by jumping from the display page of the session message to the remote presentation room indicated by the access information, and displays the presentation screen of the target document in the remote presentation room.

[0073] The target method can also be an email method, that is, the first terminal sends an email including the access information of the remote demonstration room to the second terminal of the target audience via email, so that when the audience triggers the access information in the email displayed on the second terminal, the second terminal responds to the trigger operation, jumps from the display page of the email to the remote demonstration room indicated by the access information, and displays the demonstration screen of the target document in the remote demonstration room.

[0074] The target method can also be a text message method, that is, the first terminal sends a text message including the access information of the remote demonstration room to the second terminal corresponding to the target audience via text message, so that when the audience triggers the access information in the text message displayed on the second terminal, the second terminal responds to the trigger operation, jumps from the display page of the text message to the remote demonstration room indicated by the access information, and displays the demonstration screen of the target document in the remote demonstration room.

[0075] Alternatively, the target method may be a telephone notification method. For example, the presenter may use the first terminal to send a notification request containing access information for the remote presentation room and the target audience to the server. In response to the notification request, the server sends a call request for the target audience to a call center. After receiving the call request, the call center obtains the target audience's contact number, such as the mobile phone number associated with an instant messaging application, and uses the mobile phone number as the target audience's contact number. The call center then calls the carrier interface corresponding to the contact number to call the contact number. When the target audience answers the call, the carrier returns a call status notification (i.e., an answer) to the call center. The call center then returns the call status notification of the target group members to the server. Based on the call status notification, if the server determines that the target audience is in the answering state, it sends a notification voice message containing access information for the remote presentation room to the call center. The call center then calls the carrier interface to play the notification voice message based on the access information, prompting the target audience to perform a corresponding operation corresponding to the access information (e.g., triggering a target button or speaking a target sentence) to enter the remote presentation room. After the target audience performs the corresponding operation as prompted, they enter the remote presentation room to view the presentation content of the target document, completing the telephone notification.

[0076] 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; in the process of displaying the presentation content of the target document, in response to the arrival of the presentation timing of the media file, the playback interface of the media file is displayed in the room interface; in response to the status control instruction triggered based on the media control mechanism, the playback status of the media file in the playback interface is controlled.

[0077] See Figure 5, which is a schematic diagram of the demonstration of the target document provided by an embodiment 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 demonstration room corresponding to the target document and demonstrate the target document in the room interface of the remote demonstration room. During the demonstration of the target document, the demonstration content of the target document is displayed in real time in the room interface of the remote demonstration room; at the same time, in (b), after the second terminal of the target audience enters the remote demonstration room, the demonstration content of the target document is displayed in real time in the room interface of the remote demonstration room, that is, the demonstration content displayed at the same time in the room interface of the first terminal and the second terminal entering the same remote demonstration room is always the same.

[0078] When the presentation time of the media file associated with the target document arrives, the first terminal displays the playback interface of the media file 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 by a state control instruction triggered based on the media control mechanism, such as controlling the media file to change from a pause playback state (not played) to a start playback state (playing), or from a start playback state (playing) to a stop playback state (not played). At the same time, the second terminal of the target audience who is watching the presentation content of the target document in the remote presentation room synchronizes the playback status of the media file when the first terminal controls the playback status of the media file based on the media control mechanism, that is, the playback of the room interfaces of the first terminal and the second terminal is synchronized. In the interface, the playback status of the corresponding media files at the same time is consistent. 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. For example, 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. In this way, the presentation end (i.e., the first terminal) or the audience end (i.e., the second terminal) does not need to download the online document client. By accessing the application web link corresponding to the document presentation application (i.e., accessing the URL corresponding to the document presentation application through a browser), when demonstrating the media files in the target document in the remote presentation scenario, the playback status of the media files in the presentation end and the audience end is synchronized, thereby improving the convenience of remote presentation.

[0079] In some embodiments, before the first terminal displays the playback interface of the media file in the room interface, it can determine that the presentation time of the media file has arrived in the following manner: in response to the presentation of the media file to the target page in the target document, and the presentation duration of the target page reaches the target duration, it is determined that the presentation time of the media file has arrived; or, in response to the presentation of the media file to the target page in the target document, the presentation control of the media file is displayed in the target page, and in response to the triggering operation of the presentation control, it is determined that the presentation time of the media file has arrived; or, in response to the presentation of the media file to the target page in the target document, the presentation prompt information of the corresponding media file is displayed at the display position of the associated media file in the target page, and in response to the determination operation of the presentation prompt information, it is determined that the presentation time of the media file has arrived.

[0080] In actual applications, before presenting the target document, the presenter can arrange and configure the components and page numbers (i.e., page numbers) of the target document, such as associating the media file at which page and position in the target document, and can pre-set the presentation timing of the media file (i.e., the playback conditions of the media file), that is, pre-set the conditions under which the display of the media file playback interface can be triggered.

[0081] In actual implementation, when the target document corresponds to multiple pages (for example, when the target document is in PPT format, the presentation page can have multiple PPTs; when the target document is in Word format, the presentation page can have multiple pages of documents), it can be preset that when the presentation time of the target page in the target document where the media file is located reaches the target time (that is, the presenter is in the Nth second of presenting to the target page where the media file is located, N is the target time, which can be set according to actual needs, such as 3 seconds), it is determined that the presentation time of the media file has arrived, so as to display the playback interface of the media file in the room interface; in this way, when the presentation time of the target page (that is, the display time of the target page) reaches the preset target time, the display of the playback interface of the media file can be automatically triggered without the presenter performing any operation, thereby improving the intelligence of the presentation process and thereby improving the efficiency of document presentation.

[0082] In addition, it can be preset that when presenting to the target page in the target document where the media file is located, the presentation controls of the media file are displayed in the target page, or the presentation prompt information of the corresponding media file is displayed at the display position of the associated media file in the target page. By triggering the presentation controls or performing a confirmation operation on the presentation prompt information, it is determined that the presentation time of the media file has arrived, so that the playback interface of the media file can be displayed in the room interface. In this way, the display of the playback interface of the media file is triggered by the presenter actively performing a trigger operation or a confirmation operation, thereby improving the flexibility and applicability of the presentation process.

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

[0084] Here, when displaying the playback interface of a media file, the playback interface of the media file can be displayed through a sub-interface independent of the room interface (that is, the sub-interface independent of the room interface is used as the playback interface of the media file). In this case, the presenter can drag the playback interface (or sub-interface) at will to change the position of the playback interface (or sub-interface) in the room interface; when displaying the playback interface of the media file, a target animation display method can also be used to dynamically display the process of the playback interface of the media file moving to the target area of ​​the room interface, such as dynamically displaying the process of the playback interface moving from the edge area of ​​the room interface to the middle area of ​​the room interface.

[0085] In some embodiments, the first terminal can control the playback status of the media file in the playback interface in response to a status control instruction triggered by a media control mechanism in the following manner: when the media control mechanism is a position trigger mechanism, in response to a first status control instruction triggered based on a first position, the media file is controlled 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, the media file is controlled 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 both include at least one of the following positions: any position in other sub-interfaces of the room interface except the playback interface, and any position in the playback interface.

[0086] Referring to FIG6 , FIG6 is a triggering diagram of a state control instruction provided in an embodiment of the present application. When the media control is a position triggering 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 (which can be any position in the room interface 601) to control the media file to start playing in the playback interface 602, that is, the playback state of the media file is changed from not playing to playing; during the playback of the media file, the presenter triggers the second state control instruction by triggering the second position (which can be any position in the room interface 601) to control the media file to stop playing in the playback interface 602, that is, the playback state of the media file is changed from playing to not playing. Among them, the first position and the second position can be the same or different, and the first position and the second position are not limited to any position in the playback interface 602 corresponding to the media file, but can also be any position in other interfaces of the room interface 601 except the playback interface 602.

[0087] Through the above method, 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 operation more convenient, and thus improving the remote presentation experience.

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

[0089] In actual applications, since the playback interface of a media file itself has controls for controlling the playback status of the media file (such as a play control, a fast-forward control, and a rewind control), when the first position or the second position is any position in the playback interface, the first position or the second position can be the location of the control, or can be another area of ​​the playback interface other than the control. The fast-forward control can speed up the playback progress of the media file, and the rewind control can rewind the playback progress of the media file; in this way, the relevant controls of the playback interface of the media file itself are inherited or migrated to the remote presentation application, and by displaying the relevant controls of the playback interface of the media file itself in the remote presentation room, convenient control of the playback progress of the media file is achieved.

[0090] In some embodiments, the first terminal can control the playback status of the media file in the playback interface in response to the status control instruction triggered by the media control mechanism in the following manner: when the media control mechanism is an element trigger mechanism, obtain the 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 the status control instruction triggered by the target trigger element, control the playback status of the media file in the playback interface.

[0091] Here, when the media control mechanism is an element trigger mechanism, the interactive control area of ​​the media file can also be narrowed down to any one or more trigger elements in the room interface, and is not limited to the control elements of the media file playback interface itself. The target trigger element that triggers the media control mechanism can be preset, and the playback status of the media file can be controlled by triggering the target trigger element. In this way, the user can preset the target trigger element that triggers the media control mechanism according to actual needs or his own presentation habits, making user operations more convenient during the presentation process, thereby improving the remote presentation experience.

[0092] In some embodiments, the first terminal can continue to play the media file in the following manner: when the playback status indicates that the media file is being played, the media content of the media file is output through the playback interface; in the process of outputting the media content, in response to the demonstration operation of other parts of the target document other than the media file, the demonstration content of other parts is displayed in the room interface; in the process of displaying the demonstration content of other parts, the parameters of the playback interface are adjusted, and the media content is continued to be output 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.

[0093] In actual application, during the process of playing a media file, the presenter can also demonstrate other parts of the target document except the media file (the other parts here generally refer to any content in the target document except the media file), wherein the other parts can be other document contents other than the media file in the target page where the media file is located, or can be document contents in other pages different from the target page where the media file is located. The presenter can trigger demonstration operations for other parts in a certain way, such as sliding the target page where the media file is located to trigger demonstration operations for other parts, or turning pages from the target page where the media file is located to other pages to trigger demonstration operations for other parts; wherein the page turning method can be triggered by the page turning control in the playback interface, or can be triggered by an input device such as a keyboard or mouse, or can be triggered when the timed page turning opportunity set in advance by the presenter arrives. Of course, it can also be other triggering methods. The embodiment of the present application does not limit the page turning method.

[0094] The first terminal responds to the demonstration operation for other parts, displays the demonstration content of other parts in the room interface, and adjusts the playback interface of the media file while displaying the demonstration content of other parts in the room interface, such as adjusting the size of the playback interface of the media file (such as shrinking the playback interface of the media file), or adjusting the position of the playback interface of the media file in the room interface (such as adjusting the playback interface of the media file from the middle position in the room interface to the edge position); or adjusting the transparency of the playback interface of the media file, such as adjusting the transparency of the playback interface of the media file when the demonstration content of other parts is blocked and covered by the playback interface of the media file. , so as to display other parts of the presentation content through the playback interface of the media file; or adjust the volume of the audio content of the media file output from the playback interface of the media file, such as lowering the volume output of the media file to reduce the interference of the playback of the media file on other parts of the presentation content, or adjust the color volume of the presenter for other parts, such as increasing or decreasing the presenter's presentation volume for other parts, or when other parts of the presentation content are output through audio, lower the audio output volume of other parts of the presentation content to ensure the presentation quality of the media file, or increase the audio output volume of other parts of the presentation content while lowering the volume output of the media file to ensure the presentation quality of other parts.

[0095] Through the above method, the playback of media files and other parts of the presentation are independent of each other. While playing media files in the room interface of the same remote presentation room, other parts of the presentation content are also displayed, meeting the user's diverse information acquisition needs, and the presentation of multiple information does not interfere with each other, thereby improving the viewing experience.

[0096] 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 a motion display effect, in the process of displaying the presentation content of the target document, in response to the presentation timing of the target content arriving, the target content is displayed using a presentation style corresponding to the motion display effect.

[0097] Here, when the target document is associated with target content with a dynamic display effect, that is, the display style of the target content has a dynamic display effect, such as the "fly in", "fly out", "venetian blinds" and other dynamic display effects in PPT presentations. This type of target content can also be called animation (such as entry animation, exit animation and emphasis animation). When the presentation timing of the target content arrives, the target content can be displayed in a display style corresponding to the dynamic display effect. For example, if the dynamic display effect associated with the target content is "venetian blinds", the corresponding presentation timing is when the presenter clicks on the target content, and the target content is displayed in the form of a "venetian blinds" dynamic display.

[0098] Through the above method, the animation effects associated with the target content of the demonstration are inherited or migrated to the remote demonstration application, which not only ensures the authenticity of the document demonstration, but also improves the diversity and fun of the demonstration effect.

[0099] 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, create a presentation timeline for controlling the presentation order of the media file and the target content; and determine whether the presentation timing of the media file and the target content has arrived through the presentation timeline.

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

[0101] In some embodiments, the first terminal can 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 the 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 the presentation extension screen.

[0102] In actual applications, for other parts of the target document except media files, the other parts can be demonstrated according to conventional control methods. For example, when demonstrating page turning of other parts through a control device, the document demonstration operation indicating page turning can be triggered by sliding the mouse, tapping keys on the keyboard (such as the space bar, down key or forward key, etc.), or an infrared remote control or triggering relevant keys in the virtual keyboard. In addition, the document demonstration operation can also be triggered by the virtual keyboard in the demonstration extension screen.

[0103] Among them, the presentation extended screen refers to the application scenario where the main screen is selected to present the target document in full screen (such as playing PPT), and the secondary screen is selected by the presenter for presentation. It can not only expand the document presentation but also view notes. It supports the wireless transformation of mobile phones and tablets into secondary screens (i.e., presentation extended screens), and allows the secondary screen to control the main screen presentation by simulating the mouse function. The presentation extended screen usually refers to the process of expanding the display area through additional display devices (such as projectors, monitors, etc.) when presenting the target document on a first terminal such as a computer or laptop. The presenter needs to set the presentation mode before the presentation. For example, before the presentation starts, make sure that all content is correctly displayed on the extended screen. For example, if the first terminal is a laptop and the extended screen is a projector, the laptop can be connected to the projector through the projection or screen casting function of the laptop. When the presentation starts, the main screen (i.e., the laptop screen) can display the presenter's notes or control interface, while the extended screen (i.e., the projector screen) displays the presentation content.

[0104] In some embodiments, after the first terminal sends access information to the second terminal corresponding to the target audience, in the process of controlling the playback status of the media file in the playback interface, it can also send a synchronization request for the playback status to the second terminal, so that the second terminal renders the status data of the corresponding playback status carried by the synchronization request based on the synchronization request to synchronize the playback status of the media file.

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

[0106] In some embodiments, after the first terminal sends access information to the second terminal corresponding to the target audience, it may also receive an association establishment request sent by the second terminal, wherein the association establishment request is used to request the establishment of an association between the login account corresponding to the second terminal and the remote presentation room; in response to the association establishment request, when it is determined that the login account corresponding to the second terminal has access authority to the remote presentation room, an association is established between the login account corresponding to the second terminal and the remote presentation room; wherein the association is used to synchronously update the presentation status of the target document presented by the second terminal in the remote presentation room when the presentation status of the target document is updated.

[0107] Here, after the first terminal and the second terminal log in to or access the remote presentation room of the target document through the browser, the first terminal and the second terminal both establish a long link 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 establishment request sent by the second terminal. The first terminal responds to the association establishment request, and when it determines that the login account corresponding to the second terminal has access rights to the remote presentation room (i.e., it has document viewing rights for the target document), 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, and maintains synchronization with the presentation data and page display of the presentation end.

[0108] Through the above method, the presentation end (i.e., the first terminal) generates and displays the access information of the remote presentation room corresponding to the target document when performing a remote presentation operation on the target document by accessing the application web link corresponding to the document presentation application, and sends the access information to the second terminal (i.e., the audience end) corresponding to the target audience, so that after the second terminal accesses the remote presentation room based on the access information, the playback status of the media file is synchronized when the first terminal controls the playback status of the media file based on the media control mechanism; in this way, the presentation end or the audience end does not need to download the online document client, and by accessing the application web link corresponding to the document presentation application (i.e., accessing the URL corresponding to the document presentation application through a browser), the playback status of the media files in the target document can be synchronized between the presentation end and the audience end when demonstrating the media files in the remote presentation scenario, thereby improving the convenience of remote presentation.

[0109] Below, an exemplary application of an embodiment of the present application in an actual application scenario will be described. Taking the remote demonstration scenario as a web-side online document demonstration scenario, and the target document as a PPT associated with a media file as an example, most of the existing web-side online documents support the playback and pause of audio and video files (i.e., the above-mentioned media files), but this control can only be achieved by direct interaction with the audio and video area itself (i.e., the area where the audio and video playback interface is located). For example, see Figure 7, which is a schematic diagram of the web-side online document demonstration provided by an embodiment of the present application. When the audio and video files in the PPT are demonstrated in the room interface, in (a), the audio and video area itself can only be clicked to play and pause. (i.e., the audio and video playback interface 701) to control the playback or pause of the audio and video, while clicking on areas other than the playback interface 701 in the room interface cannot control the playback or pause of the audio and video; in (b), the playback or pause of the audio and video can only be controlled by clicking the play button in the audio and video area itself (i.e., the play button 702 in the audio and video playback interface), while clicking on areas other than the play button 702 in the playback interface or clicking on areas other than the playback interface in the room interface cannot control the playback or pause of the audio and video; moreover, the existing web-based online document presentation technology cannot synchronize the audio and video playback status between the audience end and the presentation end in a remote presentation scenario.

[0110] To this end, an embodiment of the present application provides a document presentation method. In a remote presentation scenario, when presenting audio and video, the presenter can arbitrarily trigger any area in the room interface of the remote presentation room (such as any area in the room interface 703 shown in Figure 7(c)) to control the playback status of the audio and video, thereby expanding the interactive control area of ​​the audio and video and making user operation more convenient; in addition, the present application can also achieve synchronization of the audio and video playback status on the presentation end and the audience end in the remote presentation scenario, by allowing the presenter to demonstrate directly through the browser and the audience to access the remote presentation room directly through the browser, thereby improving the remote presentation experience.

[0111] Next, refer to Figure 8, which is a flow chart of the document presentation method provided in an embodiment of the present application, and will be explained in conjunction with the steps shown in Figure 8.

[0112] Step 201: The presentation terminal displays a document presentation interface of the online document application in response to an access operation to an application webpage link of the online document application.

[0113] Among them, the demonstration end is the first terminal mentioned above, the online document application is the document demonstration application mentioned above, and the application web link is the network address corresponding to the online document application, such as: "https: / / docs.xx.com / ". When the presenter logs in to access the network address, the demonstration end displays the document demonstration interface of the online document application.

[0114] Step 202: The presentation terminal responds to the document import operation and displays the imported PPT document in the document presentation interface.

[0115] Here, a document import control is displayed in the document presentation interface. The presenter can use the document import control to import a PPT document (i.e., the target document mentioned above) as the document to be presented. When the presenter triggers the document import control, the presentation end responds to the document import operation triggered by the document import control and displays the imported PPT document, wherein the PPT document is associated with audio and video files.

[0116] Here, after the presenter imports a 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, and the imported PPT document will be 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. 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 contains animation layer data (Animation Model). The animation layer data includes animation data corresponding to various animation types, including but not limited to: entry animation, exit animation, emphasis animation, and media control animation. Media control animation is an animation type that can control the playback and pause of audio and video. The animation corresponding to its audio and video files is called media control animation.

[0117] Step 203: In response to the remote presentation operation for the PPT document, the presentation terminal generates and sends access information of the remote presentation room to the audience terminal corresponding to the target audience.

[0118] Refer to Figure 9, which is a schematic diagram of the remote demonstration provided by an embodiment of the present application. The presenter can trigger the remote demonstration operation by clicking on the remote demonstration control 901. The demonstration end responds to the remote demonstration operation and displays an invitation control (such as inviting friends) 902 for inviting friends (i.e., audiences) to watch the demonstration content. When the presenter clicks on the invitation control 902, the demonstration end responds to the click operation and generates access information (such as a link or graphic code) of the remote demonstration room layer. After the presenter distributes the access information to the audience end (i.e., the second terminal mentioned above), the presenter enters the remote demonstration state, that is, the PPT document of the demonstration is displayed in the room interface of the remote demonstration 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.

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

[0120] Once the presenter and audience enter the remote presentation room, an animation timeline (the aforementioned presentation timeline) is created based on their respective animation layer data, combined with the animation trigger conditions and timing. This animation timeline manages the animation grouping for each slide and controls the animation playback order. Media control animations are also managed within the animation timeline, which allows for unified management of different animation types.

[0121] Step 205: The presentation terminal sends a first synchronization request to the server in response to the presentation operation.

[0122] 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, wherein the first synchronization request carries the presentation room status data, which is used to request 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 used to control the page turning and animation playback order (including data such as the page number of the slide, the playback order of the animation, etc.).

[0123] Step 206: The server pushes the room status data to the room layer in response to the first synchronization request.

[0124] Here, after receiving the first synchronization request, the server responds to the first synchronization request and pushes the latest room status data carried in the first synchronization request to the room layer.

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

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

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

[0128] Step 209: Determine whether the animation play sequence data has changed.

[0129] Here, if the page number data has not changed, it will be determined whether the animation play sequence data in the room status data has changed. If the animation play sequence data has not changed, no processing will be performed; if the animation play sequence data has changed, step 210 will be executed.

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

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

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

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

[0134] Step 213: The presentation end sends a second synchronization request to the server in response to the triggering operation on the audio and video area itself.

[0135] Here, when the presenter directly operates the audio and video area itself, such as fast forward, rewind, play, pause and other operations (that is, the above-mentioned control of the playback rhythm of the audio and video by triggering the controls of the playback interface of the media file itself), the presentation end will send a second synchronization request to the server through the WebSocket protocol, wherein the second synchronization request carries the audio and video status data, which is used to request synchronization of the audio and video status data. The audio and video status data (RoomMediaData) is generated by the presentation end according to the presenter's triggering operation on the audio and video area itself, including control behavior, playback time, audio and video identification, playback speed, etc., which is used to control the playback, pause or fast forward of the audio and video.

[0136] Step 214: The server pushes the audio and video status data to the room layer in response to the second synchronization request.

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

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

[0139] Here, the room level receives the latest audio and video data, and the front-end page is re-rendered. This means that the audience has synchronized the audio and video data with the presenter, maintaining synchronization with the audio and video data and audio and video playback behavior of the presenter. All participants in the room level (including the presenter and the audience) first determine whether the audio and video files in the latest audio and video data are found. If not, no processing is performed. If the audio and video files are found, step 216 is executed.

[0140] Step 216: Control the playback status of the audio and video according to the control behavior of the audio and video file.

[0141] Here, when presenting audio and video, the presenter can arbitrarily trigger any area in the room interface of the remote presentation room to control the playback status 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 ​​audio and video and making user operation more convenient.

[0142] Through the above method, the embodiments of the present application have at least the following beneficial effects: 1) It makes up for the shortcomings of controlling audio and video playback in online documents on the web, can control the playback and pause of audio and video through animation, and expands the interactive area of ​​audio and video, making user operation more convenient and the experience more friendly; 2) through the animation timeline, media control animations (control audio and video playback and pause) and other types of animations (such as entry animation, exit animation, emphasis animation, etc.) are uniformly managed, and different types of animations can be combined and played in sequence; 3) in the remote demonstration scenario, the synchronization of media control animations and audio and video operation behaviors is achieved, so that the audience and the presenter can maintain the consistency of audio and video playback status.

[0143] So far, the document presentation method provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. Now, we will continue to describe how the various modules in the document presentation device 555 provided by the embodiment of the present application cooperate to implement the document presentation solution.

[0144] The first display module 5551 is configured to display a document presentation interface of the document presentation application in response to an access operation of an application web page link for the document presentation application; the second display module 5552 is 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; the third display module 5553 is configured to generate and display access information of a remote presentation room corresponding to the target document in response to a remote presentation operation for the target document; the information sending module 5554 is configured to send the access information to a second terminal corresponding to the target audience, so that after the second terminal accesses the remote presentation room based on the access information, the playback status of the media file is synchronized when the first terminal controls the playback status of the media file based on the media control mechanism.

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

[0146] In some embodiments, the third display module is further configured to obtain the room identifier of the remote demonstration room, and generate a room web link corresponding to the remote demonstration 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.

[0147] In some embodiments, the information sending module is configured to send the access information to the second terminal corresponding to the target audience in a target manner; wherein the target manner includes at least one of the following: instant messaging, email, text message, and telephone notification.

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

[0149] In some embodiments, before displaying the playback interface of the media file in the room interface, the device also includes: a presentation timing determination module, configured to determine that the presentation timing of the media file has arrived in response to the presentation of the media file to the target page in the target document and the presentation duration of the target page reaches the target duration; or, in response to the presentation of the media file to the target page in the target document, display the presentation control of the media file in the target page, and determine that the presentation timing of the media file has arrived in response to a trigger operation on the presentation control; or, in response to the presentation of the media file to the target page in the target document, display presentation prompt information corresponding to the media file at the display position associated with the media file in the target page, and determine that the presentation timing of the media file has arrived in response to a determination operation on the presentation prompt information.

[0150] In some embodiments, 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, to display the process of the playback interface of the media file moving to the target area of ​​the room interface using a target animation display method.

[0151] In some embodiments, the presentation processing module is further configured to, when the media control mechanism is a position trigger mechanism, control the media file to start playing in the playback interface in response to a first state control instruction triggered based on a first position; and during the process of playing the media file in the playback interface, control the media file to stop playing in the playback interface in response to a second state control instruction triggered based on a second position; wherein, 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, and any position in the playback interface.

[0152] In some embodiments, the presentation processing module is further configured to, during the process of playing the media file in the playback interface, speed up the playback progress of the media file in response to a triggering operation on the fast-forward control in the playback interface; and rewind the playback progress of the media file in response to a triggering operation on the rewind control in the playback interface.

[0153] In some embodiments, the presentation 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; and control the playback status of the media file in the playback interface in response to a status control instruction triggered based on the target trigger element.

[0154] In some embodiments, the presentation processing module is further configured to output the media content of the media file through the playback interface when the playback status indicates that the media file is being played; in the process of outputting the media content, in response to the presentation operation on other parts of the target document other than the media file, display the presentation content of the other parts in the room interface; in 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.

[0155] In some embodiments, when the target document includes target content associated with a motion display effect, the device further includes: a motion display module configured to display the target content in a display style corresponding to the motion display effect in response to the arrival of the presentation timing of the target content during the display of the presentation content of the target document.

[0156] In some embodiments, the device also 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.

[0157] In some embodiments, the presentation processing module is further configured to respond 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 the presentation extension screen.

[0158] In some embodiments, after sending the access information to the second terminal corresponding to the target audience, the device also includes: a synchronous sending module, configured to send a synchronization request for the playback status to the second terminal in the process of controlling the playback status of the media file in the playback interface, so that the second terminal renders the status data corresponding to the playback status carried by the synchronization request based on the synchronization request to synchronize the playback status of the media file.

[0159] In some embodiments, after sending the access information to the second terminal corresponding to the target audience, the device also includes: an association establishment module, configured to receive an association establishment request sent by the second terminal, wherein the association establishment request is used to request the establishment of an association between the login account corresponding to the second terminal and the remote presentation room; in response to the association establishment request, when it is determined that the login account corresponding to the second terminal has access rights to the remote presentation room, an association is established between the login account corresponding to the second terminal and the remote presentation room; wherein, the association is used to synchronously update the presentation status of the target document presented by the second terminal in the remote presentation room when the presentation status of the target document is updated.

[0160] An embodiment of the present application provides a computer program product, which includes a computer program or computer-executable instructions 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 executes the computer-executable instructions, causing the electronic device to perform the document presentation method described above in the embodiment of the present application.

[0161] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, which stores computer-executable instructions or computer programs. When the computer-executable instructions or computer programs are executed by a processor, the processor will execute the xx method provided in the embodiment of the present application, for example, the document presentation method shown in Figure 3.

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

[0163] In some embodiments, 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 as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0164] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).

[0165] By way of example, computer-executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed across multiple sites and interconnected by a communication network.

[0166] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.

Claims

1. A document presentation method, the method being executed by an electronic device and applied to a first terminal, the method comprising: In response to an access operation to an application webpage link of a document demonstration application, displaying a document demonstration interface of the document demonstration 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 a playback state of the media file; In response to a remote presentation operation for the target document, generating and displaying access information of a remote presentation room corresponding to the target document; The access information is sent 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, the playback status of the media file is synchronized when the first terminal controls the playback status of the media file based on the media control mechanism.

2. The method of claim 1, wherein: The displaying of the target document associated with the media file in the document presentation interface includes: Displaying a document import control in the document presentation interface; In response to the document import operation triggered by the document import control, the imported target document associated with the media file is displayed.

3. The method according to any one of claims 1 to 2, wherein: The generating and displaying the access information of the remote presentation room corresponding to the target document includes: Obtaining a room identifier of the remote demonstration room, and generating a room webpage link corresponding to the remote demonstration room based on the room identifier and the application webpage link; The room webpage link is displayed as the access information, or a graphic code obtained by encoding the room webpage link is displayed as the access information.

4. The method according to any one of claims 1 to 3, wherein: The sending the access information to the second terminal corresponding to the target audience includes: Sending the access information to a second terminal corresponding to the target audience in a targeted manner; The target method includes at least one of the following: instant messaging, email, text message, and telephone notification.

5. The method according to any one of claims 1 to 4, wherein: After sending the access information to the second terminal corresponding to the target audience, the method further includes: In the room interface of the remote presentation room, displaying the presentation content of the target document; In the process of displaying the presentation content of the target document, in response to the presentation timing of the media file arriving, displaying a playback interface of the media file in the room interface; In response to the state control instruction triggered based on the media control mechanism, the play state of the media file in the play interface is controlled.

6. The method according to any one of claims 1 to 5, wherein: Before displaying the playback interface of the media file in the room interface, the method further includes: In response to the presentation of the media file to a target page in the target document and the presentation duration of the target page reaching a target duration, determining that the presentation timing of the media file has arrived; or, In response to presenting the media file to a target page in the target document, displaying a presentation control of the media file in the target page, and in response to a triggering operation on the presentation control, determining that a presentation timing of the media file has arrived; or, In response to presenting the media file to a target page in the target document, presentation prompt information corresponding to the media file is displayed at a display position associated with the media file in the target page, and in response to a determination operation on the presentation prompt information, it is determined that a presentation timing of the media file has arrived.

7. The method according to any one of claims 1 to 6, 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, A target animation display method is adopted to display the process of the playback interface of the media file moving to the target area of ​​the room interface.

8. The method according to any one of claims 1 to 7, wherein: The controlling the playing state of the media file in the playing interface in response to the 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, controlling 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, controlling the media file to stop playing in the playback interface; 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, and any position in the playback interface.

9. The method according to any one of claims 1 to 8, wherein: The method further comprises: During the process of playing the media file in the playing interface, in response to a triggering operation on a fast-forward control in the playing interface, accelerating the playing progress of the media file; In response to a triggering operation on a back control in the play interface, the play progress of the media file is retracted.

10. The method according to any one of claims 1 to 9, wherein: The controlling the playing state of the media file in the playing interface in response to the state control instruction triggered based on the media control mechanism includes: When the media control mechanism is an element trigger mechanism, obtaining 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 the state control instruction triggered based on the target trigger element, the play state of the media file in the play interface is controlled.

11. The method according to any one of claims 1 to 10, wherein: The method further comprises: When the playing state indicates that the media file is being played, outputting the media content of the media file through the playing interface; In the process of outputting the media content, in response to a demonstration operation on other parts of the target document except the media file, displaying the demonstration content of the other parts in the room interface; During the process of displaying the other parts of the demonstration content, adjusting the parameters of the playback interface, and continuing to output the media content through the playback interface corresponding to the adjusted parameters; The parameter includes 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 any one of claims 1 to 11, wherein: When the target document includes target content associated with a dynamic display effect, the method further includes: In the process of displaying the presentation content of the target document, in response to the presentation timing of the target content arriving, the target content is displayed using a presentation style corresponding to the motion display effect.

13. The method according to any one of claims 1 to 12, wherein: The method further comprises: Creating 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; Through the presentation timeline, it is determined whether the presentation timing of the media file and the target content has arrived.

14. The method according to any one of claims 1 to 13, wherein: The display of the target document includes: In response to a document presentation operation triggered by a control device, controlling 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 displaying the presentation content of the other parts; The control device includes at least one of the following: a keyboard, a mouse, a remote control, a virtual key in the demonstration expansion screen, plate.

15. The method according to any one of claims 1 to 14, wherein: After sending the access information to the second terminal corresponding to the target audience, the method further includes: In the process of controlling the playing state of the media file in the playing interface, a synchronization request for the playing state is sent to the second terminal so that The second terminal renders the status data corresponding to the play status carried in the synchronization request based on the synchronization request, so as to synchronize the play status of the media file.

16. The method according to any one of claims 1 to 15, wherein: 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 a login account corresponding to the second terminal and the remote presentation room; In response to the association establishment request, when it is determined that the login account corresponding to the second terminal has access authority to the remote demonstration room, establishing an association relationship between the login account corresponding to the second terminal and the remote demonstration room; The association relationship is used for the second terminal to synchronously update the presentation status of the target document when the presentation status of the target document presented in the remote presentation room is updated.

17. A document presentation device, arranged at a first terminal, comprising: A first display module, configured to display a document presentation interface of the document presentation application in response to an access operation to an application webpage link of the document presentation application; A second display module is 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 a playback state of the media file; A third display module is configured to generate and display access information of a remote presentation room corresponding to the target document in response to a remote presentation operation for the target document; The information sending module is configured to send the access information to the second terminal corresponding to the target audience, so that after the second terminal accesses the remote demonstration room based on the access information, the playback status of the media file is synchronized when the first terminal controls the playback status of the media file based on the media control mechanism.

18. An electronic device, comprising: A memory for storing computer executable instructions or computer programs; A processor, used to implement the document presentation method described in any one of claims 1 to 16 when executing the computer executable instructions or computer programs stored in the memory.

19. A computer-readable storage medium storing computer-executable instructions or a computer program, wherein 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, comprising a computer program or a computer executable instruction, wherein when the computer program or the computer executable instruction is executed by a processor, the document presentation method according to any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • On-line advertising and service system of social network

    CN101286905A

  • On-line cooperating lantern slide exhibition service system

    CN101299249A

  • PPT online demonstration method and system

    CN107743247A

  • Method and device for online presentation of PowerPoint

    CN108241672A

  • Live broadcast method and device, electronic equipment and storage medium

    CN110297917A

Cited By

  • Control method and device of media viewer, equipment, medium and program product

    CN121300888A