CN110297917B - Live broadcast method and device, electronic equipment and storage medium - Google Patents

Live broadcast method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110297917B
CN110297917B CN201910580123.XA CN201910580123A CN110297917B CN 110297917 B CN110297917 B CN 110297917B CN 201910580123 A CN201910580123 A CN 201910580123A CN 110297917 B CN110297917 B CN 110297917B
Authority
CN
China
Prior art keywords
page file
page
target terminal
instruction
ppt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910580123.XA
Other languages
Chinese (zh)
Other versions
CN110297917A (en
Inventor
李花
孙炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910580123.XA priority Critical patent/CN110297917B/en
Publication of CN110297917A publication Critical patent/CN110297917A/en
Application granted granted Critical
Publication of CN110297917B publication Critical patent/CN110297917B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • G06F16/4387Presentation of query results by the use of playlists
    • G06F16/4393Multimedia presentations, e.g. slide shows, multimedia albums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a live broadcast method, a live broadcast device, electronic equipment and a storage medium, and belongs to the technical field of network live broadcast. The method comprises the following steps: and acquiring a page file of the PPT based on the presentation file PPT to be live broadcast, wherein the display resolution of the page file is the same as that of the PPT. And acquiring the link of the page file, sending the link to the target terminal, and acquiring the page file by the link for the target terminal. And if the operation for the page file is detected, acquiring an operation instruction based on the operation. And sending an operation instruction to the target terminal, wherein the operation instruction is used for the target terminal to execute operation on the page file so as to complete live broadcasting. According to the live broadcast method and device based on the webpage file and the operation instruction, the live broadcast picture definition is the same as the PPT definition based on the webpage file and the operation instruction, the live broadcast picture definition is improved, the live broadcast effect is good, the consumed network flow is less, and therefore the use experience of a user is improved.

Description

Live broadcast method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of network live broadcasting technologies, and in particular, to a live broadcasting method, a live broadcasting device, an electronic device, and a storage medium.
Background
With the development of network live broadcasting technology, live broadcasting modes are more and more, and live broadcasting teaching is one of them. In the live teaching process, a PPT (PowerPoint) played during teaching is often required to be displayed through a live interface so as to ensure the teaching effect.
The related art provides a live broadcast method. The method comprises the steps that a host side obtains video data comprising a PPT playing process through a screen recording, encodes the obtained video data, and sends the encoded video data to a server through a network. And then, the audience terminal can pull the encoded video data from the server, decode and render the encoded video data, so that the video data comprising the PPT playing process is displayed on a live broadcast interface of the audience terminal to complete live broadcast.
However, in the related art, the resolution of the video data is limited to the resolution of the screen at the anchor end because the video data is acquired through the recording screen, which may result in lower resolution of the video data including the PPT playing process displayed at the viewer end, and poor live broadcasting effect, which affects the use experience of the user at the viewer end.
Disclosure of Invention
The embodiment of the application provides a live broadcast method, a live broadcast device, electronic equipment and a storage medium, so as to solve the problem of poor live broadcast effect of the related technology. The technical scheme is as follows:
In one aspect, a live broadcast method is provided, the method comprising:
acquiring a page file of a presentation point to be live broadcast (PPT) based on the PPT, wherein the display resolution of the page file is the same as that of the PPT;
acquiring a link of the page file, and sending the link to a target terminal, wherein the link is used for the target terminal to acquire the page file;
if an operation for the page file is detected, acquiring an operation instruction based on the operation;
and sending the operation instruction to the target terminal, wherein the operation instruction is used for the target terminal to execute the operation on the page file so as to complete live broadcasting.
Optionally, the obtaining the pagefile of the PPT includes:
sending the PPT and a conversion request of the PPT to a server, wherein the conversion request is used for the server to return the page file based on the PPT;
and receiving the page file obtained by converting the server based on the PPT.
Optionally, the obtaining the link of the page file includes:
sending the page file to the server, wherein the server is used for storing the page file and returning the storage address of the page file as the link;
And receiving the link returned by the server based on the page file.
Optionally, after the sending the operation instruction to the target terminal, the method further includes:
and sending a state instruction to the target terminal, wherein the state instruction indicates a first state of the page file of the home terminal, the first state comprises a page number and an animation display effect based on the page number, and the state instruction is used for synchronizing a second state of the page file of the target terminal with the first state by the target terminal.
Optionally, the operation instruction has a corresponding instruction time stamp;
the sending the operation instruction to the target terminal includes:
and sending the operation instruction and the instruction time stamp to the target terminal, wherein the instruction time stamp is used for determining the time for executing the operation on the page file according to the operation instruction by the target terminal.
Optionally, the operation for the page file includes inserting a target picture into the page file;
and if the operation for the page file is detected, acquiring an operation instruction based on the operation, wherein the operation instruction comprises the following steps:
if the insertion of the target picture into the page file is detected, a blank page instruction and a picture instruction are obtained, wherein the blank page instruction is used for inserting a blank page into the page file of the target terminal by the target terminal, the picture instruction is used for obtaining the target picture by the target terminal, and the target picture is displayed through the inserted blank page.
In one aspect, a live broadcast apparatus is provided, the apparatus comprising:
the system comprises a page file acquisition module, a display module and a display module, wherein the page file acquisition module is used for acquiring a page file of a Presentation Point (PPT) to be live broadcast based on the PPT, and the display resolution of the page file is the same as that of the PPT;
the link acquisition module is used for acquiring the link of the page file;
the sending module is used for sending the link to a target terminal, wherein the link is used for the target terminal to acquire the page file;
the operation instruction acquisition module is used for acquiring an operation instruction based on the operation if the operation on the page file is detected;
the sending module is further configured to send the operation instruction to the target terminal, where the operation instruction is used for the target terminal to execute the operation on the page file, so as to complete live broadcasting.
Optionally, the pagefile obtaining module is further configured to send the PPT and a conversion request of the PPT to a server, where the conversion request is used for the server to return the pagefile based on the PPT; and receiving the page file obtained by converting the server based on the PPT.
Optionally, the link acquiring module is further configured to send the page file to the server, where the server is configured to store the page file, and return a storage address of the page file as the link; and receiving the link returned by the server based on the page file.
Optionally, the sending module is further configured to send a status instruction to the target terminal, where the status instruction indicates a first status of the page file of the home terminal, the first status includes a page number and an animation display effect based on the page number, and the status instruction is used by the target terminal to synchronize a second status of the page file of the target terminal with the first status.
Optionally, the operation instruction has a corresponding instruction time stamp; the sending module is further configured to send the operation instruction and the instruction timestamp to the target terminal, where the instruction timestamp is used for the target terminal to determine a time for executing the operation on the page file according to the operation instruction.
Optionally, the operation for the page file includes inserting a target picture into the page file; the operation instruction acquisition module is used for acquiring a blank page instruction and a picture instruction if the insertion of the target picture into the page file is detected, wherein the blank page instruction is used for inserting a blank page into the page file of the target terminal by the target terminal, the picture instruction is used for acquiring the target picture by the target terminal, and the target picture is displayed through the inserted blank page.
In one aspect, an electronic device is provided that includes a processor and a memory having at least one instruction stored therein that is loaded and executed by the processor to implement a live method provided by any one of the possible implementations of the embodiments of the present application.
In another aspect, a readable storage medium is provided, in which at least one instruction is stored, the instruction being loaded and executed by a processor to implement a live method provided by any one of the possible implementations of the embodiments of the present application.
The beneficial effects that technical scheme that this application embodiment provided include at least:
after the webpage file of the PPT to be live broadcast is obtained, an operation instruction for the target terminal to execute operation on the webpage file is sent to the target terminal, so that the target terminal can display the playing process of the PPT through the webpage according to the operation instruction after the webpage file is loaded to generate the webpage, and live broadcast is completed. The target terminal displays the PPT playing process by loading the page file, and the page file has the same display resolution as the PPT, so that the displayed playing process has higher definition. And the target terminal receives less network flow required by the operation instruction, so that the target terminal can display the PPT playing process by using less network flow, and the problems of blocking, screen display and the like are avoided. Therefore, the live broadcast effect is good, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a live broadcast method provided in an embodiment of the present application;
FIG. 3 is a flow chart of a transition PPT provided by an embodiment of the present application;
fig. 4 is a flowchart of a live broadcast method provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a live interface provided by an embodiment of the present application;
fig. 6 is a live architecture diagram provided in an embodiment of the present application;
FIG. 7 is a flow chart provided by an embodiment of the present application for determining when to perform an operation;
FIG. 8 is a flow chart of state detection provided by an embodiment of the present application;
FIG. 9 is a flow chart of state detection provided by an embodiment of the present application;
FIG. 10 is a flow chart of state detection provided by an embodiment of the present application;
fig. 11 is a schematic structural diagram of a live broadcast device according to an embodiment of the present application;
Fig. 12 is a schematic diagram of a terminal provided in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
With the development of network live broadcasting technology, live broadcasting mode of giving lessons by live broadcasting is widely used in educational scenes such as K12 (Kindergarten Through Twelfth Grade, preschool education to high school education). In the process of live teaching through APP (Application), PPT played during teaching often needs to be displayed through a live interface, so as to ensure teaching effects.
In the related art, a main broadcasting terminal acquires video data including a PPT playing process through a screen recording, encodes the acquired video data, and sends the encoded video data to a server through a network. And then, the audience terminal can pull the encoded video data from the server, decode and render the encoded video data, so that the video data comprising the PPT playing process is displayed on a live broadcast interface of the audience terminal to complete live broadcast.
However, since the video data is acquired through the recording screen in the related art, the resolution of the video data is limited to that of the anchor screen, and the process of encoding the video data is lossy compression, further reducing the resolution of the video data. Therefore, the resolution of the video data including the PPT playing process displayed by the viewer may be low, not clear enough, and the live effect is poor, which affects the use experience of the user at the viewer.
In addition, the network traffic consumed by the audience to receive the encoded video data pushed by the server is more. In addition, if network delay occurs in the pulling process, the problems of blocking, screen display, asynchronism with audio played by the audience terminal and the like of video data displayed by the audience terminal are caused, and the live broadcasting effect is poor.
The embodiment of the application provides a live broadcast method which can be applied to an implementation environment shown in fig. 1. In fig. 1, the system includes a main cast 11, a server 12 and one or more target terminals 13, where the main cast 11 may be communicatively connected to the server 12 to interact with files and instructions related to live broadcast with the server 12. The server 12 is also communicatively connected to each target terminal 13 to interact with the target terminals 13 for live related requests, files and instructions.
The anchor terminal 11 and the target terminal 13 may be any electronic product that can perform man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, a voice interaction or a handwriting device, for example, a PC (Personal Computer, a personal computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant, a personal digital assistant), a wearable device, a palm computer PPC (Pocket PC), a tablet computer, a smart car machine, a smart television, a smart sound box, and the like.
The server 12 may be a server, a server cluster comprising a plurality of servers, or a cloud computing service center.
It will be appreciated by those skilled in the art that the above-described anchor, server 12 and target terminal 13 are by way of example only, and that other terminals or servers, either now present or hereafter may be present, are intended to be within the scope of the present application and are incorporated herein by reference.
Based on the implementation environment shown in fig. 1 and referring to fig. 2, an embodiment of the present application provides a live broadcast method, which can be applied to the anchor side shown in fig. 1. As shown in fig. 2, the method includes:
step 201, based on the PPT to be live broadcast, acquiring a page file of the PPT, wherein the display resolution of the page file is the same as that of the PPT.
Wherein the PPT to be live may comprise one or more pages, each of which may have one or more animated display effects including, but not limited to, scaling, rotation, fly-in, fade-out, etc. of text, video, or pictures. If one page has a plurality of animation display effects, each animation display effect has a display order. For example, a first animation effect of a first page of the PPT is a fly-in of text, and a second animation effect of the first page is a fade-out of text.
For the PPT acquisition mode, the local end can provide an uploading inlet of the PPT, if the uploading inlet is detected to be triggered, an uploading interface comprising one or more PPTs is displayed, and the selected PPT is acquired through the uploading interface, so that the acquisition of the PPT is realized. In this embodiment, the method for obtaining the PPT is not limited, and after obtaining the PPT, the pagefile of the PPT may be further obtained.
Optionally, obtaining the pagefile of the PPT includes: sending a PPT and a conversion request of the PPT to a server, wherein the conversion request is used for the server to return a page file based on the PPT; the receiving server receives the converted page file based on the PPT. It should be noted that, if the page file returned by the server describes the page content of each page included in the PPT and the animation display effect of the page, the page file is loaded to generate a web page, and the page content of any page included in the PPT and any animation display effect of the page are displayed through the generated web page, and the display process will be described in detail later. Also, the display resolution of the web page generated by loading the page file is the same as the display resolution of the PPT, that is, the definition of the generated web page is not limited to the resolution of the screen. In an alternative embodiment, the pagefile may be written in version 5 of HTML (Hyper Text Markup Language, standard universal markup language), i.e., the pagefile may be H5 data.
As shown in fig. 3, the servers include a first server, a second server, and a third server. The local end sends the PPT to the first server, and the first server stores the PPT, where the first server may include a COS (Cloud Object Storage, object store) in this embodiment. In addition, the local end also sends the conversion request of the PPT to the second server, and the second server adds the conversion request to the conversion queue. The third server may then retrieve the conversion request from the conversion queue, download the PPT from the first server based on the retrieved conversion request, and convert the PPT to a pagefile. Then, the third server sends the page file to the second server, and the second server deletes the conversion request from the conversion queue and returns the page file to the home terminal. Therefore, the home terminal can receive the page file sent by the second server, thereby realizing the acquisition of the page file.
In the case where the pagefile is H5 data, the manner in which the third server converts the PPT to the pagefile includes: first, the downloaded PPT is converted to H5 data by a plug-in (e.g., an iSpring plug-in). Then, a JS (JavaScript and transliteration script language) injection is performed through a software system (such as a hack system), namely a JS interface is added in H5 data, and the JS interface is used for controlling a webpage obtained by loading a page file. In addition, the third server may compress the H5 data after JS injection to obtain a compressed packet in a reference format (such as zip format), and send the compressed packet in the reference format as a page file to the second server, where the page file received by the local end is the compressed packet in the reference format.
In addition, the conversion function of converting the PPT into the page file may be provided by a single server or may be provided by some other server. That is, the number of servers in the present embodiment may be two, except for the case where the number of servers is three as described above.
Of course, the manner of obtaining the pagefile of the PPT is not limited in this embodiment, and no matter how the pagefile of the PPT is obtained, the link for obtaining the pagefile may be triggered after the pagefile is obtained, which is described in step 202.
Step 202, acquiring a link of the page file, sending the link to the target terminal, and using the link for the target terminal to acquire the page file.
For the obtained pagefile, optionally, the links of the pagefile are obtained as follows: the method comprises the steps of sending a page file to a server, wherein the server is used for storing the page file, and returning the storage address of the page file as a link; the receiving server receives the link returned based on the page file.
Wherein, according to the description in step 201, the servers may include a first server, a second server, and a third server. In this embodiment, as shown in fig. 4, the page file may be sent to the first server, the page file is stored by the first server, and a storage address of the page file, for example, a URL (Uniform Resource Locator ) of the page file, is returned as a link. Accordingly, the local terminal can receive the link to acquire the link of the page file.
Further, after acquiring the page file, the home terminal may send the link to the target terminal. The transmission mode may include: and the local end sends the link to the second server, and if the second server receives the link acquisition request of the target terminal, the link is returned to the target terminal according to the link acquisition request. After receiving the link, the target terminal can acquire the stored page file from the first server according to the link, and it can be seen that the link is used for the target terminal to acquire the page file.
It should be noted that, after the target terminal obtains the page file, the target terminal may download the page file to the local area of the target terminal. Therefore, in the subsequent live broadcast process, the target terminal loads the downloaded page file to generate the webpage, the process does not need to depend on a network, the definition of the webpage cannot be reduced due to network delay, and the user experience of the target terminal is good.
In addition, the second server may encrypt the link by the key, and transmit the encrypted link to the target terminal. The target terminal, after receiving the encrypted link, also decrypts the encrypted link by means of the key to obtain the link for acquiring the page file. The key can be obtained by negotiation between the second server and the target terminal. By encrypting the links, the link leakage of the links in the transmission process is avoided, so that the security of the page file is indirectly ensured.
After sending the link, the home terminal may further trigger detection of an operation for the pagefile, see step 203 for details.
In step 203, if an operation for the page file is detected, an operation instruction is acquired based on the operation.
Among other things, operations on the pagefile include, but are not limited to, the following:
opening the page file: if the page file is detected to be opened, the local end loads the page file to generate a webpage, wherein the webpage is used for displaying any page included in the PPT and any animation display effect of the page. In view of the fact that the first page in the PPT is displayed first after the PPT is opened, the first page included in the PPT may also be displayed directly through the generated web page after the web page is generated, so as to provide the same use experience as the PPT. Accordingly, the operation instruction acquired based on the operation includes a web page generation instruction for the target terminal to load the page file to generate the web page.
Last/next animation display effect: the generated web page can provide a display identifier, and if the display identifier is detected to be selected, the operation of detecting the animation display effect of the last step/next step is confirmed. Taking the example that the current webpage is displayed with the first animation display effect of the first page in the PPT, if the operation of the next animation display effect is detected, the second animation display effect of the first page is continuously displayed on the current webpage, and the process can be realized through the JS interface in the page file. Accordingly, based on the operation, an animation display effect positioning instruction can be obtained, and the instruction is used for positioning the animation display effect displayed by the target terminal webpage to the animation display effect displayed by the local webpage by the target terminal, namely, the animation display effect which is the same as the animation display effect displayed by the local webpage by the target terminal webpage.
Switching the previous/next page: the generated web page may provide a switch flag, and if the switch flag is detected to be selected, the operation of switching the previous/next page is confirmed to be detected. For example, if the page displayed by the current webpage is the first page in the PPT and the operation of the next page is detected, the first page displayed by the current webpage is switched to the second page, and the switching process can be implemented through the JS interface in the page file. Accordingly, based on the operation, a page positioning instruction for displaying the same page as the home terminal on the webpage of the target terminal can be obtained.
Inserting blank pages: the generated webpage can provide blank page identification, if the blank page identification is detected to be selected, a blank webpage can be additionally loaded, and the blank webpage can be used for displaying one or more of characters, pictures and videos except the PPT, so that live broadcast content is rich. Correspondingly, the operation instruction acquired based on the operation comprises a blank page instruction, and the blank page instruction is used for loading a blank webpage by the target terminal.
Inserting a target picture: and providing a picture insertion identifier for the generated webpage, and if the picture insertion identifier is detected to be selected, providing an uploading entry of the target picture and triggering loading of the blank webpage. And then, displaying the target picture acquired through the uploading inlet on the loaded blank webpage. Correspondingly, the operation instructions comprise blank page instructions and picture instructions, wherein the blank page instructions are used for loading blank webpages on the target terminal by the target terminal, the picture instructions are used for obtaining target pictures by the target terminal, and the target pictures are displayed through the inserted blank pages.
Drawing a track: the detected trajectory may be displayed on a web page generated by loading the page file or on an otherwise loaded blank web page. And, the web page may provide one or more track line types (such as solid line, broken line, wave line) and track colors, so as to display the detected track according to the selected track line type and track color. Accordingly, the operation instruction can include a track instruction carrying track related information, and the instruction is used for displaying the same track as the local end on the webpage of the target terminal by the target terminal.
Closing the page file: if it is detected that the page file is closed, the generated web page may be closed. Accordingly, the operation instruction includes a web page closing instruction for closing the web page by the target terminal.
Of course, the present embodiment is not limited to operations on a page file, and detection of other operations may be provided empirically in addition to the operations exemplified above. Regardless of the operation detected, after the operation instruction is acquired based on the operation, the operation instruction may be sent to the target terminal, so that the target terminal may perform an operation on the page file of the target terminal according to the operation instruction, which is described in step 204.
And step 204, sending an operation instruction to the target terminal, wherein the operation instruction is used for the target terminal to execute operation on the page file so as to complete live broadcast.
Still referring to fig. 4, the home terminal may send the operation instruction to the second server first, and then the second server sends the received operation instruction to the target terminal, so as to implement sending of the operation instruction. After receiving the operation instruction, the target terminal can execute the operation on the page file acquired according to the link according to the operation instruction. The operation Command carries a CMD (Command) identifier for distinguishing the meaning of the operation Command, and the CMD identifier can be specified by a protocol obtained by the local end, the second server and the target terminal. For example, after receiving the operation instruction, the target terminal analyzes the CMD identifier carried by the operation instruction to obtain that the operation instruction is a webpage generating instruction, and then the target terminal can load the webpage file according to the webpage generating instruction, thereby generating the webpage. For the other operation instructions included in step 203, a detailed description is omitted here.
It should be noted that, after the local end sends the operation instruction, the operation instruction may be lost in the transmission process. In this case, for the operation that the home terminal has performed with respect to the page file, the target terminal fails to perform the same operation with respect to the page file of the target terminal because the operation instruction is not received, resulting in a difference in the state of the home terminal and the page file of the target terminal. Therefore, optionally, after sending the operation instruction to the target terminal, the method provided by the embodiment further includes: and sending a state instruction to the target terminal, wherein the state instruction indicates a first state of the page file of the home terminal, the first state comprises page numbers and animation display effects based on the page numbers, and the state instruction is used for synchronizing a second state of the page file of the target terminal with the first state by the target terminal.
The method for triggering the sending of the state instruction to the target terminal comprises the following steps: as shown in fig. 8, the home terminal starts a timer, the timer is configured to trigger the home terminal to send a status instruction to the second server every other reference time, the second server stores a first status indicated by the status instruction, and sends the received status instruction to the target terminal, where the target terminal confirms whether the first status of the home terminal is synchronous with a second status of the target terminal according to the status instruction. The confirmation method may refer to fig. 9, where the target terminal first confirms whether the Page number (Page ID) of the PPT Page displayed on the home Page is consistent with the Page number of the PPT Page displayed on the target terminal Page, and then confirms whether the number of animation display effects (Page Step) on the Page displayed on the home Page is consistent with the number of animation display effects on the Page displayed on the target terminal Page.
If one or both of the page number and the animation display effect based on the page number are inconsistent, the first state and the second state are confirmed to be not synchronous. For example, the home web page displays a third animation display effect of the first page in the PPT, and the target terminal web page displays the first animation display effect of the first page of the PPT, and it is confirmed that the first state and the second state are not synchronized. In this case, the target terminal may acquire the operation instruction corresponding to the second state to the first state from the second server.
In this embodiment, the operation instructions may be numbered according to a time sequence, for example, the operation instruction corresponding to the first animation display effect of the first page is numbered 1, the operation instruction corresponding to the second animation display effect of the first page is numbered 2, the operation instruction corresponding to the first animation display effect of the second page is numbered 3, and so on. The operation instruction corresponding to the second state to the first state, which is acquired by the target terminal, includes: and acquiring all the numbered operation instructions from the number of the operation instruction corresponding to the second state to the number of the operation instruction corresponding to the first state. For example, the first state of the home web page is a first animation display effect of displaying the second page in the PPT, that is, the number of the operation instruction corresponding to the first state is 3; and the second state of the target terminal is to display the first animation display effect of the first page in the PPT, namely the number of the operation instruction corresponding to the second state is 1. Therefore, the target terminal can acquire the operation instruction with the number of 2 and the operation instruction with the number of 3 from the second server, so that the second state and the first state are synchronized, namely the page number displayed by the target terminal and the number of animation display effects on the page are consistent.
If the operation instruction of the target terminal for obtaining the reference times from the second server is not obtained successfully under the condition that the first state and the second state are not synchronous, the method can be switched to a live broadcast mode provided by the related technology so as to ensure the use experience of the target terminal user preferentially. Of course, if the first state and the second state are confirmed to be synchronous, the target terminal does not need to execute the operation, and can normally receive the subsequent operation instruction.
In addition to the manner in which the home terminal transmits the status instruction to the second server every reference time, as shown in fig. 10, the target terminal may start a timer, and acquire the status instruction by triggering the manner in which the acquisition request of the status instruction is actively transmitted to the second server every reference time by the timer, so as to confirm whether the first status of the home terminal is synchronous with the second status of the target terminal according to the status instruction returned by the second server. Or, the embodiment can also use two modes of sending the state instruction by the local terminal and actively acquiring the state instruction by the target terminal at the same time, so that the frequency of acquiring the state instruction by the target terminal is further improved, whether the state of the target terminal is synchronous or not is ensured to be confirmed according to the state instruction, and the state synchronization rate of the local terminal and the target terminal is improved.
Further, in this embodiment, the live interface of the target terminal may refer to fig. 5. It can be seen that the live interface includes a first interface, a second interface, and a third interface. The first interface is used for displaying the webpage generated by the webpage file; the second interface is used for displaying video data acquired by the local terminal through acquisition equipment such as a camera and the like, for example, facial video data of a local terminal user; the third interface is used for displaying chat text data in the live broadcasting room where the local terminal is located.
Therefore, the target terminal should keep the pictures displayed by the first interface, the second interface and the third interface synchronized in time. In addition, as shown in fig. 6, the target terminal may also receive the audio sent by the local terminal and play the audio through the speaker, so that the target terminal should keep the audio synchronized with the picture displayed on the live interface in time. Based on the above considerations, in an alternative implementation, the operation instruction in this embodiment has a corresponding instruction timestamp. Accordingly, the sending of the operation instruction to the target terminal includes: and sending the operation instruction and the instruction time stamp to the target terminal, wherein the instruction time stamp is used for determining the time for executing the operation on the page file according to the operation instruction by the target terminal.
Wherein the target terminal may have an audio time stamp or a server time stamp for indicating the time. If there is an audio time stamp, the present embodiment prioritizes the audio time stamp as a local time stamp, and if there is no audio time stamp, the server time stamp as a local time stamp. As shown in fig. 7, the target terminal may compare the received instruction time stamp with the local time stamp, and determine a time to perform an operation on the page file according to the operation instruction according to the comparison result.
If the comparison result is that the time indicated by the instruction time stamp is faster than the time indicated by the local time stamp, the picture displayed on the first interface is faster than the second interface picture, the third interface picture and the audio. Thus, the operation instructions may be stored in the buffer, and the operation instructions may be read from the buffer after a reference time, the reference time including a difference between a time indicated by the instruction timestamp and a time indicated by the local timestamp, according to which the operation is performed on the page file. For example, if the time indicated by the instruction timestamp is 1:00:05 and the time indicated by the local timestamp is 1:00:00, then the time indicated by the instruction timestamp is faster than the time indicated by the local timestamp by 5 seconds, then the operation instruction may be stored in the buffer, and after 5 seconds, the operation instruction is read from the buffer and the corresponding operation is performed.
If the comparison result is that the time indicated by the instruction time stamp is slower than the time indicated by the local time stamp, the picture displayed on the first interface is indicated to be slower than the second interface picture, the third interface picture and the audio. Therefore, the operation can be immediately executed on the page file according to the operation instruction, or the playing of the second interface picture, the third interface and the audio can be delayed, so that the picture and the audio of the live interface are ensured to be synchronous.
In the related art, since the target terminal needs to receive video stream data including the PPT playing process, the related art consumes a lot of network traffic. In the method provided in this embodiment, the target terminal only needs to receive the page file and the operation instruction, and the consumed network traffic is less than that of the related art. For example, the network traffic consumed by the target terminal in the related art is 117MB (Mega Byte), and the network traffic consumed by the target terminal in the present method is 39.59MB.
In addition, the network bandwidth required for receiving the video stream data in the live broadcast process is large, and once the network is delayed, the picture displayed by the target terminal is blocked. In the live broadcast process, the method only needs to receive the operation instruction, and the required network bandwidth is smaller. Therefore, as long as the network delay degree does not exceed the reference degree, the screen displayed by the target terminal is still a smooth screen. That is, the jamming ratio of the method is smaller than that of the related art, and the comparison of the jamming ratio of the two can be seen in the following table 1:
TABLE 1
Date of day Related art stuck percentage (%) The percent of the katon rate of the present example
2019-01-27 1.92 0.04
2019-01-28 2.04 0.05
2019-01-29 2.34 0.08
2019-01-30 2.28 0.02
2019-01-31 1.98 0.03
2019-02-01 1.89 0.07
2019-02-02 1.57 0.04
2019-02-03 21.14 0.21
In the case of a picture displayed by the related art being stuck, the played audio of the related art is not synchronized with the picture. In this regard, the method provided in this embodiment not only reduces the sound-to-picture asynchronous rate due to the low click-through rate, but also adjusts the playing time of the picture based on the command timestamp, thereby further reducing the sound-to-picture asynchronous rate. Referring to table 2, it can be seen that the sound-picture unsynchronization rate of the present embodiment is lower than that of the related art.
TABLE 2
Date of day Related art sound and picture asynchronism rate (%) The sound and picture asynchronism rate (%)
2019-01-27 0.03 0.002
2019-01-28 0.02 0.002
2019-01-29 0.04 0.003
2019-01-30 0.04 0.002
2019-01-31 0.04 0.001
2019-02-01 0.04 0.002
2019-02-02 0.00 0.000
In summary, after the page file of the PPT to be live broadcast is obtained, the operation instruction for the target terminal to perform the operation on the page file is sent to the target terminal, so that after the target terminal loads the page file to generate the webpage, the target terminal can display the playing process of the PPT through the webpage according to the operation instruction, thereby completing live broadcast. The target terminal displays the PPT playing process by loading the page file, and the page file has the same display resolution as the PPT, so that the displayed playing process has higher definition. And the target terminal receives less network flow required by the operation instruction, so that the target terminal can display the PPT playing process by using less network flow, and the problems of blocking, screen display and the like are avoided. Therefore, the live broadcast effect is good, and the use experience of the user is improved.
Based on the same conception, the embodiment of the present application provides a live broadcast device, see fig. 11, which includes:
the page file acquisition module 1101 is configured to acquire a page file of a PPT based on a presentation PPT to be live broadcast, where a display resolution of the page file is the same as the PPT;
a link acquiring module 1102, configured to acquire a link of a page file;
a sending module 1103, configured to send a link to a target terminal, where the link is used for the target terminal to acquire a page file;
an operation instruction acquisition module 1104 for acquiring an operation instruction based on the operation if the operation for the page file is detected;
the sending module 1103 is further configured to send an operation instruction to the target terminal, where the operation instruction is used for the target terminal to perform an operation on the page file, so as to complete live broadcasting.
Optionally, the page file obtaining module 1101 is further configured to send a PPT and a conversion request of the PPT to the server, where the conversion request is used for the server to return the page file based on the PPT; the receiving server receives the converted page file based on the PPT.
Optionally, the link obtaining module 1102 is further configured to send the page file to a server, where the server is configured to store the page file, and return a storage address of the page file as a link; the receiving server receives the link returned based on the page file.
Optionally, the sending module 1103 is further configured to send a status instruction to the target terminal, where the status instruction indicates a first status of the page file of the home terminal, and the first status includes a page number and an animation display effect based on the page number, and the status instruction is used by the target terminal to synchronize a second status of the page file of the target terminal with the first status.
Optionally, the operation instruction has a corresponding instruction time stamp; the sending module 1103 is further configured to send an operation instruction and an instruction timestamp to the target terminal, where the instruction timestamp is used for determining, by the target terminal, a time for executing an operation on the page file according to the operation instruction.
Optionally, the operation for the page file includes inserting a target picture into the page file; the operation instruction obtaining module 1104 is configured to obtain a blank page instruction and a picture instruction if it is detected that the target picture is inserted into the page file, where the blank page instruction is used for inserting a blank page into the page file of the target terminal, and the picture instruction is used for obtaining the target picture by the target terminal, and displaying the target picture through the inserted blank page.
In summary, after the page file of the PPT to be live broadcast is obtained, the operation instruction for the target terminal to perform the operation on the page file is sent to the target terminal, so that after the target terminal loads the page file to generate the webpage, the target terminal can display the playing process of the PPT through the webpage according to the operation instruction, thereby completing live broadcast. The target terminal displays the PPT playing process by loading the page file, and the page file has the same display resolution as the PPT, so that the displayed playing process has higher definition. And the target terminal receives less network flow required by the operation instruction, so that the target terminal can display the PPT playing process by using less network flow, and the problems of blocking, screen display and the like are avoided. Therefore, the live broadcast effect is good, and the use experience of the user is improved.
It should be noted that, when the apparatus provided in the foregoing embodiment performs the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to perform all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Referring to fig. 12, a schematic structural diagram of a live terminal 1200 according to an embodiment of the present application is shown. The terminal 1200 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 1200 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 1200 includes: a processor 1201 and a memory 1202.
Processor 1201 may include one or more processing cores, such as a 4-core processor, a 12-core processor, or the like. The processor 1201 may be implemented in at least one hardware form selected from the group consisting of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1201 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1201 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen 1205. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1202 is used to store at least one instruction for execution by processor 1201 to implement the live methods provided by the method embodiments herein.
In some embodiments, the terminal 1200 may further optionally include: a peripheral interface 1203, and at least one peripheral. The processor 1201, the memory 1202, and the peripheral interface 1203 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 1203 via buses, signal lines, or a circuit board. Specifically, the peripheral device includes: at least one of the group consisting of radio frequency circuitry 1204, a display 1205, a camera 1206, audio circuitry 1207, and a power supply 1209.
The peripheral interface 1203 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202, and the peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 1201, the memory 1202, and the peripheral interface 1203 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1204 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1204 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1204 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 1204 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 12G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 1204 may also include NFC (Near Field Communication ) related circuits, which are not limited in this application.
The display 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 1205 is a touch display, the display 1205 also has the ability to collect touch signals at or above the surface of the display 1205. The touch signal may be input as a control signal to the processor 1201 for processing. At this time, the display 1205 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1205 may be one, providing a front panel of the terminal 1200; in other embodiments, the display 1205 may be at least two, respectively disposed on different surfaces of the terminal 1200 or in a folded design; in still other embodiments, the display 1205 may be a flexible display disposed on a curved surface or a folded surface of the terminal 1200. Even more, the display 1205 may be arranged in an irregular pattern that is not rectangular, i.e., a shaped screen. The display 1205 can be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 1206 is used to capture images or video. Optionally, camera assembly 1206 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 1206 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 1207 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1201 for processing, or inputting the electric signals to the radio frequency circuit 1204 for voice communication. For purposes of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal 1200. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuitry 1207 may also include a headphone jack.
The power supply 1209 is used to power the various components in the terminal 1200. The power source 1209 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power source 1209 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1200 also includes one or more sensors 1210. The one or more sensors 1210 include, but are not limited to: an acceleration sensor 1211, a gyro sensor 1212, a pressure sensor 1213, an optical sensor 1215, and a proximity sensor 1216.
The acceleration sensor 1210 may detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the terminal 1200. For example, the acceleration sensor 1211 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1201 may control the display 1205 to display a user interface in either a landscape view or a portrait view based on the gravitational acceleration signal acquired by the acceleration sensor 1211. The acceleration sensor 1211 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1212 may detect a body direction and a rotation angle of the terminal 1200, and the gyro sensor 1212 may collect a 3D motion of the user on the terminal 1200 in cooperation with the acceleration sensor 1211. The processor 1201 may implement the following functions based on the data collected by the gyro sensor 1212: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 1213 may be disposed at a side frame of the terminal 1200 and/or at a lower layer of the display 1205. When the pressure sensor 1213 is provided at a side frame of the terminal 1200, a grip signal of the terminal 1200 by a user may be detected, and the processor 1201 performs a left-right hand recognition or a shortcut operation according to the grip signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed at the lower layer of the display 1205, the processor 1201 controls the operability control on the UI interface according to the pressure operation of the user on the display 1205. The operability controls include at least one of the group consisting of button controls, scroll bar controls, icon controls, and menu controls.
The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, processor 1201 may control the display brightness of display 1205 based on the intensity of ambient light collected by optical sensor 1215. Specifically, when the intensity of the ambient light is high, the display brightness of the display screen 1205 is turned up; when the ambient light intensity is low, the display brightness of the touch screen 12012 is turned down. In another embodiment, processor 1201 may also dynamically adjust the shooting parameters of camera assembly 1206 based on the intensity of ambient light collected by optical sensor 1215.
A proximity sensor 1216, also referred to as a distance sensor, is typically provided on the front panel of the terminal 1200. The proximity sensor 1216 is used to collect the distance between the user and the front of the terminal 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front face of the terminal 1200 gradually decreases, the processor 1201 controls the display 1205 to switch from the bright screen state to the off screen state; when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually increases, the processor 1201 controls the display 1205 to switch from the off-screen state to the on-screen state.
It will be appreciated by those skilled in the art that the structure shown in fig. 12 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
Based on the same conception, the embodiment of the application provides an electronic device, which comprises a processor and a memory, wherein at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to realize the live broadcast method provided by any one possible implementation mode of the embodiment of the application.
Based on the same conception, the embodiments of the present application provide a readable storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement the live method provided by any one of the possible implementations of the embodiments of the present application.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein in detail.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the embodiments is provided for the purpose of illustration only and is not intended to limit the invention to the particular embodiments disclosed, but on the contrary, the intention is to cover all modifications, equivalents, alternatives, and alternatives falling within the spirit and scope of the invention.

Claims (10)

1. A live broadcast method, the method comprising:
acquiring a page file of a presentation point to be live broadcast (PPT) based on the PPT, wherein the display resolution of the page file is the same as that of the PPT;
acquiring a link of the page file, and sending the link to a target terminal, wherein the link is used for the target terminal to acquire the page file;
if an operation for the page file is detected, acquiring an operation instruction numbered according to the time sequence based on the operation;
The operation instruction is sent to the target terminal, and the operation instruction is used for the target terminal to execute the operation on the page file so as to complete live broadcasting;
and sending a state instruction to the target terminal, wherein the state instruction indicates a first state of a page file of the target terminal, the first state comprises page numbers and animation display effects based on the page numbers, and the state instruction is used for acquiring all the operation instructions from the number of the operation instruction corresponding to the second state to the number of the operation instruction corresponding to the first state when the page numbers and the animation display effects included in the first state are inconsistent with one or two of the page numbers and the animation display effects included in the second state of the page file of the target terminal, so that the second state is synchronous with the first state.
2. The method of claim 1, wherein the obtaining the pagefile of the PPT comprises:
sending the PPT and a conversion request of the PPT to a server, wherein the conversion request is used for the server to return the page file based on the PPT;
and receiving the page file obtained by converting the server based on the PPT.
3. The method of claim 2, wherein the obtaining the link to the pagefile comprises:
sending the page file to the server, wherein the server is used for storing the page file and returning the storage address of the page file as the link;
and receiving the link returned by the server based on the page file.
4. A method according to any one of claims 1-3, wherein the operation instructions have corresponding instruction time stamps;
the sending the operation instruction to the target terminal includes:
and sending the operation instruction and the instruction time stamp to the target terminal, wherein the instruction time stamp is used for determining the time for executing the operation on the page file according to the operation instruction by the target terminal.
5. A method according to any one of claims 1-3, wherein the operation on the pagefile comprises inserting a target picture into the pagefile;
if the operation for the page file is detected, acquiring an operation instruction numbered according to the time sequence based on the operation, wherein the operation instruction comprises the following steps:
if the insertion of the target picture into the page file is detected, acquiring a blank page instruction and a picture instruction numbered according to the time sequence, wherein the blank page instruction is used for inserting a blank page into the page file of the target terminal by the target terminal, the picture instruction is used for acquiring the target picture by the target terminal, and displaying the target picture through the inserted blank page.
6. A live broadcast device, the device comprising:
the system comprises a page file acquisition module, a display module and a display module, wherein the page file acquisition module is used for acquiring a page file of a Presentation Point (PPT) to be live broadcast based on the PPT, and the display resolution of the page file is the same as that of the PPT;
the link acquisition module is used for acquiring the link of the page file;
the sending module is used for sending the link to a target terminal, wherein the link is used for the target terminal to acquire the page file;
an operation instruction acquisition module, configured to acquire an operation instruction numbered according to a time sequence based on an operation if the operation for the page file is detected;
the sending module is further configured to send the operation instruction to the target terminal, where the operation instruction is used for the target terminal to perform the operation on the page file, so as to complete live broadcasting;
the sending module is further configured to send a status instruction to the target terminal, where the status instruction indicates a first status of the page file of the home terminal, the first status includes a page number and an animation display effect based on the page number, and the status instruction is used for the target terminal to obtain all the operation instructions from the number of the operation instruction corresponding to the second status to the number of the operation instruction corresponding to the first status when one or both of the page number and the animation display effect included in the first status and the page number and the animation display effect included in the page file of the target terminal are inconsistent, so that the second status is synchronous with the first status.
7. The apparatus of claim 6, wherein the pagefile acquisition module is further configured to send the PPT and a conversion request for the PPT to a server, the conversion request being for the server to return the pagefile based on the PPT; and receiving the page file obtained by converting the server based on the PPT.
8. The apparatus of claim 7, wherein the link acquisition module is further configured to send the pagefile to the server, the server being configured to store the pagefile and return a storage address of the pagefile as the link; and receiving the link returned by the server based on the page file.
9. An electronic device comprising a processor and a memory, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement the live method of any of claims 1-5.
10. A readable storage medium having stored therein at least one instruction that is loaded and executed by a processor to implement the live method of any of claims 1-5.
CN201910580123.XA 2019-06-28 2019-06-28 Live broadcast method and device, electronic equipment and storage medium Active CN110297917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910580123.XA CN110297917B (en) 2019-06-28 2019-06-28 Live broadcast method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910580123.XA CN110297917B (en) 2019-06-28 2019-06-28 Live broadcast method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110297917A CN110297917A (en) 2019-10-01
CN110297917B true CN110297917B (en) 2023-05-23

Family

ID=68029733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910580123.XA Active CN110297917B (en) 2019-06-28 2019-06-28 Live broadcast method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110297917B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938699B (en) * 2020-03-06 2024-03-08 青岛希望鸟科技有限公司 Method for quickly establishing live broadcast based on webpage
CN111723558A (en) * 2020-07-17 2020-09-29 腾讯科技(深圳)有限公司 Document display method and device, electronic equipment and storage medium
CN112637623A (en) * 2020-12-11 2021-04-09 创盛视联数码科技(北京)有限公司 Live broadcast processing method and device and electronic equipment
CN112714331B (en) * 2020-12-28 2023-09-08 广州博冠信息科技有限公司 Information prompting method and device, storage medium and electronic equipment
CN115250366A (en) * 2021-04-27 2022-10-28 浙江清捷智能科技有限公司 Live broadcast data processing method and device
CN113453031A (en) * 2021-06-11 2021-09-28 深圳十方融海科技有限公司 Live broadcast method and device, computer equipment and storage medium
CN114979553A (en) * 2022-05-23 2022-08-30 北京美迪康信息咨询有限公司 Live conference material calling method based on schedule
CN116882370B (en) * 2023-07-10 2024-04-26 广州开得联智能科技有限公司 Content processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009294625A (en) * 2008-06-09 2009-12-17 Haruki Ueno Remote educational system and display control method of multimedia content
CN103973732A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 PPT playing method and device
CN106095905A (en) * 2016-06-08 2016-11-09 上海未达数码科技有限公司 The Internet interaction platform play based on PPT
CN108040061A (en) * 2017-12-19 2018-05-15 广州敬信药草园信息科技有限公司 A kind of cloud meeting live broadcasting method
CN108093058A (en) * 2017-12-26 2018-05-29 泰康保险集团股份有限公司 Presentation state synchronous method, device and system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387136A (en) * 2011-10-10 2012-03-21 深圳中兴网信科技有限公司 System and method for converting distributed PPT (Power Point) files into swf (small web format) files
US9477380B2 (en) * 2013-03-15 2016-10-25 Afzal Amijee Systems and methods for creating and sharing nonlinear slide-based mutlimedia presentations and visual discussions comprising complex story paths and dynamic slide objects
CN103442044B (en) * 2013-08-15 2018-11-23 广州三人行壹佰教育科技有限公司 file sharing method, server, terminal and system
CN104811468B (en) * 2014-01-29 2019-12-10 北京百度网讯科技有限公司 File processing method and device
CN105187360A (en) * 2014-06-17 2015-12-23 中兴通讯股份有限公司 Document conference sharing method and device
CN104158901A (en) * 2014-08-26 2014-11-19 天脉聚源(北京)教育科技有限公司 Method, device and system of synchronous page turning
CN106375296A (en) * 2016-08-30 2017-02-01 杭州施强教育科技有限公司 Multimedia courseware teaching live broadcast method
CN108241672A (en) * 2016-12-26 2018-07-03 北京奇虎科技有限公司 A kind of method and apparatus of online displaying PowerPoint
CN107015950A (en) * 2017-03-20 2017-08-04 厦门云开云科技有限公司 The generation method and device of a kind of SCORM coursewares
CN107316505A (en) * 2017-08-18 2017-11-03 广州视源电子科技股份有限公司 Determination method, device, teaching equipment and the storage medium of teaching related information
CN108063820B (en) * 2017-12-19 2021-07-02 广州敬信药草园信息科技有限公司 Screen projection synchronization method for cloud conference

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009294625A (en) * 2008-06-09 2009-12-17 Haruki Ueno Remote educational system and display control method of multimedia content
CN103973732A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 PPT playing method and device
CN106095905A (en) * 2016-06-08 2016-11-09 上海未达数码科技有限公司 The Internet interaction platform play based on PPT
CN108040061A (en) * 2017-12-19 2018-05-15 广州敬信药草园信息科技有限公司 A kind of cloud meeting live broadcasting method
CN108093058A (en) * 2017-12-26 2018-05-29 泰康保险集团股份有限公司 Presentation state synchronous method, device and system

Also Published As

Publication number Publication date
CN110297917A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN110297917B (en) Live broadcast method and device, electronic equipment and storage medium
CN109600678B (en) Information display method, device and system, server, terminal and storage medium
CN108401124B (en) Video recording method and device
CN110368689B (en) Game interface display method, system, electronic equipment and storage medium
CN108419113B (en) Subtitle display method and device
CN111147878B (en) Stream pushing method and device in live broadcast and computer storage medium
CN109660855B (en) Sticker display method, device, terminal and storage medium
CN109348247B (en) Method and device for determining audio and video playing time stamp and storage medium
CN108737897B (en) Video playing method, device, equipment and storage medium
CN109874043B (en) Video stream sending method, video stream playing method and video stream playing device
CN112929687A (en) Interaction method, device and equipment based on live video and storage medium
CN110324689B (en) Audio and video synchronous playing method, device, terminal and storage medium
CN107896337B (en) Information popularization method and device and storage medium
CN108616776B (en) Live broadcast analysis data acquisition method and device
CN108769738B (en) Video processing method, video processing device, computer equipment and storage medium
CN113395566B (en) Video playing method and device, electronic equipment and computer readable storage medium
WO2023011050A1 (en) Method and system for performing microphone-connection chorusing, and device and storage medium
CN110958464A (en) Live broadcast data processing method and device, server, terminal and storage medium
CN111245852B (en) Streaming data transmission method, device, system, access device and storage medium
CN111092991B (en) Lyric display method and device and computer storage medium
CN111045945B (en) Method, device, terminal, storage medium and program product for simulating live broadcast
CN107888975B (en) Video playing method, device and storage medium
CN111312207B (en) Text-to-audio method, text-to-audio device, computer equipment and storage medium
CN111131272B (en) Scheduling method, device and system of stream server, computing equipment and storage medium
CN110971840B (en) Video mapping method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant