Document presentation method, device and computer equipment
By converting documents into multiple images and using full-duplex communication protocol and hypertext transfer protocol to synchronize document images and edited content, the problem of single document presentation function in online meetings is solved, and more efficient document synchronization and privacy protection are achieved.
Patent Information
- Application Number
- CN202311839856.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2043-12-28
AI Technical Summary
In the prior art, during online meetings or online lectures on web pages, the document presentation function is relatively simple, resulting in poor synchronization effects, and there are problems such as privacy leakage, technical compatibility issues, and limited image quality resolution.
By converting the document of the initiator into multiple document images and obtaining the editing content of the document images by the initiator, the document images and editing content are synchronized to the receiving end using the full-duplex communication protocol and hypertext transfer protocol respectively, real-time editing content sharing of the document is achieved to avoid privacy leakage.
It enriches the document presentation function, improves the synchronization effect, ensures the real-time and security of data transmission, and avoids compatibility issues and privacy leaks of screen sharing tools.
Smart Images

Figure CN117891791B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of web page technology, and in particular to a document presentation method, apparatus, and computer equipment. Background Art
[0002] With the development of Internet technology, online meetings and online teaching have been widely used due to their convenience, cost savings, environmental protection and energy saving.
[0003] Taking online meetings or online teaching on a web page as an example, in related technologies, whether it is an online meeting or online teaching through a web page, usually, in order to ensure the effect of the online speech, the initiator can share the screen to demonstrate the manuscript being presented, so as to synchronize the presentation process to the receiving end.
[0004] However, in the related art, there is a problem that the presentation function is relatively single, resulting in poor synchronization effect to the receiving end. Summary of the Invention
[0005] Based on this, it is necessary to provide a document presentation method, device and computer equipment to address the above technical problems. When performing a document presentation, not only the document being presented can be shared, but also the editing content of the document by the initiator can be shared, which enriches the document presentation function to a certain extent and improves the effect of synchronizing the document to the receiving end.
[0006] In a first aspect, the present application provides a document presentation method, applied to a web server, comprising:
[0007] In response to a document presentation request sent by the initiator, convert the document carried in the document presentation request into multiple document images;
[0008] Obtain document presentation sharing information based on multiple document images; the document presentation sharing information includes the editing content of each document image by the initiator;
[0009] Synchronize document presentation sharing information to the receiving end.
[0010] In the document presentation method provided in the embodiment of the present application, by responding to the document presentation request sent by the initiator, the document carried in the document presentation request is converted into multiple document images, and then based on the multiple document images, the document presentation sharing information is obtained. The document presentation sharing information includes the editing content of each document image by the initiator, and finally the document presentation sharing information is synchronized to the receiving end. In this method, based on the document sent by the initiator, multiple document images corresponding to the document and the editing content of each document image by the initiator are obtained, and then each document image and the editing content of each document image by the initiator are used as document presentation sharing information that needs to be synchronously shared to the receiving end, and the document presentation sharing information is synchronized to the receiving end to realize the presentation of the document. In this way, when the document presentation is being performed, not only the document being presented is shared, but also the editing content of the document by the initiator is synchronously shared to the receiving end, which enriches the document presentation function to a certain extent and improves the effect of synchronizing the document to the receiving end. In addition, this document presentation method will only synchronize the document and the editing content of the document to the receiving end, and will not leak the privacy and sensitive information of the initiator.
[0011] In one embodiment, obtaining document presentation sharing information based on multiple document images includes:
[0012] Acquire at least one edited content drawn by the initiator on the static canvas of the webpage interface;
[0013] Determine the edit content corresponding to each manuscript image based on the corresponding position of each edit content in the manuscript, and obtain the edit content of each manuscript image by the initiator;
[0014] Each document image and the editing content of each document image are determined as document presentation sharing information.
[0015] In the document presentation method provided in an embodiment of the present application, at least one edited content drawn by an initiator on a static canvas of a web page interface is obtained, and then, based on the corresponding position of each edited content in the document, the edited content corresponding to each document image is determined, and the edited content of each document image by the initiator is obtained. Finally, each document image and the edited content of each document image are determined as document presentation sharing information. In this method, a static canvas is provided in the web page interface where the initiator is located. The initiator can draw the edited content on the static canvas of the web page interface. In this way, the edited content drawn by the initiator is sent to the web page server. The web page server can obtain the edited content of each document image by the initiator based on the corresponding position of each edited content in the document, and then use each document image and the edited content of each document image as document presentation sharing information.
[0016] In one embodiment, obtaining at least one edited content drawn by an initiator on a static canvas of a webpage interface includes:
[0017] Obtaining the execution operation and / or mark of the initiator on the static canvas through the full-duplex communication protocol;
[0018] An execution operation and / or a mark is determined for each edit content.
[0019] In the document presentation method provided in an embodiment of the present application, the initiator's executed operations and / or marks on the static canvas are acquired via a full-duplex communication protocol, and the executed operations and / or marks are determined as various edited contents. In this method, because the initiator's document and the edited contents thereof need to be synchronized with the receiving end, to ensure real-time data transmission, the edited contents drawn by the initiator on the static canvas of the webpage interface can be acquired via a full-duplex communication protocol.
[0020] In one embodiment, synchronizing the document presentation sharing information to the receiving end includes:
[0021] Each document image is sent to a receiving end via a hypertext transfer protocol; and the edited content of each document image is synchronized to the receiving end via a full-duplex communication protocol.
[0022] In the manuscript presentation method provided in an embodiment of the present application, each manuscript image is sent to a receiving end via the Hypertext Transfer Protocol; and the edited content of each manuscript image is synchronized to the receiving end via a full-duplex communication protocol. In this method, the manuscript images and the edited content of the manuscript images in the manuscript presentation shared information are sent to the receiving end using different protocols, namely, each manuscript image is sent to the receiving end via the Hypertext Transfer Protocol, and the edited content of each manuscript image is synchronized to the receiving end via the full-duplex communication protocol.
[0023] In one embodiment, sending each document image to a receiving end via a hypertext transfer protocol includes:
[0024] Sending a document reception notification to the receiving end via a full-duplex communication protocol;
[0025] According to the document acquisition request sent by the receiving end, each document image is sent to the receiving end through the hypertext transfer protocol.
[0026] In the manuscript presentation method provided in the embodiments of the present application, a manuscript reception notification is sent to a receiving terminal via a full-duplex communication protocol. Subsequently, in response to a manuscript retrieval request sent by the receiving terminal, each manuscript image is sent to the receiving terminal via the Hypertext Transfer Protocol. This method also provides another method for sending each manuscript image to the receiving terminal, namely, first sending a manuscript reception notification to the receiving terminal, and then sending each manuscript image to the receiving terminal upon receiving a manuscript retrieval request sent by the receiving terminal.
[0027] In one embodiment, obtaining document presentation sharing information based on multiple document images includes:
[0028] Receive a video stream sent by the initiator, where the video stream is generated by the initiator drawing multiple document images and edited content of each document image on a dynamic canvas of the web page interface;
[0029] Identify video streams as presentation sharing information.
[0030] In the document presentation method provided in an embodiment of the present application, a video stream sent by an initiator is received. The video stream is generated by the initiator drawing multiple document images and the edited content of each document image on a dynamic canvas of a webpage interface, and the video stream is determined as document presentation sharing information. In this method, the initiator generates a video stream from the multiple document images and the edited content of each document image, and the webpage server can receive the video stream and also determine the video stream as document presentation sharing information.
[0031] In one embodiment, synchronizing the document presentation sharing information to the receiving end includes:
[0032] The video stream is sent to the receiving end via a full-duplex communication protocol.
[0033] In the document presentation method provided in the embodiments of the present application, a video stream is transmitted to a receiving end via a full-duplex communication protocol. This method provides an optional method for synchronizing the video stream to the receiving end. Due to the enhanced real-time nature of the full-duplex communication protocol, the video stream can be transmitted to the receiving end via the full-duplex communication protocol, thereby improving data transmission efficiency.
[0034] In one embodiment, the method further comprises:
[0035] Use video recording software to record the video stream to obtain a demonstration recording video of the manuscript;
[0036] Send the demo recording video to the initiator and / or receiver.
[0037] In the document presentation method provided in an embodiment of the present application, a video stream is recorded using video recording software to obtain a document presentation video, which is then sent to an initiating end and / or a receiving end. In this method, upon receiving the video stream sent by the initiating end, the web server can use the video recording software to record the video stream into a presentation video. In this way, the presentation video can be sent to the initiating end and the receiving end for viewing.
[0038] In a second aspect, the present application further provides a document presentation device, comprising:
[0039] A document conversion module, configured to respond to a document presentation request sent by the initiator and convert the document carried in the document presentation request into multiple document images;
[0040] The information acquisition module is used to obtain document presentation sharing information based on multiple document images; the document presentation sharing information includes the editing content of each document image by the initiator;
[0041] The information synchronization module is used to synchronize the document presentation sharing information to the receiving end.
[0042] In a third aspect, embodiments of the present application further provide a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of any embodiment of the first aspect.
[0043] In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the embodiments of the first aspect above.
[0044] In a fifth aspect, embodiments of the present application further provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any one of the embodiments of the first aspect.
[0045] The above-mentioned document presentation method, device and computer equipment convert the document carried in the document presentation request into multiple document images in response to the document presentation request sent by the initiator, and then obtain document presentation sharing information based on the multiple document images. The document presentation sharing information includes the editing content of each document image by the initiator, and finally synchronizes the document presentation sharing information to the receiving end. In this method, based on the document sent by the initiator, multiple document images corresponding to the document and the editing content of each document image by the initiator are obtained, and then each document image and the editing content of each document image by the initiator are used as document presentation sharing information that needs to be synchronously shared to the receiving end, and the document presentation sharing information is synchronized to the receiving end to realize the presentation of the document. In this way, when the document presentation is being performed, not only the document being presented is shared, but also the editing content of the document by the initiator is synchronously shared to the receiving end, which enriches the document presentation function to a certain extent and improves the effect of synchronizing the document to the receiving end. In addition, this document presentation method will only synchronize the document and the editing content of the document to the receiving end, and will not leak the privacy and sensitive information of the initiator. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0047] Figure 1 is a diagram of the internal structure of a computer device in one embodiment;
[0048] Figure 2 1. A schematic flow chart of a method for presenting a document in one embodiment;
[0049] Figure 3 A schematic diagram of a process for obtaining document presentation sharing information in one embodiment;
[0050] Figure 4 A schematic diagram of a process for obtaining edited content in one embodiment;
[0051] Figure 5 A schematic diagram of a process for sending a document image in one embodiment;
[0052] Figure 6 A schematic diagram of a process for obtaining document presentation sharing information in another embodiment;
[0053] Figure 7 A schematic diagram of a process for sending a demonstration recording video in one embodiment;
[0054] Figure 8 is a flowchart of a document presentation method according to another embodiment;
[0055] Figure 9 Schematic diagram of the structure of a document presentation device in one embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0057] The data storage method provided in the embodiment of the present application can be applied to a computer device. The computer device can be a web server, and its internal structure diagram can be as follows: Figure 1As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. Among them, the processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data storage method is implemented. Those skilled in the art can understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0058] With the development of Internet technology, online meetings and online teaching have been widely used due to their convenience, cost savings, environmental protection and energy saving.
[0059] Web applications for online meetings or online lectures often require the display and simultaneous recording of presentations. Related technologies typically use a shared screen to display the presentation, or use a service to convert each page of the presentation into an image, which is then sent to the recipient via real-time communication technology.
[0060] However, both of the above presentation methods have certain issues. Screen sharing presents the following issues: ① Interactivity: Because presentations are typically static presentations without real-time interactive capabilities, audience interaction, such as accepting questions or feedback, may require additional tools or features. ② Privacy and sensitive information: Screen sharing can easily leak the initiator's private information. ③ Technical compatibility: Different screen sharing tools and platforms may have technical compatibility issues, resulting in some features not working properly. ④ Image quality and resolution: When screen sharing presentations, resolution and quality may be limited by network bandwidth and tool performance, which can result in poor image quality, especially for slides containing high-resolution images or complex animations. ⑤ Latency and frame rate: An unstable network connection can cause delays or low frame rates when sharing the screen, affecting the smoothness of the presentation and the viewing experience. Converting a presentation to an image and sending it to the recipient only allows for synchronized presentations and cannot be recorded as a video.
[0061] Based on this, the present application proposes a document presentation method, which obtains multiple document images corresponding to the document and the editing content of each document image by the initiator according to the document sent by the initiator, and then uses each document image and the editing content of each document image by the initiator as document presentation sharing information that needs to be synchronously shared to the receiving end, and synchronizes the document presentation sharing information to the receiving end to realize the presentation of the document. In this way, when performing a document presentation, not only the document being presented is shared, but also the editing content of the document by the initiator is synchronously shared to the receiving end, which enriches the document presentation function to a certain extent and improves the effect of synchronizing the document to the receiving end. In addition, such a document presentation method will only synchronize the document and the editing content of the document to the receiving end, and will not leak the privacy and sensitive information of the initiator.
[0062] It should be noted that the beneficial effects or technical problems solved by the embodiments of the present application are not limited to this one, but may also include other implicit or related problems. For details, please refer to the description of the following embodiments.
[0063] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0064] In an exemplary embodiment, Figure 2 As shown, a document presentation method is provided, which is described by taking the method applied to a web server as an example, and includes the following steps 201 to 203. Among them:
[0065] S201 , in response to a document presentation request sent by an initiator, converting a document carried in the document presentation request into a plurality of document images.
[0066] The document presentation request may be a request sent by the initiator to the web server when the initiator has a need for a presentation. When sending the request to the web server, the initiator uploads the document to be presented to the web server, that is, the document presentation request sent by the initiator carries the document to be presented.
[0067] In an embodiment of the present application, after receiving the document presentation request sent by the initiator, the web server converts the document carried in the document presentation request into multiple document images.
[0068] For example, the web server may use tool software capable of processing documents to convert the document into multiple document images. For example, the Apache POI toolkit (Poor Obfuscation Implementation) may be used to convert the document.
[0069] S202: Obtain document presentation sharing information based on multiple document images.
[0070] In the embodiment of the present application, the document presentation sharing information includes the editing content of each document image by the initiator, wherein the editing content may include the content and marks annotated by the initiator on each page of the document.
[0071] In actual applications, the initiator can annotate relevant content and tags on the web page interface when presenting a document. The web page server can then obtain the content and tags annotated by the initiator, and then determine the document presentation sharing information based on each document image and the obtained content and tags.
[0072] For example, the web server obtains the content and marks annotated by the initiator on the web page interface, and then determines each document image and the corresponding annotation content and marks as the document presentation sharing information. In this way, the document presentation sharing information includes the editing content of each document image by the initiator (the content and marks annotated by the initiator) and each document image.
[0073] S203, synchronizing the document presentation sharing information to the receiving end.
[0074] For example, after acquiring the document presentation sharing information, the web server may synchronize the document presentation sharing information to the receiving end. For example, to ensure document synchronization and sharing between the initiating end and the receiving end, the document presentation sharing information may be sent to the receiving end via a full-duplex communication protocol.
[0075] It should be noted that in the embodiment of the present application, a web server operates the document of the initiator and forwards the document presentation sharing information to the receiving end. There is no technical compatibility issue between the screen sharing tool and the platform. That is, compared with the related technology of sharing screen presentations, this application does not have any technical compatibility issues and will not cause some functions to be unable to be used normally.
[0076] In the document presentation method provided in the embodiment of the present application, by responding to the document presentation request sent by the initiator, the document carried in the document presentation request is converted into multiple document images, and then based on the multiple document images, the document presentation sharing information is obtained. The document presentation sharing information includes the editing content of each document image by the initiator, and finally the document presentation sharing information is synchronized to the receiving end. In this method, based on the document sent by the initiator, multiple document images corresponding to the document and the editing content of each document image by the initiator are obtained, and then each document image and the editing content of each document image by the initiator are used as document presentation sharing information that needs to be synchronously shared to the receiving end, and the document presentation sharing information is synchronized to the receiving end to realize the presentation of the document. In this way, when the document presentation is being performed, not only the document being presented is shared, but also the editing content of the document by the initiator is synchronously shared to the receiving end, which enriches the document presentation function to a certain extent and improves the effect of synchronizing the document to the receiving end. In addition, this document presentation method will only synchronize the document and the editing content of the document to the receiving end, and will not leak the privacy and sensitive information of the initiator.
[0077] The document presentation sharing information includes the editing content of each document image by the initiator. When the initiator annotates or marks the document, it is achieved through a static canvas covered on the web page interface. Based on this, the following embodiment describes a method for obtaining document presentation sharing information.
[0078] In an exemplary embodiment, Figure 3 As shown, based on multiple document images, document presentation sharing information is obtained, including:
[0079] S301: Acquire at least one edited content drawn by an initiator on a static canvas of a webpage interface.
[0080] The canvas refers to a blank rectangular area on the screen where an application can draw or capture user input events.
[0081] In the embodiment of the present application, the web page interface where the initiator is located is covered by a static canvas, and the initiator can edit content on the static canvas of the web page interface.
[0082] For example, when the initiator draws and edits content on the static canvas of the web page interface, the server where the initiator is located can send the edited content drawn by the initiator to the web page server in real time, and the grid server can obtain the edited content drawn by the initiator on the static canvas of the web page interface.
[0083] S302: Determine the editing content corresponding to each manuscript picture according to the corresponding position of each editing content in the manuscript, and obtain the editing content of each manuscript picture by the initiator.
[0084] When the web server retrieves the edited content drawn by the initiator on the static canvas of the webpage interface, it can also retrieve the corresponding location of each edited content in the document. This allows the web server to determine the corresponding document image based on the corresponding location of each edited content in the document, that is, to determine the edited content corresponding to each document image, and thus obtain the edited content of each document image by the initiator.
[0085] S303: Determine each document image and its edited content as document presentation sharing information.
[0086] After obtaining the editing content of each document image by the initiator, the editing content of each document image and each document image can be used as document presentation sharing information.
[0087] In the document presentation method provided in an embodiment of the present application, at least one edited content drawn by an initiator on a static canvas of a web page interface is obtained, and then, based on the corresponding position of each edited content in the document, the edited content corresponding to each document image is determined, and the edited content of each document image by the initiator is obtained. Finally, each document image and the edited content of each document image are determined as document presentation sharing information. In this method, a static canvas is provided in the web page interface where the initiator is located. The initiator can draw the edited content on the static canvas of the web page interface. In this way, the edited content drawn by the initiator is sent to the web page server. The web page server can obtain the edited content of each document image by the initiator based on the corresponding position of each edited content in the document, and then use each document image and the edited content of each document image as document presentation sharing information.
[0088] When acquiring the edited content drawn on the static canvas of the webpage interface by the initiator, in order to ensure the real-time data acquisition and improve the efficiency of data transmission, the acquisition can be performed through a full-duplex communication protocol. Based on this, the following embodiment describes a method for acquiring the edited content.
[0089] In an exemplary embodiment, Figure 4 As shown, obtaining at least one edited content drawn by the initiator on the static canvas of the webpage interface includes:
[0090] S401: Acquire execution operations and / or marks of an initiator on a static canvas through a full-duplex communication protocol.
[0091] Among them, the full-duplex communication protocol makes data exchange between the client and the server simpler, allowing the server to actively push data to the client. The browser and the server only need to complete a handshake to directly create a persistent connection between the two and conduct two-way data transmission.
[0092] For example, the initiator's operations and / or markings on a document on a static canvas of a webpage interface can be transmitted in real time to the webpage server via a full-duplex communication protocol. Specifically, the webpage server obtains the initiator's operations and / or markings on the static canvas via the full-duplex communication protocol. Prior to communicating with the webpage server via the full-duplex communication protocol, the initiator can first transmit device information to the webpage server. This allows the initiator and the webpage server to communicate, and the initiator can then transmit the edited content of each document image to the webpage server.
[0093] It should be noted that in the embodiment of the present application, data is transmitted through a full-duplex communication protocol, which can improve the efficiency of data transmission and ensure the real-time performance of data transmission. Compared with the method of sharing screen presentations in related technologies, it will not be limited by network bandwidth, that is, it can reduce delays, ensure the smoothness of document presentations and viewing experience, and improve the image quality of documents.
[0094] S402: Determine the execution operation and / or mark as each editing content.
[0095] After the execution operation and / or mark of the initiator on the static canvas is acquired, the execution operation and / or mark may be used as various editing contents drawn by the initiator on the static canvas of the webpage interface.
[0096] In the document presentation method provided in an embodiment of the present application, the initiator's executed operations and / or marks on the static canvas are acquired via a full-duplex communication protocol, and the executed operations and / or marks are determined as various edited contents. In this method, because the initiator's document and the edited contents thereof need to be synchronized with the receiving end, to ensure real-time data transmission, the edited contents drawn by the initiator on the static canvas of the webpage interface can be acquired via a full-duplex communication protocol.
[0097] The document presentation sharing information includes the document image and the editing content of the document image by the initiator. When synchronizing the document image and the editing content of the document image by the initiator to the receiving end, different protocols can be selected for transmission. Based on this, the following embodiment describes the method of synchronizing the document presentation sharing information.
[0098] In an exemplary embodiment, synchronizing document presentation sharing information to a receiving end includes:
[0099] Each document image is sent to a receiving end via a hypertext transfer protocol; and the edited content of each document image is synchronized to the receiving end via a full-duplex communication protocol.
[0100] In actual applications, when presenting a document, the document is usually synchronized to the receiving end first. If the initiator annotates or marks the document, the edited content of the initiator will be synchronized to the receiving end. Therefore, for the document and the edited content, the document is synchronized first, and then the edited content is synchronized. Different protocols can be selected for the synchronization of the document and the edited content.
[0101] For example, each document image can be sent to the receiving end through the hypertext transfer protocol, and the receiving end can first display the document. If the initiating end displays the first document image, the receiving end will also display the first document image. When the initiating end edits the document image, the edited content of each document image can be synchronized to the receiving end through the full-duplex communication protocol.
[0102] In the manuscript presentation method provided in an embodiment of the present application, each manuscript image is sent to a receiving end via the Hypertext Transfer Protocol; and the edited content of each manuscript image is synchronized to the receiving end via a full-duplex communication protocol. In this method, the manuscript images and the edited content of the manuscript images in the manuscript presentation shared information are sent to the receiving end using different protocols, namely, each manuscript image is sent to the receiving end via the Hypertext Transfer Protocol, and the edited content of each manuscript image is synchronized to the receiving end via the full-duplex communication protocol.
[0103] When sending each document image to the receiving end, the web server can directly send it to the receiving end, or the web server can first send a notification to the receiving end, and the receiving end can obtain each document image after receiving the notification. Based on this, the following embodiment describes the method of sending document images.
[0104] In an exemplary embodiment, Figure 5 As shown, each document image is sent to the receiving end via the hypertext transfer protocol, including:
[0105] S501, sending a document reception notification to a receiving end via a full-duplex communication protocol.
[0106] After converting the document into a document image, the web server can store the document image in a database and send a document reception notification to the receiving end. The web server can send the notification to the receiving end via a full-duplex communication protocol, which can improve the efficiency of information transmission.
[0107] S502: According to the document acquisition request sent by the receiving end, each document image is sent to the receiving end through the hypertext transfer protocol.
[0108] After receiving the document reception notification sent by the web server, the receiving end can send a document acquisition request to the web server. When the web server receives the document acquisition request sent by the receiving end, it can send each document image to the receiving end through the hypertext transfer protocol.
[0109] In the manuscript presentation method provided in the embodiments of the present application, a manuscript reception notification is sent to a receiving terminal via a full-duplex communication protocol. Subsequently, in response to a manuscript retrieval request sent by the receiving terminal, each manuscript image is sent to the receiving terminal via the Hypertext Transfer Protocol. This method also provides another method for sending each manuscript image to the receiving terminal, namely, first sending a manuscript reception notification to the receiving terminal, and then sending each manuscript image to the receiving terminal upon receiving a manuscript retrieval request sent by the receiving terminal.
[0110] According to the multiple manuscript images corresponding to the manuscript, the corresponding video stream can also be obtained, and the video stream can also be synchronized to the receiving end as the manuscript presentation sharing information. Based on this, the following embodiment describes another way to obtain the manuscript presentation sharing information.
[0111] In an exemplary embodiment, Figure 6 As shown, based on multiple document images, document presentation sharing information is obtained, including:
[0112] S601: Receive a video stream sent by an initiator.
[0113] In the embodiment of the present application, the video stream is generated by the initiator drawing multiple manuscript images and the edited content of each manuscript image on a dynamic canvas of the web page interface. The canvas can be set to 60 frames per second to form a dynamic canvas.
[0114] The initiator can draw multiple document images and the edited content of each document image together in a dynamic canvas, and then convert the dynamic canvas into a video stream through the media capture and media streaming interface provided by the dynamic canvas.
[0115] For example, after generating a video stream based on multiple document images and the edited content of each document image, the initiator can send the video stream to a web server. The web server can receive the video stream sent by the initiator through real-time communication technology (webrtc, Web Real-Time Communication).
[0116] S602: Determine the video stream as document presentation sharing information.
[0117] After receiving the video stream sent by the initiator, the video stream can be determined as the manuscript presentation sharing information. In this way, the manuscript presentation sharing information includes each manuscript picture, the editing content of each manuscript picture by the initiator, and the video stream.
[0118] In the document presentation method provided in an embodiment of the present application, a video stream sent by an initiator is received. The video stream is generated by the initiator drawing multiple document images and the edited content of each document image on a dynamic canvas of a webpage interface, and the video stream is determined as document presentation sharing information. In this method, the initiator generates a video stream from the multiple document images and the edited content of each document image, and the webpage server can receive the video stream and also determine the video stream as document presentation sharing information.
[0119] The video stream is also included in the document presentation sharing information. When synchronizing the document presentation sharing information to the receiving end, the video stream also needs to be sent to the receiving end. Based on this, in an exemplary embodiment, synchronizing the document presentation sharing information to the receiving end includes:
[0120] The video stream is sent to the receiving end via a full-duplex communication protocol.
[0121] In an embodiment of the present application, the video stream can be sent to the receiving end through a full-duplex communication protocol. After receiving the video stream, the receiving end can use the video stream as an alternative solution for the presentation.
[0122] It should be noted that the video stream received by the receiving end can be sent by the web server, or the sending end can generate the video stream and send the video stream directly to the receiving end through webrtc.
[0123] In the document presentation method provided in the embodiments of the present application, a video stream is transmitted to a receiving end via a full-duplex communication protocol. This method provides an optional method for synchronizing the video stream to the receiving end. Due to the enhanced real-time nature of the full-duplex communication protocol, the video stream can be transmitted to the receiving end via the full-duplex communication protocol, thereby improving data transmission efficiency.
[0124] After receiving the video stream sent by the initiator, the web server can also record it as a demonstration video for subsequent viewing by the initiator or the receiving end. Based on this, in an exemplary embodiment, Figure 7 As shown, the method further includes:
[0125] S701, using video recording software to record the video stream to obtain a demonstration recording video of the manuscript.
[0126] After receiving the video stream from the initiator, the web server can use the video recording software to perform background routing on the video stream to obtain a presentation recording video of the document. Among them, the video stream can be recorded using a fast screen recording tool or a lightweight and highly scalable streaming media service software.
[0127] S702: Send the demonstration recorded video to the initiating end and / or the receiving end.
[0128] For example, after obtaining the demonstration recording video of the document, the web server can save the demonstration recording video in a database. When the initiator or the receiver needs to use the demonstration recording video subsequently, it can send a video acquisition request to the web server. After receiving the video acquisition request, the web server sends the demonstration recording video to the initiator and / or the receiver.
[0129] For example, after obtaining the recorded video of the presentation of the manuscript, the web server may also directly send it to the initiator and / or the receiver.
[0130] In addition, the demonstration recording video does not need to be sent to the initiator and the receiver. The demonstration recording video can be stored in the object storage. When the playback function is performed later, the demonstration recording video can be obtained from the object storage and played back.
[0131] In the document presentation method provided in an embodiment of the present application, a video stream is recorded using video recording software to obtain a document presentation video, which is then sent to an initiating end and / or a receiving end. In this method, upon receiving the video stream sent by the initiating end, the web server can use the video recording software to record the video stream into a presentation video. In this way, the presentation video can be sent to the initiating end and the receiving end for viewing.
[0132] In addition, in an exemplary embodiment, the present application also provides an optional example of a manuscript presentation method, such as Figure 8 As shown, the following steps may be included:
[0133] S801 , in response to a document presentation request sent by an initiator, convert the document carried in the document presentation request into multiple document images.
[0134] S802: Obtain execution operations and / or marks of the initiator on the static canvas through a full-duplex communication protocol.
[0135] S803: Determine the execution operation and / or mark as each editing content.
[0136] S804: Determine the editing content corresponding to each manuscript image according to the corresponding position of each editing content in the manuscript, and obtain the editing content of each manuscript image by the initiator.
[0137] S805: Determine each document image and its edited content as document presentation sharing information.
[0138] S806, sending each document image to a receiving end via a hypertext transfer protocol; and synchronizing the edited content of each document image to the receiving end via a full-duplex communication protocol.
[0139] The above processes of S801-S806 can be referred to the description of the above method embodiment, and the implementation principles and technical effects are similar, which will not be repeated here.
[0140] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0141] Based on the same inventive concept, the present application also provides a document presentation device for implementing the document presentation method described above. The solution to the problem provided by this device is similar to the solution described in the method described above. Therefore, the specific limitations of one or more document presentation device embodiments provided below can be found in the above-mentioned limitations of the document presentation method and will not be repeated here.
[0142] In an exemplary embodiment, Figure 9 As shown, a document presentation device 1 is provided, comprising: a document conversion module 10, an information acquisition module 20 and an information synchronization module 30, wherein:
[0143] The document conversion module 10 is configured to respond to the document presentation request sent by the initiator and convert the document carried in the document presentation request into a plurality of document images;
[0144] The information acquisition module 20 is used to acquire document presentation sharing information based on multiple document images; the document presentation sharing information includes the editing content of each document image by the initiator;
[0145] The information synchronization module 30 is used to synchronize the document presentation sharing information to the receiving end.
[0146] In one embodiment, the information acquisition module 20 is used to:
[0147] Obtain at least one editing content drawn by the initiator on the static canvas of the web page interface; determine the editing content corresponding to each manuscript image based on the corresponding position of each editing content in the manuscript, and obtain the editing content of each manuscript image by the initiator; determine each manuscript image and the editing content of each manuscript image as manuscript presentation sharing information.
[0148] In one embodiment, the information acquisition module 20 is further configured to:
[0149] The execution operation and / or mark of the initiator on the static canvas is obtained through the full-duplex communication protocol; and the execution operation and / or mark is determined as each editing content.
[0150] In one embodiment, the information synchronization module 30 is used to:
[0151] Each document image is sent to a receiving end via a hypertext transfer protocol; and the edited content of each document image is synchronized to the receiving end via a full-duplex communication protocol.
[0152] In one embodiment, the information synchronization module 30 is further configured to:
[0153] A document reception notification is sent to the receiving end through the full-duplex communication protocol; based on the document acquisition request sent by the receiving end, each document image is sent to the receiving end through the hypertext transfer protocol.
[0154] In one embodiment, the information acquisition module 20 is further configured to:
[0155] A video stream sent by an initiator is received, where the initiator draws multiple document images and edited contents of each document image on a dynamic canvas of a web page interface; and the video stream is determined as document presentation sharing information.
[0156] In one embodiment, the information synchronization module 30 is further configured to:
[0157] The video stream is sent to the receiving end via a full-duplex communication protocol.
[0158] In one embodiment, the document presentation device 1 is further used for:
[0159] The video stream is recorded using video recording software to obtain a demonstration recording video of the manuscript; and the demonstration recording video is sent to an initiating end and / or a receiving end.
[0160] Each module in the above-mentioned document presentation device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0161] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0162] In response to a document presentation request sent by the initiator, convert the document carried in the document presentation request into multiple document images;
[0163] Obtain document presentation sharing information based on multiple document images; the document presentation sharing information includes the editing content of each document image by the initiator;
[0164] Synchronize document presentation sharing information to the receiving end.
[0165] The implementation principles and technical effects of each step implemented by the processor in the embodiment of the present application are similar to the principles of the above-mentioned document demonstration method and will not be repeated here.
[0166] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0167] In response to a document presentation request sent by the initiator, convert the document carried in the document presentation request into multiple document images;
[0168] Obtain document presentation sharing information based on multiple document images; the document presentation sharing information includes the editing content of each document image by the initiator;
[0169] Synchronize document presentation sharing information to the receiving end.
[0170] The implementation principles and technical effects of the various steps implemented when the computer program in the embodiment of the present application is executed by the processor are similar to the principles of the above-mentioned document presentation method and will not be repeated here.
[0171] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0172] In response to a document presentation request sent by the initiator, convert the document carried in the document presentation request into multiple document images;
[0173] Obtain document presentation sharing information based on multiple document images; the document presentation sharing information includes the editing content of each document image by the initiator;
[0174] Synchronize document presentation sharing information to the receiving end.
[0175] The implementation principles and technical effects of the various steps implemented when the computer program in the embodiment of the present application is executed by the processor are similar to the principles of the above-mentioned document presentation method and will not be repeated here.
[0176] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0177] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0178] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0179] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A manuscript presentation method, characterized in that: Applied to a web server, the method includes: In response to a document presentation request sent by the initiator, convert the document carried in the document presentation request into a plurality of document images; Acquire at least one edited content drawn by the initiator on a static canvas of a webpage interface, sent in real time by the server where the initiator is located; Determining the edited content corresponding to each manuscript image based on the corresponding position of each edited content in the manuscript, and obtaining the edited content of each manuscript image by the initiator; the edited content is the relevant content and marks annotated by the initiator on the web page interface, and the web page server converts the edited manuscript into the manuscript image with the annotated content and marks; Sending each of the document images to a receiving end via a hypertext transfer protocol to instruct the receiving end to display the document images; When the initiator has edited the contents of the manuscript images, the editing contents of the manuscript images by the initiator are synchronized to the receiving end through a full-duplex communication protocol; The video stream sent by the initiator is received, where the initiator draws the multiple document images and the edited content of each document image on a dynamic canvas of a web page interface; and the video stream is synchronized to the receiving end.
2. The method according to claim 1, characterized in that The acquiring of at least one edited content drawn by the initiator on the static canvas of the webpage interface and sent in real time by the server where the initiator is located includes: Acquire the execution operation and / or mark of the initiator on the static canvas through a full-duplex communication protocol; The execution operation and / or mark is determined as each of the editing contents.
3. The method according to claim 1 or 2, characterized in that The step of sending each of the document images to the receiving end via the hypertext transfer protocol includes: Sending a document reception notification to the receiving end via a full-duplex communication protocol; According to the document acquisition request sent by the receiving end, each document image is sent to the receiving end through the hypertext transfer protocol.
4. The method according to claim 1 or 2, characterized in that The step of synchronizing the video stream to the receiving end includes: The video stream is sent to the receiving end through a full-duplex communication protocol.
5. The method according to claim 1 or 2, characterized in that The method further comprises: Recording the video stream using video recording software to obtain a demonstration recording video of the manuscript; The demonstration recorded video is sent to the initiating end and / or the receiving end.
6. The method according to claim 5, characterized in that The method further comprises: Storing the demonstration recording video in a database; The sending of the demonstration recorded video to the initiating end and / or the receiving end includes: After receiving the video acquisition request sent by the initiating end and / or the receiving end, the demonstration recorded video is sent to the initiating end and / or the receiving end.
7. A document presentation device, characterized in that: The device comprises: A document conversion module, configured to respond to a document presentation request sent by the initiator and convert the document carried in the document presentation request into a plurality of document images; an information acquisition module configured to acquire at least one edited content drawn by the initiator on a static canvas of a webpage interface, transmitted in real time by the server where the initiator is located; determine the edited content corresponding to each manuscript image based on the corresponding position of each edited content in the manuscript, and obtain the edited content of each manuscript image by the initiator; the edited content being the relevant content and marks annotated by the initiator on the webpage interface, and converting the edited manuscript into the annotated content and marked manuscript image via the webpage server; An information synchronization module, configured to send each of the document images to a receiving end via a hypertext transfer protocol, so as to instruct the receiving end to display the document images; When the initiator has edited the contents of the manuscript images, the editing contents of the manuscript images by the initiator are synchronized to the receiving end through a full-duplex communication protocol; The video stream sent by the initiator is received, where the initiator draws the multiple document images and the edited content of each document image on a dynamic canvas of a web page interface; and the video stream is synchronized to the receiving end.
8. The device according to claim 7, characterized in that The information acquisition module is also used for: Acquire the execution operation and / or mark of the initiator on the static canvas through a full-duplex communication protocol; The execution operation and / or mark is determined as each of the editing contents.
9. The device according to claim 7, characterized in that The information synchronization module is further used to: The video stream is sent to the receiving end through a full-duplex communication protocol.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for online production of PowerPoint
CN108241602A
Method and device for online presentation of PowerPoint
CN108241672A