CN115643419A - Web live broadcast page display method and device and client - Google Patents

Web live broadcast page display method and device and client Download PDF

Info

Publication number
CN115643419A
CN115643419A CN202110815624.9A CN202110815624A CN115643419A CN 115643419 A CN115643419 A CN 115643419A CN 202110815624 A CN202110815624 A CN 202110815624A CN 115643419 A CN115643419 A CN 115643419A
Authority
CN
China
Prior art keywords
broadcast
server
users
page
live
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.)
Granted
Application number
CN202110815624.9A
Other languages
Chinese (zh)
Other versions
CN115643419B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110815624.9A priority Critical patent/CN115643419B/en
Priority to PCT/CN2022/099797 priority patent/WO2023000890A1/en
Publication of CN115643419A publication Critical patent/CN115643419A/en
Application granted granted Critical
Publication of CN115643419B publication Critical patent/CN115643419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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/488Data services, e.g. news ticker

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a method, a device and a client for displaying web live pages, wherein the method comprises the following steps: after one network live broadcast is finished, acquiring the current number of the broadcast watching users and the preset number of the broadcast watching users of the network live broadcast, wherein the preset number of the broadcast watching users is related to the performance parameters of a server; when the number of the current broadcast users is larger than or equal to the number of the preset broadcast users, delaying a target time length to enable a client to carry out delay operation on an end request, wherein the end request is used for requesting a live broadcast end page from a server, and the live broadcast end page is used for indicating the end of network live broadcast; sending an ending request to a server according to the target duration; receiving an end response from the server; in response to the end response, a live end page is displayed. Therefore, high concurrency scattering processing is achieved, QPS of the server is reduced, extra server resources do not need to be added, the audience can timely know that the live broadcast is finished, and smooth display of the live broadcast finishing page is achieved.

Description

Web live broadcast page display method and device and client
Technical Field
The present disclosure relates to the field of live broadcast technologies, and in particular, to a web live broadcast page display method, apparatus, and client.
Background
With the continuous development of internet technology, live webcasting is widely applied to the fields of user life, commercial propaganda and the like due to the advantages of convenience, rapidness, low cost, strong interactivity and the like.
At present, in high-heat live webcasting, audiences can reach the million level or even higher. After the network live broadcast is finished, the client requests the server for the live broadcast end page, so that the server needs to bear ten million levels or even higher request concurrency, the Query Per Second (QPS) of the server is increased, even extra server resources are needed, and the rate of displaying the live broadcast end page by the client is also influenced.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides a web-live page display method, apparatus and client.
In a first aspect, the present disclosure provides a web-cast page display method, applied to a client; the method comprises the following steps: the method comprises the following steps:
after one network live broadcast is finished, acquiring the current number of broadcast watching users and the preset number of broadcast watching users of the network live broadcast, wherein the preset number of broadcast watching users is related to the performance parameters of a server;
when the number of the current broadcast users is larger than or equal to the number of the preset broadcast users, delaying a target time length to enable a client to carry out delay operation on an end request, wherein the end request is used for requesting a live broadcast end page from a server, and the live broadcast end page is used for indicating the end of network live broadcast;
sending an ending request to a server according to the target duration;
receiving an end response from the server;
in response to the end response, a live end page is displayed.
By the method provided by the first aspect, after a live webcast is finished, the client can obtain the number of the current users watching the live webcast so as to determine the heat of the live webcast, and can obtain the number of the preset users watching the live webcast related to the performance parameters of the server so as to determine that the server provides the number of the audience in the live webcast to the client. When the number of the current broadcast users is larger than or equal to the preset number of the broadcast users, the client can determine that an end request needs to be initiated to the server in a delayed mode. Therefore, the client can delay the target duration based on the current number of the broadcast watching users and the preset number of the broadcast watching users. After the target duration, the client can send an end request to the server according to the target duration. The server can know that the client requests the end of live broadcast based on the end request, and can send an end response to the client. And after receiving the end response, the client can display the live broadcast end page. Therefore, the end requests are delayed by the client, so that tens of millions of requests or even higher requests cannot be sent to the server at the same time, high concurrency is scattered, the problem that the server needs to deal with tens of millions of requests or even higher requests is solved, the QPS of the server is reduced, additional resources of the server do not need to be added, the cost of the server is saved, audiences can timely know that the live broadcast of the network is finished, the live broadcast end page is smoothly displayed, and the watching experience of users is favorably improved.
In one possible design, the method further includes:
calculating an integer rounding up of a quotient of the number of current broadcast users divided by the number of preset broadcast users;
and determining the numerical value of the target time length to be one number which is less than or equal to an integer.
In one possible design, when the number of current broadcast users is greater than or equal to the preset number of broadcast users, the method further includes:
and displaying a loading page in the target duration, wherein the loading page is used for indicating that the live broadcast ending page is loading.
In one possible design, the method further includes:
when the number of the current broadcast users is smaller than the number of the preset broadcast users, sending an end request to a server, wherein the end request is used for requesting a live broadcast end page, and the live broadcast end page is used for indicating the end of the network live broadcast;
receiving an end response from the server;
in response to the end response, a live end page is displayed.
In one possible design, the performance parameters of the server include: query rate per second.
In a second aspect, the present disclosure provides a web-based live page display apparatus, which is applied to a client; the device comprises:
the acquisition module is used for acquiring the current number of the broadcasting users and the preset number of the broadcasting users of the network live broadcast after the network live broadcast is finished, wherein the preset number of the broadcasting users is related to the performance parameters of the server;
the delay module is used for delaying the target time length when the number of the current broadcast watching users is larger than or equal to the number of the preset broadcast watching users so as to enable the client to carry out delay operation on the end request, the end request is used for requesting a live broadcast end page to the server, and the live broadcast end page is used for indicating the end of the network live broadcast;
the sending module is used for sending an ending request to the server according to the target duration;
a receiving module for receiving an end response from the server;
and the display module is used for responding to the end response and displaying the live broadcast end page.
In one possible design, the apparatus further includes:
the determining module is used for calculating an integer rounded up of a quotient of the current number of the broadcast users divided by a preset number of the broadcast users; and determining the numerical value of the target time length to be one number which is less than or equal to an integer.
In a possible design, the display module is further configured to display a loading page within the target duration when the current number of the broadcast users is greater than or equal to the preset number of the broadcast users, and the loading page is used for indicating that the live broadcast end page is being loaded.
In a possible design, the sending module is further configured to send an end request to the server when the number of current broadcast users is smaller than a preset number of broadcast users, where the end request is used to request a live broadcast end page, and the live broadcast end page is used to indicate that the network live broadcast ends;
the receiving module is also used for receiving an ending response from the server;
and the display module is also used for responding to the ending response and displaying the live broadcast ending page.
In one possible design, the performance parameters of the server include: query rate per second.
The beneficial effects of the web broadcast page display apparatus provided in the second aspect and the possible designs of the second aspect may refer to the beneficial effects brought by the possible embodiments of the first aspect and the first aspect, and are not described again here.
In a third aspect, the present disclosure provides a client, including: a memory and a processor; the memory is used for storing program instructions; the processor is configured to invoke the program instructions in the memory to cause the client to perform the live webcast page display method of the first aspect and any one of the possible designs of the first aspect.
In a fourth aspect, the present disclosure provides a computer storage medium including computer instructions, which, when run on an electronic device, cause the electronic device to perform the method for displaying web pages in live broadcast in the first aspect and any one of the possible designs of the first aspect.
In a fifth aspect, the present disclosure provides a computer program product for causing a computer to perform the method for displaying web pages in the first aspect and any one of the possible designs of the first aspect when the computer program product runs on the computer.
In a sixth aspect, the present disclosure provides a chip system for application to an electronic device comprising a display, a memory, and a sensor; the chip system comprises: a processor; when the processor executes the computer instructions stored in the memory, the electronic device performs the web-cast page display method of the first aspect and any one of the possible designs of the first aspect.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a communication system provided by an embodiment of the present disclosure;
fig. 2 is a signaling interaction diagram of a web live page display method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a web-based live page display method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a web-cast page display apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a web-cast page display apparatus according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Referring to fig. 1, fig. 1 is a schematic diagram of a communication system according to an embodiment of the disclosure. As shown in fig. 1, the communication system provided by the present disclosure may include: the system comprises a server and a client, and the server and the client can realize mutual communication.
The client can be installed in the electronic device, and the client can implement the web-broadcast page display method through application programs (APPs), public numbers, web pages and other modes in the electronic device.
The electronic device may be a tablet computer, a mobile phone, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a smart television, a smart screen, a high definition television, a 4K television, a smart speaker, a smart projector, and the like.
The present disclosure does not limit the type of operating system of the electronic device. For example, an Android system, a Linux system, a Windows system, an iOS system, etc.
The present disclosure does not limit the type and number of servers. For example, the server may be a server corresponding to a Content Delivery Network (CDN).
Based on the foregoing description, the embodiments of the present disclosure will use the client and the server in fig. 1 as examples, and in conjunction with the accompanying drawings and application scenarios, a web live page display method provided by the present disclosure is explained in detail.
Referring to fig. 2, fig. 2 is a signaling interaction diagram of a web live page display method according to an embodiment of the present disclosure. As shown in fig. 2, the web live page display method provided by the present disclosure may include:
s101, after one network live broadcast is finished, the client acquires the current number of the users watching the live broadcast and the preset number of the users watching the live broadcast.
The client can play a live webcast. The method and the system have the advantages that parameters such as the type, the content and the display mode of the network live broadcast are not limited. After the live network broadcast is finished, the client can acquire the current number of the users watching the broadcast and the preset number of the users watching the broadcast.
The current number of users watching the live network can be understood as the actual total number of the audiences still watching the live network at the end of the live network playing, and can indicate the popularity of the live network.
The preset number of the users can be understood as satisfying the range of the number of the requests allowed to be received by the server from the client, and can indicate the number of the bearers, such as the maximum number or the intermediate number, of the viewers in the network broadcast provided by the server to the client.
And, the number of preset broadcast users is related to the performance parameters of the server. The present disclosure does not limit the specific size of the preset number of the viewers. In some embodiments, the performance parameters of the server may include: query Per Second (QPS).
S102, the client judges whether the number of the current broadcast watching users is larger than or equal to the preset number of the broadcast watching users.
The client can determine whether the server can bear the number of requests corresponding to the number of the current broadcast users or not based on the size relation between the number of the current broadcast users and the preset broadcast user number.
When the number of the current broadcast users is greater than or equal to the preset number of the broadcast users, the client can determine that the server cannot bear the high concurrency amount, and then the client can execute the steps S103-S104; when the number of current broadcast users is smaller than the preset number of broadcast users, the client may determine that the server can bear such a high amount of concurrency, and then the client may perform step S104.
And S103, the client delays the target duration so that the client performs delay operation on the end request, the end request is used for requesting a live broadcast end page from the server, and the live broadcast end page is used for indicating the end of the network live broadcast.
The client may delay the target duration and then perform step S104. Therefore, the delay operation of the client corresponding to each current broadcast user on the end request needing to be sent to the server is carried out, so that the requests corresponding to the number of the current broadcast users cannot be sent at the same time, the scatter processing with high concurrency is realized, the QPS of the server is favorably reduced, and extra resources of the server are not required to be provided.
The target time length may be randomly determined by the client, and/or the target time length may be related to the current number of the users watching the broadcast and the preset number of the users watching the broadcast. The present disclosure does not limit the specific value of the target time length.
In addition, different clients may delay the same or different target durations for the same webcast. The same client may delay the same or different target durations for different webcasts. The same client can delay the same or different target time length after each live broadcast for the same network live broadcast. The present disclosure is also not limited to the foregoing.
And S104, the client sends an ending request to the server according to the target duration.
The client can send an end request to the server according to the target duration. That is, the client may send the reception request to the server after the target duration elapses, i.e., the client may send the reception request to the server after or while the target duration elapses.
Wherein the end request is for requesting a live end page. The present disclosure does not limit the specific implementation of the end request. In some embodiments, the end request may carry an identification of the client, an identification of the live network, and an identification of the request live end page. Wherein the identification of the client is used to determine the client. The identity of the webcast is used to determine the webcast. The identification of the request live broadcast end page is used for informing the server that the client requests the live broadcast end page for the network live broadcast.
And the live broadcast end page is used for indicating the end of the network live broadcast. The specific implementation manner of the live broadcast end page is not limited in the present disclosure. In some embodiments, the live end pages for different clients for the same web live may be the same or different. The live end pages for different webcasts of the same client may be the same or different.
S105, the server sends a finish response to the client.
Upon receiving the end request, the server may send an end response to the client.
Wherein the end response is used to indicate a live end page. The present disclosure does not limit the specific implementation of the end response. In some embodiments, the end response carries a storage address of the live end page, so that the client acquires the live end page from the storage address. Alternatively, the end response may carry a live end page.
And S106, the client responds to the end response and displays the live broadcast end page.
After receiving the end response, the client can acquire the live broadcast end page, so that the client can display the live broadcast end page. Thus, the viewer can be informed that the live network has finished playing.
The specific implementation manner of displaying the live broadcast end page at the client is not limited by the present disclosure. In some embodiments, the client and the server may negotiate in advance the display mode of the live end page. Or the server can carry the display mode of the live broadcast end page in the end response.
According to the webpage display method of the network live broadcast, after one network live broadcast is finished, the client can acquire the number of the current users watching the broadcast of the network live broadcast so as to determine the popularity of the network live broadcast, and can acquire the number of the preset users watching the broadcast related to the performance parameters of the server so as to determine the number of the audience bearing the server in the network live broadcast provided to the client. When the number of the current broadcast users is larger than or equal to the preset number of the broadcast users, the client can determine that an ending request needs to be initiated to the server in a delayed mode. Therefore, the client can delay the target duration based on the current number of the broadcast watching users and the preset number of the broadcast watching users. After the target duration, the client can send an end request to the server according to the target duration. The server can know that the client requests the end of live broadcasting based on the end request, and can send an end response to the client. And after receiving the end response, the client can display the live broadcast end page. Therefore, the end requests are delayed by the client, so that tens of millions of requests or even higher requests cannot be sent to the server at the same time, high concurrency is scattered, the problem that the server needs to deal with tens of millions of requests or even higher requests is solved, the QPS of the server is reduced, additional resources of the server do not need to be added, the cost of the server is saved, audiences can timely know that the live broadcast of the network is finished, the live broadcast end page is smoothly displayed, and the watching experience of users is favorably improved.
Based on the description of the above embodiment, the client may determine the target duration in multiple ways based on the current number of the broadcast users and the preset number of the broadcast users.
In some embodiments, the client may compute a rounded-up integer for the quotient of the current number of viewers divided by the preset number of viewers. Thus, the client may select a number from a range less than or equal to an integer and determine the number as the target duration.
In other embodiments, the client may calculate a difference between the current number of the viewing users and a preset number of the viewing users, and determine a target time length according to a time length corresponding to the difference. And the client stores the corresponding relation between each difference value and the duration in advance.
It should be noted that the present disclosure is not limited to the above two ways to determine the target time length.
Based on the above description of the embodiment, when it is determined that the current number of the broadcast users is greater than or equal to the preset number of the broadcast users, the client needs to initiate a request to the server after the target time length. Therefore, in the target time length and within the time period, the client can continuously keep the playing picture corresponding to the live webcast to wait for the display of the live webcast ending page and can also jump to one page, so that the phenomenon that the audience mistakenly thinks that the live webcast is blocked is avoided.
The specific implementation manner of the page is not limited in the present disclosure. In some embodiments, the page may be a load page, which is used to indicate that the live end page is loading. The specific implementation of the loading page is not limited in this disclosure. In some embodiments, the load page may be stored in a local storage module of the client, facilitating quick retrieval by the client for display.
Based on the foregoing description, the present disclosure will use the client in fig. 1 as an example, and details a web live page display method provided by the present disclosure with reference to the accompanying drawings and application scenarios.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a web-live page display method according to an embodiment of the present disclosure. As shown in fig. 3, the web-live page display method provided by the present disclosure may include:
s201, after a network live broadcast is finished, a client acquires the current number of the users watching the live broadcast and the preset number of the users watching the live broadcast.
The specific implementation manner of step S201 may refer to the description of step S101 in fig. 2, which is not described herein again.
S202, when the number of the current broadcast users is larger than or equal to the number of the preset broadcast users, the client delays the target time length to enable the client to delay the end request, the end request is used for requesting a live broadcast end page from the server, and the live broadcast end page is used for indicating the end of the network live broadcast.
The specific implementation manner of step S201 may refer to the description of step S103 in fig. 2, which is not described herein again.
S203, the client displays the loading page in the target duration.
S204, the client sends an ending request to the server after the target duration.
S205, the client receives the end response from the server.
S206, the client responds to the end response and displays the live broadcast end page.
The specific implementation manners of steps S204 to S206 can be respectively referred to the descriptions of steps S104 to S106 in fig. 2, which are not described herein again.
In summary, the client may display the loading page within the target duration when it is determined that the request to the server needs to be delayed, and may send the receiving request to the server after the target duration. Therefore, the audience can know that the live webcast is finished in advance, and the watching experience of the user is improved.
Illustratively, the present disclosure provides a web-live page display apparatus.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a web-cast page display device according to an embodiment of the present disclosure. The web-cast page display device of the present disclosure may be disposed in a client, and may implement the web-cast page display method of the embodiments of fig. 1 to fig. 3, corresponding to the operation of the client. As shown in fig. 4, the web-live page display apparatus 100 provided by the present disclosure may include: an acquisition module 101, a delay module 102, a transmission module 103, a reception module 104, and a display module 105.
The system comprises an acquisition module 101, a server and a server, wherein the acquisition module is used for acquiring the current number of the broadcast users and the preset number of the broadcast users of the network live broadcast after the network live broadcast is finished, and the preset number of the broadcast users is related to the performance parameters of the server;
the delay module 102 is configured to delay a target duration when the number of current broadcast users is greater than or equal to a preset number of broadcast users, so that a client performs a delay operation on an end request, where the end request is used to request a live broadcast end page from a server, and the live broadcast end page is used to indicate that a network live broadcast is ended;
a sending module 103, configured to send an end request to the server according to the target duration;
a receiving module 104, configured to receive an end response from the server;
and a display module 105, configured to display the live end page in response to the end response.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a web-based live page display device according to an embodiment of the present disclosure. As shown in fig. 5, the web-cast page display apparatus 100 provided by the present disclosure may further include, on the basis of the apparatus structure shown in fig. 4:
a determining module 106, configured to calculate an integer rounded up of a quotient obtained by dividing the current number of broadcast users by a preset number of broadcast users; and determining the numerical value of the target time length to be one number which is less than or equal to an integer.
In some embodiments, the display module 105 is further configured to display a load page in the target duration when the current number of users watching the broadcast is greater than or equal to the preset number of users watching the broadcast, where the load page is used to indicate that the live end page is being loaded.
In some embodiments, the sending module 103 is further configured to send an end request to the server when the current number of the broadcast users is less than the preset number of the broadcast users, where the end request is used to request a live broadcast end page, and the live broadcast end page is used to indicate that the network live broadcast ends;
a receiving module 104, further configured to receive an end response from the server;
the display module 105 is further configured to display a live end page in response to the end response.
In some embodiments, the performance parameters of the server include: query rate per second.
The web broadcast page display device provided by the present disclosure may implement the foregoing method embodiments, and for details of implementation principles and technical effects, reference may be made to the foregoing method embodiments, and details of the present disclosure are not repeated herein.
Illustratively, the present disclosure provides a client comprising: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; the one or more processors, when executing the one or more computer programs, cause the client to implement the live webcast page display method of the foregoing embodiments.
Illustratively, the present disclosure provides a chip system applied to an electronic device including a display, a memory, and a sensor; the chip system includes: a processor; when the processor executes the computer instructions stored in the memory, the electronic device performs the web-live page display method of the foregoing embodiment.
Exemplarily, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, causes an electronic device to implement the web-live page display method of the foregoing embodiment.
Illustratively, the present disclosure provides a computer program product which, when run on a computer, causes the computer to execute the web-live page display method of the foregoing embodiment.
In the above-described embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the disclosure are wholly or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The previous description is only for the purpose of describing particular embodiments of the present disclosure, so as to enable those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A web broadcast page display method is characterized in that the method is applied to a client; the method comprises the following steps:
after a network live broadcast is finished, acquiring the current number of the broadcast watching users and the preset number of the broadcast watching users of the network live broadcast, wherein the preset number of the broadcast watching users is related to the performance parameters of a server;
when the number of the current broadcast users is larger than or equal to the preset number of broadcast users, delaying a target time length to enable the client to delay an end request, wherein the end request is used for requesting a live broadcast end page from the server, and the live broadcast end page is used for indicating the end of the network live broadcast;
sending the ending request to the server according to the target time length;
receiving an end response from the server;
and responding to the end response, and displaying the live broadcast end page.
2. The method of claim 1, further comprising:
calculating an integer rounded up of the quotient of the current number of the broadcast users divided by the preset number of the broadcast users;
and determining the numerical value of the target duration to be a number less than or equal to the integer.
3. The method of claim 1 or 2, wherein when the current number of viewers is greater than or equal to the preset number of viewers, the method further comprises:
and displaying a loading page in the target duration, wherein the loading page is used for indicating that the live broadcasting end page is loading.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
when the number of the current broadcast users is smaller than the preset broadcast user number, sending an end request to the server, wherein the end request is used for requesting a live broadcast end page, and the live broadcast end page is used for indicating the end of the network live broadcast;
receiving an end response from the server;
and responding to the end response, and displaying the live broadcast end page.
5. The method according to any of claims 1-4, wherein the performance parameters of the server comprise: query rate per second.
6. A web-based live page display device is characterized by being applied to a client; the device comprises:
the system comprises an acquisition module, a server and a display module, wherein the acquisition module is used for acquiring the current number of the broadcast users and the preset number of the broadcast users of the network live broadcast after the network live broadcast is finished, and the preset number of the broadcast users is related to the performance parameters of the server;
a delay module, configured to delay a target duration when the current number of broadcast watching users is greater than or equal to the preset number of broadcast watching users, so that the client performs a delay operation on an end request, where the end request is used to request a live broadcast end page from the server, and the live broadcast end page is used to indicate that the network live broadcast ends;
a sending module, configured to send the end request to the server according to the target duration;
a receiving module for receiving an end response from the server;
and the display module is used for responding to the end response and displaying the live broadcast end page.
7. The apparatus of claim 6, further comprising:
a determining module, configured to calculate an integer rounded up of a quotient of the current number of broadcast users divided by the preset number of broadcast users; and determining the value of the target duration to be a number which is less than or equal to the integer.
8. A client, comprising: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; one or more processors that, when executing the one or more computer programs, cause the client to implement the live webcast page display method of any of claims 1-5.
9. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the web-live page display method of any one of claims 1-5.
10. A computer program product, characterized in that it causes a computer to carry out the method of web-cast page display according to any one of claims 1 to 5, when said computer program product is run on the computer.
CN202110815624.9A 2021-07-19 2021-07-19 Page display method and device for live webcasting and client Active CN115643419B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110815624.9A CN115643419B (en) 2021-07-19 2021-07-19 Page display method and device for live webcasting and client
PCT/CN2022/099797 WO2023000890A1 (en) 2021-07-19 2022-06-20 Webcast page display method and apparatus, and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110815624.9A CN115643419B (en) 2021-07-19 2021-07-19 Page display method and device for live webcasting and client

Publications (2)

Publication Number Publication Date
CN115643419A true CN115643419A (en) 2023-01-24
CN115643419B CN115643419B (en) 2024-08-27

Family

ID=84940167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110815624.9A Active CN115643419B (en) 2021-07-19 2021-07-19 Page display method and device for live webcasting and client

Country Status (2)

Country Link
CN (1) CN115643419B (en)
WO (1) WO2023000890A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140165118A1 (en) * 2011-05-12 2014-06-12 Telefonica, S.A. Method and end point for distributing live content stream in a content delivery network
CN106598693A (en) * 2016-05-11 2017-04-26 河南理工大学 Energy consumption and load aware virtual machine integration method based on time delay strategy
CN106937136A (en) * 2017-03-29 2017-07-07 武汉斗鱼网络科技有限公司 Data delay method and system based on statistical information between network direct broadcasting
CN107659853A (en) * 2017-11-03 2018-02-02 中广热点云科技有限公司 A kind of live control system of adaptive stream media
CN109788301A (en) * 2019-01-08 2019-05-21 深圳市网心科技有限公司 A kind of live broadcasting method of Streaming Media, terminal device, live broadcast system and computer readable storage medium
CN110019359A (en) * 2017-10-16 2019-07-16 阿里巴巴集团控股有限公司 A kind of method, apparatus and system for preventing caching from puncturing
CN110213330A (en) * 2019-04-28 2019-09-06 北京奇艺世纪科技有限公司 Pre- supplying system, method, apparatus, electronic equipment and computer-readable medium
CN110809170A (en) * 2019-10-09 2020-02-18 北京达佳互联信息技术有限公司 Time delay determination method and device, commodity link display method and device and server
CN111756820A (en) * 2020-06-11 2020-10-09 北京达佳互联信息技术有限公司 Access processing method and device, electronic equipment and storage medium
CN111935536A (en) * 2020-07-28 2020-11-13 北京达佳互联信息技术有限公司 Live broadcast room request response method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8503997B2 (en) * 2010-09-02 2013-08-06 At&T Intellectual Property I, L.P. Method and apparatus for dynamically assigning a mobile service request to any one of a plurality of available service providers
US10798205B2 (en) * 2016-04-13 2020-10-06 Facebook, Inc. Cache system for live broadcast streaming
CN106161219B (en) * 2016-09-29 2019-04-09 广州华多网络科技有限公司 Message treatment method and device
CN111107389B (en) * 2019-12-31 2021-10-22 广州酷狗计算机科技有限公司 Method, device and system for determining live broadcast watching time length
CN112954311B (en) * 2021-02-08 2023-06-02 福建天晴数码有限公司 Performance test method and system for live streaming media
CN113191818A (en) * 2021-05-19 2021-07-30 湖南快乐阳光互动娱乐传媒有限公司 Method and system for putting floating-layer advertisement in live broadcast

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140165118A1 (en) * 2011-05-12 2014-06-12 Telefonica, S.A. Method and end point for distributing live content stream in a content delivery network
CN106598693A (en) * 2016-05-11 2017-04-26 河南理工大学 Energy consumption and load aware virtual machine integration method based on time delay strategy
CN106937136A (en) * 2017-03-29 2017-07-07 武汉斗鱼网络科技有限公司 Data delay method and system based on statistical information between network direct broadcasting
CN110019359A (en) * 2017-10-16 2019-07-16 阿里巴巴集团控股有限公司 A kind of method, apparatus and system for preventing caching from puncturing
CN107659853A (en) * 2017-11-03 2018-02-02 中广热点云科技有限公司 A kind of live control system of adaptive stream media
CN109788301A (en) * 2019-01-08 2019-05-21 深圳市网心科技有限公司 A kind of live broadcasting method of Streaming Media, terminal device, live broadcast system and computer readable storage medium
CN110213330A (en) * 2019-04-28 2019-09-06 北京奇艺世纪科技有限公司 Pre- supplying system, method, apparatus, electronic equipment and computer-readable medium
CN110809170A (en) * 2019-10-09 2020-02-18 北京达佳互联信息技术有限公司 Time delay determination method and device, commodity link display method and device and server
CN111756820A (en) * 2020-06-11 2020-10-09 北京达佳互联信息技术有限公司 Access processing method and device, electronic equipment and storage medium
CN111935536A (en) * 2020-07-28 2020-11-13 北京达佳互联信息技术有限公司 Live broadcast room request response method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115643419B (en) 2024-08-27
WO2023000890A1 (en) 2023-01-26

Similar Documents

Publication Publication Date Title
US9092830B2 (en) Performing social networking functions using matrix codes
US20170127102A1 (en) Method and electronic device for video recommendation
CN111327917B (en) Live content preview method, device, equipment and storage medium
US9681089B2 (en) Method for capturing content provided on TV screen and connecting contents with social service by using second device, and system therefor
CN108810052B (en) Live broadcast server selection method and device
EP3203748B1 (en) Cloud streaming service system, cloud streaming service method using optimal gpu, and apparatus for same
US20120167151A1 (en) Cloud computing based video service and playing methods
CN104363484B (en) A kind of advertisement sending method and device based on video pictures
CN111836105B (en) Television user identity recognition method and television terminal
CN104363483A (en) Advertisement pushing method and device based on video picture
JP5735672B1 (en) Content distribution system, distribution program, and distribution method
TWI770846B (en) Method and system for providing contents via efficient database architecture for individualized time management
CN104811753A (en) Ordering video charging method and device
CN108600780B (en) Method for pushing information, electronic device and computer readable medium
WO2020125381A1 (en) Method and apparatus for generating information
CN110351581B (en) Data request processing method and device, terminal equipment and storage medium
US10455266B2 (en) Personalized smart-list video channels
CN115643419B (en) Page display method and device for live webcasting and client
CN105760407A (en) Advertisement loading method, device and equipment
US20160247192A1 (en) Systems and methods for dynamic content presentation
CN115905756A (en) Information display method, device, equipment and medium
US20140223471A1 (en) Side channel caching and triggering of contextual advertisements for live broadcast video streaming to mobile computing devices
CN106303619A (en) A kind of advertisement placement method, Apparatus and system
CN113301374A (en) Live broadcast audio and video processing method and device, client and server
WO2014021746A2 (en) Multifunctional system for presenting multimedia contents of optimum quality to an end user

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