Plot sharing method, electronic device and computer program product

By receiving the plotting data from the slave end at the master end and generating a video stream for transmission, combined with the instruction to delete the plot image, the problem of plot sharing delay and ghosting in remote negotiation is solved, and real-time display and efficient transmission of plotting information are achieved. .

CN118413628BActive Publication Date: 2024-09-10HUNAN DONGKE SOFTWARE DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410874563.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-10
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

In remote multi-person consultations or meetings, delays and information lags are prone to occur when sharing plots, resulting in plotting information not being displayed in real time, and ghosting problems may occur when plotting and desktop sharing are performed at the same time, reducing visibility.

Method used

The master receives the plot data collected from the slave to generate a plot image and displays it as the same image. It captures the display content of the master to generate a video stream and transmits it to the slave. At the same time, it sends a command to delete the plot image to the slave. command to avoid ghosting problems.

Benefits of technology

It reduces the distribution volume of plotting data, reduces server pressure, ensures real-time display of plotting information, avoids ghosting problems, and improves the naturalness of the entire transition process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118413628B
    Figure CN118413628B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a plotting sharing method, an electronic device and a computer program product. The plotting sharing method includes a method applied to a master end and a method applied to a slave end. In the plotting sharing method, the master end receives the plotting data of the slave end and generates a plotting image, captures the display content of the master end including the plotting image to generate a video stream, the slave end receives the video stream and displays it, and sends an instruction to delete the original plotting image from the slave end and retain the plotting image in the video stream. The beneficial effect of the present application is to reduce the distribution amount of the plotting data, reduce the pressure on the server, and avoid the ghosting problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a mapping sharing method, electronic equipment and computer program product, and belongs to the field of electronic technology. Specifically, the present application relates to a mapping sharing method, electronic equipment and computer program product. Background Art

[0002] When multiple people negotiate or hold meetings in different places, users on one end usually need to share their desktops so that users on the other ends can understand the content of the meeting. At this time, if users on the other ends want to communicate better, they need to plot the shared content. When there are too many ends participating in the sharing, the server resources required for plotting are large, and delays and information lags are prone to occur, resulting in the inability to display the plotted information of all parties in real time. In addition, if plotting and desktop sharing occur at the same time, ghosting problems are likely to occur on the display interface of one end, reducing the visibility of the second plotted image. Summary of the invention

[0003] The main purpose of the present invention is to propose a mapping sharing method, an electronic device and a computer program product, aiming to solve the above-mentioned problems existing in the prior art.

[0004] To achieve the above object, the present invention provides a plot sharing method, which is applied to a master end, the master end being connected to a plurality of slave ends, and the method comprises:

[0005] receiving first plotting data, wherein the first plotting data is acquired by a first slave terminal among the plurality of slave terminals and is used to generate a first plotting image at the first slave terminal;

[0006] Displaying a second plotting image on the master terminal according to the first plotting data, wherein the second plotting image is the same as the first plotting image;

[0007] capturing a first display content of the master end, wherein the first display content includes the second plotted image;

[0008] Generate a first video stream according to the first display content, where the first video stream is used for the multiple slave terminals to display the first display content;

[0009] A first plotting instruction is generated according to the first plotting data, where the first plotting instruction is used to instruct the first slave end to delete the first plotting image.

[0010] In some embodiments,

[0011] The first plotting data is sent by the first slave end to a plotting server;

[0012] The host terminal receives the first plotting data from the plotting server;

[0013] The method further comprises:

[0014] Sending the first video stream to a streaming media server;

[0015] The first plotting instruction is sent to the plotting server.

[0016] In some embodiments,

[0017] Before receiving the first plotting data, the method further includes:

[0018] In response to the sharing request, sending a first sharing instruction to the signaling server, wherein the first sharing instruction is used to instruct the multiple slave terminals to continuously pull the video stream of the master terminal from the streaming media server;

[0019] In response to the sharing request, capturing the display content of the master terminal and generating a video stream;

[0020] Send the video stream of the master end to the streaming media server.

[0021] In some embodiments,

[0022] The method further comprises:

[0023] In response to a drawing request and / or drawing data from the slave end, creating a first Div layer;

[0024] Displaying the second plotting image on the master end according to the first plotting data comprises:

[0025] The second plotting image is drawn on the first Div layer according to the first plotting data.

[0026] In some embodiments,

[0027] The first plotting instruction includes a first timestamp, and the first timestamp is the earliest timestamp corresponding to the frame in the first video stream that includes the second plotted image;

[0028] The first plotting instruction is used to instruct the first slave end to delete the first plotted image when displaying the frame corresponding to the first timestamp.

[0029] In addition, to achieve the above purpose, the present invention also proposes a plot sharing method, which is applied to a slave end, the slave end is connected to a master end, and the method includes:

[0030] generating a first plotted image according to the collected first plotted data;

[0031] Sending the first plotting data for the host terminal to display a second plotting image, the second plotting image being the same as the first plotting image;

[0032] Displaying, according to the received first video stream, first display content of the master end carried by the first video stream, wherein the first display content includes the second plotted image;

[0033] In response to a first plotting instruction generated by the host end according to the first plotting data, the first plotting image is deleted.

[0034] In some embodiments,

[0035] The step of sending the first plotting data comprises:

[0036] Sending the first plotting data to a plotting server;

[0037] The method further comprises:

[0038] Requesting the first video stream from a streaming media server;

[0039] Receiving the first video stream from the streaming media server;

[0040] The first plotting instruction is received from the plotting server.

[0041] In some embodiments,

[0042] Before generating a first plotted image according to the collected first plotted data, the method further includes:

[0043] In response to the first sharing instruction, requesting the video stream of the master end from the streaming media server;

[0044] The video stream of the master end is received from the streaming media server.

[0045] In some embodiments,

[0046] The method further comprises:

[0047] In response to the drawing request, a second Div layer is created;

[0048] The step of generating a first plotted image according to the collected first plotted data comprises:

[0049] generating a first plotted image in the second Div layer according to the collected first plotted data;

[0050] The deleting the first mapped image comprises:

[0051] The first plotted image on the second Div layer is deleted.

[0052] In some embodiments,

[0053] The first plotting instruction includes a first timestamp, and the first timestamp is the earliest timestamp corresponding to the frame in the first video stream that includes the second plotted image;

[0054] The deleting the first mapped image comprises:

[0055] The first plotted image is deleted when the frame corresponding to the first time stamp is displayed.

[0056] In addition, to achieve the above object, the present invention further provides an electronic device, comprising:

[0057] processor;

[0058] A storage device for storing one or more programs;

[0059] When the one or more programs are executed by the processor, the processor implements the mapping sharing method applied to the master end as described in any of the foregoing embodiments or the mapping sharing method applied to the slave end as described in any of the foregoing embodiments.

[0060] In addition, to achieve the above object, the present invention also provides a computer program product, comprising:

[0061] A computer program, when executed by a processor, implements the mapping sharing method applied to a master end as described in any of the foregoing embodiments or the mapping sharing method applied to a slave end as described in any of the foregoing embodiments.

[0062] In the mapping sharing method proposed in the present application, the first mapping image of the first slave end is sent to the master end in the form of mapping data. After the master end displays the second mapping image that is the same as the first mapping image, it is then sent to each slave end in the form of a first video stream through screen capture. Since each slave end only transmits mapping data between itself and the master end when sharing the mapping, the second mapping image distributed by the master end to other slave ends is integrated into the first video stream, and only one path of mapping data needs to be transmitted so that the master end and all slave ends can receive the second mapping image, thereby reducing the distribution amount of mapping data and reducing the pressure on the server.

[0063] At the same time, in the mapping sharing method proposed in the present application, the first slave end corresponding to the first mapping image will delete the first mapping image of its own Div layer after receiving the first video stream, thereby avoiding the ghosting problem between the first mapping image of the Div layer and the second mapping image displayed according to the first video stream.

[0064] Furthermore, the host sends a first plotting instruction, and the first plotting instruction includes a first timestamp corresponding to the frame of the second plotted image. After receiving the first plotting instruction, the first slave deletes the first plotted image when displaying the frame corresponding to the first timestamp, so that when the first slave transitions from the first plotted image to the second plotted image in the first video stream, there will be neither a long ghost nor a long blank, making the entire transition process more natural. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0066] The methods, systems and / or programs in the accompanying drawings will be further described according to exemplary embodiments. These exemplary embodiments will be described in detail with reference to the drawings. These exemplary embodiments are non-limiting exemplary embodiments, wherein reference numerals represent similar mechanisms in the various views of the accompanying drawings.

[0067] Figure 1 This is a schematic diagram of the structure of the master end involved in some embodiments of the present application;

[0068] Figure 2 This is a schematic diagram of the structure of a slave terminal involved in some embodiments of the present application;

[0069] Figure 3 This is a schematic diagram of the structure of a mapping sharing system involved in some embodiments of the present application;

[0070] Figure 4 A flowchart of a mapping sharing method involved in some embodiments of the present application;

[0071] Figure 5 for Figure 4 A flowchart of the other steps of the mapping sharing method;

[0072] Figure 6 A flowchart of a mapping sharing method involved in some embodiments of the present application;

[0073] Figure 7 for Figure 6 Flowchart of the additional steps in the plotting sharing method.

[0074] Icons: 10-master end, 20-slave end, 30-signaling server, 40-plotting server, 50-streaming media server, 100-plotting module, 200-display module, 300-capture module, 400-signaling module, 500-rendering module. DETAILED DESCRIPTION

[0075] In order to better understand the above technical scheme, the technical scheme of the present application is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical scheme of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.

[0076] In the following detailed description, numerous specific details are set forth by way of example in order to provide a comprehensive understanding of the relevant guidance. However, it will be apparent to those skilled in the art that the present application may be practiced without these details. In other cases, well-known methods, procedures, systems, compositions and / or circuits have been described at a relatively high level, without detail, in order to avoid unnecessarily obscuring aspects of the present application.

[0077] These and other features, the functions disclosed in the present application, the methods of execution, the functions of the related elements in the structure and the combination of parts and the production economy may become more apparent in consideration of the following description with reference to the accompanying drawings, all of which form a part of this application. However, it is to be understood that the drawings are for illustration and description purposes only and are not intended to limit the scope of this application. It should be understood that these drawings are not drawn to scale. However, it should be clearly understood that the drawings are for illustration and description purposes only and are not intended to limit the scope of this application. It should be known that these drawings are not drawn to scale.

[0078] Flowcharts are used in the present application to illustrate the execution process performed by the system according to the embodiment of the present application. It should be clearly understood that the execution process of the flowchart may not be performed in order. On the contrary, these execution processes may be performed in reverse order or simultaneously. In addition, at least one other execution process may be added to the flowchart. One or more execution processes may be deleted from the flowchart.

[0079] Example

[0080] Figure 1 1 is a schematic diagram of the structure of the master terminal 10 in the embodiment of the present application. The master terminal 10 includes a plotting module 100, a display module 200, a capture module 300, and a signaling module 400. The master terminal 10 is the party that starts screen sharing, and is used to display the screen content of the master terminal 10 to the slave terminal 20 so that the client of the master terminal 10 can explain.

[0081] Figure 2 1 is a schematic diagram of the structure of the slave terminal 20 in the embodiment of the present application. The slave terminal 20 includes a plotting module 100, a display module 200, a rendering module 500, and a signaling module 400. The slave terminal 20 is the party receiving the screen sharing, and is used to display the screen content of the master terminal 10 so that the client of the slave terminal 20 can listen and understand.

[0082] Figure 3 It is a structural diagram of the mapping sharing system in the embodiment of the present application. The mapping sharing system includes a master terminal 10, multiple slave terminals 20, a signaling server 30, a mapping server 40 and a streaming media server 50. When mapping sharing is required, the master terminal 10 and multiple slave terminals 20 are connected through the signaling server 30, the mapping server 40 and the streaming media server 50 to facilitate the sharing of screens and mapping. Optionally, the master terminal 10 and the slave terminal 20 can have the same structure, that is, the master terminal 10 and the slave terminal 20 can have a capture module 300, a rendering module 500, etc. at the same time. It can be understood that customers at the same end in remote collaborative office may need to explain or listen to lectures at different time periods, that is, they have the need to play the role of the master terminal 10 or the slave terminal 20 at different time periods. The same structure enables it to switch between the roles of the master terminal 10 and the slave terminal 20. The master terminal 10 and the slave terminal 20 can be installed in mobile phones, computers, smart screens and other devices with display screens in the form of APP.

[0083] Figure 4 is a flowchart of a plotting sharing method according to some embodiments of the present application, the method is applied to Figure 1 The master end 10 in the embodiment may specifically include the following steps S100 to S500.

[0084] S100, receiving first plotting data.

[0085] In this embodiment, the first plotting data is acquired by a first slave end among the multiple slave ends 20 and is used to generate a first plotting image at the first slave end. The first slave end is any slave end 20 among the multiple slave ends 20 that is currently plotting. After the user plots with a brush on the display screen of the first slave end, the first slave end processes the plotting and converts it into the first plotting data. Specifically, the first plotting data includes screen coordinate points and timestamps corresponding to the first plotting image. The plotting module 100 of the first slave end is used to acquire the plotting coordinate points and the corresponding timestamps.

[0086] After generating the first mapping data, the first slave terminal sends it to the mapping server 40 in the form of json. The mapping server 40 is responsible for synchronizing and verifying the received mapping data to ensure the integrity and order of the mapping data. The mapping module 100 of the master terminal 10 receives the first mapping data from the mapping server 40 in a WEBSOCKET manner. In addition, the display module 200 of the first slave terminal also generates a first mapping image on its own screen according to the first mapping data. It can be understood that the first mapping image can include text, symbols, graphics and other contents, and this embodiment does not limit the content of the first mapping image.

[0087] S200: Display a second plotting image on the host terminal according to the first plotting data.

[0088] In this embodiment, after receiving the first plotting data, the mapping module 100 of the master end 10 will parse the first plotting data according to the protocol to obtain the timestamp and coordinate information, and the display module 200 will draw on the screen of the master end 10 according to the parsed timestamp and coordinate information, so as to synchronously update the second plotting image on the screen of the master end 10. Since the first plotting image and the second plotting image are both obtained from the first plotting data, the first plotting image is the same as the second plotting image. At this time, the plotting image on the screen of the slave end 20 is shared on the screen of the master end 10.

[0089] S300, capturing the first display content of the master end.

[0090] S400: Generate a first video stream according to the first display content.

[0091] In this embodiment, the first video stream is used for the multiple slave terminals 20 to display the first display content. The capture module 300 of the master terminal 10 is used to capture the screen display content of the master terminal 10. At this time, the captured first display content includes the original display content of the screen and the newly mapped second plotted image. The capture module 300 encodes and protocol encapsulates the first display content to generate a first video stream.

[0092] After the multiple slave terminals 20 obtain the first video stream, the rendering module 500 of the slave terminal 20 decodes and renders the first video stream, and the first display content of the original master terminal 10 is displayed on the screen of the slave terminal 20, that is, the screen content of the master terminal 10 is shared with the screen of the slave terminal 20. Since the first display content of the master terminal 10 includes the second plotted image, the second plotted image is also displayed on the screen of each slave terminal 20, so that the plot of the first slave terminal is shared with the master terminal 10 and each slave terminal 20.

[0093] Optionally, the plot sharing method further includes: step S410, sending the first video stream to a streaming media server. The streaming media server receives and forwards the first video stream to a plurality of slave terminals.

[0094] S500: Generate a first plotting instruction according to the first plotting data.

[0095] In this embodiment, the first plotting instruction is used to instruct the first slave end to delete the first plotting image. The plotting module 100 of the master end 10 generates the first plotting instruction according to the first plotting data. Since the first slave end receives the first video stream from the streaming media server 50, if the first plotting image is not deleted, the first plotting image and the second plotting image will be displayed on the screen of the first slave end at the same time, resulting in a ghosting problem. Therefore, the plotting module 100 of the first slave end will delete the first plotting image after receiving the first plotting instruction, thereby solving the ghosting problem of the first slave end.

[0096] Optionally, the mapping sharing method further includes: step S510, sending the first mapping instruction to the mapping server. The mapping server receives and forwards the first mapping instruction to the first slave terminal.

[0097] In the mapping sharing method of this embodiment, the mapping data and screen sharing are forwarded and pushed by the mapping server 40 and the streaming media server 50 respectively, and the delay can be reduced to less than 190ms through the dual-stream push.

[0098] In the plotting sharing method of this embodiment, the first plotting image of the first slave terminal is sent to the master terminal 10 in the form of plotting data. After the master terminal 10 displays the second plotting image that is the same as the first plotting image, it is then sent to each slave terminal 20 in the form of a first video stream through screen capture. Since each slave terminal 20 only transmits plotting data between itself and the master terminal 10 when sharing the plotting, the second plotting image distributed by the master terminal 10 to other slave terminals 20 is integrated into the first video stream, and only one path of plotting data needs to be transmitted so that the master terminal 10 and all slave terminals 20 can receive the second plotting image, thereby reducing the distribution amount of plotting data and reducing the pressure on the server.

[0099] Meanwhile, in the mapping sharing method proposed in the present application, the first slave end corresponding to the first mapping image deletes the first mapping image after receiving the first video stream, thereby avoiding the ghosting problem caused by the first slave end displaying the first mapping image and the second mapping image at the same time.

[0100] In some embodiments, Figure 5 As shown, the plotting sharing method applied to the host terminal 10 further includes the steps of sending a sharing instruction and a video stream when starting sharing. Specifically, before step S100, the following steps are also included:

[0101] S10: In response to the sharing request, a first sharing instruction is sent to the signaling server.

[0102] S20, in response to the sharing request, capturing the display content of the master end and generating a video stream.

[0103] S30, sending the video stream of the master end to the streaming media server.

[0104] In this embodiment, the sharing request is used to enable screen sharing of the master terminal 10, so that the screen content of the master terminal 10 can be displayed on the screens of all the slave terminals 20. Optionally, the sharing request can be enabled by the user actively clicking a relevant area on the screen of the master terminal 10, or by the user actively inputting a relevant instruction. The first sharing instruction is used to instruct the multiple slave terminals 20 to continuously pull the video stream of the master terminal 10 from the streaming media server 50.

[0105] A TCP socket signaling channel is constructed between the master end 10 and the signaling server 30, and the master end 10 is a socket client. After the master end 10 starts sharing, the capture module 300 starts to continuously capture the display content of the master end 10, generates a video stream and sends it to the streaming media server 50. At the same time, the signaling module 400 of the master end 10 sends a first sharing instruction to the signaling server 30. After receiving the first sharing instruction, the signaling server 30 forwards it to all slave ends 20. After the signaling modules 400 of all slave ends 20 receive the first sharing instruction, the rendering module 500 pulls the video stream of the master end 10 from the streaming media server 50, and then decodes and renders the video stream of the master end 10, so that the screen of the slave end 20 can synchronously display the screen content of the master end 10.

[0106] By using dedicated servers to handle specific types of data (the mapping server 40 handles mapping data and the signaling server 30 handles signaling data), the system is able to manage the flow of data more efficiently and reduce the possibility of confusion and errors.

[0107] In some embodiments, the plotting sharing method applied to the host 10 further includes:

[0108] Step S40: Create a first Div layer in response to a drawing request and / or the drawing data of the slave end.

[0109] Step S200 includes:

[0110] The second plotting image is drawn on the first Div layer according to the first plotting data.

[0111] In this embodiment, the plotting request is used to enable the plotting function of the master terminal 10 so that the user can plot on the screen of the master terminal 10. Optionally, the plotting request can be enabled by the user actively clicking on a relevant area on the screen of the master terminal 10, or by the user actively inputting a relevant instruction. In addition, the plotting function of the master terminal 10 can also be enabled by the plotting data of the slave terminal 20, and the plotting data of the slave terminal 20 includes the aforementioned first plotting data.

[0112] When the master end 10 receives the plotting data that the slave end 20 wants to share from the plotting server 40, the master end 10 will start the plotting function to create a first Div layer on the screen of the master end 10. The first Div layer is a transparent layer set on the original display interface of the screen of the master end 10. When the user's brush plots on the screen of the master end 10, a plotting image will be drawn on the first Div layer. Correspondingly, when the master end 10 receives the plotting data from the slave end 20, it will also draw a corresponding plotting image on the first Div layer according to the plotting data of the slave end 20.

[0113] For example, when users start remote collaborative work, the original display interface of the main end 10 displays the file content that needs to be communicated, and the user marks the annotation information on the first Div layer. The capture module 300 will capture all the file content and annotation information on the screen of the main end 10, so that the first display content has both the original display interface and the content of the first Div layer.

[0114] In some embodiments, the first plotting instruction includes a first timestamp, which is the earliest timestamp corresponding to the frame containing the second plotted image in the first video stream. The first plotting instruction is used to instruct the first slave end to delete the first plotted image when displaying the frame corresponding to the first timestamp.

[0115] In this embodiment, after decoding the first video stream, multiple frames and timestamps corresponding to each frame are obtained, and the slave end 20 displays the corresponding frames on the screen in sequence according to the order of the timestamps, thereby forming a video playback. The first video stream is generated by the first display content, and the first display content includes the second plotted image, so at least part of the frames in the first video stream contain the second plotted image. When the first slave end displays the frame corresponding to the first timestamp, the second plotted image will appear on the screen for the first time, and the first plotted image will be deleted at this time, so that when the first slave machine transitions from the first plotted image to the second plotted image in the first video stream, there will be neither a long ghost nor a long blank, making the entire transition process more natural.

[0116] Figure 6 is a flowchart of a plotting sharing method according to some embodiments of the present application, the method is applied to Figure 2 The slave end 20 in the embodiment may specifically include the following steps S600 to S900.

[0117] S600: Generate a first mapping image according to the acquired first mapping data.

[0118] In this embodiment, after the user uses a brush to draw on the display screen of the slave terminal 20, the slave terminal 20 processes the drawing and converts it into first drawing data. Specifically, the first drawing data includes screen coordinate points and timestamps corresponding to the first drawing image. The drawing module 100 of the slave terminal 20 is used to collect the coordinate points and corresponding timestamps of the drawing.

[0119] The display module 200 of the first slave terminal also generates a first plotting image on its own screen according to the first plotting data. It can be understood that the first plotting image may include text, symbols, graphics and other contents, and this embodiment does not limit the contents of the first plotting image.

[0120] S700: Send the first plotting data for the host end to display a second plotting image.

[0121] In this embodiment, the second plotted image is the same as the first plotted image. After generating the first plotted data, the slave terminal 20 sends it to the plotting server 40 in the form of json. The plotting server 40 is responsible for synchronizing and verifying the received plotting data to ensure the integrity and order of the plotting data. The plotting module 100 of the master terminal 10 receives the first plotting data from the plotting server 40 in the form of WEBSOCKET.

[0122] After receiving the first plotting data, the mapping module 100 of the master end 10 will parse the first plotting data according to the protocol to obtain the timestamp and coordinate information, and the display module 200 will draw on the screen of the master end 10 according to the parsed timestamp and coordinate information, so as to synchronously update the second plotting image on the screen of the master end 10. Since the first plotting image and the second plotting image are both obtained from the first plotting data, the first plotting image is the same as the second plotting image. At this time, the plotting image on the screen of the slave end 20 is shared on the screen of the master end 10.

[0123] S800: Display first display content of the master end carried by a received first video stream, wherein the first display content includes the second plotted image.

[0124] In this embodiment, the capture module 300 of the master terminal 10 is used to capture the screen display content of the master terminal 10. At this time, the captured first display content includes the original display content of the screen and the newly mapped second mapped image. The capture module 300 encodes and encapsulates the first display content to generate a first video stream.

[0125] After the multiple slave terminals 20 obtain the first video stream, the rendering module 500 of the slave terminal 20 decodes and renders the first video stream, and the first display content of the original master terminal 10 is displayed on the screen of the slave terminal 20, that is, the screen content of the master terminal 10 is shared with the screen of the slave terminal 20. Since the first display content of the master terminal 10 includes the second plotted image, the second plotted image is also displayed on the screen of each slave terminal 20, so that the plot of the slave terminal 20 is shared with the master terminal 10 and the remaining slave terminals 20.

[0126] Optionally, the master terminal 10 sends the first video stream to the streaming server 50 , and the slave terminal 20 pulls the first video stream from the streaming server 50 .

[0127] S900 , in response to a first plotting instruction generated by the host end according to the first plotting data, deleting the first plotting image.

[0128] In this embodiment, the mapping module 100 of the master end 10 generates a first mapping instruction according to the first mapping data. Since the first slave end receives the first video stream from the streaming media server 50, if the first mapping image is not deleted, the first mapping image and the second mapping image will be displayed on the screen of the first slave end at the same time, resulting in a ghosting problem. Therefore, the mapping module 100 of the first slave end will delete the first mapping image after receiving the first mapping instruction, thereby solving the ghosting problem of the first slave end.

[0129] Optionally, the master terminal 10 sends the first mapping instruction to the mapping server 40. The mapping server 40 receives and forwards the first mapping instruction to the slave terminal 20.

[0130] In the plotting sharing method of this embodiment, the first plotting image of the slave terminal 20 is sent to the master terminal 10 in the form of plotting data. After the master terminal 10 displays the second plotting image that is the same as the first plotting image, it is then sent to each slave terminal 20 in the form of a first video stream through screen capture. Since each slave terminal 20 only transmits plotting data between itself and the master terminal 10 when sharing the plotting, the second plotting image distributed by the master terminal 10 to other slave terminals 20 is integrated into the first video stream, and only one path of plotting data needs to be transmitted so that the master terminal 10 and all slave terminals 20 can receive the second plotting image, thereby reducing the distribution amount of plotting data and reducing the pressure on the server.

[0131] Meanwhile, in the mapping sharing method proposed in the present application, the slave end 20 corresponding to the first mapping image deletes the first mapping image after receiving the first video stream, thereby avoiding the problem of ghosting due to the slave end 20 displaying the first mapping image and the second mapping image at the same time.

[0132] In some embodiments, Figure 7As shown, the plot sharing method applied to the slave terminal 20 further includes the step of pulling the video stream of the master terminal 10 when starting sharing. Specifically, before step S600, the following steps are also included:

[0133] Step S60, in response to the first sharing instruction, requesting the video stream of the master end from the streaming media server;

[0134] Step S70: receiving the video stream of the master end from the streaming media server.

[0135] In this embodiment, the master end 10 captures the display content of the master end 10 and generates a video stream in response to the sharing request, sends the video stream of the master end 10 to the streaming server 50 , and sends a first sharing instruction to the signaling server 30 .

[0136] The sharing request is used to start screen sharing of the master terminal 10, so that the screen content of the master terminal 10 can be displayed on the screens of all slave terminals 20. Optionally, the sharing request can be started by the user actively clicking a relevant area on the screen of the master terminal 10, or by the user actively inputting a relevant instruction.

[0137] After the master end 10 starts sharing, the capture module 300 starts to continuously capture the display content of the master end 10, generates a video stream and sends it to the streaming media server 50. At the same time, the signaling module 400 of the master end 10 sends a first sharing instruction to the signaling server 30. After receiving the first sharing instruction, the signaling server 30 forwards it to all slave ends 20. After the signaling modules 400 of all slave ends 20 receive the first sharing instruction, the rendering module 500 pulls the video stream of the master end 10 from the streaming media server 50, and then decodes and renders the video stream of the master end 10, so that the screen of the slave end 20 can synchronously display the screen content of the master end 10. When the slave end 20 pulls, it first sends a request to the streaming media server 50, and then receives the video stream of the master end 10 from the streaming media server 50.

[0138] In some embodiments, the plot sharing method applied to the slave terminal 20 further includes the following steps:

[0139] S70: Create a second Div layer in response to the drawing request.

[0140] Step S600 includes:

[0141] A first plotting image is generated in the second Div layer according to the collected first plotting data.

[0142] Step S900 includes:

[0143] The first plotted image on the second Div layer is deleted.

[0144] In this embodiment, the plotting request is used to enable the plotting function of the slave terminal 20 so that the user can plot on the screen of the slave terminal 20. Optionally, the plotting request can be enabled by the user actively clicking a relevant area on the screen of the slave terminal 20, or by the user actively inputting a relevant instruction.

[0145] When the slave end 20 collects the first plotting data, the slave end 20 will create a second Div layer on the screen. The second Div layer is a transparent layer set on the original display interface of the slave end 20 screen. When the user's brush plots on the screen of the slave end 20, the first plotting image will be drawn on the second Div layer. Correspondingly, when the slave end 20 receives the first plotting instruction from the master end 10, the corresponding first plotting image will also be deleted on the second Div layer.

[0146] In some embodiments, the first plotting instruction includes a first timestamp, where the first timestamp is the earliest timestamp corresponding to a frame in the first video stream that includes the second plotted image.

[0147] Deleting the first mapped image in step S900 includes:

[0148] The first plotted image is deleted when the frame corresponding to the first time stamp is displayed.

[0149] In this embodiment, after decoding the first video stream, multiple frames and timestamps corresponding to each frame are obtained, and the slave end 20 displays the corresponding frames on the screen in sequence according to the order of the timestamps, thereby forming a video playback. The first video stream is generated by the first display content, and the first display content includes the second plotted image, so at least part of the frames in the first video stream contain the second plotted image. When the first slave end displays the frame corresponding to the first timestamp, the second plotted image will appear on the screen for the first time. At this time, the first plotted image on the second Div layer is deleted, so that when the first slave machine transitions from the first plotted image to the second plotted image in the first video stream, there will be neither a long ghost nor a long blank, making the entire transition process more natural.

[0150] Some embodiments of the present application relate to an electronic device. The electronic device includes: a processor and a storage device. The storage device is used to store one or more programs. When the one or more programs are executed by the processor, the processor implements the mapping sharing method for the master end 10 as described in any of the aforementioned embodiments or the mapping sharing method for the slave end 20 as described in any of the aforementioned embodiments.

[0151] Some embodiments of the present application provide a computer program product, including a computer program, which, when executed by a processor, implements the plotting sharing method for the master terminal 10 or the plotting sharing method for the slave terminal 20 as described in any of the foregoing embodiments.

[0152] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0153] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0154] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0155] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A plotting sharing method, characterized in that: Applied to a master end, the master end is connected to a plurality of slave ends, and the method comprises: receiving first plotting data, wherein the first plotting data is acquired by a first slave terminal among the plurality of slave terminals and is used to generate a first plotting image at the first slave terminal; Displaying a second plotting image on the master terminal according to the first plotting data, wherein the second plotting image is the same as the first plotting image; capturing first display content of the master end, wherein the first display content includes original display content and the second plotted image; Generating a first video stream according to the first display content, the first video stream being used for the multiple slave terminals to display the first display content; wherein generating the first video stream according to the first display content comprises: encoding and protocol encapsulating the first display content to generate the first video stream; generating a first plotting instruction according to the first plotting data, wherein the first plotting instruction is used to instruct the first slave end to delete the first plotting image; The first plotting instruction includes a first timestamp, and the first timestamp is the earliest timestamp corresponding to the frame in the first video stream that includes the second plotted image; The first plotting instruction is used to instruct the first slave end to delete the first plotted image when displaying the frame corresponding to the first timestamp; The method further comprises: In response to a drawing request and / or drawing data from the slave end, creating a first Div layer; Displaying the second plotting image on the master end according to the first plotting data comprises: The second plotting image is drawn on the first Div layer according to the first plotting data.

2. The plotting sharing method according to claim 1, characterized in that: The first plotting data is sent by the first slave end to a plotting server; The host terminal receives the first plotting data from the plotting server; The method further comprises: Sending the first video stream to a streaming media server; The first plotting instruction is sent to the plotting server.

3. The plotting sharing method according to claim 2, characterized in that: Before receiving the first plotting data, the method further includes: In response to the sharing request, sending a first sharing instruction to the signaling server, wherein the first sharing instruction is used to instruct the multiple slave terminals to continuously pull the video stream of the master terminal from the streaming media server; In response to the sharing request, capturing the display content of the master terminal and generating a video stream; The video stream of the master end is sent to the streaming media server.

4. A plotting sharing method, characterized in that: Applied to a slave end, the slave end is connected to a master end, and the method comprises: generating a first plotted image according to the collected first plotted data; Sending the first plotting data for the host terminal to display a second plotting image, the second plotting image being the same as the first plotting image; According to the received first video stream, display the first display content of the master end carried by the first video stream, wherein the first display content includes the original display content and the second plotted image; wherein the first display content is encoded and protocol encapsulated to generate the first video stream; In response to a first plotting instruction generated by the host end according to the first plotting data, deleting the first plotting image; The first plotting instruction includes a first timestamp, and the first timestamp is the earliest timestamp corresponding to the frame in the first video stream that includes the second plotted image; The deleting the first mapped image comprises: Deleting the first plotted image when displaying the frame corresponding to the first timestamp; The method further comprises: In response to the drawing request, a second Div layer is created; The step of generating a first plotted image according to the collected first plotted data comprises: generating a first plotted image in the second Div layer according to the collected first plotted data; The deleting the first mapped image comprises: The first plotted image on the second Div layer is deleted.

5. The plotting sharing method according to claim 4, characterized in that: The step of sending the first plotting data comprises: Sending the first plotting data to a plotting server; The method further comprises: Requesting the first video stream from a streaming media server; Receiving the first video stream from the streaming media server; The first plotting instruction is received from the plotting server.

6. The plotting sharing method according to claim 5, characterized in that: Before generating a first plotted image according to the collected first plotted data, the method further includes: In response to the first sharing instruction, requesting the video stream of the master end from the streaming media server; The video stream of the master end is received from the streaming media server.

7. An electronic device, characterized in that: include: processor; A storage device for storing one or more programs; When the one or more programs are executed by the processor, the processor implements the mapping sharing method according to any one of claims 1 to 3 or the mapping sharing method according to any one of claims 4 to 6.

8. A computer program product, characterized in that include: A computer program, which, when executed by a processor, implements the mapping sharing method according to any one of claims 1 to 3 or the mapping sharing method according to any one of claims 4 to 6.