Live broadcast scheduling method and device

By returning the timeout scheduling address at the service scheduling node, the audience allows redirecting to obtain the live resource address, which solves the problem that the audience cannot obtain live resources in time during peak online live broadcasts, and improves user experience and system stability.

CN119325001APending Publication Date: 2025-01-17SHANGHAI HODE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411669657.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

During peak online live broadcasts, the audience cannot receive the live broadcast resource address within the specified time, resulting in failed playback and black screen problems, which brings bad experience to users.

Method used

By returning the timeout scheduling address at the service scheduling node, the audience allows the timeout scheduling node to redirect and obtain the live resource address, thus ensuring that the audience can quickly play the live broadcast screen.

Benefits of technology

It effectively reduces users' perception of playback timeout, ensures smooth transmission of live content and good viewing experience for viewers, enhances the system's ability to adapt to traffic peaks, and avoids the risk of service interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119325001A_ABST
    Figure CN119325001A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a live broadcast resource scheduling method which is used in a service scheduling node, and the method comprises the steps: receiving a live broadcast resource request for a target live broadcast room; sending the live broadcast resource request to a resource scheduling node so as to obtain a live broadcast resource address of the target live broadcast room from the resource scheduling node; and under the condition that the live broadcast resource address is not obtained within the preset time range, returning an overtime scheduling address corresponding to the live broadcast resource request to an audience end, so that the audience end accesses an overtime resource scheduling node according to the overtime scheduling address, and obtaining a redirection response for accessing the target live broadcast room from the overtime resource scheduling node. According to the technical scheme provided by the embodiment of the invention, the audience side can successfully play the live broadcast picture without the problems of playing failure, black screen and the like. And meanwhile, the redirection process is transparent to the user, so that the perception of the user on playing timeout can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of network live broadcasting, and in particular, to a live broadcast scheduling method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] With the development of network communication technology, the audience size of online live broadcasts is also expanding. During peak hours such as holidays or weekday evenings, a large number of viewers often open the live broadcast room to watch the live broadcast at the same time. As the number of concurrent requests continues to increase, resource scheduling will take longer and longer, and the timeout rate for users to obtain live broadcast images will also increase significantly, resulting in playback failures, black screens and other problems, making users more aware of playback timeouts and giving them a bad viewing experience.

[0003] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the invention

[0004] The embodiments of the present application provide a live broadcast resource scheduling method, apparatus, computer equipment, computer-readable storage medium, and computer program product to solve or alleviate one or more of the technical problems raised above.

[0005] One aspect of an embodiment of the present application provides a live broadcast resource scheduling method for use in a service scheduling node, the method comprising: Receive a live broadcast resource request for a target live broadcast room; Sending the live broadcast resource request to a resource scheduling node to obtain the live broadcast resource address of the target live broadcast room from the resource scheduling node; If the live broadcast resource address is not obtained within the preset time range, the timeout scheduling address corresponding to the live broadcast resource request is returned to the audience end, so that the audience end can access the timeout resource scheduling node according to the timeout scheduling address, and obtain a redirection response for accessing the target live broadcast room from the timeout resource scheduling node.

[0006] Optionally, the live broadcast resource request includes status information of the viewer terminal, and the method further includes: Determine a target live stream according to the state information and multiple live streams of the target live room; The status information and the target live stream are sent to the resource scheduling node so that the resource scheduling node returns the access address of the target resource node; wherein the access address of the target resource node is the live resource address, and the target resource node is determined based on the status information and the target live stream.

[0007] Optionally, the live broadcast resource request includes a user number, and returning a timeout scheduling address corresponding to the live broadcast resource request to the viewer end includes: Generate a request number according to the user number; The timeout scheduling address is generated according to the request number; the timeout scheduling address is used to return to the viewer end.

[0008] Optionally, the redirection response is obtained by: Acquire a request result of the live resource request according to the request number, wherein the request result includes the live resource address; The redirection response is generated according to the live broadcast resource address, and the redirection response includes the live broadcast resource address.

[0009] Optionally, the redirection response is generated according to the live broadcast resource address actively sent by the resource scheduling node, and the resource scheduling node triggers the active sending in a timeout situation.

[0010] Another aspect of the embodiment of the present application provides a live broadcast resource scheduling method for a viewer end, the method comprising: In response to entering a target live broadcast room, sending a live broadcast resource request for the target live broadcast room; Receive a target live resource address or a timeout scheduling address corresponding to the live resource request; Upon receiving the timeout scheduling address, accessing the timeout scheduling node according to the timeout scheduling address; Receiving a redirection response returned by the timeout scheduling node; Access the corresponding target resource node according to the redirection response to obtain the target live broadcast resource of the target live broadcast room; The live broadcast screen is displayed according to the target live broadcast resource.

[0011] Another aspect of an embodiment of the present application provides a live broadcast resource scheduling device for use in a service scheduling node, the device comprising: A receiving module, used to receive a live broadcast resource request for a target live broadcast room; A sending module, used to send the live broadcast resource request to a resource scheduling node, so as to obtain the live broadcast resource address of the target live broadcast room from the resource scheduling node; The return module is used to return the timeout scheduling address corresponding to the live resource request to the audience end if the live resource address is not obtained within the preset time range, so that the audience end can access the timeout resource scheduling node according to the timeout scheduling address and obtain a redirection response for accessing the target live room from the timeout resource scheduling node.

[0012] Another aspect of an embodiment of the present application provides a live broadcast resource scheduling device for a viewer end, the device comprising: A sending module, configured to send a live broadcast resource request for the target live broadcast room in response to entering the target live broadcast room; A first receiving module, configured to receive a timeout scheduling address or a target live resource address corresponding to the live resource request; A first access module, configured to access a timeout scheduling node according to the timeout scheduling address when the timeout scheduling address is received; A second receiving module, used to receive a redirection response returned by the timeout scheduling node; A second access module is used to access the corresponding target resource node according to the redirection response to obtain the target live broadcast resource of the target live broadcast room; The display module is used to display the live broadcast picture according to the target live broadcast resource.

[0013] Another aspect of an embodiment of the present application provides a computer device, including: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein: the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.

[0014] Another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described above is implemented.

[0015] Another aspect of an embodiment of the present application provides a computer program product, including a computer program, which implements the method described above when executed by a processor.

[0016] Another aspect of an embodiment of the present application provides a live broadcast resource scheduling method, characterized in that it is used in a resource scheduling system, the resource scheduling system includes a service scheduling node, a resource scheduling node and a timeout resource scheduling node, and the method includes: The service scheduling node receives a live broadcast resource request for a target live broadcast room, and sends the live broadcast resource request to the resource scheduling node; The resource scheduling node returns the live resource address of the target live broadcast room according to the live resource request; When the service scheduling node does not receive the live resource address within a preset time range, the service scheduling node sends the timeout scheduling address corresponding to the live resource request to the viewer terminal, so that the viewer terminal accesses the timeout scheduling node according to the timeout scheduling address; The timeout scheduling node returns a redirection response to the viewer terminal based on the access of the viewer terminal; The redirection response includes the live broadcast resource address of the target live broadcast room, which is used for the audience to access the target live broadcast room.

[0017] Optionally, the live broadcast resource request includes status information of the viewer terminal, and the method further includes: The service scheduling node determines a target live stream according to the state information and a plurality of live streams of the target live room; The service scheduling node sends the status information and the target live stream to the resource scheduling node; The resource scheduling node determines a target resource node according to the state information and the target live stream; The resource scheduling node returns the access address of the target resource node; wherein the access address of the target resource node is the live broadcast resource address.

[0018] Optionally, the live broadcast resource request includes a user number, and sending a timeout scheduling address corresponding to the live broadcast resource request to the viewer terminal includes: The service scheduling node generates a request number according to the user number; The service scheduling node generates the timeout scheduling address according to the request number; the timeout scheduling address is used to return to the viewer end.

[0019] Optionally, the method further comprises: The timeout scheduling node obtains a request result of the live resource request according to the request number, where the request result includes the live resource address; The timeout scheduling node generates the redirection response according to the live broadcast resource address, and the redirection response includes the live broadcast resource address.

[0020] Optionally, the method further comprises: The resource scheduling node actively sends the live resource address to the timeout scheduling node in the event of a timeout; The supermarket scheduling node generates the redirection response according to the live broadcast resource address actively sent by the resource scheduling node.

[0021] The embodiment of the present application adopts the above technical solution, which can include the following advantages: when the audience end cannot receive the live resource address within the specified time, the timeout scheduling address is returned, so that the audience end can redirect to the live resource address by accessing the timeout scheduling node, thereby obtaining the live resource. As a result, the audience end can quickly play the live screen without problems such as playback failure and black screen. At the same time, the redirection process is transparent to the user, which can reduce the user's perception of playback timeout. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0022] Figure 1 The operating environment diagram of the live broadcast resource scheduling method according to the first embodiment of the present application is schematically shown; Figure 2 The flowchart of the live broadcast resource scheduling method according to the first embodiment of the present application is schematically shown; Figure 3 The newly added flow chart of the live broadcast resource scheduling method according to the first embodiment of the present application is schematically shown; Figure 4 Schematically shows Figure 2 Flow chart of sub-steps of step S204; Figure 5 Another newly added flow chart of the live broadcast resource scheduling method according to the first embodiment of the present application is schematically shown; Figure 6 Another newly added flow chart of the live broadcast resource scheduling method according to the first embodiment of the present application is schematically shown; Figure 7 The flowchart of the live broadcast resource scheduling method according to the second embodiment of the present application is schematically shown; Figure 8 The newly added flow chart of the live broadcast resource scheduling method according to the second embodiment of the present application is schematically shown; Fig. 9 Schematically shows Figure 7 Flow chart of sub-steps of step S702; Fig.10 Another newly added flow chart of the live broadcast resource scheduling method according to the second embodiment of the present application is schematically shown; Fig.11 The flowchart of the live broadcast resource scheduling method according to the third embodiment of the present application is schematically shown; Fig.12 is an application example diagram of the live broadcast resource scheduling method according to an embodiment of the present application; Fig.13 A block diagram of a live broadcast resource scheduling device according to Embodiment 4 of the present application is schematically shown; Fig.14 A block diagram of a live broadcast resource scheduling device according to Embodiment 5 of the present application is schematically shown; and Fig.15 The hardware architecture diagram of the computer device according to the sixth embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0024] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0025] In the description of the present application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed, but are only used to facilitate the description of the present application and to distinguish each step, and therefore should not be understood as a limitation on the present application.

[0026] First, the following terms are explained: Redirect response: It is a status code in the HTTP protocol, indicating that the resource requested by the client has been temporarily or permanently moved to another address. The server tells the client the new location it should visit by sending a specific status code (such as 301, 302, 307, etc.) and a new URL (Location header).

[0027] Location header: The Location header is part of the HTTP response, indicating the new address, and the client jumps according to this instruction. This header appears in the response of the status code, such as 301 (permanently moved), 302 (temporary move), etc.

[0028] Business scheduling: refers to the user scheduling process and business-related parts, such as allocating different encoders and bit rates based on the user viewing volume of the live broadcast room and the type of live broadcast (games, digital, etc.), and selecting the live broadcast stream with appropriate resolution and bit rate based on the user's performance and bandwidth.

[0029] Resource scheduling: refers to the part of the user scheduling process related to access node selection, such as which nodes the flow is distributed on and which nodes match the user's region and operator.

[0030] Live streaming: Live streaming refers to the transmission of audio and video data streams in real time over the Internet. It allows users to watch content as it is being broadcasted, without downloading or waiting for the video to buffer.

[0031] http302: The HTTP 302 status code means "temporary redirection", telling the browser or client that the requested resource is temporarily located at another URL. The client should re-initiate the request using the URL specified in the Location header.

[0032] URL: is a unique address used to locate and access resources on the Internet. It consists of the following parts: protocol (such as http or https), domain name (such as www.example.com), path (such as / path / to / resource), and possible query parameters (starting with ?, followed by parameters) and anchors (starting with #, used for positioning within the page).

[0033] CDN: Content Distribution Network is a technology that improves website loading speed and performance by caching content on globally distributed servers. By storing data closer to users, latency is reduced and content delivery is accelerated.

[0034] Secondly, to facilitate those skilled in the art to understand the technical solutions provided by the embodiments of the present application, the following is an explanation of the relevant technologies: With the continuous development of the Internet, the audience of online live broadcasts continues to expand, and the test on the resource scheduling capabilities of live broadcast platforms continues to increase. The inventors found that when encountering peak periods of live broadcast traffic such as prime time in the evening, popular events or competitions, the concurrent traffic requests generated by a large number of viewers opening the live broadcast room at the same time will make it take longer and longer for the live broadcast platform to perform resource scheduling. At this time, the timeout rate for users to obtain live broadcast images will increase significantly, and even problems such as playback failure and black screen may occur, which will bring a bad experience to users.

[0035] To this end, the embodiment of the present application provides a live broadcast resource scheduling technical solution. In this technical solution, when the viewer end cannot receive the live broadcast resource address within the specified time, the service scheduling node returns the timeout scheduling address, so that the viewer end can redirect to the live broadcast resource address by accessing the timeout scheduling node, thereby obtaining the live broadcast resource. See below for details.

[0036] Finally, for ease of understanding, an exemplary operating environment is provided below.

[0037] like Figure 1 As shown, the operating environment diagram includes: server 2, network 4, CDN node 6, and audience terminal 8.

[0038] The server 2 may be a server cluster or a cloud computing service center. The server 2 may be configured with a resource scheduling system, which may include a service scheduling node, a resource scheduling node, and a timeout resource scheduling node. The server 2 may provide services such as storage, forwarding, configuration, and statistical analysis. For example, it may provide storage services for live broadcast data, user data, resource scheduling data, and the like, and may provide forwarding services for live broadcast data, request information, and the like.

[0039] The network 4 may include various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, and / or proxy devices, etc. The network 4 may include physical links, such as coaxial cable links, twisted pair cable links, optical fiber links, combinations thereof, and / or the like. The network 4 may include wireless links, such as cellular links, satellite links, Wi-Fi links, and / or the like.

[0040] The CDN node 6 can provide content distribution services. The CDN node receives the scheduling of the server 2 and can be configured to: respond to a request for a specific resource (such as a live broadcast file) and provide the corresponding resource to the viewer.

[0041] The viewer terminal 8 may be configured to receive the live broadcast data in real time through the CDN node 6. The viewer terminal 8 may be any type of computing device, such as a smart phone, a tablet device, a laptop computer, a set-top box, a smart TV, etc. The viewer terminal 8 may have a built-in browser or a special program, and receive the live broadcast data through the browser or the special program to output content to the user. The content may include video, audio, comments, text data and / or the like.

[0042] It should be noted that the number of servers 2, networks 4, CDN nodes 6, and viewer terminals 8 in the figure is only for illustration and is not intended to limit the scope of patent protection of this application. Depending on the actual situation, there may be any number of servers, networks, CDN nodes, and viewer terminals.

[0043] The technical solutions of the present application are described below through multiple embodiments. It should be noted that these embodiments can be implemented in a variety of different forms and should not be construed as being limited to the embodiments described here.

[0044] Embodiment 1 Figure 2 The flowchart of the live broadcast resource scheduling method according to the first embodiment of the present application is schematically shown.

[0045] like Figure 2 As shown, the live broadcast resource scheduling method may include steps S200 to S206, wherein: Step S200: The service scheduling node receives a live broadcast resource request for a target live broadcast room, and sends the live broadcast resource request to the resource scheduling node.

[0046] Step S202: The resource scheduling node returns the live resource address of the target live broadcast room according to the live broadcast resource request.

[0047] Step S204: If the service scheduling node does not receive the live resource address within a preset time range, the service scheduling node sends the timeout scheduling address corresponding to the live resource request to the viewer terminal, so that the viewer terminal accesses the timeout scheduling node according to the timeout scheduling address.

[0048] Step S206, the timeout scheduling node returns a redirection response to the audience terminal based on the access of the audience terminal; wherein the redirection response includes the live broadcast resource address of the target live broadcast room, which is used for the audience terminal to access the target live broadcast room.

[0049] In the live resource scheduling method provided in this embodiment, when the audience end cannot receive the live resource address within the specified time, the service scheduling node returns the timeout scheduling address, so that the audience end can redirect to the live resource address by accessing the timeout scheduling node, thereby obtaining the live resource. In this way, the audience end can play the live screen without problems such as playback failure and black screen. At the same time, the redirection process is transparent to the user, which can reduce the user's perception of playback timeout.

[0050] The following combination Figure 2 , each step in steps S200~S206 and other optional steps are described in detail.

[0051] Step S200 The service scheduling node receives a live broadcast resource request for a target live broadcast room, and sends the live broadcast resource request to the resource scheduling node.

[0052] In this embodiment, the service scheduling node will respond to and forward the live resource request sent by the viewer when opening the target live room, and complete the scheduling of live resources together with the resource scheduling node. In this way, efficient management and allocation of live resources can be achieved, ensuring smooth transmission of live content and a good viewing experience for the audience.

[0053] Step S202 The resource scheduling node returns the live resource address of the target live broadcast room according to the live resource request.

[0054] In this embodiment, the resource scheduling node will return the corresponding live resource address according to the live resource request forwarded by the service scheduling node, so that the audience can obtain the live resource through this address and finally open the live room. In this way, fast and accurate live resource positioning can be achieved, improving the viewing efficiency and satisfaction of the audience.

[0055] In an optional embodiment, if Figure 3 As shown, the live broadcast resource request includes the status information of the viewer terminal, and the method further includes: Step S300: The service scheduling node determines a target live stream according to the status information and multiple live streams of the target live room.

[0056] Step S302: The service scheduling node sends the status information and the target live stream to the resource scheduling node.

[0057] Step S304: the resource scheduling node determines a target resource node according to the status information and the target live stream.

[0058] Step S306, the resource scheduling node returns the access address of the target resource node; wherein the access address of the target resource node is the live broadcast resource address.

[0059] In specific implementation, the status information may include the number of users viewing the target live broadcast room requested by the audience, the type of live broadcast room (such as game live broadcast, digital technology live broadcast, etc.), the performance and bandwidth of the audience's equipment, etc. According to actual needs, the status information may also include information such as the audience's location and network operator.

[0060] The service scheduling node can allocate different encoders and bit rates to the audience end based on this information, and select a live stream with a suitable resolution bit rate as the target live stream. The resource scheduling node can select a suitable live resource node for the audience end based on this information. In some embodiments, the live resource node can be a CDN node.

[0061] In this embodiment, the most suitable live stream and resource node are selected for the audience according to their actual situation, which can achieve a better live viewing experience, reduce latency, improve video quality and stability, and thus improve user satisfaction.

[0062] Step S204 If the service scheduling node does not receive the live resource address within a preset time range, the service scheduling node sends the timeout scheduling address corresponding to the live resource request to the audience terminal, so that the audience terminal accesses the timeout scheduling node according to the timeout scheduling address.

[0063] In specific implementation, the timeout scheduling address and the live resource address can be similar in structure and composition. The difference is that the audience accesses the timeout scheduling node through the timeout scheduling address instead of the CDN node. This allows the audience to smoothly switch to the timeout scheduling node without additional configuration, improving the flexibility of the system and user experience.

[0064] According to actual needs, the preset time range can be set to 500ms, 800ms, 1000ms, etc. For example, if the time limit of the request timeout setting is 2s (that is, if the viewer does not receive the live resource address within 2s, it will be displayed as timeout), then the time required for the service scheduling node to perform service scheduling (for example, 1s) is removed, and 200ms of return time is reserved for returning the result to the viewer. Finally, the timeout time set for resource scheduling is 800ms, that is, the preset time range is set to 800ms.

[0065] When there is a traffic peak, a large number of concurrent requests may cause too much pressure on the resource scheduling node responsible for allocating resource nodes, resulting in scheduling timeout, and thus failing to return the live resource address to the business scheduling node within the specified time.

[0066] In view of this, the reliability of the system is improved by introducing an overtime scheduling mechanism. When a resource scheduling node times out, it responds quickly and guides the audience to the overtime scheduling node to ensure the continuity and stability of the live broadcast service. This mechanism not only improves the user experience, but also enhances the system's ability to adapt to traffic peaks and reduces the risk of service interruption due to timeouts.

[0067] In an optional embodiment, the live broadcast resource request includes a user ID, such as Figure 4 As shown, step S204 includes: Step S400: The service scheduling node generates a request number according to the user number.

[0068] Step S402: the service scheduling node generates the timeout scheduling address according to the request number; the timeout scheduling address is used to return to the viewer terminal.

[0069] In this embodiment, a unique request number and timeout scheduling address are generated for each user request, which can improve the efficiency and accuracy of the system in processing requests and ensure that the timeout scheduling mechanism can respond quickly and accurately when a resource scheduling node is delayed or fails.

[0070] Step S206 , the timeout scheduling node returns a redirection response to the audience terminal based on the access of the audience terminal; wherein the redirection response includes the live broadcast resource address of the target live broadcast room, which is used for the audience terminal to access the target live broadcast room.

[0071] In specific implementation, the redirection response can be in the form of http302 status code, and the corresponding live resource address is written in its location header. According to actual needs, other available forms can also be used to generate the redirection response.

[0072] In this embodiment, by redirecting the viewer terminal that fails to obtain the live broadcast resource within the specified time to the corresponding live broadcast resource address, the continuity and smoothness of the live broadcast can be ensured, and the viewer's viewing satisfaction can be enhanced. At the same time, the redirection process is transparent to the user and does not require manual operation, which can reduce the user's perception of playback timeout.

[0073] In an optional embodiment, if Figure 5 As shown, the method also includes: Step S500, the timeout scheduling node obtains the request result of the live resource request according to the request number, and the request result includes the live resource address. Step S502: The timeout scheduling node generates the redirection response according to the live broadcast resource address, and the redirection response includes the live broadcast resource address.

[0074] In this embodiment, the timeout scheduling node queries the database or the like for the live resource address assigned by the resource scheduling node to the viewer terminal, and embeds it in the redirection response. Thus, the viewer terminal can be redirected to the live resource address, thereby obtaining the correct live resource, improving the fluency and satisfaction of the user in watching the live broadcast.

[0075] In an optional embodiment, if Figure 6 As shown, the method also includes: Step S600, the resource scheduling node actively sends the live resource address to the timeout scheduling node in the event of a timeout; Step S602: The timeout scheduling node generates the redirection response according to the live broadcast resource address actively sent by the resource scheduling node.

[0076] In this embodiment, when the resource scheduling node senses that it has timed out and has not returned the live resource address to the service scheduling node, it will actively send the address to the timeout scheduling node, so that the timeout scheduling node can directly generate a redirection response based on the address when being accessed, without having to obtain the address by querying a database, etc. In this way, the workflow of the timeout scheduling node can be accelerated, the response speed of the system can be improved, the timeout waiting time of the audience can be further reduced, and the viewing experience of the audience can be improved.

[0077] Embodiment 2 The method embodiment can be executed in a service scheduling node. In the following, the service scheduling node is taken as the single execution subject of this process.

[0078] Figure 7 The flowchart of the live broadcast resource scheduling method according to the second embodiment of the present application is schematically shown.

[0079] like Figure 7 As shown, the live broadcast resource scheduling method may include steps S700 to S704, wherein: Step S700, receiving a live broadcast resource request for a target live broadcast room.

[0080] Step S702: Send the live broadcast resource request to a resource scheduling node to obtain the live broadcast resource address of the target live broadcast room from the resource scheduling node.

[0081] Step S704, if the live broadcast resource address is not obtained within the preset time range, the timeout scheduling address corresponding to the live broadcast resource request is returned to the audience end, so that the audience end can access the timeout resource scheduling node according to the timeout scheduling address, and obtain a redirection response for accessing the target live broadcast room from the timeout resource scheduling node.

[0082] The live resource scheduling method provided in this embodiment returns a timeout scheduling address when the viewer end fails to receive the live resource address within the specified time, so that the viewer end can redirect to the live resource address by accessing the timeout scheduling node, thereby obtaining the live resource. In this way, the viewer end can successfully play the live screen without problems such as playback failure and black screen. At the same time, the redirection process is transparent to the user, which can reduce the user's perception of playback timeout.

[0083] The following combination Figure 7 , each step in steps S700~S704 and other optional steps are explained in detail.

[0084] Step S700 , receiving a live broadcast resource request for a target live broadcast room.

[0085] In this embodiment, the service scheduling node automatically captures and processes live broadcast resource requests from users by monitoring network requests to achieve rapid response.

[0086] Step S702 , sending the live broadcast resource request to the resource scheduling node to obtain the live broadcast resource address of the target live broadcast room from the resource scheduling node.

[0087] In this embodiment, the service scheduling node obtains the live resource address generated according to the request of the viewer terminal from the resource scheduling node, so that the viewer can obtain the live resource through this address and finally open the live broadcast room. In this way, fast and accurate live resource positioning can be achieved, improving the viewing efficiency and satisfaction of the viewer.

[0088] In an optional embodiment, if Figure 8 As shown, the live broadcast resource request includes the status information of the viewer terminal, and the method further includes: Step S800: determining a target live stream according to the state information and multiple live streams of the target live room.

[0089] Step S802, sending the status information and the target live stream to the resource scheduling node, so that the resource scheduling node returns the access address of the target resource node; wherein the access address of the target resource node is the live resource address, and the target resource node is determined based on the status information and the target live stream.

[0090] In specific implementation, the status information may include the number of users watching the target live broadcast room requested by the audience, the live broadcast type of the live broadcast room (such as game live broadcast, digital technology live broadcast, etc.), the device performance and bandwidth conditions of the audience, etc. The service scheduling node can allocate different encoders and bit rates to the audience based on this information, and select a live broadcast stream with a suitable resolution and bit rate as the target live broadcast stream.

[0091] According to actual needs, the status information may also include information such as the location of the viewer and the network operator, and the resource scheduling node may be configured to select a suitable live resource node for the viewer based on the information to provide live resources.

[0092] In this embodiment, the most suitable live stream and resource node are selected for the audience according to their actual situation, which can achieve a better live viewing experience, reduce latency, improve video quality and stability, and thus improve user satisfaction.

[0093] Step S704, if the live broadcast resource address is not obtained within the preset time range, the timeout scheduling address corresponding to the live broadcast resource request is returned to the audience end, so that the audience end can access the timeout resource scheduling node according to the timeout scheduling address, and obtain a redirection response for accessing the target live broadcast room from the timeout resource scheduling node.

[0094] In specific implementation, the timeout scheduling address and the live resource address can be similar in structure and composition. The difference is that the audience accesses the timeout scheduling node through the timeout scheduling address instead of the CDN node. This allows the audience to smoothly switch to the timeout scheduling node without additional configuration, improving the flexibility of the system and user experience. The redirection response can be in the form of an http302 status code, and the corresponding live resource address is written in its location header. According to actual needs, other available forms can also be used to generate redirection responses.

[0095] According to actual needs, the preset time range can be set to 500ms, 800ms, 1000ms, etc. For example, if the time limit of the request timeout setting is 2s (that is, if the viewer does not receive the live resource address within 2s, it will be displayed as timeout), then the time required for the service scheduling node to perform service scheduling (for example, 1s) is removed, and 200ms of return time is reserved for returning the result to the viewer. Finally, the timeout time set for resource scheduling is 800ms, that is, the preset time range is set to 800ms.

[0096] When there is a traffic peak, a large number of concurrent requests may cause too much pressure on the resource scheduling node responsible for allocating resource nodes, resulting in scheduling timeout, and thus failing to return the live resource address to the business scheduling node within the specified time.

[0097] In view of this, in this embodiment, the reliability of the system is improved by introducing a timeout scheduling mechanism. In the event of a timeout at a resource scheduling node, a quick response is provided to guide the viewer end to the timeout scheduling node, thereby ensuring the continuity and stability of the live broadcast service. This mechanism not only improves the user experience, but also enhances the system's adaptability to traffic peaks and reduces the risk of service interruption due to timeouts. At the same time, by redirecting the viewer end that fails to obtain the live broadcast resource within the specified time to the corresponding live broadcast resource address, the continuity and smoothness of the live broadcast can be ensured, thereby enhancing the audience's viewing satisfaction. The redirection process is transparent to the user and does not require manual operation, thereby reducing the user's perception of playback timeouts.

[0098] In an optional embodiment, if Fig. 9 As shown, the live broadcast resource request includes a user number, and step S702 includes: Step S900: Generate a request number according to the user number.

[0099] Step S902, generating the timeout scheduling address according to the request number; the timeout scheduling address is used to return to the viewer end.

[0100] In this embodiment, by generating a unique request number and a corresponding timeout scheduling address for each user request, the efficiency and accuracy of the system in processing requests can be improved, ensuring that the timeout scheduling mechanism can respond quickly and accurately when a resource scheduling node is delayed or fails.

[0101] In an optional embodiment, if Fig.10 As shown, the redirection response is obtained by the following operations: Step S1000: obtaining a request result of the live resource request according to the request number, wherein the request result includes the live resource address.

[0102] Step S1002: Generate the redirection response according to the live broadcast resource address, wherein the redirection response includes the live broadcast resource address.

[0103] In this embodiment, the timeout scheduling node queries the database or the like for the live resource address assigned by the resource scheduling node to the viewer terminal, and embeds it in the redirection response. Thus, the viewer terminal can be redirected to the live resource address, thereby obtaining the correct live resource, improving the fluency and satisfaction of the user in watching the live broadcast.

[0104] In an optional embodiment, the redirection response is generated according to the live broadcast resource address actively sent by the resource scheduling node, and the resource scheduling node triggers the active sending in a timeout situation.

[0105] In this embodiment, when the resource scheduling node senses that it has timed out and has not returned the live resource address to the service scheduling node, it will actively send the address to the timeout scheduling node, so that the timeout scheduling node can directly generate a redirection response based on the address when being accessed, without having to obtain the address by querying a database, etc. In this way, the workflow of the timeout scheduling node can be accelerated, the response speed of the system can be improved, the timeout waiting time of the audience can be further reduced, and the viewing experience of the audience can be improved.

[0106] Embodiment 3 This method embodiment can be executed on the viewer terminal 8. The viewer terminal 8 is taken as the single execution subject of this process.

[0107] Fig.11 The flowchart of the live broadcast resource scheduling method according to the third embodiment of the present application is schematically shown.

[0108] like Fig.11As shown, the live broadcast resource scheduling method may include steps S1100 to S206, wherein: Step S1100, in response to entering a target live broadcast room, sending a live broadcast resource request for the target live broadcast room.

[0109] Step S1102, receiving a target live resource address or a timeout scheduling address corresponding to the live resource request.

[0110] Step S1104: upon receiving the timeout scheduling address, accessing the timeout scheduling node according to the timeout scheduling address.

[0111] Step S1106: receiving a redirection response returned by the timeout scheduling node.

[0112] Step S1108, accessing the corresponding target resource node according to the redirection response to obtain the target live broadcast resource of the target live broadcast room.

[0113] Step S1110, displaying the live broadcast picture according to the target live broadcast resource.

[0114] In the live resource scheduling method provided in this embodiment, when the audience end cannot receive the live resource address within the specified time, the audience end will access the timeout scheduling node through the timeout scheduling address to redirect to the live resource address, thereby obtaining the live resource. As a result, the audience end can successfully play the live screen without problems such as playback failure and black screen. At the same time, the redirection process is transparent to the user, which can reduce the user's perception of playback timeout.

[0115] In order to make this application easier to understand, the following Fig.12 Provide an exemplary application, A is the audience end. Among them: S11, the viewer terminal 8A selects to enter the target live broadcast room and sends a live broadcast resource request to the service scheduling node in the server (as indicated by line 1); S12, the service scheduling node receives the live broadcast resource request, and learns from the request that the target live broadcast room is a game live broadcast room, 1,000 viewers are watching the live broadcast, and the viewer terminal 8A is using a WIFI network; S13, the service scheduling node selects live stream a as the target live stream according to the above-obtained information; S14, the service scheduling node forwards the live broadcast resource request and live broadcast stream a to the resource scheduling node (as indicated by line 2); S15, the resource scheduling node learns from the request that the viewer terminal 8A is located in Suzhou, Jiangsu, and the operator used is China Mobile, and selects the resource node b as the target resource node according to the above information, and determines the live resource address as https: / / cn-jssz-cm-01.zhibo.com / live / 1111.flv?Rid=10235; S16: The service scheduling node does not receive the live resource address from the resource scheduling node within 800ms, and is judged as timeout; S17, the service scheduling node generates a request number RID=10235 according to the user number ID in the live resource request, further generates a timeout scheduling address https: / / to.zhibo.com / live / 1111.flv?Rid=10235, and returns it to the viewer terminal 8A (as indicated by line 3); S18, after receiving the timeout scheduling address, the viewer terminal 8A accesses the timeout scheduling node through the address (such as the indication line 4); S19, after being accessed, the timeout scheduling node receives the live resource address (as indicated by line 2') actively sent by the resource scheduling node after sensing the timeout; S20, the timeout scheduling node generates an http302 status code according to the live resource address and returns it to the viewer terminal 8A (as indicated by line 5); S21, after receiving the http302 status code, the viewer is redirected to the live broadcast resource address to access the resource node b, thereby successfully opening the target live broadcast room and playing the live broadcast picture (as shown in the indicator line 6).

[0116] Embodiment 4 Fig.13 The block diagram of the live broadcast resource scheduling device according to the fourth embodiment of the present application is schematically shown, which is used in the service scheduling node. The device can be divided into one or more program modules, one or more program modules are stored in the storage medium, and are executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. Fig.13 As shown, the device 10000 may include: a receiving module 11000, a sending module 12000, and a returning module 13000, wherein: The receiving module 11000 is used to receive a live broadcast resource request for a target live broadcast room; The sending module 12000 is used to send the live broadcast resource request to the resource scheduling node to obtain the live broadcast resource address of the target live broadcast room from the resource scheduling node; Return module 13000 is used to return the timeout scheduling address corresponding to the live broadcast resource request to the audience end if the live broadcast resource address is not obtained within the preset time range, so that the audience end can access the timeout resource scheduling node according to the timeout scheduling address, and obtain a redirection response for accessing the target live broadcast room from the timeout resource scheduling node.

[0117] As an optional embodiment, the live broadcast resource request includes the status information of the viewer terminal, and the device may also be used for: Determine a target live stream according to the state information and multiple live streams of the target live room; The status information and the target live stream are sent to the resource scheduling node so that the resource scheduling node returns the access address of the target resource node; wherein the access address of the target resource node is the live resource address, and the target resource node is determined based on the status information and the target live stream.

[0118] As an optional embodiment, the live broadcast resource request includes a user number, and the return module 13000 may also be used for: Generate a request number according to the user number; The timeout scheduling address is generated according to the request number; the timeout scheduling address is used to return to the viewer end.

[0119] As an optional embodiment, the redirection response is obtained by the following operations: Acquire a request result of the live resource request according to the request number, wherein the request result includes the live resource address; The redirection response is generated according to the live broadcast resource address, and the redirection response includes the live broadcast resource address.

[0120] As an optional embodiment, the redirection response is generated according to the live broadcast resource address actively sent by the resource scheduling node, and the resource scheduling node triggers the active sending in a timeout situation.

[0121] Embodiment 5 Fig.14 The block diagram of the live broadcast resource scheduling device according to the fifth embodiment of the present application is schematically shown, which is used for the audience end. The device can be divided into one or more program modules, one or more program modules are stored in a storage medium, and are executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. Fig.14As shown, the device 20000 may include: a sending module 21000, a first receiving module 22000, a first access module 23000, a second receiving module 24000, a second access module 25000, and a display module 26000, wherein: The sending module 21000 is used for sending a live broadcast resource request for the target live broadcast room in response to entering the target live broadcast room; The first receiving module 22000 is used to receive a timeout scheduling address or a target live resource address corresponding to the live resource request; A first access module 23000 is configured to access a timeout scheduling node according to the timeout scheduling address when the timeout scheduling address is received; The second receiving module 24000 is used to receive a redirection response returned by the timeout scheduling node; The second access module 25000 is used to access the corresponding target resource node according to the redirection response to obtain the target live broadcast resource of the target live broadcast room; The display module 26000 is used to display the live broadcast picture according to the target live broadcast resource.

[0122] Embodiment 6 Fig.15 The hardware architecture diagram of a computer device 100000 suitable for implementing a live broadcast resource scheduling method according to Embodiment 6 of the present application is schematically shown. In some embodiments, the computer device 100000 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers). Fig.15 As shown, the computer device 100000 includes but is not limited to: a memory 100010, a processor 100020, and a network interface 100030 that can communicate with each other through a system bus. Among them: The memory 10010 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 100010 can be an internal storage module of the computer device 100000, such as a hard disk or memory of the computer device 100000. In other embodiments, the memory 100010 can also be an external storage device of the computer device 100000, such as a plug-in hard disk equipped on the computer device 100000, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 100010 can also include both the internal storage module of the computer device 100000 and its external storage device. In this embodiment, the memory 100010 is generally used to store the operating system and various application software installed on the computer device 100000, such as the program code of the live broadcast resource scheduling method, etc. In addition, the memory 100010 can also be used to temporarily store various data that have been output or will be output.

[0123] In some embodiments, the processor 100020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. The processor 100020 is generally used to control the overall operation of the computer device 100000, such as performing control and processing related to data interaction or communication with the computer device 100000. In this embodiment, the processor 100020 is used to run the program code stored in the memory 100010 or process data.

[0124] The network interface 100030 may include a wireless network interface or a wired network interface, and the network interface 100030 is generally used to establish a communication link between the computer device 100000 and other computer devices. For example, the network interface 100030 is used to connect the computer device 100000 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 100000 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.

[0125] It should be pointed out that Fig.15 Only a computer device having components 100010 - 100030 is shown, but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0126] In this embodiment, the live broadcast resource scheduling method stored in the memory 100010 can also be divided into one or more program modules and executed by one or more processors (such as processor 100020) to complete the embodiment of the present application.

[0127] Embodiment 7 An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the live broadcast resource scheduling method in the embodiment are implemented.

[0128] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device. Of course, the computer-readable storage medium may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store an operating system and various application software installed on the computer device, such as the program code of the live resource scheduling method in the embodiment. In addition, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.

[0129] Embodiment 8 An embodiment of the present application also provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.

[0130] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by general-purpose computer devices, they can be concentrated on a single computer device, or distributed on a network composed of multiple computer devices, optionally, they can be implemented by executable program codes of computer devices, so that they can be stored in a storage device and executed by the computer device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0131] It should be noted that the above are only preferred embodiments of the present application, and the patent protection scope of the present application is not limited thereto. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A live broadcast resource scheduling method, characterized in that: Used in a service scheduling node, the method includes: Receive a live broadcast resource request for a target live broadcast room; Sending the live broadcast resource request to a resource scheduling node to obtain the live broadcast resource address of the target live broadcast room from the resource scheduling node; If the live broadcast resource address is not obtained within the preset time range, the timeout scheduling address corresponding to the live broadcast resource request is returned to the audience end, so that the audience end can access the timeout resource scheduling node according to the timeout scheduling address, and obtain a redirection response for accessing the target live broadcast room from the timeout resource scheduling node.

2. The method according to claim 1, characterized in that The live broadcast resource request includes the status information of the viewer terminal, and the method further includes: Determine a target live stream according to the state information and multiple live streams of the target live room; The status information and the target live stream are sent to the resource scheduling node so that the resource scheduling node returns the access address of the target resource node; wherein the access address of the target resource node is the live resource address, and the target resource node is determined based on the status information and the target live stream.

3. The method according to claim 2, characterized in that The live broadcast resource request includes a user number, and the timeout scheduling address corresponding to the live broadcast resource request is returned to the viewer end, including: Generate a request number according to the user number; The timeout scheduling address is generated according to the request number; the timeout scheduling address is used to return to the viewer end.

4. The method according to claim 1, characterized in that The redirection response is obtained by the following operations: Acquire a request result of the live resource request according to the request number, wherein the request result includes the live resource address; The redirection response is generated according to the live broadcast resource address, and the redirection response includes the live broadcast resource address.

5. The method according to claim 1, characterized in that The redirection response is generated according to the live broadcast resource address actively sent by the resource scheduling node, and the resource scheduling node triggers the active sending in the event of a timeout.

6. A live broadcast resource scheduling method, characterized in that: For the audience, the method includes: In response to entering a target live broadcast room, sending a live broadcast resource request for the target live broadcast room; Receive a target live resource address or a timeout scheduling address corresponding to the live resource request; Upon receiving the timeout scheduling address, accessing the timeout scheduling node according to the timeout scheduling address; Receiving a redirection response returned by the timeout scheduling node; Access the corresponding target resource node according to the redirection response to obtain the target live broadcast resource of the target live broadcast room; The live broadcast screen is displayed according to the target live broadcast resource.

7. A live broadcast resource scheduling device, characterized in that: Used in a service scheduling node, the device comprises: A receiving module, used to receive a live broadcast resource request for a target live broadcast room; A sending module, used for sending the live broadcast resource request to a resource scheduling node, so as to obtain the live broadcast resource address of the target live broadcast room from the resource scheduling node; The return module is used to return the timeout scheduling address corresponding to the live resource request to the audience end if the live resource address is not obtained within the preset time range, so that the audience end can access the timeout resource scheduling node according to the timeout scheduling address and obtain a redirection response for accessing the target live room from the timeout resource scheduling node.

8. A live broadcast resource scheduling device, characterized in that: For the audience, the device comprises: A sending module, configured to send a live broadcast resource request for the target live broadcast room in response to entering the target live broadcast room; A first receiving module, configured to receive a timeout scheduling address or a target live resource address corresponding to the live resource request; A first access module, configured to access a timeout scheduling node according to the timeout scheduling address when the timeout scheduling address is received; A second receiving module, used to receive a redirection response returned by the timeout scheduling node; A second access module is used to access the corresponding target resource node according to the redirection response to obtain the target live broadcast resource of the target live broadcast room; The display module is used to display the live broadcast picture according to the target live broadcast resource.

9. A computer device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claims 1 to 6 are implemented.

12. A live broadcast resource scheduling method, characterized in that: Used in a resource scheduling system, the resource scheduling system includes a service scheduling node, a resource scheduling node and a timeout resource scheduling node, the method includes: The service scheduling node receives a live broadcast resource request for a target live broadcast room, and sends the live broadcast resource request to the resource scheduling node; The resource scheduling node returns the live resource address of the target live broadcast room according to the live resource request; When the service scheduling node does not receive the live resource address within a preset time range, the service scheduling node sends the timeout scheduling address corresponding to the live resource request to the viewer terminal, so that the viewer terminal accesses the timeout scheduling node according to the timeout scheduling address; The timeout scheduling node returns a redirection response to the viewer terminal based on the access of the viewer terminal; The redirection response includes the live broadcast resource address of the target live broadcast room, which is used for the audience to access the target live broadcast room.

13. The method according to claim 12, characterized in that The live broadcast resource request includes the status information of the viewer terminal, and the method further includes: The service scheduling node determines a target live stream according to the state information and a plurality of live streams of the target live room; The service scheduling node sends the status information and the target live stream to the resource scheduling node; The resource scheduling node determines a target resource node according to the state information and the target live stream; The resource scheduling node returns the access address of the target resource node; wherein the access address of the target resource node is the live broadcast resource address.

14. The method according to claim 13, characterized in that The live broadcast resource request includes a user number, and sending a timeout scheduling address corresponding to the live broadcast resource request to the viewer terminal includes: The service scheduling node generates a request number according to the user number; The service scheduling node generates the timeout scheduling address according to the request number; the timeout scheduling address is used to return to the viewer end.

15. The method according to claim 12, characterized in that The method further comprises: The timeout scheduling node obtains a request result of the live resource request according to the request number, where the request result includes the live resource address; The timeout scheduling node generates the redirection response according to the live broadcast resource address, and the redirection response includes the live broadcast resource address.

16. The method according to claim 12, characterized in that The method further comprises: The resource scheduling node actively sends the live resource address to the timeout scheduling node in the event of a timeout; The timeout scheduling node generates the redirection response according to the live broadcast resource address actively sent by the resource scheduling node.