Webcast page display method, device and client
By delaying the end request sent by the client, the target duration is calculated based on the number of users watching the broadcast and the preset number of users, which solves the problem of excessive server load at the end of a highly popular live broadcast, and achieves high concurrency processing and timely display of the live broadcast end page. , which improves the user experience.
Patent Information
- Application Number
- CN202110815624.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-19
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-07-19
AI Technical Summary
After a highly popular online live broadcast ends, the server needs to handle a large number of concurrent requests, which causes the query rate per second (QPS) to increase, increases the server load, and affects the rate at which the client displays the live broadcast end page.
After the live broadcast ends, the client delays sending the end request based on the current number of users and the preset number of users, and determines the target duration by calculating the quotient. The delay operation disperses the requests, avoids sending a large number of requests at the same time, and reduces the server load. .
Effectively break up high concurrency, reduce server load, save resources, ensure the smooth display of the live broadcast end page, and improve user experience.
Smart Images

Figure CN115643419B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of live broadcast technology, and in particular to a page display method, device and client for network live broadcast. Background Art
[0002] With the continuous development of Internet technology, online live streaming has been widely used in user life and commercial promotion due to its advantages such as convenience, speed, low cost and strong interactivity.
[0003] At present, the number of viewers of popular online live broadcasts can reach tens of millions or even higher. After the online live broadcast ends, the client requests the end page of the live broadcast from the server, which requires the server to bear tens of millions or even higher concurrent requests, increasing the query per second (QPS) rate of the server, and even requiring additional server resources, which also affects the rate at which the client displays the end page of the live broadcast. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a page display method, device and client for network live broadcast.
[0005] In a first aspect, the present disclosure provides a method for displaying a webcast page, which is applied to a client; the method comprises:
[0006] After a live broadcast ends, the current number of users watching the live broadcast and the preset number of users watching the live broadcast are obtained, where the preset number of users watching the live broadcast is related to the performance parameters of the server;
[0007] When the current number of users watching the broadcast is greater than or equal to the preset number of users watching the broadcast, the target duration is delayed so that the client can delay the operation of the end request. The end request is used to request the server for the live broadcast end page, and the live broadcast end page is used to indicate the end of the network live broadcast;
[0008] Send an end request to the server based on the target duration;
[0009] Receive a final response from the server;
[0010] In response to the end response, the live broadcast end page is displayed.
[0011] Through the method provided in the first aspect, after a live broadcast ends, the client can obtain the current number of users watching the live broadcast so as to determine the popularity of the live broadcast, and can obtain the preset number of users watching the live broadcast related to the performance parameters of the server so as to determine the number of viewers in the live broadcast provided by the server to the client. When the current number of users watching the live broadcast is greater than or equal to the preset number of users watching the live broadcast, the client can determine that it is necessary to delay initiating an end request to the server. Thus, the client can delay the target duration based on the current number of users watching the live broadcast and the preset number of users watching the live broadcast. After the target duration, the client can send an end request to the server according to the target duration. Based on the end request, the server can learn that the client requests the end of the live broadcast, and can send an end response to the client. After receiving the end response, the client can display the live broadcast end page. Therefore, by delaying the end request on the client, tens of millions or even higher requests will not be sent to the server at the same time, thus achieving scattered processing of high concurrency, solving the problem of the server needing to cope with tens of millions or even higher concurrent requests, reducing the server's QPS, and eliminating the need to add additional server resources, saving server costs. It also enables the audience to promptly learn that the live broadcast has ended, achieving the smooth display of the live broadcast end page, and helping to improve the user's viewing experience.
[0012] In one possible design, the method further includes:
[0013] Calculate the integer rounded up of the quotient of the current number of users watching the broadcast divided by the preset number of users watching the broadcast;
[0014] The target duration is determined to be a number less than or equal to an integer.
[0015] In a possible design, when the current number of viewing users is greater than or equal to a preset number of viewing users, the method further includes:
[0016] Display the loading page within the target duration. The loading page is used to indicate that the live broadcast end page is loading.
[0017] In one possible design, the method further includes:
[0018] When the current number of viewing users is less than the preset number of viewing users, an end request is sent to the server, where the end request is used to request a live broadcast end page, and the live broadcast end page is used to indicate the end of the network live broadcast;
[0019] Receive a final response from the server;
[0020] In response to the end response, the live broadcast end page is displayed.
[0021] In one possible design, the performance parameters of the server include: query rate per second.
[0022] In a second aspect, the present disclosure provides a webcast page display device, which is applied to a client; the device includes:
[0023] An acquisition module is used to acquire the current number of users watching the live broadcast and the preset number of users watching the live broadcast after a live broadcast ends, where the preset number of users watching the live broadcast is related to the performance parameters of the server;
[0024] A delay module is used to delay the target duration when the current number of viewing users is greater than or equal to the preset number of viewing users, so that the client can delay the end request. The end request is used to request the live broadcast end page from the server. The live broadcast end page is used to indicate the end of the network live broadcast;
[0025] A sending module is used to send an end request to the server according to the target duration;
[0026] A receiving module, used for receiving a termination response from a server;
[0027] The display module is used to display a live broadcast end page in response to an end response.
[0028] In one possible design, the device further includes:
[0029] The determination module is used to calculate the integer rounded up of the quotient of the current number of viewing users divided by the preset number of viewing users; and determine the value of the target duration to be a number less than or equal to the integer.
[0030] In a possible design, the display module is also used to display a loading page within a target duration when the current number of viewing users is greater than or equal to a preset number of viewing users, and the loading page is used to indicate that the live broadcast end page is loading.
[0031] In a possible design, the sending module is further used to send an end request to the server when the current number of viewing users is less than the preset number of viewing users, the end request is used to request a live broadcast end page, and the live broadcast end page is used to indicate the end of the network live broadcast;
[0032] The receiving module is also used to receive a termination response from the server;
[0033] The display module is also used to display a live broadcast end page in response to an end response.
[0034] In one possible design, the performance parameters of the server include: query rate per second.
[0035] The beneficial effects of the webcast page display device provided in the above-mentioned second aspect and various possible designs of the above-mentioned second aspect can be referred to the beneficial effects brought about by the above-mentioned first aspect and various possible implementation methods of the first aspect, and will not be repeated here.
[0036] In a third aspect, the present disclosure provides a client, comprising: a memory and a processor; the memory is used to store program instructions; the processor is used to call the program instructions in the memory so that the client executes the webcast page display method in the first aspect and any possible design of the first aspect.
[0037] In a fourth aspect, the present disclosure provides a computer storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method for displaying a webcast page in the first aspect and any possible design of the first aspect.
[0038] In a fifth aspect, the present disclosure provides a computer program product, which, when executed on a computer, enables the computer to execute the method for displaying a webcast page in the first aspect and any possible design of the first aspect.
[0039] In a sixth aspect, the present disclosure provides a chip system, which is applied to an electronic device including a display, a memory and a sensor; the chip system includes: a processor; when the processor executes computer instructions stored in the memory, the electronic device executes the page display method of the live broadcast in the first aspect and any possible design of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] 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 present disclosure.
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0042] Figure 1 A schematic diagram of a communication system provided by an embodiment of the present disclosure;
[0043] Figure 2 A signaling interaction diagram of a webcast page display method provided by an embodiment of the present disclosure;
[0044] Figure 3 A schematic diagram of a flow chart of a method for displaying a webcast page provided in an embodiment of the present disclosure;
[0045] Figure 4 A schematic diagram of the structure of a webcast page display device provided in an embodiment of the present disclosure;
[0046] Figure 5A schematic diagram of the structure of a webcast page display device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0047] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0048] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0049] See also Figure 1 , Figure 1 Schematic diagram of a communication system provided by an embodiment of the present disclosure. Figure 1 As shown, the communication system provided by the present disclosure may include: a server and a client, and the server and the client can communicate with each other.
[0050] Among them, the client can be installed in an electronic device, and the client can implement the page display method of the live broadcast of the present invention through an application (application, APP), a public account, a web page, etc. in the electronic device.
[0051] Among them, the electronic device can be a tablet computer, a mobile phone, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart TV, a smart screen, a high-definition TV, a 4K TV, a smart speaker, a smart projector and other devices. The present disclosure does not impose any restrictions on the specific types of electronic devices.
[0052] The present disclosure does not limit the type of operating system of the electronic device, for example, Android system, Linux system, Windows system, iOS system, etc.
[0053] The present disclosure does not limit parameters such as the type and quantity of the server. For example, the server may be a server corresponding to a content delivery network (CDN).
[0054] Based on the above description, the present disclosure will be described in detail in the following embodiments. Figure 1Taking the client and server in as an example, combined with the accompanying drawings and application scenarios, the page display method for live broadcast provided by the present invention is explained in detail.
[0055] See also Figure 2 , Figure 2 The signaling interaction diagram of the webcast page display method provided by the embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the webcast page display method provided by the present disclosure may include:
[0056] S101. After a live broadcast ends, the client obtains the current number of users watching the live broadcast and the preset number of users watching the live broadcast.
[0057] The client can play a live webcast. The present disclosure does not limit the type, content, and display method of the live webcast. After the live webcast ends, the client can obtain the current number of users watching the live webcast and the preset number of users watching the live webcast.
[0058] The current number of users watching the live broadcast can be understood as the actual total number of viewers who are still watching the live broadcast when the live broadcast ends, which can indicate the popularity of the live broadcast.
[0059] The preset number of viewing users can be understood as the range of the number of requests that the server is allowed to receive from the client, and can indicate the number of viewers that the server provides to the client in the live broadcast, such as the maximum number or the median number.
[0060] Furthermore, the preset number of viewing users is related to the performance parameters of the server. The present disclosure does not limit the specific size of the preset number of viewing users. In some embodiments, the performance parameters of the server may include: query per second (QPS).
[0061] S102: The client determines whether the current number of users watching the broadcast is greater than or equal to a preset number of users watching the broadcast.
[0062] Based on the relationship between the current number of viewing users and the preset number of viewing users, the client can determine whether the server can bear the number of requests corresponding to the current number of viewing users.
[0063] When the current number of viewing users is greater than or equal to the preset number of viewing users, the client can determine that the server cannot withstand such a high concurrency, and the client can execute steps S103-S104; when the current number of viewing users is less than the preset number of viewing users, the client can determine that the server can withstand such a high concurrency, and the client can execute step S104.
[0064] S103, the client delays the target duration so that the client delays the end request, the end request is used to request the live broadcast end page from the server, and the live broadcast end page is used to indicate the end of the network live broadcast.
[0065] The client can delay the target duration and then execute step S104. Thus, by delaying the end request that needs to be sent to the server by the client corresponding to each current viewing user, the number of requests corresponding to the number of current viewing users will not be sent at the same time, thus achieving high concurrency dispersion processing, which is beneficial to reducing the QPS of the server without providing additional server resources.
[0066] The target duration may be determined randomly by the client, and / or the target duration may be related to the current number of viewing users and the preset number of viewing users. The present disclosure does not limit the specific value of the target duration.
[0067] In addition, different clients may delay the same or different target durations for the same live webcast. The same client may delay the same or different target durations for different live webcasts. The same client may delay the same or different target durations for the same live webcast after each live webcast. The present disclosure does not limit the foregoing content.
[0068] S104: The client sends an end request to the server according to the target duration.
[0069] The client can send an end request to the server according to the target duration. That is, the client can send a receive request to the server after the target duration has passed, that is, after or when the target duration has passed, the client can send a receive request to the server.
[0070] The end request is used to request the live broadcast end page. The present disclosure does not limit the specific implementation method of the end request. In some embodiments, the end request may carry the client identifier, the network live broadcast identifier, and the identifier of the requested live broadcast end page. The client identifier is used to determine the client. The network live broadcast identifier is used to determine the network live broadcast. The identifier of the requested live broadcast end page is used to notify the server that the client requests the live broadcast end page for the network live broadcast.
[0071] Among them, the live broadcast end page is used to indicate the end of the live broadcast. The present disclosure does not limit the specific implementation method of the live broadcast end page. In some embodiments, the live broadcast end pages of different clients for the same live broadcast can be the same or different. The live broadcast end pages of the same client for different live broadcasts can be the same or different.
[0072] S105. The server sends an end response to the client.
[0073] After receiving the end request, the server may send an end response to the client.
[0074] The end response is used to indicate the end page of the live broadcast. The present disclosure does not limit the specific implementation of the end response. In some embodiments, the end response carries the storage address of the end page of the live broadcast, so that the client obtains the end page of the live broadcast from the storage address. Alternatively, the end response may carry the end page of the live broadcast.
[0075] S106: The client responds to the end response and displays the live broadcast end page.
[0076] After receiving the end response, the client can obtain the live broadcast end page, so that the client can display the live broadcast end page. Thus, the audience can be notified that the live broadcast has ended.
[0077] Among them, the present disclosure does not limit the specific implementation method of the client displaying the live broadcast end page. In some embodiments, the client can pre-negotiate with the server the display method of the live broadcast end page. Alternatively, the server can carry the display method of the live broadcast end page in the end response.
[0078] The webcast page display method provided by the present disclosure is that after a webcast ends, the client can obtain the current number of users watching the webcast so as to determine the popularity of the webcast, and can obtain the preset number of users watching the webcast related to the performance parameters of the server so as to determine the number of viewers in the webcast provided by the server to the client. When the current number of users watching the webcast is greater than or equal to the preset number of users watching the webcast, the client can determine that it is necessary to delay initiating an end request to the server. Thus, the client can delay the target duration based on the current number of users watching the webcast and the preset number of users watching the webcast. After the target duration, the client can send an end request to the server according to the target duration. Based on the end request, the server can learn that the client requests the end of the live broadcast, and can send an end response to the client. After receiving the end response, the client can display the live broadcast end page. Therefore, by delaying the end request on the client, tens of millions or even higher requests will not be sent to the server at the same time, thus achieving scattered processing of high concurrency, solving the problem of the server needing to cope with tens of millions or even higher concurrent requests, reducing the server's QPS, and eliminating the need to add additional server resources, saving server costs. It also enables the audience to promptly learn that the live broadcast has ended, achieving the smooth display of the live broadcast end page, and helping to improve the user's viewing experience.
[0079] Based on the description of the above embodiments, the client can determine the target duration in a variety of ways based on the current number of users watching the broadcast and the preset number of users watching the broadcast.
[0080] In some embodiments, the client may calculate the integer rounded up of the quotient of the current number of viewing users divided by the preset number of viewing users. 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.
[0081] In other embodiments, the client may calculate the difference between the current number of viewing users and the preset number of viewing users, and determine the target duration based on the duration corresponding to the difference. The client may pre-store the corresponding relationship between each difference and duration.
[0082] It should be noted that the present disclosure is not limited to the above two methods for determining the target duration.
[0083] Based on the description of the above embodiment, when it is determined that the current number of users watching the live broadcast is greater than or equal to the preset number of users watching the live broadcast, the client needs to wait for the target time to initiate a request to the server. Therefore, during the target time, the client can continue to maintain the playback screen corresponding to the live broadcast to wait for the display of the live broadcast end page, or jump to a page to avoid the audience mistakenly believing that the live broadcast is stuck.
[0084] The present disclosure does not limit the specific implementation of the page. In some embodiments, the page may be a loading page, which is used to indicate that the live broadcast end page is loading. The present disclosure does not limit the specific implementation of the loading page. In some embodiments, the loading page may be stored in a local storage module of the client, so that the client can quickly obtain it for display.
[0085] Based on the above description, the present disclosure will be described in detail in the following embodiments. Figure 1 Taking the client in as an example, combined with the accompanying drawings and application scenarios, the page display method for live broadcast provided by the present invention is explained in detail.
[0086] See also Figure 3 , Figure 3 The following is a flow chart of a method for displaying a webcast page provided by an embodiment of the present disclosure. Figure 3 As shown, the webcast page display method provided by the present disclosure may include:
[0087] S201. After a live broadcast ends, the client obtains the current number of users watching the live broadcast and the preset number of users watching the live broadcast.
[0088] The specific implementation of step S201 can be found in Figure 2 The description of step S101 in is not repeated here.
[0089] S202. When the current number of users watching the broadcast is greater than or equal to a preset number of users watching the broadcast, the client delays the target duration so that the client performs a delayed operation on the end request. The end request is used to request a live broadcast end page from the server. The live broadcast end page is used to indicate the end of the network live broadcast.
[0090] The specific implementation of step S201 can be found in Figure 2 The description of step S103 in will not be repeated here.
[0091] S203: The client displays a loading page within the target duration.
[0092] S204: After the target duration has passed, the client sends an end request to the server.
[0093] S205: The client receives a termination response from the server.
[0094] S206: The client responds to the end response and displays the live broadcast end page.
[0095] The specific implementation methods of steps S204-S206 can be found in Figure 2 The description of steps S104-S106 in will not be repeated here.
[0096] In summary, when the client determines that it needs to delay initiating a request to the server, it can display a loading page within the target duration, and after the target duration, it can send a receiving request to the server. Thus, the audience can know in advance that the live broadcast has ended, which is conducive to improving the user's viewing experience.
[0097] Exemplarily, the present disclosure provides a page display device for live webcasting.
[0098] See also Figure 4 , Figure 4 The schematic diagram of the structure of the webcast page display device provided by the embodiment of the present disclosure. The webcast page display device of the present disclosure can be set in the client to realize the above Figure 1-Figure 3 The webcast page display method of the embodiment corresponds to the operation of the client. Figure 4 As shown, the webcast page display device 100 provided by the present disclosure may include: an acquisition module 101, a delay module 102, a sending module 103, a receiving module 104 and a display module 105.
[0099] The acquisition module 101 is used to acquire the current number of users watching the live broadcast and the preset number of users watching the live broadcast after a live broadcast ends, where the preset number of users watching the live broadcast is related to the performance parameters of the server;
[0100] The delay module 102 is used to delay the target duration when the current number of viewing users is greater than or equal to the preset number of viewing users, so that the client performs a delay operation on the end request, the end request is used to request the server for the live broadcast end page, and the live broadcast end page is used to indicate the end of the network live broadcast;
[0101] The sending module 103 is used to send an end request to the server according to the target duration;
[0102] The receiving module 104 is used to receive an end response from the server;
[0103] The display module 105 is used to display a live broadcast end page in response to an end response.
[0104] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of the webcast page display device provided by the embodiment of the present disclosure. Figure 5 As shown, the webcast page display device 100 provided by the present disclosure is Figure 4 On the basis of the device structure shown, it can also include:
[0105] The determination module 106 is used to calculate the integer rounded up of the quotient of the current number of viewing users divided by the preset number of viewing users; and determine the value of the target duration to be a number less than or equal to the integer.
[0106] In some embodiments, the display module 105 is further used to display a loading page within the target duration when the current number of viewing users is greater than or equal to a preset number of viewing users, and the loading page is used to indicate that the live broadcast end page is loading.
[0107] In some embodiments, the sending module 103 is further used to send an end request to the server when the current number of viewing users is less than the preset number of viewing users, the end request is used to request a live broadcast end page, and the live broadcast end page is used to indicate the end of the network live broadcast;
[0108] The receiving module 104 is further used to receive an end response from the server;
[0109] The display module 105 is further configured to display a live broadcast end page in response to an end response.
[0110] In some embodiments, the performance parameters of the server include: query rate per second.
[0111] The webcast page display device provided by the present disclosure can execute the above method embodiments. Its specific implementation principles and technical effects can be found in the above method embodiments, and the present disclosure will not repeat them here.
[0112] Exemplarily, 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; when the one or more processors execute the one or more computer programs, the client implements the page display method of the live broadcast of the previous embodiment.
[0113] Exemplarily, the present disclosure provides a chip system, which is applied to an electronic device including a display, a memory and a sensor; the chip system includes: a processor; when the processor executes computer instructions stored in the memory, the electronic device executes the page display method of the live broadcast of the previous embodiment.
[0114] Exemplarily, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor in an electronic device, the method for displaying a webcast page of the foregoing embodiment is implemented.
[0115] Exemplarily, the present disclosure provides a computer program product, which, when executed on a computer, enables the computer to execute the webcast page display method of the foregoing embodiment.
[0116] In the above embodiments, all or part of the functions can be implemented by software, hardware, or a combination of software and hardware. When implemented using software, it can 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. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. Available media can be magnetic media, (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid state disks (SSDs)), etc.
[0117] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0118] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for displaying a webcast page, characterized in that: Applied to a client; the method comprises: After a live webcast ends, the current number of users watching the live webcast and the preset number of users watching the live webcast are obtained, where the preset number of users watching the live webcast is related to the performance parameters of the server; When the current number of users watching the broadcast is greater than or equal to the preset number of users watching the broadcast, delay the target duration so that the client performs a delay operation on the end request, the end request is used to request the server for a live broadcast end page, and the live broadcast end page is used to indicate the end of the network live broadcast; wherein the target duration is determined based on the current number of users watching the broadcast and the preset number of users watching the broadcast; Sending the end request to the server according to the target duration; receiving a completion response from the server; In response to the end response, the live broadcast end page is displayed.
2. The method according to claim 1, characterized in that The method further comprises: Calculate an upward-rounded integer of a quotient of the current number of users watching the video divided by the preset number of users watching the video; The target duration is determined to be a number less than or equal to the integer.
3. The method according to claim 1 or 2, characterized in that: When the current number of viewing users is greater than or equal to the preset number of viewing users, the method further includes: A loading page is displayed within the target duration, and the loading page is used to indicate that the live broadcast end page is loading.
4. The method according to claim 1 or 2, characterized in that: The method further comprises: When the current number of users watching the live broadcast is less than the preset number of users watching the live broadcast, an end request is sent to the server, wherein the end request is used to request a live broadcast end page, and the live broadcast end page is used to indicate the end of the network live broadcast; receiving a completion response from the server; In response to the end response, the live broadcast end page is displayed.
5. The method according to any one of claims 1 to 4, characterized in that: The performance parameters of the server include: query rate per second.
6. A webcast page display device, characterized in that: Applied to a client; the device comprises: An acquisition module, used for acquiring the current number of users watching the live broadcast and the preset number of users watching the live broadcast after a live broadcast ends, wherein the preset number of users watching the live broadcast is related to the performance parameters of the server; a delay module, used for delaying a 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, so that the client performs a delay operation on an end request, 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 the end of the network live broadcast; wherein the target duration is determined based on the current number of users watching the broadcast and the preset number of users watching the broadcast; A sending module, used for sending the end request to the server according to the target duration; A receiving module, used for receiving an end response from the server; A display module is used to display the live broadcast end page in response to the end response.
7. The device according to claim 6, characterized in that The device also includes: The determination module is used to calculate an upward-rounded integer of a quotient of the current number of viewing users divided by the preset number of viewing users; and determine the value of the target duration to be a number less than or equal to the integer.
8. A client, comprising: one or more processors; Memory; And one or more computer programs; wherein the one or more computer programs are stored in the memory; it is characterized in that when the one or more processors execute the one or more computer programs, the client implements the page display method of network live broadcast as described in any one of claims 1-5.
9. A computer storage medium, characterized in that It includes computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the webcast page display method as described in any one of claims 1 to 5.
10. A computer program product, characterized in that When the computer program product runs on a computer, the computer executes the webcast page display method as described in any one of claims 1 to 5.
