Live data transmission system, method and device, electronic device, and storage medium

By obtaining the network status information of the user side and dynamically adjusting the live broadcast data transmission solution, the problem of poor user experience for different network status during transmission on the server side is solved, and a smoother live broadcast data transmission is achieved.

CN114760491BActive Publication Date: 2024-11-15BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202210405044.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-18
Publication Date
2024-11-15
Estimated Expiration
2042-04-18

AI Technical Summary

Technical Problem

In the prior art, the server uses the same transmission strategy for users of different network states when transmitting live broadcast data, resulting in poor user experience and unable to effectively solve the problems of poor network user lag and good network user delay.

Method used

By obtaining the network status information of the user side and selecting a suitable transmission plan, different data volumes are transmitted according to different network states. A smaller data volume is transmitted for users with good network states to reduce delays. A smaller data volume is transmitted for users with poor network states. Large amount of data to reduce lag.

Benefits of technology

By dynamically adjusting the transmission solution, the user experience is significantly improved, delay and lag are reduced, and the fluency and quality of live broadcast data transmission are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114760491B_ABST
    Figure CN114760491B_ABST
Patent Text Reader

Abstract

The present application relates to a transmission system, method and device, electronic device and storage medium for live data, wherein the system comprises: a server, for selecting a target transmission scheme matching status information for a user terminal from a plurality of candidate transmission schemes, and sending live data to the user terminal according to the data volume corresponding to the target transmission scheme, wherein the status information is used to describe the network status between the server and the user terminal; and the user terminal, for receiving the live data sent by the server. The present application solves the technical problem in the related art that when a server transmits live data, the same transmission strategy is used for users in different network statuses, resulting in a poor user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a transmission system, method and device, electronic device, and storage medium for live data. Background Art

[0002] Streaming media refers to continuous time-based media that uses streaming technology on the Internet, such as audio, video or multimedia files. It does not download the entire file before playing, but only stores the beginning part of the content in the memory, and the other data streams are transmitted and played at any time. Compared with traditional simple downloads, streaming media has obvious advantages. (1) Since it is not necessary to download all the data, the waiting time can be greatly shortened; (2) Since the streaming file is often smaller than the original file, and the user does not need to download the entire streaming file to the hard disk, a lot of disk space is saved; (3) Since it uses real-time transmission protocols such as RSTP (rapid spanning tree protocol), it is more suitable for real-time transmission of animation, video and audio on the Internet.

[0003] Currently, when the server transmits streaming media, it often uses the same strategy for users in different network states, which can cause lags for users with poor network conditions and high delays for users with good network conditions, resulting in a poor user experience.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The present application provides a system, method and device, electronic device and storage medium for transmitting live data, so as to at least solve the technical problem in the related art that when a server transmits live data, the same transmission strategy is used for users in different network states, resulting in poor user experience.

[0006] According to one aspect of an embodiment of the present application, a method for transmitting live data is provided, including: obtaining status information of a user terminal, wherein the user terminal is used to receive live data sent by a server terminal, and the status information is used to describe the network status between the server terminal and the user terminal; selecting a target transmission scheme that matches the status information for the user terminal from multiple candidate transmission schemes, wherein the candidate transmission schemes are used to determine the amount of data sent in one transmission; and sending the live data to the user terminal according to the target transmission scheme.

[0007] According to one aspect of an embodiment of the present application, a method for transmitting live data is provided, which is applied to a user end, and includes: extracting status information of the user end, wherein the status information is used to describe the network status between a server end and the user end; sending a request packet to the server end, wherein the request packet includes status information, and the request packet is used to request the server end to send live data to the user end; receiving the live data sent by the server end, wherein the data volume of the live data sent by the server end is determined according to a target transmission scheme, and the target transmission scheme is a transmission scheme that matches the status information.

[0008] According to another aspect of an embodiment of the present application, a live data transmission device is also provided, including: an acquisition module, used to obtain status information of a user terminal, wherein the user terminal is used to receive live data sent by a server terminal, and the status information is used to describe the network status between the server terminal and the user terminal; a selection module, used to select a target transmission scheme matching the status information for the user terminal from multiple candidate transmission schemes, wherein the candidate transmission schemes are used to determine the amount of data transmitted in one transmission; and a sending module, used to send live data to the user terminal according to the target transmission scheme.

[0009] According to another aspect of an embodiment of the present application, a live broadcast data transmission device is also provided, which is applied to a user end and includes: an extraction module, used to extract status information of the user end, wherein the status information is used to describe the network status between the server end and the user end; a request module, used to send a request packet to the server end, wherein the request packet includes status information, and the request packet is used to request the server end to send live broadcast data to the user end; a receiving module, used to receive the live broadcast data sent by the server end, wherein the data volume of the live broadcast data sent by the server end is determined according to a target transmission scheme, and the target transmission scheme is a transmission scheme that matches the status information.

[0010] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above method is executed when the program is run.

[0011] According to another aspect of an embodiment of the present application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above method through the computer program.

[0012] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the embodiments of the above method.

[0013] In an embodiment of the present application, the status information of the user terminal is obtained, wherein the user terminal is used to receive the live broadcast data sent by the server terminal, and the status information is used to describe the network status between the server terminal and the user terminal; from multiple candidate transmission schemes, a target transmission scheme matching the status information is selected for the user terminal, wherein the candidate transmission scheme is used to determine the amount of data sent in one transmission; the live broadcast data is sent to the user terminal in accordance with the target transmission scheme, by determining the transmission scheme adopted by the server for the user terminal according to the network status between the user terminal and the server, and adopting different transmission schemes for user terminals with different network status to perform each live broadcast data transmission, that is, different data amounts are transmitted according to different network statuses, a smaller data amount is transmitted each time for a user terminal with a good network status to reduce delay, and a larger data amount is transmitted each time for a user terminal with a poor network status to reduce jamming, thereby solving the technical problem in the related art that the server uses the same transmission strategy for users with different network statuses when transmitting live broadcast data, resulting in poor user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0015] Figure 1 is a schematic diagram of an optional live broadcast data transmission system according to an embodiment of the present application;

[0016] Figure 2 is a flowchart of an optional method for transmitting live broadcast data according to an embodiment of the present application;

[0017] Figure 3 is a flowchart of an optional method for transmitting live broadcast data applied to a user terminal according to an embodiment of the present application;

[0018] Figure 4 It is a general logic diagram of an optional transmission scheme of live broadcast data according to an embodiment of the present application;

[0019] Figure 5 is a schematic diagram of an optional live broadcast data transmission device according to an embodiment of the present application;

[0020] Figure 6 is a schematic diagram of an optional transmission device for live broadcast data applied to a user terminal according to an embodiment of the present application; and

[0021] Figure 7 It is a structural block diagram of a terminal according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] According to one aspect of the embodiments of the present application, a system embodiment for transmitting live data is provided.

[0025] Figure 1 is a schematic diagram of an optional live data transmission system according to an embodiment of the present application, such as Figure 1 As shown, the system may include a server and multiple user terminals ( Figure 1 3 are shown, and there may be more or less in actual situations). The server is used to select a target transmission scheme matching the state information for the user terminal from multiple candidate transmission schemes, and send live data to the user terminal according to the data volume corresponding to the target transmission scheme, wherein the state information is used to describe the network state between the server and the user terminal; the user terminal is used to receive the live data sent by the server.

[0026] According to one aspect of the embodiments of the present application, a method for transmitting live data is provided. Optionally, in this embodiment, the method for transmitting live data can be applied to Figure 1 In the hardware environment composed of a server and multiple client terminals, a method for transmitting live broadcast data according to an embodiment of the present application is described below by taking the server terminal as an example.

[0027] Figure 2 is a flowchart of an optional method for transmitting live data according to an embodiment of the present application, such as Figure 2 As shown, the method may include the following steps:

[0028] Step S202, the server obtains status information of the client, wherein the client is used to receive live broadcast data sent by the server, and the status information is used to describe the network status between the server and the client;

[0029] Step S204, the server selects a target transmission scheme that matches the state information for the user terminal from a plurality of candidate transmission schemes, wherein the candidate transmission scheme is used to determine the amount of data to be sent in one transmission;

[0030] Step S206: the server sends live broadcast data to the user terminal according to the target transmission scheme.

[0031] Through the above steps S202 to S206, the transmission scheme adopted by the server for the user end is determined according to the network status between the user end and the server end, and different transmission schemes are adopted for user ends with different network statuses to perform each live data transmission, that is, different data amounts are transmitted according to different network statuses, a smaller amount of data is transmitted each time for a user end with a good network status to reduce delay, and a larger amount of data is transmitted each time for a user end with a poor network status to reduce jamming, thereby solving the technical problem in the related technology that when the server end transmits live data, the same transmission strategy is used for users with different network statuses, resulting in a poor user experience.

[0032] In the technical solution provided in step S202, the server obtains the status information of the user end, wherein the user end is used to receive the live broadcast data sent by the server end, and the status information is used to describe the network status between the server end and the user end.

[0033] The above-mentioned live broadcast data refers to data transmitted using streaming technology in scenarios including but not limited to distance education, video conferencing, live webcasting, and online news release.

[0034] After the above-mentioned user terminal receives the live broadcast data sent by the server terminal, the live broadcast data can be stored in the user terminal's buffer queue. The user terminal plays the live broadcast data in the buffer queue to the user according to the timestamp order in the live broadcast data. The larger the amount of live broadcast data received, the longer the length of the cache queue. When the network status is good, there will be no lag but the delay will be high. The smaller the amount of live broadcast data received, the shorter the length of the cache queue. When the network status is poor, the delay will be low but there may be lag.

[0035] Optionally, the server can obtain the status information of the user terminal in a variety of ways. In the present embodiment, the server obtains a request packet sent by the user terminal to the server, wherein the request packet is used to request the server to send live broadcast data to the user terminal; and obtains the status information of the user terminal from the request packet, wherein the request header in the request packet describes the status information of the user terminal in the form of header information.

[0036] In the technical solution provided in step S204, the server selects a target transmission scheme that matches the state information for the user terminal from a plurality of candidate transmission schemes, wherein the candidate transmission schemes are used to determine the amount of data sent in one transmission.

[0037] The number of the above-mentioned candidate transmission schemes and the data volume corresponding to each candidate transmission scheme can be set according to demand. During the live broadcast process, the server needs to transmit the live broadcast data to the user end multiple times in succession so that the user can obtain a synchronous viewing experience.

[0038] As an optional embodiment, the state information includes a state characteristic value, a target characteristic value interval where the state characteristic value is located is determined from multiple characteristic value intervals, and a target transmission scheme matching the characteristic value interval is determined for the user terminal from multiple candidate transmission schemes, wherein, in the case where the value of the first characteristic value interval in the multiple characteristic value intervals is higher than the value of the second characteristic value interval, the amount of data corresponding to the transmission scheme matched according to the first characteristic value interval is greater than the amount of data corresponding to the transmission scheme matched according to the second characteristic value interval. In the above manner, it is possible to match a transmission scheme with a large amount of data to a user terminal with a high state characteristic value (poor network status).

[0039] The above-mentioned characteristic value interval refers to dividing the value range of the state characteristic value into multiple continuous intervals.

[0040] For example, the value range of the state eigenvalue is [0,100], and the eigenvalue intervals are [0,25), [25,50), [50,75), and [75,100], respectively, where [0,25) means that the state eigenvalue is greater than or equal to 0 and less than 25, and [75,100] means that the state eigenvalue is greater than or equal to 75 and less than or equal to 100; if the first eigenvalue interval is [75,100] and the second eigenvalue interval is [50,75), then the value of the first eigenvalue interval is higher than the value of the second eigenvalue interval, and the data volume corresponding to the transmission scheme matched according to the first eigenvalue interval [75,100] is greater than the data volume corresponding to the transmission scheme matched according to the second eigenvalue interval [50,75).

[0041] Optionally, in this embodiment, before determining a target transmission scheme that matches the characteristic value interval for the user terminal from multiple candidate transmission schemes, the server evenly divides the value range of the state characteristic value into N characteristic value intervals, wherein any two characteristic value intervals in the N characteristic value intervals do not overlap with each other, and N is a natural number greater than 1; N candidate transmission schemes carrying the data sending amount are generated for the N characteristic value intervals, wherein, when the value in the third characteristic value interval in the N characteristic value intervals is greater than the value in the fourth characteristic value interval in the N characteristic value intervals, the data amount corresponding to the fourth transmission scheme is greater than the data amount corresponding to the fifth transmission scheme, and when the value in the third characteristic value interval is less than the value in the fourth characteristic value interval, the data amount corresponding to the fourth transmission scheme is less than the data amount corresponding to the fifth transmission scheme, the fourth transmission scheme is the candidate transmission scheme generated for the third characteristic value interval, and the fifth transmission scheme is the candidate transmission scheme generated for the fourth characteristic value interval.

[0042] Optionally, in this embodiment, the method for dividing the eigenvalue interval can be determined according to actual needs, or it can be divided unevenly. For example, the value range of the state eigenvalue is [0,100], and the eigenvalue intervals are [0,30), [30,60), and [50,100], respectively, which can also achieve similar technical effects; the value range of the state eigenvalue can be an open interval, a closed interval, or a semi-open and semi-closed interval. For example, the value range of the state eigenvalue is [0,+∞), +∞ represents positive infinity, and the eigenvalue intervals are [0,30), [30,60), and [50,+∞), respectively, which can also achieve similar technical effects.

[0043] Optionally, in this embodiment, the server generates a candidate transmission scheme for each characteristic value interval, which carries a data transmission amount and a frame loss threshold, wherein when the value in the third characteristic value interval is greater than the value in the fourth characteristic value interval, the frame loss threshold corresponding to the fourth transmission scheme is less than the frame loss threshold corresponding to the fifth transmission scheme, and when the value in the third characteristic value interval is less than the value in the fourth characteristic value interval, the frame loss threshold corresponding to the fourth transmission scheme is greater than the frame loss threshold corresponding to the fifth transmission scheme. The above scheme indicates that when the network condition is poor, the server will send more live broadcast data to reduce jamming, and lower the frame loss threshold, drop more frames, reduce the amount of data, and further improve the playback fluency.

[0044] For example, the third eigenvalue interval is [30,60), and the fourth eigenvalue interval is [0,30).

[0045] The data volume corresponding to the fourth transmission scheme matching the fourth eigenvalue interval [30,60) is 4000ms, and the frame loss threshold is 2s. The data volume corresponding to the fifth transmission scheme matching the fourth eigenvalue interval [0,30] is 2000ms, and the frame loss threshold is 4s.

[0046] In the technical solution provided in step S206, the server sends the live broadcast data to the user terminal according to the target transmission solution.

[0047] As an optional embodiment, the state information includes a state characteristic value, and the transmission scheme adopted by the server is switched from a first transmission scheme to a second transmission scheme, wherein the first transmission scheme is the transmission scheme adopted for the last transmission, the first transmission scheme matches the first state characteristic value, the first state characteristic value is the state characteristic value of the user end obtained last time, the second transmission scheme matches the second state characteristic value, the second state characteristic value is the state characteristic value of the user end obtained this time, the second state characteristic value is lower than the first state characteristic value, the network state corresponding to the second state characteristic value is better than the network state of the first state characteristic value, and the data volume corresponding to the second transmission scheme is not greater than the data volume corresponding to the first transmission scheme; or, the transmission scheme adopted by the server is switched from the first transmission scheme to the third transmission scheme, the first transmission scheme is the transmission scheme adopted for the last transmission, the first state characteristic value is the state characteristic value of the user end obtained last time, the third state characteristic value is the state characteristic value of the user end obtained this time, the third state characteristic value is higher than the first state characteristic value, and the data volume corresponding to the second transmission scheme is not less than the data volume corresponding to the first transmission scheme.

[0048] For example, the state characteristic value obtained before the last transmission on the server side is 50. According to the state characteristic value, the first transmission scheme is matched. The first transmission scheme corresponds to a data volume of 4000ms (milliseconds). The state characteristic value obtained by the server side before this transmission is 20, indicating that the network state between the user side and the server side is better than that of the last transmission. If the first transmission scheme is still used, it will cause a high delay when the user watches. It should be switched to the second transmission scheme matching the state characteristic value 20. The second transmission scheme corresponds to a data volume of 2000ms, which can reduce the delay. The state characteristic value obtained before the last transmission on the server side is 50. According to the state characteristic value, the first transmission scheme is matched. The first transmission scheme corresponds to a data volume of 4000ms. The state characteristic value obtained by the server side before this transmission is 70, indicating that the network state between the user side and the server side is worse than that of the last transmission. If the first transmission scheme is still used, it will cause a freeze when the user watches. It should be switched to the third transmission scheme matching the state characteristic value 70. The third transmission scheme corresponds to a data volume of 6000ms, which can reduce freezes and make the playback smooth.

[0049] As an optional embodiment, the technical solution of the present application is schematically described below in combination with specific implementation methods:

[0050] This embodiment aims to maximize the user experience and improve QoE (Quality of Experience, which refers to the degree to which the subjective perception of the quality and performance of devices, networks, systems, applications or services meets user expectations) by treating different network situations of users differently and taking different configurations into effect. Figure 4 The figure shows an overall logical schematic diagram of an optional live broadcast data transmission scheme according to an embodiment of the present application.

[0051] The user request header will contain a header indicating the network status score nqe-score, which divides the user's network status into three groups: good (0-30, 30-60, >60). Note: the lower the score, the better the network quality. The server then parses the nqe-score in the header and implements different configurations according to different score segments. For example, if the nqe-score is 20, it means that the network condition is very good. At this time, the server will only send part of the cache to minimize latency. When the nqe-score is 70, it means that the network condition is very poor. The server will send more cache to reduce lag, and lower the frame loss threshold to increase frame loss and reduce data volume.

[0052] The calculation method of the score nqe-score is as follows: nqe_score = (packet loss rate × 0.5) × 1000 + (((time / 100) × 0.3) + (whether it is across operators + whether it is across regions) × 0.2) × 100; where 0.5, 0.3, and 0.2 are weights, and 1000 and 100 are calibration values; the packet loss rate and time (i.e., response time) are the values ​​obtained by pinging the server IP. The packet loss rate is the "packet loss" when pinging the server IP. If the packet loss is 2%, the time is 50ms, the cross-operator value is 1 (not across operators is 0), and the cross-region value is 1 (not across regions is 0), then the value of nqe_score is: 2% × 0.5 × 1000 + (((50 / 100) × 0.3) + (1+1) × 0.2) × 100 = 65. The nqe_score value ranges from 0 to 100. If the calculated score is greater than 100, it will be forcibly changed to 100. A larger value indicates a worse network.

[0053] This embodiment determines the network condition by the nqe-score value of the user request header, and implements different configurations on the server side according to the network condition, thereby maximizing the user experience.

[0054] According to one aspect of an embodiment of the present application, an embodiment of a method for transmitting live broadcast data is provided, which is applied to a user terminal.

[0055] Figure 3is a flow chart of an optional method for transmitting live broadcast data applied to a user terminal according to an embodiment of the present application, such as Figure 3 As shown, the method may include the following steps:

[0056] Step S302, the user end extracts the state information of the user end, wherein the state information is used to describe the network state between the server end and the user end;

[0057] Step S304, the user end sends a request packet to the server end, wherein the request packet includes state information, and the request packet is used to request the server end to send live broadcast data to the user end;

[0058] Step S306, the user end receives the live broadcast data sent by the server end, wherein the data volume of the live broadcast data sent by the server end is determined according to the target transmission scheme, and the target transmission scheme is a transmission scheme matching the state information.

[0059] Through the above steps S302 to S306, the transmission scheme adopted by the server for the user end is determined according to the network status between the user end and the server end, and different transmission schemes are adopted for user ends with different network statuses to perform each live data transmission. That is, different data amounts are transmitted according to different network statuses, a smaller amount of data is transmitted each time for a user end with a good network status to reduce delay, and a larger amount of data is transmitted each time for a user end with a poor network status to reduce jamming, thereby solving the technical problem in the related technology that when the server end transmits live data, the same transmission strategy is used for users with different network statuses, resulting in a poor user experience.

[0060] In the technical solution provided in step S302, the user end extracts the state information of the user end, wherein the state information is used to describe the network state between the server end and the user end.

[0061] Optionally, in this embodiment, the status information includes a status characteristic value, and obtaining the status information of the user terminal includes determining the status characteristic value according to the following formula: s=(packet loss rate×0.5)×1000+(((T / 100)×0.3)+(cross-operator parameter+cross-region parameter)×0.2)×100, wherein s is the status characteristic value, T is the response time, the value of the cross-operator parameter is 0 or 1, and the cross-operator parameter is 1 when it is across operators, and the cross-operator parameter is 0 when it is not across operators. The value of the cross-region parameter is 0 or 1, and the cross-region parameter is 1 when it is across regions, and the cross-region parameter is 0 when it is not across regions.

[0062] In the technical solution provided in step S304, the user end sends a request packet to the server end, wherein the request packet includes status information, and the request packet is used to request the server end to send live broadcast data to the user end.

[0063] The client may send status information to the server in a variety of ways including but not limited to sending a request packet.

[0064] In the technical solution provided in step S306, the user end receives the live broadcast data sent by the server end, wherein the data volume of the live broadcast data sent by the server end is determined according to the target transmission scheme, and the target transmission scheme is a transmission scheme matching the state information.

[0065] This solution determines the transmission scheme adopted by the server for the user terminal according to the network status between the user terminal and the server, and adopts different transmission schemes for user terminals in different network statuses to perform each live data transmission. That is, different data amounts are transmitted according to different network statuses. A smaller amount of data is transmitted each time for a user terminal in a good network status to reduce latency, increase the frame loss threshold, reduce frame loss, and ensure user viewing quality. A larger amount of data is transmitted each time for a user terminal in a poor network status, lowers the frame loss threshold, increases frame loss, and reduces jamming. This solves the technical problem in the related technology that when the server transmits live data, the same transmission strategy is used for users in different network statuses, resulting in a poor user experience.

[0066] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0067] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0068] According to another aspect of an embodiment of the present application, a live broadcast data transmission device for implementing the above-mentioned live broadcast data transmission method is also provided. Figure 5 is a schematic diagram of an optional live data transmission device according to an embodiment of the present application, such as Figure 5As shown, the device may include: an acquisition module 52, used to acquire status information of a user terminal, wherein the user terminal is used to receive live broadcast data sent by a server terminal, and the status information is used to describe the network status between the server terminal and the user terminal; a selection module 54, used to select a target transmission scheme matching the status information for the user terminal from a plurality of candidate transmission schemes, wherein the candidate transmission scheme is used to determine the amount of data transmitted in one transmission; and a sending module 56, used to send live broadcast data to the user terminal according to the target transmission scheme.

[0069] It should be noted that the acquisition module 52 in this embodiment can be used to execute step S202 in the embodiment of the present application, the selection module 54 in this embodiment can be used to execute step S204 in the embodiment of the present application, and the sending module 56 in this embodiment can be used to execute step S206 in the embodiment of the present application.

[0070] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware.

[0071] Through the above modules, the technical problem in the related technology that when the server transmits live broadcast data, the same transmission strategy is used for users in different network states, resulting in poor user experience can be solved.

[0072] As an optional embodiment, the acquisition module 52 includes: a request acquisition unit, used to acquire a request packet sent by the user end to the server end, wherein the request packet is used to request the server end to send live broadcast data to the user end; a status acquisition unit, used to acquire the status information of the user end from the request packet, wherein the request header in the request packet describes the status information of the user end in the form of header information.

[0073] As an optional embodiment, the state information includes a state characteristic value, and the sending module 56 includes: a switching unit, used to switch the transmission scheme adopted by the server from a first transmission scheme to a second transmission scheme, wherein the first transmission scheme is the transmission scheme adopted in the last transmission, the first transmission scheme matches the first state characteristic value, the first state characteristic value is the state characteristic value of the user end obtained last time, the second transmission scheme matches the second state characteristic value, the second state characteristic value is the state characteristic value of the user end obtained this time, the second state characteristic value is lower than the first state characteristic value, the network state corresponding to the second state characteristic value is better than the network state of the first state characteristic value, and the data volume corresponding to the second transmission scheme is not greater than the data volume corresponding to the first transmission scheme; or, the transmission scheme adopted by the server is switched from the first transmission scheme to the third transmission scheme, the first transmission scheme is the transmission scheme adopted in the last transmission, the first state characteristic value is the state characteristic value of the user end obtained last time, the third state characteristic value is the state characteristic value of the user end obtained this time, the third state characteristic value is higher than the first state characteristic value, and the data volume corresponding to the second transmission scheme is not less than the data volume corresponding to the first transmission scheme.

[0074] Optionally, the selection module 54 is also used to: determine a target characteristic value interval in which the state characteristic value is located among multiple characteristic value intervals, and determine a target transmission scheme that matches the characteristic value interval for the user terminal from multiple candidate transmission schemes, wherein, when the value of a first characteristic value interval among multiple characteristic value intervals is higher than the value of a second characteristic value interval, then the amount of data corresponding to the transmission scheme matched by the first characteristic value interval is greater than the amount of data corresponding to the transmission scheme matched by the second characteristic value interval.

[0075] Optionally, before determining the target characteristic value interval where the state characteristic value is located in multiple characteristic value intervals, and determining the target transmission scheme that matches the characteristic value interval for the user terminal from multiple candidate transmission schemes, the selection module 54 also includes: a division unit, used to evenly divide the value range of the state characteristic value into N characteristic value intervals, wherein any two characteristic value intervals in the N characteristic value intervals do not overlap with each other, and N is a natural number greater than 1; a generation unit, used to generate N candidate transmission schemes carrying the data sending amount for the N characteristic value intervals, wherein, when the value in the third characteristic value interval in the N characteristic value intervals is greater than the value in the fourth characteristic value interval in the N characteristic value intervals, the data amount corresponding to the fourth transmission scheme is greater than the data amount corresponding to the fifth transmission scheme, and when the value in the third characteristic value interval is less than the value in the fourth characteristic value interval, the data amount corresponding to the fourth transmission scheme is less than the data amount corresponding to the fifth transmission scheme, the fourth transmission scheme is a candidate transmission scheme generated for the third characteristic value interval, and the fifth transmission scheme is a candidate transmission scheme generated for the fourth characteristic value interval.

[0076] The generation unit is also used to: generate a candidate transmission scheme carrying the data transmission amount and the frame loss threshold for each characteristic value interval, wherein, when the value in the third characteristic value interval is greater than the value in the fourth characteristic value interval, the frame loss threshold corresponding to the fourth transmission scheme is less than the frame loss threshold corresponding to the fifth transmission scheme, and when the value in the third characteristic value interval is less than the value in the fourth characteristic value interval, the frame loss threshold corresponding to the fourth transmission scheme is greater than the frame loss threshold corresponding to the fifth transmission scheme.

[0077] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.

[0078] According to another aspect of the embodiment of the present application, a live data transmission device for implementing the above-mentioned live data transmission method is also provided for application to a user end. Figure 6 is a schematic diagram of an optional transmission device for live broadcast data applied to a user terminal according to an embodiment of the present application, such as Figure 6 As shown, the device may include: an extraction module 62, used to extract status information of the user end, wherein the status information is used to describe the network status between the server end and the user end; a request module 64, used to send a request packet to the server end, wherein the request packet includes status information, and the request packet is used to request the server end to send live data to the user end; a receiving module 66, used to receive the live data sent by the server end, wherein the data volume of the live data sent by the server end is determined according to a target transmission scheme, and the target transmission scheme is a transmission scheme that matches the status information.

[0079] It should be noted that the extraction module 62 in this embodiment can be used to execute step S302 in the embodiment of the present application, the request module 64 in this embodiment can be used to execute step S304 in the embodiment of the present application, and the receiving module 66 in this embodiment can be used to execute step S306 in the embodiment of the present application.

[0080] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware.

[0081] Through the above modules, the technical problem in the related technology that when the server transmits live broadcast data, the same transmission strategy is used for users in different network states, resulting in poor user experience can be solved.

[0082] As an optional embodiment, the state information includes a state characteristic value, and the extraction module 62 is further used to determine the state characteristic value according to the following formula: s=(packet loss rate×0.5)×1000+(((T / 100)×0.3)+(cross-operator parameter+cross-region parameter)×0.2)×100, wherein s is the state characteristic value, T is the response time, the cross-operator parameter is 0 or 1, and the cross-operator parameter is 1 when it is cross-operator, and the cross-operator parameter is 0 when it is not cross-operator. The cross-region parameter is 0 or 1, and the cross-region parameter is 1 when it is cross-regional, and the cross-region parameter is 0 when it is not cross-regional.

[0083] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.

[0084] According to another aspect of an embodiment of the present application, a server or terminal for implementing the above-mentioned live broadcast data transmission method is also provided.

[0085] Figure 7 is a structural block diagram of a terminal according to an embodiment of the present application, such as Figure 7 As shown, the terminal may include: one or more ( Figure 7 (only one is shown) processor 701, memory 703, and transmission device 705, as shown in Figure 7 As shown, the terminal may also include an input and output device 707.

[0086] Among them, the memory 703 can be used to store software programs and modules, such as the program instructions / modules corresponding to the live data transmission method and device in the embodiment of the present application. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 703, that is, realizing the above-mentioned live data transmission method. The memory 703 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 703 may further include a memory remotely arranged relative to the processor 701, and these remote memories can be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0087] The above-mentioned transmission device 705 is used to receive or send data via a network, and can also be used for data transmission between a processor and a memory. Specific examples of the above-mentioned network may include a wired network and a wireless network. In one example, the transmission device 705 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 705 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.

[0088] Specifically, the memory 703 is used to store application programs.

[0089] The processor 701 may call the application stored in the memory 703 through the transmission device 705 to perform the following steps:

[0090] Acquire status information of the user end, wherein the user end is used to receive live broadcast data sent by the server end, and the status information is used to describe the network status between the server end and the user end; select a target transmission scheme that matches the status information for the user end from multiple candidate transmission schemes, wherein the candidate transmission schemes are used to determine the amount of data sent in one transmission; and send the live broadcast data to the user end according to the target transmission scheme.

[0091] Processor 701 is also used to perform the following steps: extracting status information of the user end, wherein the status information is used to describe the network status between the server end and the user end; sending a request packet to the server end, wherein the request packet includes status information, and the request packet is used to request the server end to send live data to the user end; receiving the live data sent by the server end, wherein the data volume of the live data sent by the server end is determined according to the target transmission scheme, and the target transmission scheme is a transmission scheme that matches the status information.

[0092] By adopting the embodiment of the present application, a scheme for transmitting live data is provided. By determining the transmission scheme adopted by the server for the user terminal according to the network status between the user terminal and the server, different transmission schemes are adopted for user terminals with different network statuses to perform each live data transmission, that is, different data amounts are transmitted according to different network statuses, a smaller amount of data is transmitted each time for a user terminal with a good network status to reduce delay, and a larger amount of data is transmitted each time for a user terminal with a poor network status to reduce jamming, thereby solving the technical problem in the related technology that the server uses the same transmission strategy for users with different network statuses when transmitting live data, resulting in poor user experience.

[0093] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0094] It can be understood by those skilled in the art that Figure 7 The structure shown is for illustration only, and the terminal may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 7 It does not limit the structure of the above electronic device. For example, the terminal may also include Figure 7 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 7 Different configurations are shown.

[0095] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0096] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to execute the program code of the method for transmitting live broadcast data.

[0097] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.

[0098] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps:

[0099] S11, obtaining status information of the user end, wherein the user end is used to receive live broadcast data sent by the server end, and the status information is used to describe the network status between the server end and the user end;

[0100] S12, selecting a target transmission scheme matching the state information for the user terminal from a plurality of candidate transmission schemes, wherein the candidate transmission scheme is used to determine the amount of data to be sent in one transmission;

[0101] S13, sending live broadcast data to the user terminal according to the target transmission scheme.

[0102] Optionally, the storage medium is further configured to store program codes for executing the following steps:

[0103] S21, extracting status information of the user end, wherein the status information is used to describe the network status between the server end and the user end;

[0104] S22, sending a request packet to the server, wherein the request packet includes status information, and the request packet is used to request the server to send live broadcast data to the user end;

[0105] S23, receiving the live broadcast data sent by the server, wherein the data volume of the live broadcast data sent by the server is determined according to a target transmission scheme, and the target transmission scheme is a transmission scheme matching the state information.

[0106] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0107] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0108] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0109] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.

[0110] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0111] In the several embodiments provided in the present application, it should be understood that the disclosed server and user can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0112] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0113] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0114] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A live data transmission system, characterized in that: include: A server, used to select a target transmission scheme matching the state information for a user terminal from a plurality of candidate transmission schemes, and send live broadcast data to the user terminal according to the data volume corresponding to the target transmission scheme, including: switching the transmission scheme adopted by the server from a first transmission scheme to a second transmission scheme, the first transmission scheme is the transmission scheme adopted for the last transmission, the first transmission scheme matches a first state characteristic value, the first state characteristic value is the state characteristic value of the user terminal acquired last time, the second transmission scheme matches a second state characteristic value, the second state characteristic value is the state characteristic value of the user terminal acquired this time, the second state characteristic value is lower than the first state characteristic value, and the second state characteristic value is The network state corresponding to the characteristic value is better than the network state of the first state characteristic value, and the data volume corresponding to the second transmission scheme is not greater than the data volume corresponding to the first transmission scheme; or, the transmission scheme adopted by the server is switched from the first transmission scheme to the third transmission scheme, the first transmission scheme is the transmission scheme adopted for the last transmission, the first state characteristic value is the state characteristic value of the user end obtained last time, the third state characteristic value is the state characteristic value of the user end obtained this time, the third state characteristic value is higher than the first state characteristic value, and the data volume corresponding to the second transmission scheme is not less than the data volume corresponding to the first transmission scheme, wherein the state information is used to describe the network state between the server and the user end; The user end is used to receive the live broadcast data sent by the server end.

2. A method for transmitting live data, characterized in that: include: Acquire status information of a user terminal, wherein the user terminal is used to receive live broadcast data sent by a server terminal, and the status information is used to describe a network status between the server terminal and the user terminal; Selecting a target transmission scheme matching the state information for the user terminal from a plurality of candidate transmission schemes, wherein the candidate transmission scheme is used to determine the amount of data sent in one transmission; The method includes: sending live broadcast data to the user terminal according to the target transmission scheme, comprising: switching the transmission scheme adopted by the server from a first transmission scheme to a second transmission scheme, wherein the first transmission scheme is the transmission scheme adopted in the last transmission, the first transmission scheme matches a first state characteristic value, the first state characteristic value is the state characteristic value of the user terminal acquired last time, the second transmission scheme matches a second state characteristic value, the second state characteristic value is the state characteristic value of the user terminal acquired this time, the second state characteristic value is lower than the first state characteristic value, the network state corresponding to the second state characteristic value is better than the network state of the first state characteristic value, the data volume corresponding to the second transmission scheme is not greater than the data volume corresponding to the first transmission scheme, and the state information includes the state characteristic value; or, switching the transmission scheme adopted by the server from the first transmission scheme to a third transmission scheme, wherein the first transmission scheme is the transmission scheme adopted in the last transmission, the first state characteristic value is the state characteristic value of the user terminal acquired last time, the third state characteristic value is the state characteristic value of the user terminal acquired this time, the third state characteristic value is higher than the first state characteristic value, and the data volume corresponding to the second transmission scheme is not less than the data volume corresponding to the first transmission scheme.

3. The method according to claim 2, characterized in that The obtaining of the status information of the user terminal includes: Acquire a request packet sent by the user end to the server end, wherein the request packet is used to request the server end to send live broadcast data to the user end; The state information of the client is obtained from the request packet, wherein the request header in the request packet describes the state information of the client in the form of header information.

4. The method according to claim 2, characterized in that: Selecting a target transmission scheme matching the state information for the user terminal from a plurality of candidate transmission schemes includes: Determine a target characteristic value interval in which the state characteristic value is located from multiple characteristic value intervals, and determine a target transmission scheme matching the characteristic value interval for the user terminal from multiple candidate transmission schemes, wherein, when a value of a first characteristic value interval in the multiple characteristic value intervals is higher than a value of a second characteristic value interval, then the amount of data corresponding to the transmission scheme matching the first characteristic value interval is greater than the amount of data corresponding to the transmission scheme matching the second characteristic value interval.

5. The method according to claim 4, characterized in that Before determining the target characteristic value interval where the state characteristic value is located from among the multiple characteristic value intervals, and determining a target transmission scheme matching the characteristic value interval for the user terminal from among the multiple candidate transmission schemes, the method further includes: The value range of the state characteristic value is evenly divided into N characteristic value intervals, wherein any two of the N characteristic value intervals do not overlap each other, and N is a natural number greater than 1; N candidate transmission schemes carrying data transmission amounts are generated for the N eigenvalue intervals, wherein, when the value in the third eigenvalue interval among the N eigenvalue intervals is greater than the value in the fourth eigenvalue interval among the N eigenvalue intervals, the data amount corresponding to the fourth transmission scheme is greater than the data amount corresponding to the fifth transmission scheme, and when the value in the third eigenvalue interval is less than the value in the fourth eigenvalue interval, the data amount corresponding to the fourth transmission scheme is less than the data amount corresponding to the fifth transmission scheme, the fourth transmission scheme is the candidate transmission scheme generated for the third eigenvalue interval, and the fifth transmission scheme is the candidate transmission scheme generated for the fourth eigenvalue interval.

6. The method according to claim 5, characterized in that Generating N candidate transmission schemes carrying data transmission amounts for the N characteristic value intervals includes: A candidate transmission scheme carrying a data transmission amount and a frame loss threshold is generated for each of the characteristic value intervals, wherein, when the value in the third characteristic value interval is greater than the value in the fourth characteristic value interval, the frame loss threshold corresponding to the fourth transmission scheme is less than the frame loss threshold corresponding to the fifth transmission scheme, and when the value in the third characteristic value interval is less than the value in the fourth characteristic value interval, the frame loss threshold corresponding to the fourth transmission scheme is greater than the frame loss threshold corresponding to the fifth transmission scheme.

7. A method for transmitting live broadcast data, characterized in that: Applied to the user side, including: Extracting status information of the client, wherein the status information is used to describe the network status between the server and the client; Sending a request packet to the server, wherein the request packet includes the status information, and the request packet is used to request the server to send live broadcast data to the user terminal; Receive live data sent by the server, wherein the data volume of the live data sent by the server is determined according to a target transmission scheme, the target transmission scheme is a transmission scheme matching the state information, and the server sends the live data according to the following target transmission scheme: switch the transmission scheme adopted by the server from a first transmission scheme to a second transmission scheme, the first transmission scheme is the transmission scheme adopted for the last transmission, the first transmission scheme matches a first state characteristic value, the first state characteristic value is the state characteristic value of the user end obtained last time, the second transmission scheme matches a second state characteristic value, the second state characteristic value is the state characteristic value of the user end obtained this time, and the second state characteristic value The characteristic value is lower than the first state characteristic value, the network state corresponding to the second state characteristic value is better than the network state of the first state characteristic value, the data volume corresponding to the second transmission scheme is not greater than the data volume corresponding to the first transmission scheme, and the state information includes the state characteristic value; or, the transmission scheme adopted by the server is switched from the first transmission scheme to the third transmission scheme, the first transmission scheme is the transmission scheme adopted for the last transmission, the first state characteristic value is the state characteristic value of the user end obtained last time, the third state characteristic value is the state characteristic value of the user end obtained this time, the third state characteristic value is higher than the first state characteristic value, and the data volume corresponding to the second transmission scheme is not less than the data volume corresponding to the first transmission scheme.

8. The method according to claim 7, characterized in that The state information includes a state characteristic value, and extracting the state information of the user terminal includes determining the state characteristic value according to the following formula: s=(packet loss rate×0.5)×1000+(((T / 100)×0.3)+(cross-operator parameter+cross-region parameter)×0.2)×100, wherein s is the state characteristic value, T is the response time, the value of the cross-operator parameter is 0 or 1, and the cross-operator parameter is 1 when it is across operators, and the cross-operator parameter is 0 when it is not across operators. The value of the cross-region parameter is 0 or 1, and the cross-region parameter is 1 when it is across regions, and the cross-region parameter is 0 when it is not across regions.

9. A device for transmitting live data, characterized in that: include: An acquisition module, used to acquire status information of a user terminal, wherein the user terminal is used to receive live broadcast data sent by a server, and the status information is used to describe the network status between the server and the user terminal; A selection module, configured to select a target transmission scheme matching the state information for the user terminal from a plurality of candidate transmission schemes, wherein the candidate transmission schemes are used to determine the amount of data transmitted in one transmission; A sending module, used for sending live broadcast data to the user terminal according to the target transmission scheme, including: switching the transmission scheme adopted by the server from a first transmission scheme to a second transmission scheme, the first transmission scheme is the transmission scheme adopted in the last transmission, the first transmission scheme matches a first state characteristic value, the first state characteristic value is the state characteristic value of the user terminal obtained last time, the second transmission scheme matches a second state characteristic value, the second state characteristic value is the state characteristic value of the user terminal obtained this time, the second state characteristic value is lower than the first state characteristic value, the network state corresponding to the second state characteristic value is better than the network state of the first state characteristic value, the data volume corresponding to the second transmission scheme is not greater than the data volume corresponding to the first transmission scheme, and the state information includes the state characteristic value; or, switching the transmission scheme adopted by the server from the first transmission scheme to a third transmission scheme, the first transmission scheme is the transmission scheme adopted in the last transmission, the first state characteristic value is the state characteristic value of the user terminal obtained last time, the third state characteristic value is the state characteristic value of the user terminal obtained this time, the third state characteristic value is higher than the first state characteristic value, and the data volume corresponding to the second transmission scheme is not less than the data volume corresponding to the first transmission scheme.

10. A device for transmitting live data, characterized in that: Applied to the user side, including: An extraction module, used to extract the status information of the user terminal, wherein the status information is used to describe the network status between the server and the user terminal; A request module, used for sending a request packet to the server, wherein the request packet includes the state information, and the request packet is used for requesting the server to send live broadcast data to the user terminal; A receiving module, used for receiving live broadcast data sent by the server, wherein the data volume of the live broadcast data sent by the server is determined according to a target transmission scheme, the target transmission scheme is a transmission scheme matching the state information, and the server sends the live broadcast data according to the following target transmission scheme: switching the transmission scheme adopted by the server from a first transmission scheme to a second transmission scheme, the first transmission scheme is the transmission scheme adopted for the last transmission, the first transmission scheme matches a first state characteristic value, the first state characteristic value is the state characteristic value of the user terminal obtained last time, the second transmission scheme matches a second state characteristic value, the second state characteristic value is the state characteristic value of the user terminal obtained this time, and the second state characteristic value matches the state characteristic value of the user terminal obtained this time. The second state characteristic value is lower than the first state characteristic value, the network state corresponding to the second state characteristic value is better than the network state of the first state characteristic value, the data volume corresponding to the second transmission scheme is not greater than the data volume corresponding to the first transmission scheme, and the state information includes the state characteristic value; or, the transmission scheme adopted by the server is switched from the first transmission scheme to the third transmission scheme, the first transmission scheme is the transmission scheme adopted for the last transmission, the first state characteristic value is the state characteristic value of the user end obtained last time, the third state characteristic value is the state characteristic value of the user end obtained this time, the third state characteristic value is higher than the first state characteristic value, and the data volume corresponding to the second transmission scheme is not less than the data volume corresponding to the first transmission scheme.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The processor executes the live broadcast data transmission method described in any one of claims 2 to 8 through the computer program.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for transmitting live data as described in any one of claims 2 to 8 are implemented.

Citation Information

Patent Citations

  • Delay control method, delay control device, and computer readable storage medium

    CN109327716A

  • Live method, apparatus and device and storage medium

    CN109587510A

  • Data processing method and device, computer readable storage medium and computer equipment

    CN110351014A

  • Multimedia data transmission method and device and computer readable storage medium

    CN110868373A

  • Video stream data switching method and device, terminal and readable storage medium

    CN111669619A