CN113938699B - Method for quickly establishing live broadcast based on webpage - Google Patents

Method for quickly establishing live broadcast based on webpage Download PDF

Info

Publication number
CN113938699B
CN113938699B CN202111220269.7A CN202111220269A CN113938699B CN 113938699 B CN113938699 B CN 113938699B CN 202111220269 A CN202111220269 A CN 202111220269A CN 113938699 B CN113938699 B CN 113938699B
Authority
CN
China
Prior art keywords
live
webpage
control program
link
live broadcast
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
CN202111220269.7A
Other languages
Chinese (zh)
Other versions
CN113938699A (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.)
Qingdao Hope Bird Technology Co ltd
Original Assignee
Qingdao Hope Bird Technology 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 Qingdao Hope Bird Technology Co ltd filed Critical Qingdao Hope Bird Technology Co ltd
Priority to CN202111220269.7A priority Critical patent/CN113938699B/en
Publication of CN113938699A publication Critical patent/CN113938699A/en
Application granted granted Critical
Publication of CN113938699B publication Critical patent/CN113938699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/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/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • 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

Abstract

The application relates to a method for quickly establishing live broadcast based on a webpage, which comprises the following steps: reading a target webpage for live communication; introducing a first direct broadcast control program containing a webpage operation information acquisition function into the target webpage and storing the first direct broadcast control program as a first link; introducing a second live control program containing a function of analyzing and executing webpage operation instructions into the target webpage and storing the second live control program as a second link; a communication relationship between the first link and the second link is created in the live communication service unit. The first direct broadcast control program collects operation data of a target webpage from a user and sends the operation data to the direct broadcast communication service unit, the direct broadcast communication service unit receives and sends the operation data to other users, and the second direct broadcast control program of the other users analyzes the received data and restores the operation data to webpage operation instructions to be executed. The method and the device are favorable for synchronous operation communication between the anchor and the audience aiming at the webpage content, and meanwhile, resource consumption is reduced, and user experience is improved.

Description

Method for quickly establishing live broadcast based on webpage
The application is a divisional application of Chinese patent application 202010152096.9 with the name of 'method for quickly establishing live broadcast based on webpage' proposed in 03/06/2020.
Technical Field
The invention relates to the field of communication, in particular to a method for quickly establishing live broadcast based on a webpage.
Background
In the present day of Internet development, live broadcasting has become a common communication form for people, a general live broadcasting platform mainly adopts a video live broadcasting form, a host and audiences install client software or plug-ins, the host starts live broadcasting after creating account numbers, the audiences on the same platform enter a live broadcasting room to watch live broadcasting, interaction is performed in forms of praying, leaving messages, gifts and the like, and the live broadcasting platform is one of high-efficiency communication means. However, there are many disadvantages to the application of the process, including the following: the anchor or even the audience needs to install live software or plug-ins, possess account numbers and familiarize with software operations; live content is limited to character video live broadcast, and other inconveniences are explained; the interactivity between specific content and audience is poor in the live broadcast process; the live broadcast process mainly comprises video transmission, and the network resource consumption is very large; the live broadcast cannot be established directly for the content to be explained.
Disclosure of Invention
In view of the above-mentioned existing situation, in a first aspect, the present application provides a method for quickly establishing live broadcast based on a web page, where the method includes:
Reading a target webpage for live communication;
introducing a first direct-broadcasting control program containing a webpage operation information acquisition function into the target webpage, and storing and generating the target webpage containing the first direct-broadcasting control program into a first link; introducing a second live control program containing a function of analyzing and executing webpage operation instructions into a target webpage, and storing the target webpage containing the second live control program and generating a second link; the first link and the second link can be generated according to a preset rule or distributed according to a live broadcast communication service unit;
or the target webpage is sent to a live webpage calculation generation service unit for registration, and a first link and a second link are generated according to a preset rule or distributed according to a live communication service unit; when the live webpage calculation generation service unit receives the first link access request, returning webpage content comprising the target webpage and a first direct broadcasting control program, wherein the first direct broadcasting control program comprises a webpage operation information acquisition function; when the live webpage calculation generation service unit receives the second link access request, returning webpage content comprising the target webpage and a second live control program, wherein the second live control program comprises a function of analyzing and executing webpage operation instructions;
Creating a communication relationship between a first link and a second link in the live broadcast communication service unit, wherein the live broadcast communication service unit provides live broadcast communication service for the first link and the second link;
the first direct broadcast control program collects operation data of a target webpage from a user, the operation data are sent to the direct broadcast communication service unit, the direct broadcast communication service unit receives and sends the operation data to other users, the second direct broadcast control program of the other users analyzes the received data, and the operation data are restored to webpage operation instructions to be executed, so that the effect of synchronizing with the webpage picture of the original user is achieved.
In a second aspect, the present application further provides another method for quickly establishing a live broadcast based on a web page, where the method includes:
reading a target webpage website for live communication;
reading a first frame webpage comprising an iframe tag and a first direct-broadcasting control program, wherein the first direct-broadcasting control program comprises a webpage operation information acquisition function, adding the target webpage address into the iframe tag, and storing and generating the first frame webpage into a first link; reading a second frame webpage comprising an iframe tag and a second live control program, wherein the second live control program comprises a function of analyzing and executing webpage operation instructions, adding the target webpage address into the iframe tag, and storing and generating the second frame webpage into a second link;
Or, the target web site is sent to a live webpage calculation generation service unit for registration, and a first link and a second link are generated according to a preset rule or distributed according to a live communication service unit; when receiving the first link access request, the live webpage calculation generation service unit reads a first frame webpage comprising an iframe tag and a first direct broadcasting control program, wherein the first direct broadcasting control program comprises a webpage operation information acquisition function, and adds the target webpage address into the iframe tag and returns the target webpage address; when receiving the second link access request, the live broadcast webpage calculation generation service unit reads a second frame webpage comprising an iframe tag and a second live broadcast control program, wherein the second live broadcast control program comprises a function of analyzing and executing webpage operation instructions, and adds the target webpage address into the iframe tag and returns;
creating a communication relationship between a first link and a second link in the live broadcast communication service unit, wherein the live broadcast communication service unit provides live broadcast communication service for the first link and the second link;
the first direct broadcast control program contained in the first link collects operation data of a user on a first frame webpage and sends the operation data to the direct broadcast communication service unit; and the second live broadcast control program contained in the second link analyzes the received data, restores the received data to be webpage operation instructions for execution, and achieves the effect of synchronizing with the original user webpage picture.
According to the method for rapidly establishing live broadcast based on the webpage, the live broadcast communication can be started by respectively accessing the first link and the second link by the anchor and the audience, other operations such as registration and downloading are not needed, the live broadcast flow is simplified, webpage operation pictures in the live broadcast process are kept synchronous, communication efficiency of the anchor and the audience is improved, anchor explanation and audience interaction are facilitated, and user experience is improved.
Drawings
Fig. 1 is a flow chart of a method for quickly establishing live broadcast based on a web page according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of generating a target webpage based on source content according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of generating a target webpage based on a live webpage template according to an embodiment of the present application;
fig. 4 is a flowchart of a reconstruction method for a target web page according to an embodiment of the present application;
fig. 5 is a flowchart of another method for quickly establishing live broadcast based on a web page according to an embodiment of the present application;
fig. 6 is a schematic diagram of an internal structure of a first frame web page according to an embodiment of the present application;
fig. 7 is a schematic diagram of an internal structure of a second frame web page according to an embodiment of the present application;
Fig. 8 is a schematic flow chart of configuring live communication according to live configuration requirements according to an embodiment of the present application;
fig. 9 is a schematic diagram of an interface for creating and configuring a live broadcast according to an embodiment of the present application;
fig. 10 is a schematic diagram of an interface for uploading source content in creating a live broadcast according to an embodiment of the present application;
fig. 11 is an interface schematic diagram after a link is generated in a live broadcast creation process according to an embodiment of the present application;
fig. 12 is a schematic diagram of a hosting (first link) interface provided in an embodiment of the present application;
FIG. 13 is a schematic view of a viewer-side (second link) interface according to an embodiment of the present application;
Detailed Description
Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, the present application provides a method for quickly establishing live broadcast based on a web page, where the method includes:
step S101, reading in a target webpage for live communication;
step S1021, introducing a first direct-broadcasting control program containing a webpage operation information acquisition function into the target webpage, and storing and generating the target webpage containing the first direct-broadcasting control program into a first link; and introducing a second live control program containing a function of analyzing and executing webpage operation instructions into the target webpage, and storing the target webpage containing the second live control program and generating a second link. Or step S1022, the target webpage is sent to a live webpage calculation generation service unit to register and generate a first link and a second link, and the live webpage calculation generation service unit returns webpage content containing the target webpage and a first live control program and webpage content containing the target webpage and a second live control program according to the first link and the second link access request;
Step S103, creating a communication relationship between the first link and the second link in the live communication service unit.
In step S101, the target web page is a web page file containing live broadcast communication content, and is generated by processing and converting source content uploaded by a live broadcast creator.
The method for introducing the control program and generating the two links in the target webpage comprises two modes of step S1021 and step S1022:
step S1021, inserting a script tag into the target webpage, wherein the script tag contains a program file address of a first direct-broadcasting control program for executing a webpage operation information acquisition function or first direct-broadcasting control program content for executing the webpage operation information acquisition function, and then stores and deploys the target webpage containing the first direct-broadcasting control program to generate a first link, wherein the first link can be generated through a preset rule (such as generating a file name according to creator information and time information; such as generating different file names or the same file name and parameters by the first link and the second link), or is distributed according to a direct-broadcasting communication service unit (such as configuring an access address of a direct-broadcasting room in advance by the direct-broadcasting communication service unit, and adopting the access address when deploying the target webpage containing the first direct-broadcasting control program); and the same is adopted, and a second live control program storage deployment for executing the function of analyzing and executing webpage operation instructions is introduced into the target webpage according to the steps, so that a second link is generated. In this way, a static target web page for introducing the live control program is generated, and when the first link and the second link are accessed, the target web page file containing the live control program is returned.
Step S1022, dynamically generating a target webpage including a live broadcast control program, where the target webpage including the live broadcast control program is generated by a live broadcast webpage computing and generating service unit in real time, specifically, in the live broadcast creating process, the target webpage is sent to the live broadcast webpage computing and generating service unit for registration, where the live broadcast webpage computing and generating service unit stores the target webpage information, generates or distributes according to a predetermined rule, first generates and provides a first link and a second link, establishes a correspondence between the first link and the second link and target webpage data, and after live broadcast is started, when the live broadcast webpage computing and generating service unit receives a first link and a second link request, searches and reads the target webpage data content according to the previously established correspondence, inserts a corresponding live broadcast control program (i.e. a live broadcast control API) into the target webpage data content, and returns. The first link request comprises target webpage data and a first direct broadcast control program; the data obtained by the second link request comprises a target webpage and a second live control program. In this way, a live web computation generation service unit (e.g., servlet) is run on a server to dynamically generate target web content including a live control program.
In step S103, the live broadcast communication service unit is generally a communication server for live broadcast, and provides communication and control services for the anchor side and the audience side in the live broadcast process. Therefore, the creation of the live broadcast is registered in the live broadcast communication service unit, specifically, a live broadcast communication service record is created according to the configuration requirements of a first link for the access of a main broadcasting end, a second link for the access of a spectator end and the creation of the live broadcast, and the corresponding relation between the first link, the second link and the live broadcast communication record is stored. When a first link access request is received, searching a live broadcast communication record according to the corresponding relation according to the access request, starting the live broadcast service based on the communication record, establishing communication connection (such as Socket communication connection) between a main broadcasting terminal and the live broadcast communication service unit, when a second link access request is received, searching the live broadcast communication record according to the corresponding relation according to the second link access request, and establishing communication connection (such as Socket communication connection) between a spectator terminal and the live broadcast communication service unit in a state that the communication connection between the searched communication record main broadcasting terminal and the live broadcast communication service unit is established. And the live broadcast communication service unit receives, processes and transmits data according to the corresponding relation between the first link and the second link, and provides live broadcast communication and control service.
According to step S103, after establishing a live communication relationship, the first direct broadcast control program included in the first link collects operation data of a user on a target webpage, and sends the operation data to the live communication service unit; and the second live broadcast control program contained in the second link analyzes the received data, restores the received data to be webpage operation instructions for execution, and achieves the effect of synchronizing with the original user webpage picture.
In this embodiment, the first direct broadcast control program corresponding to the anchor includes a web page operation information collection function, where the web page operation includes a common operation for a web page and other operations for assisting in direct broadcast. Common operations for web pages are as follows: page sliding, clicking, inputting, zooming, dragging, jumping, etc.; other operations for assisting live broadcast, such as a graffiti operation, a text input operation, an audio operation, a video operation, etc., are provided by the first direct broadcast control program. When the host broadcast performs live broadcast operation, the first direct broadcast control program collects and generates corresponding operation type data according to different operation types, for example, when the graffiti operation is used, a Canvas is established on a target webpage through the first direct broadcast control program, the host broadcast performs the graffiti operation on the Canvas, and related graffiti operation data such as a graffiti track, a graffiti pen type, a graffiti pen thickness and the like are collected at the moment. After data acquisition is executed, the operation data are sent to a live broadcast communication service unit, the live broadcast communication service unit performs broadcast forwarding and sends the live broadcast operation data to other audience terminals, a second live broadcast control program corresponding to the audience terminal analyzes the live broadcast operation data and restores corresponding live broadcast operation according to operation types, for example, when the webpage operation data received by the second live broadcast control program contain webpage body sliding data, the second live broadcast control program calls a webpage body setting method to set a scrollTop attribute, sets a scrollTop value of the second live broadcast control program as the position data after sliding, and generates sliding animation according to the sliding time, so that the sliding effect of operation of a host terminal is restored.
In some embodiments of the present application, the first direct broadcast control program and the second direct broadcast control program are program sets integrated with multiple functions, and the application defines only that the first direct broadcast control program is introduced at the anchor end and the second direct broadcast control program is introduced at the viewer end, but is not limited to that the first direct broadcast control program and the second direct broadcast control program are substantially the same program or have the same part of content, and each of the first direct broadcast control program and the second direct broadcast control program may include one or more functions of collecting webpage operation information, analyzing and executing webpage operation instructions, collecting graffiti operation data, analyzing graffiti data, collecting audio operation data, analyzing audio operation data, collecting video operation data, analyzing video operation data, collecting text operation data, and analyzing text operation data. For example: if the second live broadcast control program comprises webpage operation information acquisition, audio operation data acquisition, doodling operation data acquisition and video operation data acquisition functions, the audience terminal can execute live broadcast operation after acquiring live broadcast permission in a conference mode, the data is forwarded to other users through the live broadcast communication service unit, the other audience terminals analyze and execute the data through the second live broadcast control program, and meanwhile, the first live broadcast control program corresponding to the host terminal can also execute operation data analysis and other data analysis functions to restore the corresponding live broadcast operation.
In this embodiment, the first direct broadcast control program introduced in the target webpage is further configured to monitor a direct broadcast control instruction of the user, and control a direct broadcast process. The live broadcast control instruction comprises one or more of starting/stopping live broadcast, starting/closing speaking, switching live broadcast/conference modes, switching contents, replacing contents, processing speaking requests, audience management, live broadcast right handover, video switch, audio switch, graffiti setting and message processing, and the details are as follows:
when a live broadcast starting/stopping control instruction is received, the first direct broadcast control program sends a corresponding request to the live broadcast communication service unit, the live broadcast communication service unit establishes connection between a main broadcasting end and the live broadcast communication service unit after receiving the live broadcast starting control instruction, and when the live broadcast stopping control instruction is received, the live broadcast stopping processing is carried out and all the connections related to the live broadcast communication are disconnected;
after receiving the instruction of switching on/off the speaking control, forwarding the instruction to a second live broadcast control program of the audience terminal through a live broadcast communication service unit, and switching on/off the speaking function to control the speaking of the audience terminal;
when a live broadcast mode switching control instruction is received, the control instruction is sent to a live broadcast communication service unit, the live broadcast communication service unit switches the current service mode into a live broadcast mode, the live broadcast communication service unit is set to be a data receiving and transmitting processing mode in the live broadcast mode, and the control instruction is sent to a spectator terminal and a host terminal to perform mode switching processing, for example, the speaking function of the spectator terminal is closed, and the functions of webpage operation, speaking, video, graffiti and the like of the host terminal are started; when a conference mode switching control instruction is received, the control instruction is sent to a live broadcast communication service unit, the live broadcast communication service unit switches the current service mode into a conference mode, the current service mode is set to be a data receiving and transmitting processing mode in the conference mode, and the instruction is sent to a spectator side and a host side to perform mode switching processing, such as starting webpage operation, speaking, graffiti functions and the like of the spectator side. The main difference between the live broadcast mode and the conference mode is that only the anchor is allowed to conduct live broadcast explanation operation in the live broadcast mode, and all or part of audiences are allowed to acquire live broadcast explanation operation rights in the conference mode;
When a content switching control instruction is received, a list interface of switchable content is called, a host selects content records needing to be switched, and a target content record identifier of switching is sent to a live broadcast communication service unit, the live broadcast communication service unit sends the switching instruction and the target content record identifier of switching to a spectator end or a host end to execute switching operation, and a refreshing instruction is sent to trigger webpage refreshing functions of the host end and the spectator end. The content switching function is used for providing a creator of a plurality of explanation contents (a plurality of websites, webpages arranged according to materials and the like) to switch the contents in the live broadcast explanation process;
when a content replacement control instruction is received, a website or a source content acquisition interface for generating a new target webpage is called, acquired information is directly or indirectly transmitted to a live broadcast generation unit, after the new target webpage is generated, a content update request is transmitted to a live broadcast communication service unit, and finally, the live broadcast communication service unit transmits an update instruction to a main broadcasting end and a spectator end to trigger the main broadcasting end and the user end to update live broadcast content. The content replacement function is used for integrally changing or adding new live broadcast content in the live broadcast process;
When receiving a control instruction for processing the speaking request, sending a processing result for processing the speaking request to a live broadcast generating unit, processing the processing result by the live broadcast communication service unit, sending the instruction to a spectator terminal according to the processing result of the speaking request, and executing a client terminal to start or stop speaking operation by the second live broadcast control program;
when receiving the audience management control instruction, acquiring the information of the current online audience from a live broadcast communication service unit, calling an audience information list interface, enabling a host to view the audience information, or clicking a forbidden speech button on the information list interface to execute corresponding operation on a certain audience, for example, when clicking the forbidden speech, sending the forbidden speech instruction to the live broadcast communication service unit, processing the instruction to a corresponding audience terminal through the live broadcast communication service unit, and executing relevant function closing operation of a client terminal by the second live broadcast control program;
when a live broadcast right transfer control instruction is received, the control instruction is sent to a live broadcast communication service unit, the right transfer instruction is processed by the live broadcast communication service unit and sent to a relevant main broadcasting end and audience end, and client processing of right transfer is executed by the first live broadcast control program and the second live broadcast control program;
When receiving a video switch control instruction, the first direct broadcast control program starts to execute a video operation data acquisition function and sends acquired video data to a direct broadcast communication service unit; when a video closing instruction is received, stopping video operation data acquisition;
when an audio start instruction is received, the first direct broadcast control program starts to execute an audio operation data acquisition function and sends acquired audio data to a direct broadcast communication service unit; when an audio closing instruction is received, stopping audio operation data acquisition;
when a graffiti setting control instruction is received, a graffiti related setting button is called out, graffiti operation is executed on a target webpage, the graffiti operation data of a host is collected, the collected graffiti data is sent to a live communication service unit, and when the host sets the graffiti, a first direct-broadcasting control program adjusts the graffiti attribute according to corresponding setting parameters;
message processing instructions to perform related message processing operations such as: and receiving the message data of the live communication service unit and updating the message list.
Correspondingly, a second live control program introduced in the target webpage can monitor live control instructions of the audience side, wherein the live control instructions comprise one or more of entering/exiting live broadcast, speaking request, receiving of a live broadcast right, giving back of the live broadcast right, video switch, audio switch, doodling setting and message processing. Wherein entering/exiting live broadcast establishes/disconnects connection with the live broadcast communication service unit; the speaking request control instruction is used for sending a speaking request to the live broadcast communication service unit and applying for acquiring the live broadcast speaking right; executing the direct broadcast right receiving instruction indicates that the request for receiving direct broadcast right handover is agreed; and executing the live broadcast right return instruction, sending the live broadcast right return instruction to a live broadcast communication service unit, and carrying out live broadcast right recovery processing by the live broadcast communication service unit.
In an alternative embodiment, before the target web page for live communication is read in the corresponding step S101, the method further includes processing and generating the target web page, and the implementation may have two ways, where in the first way, referring to fig. 2, the steps include:
step S201, receiving source content and identifying the source content type;
step S202, one or more of web page material processing requirements, content structure requirements, content arrangement requirements and display style requirements from a live broadcast creator are received, and/or one or more of web page material specifications, content structure specifications, content arrangement rules and label specifications built in the system are combined to process source content;
in step S203, the source content is converted into a target web page.
In step S201, the source content is uploaded by the live creator, the source content type includes one or more of a web page, a web address, a file capable of being converted into a web page, and a material file supported by the web page, and each type of source content may be uploaded one or more, when uploading a plurality of web pages, a web address, and a file capable of being converted into a web page, the live creator may designate to arrange in a certain order, generate a live broadcast, and then may use a content switching control instruction to switch among a plurality of contents.
In step S202, the web page material processing requirements refer to processing requirements set by the live broadcast creator for web page material content, including a picture display size, a picture display image quality, an audio tone quality, a text size, a text font, and the like, which are described in detail below:
the content structure requirement can process the source content according to the provided content structure to generate the target webpage. For example, if a tree structure is provided as a content structure requirement, the source content is processed according to the structure, and a corresponding tree chapter is generated and the relevant source content is inserted.
The content arrangement requirement is mainly a requirement set by a creator according to the order and priority of content explanation during live broadcast, and the display order of the source content is arranged based on the requirement, for example, when the uploaded source content is a plurality of pictures, the display order of the pictures can be set according to the content arrangement requirement.
The display style requirements may specify a display style after processing the source content, process the source content according to the display style requirements, modify the display style of size, color, position, shading, border, blurring, CSS animation effect, etc.
The webpage material specification built in the system refers to the specification to be met by the webpage material specified by the system, such as the specification to be met by the picture file size, the picture size, the file type, the video file size and the like.
The content structure specification built in the system, namely the restriction requirement of the system on the content structure, such as the layer number restriction of the content structure, and the like. Meanwhile, the system provides default structure processing specifications for source content arrangement, and can comprise a plurality of default specifications, and the default structure processing specifications are selected according to the type, the number, the uploading sequence and the like of the source content.
The system internally installs content arrangement rules, i.e. default arrangement rules of the system for the source content, such as arrangement rules according to the uploaded time sequence, arrangement rules according to the source content type, etc.
The tag processing specification built in the system, i.e. the restriction requirement of the system on the source content tag, such as restricting the use of the tag which is already abandoned by the HTML5 and the tag attribute (such as the font tag, the tt tag, the frame tag, the align attribute, etc.).
According to step S202, the system processes the source content in combination with the requirements of the live creator and the requirements specified by the system, and when the creator does not provide the related requirements, the system adopts the corresponding default requirements, and when the requirements provided by the creator do not meet the system requirements, the system requirements are generally executed preferentially. If the creator user provides a web page material picture with the size of 2M and the picture size of 2000 x 1000 pixels, the web page material picture is required to be displayed with the width of 1000 pixels, and the system has the size requirement of 500K for a picture file, the processing mode is as follows: according to the picture processing requirement set by the user, the picture size is scaled to 1000 a/500 a, at this time, the user requirement is satisfied, but the original picture file size does not satisfy the system requirement, and the picture file is subjected to size scaling and compression processing to make the file size smaller than 500K, so as to meet the system requirement.
Wherein step S203, different conversion steps are performed according to different types of source content, as follows in detail:
when the source content type is judged to be a webpage, acquiring source webpage content to generate a target webpage;
when the source content type is judged to be a website, acquiring corresponding webpage file content through the website to generate a target webpage;
when the source content type is judged to be a file which can be converted into a webpage, firstly, performing webpage conversion operation, and then reading the webpage content obtained through conversion to generate a target webpage, such as a PDF, word, PPT file;
when the source content type is judged to be a material file supported by a webpage, a new webpage is firstly created, an HTML tag corresponding to the material file type is created in the new webpage, the tag attribute and the content are set to place the material file to generate a target webpage, for example, a creator provides a group of JPG pictures and a plurality of text, the new webpage is firstly created, img tags are added in the new webpage, the attribute placement pictures are set, p tags are added to place text content, and a final target webpage is generated.
In a second way, referring to fig. 3, the steps include:
s301, receiving source content and reading in a live webpage template;
S302, processing source content according to the requirement of the live broadcast webpage template on the live broadcast content, and using the processed source content to replace a corresponding item in the template to generate the target webpage.
In the mode, the live webpage template is preset for the system and is selected by a live creator. The live webpage template already contains live content processing requirements, such as webpage material processing requirements, content structure requirements, content arrangement requirements, display style requirements and the like, a live creator only needs to select a corresponding live webpage template based on the content to be communicated, and upload source content according to the template content requirements, and step S302 carries out material processing according to the processing requirements of the template on the webpage material, such as zooming a picture to a template requirement size, compressing the file size and the like of the processed picture according with the template requirements, then reads in a template file corresponding to the live webpage template, and replaces corresponding items according to the processed material, thereby generating a target webpage. Generally, the live webpage template is applied to save time for a creator, the live webpage template is similar to the PPT template in structure, detailed interactive functions and animation effects are included in the template, and the creator can quickly generate excellent live works by only providing materials.
In an alternative embodiment, referring to fig. 4, step S401 further includes, after introducing the first direct broadcast control program and the second direct broadcast control program in the target web page:
s402, reconstructing the target webpage containing the live control program.
In step S402, the reconfiguration operation includes one or more of web page structure adjustment, tag adjustment, CSS style adjustment, script adjustment, loading adjustment, event adjustment, and storage adjustment. In contrast to step S202, the reconstruction of the target web page including the live control program in step S402 is to further enhance the performance of the live web page, the former focuses on content and display aspects, and the latter focuses on quality and performance aspects. The method adopts a mode of automatically generating the live webpage codes, so that the reconstruction operation of the webpage program codes is more important.
In step S402, the reconstruction is adjusted around various reconstruction purposes based on the program quality and performance, and the reconstruction purposes include: the method and the device have the advantages that the common JS library contained in the webpage is kept in the latest state, the abandoned HTML labels and attributes are not existed, the structural layout of the webpage is clear, malicious advertisements and links are not existed in the webpage content, the problem of memory leakage is not existed in the program code, the content to be explained is asynchronously loaded under the condition that the structural layout of the webpage with more content is clear, the static inspection of the code is qualified, the loading sequence of the page is reasonable, illegal content is not allowed to be contained in the webpage, the local storage and the operation of the webpage are normal, the database is invoked normally and the connection is normal, the resource loading is in a reasonable time range, the webpage is displayed normally under the expected equipment environment, and the event which conflicts with the live broadcast control is not existed.
In step S402, the reconstruction operation invokes a corresponding reconstruction tool or method based on the above reconstruction purpose, and performs web page structure adjustment, tag adjustment, CSS style adjustment, script adjustment, loading adjustment, event adjustment, storage adjustment, and the like, thereby comprehensively achieving the reconstruction purpose. For the purpose of making the layout of the web page structure clear, that is, the web page structure needs to be adjusted, the constituent elements of the pages such as the navigation bar, the column, the text content and the like are adjusted and laid out (DOM adjustment), and at the same time, the CSS adjustment is also performed.
In other embodiments of the present application, another method for quickly establishing a live broadcast based on a web page is provided, and referring to fig. 5, in this embodiment, the method includes:
step S501, reading in a target webpage website for live communication;
step S5021, reading a first frame webpage comprising an iframe tag and a first direct broadcast control program, wherein the first direct broadcast control program comprises a webpage operation information acquisition function, adding the target webpage website into the iframe tag, and storing and generating the first frame webpage into a first link; reading a second frame webpage comprising an iframe tag and a second live control program, wherein the second live control program comprises a function of analyzing and executing webpage operation instructions, adding the target webpage address into the iframe tag, and storing and generating the second frame webpage into a second link. Or step S5022, the target webpage website is sent to a live webpage calculation generation service unit for registration, and a first link and a second link are generated according to a preset rule or distributed according to a live communication service unit; when receiving the first link access request, the live webpage calculation generation service unit reads a first frame webpage comprising an iframe tag and a first direct broadcasting control program, wherein the first direct broadcasting control program comprises a webpage operation information acquisition function, and adds the target webpage address into the iframe tag and returns the target webpage address; when receiving the second link access request, the live broadcast webpage calculation generation service unit reads a second frame webpage comprising an iframe tag and a second live broadcast control program, wherein the second live broadcast control program comprises a function of analyzing and executing webpage operation instructions, and adds the target webpage address into the iframe tag and returns;
Step S503 creates a communication relationship between the first link and the second link in the live communication service unit, where the live communication service unit provides live communication services for the first link and the second link.
The gist of the present embodiment is described in detail below:
in this embodiment, in step S501, one or more target web sites for live broadcast communication may be read, and when the target web sites are a plurality of web sites, the live broadcast creator may designate that the target web sites are arranged in a certain order, and after generating a live broadcast, the live broadcast creator may switch among a plurality of contents using a content switching control instruction.
In this embodiment, referring to fig. 6 and fig. 7, the first frame web page and the second frame web page have integrated live broadcast control programs, and an iframe tag is provided for a target web page, and a final live broadcast web page can be obtained only by modifying the src attribute in the iframe tag to a target web page website.
In this embodiment, the first direct broadcast control program includes a web page operation information collection function, where the web page operation includes a common operation for a web page and other operations for assisting live broadcast, where the common operation for the web page is slightly different from the embodiment shown in fig. 1, and because the first direct broadcast control program and the target web page have a cross-domain limitation during communication, the first direct broadcast control program cannot collect part of operation data (such as clicking operation of a button in the target web page) of the user on the target web page, so that this embodiment can only provide limited web page operations (such as sliding, jumping, etc. of the target web page).
In this embodiment, when the first direct broadcast control program monitors a content switching control instruction input by a user, a list interface of switchable target web addresses is called, and a target web address identifier selected by the user is sent to a direct broadcast communication service unit, and the direct broadcast communication service unit sends the new target web address and an update instruction to a host and audience, so as to trigger address update of iframe tags in a first frame web page and a second frame web page.
In this embodiment, after the first direct broadcast control program monitors a content exchange control instruction sent by a user, call up an interface for inputting a new target web address, receive the new target web address, send the new target web address and a content update request to a direct broadcast communication service unit, and send the new target web address and an update instruction to a host and a viewer by the direct broadcast communication service unit, so as to trigger address update of iframe labels in the first frame web page and the second frame web page.
Similarly, in this embodiment, after the content switching control instruction and the content replacement control instruction are responded, the communication state between the live broadcast communication service unit and the first link and the second link is not changed in the update process, and the state data formed by the live broadcast is not changed.
Because the embodiment provides a complete generation basis for the live webpages of the anchor side and the audience side (namely, the frame webpages corresponding to the live control programs are integrated, the frame webpages are similar to the program template and have a certain maturity), in the construction process, the final live webpages can be generated only by adding the target webpage websites, in the creation process, the creator does not need to provide the live creation requirements, the system does not need to carry out complex reconstruction processing, and the method is particularly suitable for the situations of rapidly establishing live broadcast according to the existing websites, displaying and explaining the target webpages and having low operation interaction requirements.
In an alternative embodiment, before the step of creating the communication relationship between the first link and the second link by the live communication service unit in step S602 (corresponding to step S103 or step S503), referring to fig. 8, the method further includes the following steps:
s601, receiving a live broadcast configuration requirement, and configuring the live broadcast communication service based on the configuration requirement.
In step S601, the live broadcast configuration requirement includes one or more of a live broadcast time configuration requirement, a number limit configuration requirement, a function authority configuration requirement, a user limit configuration requirement, and a message sending configuration requirement, and after receiving the live broadcast configuration requirement, the live broadcast communication service unit configures the live broadcast communication service according to the live broadcast configuration requirement, for example: setting a live time configuration requirement to establish and disconnect communication connection according to the starting time and the ending time in the time configuration requirement; setting a number limiting configuration requirement, and detecting the number of currently connected users by the live communication service unit to limit the number of live users; setting a function authority configuration requirement, and limiting the user function authority in live broadcasting; setting message transmission configuration requirements, controlling the transmission range, frequency, type and the like of the message.
The following is an exemplary illustration and description of a method specific application scenario:
referring to fig. 9-11, an example process is created for one of the live broadcasts.
In the first step of live creation, referring to fig. 9, a user needs to provide a live title, a profile, an introduction picture, a running environment, time setting, other setting information, and the like. The title, the brief introduction and the introduction pictures are used for inviting the link description when the link is forwarded and are simultaneously applied to the guide picture when the live broadcast is not started; the running environment such as PC, mobile phone, etc., the information is also used as a calculation reference for target webpage processing specifications (such as webpage material specifications, content structure specifications, content arrangement rules, label specifications, etc.) built in the system, and is also used as a reference for calculating the final reconstruction purpose; the time setting comprises the start time, the end time, the timing mode (display duration or countdown) and the like of live broadcasting; other setting information including audience size limit, audience source area limit, conference mode floor size limit, whether live is automatically turned off over time, etc., is used as a calculation live configuration requirement (live time configuration requirement, floor size limit configuration requirement, function authority configuration requirement, user limit configuration requirement, messaging configuration requirement, etc.).
After the setting of the live summary information and the configuration information is completed, the next step is to enter the setting of live contents.
The initial screen of live content setting, referring to fig. 10, provides the user with various modes of live content setting, so as to fully satisfy the live creation requirement of the user.
A. Created from a web site. The method receives the websites uploaded by the user as live contents to create live broadcast, and is most suitable for the situation that the user has one or more websites (such as websites) and needs to explain for others quickly.
The method supports the creation mode of uploading a plurality of websites by a user, when uploading a plurality of websites, a default website is required to be designated as live broadcast starting content, meanwhile, the user can designate the selection sequence of each website (the system defaults to be stored as the selection sequence according to the uploading sequence), and the method stores and sorts the websites uploaded by the user, so that the user can switch and select in the live broadcast process.
According to the processing requirements of the user on the live content, live broadcast is created by the method, and the user can select a processing mode aiming at the webpage content, such as: the method comprises the steps of reserving an original webpage and optimizing, wherein the former system reserves display and interaction contents of the original webpage to the greatest extent, and the latter system optimizes according to the webpage contents, such as adjusting webpage layout, zooming pictures and the like, so as to obtain the optimal display effect.
In addition, the method creates live broadcast based on the website mode, supports the two live broadcast generating methods of fig. 1 and 5 at the same time, specifically depends on the webpage content pointed by the website uploaded by the user, and inquires the interaction requirement of the user on the live broadcast at the same time after the user selects to create from the website, when event interaction in the webpage is not involved, the method is only used for browsing explanation (similar to PPT explanation), and the system selects to create live broadcast in the mode of fig. 5 (created by using the frame webpage containing the iframe label).
B. Created from a web page. The method is very similar to the creation from the website, and is different in that the user has not the website but the actual webpage file, the uploaded content not only comprises the webpage file, but also comprises the resource file (picture, etc.) referenced by the webpage, so that the uploading operation is conveniently executed by the user, and the uploading mode of the folder and the compressed package is provided. After the file is uploaded, the network file is temporarily stored and generated in a server according to the requirement through target webpage generation processing.
Similarly, the creation mode supports a plurality of webpages to generate live broadcast contents, and live broadcast is generated according to the steps shown in fig. 1 and 5.
C. Created from other files. On the premise that the user has the PPT file, the PDF file, the Word file and the like, the mode is very convenient to create, the user only needs to upload the file, and the server side calls a corresponding conversion tool to convert the uploaded file into a webpage. Meanwhile, in the conversion process, internal pages of the webpage can be established according to the pages of the original file, catalogues, page turning navigation and the like are established, and browsing effects consistent with the original file are generated.
The creation mode theoretically receives the file which can be converted into the webpage to perform conversion operation, and simultaneously supports uploading of a plurality of files, processing of the target webpage according to the user requirement, selection of the live broadcast generation method of fig. 1 or 5 according to the content interaction requirement, and the like.
D. Created from content, material. In principle, the method comprises a process of automatically constructing the webpage according to the webpage materials, and the method is used for simply and quickly generating live broadcast aiming at users (such as a group of engineering pictures) with some materials at hand. In the creation process, the user can choose to not define the generation requirement, and the system carries out structural processing and content arrangement according to the characteristics of the materials to generate the target webpage. From the viewpoint of the live broadcast generation method, the methods of fig. 1 and 5 (the uploading content and the generated target web page need to be stored as a network file) may be adopted.
E. Created from templates. The method provides a way for rapidly creating high-quality live broadcast content for users on the basis of the content and material creation method. The user can select the template according to the requirement, set the characters in the template and replace the material files contained in the template, and the application template can quickly generate the live broadcast target webpage with unified style because the template provides professional design typesetting, color matching scheme, animation effect and interaction scheme. Meanwhile, the template is generally matched with the optimal live broadcast generation method (adopting the method of fig. 1 or fig. 5) according to the internal interaction characteristics.
After the live broadcast creation, configuration setting and source content uploading are completed, the live broadcast webpage link of this time is stored in a server or the server side has the capability of dynamically generating live broadcast webpages, the generated information and the setting information also need to be registered in a live broadcast communication server (namely a live broadcast communication service unit), and the registration steps are generally as follows: creating a record for providing the live broadcast in the database, wherein the record comprises information such as an ID, a creator, a live broadcast name, a live broadcast content profile, a live broadcast time, a main broadcast end link, a viewer end link, a target webpage generation mode (dynamic generation or static provision), a live broadcast creation mode (such as a frame webpage creation mode containing an iframe label), an authentication mode, a user limit number, a creation time, other settings and the like.
After the creation of the live broadcast is completed, the live broadcast host and audience sharing link is generated, and referring to fig. 11, a two-dimensional code and a link are provided for the creator to share and enter the live broadcast.
And the live broadcast communication server searches a corresponding live broadcast creation record according to the received anchor access link, and establishes live broadcast communication service for the record.
The main broadcasting end and the audience end access corresponding links, and when the starting time is not reached according to the time set during live broadcasting creation, live broadcasting information pictures including information such as live broadcasting topics, live broadcasting content introduction, live broadcasting start countdown and the like are displayed.
Referring to fig. 12 and 13, an example of a main broadcasting end and a viewer end in a live broadcast process is shown.
After the live broadcast is normally started, the page of the anchor side is shown in fig. 12, and the page mainly comprises: the system comprises a target webpage content display area, a live broadcast information display area, a shortcut area, a message area, a live broadcast control area and other main areas.
The target webpage content display area is used for displaying the webpage content of the live broadcast explanation, namely the target webpage content. The anchor may perform web operations such as sliding, clicking, inputting, zooming, dragging, jumping, etc. on the target web content display area, while the viewer maintains the picture synchronization of the area.
The live broadcast information display area is used for displaying relevant information of the live broadcast, such as the number of the current live broadcast audience, the current live broadcast mode, the current speaker, the video of the current speaker, the time length or timing information and the like.
The shortcut tool area mainly contains common operation tools of the anchor in the live broadcast process, such as: the device comprises a content synchronous switch, a video switch button, an audio switch button and a graffiti operation button, wherein the content control is used for opening and closing the picture synchronization of a target webpage content display area, the video switch and the audio switch control are used for opening and closing and sending a main broadcasting video and audio, the graffiti operation is in an invalid state aiming at the webpage in the target webpage content display area after the graffiti operation is started, the graffiti operation is convenient to be carried out on a screen at the moment, detailed graffiti tools such as graffiti pen type switching, color switching, line thickness setting and the like are displayed at the same time, the picture of a viewer end is kept synchronous in the graffiti process, and the operation aiming at the webpage in the target webpage content display area is recovered after the graffiti operation is closed.
The message area displays messages sent by the anchor and the audience in the live broadcast process, wherein part of the messages carry request instructions, such as request for speaking, return of the floor after the completion of the speaking, and the like, and related processing can be started quickly through the message area.
The live control area contains all the functions of live control such as live mode switching, content selection, content replacement, audience management, setup, stop, etc. The live broadcast mode switching comprises a common live broadcast mode and a conference mode, wherein the common live broadcast mode is used for independently sending voices for a host, and the conference mode allows a plurality of speakers (the number of the speakers is set according to the setting) to simultaneously send the voices; content selection, which is to the situation that a plurality of live contents are uploaded, and can be performed here; the replacing content is to temporarily replace new live content in the live broadcast process, such as when playing and explaining a new website, and the system can execute the generating and replacing operation of the new target webpage content on the premise of keeping the communication state unchanged; audience management displays an audience list, wherein the audience list comprises information such as names, regions, speaking states, audio/video switch states and the like of audiences, management operations such as checking detailed information, blackening, shielding messages, shielding speaking, requesting speaking, recovering the speaking right and the like, and if a certain audience can be specified in the list to speak, the live broadcast right is transferred; the setting functions include other setting information for live broadcast, such as timing display mode, closing audience entry, message transmission and reception range, live broadcast time adjustment, microphone volume adjustment, whether to record live broadcast process data, etc.; and stopping the function to close the live broadcast.
After the live broadcast is normally started, the page of the audience side is shown in fig. 13, and the page mainly comprises: the target webpage content display area, the live broadcast information display area, the shortcut area, the message area, the audience live broadcast control area and other main areas are slightly the same as the anchor.
The target webpage content display area is used for displaying the webpage content of the live broadcast explanation, the picture synchronization is generally kept with the anchor end in the live broadcast process, the webpage operation of the area is in a shielding state, and the webpage operation can be carried out and synchronized to other users only when the audience end obtains the live broadcast right.
And a live information display area which is basically the same as the main broadcasting end, and can broadcast a small video of a speaker in a normal state (refer to the upper left corner of fig. 13), and a user can selectively zoom in and off the video.
And the shortcut tool area contains operation tools and functions which are basically the same as those of the anchor, and is used for controlling the content synchronization, the audio switch control, the video switch control, the graffiti control, the live broadcast right return and the like after the audience obtains the live broadcast right, and the area is hidden or the related buttons are in an unavailable state under the condition that the live broadcast right is not obtained.
A message area, which is functionally identical to the anchor, displays the message and may carry a request instruction, such as "accept talk request".
A viewer live control area that contains all the functions of viewer live control during live broadcast, such as i want to speak, messages, viewer lists, exit, etc. The speaking function is convenient for audience to strive for the living broadcast authority in the living broadcast process; the message function starts a message sending window and can be appointed to be sent to a host or a certain audience; the audience list is used to view basic information of the audience.
The live broadcast communication server provides services for live broadcast processes, and can record all live broadcast processes. After the live broadcast is finished, the host broadcast and the audience access link to display the information such as the brief introduction of the live broadcast, the live broadcast duration and the like, and meanwhile, the live broadcast playback can be checked.
The method for quickly establishing live broadcast based on the webpage can quickly establish live broadcast based on various types of source contents, can quickly start live broadcast after accessing the links generated by the method, does not need to download additional software or plug-ins, does not need to learn operation knowledge related to live broadcast software, simplifies the flow and reduces the use cost. Meanwhile, the method provides various auxiliary live broadcast tools, the pictures of the anchor end and the audience end are synchronized in real time, the interactivity between the anchor and the audience is improved, and the audience is facilitated to better understand live broadcast contents. In addition, compared with the traditional live video stream data, the data generated in the live broadcast process has much smaller transmission quantity, can achieve the lossless effect and is beneficial to realizing quick transmission.
While the invention has been described in detail in connection with the drawings and embodiments, it should be understood that the foregoing description is not intended to limit the invention in any way. Modifications and variations of the invention may be made as desired by those skilled in the art without departing from the true spirit and scope of the invention, and such modifications and variations fall within the scope of the invention.

Claims (8)

1. The method for quickly establishing the live broadcast based on the webpage is characterized by comprising the following steps of:
receiving source content and identifying the source content type;
generating a target webpage according to the source content type;
introducing a first direct-broadcasting control program containing a webpage operation information acquisition function into the target webpage, and storing the target webpage containing the first direct-broadcasting control program and generating the target webpage as a first link; introducing a second live control program containing a function of analyzing and executing webpage operation instructions into a target webpage, and storing the target webpage containing the second live control program and generating a second link; the first link and the second link can be generated according to a preset rule or distributed according to a live broadcast communication service unit;
when the live webpage calculation generation service unit receives the first link access request, returning webpage content comprising the target webpage and a first direct broadcasting control program, wherein the first direct broadcasting control program comprises a webpage operation information acquisition function;
When the live webpage calculation generation service unit receives the second link access request, returning webpage content comprising the target webpage and a second live control program, wherein the second live control program comprises a function of analyzing and executing webpage operation instructions;
creating a communication relationship between a first link and a second link in the live broadcast communication service unit, wherein the live broadcast communication service unit provides live broadcast communication service for the first link and the second link;
the first direct broadcast control program contained in the first link collects operation data of a user on a target webpage and sends the operation data to the direct broadcast communication service unit; and the second live broadcast control program contained in the second link analyzes the received data, restores the received data to be webpage operation instructions for execution, and achieves the effect of synchronizing with the original user webpage picture.
2. The method of claim 1, wherein the step prior to generating the target web page further comprises receiving one or more of web page material processing requirements, content structure requirements, content arrangement requirements, display style requirements from a live creator, and/or processing source content in combination with one or more of web page material specifications, content structure specifications, content arrangement rules, tag specifications built into the system.
3. The method according to claim 1 or 2, wherein the step prior to generating the target web page further comprises reading in a live web page template, processing source content according to the requirements for live content in the live web page template, and generating the target web page by replacing corresponding items in the template with the processed source content.
4. The method of claim 1, wherein the step of introducing the first and second live control programs into the target web page further comprises performing a reconstruction operation on the target web page after the introduction of the first and second live control programs, the reconstruction operation including one or more of web page structure adjustment, tag attribute modification, CSS style modification, script adjustment, loading order adjustment, event adjustment, and storage adjustment.
5. The method of claim 1, wherein the first direct broadcast control program further comprises one or more of a graffiti operation data acquisition, an audio operation data acquisition, a video operation data acquisition, a text operation data acquisition; the second live control program further includes one or more of parsing graffiti data, parsing audio operation data, parsing video operation data, parsing text operation data.
6. The method of claim 1, wherein the first direct broadcast control program further comprises a control instruction input by a user in a web page corresponding to the first link, the control instruction input by the user in the web page corresponding to the first link comprising one or more of starting/stopping a live broadcast, turning on/off a talk, switching a live broadcast/conference mode, content replacement, audience management, live broadcast right handover, video switching, audio switching, graffiti setting, and message processing; the second live broadcast control program further comprises a control instruction which is input by a user in a webpage corresponding to the second link, wherein the control instruction which is input by the user in the webpage corresponding to the second link comprises one or more of entering/exiting live broadcast, receiving live broadcast right, returning live broadcast right, video switch, audio switch, graffiti setting and message processing; the first direct broadcast control program and the second direct broadcast control program send the corresponding control instructions to a direct broadcast communication service unit, and the direct broadcast communication service unit executes or forwards the corresponding control instructions; the first direct broadcast control program and the second direct broadcast control program also comprise corresponding control instructions sent by a direct broadcast communication service unit and are executed; the first direct broadcast control program and the second direct broadcast control program also comprise the steps of receiving and displaying the direct broadcast state information of the direct broadcast communication service unit.
7. The method according to claim 6, wherein after receiving the live content replacement instruction and the new source content sent by the first live control program, new target web page data is generated and sent to a live communication service unit, and after receiving the live content replacement instruction and the new target web page data sent by the live communication service unit, the first live control program and the second live control program execute an update operation according to the received new target web page data; and in the updating process, the communication state between the live broadcast communication service unit and the first link and the second link is not changed, and the state data formed by the live broadcast is not changed.
8. The method of claim 1, wherein the step prior to creating the communication relationship between the first link and the second link in the live communication service unit further comprises receiving one or more of a live time configuration requirement, a person-limit configuration requirement, a function rights configuration requirement, and a messaging configuration requirement, and transmitting the configuration requirement to the live communication service unit, the live communication service unit configuring the live communication service based on the configuration requirement.
CN202111220269.7A 2020-03-06 2020-03-06 Method for quickly establishing live broadcast based on webpage Active CN113938699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111220269.7A CN113938699B (en) 2020-03-06 2020-03-06 Method for quickly establishing live broadcast based on webpage

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010152096.9A CN111405303B (en) 2020-03-06 2020-03-06 Method for quickly establishing live broadcast based on webpage
CN202111220269.7A CN113938699B (en) 2020-03-06 2020-03-06 Method for quickly establishing live broadcast based on webpage

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010152096.9A Division CN111405303B (en) 2020-03-06 2020-03-06 Method for quickly establishing live broadcast based on webpage

Publications (2)

Publication Number Publication Date
CN113938699A CN113938699A (en) 2022-01-14
CN113938699B true CN113938699B (en) 2024-03-08

Family

ID=71436626

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111220269.7A Active CN113938699B (en) 2020-03-06 2020-03-06 Method for quickly establishing live broadcast based on webpage
CN202010152096.9A Active CN111405303B (en) 2020-03-06 2020-03-06 Method for quickly establishing live broadcast based on webpage

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010152096.9A Active CN111405303B (en) 2020-03-06 2020-03-06 Method for quickly establishing live broadcast based on webpage

Country Status (1)

Country Link
CN (2) CN113938699B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111954015B (en) * 2020-08-13 2021-07-20 南京百家云科技有限公司 Method and device for realizing online live broadcast classroom
CN112383787B (en) 2020-11-03 2022-05-27 北京字节跳动网络技术有限公司 Live broadcast room creating method and device, electronic equipment and storage medium
CN114422460B (en) * 2021-12-12 2024-03-01 路九阳 Method and system for establishing same-screen communication sharing in instant communication application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060026286A (en) * 2004-09-20 2006-03-23 남동화 Automatic broadcasting method on the webpage
CN106326403A (en) * 2016-08-22 2017-01-11 乐视控股(北京)有限公司 Web page generating method and device
CN110020073A (en) * 2017-10-12 2019-07-16 北京国双科技有限公司 A kind of live streaming web page crawl method and device
CN110233844A (en) * 2019-06-13 2019-09-13 杭州雅顾科技有限公司 A kind of multimedia live broadcast method, apparatus, equipment and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090031419A1 (en) * 2001-05-24 2009-01-29 Indra Laksono Multimedia system and server and methods for use therewith
US20120005187A1 (en) * 2010-07-02 2012-01-05 Philippe Chavanne Web Site Content Management Techniques
CN107423312B (en) * 2017-03-14 2021-04-23 北京龙之心科技有限公司 Live broadcast data playing method and device
CN108307243B (en) * 2018-01-10 2020-09-04 武汉斗鱼网络科技有限公司 Live broadcast platform game intermodal setting method, storage medium, electronic device and system
CN110297917B (en) * 2019-06-28 2023-05-23 腾讯科技(深圳)有限公司 Live broadcast method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060026286A (en) * 2004-09-20 2006-03-23 남동화 Automatic broadcasting method on the webpage
CN106326403A (en) * 2016-08-22 2017-01-11 乐视控股(北京)有限公司 Web page generating method and device
CN110020073A (en) * 2017-10-12 2019-07-16 北京国双科技有限公司 A kind of live streaming web page crawl method and device
CN110233844A (en) * 2019-06-13 2019-09-13 杭州雅顾科技有限公司 A kind of multimedia live broadcast method, apparatus, equipment and medium

Also Published As

Publication number Publication date
CN111405303B (en) 2021-11-12
CN111405303A (en) 2020-07-10
CN113938699A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN113938699B (en) Method for quickly establishing live broadcast based on webpage
CN107809492B (en) Method and system for generating shared information
US10872127B2 (en) Method and system of providing for cross-device operations between user devices
US7561899B2 (en) Method and apparatus for controlling and applying resource of idle screen on mobile
CN113099258B (en) Cloud guide system, live broadcast processing method and device, and computer readable storage medium
US20140006921A1 (en) Annotating digital documents using temporal and positional modes
CN105142011A (en) Web-based television terminal multi-screen interaction method and device
CN110096660A (en) Method, apparatus and electronic equipment for loading page picture
CN105245959A (en) System and method for maintaining connection channel in multi-device linkage services
CN113766298B (en) Bullet screen display method, device and system
JP5792326B2 (en) Reading service providing method, content providing server and system
CN109040794A (en) A kind of video website method of river diversion and device
CN104111768B (en) Interactive window and method and system for customizing, quoting and synchronizing interactive window
US20140250173A1 (en) Selectively porting meeting objects
US9942287B2 (en) Information processing system, terminal device, and method
CN108121748B (en) Method and device for providing media push
CN112016280B (en) File editing method and device and computer readable medium
CN115238125A (en) Data processing method and device, computer equipment and readable storage medium
CN114969603A (en) 5G message-based picture acquisition and picture generation method and system
CN114253436A (en) Page display method and device and storage medium
CN110781434A (en) Advertising player system based on image generation and issuing and advertising issuing method thereof
JP3887880B2 (en) Data conversion apparatus, data transmission method, and information storage medium storing data conversion function
KR20010084631A (en) Individual webcasting service system and method through the internet
CN111726545B (en) Material file processing method and device, computer equipment and storage medium
CN116320638A (en) Live broadcast material processing method, system, electronic device 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