Information determination method and apparatus

Real-time prediction of network states using historical bandwidth statistics enables precise and timely code rate adjustments, addressing inaccuracies in existing methods and improving media transmission quality.

JP7540018B2Active Publication Date: 2024-08-26HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2022581390
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-06-30
Filing Date
2021-06-29
Publication Date
2024-08-26
Estimated Expiration
2041-06-29

Smart Images

  • Figure 0007540018000008
    Figure 0007540018000008
  • Figure 0007540018000003
    Figure 0007540018000003
  • Figure 0007540018000010
    Figure 0007540018000010
Patent Text Reader

Abstract

An embodiment of the present application provides an information determination method and a related device. In the method, a first network element receives first information from a first terminal device, the first information including first indicator information. The first network element determines a first access network device connected to the first access network device based on the first indicator information, determines second information based on historical statistical information of bandwidth between the first access network device and the first terminal device, and sends the second information to the second network element. The second information is for determining a first code rate, where the first code rate may indicate a code rate of media data of a first media received by the first terminal device. This improves the accuracy and real-time performance of media data code rate adjustment and further improves the effectiveness of the code rate adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to Chinese Patent Application No. 202010612756.7, entitled “INFORMATION DETERMINING METHOD AND DEVICE,” filed with the China National Intellectual Property Office on June 30, 2020, which is incorporated herein by reference in its entirety.

[0002] The present application relates to the field of media transmission technologies, and in particular to an information determination method and apparatus. [Background technology]

[0003] The code rate of media, also called bit rate, can indicate the number of bits occupied by media per unit time. A media file with a high code rate indicates that the media occupies a large number of bits per unit time. Under the same media playback conditions, a media file with a high code rate provides a user with a better media experience than a media file with a low code rate. For example, a video with a high code rate has a higher image quality, and an audio with a high code rate has a higher sound effect. Correspondingly, a media file with a high code rate has a larger size. In this case, in the process of transmitting a media file from a media server to a terminal, a higher bandwidth is required to transmit a media file corresponding to the media per unit time. If the bandwidth for transmitting the media file is not high enough, the time required to transmit a file corresponding to the media per unit time is long, which may cause frame freezing and unsmooth playback in some real-time playback scenarios.

[0004] Currently, in the process of receiving a media file, each of several terminals can estimate the currently available bandwidth in real time based on the terminal's average Transmission Control Protocol (TCP) throughput in a time window before the current time, and further adjust the code rate of the media file based on the estimated bandwidth. Thus, the time window for estimating the bandwidth is usually 10 seconds or tens of seconds. If the bandwidth of the terminal in the time window changes, resulting in a change in the TCP throughput of the terminal (i.e., in this case, the code rate of the media file sent by the media server to the terminal needs to be adjusted, otherwise problems such as frame freezing and media quality degradation will occur), after the time window ends, the terminal needs to average the TCP throughput in the time window, further estimate the bandwidth based on the average value, and further determine the adjusted code rate.

[0005] The throughput variation caused by the change in bandwidth is averaged by the time of the entire time window, which weakens the effect of the change in bandwidth. As a result, the estimated bandwidth and the adjusted code rate determined based on the bandwidth are inaccurate. In addition, the terminal can only adjust the code rate by averaging the TCP throughput every time the time window ends, and cannot adjust the code rate immediately when the bandwidth changes. As a result, the code rate may not be adjusted in a timely manner, which creates a hysteresis problem. Therefore, this method of adjusting the code rate is not very effective. Summary of the Invention

[0006] The present application provides an information determining method and apparatus, in which the network status of a media transmission link of a terminal can be predicted in real time based on historical statistical information of the bandwidth of the media transmission link, and then the code rate of the transmitted media data can be adjusted in real time based on the information obtained by the prediction, so as to improve the accuracy and real-time performance of the code rate adjustment of the media data, and further improve the effectiveness of the code rate adjustment.

[0007] A first aspect of the present application provides an information determination method. The method can be applied to a scenario in which a first terminal device determines a fixed first code rate for playing the first media online before playing the first media online. The first terminal device can determine second information based on historical statistical information of bandwidth, and determine a fixed first code rate for playing a short video by the first terminal device based on the second information. Alternatively, the method can be applied to a scenario in which, in the process of playing the first media, the first terminal device can periodically determine a first code rate for playing the first media, and further periodically adjust the code rate for playing the first media. The first terminal device can periodically determine the second information based on historical usage information of bandwidth, and adjust the code rate for playing the video by the first terminal device in real time based on the second information.

[0008] In the method, the first terminal device transmits first information of the first terminal device to a first network element, the first information of the first terminal device includes first index information, and the first index information can be used by the first network element to determine a first access network device connected to the first terminal device. The first terminal device further determines second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device, the second information is for determining a first code rate, and the first code rate indicates a code rate of the media data of the first media received by the first terminal device.

[0009] In this method, the first network element predicts the network condition of the media transmission link of the terminal in real time based on historical statistical information of the bandwidth of the media transmission link, and then adjusts the code rate of the transmitted media data in real time based on the second information obtained by the prediction. Moreover, compared with the bandwidth change related to the first terminal device and obtained by averaging in a time window, the historical statistical information of the bandwidth between the first access network device and the first terminal device can more accurately reflect the bandwidth change rule between the first access network device and the first terminal device. Therefore, the method of the present application can ensure the accuracy and real-timeness of the code rate adjustment, and improve the effectiveness of the code rate adjustment.

[0010] Referring to the first aspect, in an optional method, the first indicator information includes location information of the first terminal device.

[0011] Referring to the first aspect, in an optional method, the first indication information includes an identifier of the first access network device.

[0012] Referring to the first aspect, in an optional method, the first information further includes first period index information, and the first period index information can indicate a period during which the first terminal device receives the media data of the first media. In this way, the first network element can predict the link on which the first terminal device receives the media data of the first media within the first period, thereby improving the validity and accuracy of the prediction, and further improving the effectiveness of the code rate adjustment.

[0013] Referring to the first aspect, in an optional method, the first information may further include one or more of a media identifier, an optional code rate, or status information of the first media, and the status information may indicate a status of media data of the first media buffered by the first terminal device.

[0014] Referring to the first aspect, in an optional method, the first information further includes second indicator information, and the second indicator information may indicate a first user plane network element corresponding to the first terminal device. The first network element may determine the second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device, and historical statistical information of the bandwidth between the first access network device and the first user plane network element. The first network element predicts a link segment between the first terminal device and the first access network device, and a link segment between the first access network device and the first user plane network element, which is a link through which the first terminal device receives media data of the first media, to obtain the second information, thereby improving the validity and accuracy of the prediction and further improving the effectiveness of the code rate adjustment.

[0015] Referring to the first aspect, in an optional manner, the second information includes information regarding a recommended code rate or the first bandwidth.

[0016] Referring to the first aspect, in an optional manner, the recommended code rate may be one code rate determined from at least two optional code rates corresponding to the first media.

[0017] Referring to the first aspect, in an optional method, the first code rate may be determined based on the second information and one or both of the state information or the throughput information of the first terminal device, where the state information may indicate a state of the media data of the first media buffered by the first terminal device. The first code rate is determined based on the second information and the state information corresponding to the first terminal device and / or the throughput information of the first terminal device. The first code rate is determined based on the comprehensive information, which ensures the reliability of the first code rate and further improves the effectiveness of the code rate adjustment.

[0018] Referring to the first aspect, in an optional manner, the first code rate may be determined by the first terminal device based on the second information.

[0019] A second aspect of the present application provides another information determining method. In the method, a first network element receives first information from a first terminal device, the first information including first indicator information. The first network element determines a first access network device connected to the first access network device based on the first indicator information. Furthermore, the first network element determines second information based on historical statistical information of bandwidth between the first access network device and the first terminal device, the second information being for determining a first code rate, the first code rate indicating a code rate of media data of a first media received by the first terminal device. The first network element transmits the second information to a second network element.

[0020] The first network element may be a network element having analysis and statistics functions based on big data, artificial intelligence, etc. The first network element predicts a network state of the media transmission link of the terminal based on historical statistical information of the bandwidth of the media transmission link, and the second network element adjusts a code rate of the transmitted media data based on second information obtained through the prediction of the first network element, so as to improve the accuracy and real-time performance of the code rate adjustment of the media data, and further improve the effectiveness of the code rate adjustment.

[0021] Referring to the second aspect, in an optional method, the first indication information includes location information of the first terminal device.

[0022] Referring to the second aspect, in an optional method, the first indication information includes an identifier of the first access network device.

[0023] Referring to the second aspect, in an optional method, the second network element includes the first terminal device and / or the media server. Diversified code rate adjustment is implemented in a number of ways.

[0024] Referring to the second aspect, in an optional method, a first network element may obtain an identifier of a first terminal device, transmit an identifier of the first access network device and an identifier of the first terminal device to a network management network element, and receive historical statistical information relating to bandwidth between the first access network device and the first terminal device and returned by the network management network element.

[0025] Referring to the second aspect, in an optional method, the first information may further include first period index information, and the first period index information may indicate a period during which the first terminal device receives the media data of the first media. In this way, the first network element may predict a link on which the first terminal device receives the media data of the first media within the first period, thereby improving the validity and accuracy of the prediction, and further improving the effectiveness of the code rate adjustment.

[0026] Referring to the second aspect, in an optional method, the first information may further include one or more of a media identifier, an optional code rate, or status information of the first media, the status information indicating a status of media data of the first media buffered by the first terminal device.

[0027] Referring to the second aspect, in an optional method, the first information further includes second indicator information, and the second indicator information may indicate a first user plane network element corresponding to the first terminal device. Thus, in the process of determining the second information, the first network element may determine the second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device, and historical statistical information of the bandwidth between the first access network device and the first user plane network element. The first network element predicts a link segment between the first terminal device and the first access network device, and a link segment between the first access network device and the first user plane network element, which is a link through which the first terminal device receives media data of the first media, to improve the validity and accuracy of the prediction, and further improve the effectiveness of the code rate adjustment.

[0028] Referring to the second aspect, in an optional manner, the second information includes information regarding a recommended code rate or the first bandwidth.

[0029] Referring to the second aspect, in an optional method, in the process of determining the second information, the first network element may determine information regarding a first bandwidth between the first terminal device and the first access network device based on historical statistical information of the bandwidth between the first access network device and the first terminal device, and further determine a recommended code rate based on the information regarding the first bandwidth.

[0030] Referring to the second aspect, in an optional method, in the process of determining the recommended code rate, the first network element may determine the recommended code rate from at least two optional code rates corresponding to the first media based on information regarding the first bandwidth.

[0031] Referring to the second aspect, in an optional method, the first code rate may be determined by the second network element based on the second information and one or both of the status information or the throughput information of the first terminal device, where the status information indicates a status of the media data of the first media buffered by the first terminal device. The first code rate is determined based on the second information and the status information corresponding to the first terminal device and / or the throughput information of the first terminal device. The first code rate is determined based on the comprehensive information, which ensures the reliability of the first code rate and further improves the effectiveness of the code rate adjustment.

[0032] Referring to the second aspect, in an optional method, before determining the second information, the first network element can further receive an identifier of a second terminal device, the second terminal device being a terminal device receiving media data of the second media via the first access network device, and there are one or more second terminal devices. Furthermore, in the process of determining the second information, the first network element can determine the second information based on the identifier of the second terminal device and historical statistical information of the bandwidth between the first access network device and the first terminal device. In the process of determining the second information of the first terminal device, each second terminal device connected to the first access network device is taken into account, so that the first terminal device and each second terminal device appropriately and fairly occupy the shared bandwidth of the first access network device, and the bandwidth utilization efficiency of the first access network device is also ensured.

[0033] Referring to the second aspect, in an optional method, in the process of determining the second information based on the identifier of the second terminal device and historical statistical information of the bandwidth between the first access network device and the first terminal device, details may be as follows: The first network element obtains third information based on the identifier of the second terminal device, and the third information includes one or more of an optional code rate of the second media, information on the state of the media data of the second media buffered by the first terminal device, third indicator information, and second period indicator information, the third indicator information indicates a second user plane network element corresponding to the second terminal device, and the second period indicator information indicates a period during which the second terminal device receives the media data of the second media. The first network element determines the second information based on the third information and the historical statistical information of the bandwidth between the first access network device and the first terminal device.

[0034] A third aspect of the present application provides a first terminal device. The first terminal device may include a first transceiver module, the first transceiver module configured to transmit first information to a first network element and receive second information from the first network element. The first information includes first indicator information, the first indicator information for determining a first access network device connected to the first terminal device. The second information is determined by the first network element based on historical statistical information of the bandwidth between the first access network device and the first terminal device. The second information is for determining a first code rate. The first code rate indicates a code rate of media data of a first media received by the first terminal device.

[0035] After the first transceiver module sends the first information to the first network element, the first network element predicts a network state of the media transmission link of the terminal based on historical statistical information of the bandwidth of the media transmission link, and then adjusts a code rate of the transmitted media data based on second information obtained by the prediction, thereby improving the accuracy and real-time performance of the code rate adjustment of the media data, and further improving the effectiveness of the code rate adjustment.

[0036] Referring to a third aspect, in an optional method, the first indication information includes location information of the first terminal device.

[0037] Referring to the third aspect, in an optional method, the first indication information includes an identifier of the first access network device.

[0038] Referring to the third aspect, in an optional method, the first information may further include first period index information, and the first period index information indicates a period during which the first terminal device receives the media data of the first media. In this way, the first network element can predict the link on which the first terminal device receives the media data of the first media within the first period, thereby improving the validity and accuracy of the prediction, and further improving the effectiveness of the code rate adjustment.

[0039] Referring to the third aspect, in an optional method, the first information may further include second indicator information, and the second indicator information may indicate a first user plane network element corresponding to the first terminal device. The first network element may determine the second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device, and historical statistical information of the bandwidth between the first access network device and the first user plane network element. The first network element predicts a link segment between the first terminal device and the first access network device, and a link segment between the first access network device and the first user plane network element, which is a link through which the first terminal device receives media data of the first media, to obtain the second information, improving the validity and accuracy of the prediction, and further improving the effectiveness of the code rate adjustment.

[0040] Referring to the third aspect, in an optional method, the first information may further include one or more of a media identifier, an optional code rate, or state information of the first media, and the state information may indicate a state of the media data of the first media buffered by the first terminal device. The first code rate is determined based on the second information and the state information corresponding to the first terminal device and / or the throughput information of the first terminal device. The first code rate is determined based on the comprehensive information, which ensures the reliability of the first code rate and further improves the effectiveness of the code rate adjustment.

[0041] Referring to the third aspect, in an optional manner, the second information includes information regarding a recommended code rate or the first bandwidth.

[0042] Referring to the third aspect, in an optional manner, the recommended code rate may be one code rate determined from at least two optional code rates corresponding to the first media.

[0043] Referring to a third aspect, in an optional method, the first code rate may be determined based on the second information and one or both of status information or throughput information of the first terminal device, and the status information may indicate a status of media data of the first media buffered by the first terminal device.

[0044] Referring to the third aspect, in an optional method, the first terminal device may further include a first processing module, and the first processing module may be configured to determine the first code rate based on the second information.

[0045] A fourth aspect of the present application provides a communication device. The communication device includes a second transceiver module and a second processing module. The second transceiver module may be configured to receive first information. The first information includes first indicator information. The second processing module may be configured to determine a first access network device connected to the first terminal device based on the first indicator information, and may be further configured to determine second information based on historical statistical information of bandwidth between the first access network device and the first terminal device. The second transceiver module is further configured to transmit the second information to a second network element. The second information is for determining a first code rate, and the first code rate may indicate a code rate of media data of the first media received by the first terminal device.

[0046] The second processing module predicts a network state of the media transmission link of the terminal based on historical statistical information of the bandwidth of the media transmission link, so that the second network element adjusts the code rate of the transmitted media data based on the second information obtained through the prediction of the first network element, thereby improving the accuracy and real-time performance of the code rate adjustment of the media data, and further improving the effectiveness of the code rate adjustment.

[0047] Referring to the fourth aspect, in an optional method, the first indication information includes location information of the first terminal device.

[0048] Referring to the fourth aspect, in an optional method, the first indication information includes an identifier of the first access network device.

[0049] Referring to the fourth aspect, in an optional manner, the second network element includes the first terminal device and / or the media server. Diversified code rate adjustment is implemented in a number of ways.

[0050] Referring to the fourth aspect, in an optional method, the second transceiver module may be further configured to obtain an identifier of the first terminal device, transmit the identifier of the first access network device and the identifier of the first terminal device to a network management network element, and receive historical statistical information relating to bandwidth between the first access network device and the first terminal device and returned by the network management network element.

[0051] Referring to the fourth aspect, in an optional method, the first information may further include first period index information, and the first period index information may indicate a period during which the first terminal device receives the media data of the first media. In this way, the second processing module can predict the link during which the first terminal device receives the media data of the first media within the first period, thereby improving the validity and accuracy of the prediction, and further improving the effectiveness of the code rate adjustment.

[0052] Referring to the fourth aspect, in an optional method, the first information may further include one or more of a media identifier, an optional code rate, or status information of the first media, the status information indicating a status of media data of the first media buffered by the first terminal device.

[0053] Referring to the fourth aspect, in an optional method, the first information further includes second indicator information, and the second indicator information may indicate a first user plane network element corresponding to the first terminal device. Furthermore, the second processing module may be specifically configured to determine the second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device, and historical statistical information of the bandwidth between the first access network device and the first user plane network element. The second processing module predicts a link segment between the first terminal device and the first access network device, and a link segment between the first access network device and the first user plane network element, which is a link through which the first terminal device receives media data of the first media, to improve the validity and accuracy of the prediction and further improve the effectiveness of the code rate adjustment.

[0054] Referring to the fourth aspect, in an optional manner, the second information includes information regarding a recommended code rate or the first bandwidth.

[0055] Referring to a fourth aspect, in an optional method, the second processing module may be particularly configured to determine information regarding a first bandwidth between the first terminal device and the first access network device based on historical statistical information of the bandwidth between the first access network device and the first terminal device, and to determine a recommended code rate based on the information regarding the first bandwidth.

[0056] Referring to the fourth aspect, in an optional method, the second processing module may be particularly configured to determine a recommended code rate from at least two optional code rates corresponding to the first media based on information regarding the first bandwidth.

[0057] Referring to the fourth aspect, in an optional method, the first code rate may be determined by the second network element based on the second information and one or both of the status information or the throughput information of the first terminal device, where the status information indicates a status of the media data of the first media buffered by the first terminal device. The first code rate is determined based on the second information and the status information corresponding to the first terminal device and / or the throughput information of the first terminal device. The first code rate is determined based on the comprehensive information, which ensures the reliability of the first code rate and further improves the effectiveness of the code rate adjustment.

[0058] Referring to the fourth aspect, in an optional method, the second transceiver module is further configured to receive an identifier of a second terminal device, the second terminal device being a terminal device receiving media data of the second media via the first access network device, and there being one or more second terminal devices. The second processing module may be specifically configured to determine the second information based on the identifier of the second terminal device and historical statistical information of the bandwidth between the first access network device and the first terminal device.

[0059] Referring to the fourth aspect, in an optional manner, the first processing module is specifically configured to determine the second information in the following manner: The first processing module obtains third information based on an identifier of the second terminal device, the third information including one or more of an optional code rate of the second media, information on a state of media data of the second media buffered by the second terminal device, third indicator information, and second period indicator information, the third indicator information indicating a second user plane network element corresponding to the second terminal device, and the second period indicator information indicating a period during which the second terminal device receives the media data of the second media. The first processing module determines the second information based on the third information and historical statistical information of the bandwidth between the first access network device and the first terminal device. In the process of determining the second information of the first terminal device, each second terminal device connected to the first access network device is taken into consideration, so that the first terminal device and each second terminal device appropriately and fairly occupy the shared bandwidth of the first access network device, and the bandwidth utilization efficiency of the first access network device is also ensured.

[0060] A fifth aspect of the present application provides another first terminal device. The first terminal device may include a processor, a memory, and a communication interface. The processor, the memory, and the communication interface are connected to each other. The communication interface is configured to transmit and receive data. The memory is configured to store a program. The processor is configured to call the program stored in the memory. When the program is executed by a computer, the computer can execute the information determination method according to the first aspect and any one of the possible implementations of the first aspect. The processor and the memory may be physically separate units, or the memory may be integrated with the processor.

[0061] A sixth aspect of the present application provides another communication device. The communication device may include a processor, a memory, and a communication interface. The processor, the memory, and the communication interface are connected to each other. The communication interface is configured to transmit and receive data. The memory is configured to store a program. The processor is configured to call the program stored in the memory. When the program is executed by a computer, the computer can perform the information determination method according to the second aspect and any one of the possible implementations of the second aspect.

[0062] A seventh aspect of the present application provides a computer readable medium, the computer readable medium storing instructions, which when executed by a computer, can cause the computer to perform an information determination method according to the first aspect and any one of the possible implementations of the first aspect, or to perform an information determination method according to the second aspect and any one of the possible implementations of the second aspect.

[0063] An eighth aspect of the present application provides a computer program product, the computer program product comprising computer program code, which when executed on a computer, can cause the computer to perform the method according to the first aspect and any one of the possible implementations of the first aspect, or the information determination method according to the second aspect and any one of the possible implementations of the second aspect.

[0064] A ninth aspect of the present application provides a chip, the chip comprising a processor and a communication interface, the processor being coupled to the communication interface for performing an information determination method according to the first aspect or any one of the optional embodiments, or for performing an information determination method according to the second aspect and any one of the possible embodiments of the second aspect. [Brief description of the drawings]

[0065] In order to more clearly describe the technical solutions in the embodiments of the present application, the following briefly describes the accompanying drawings of the embodiments. The accompanying drawings in the following description merely illustrate some embodiments of the present application, and it is obvious that those skilled in the art can derive other drawings from these accompanying drawings without creative efforts. [Figure 1] FIG. 1 is a schematic diagram of a 5G system architecture according to an embodiment of the present application. [Diagram 2] FIG. 1 is a schematic diagram of the architecture of an information determination system according to an embodiment of the present application. [Diagram 3] 1 is a schematic flowchart of an information determination method according to an embodiment of the present application; [Figure 4] FIG. 2 is a schematic diagram of a waveform of instantaneous bandwidth usage according to the present application. [Diagram 5] 4 is a schematic flowchart of another information determining method according to an embodiment of the present application; [Figure 6] 4 is a schematic flowchart of yet another information determining method according to an embodiment of the present application; [Figure 7] 4 is a schematic flowchart of yet another information determining method according to an embodiment of the present application; [Figure 8] FIG. 2 is a schematic diagram of the structure of a first terminal device according to an embodiment of the present application; [Figure 9] FIG. 13 is a schematic diagram of the structure of another first terminal device according to an embodiment of the present application; [Figure 10] 1 is a schematic diagram of the structure of a communication device according to an embodiment of the present application; [Figure 11] 1 is a schematic diagram of the structure of another communication device according to an embodiment of the present application; [Figure 12] 1 is a schematic diagram of a structure of a communication chip according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0066] The following clearly and completely describes the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. It is clear that the described embodiments are only a part of the embodiments of the present application, and are not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts shall fall within the scope of protection of the present application.

[0067] Hereinafter, the implementation of the embodiment will be described in detail with reference to the accompanying drawings. In the description of the embodiment of the present application, " / " means "or" unless otherwise specified. For example, A / B may indicate A or B. In this specification, "and / or" only describes an association relationship to describe associated objects, and indicates that three relationships may exist. For example, A and / or B may indicate the following three cases: when only A exists, when both A and B exist, and when only B exists. Furthermore, in the description of the embodiment of the present application, "multiple" means two or more.

[0068] The information determination method in the present application may be implemented based on the 5G system defined in 3rd Generation Partnership Project (3GPP) TS23.501. Before describing the information determination method in the present application, the architecture of the 5G system will be described with reference to FIG. 1. FIG. 1 is a schematic diagram of the architecture of the 5G system according to an embodiment of the present application. The 5G system includes an access network and a core network, and the access network and the core network include different network elements. For example, the network elements in the access network include a (Radio) Access Network ((R)AN) device. A terminal device can be connected to the core network via the (R)AN device. Network elements in the core network include multiple Network Function (NF) network elements, such as an Access and Mobility Management Function (AMF) network element, a Session Management Function (SMF) network element, a Policy Control Function (PCF) network element, a User plane function (UPF) network element, an Authentication Server Function (AUSF) network element, a Network Data Analytics Function (NWDAF) network element, and a NEF network element. The core network can be connected to a Data Network (DN), and various Application Function (AF) network elements can be included in the DN to provide various application functions to the core network.

[0069] In the following, network elements or devices that may be mentioned in the present application are described individually.

[0070] The terminal device may be called user equipment (UE), mobile station, remote station, etc., and is a network device having a wireless transmission and reception function. The terminal device may be, for example, an indoor or outdoor device, a handheld device, a wearable device, or an in-vehicle device, and may be deployed on land, on water (e.g., on a ship), or in the air (e.g., an airplane, a balloon, a satellite). The terminal device in the embodiment of the present application may be a mobile phone, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal for industrial control, a wireless terminal for self driving, a wireless terminal for remote medical, a wireless terminal for smart grid, a wireless terminal for transportation safety, a wireless terminal for smart city, a wireless terminal for smart home, etc. The specific technology, device type, and name used by the terminal are not limited to the embodiments of this application.

[0071] The (R)AN equipment is located between the UE and the core network and can provide network access function to the terminal equipment.

[0072] The AMF network element may have functions such as UE registration management, reachability detection, and SMF network element selection, and may transmit Session Management (SM) messages between the UE and the SMF.

[0073] The SMF network element may perform session management (eg, establishing, modifying, and deleting sessions), UE IP address allocation and management, UPF node selection, etc.

[0074] A UPF network element can route and forward data packets, act as a mobility anchor in and out of the system, act as an uplink classifier supporting routing of service flows to data networks, act as a branching point supporting multi-homed Protocol Data Unit (PDU) sessions, etc.

[0075] The NWDAF network element can collect and analyze network data based on technologies such as big data and artificial intelligence, and provide the analysis results to other network function network elements.

[0076] The NEF network element can support the capabilities and exposure of the core network, securely provide information of the 3GPP network through external application processes, and support internal and external information conversion, etc.

[0077] The AF network element can interact with network functions in the core network to provide services, for example, to affect service flow routing, support access network exposure capabilities, and support policy control.

[0078] An Operation Administration and Maintenance (OAM) system can perform analysis, prediction, planning, configuration, testing, and fault management on a communication network.

[0079] The following describes an optional system architecture for implementing the information determination method provided in the present application. Figure 2 is a schematic diagram of the architecture of an information determination system according to an embodiment of the present application. As shown in Figure 2, the system may include at least a first terminal device and a first network element.

[0080] The first terminal device may be the terminal device of Fig. 1, or may be a terminal device having a media data transmission function and being any form in a future communication network. The first network element may be a network element having an analysis and statistics function based on big data, or artificial intelligence, etc. For example, the first network element may be an NWDAF network element in a core network.

[0081] The first terminal device can transmit first information including the first indicator information to the first network element. The first network element can determine a first access network device connected to the first terminal device based on the first indicator information, and obtain historical statistics information of the bandwidth between the first access network device and the first terminal device. The historical statistics information of the bandwidth can include bandwidth usage information between the first access network device and the first terminal device within a preset historical statistics period before the current time. For example, the preset historical statistics period is one or several hours, one or several days, one or several weeks, or one or several months before the current time. In this way, the first network element can determine second information based on the historical statistics information of the bandwidth between the first access network device and the first terminal device, and the second information can be for determining a first code rate of the media data of the first media received by the first terminal device. The second information can be bandwidth information determined by the first network element, or can be code rate information. Optionally, the first network element can transmit the second information to the first terminal device, whereby the first terminal device performs the code rate selection or adjustment. Alternatively, the first network element can transmit the second information to a media server configured to transmit media data of the first media to the first terminal device, whereby the media server performs the code rate selection or adjustment.

[0082] Based on the system architecture, the first network element can predict the network state of the media data transmission link in real time based on the historical statistical information of the bandwidth between the first access network device and the first terminal device to obtain the second information, so that the first terminal device or the media server can determine the first code rate of the media data received by the first terminal device in real time based on the second information. Compared with the bandwidth change related to the first terminal device and obtained by averaging within a certain time window, the historical statistical information of the bandwidth between the first access network device and the first terminal device can more accurately reflect the bandwidth change rule between the first access network device and the first terminal device. Therefore, the method of the present application can ensure the accuracy and real-time performance of the code rate adjustment, and can improve the effectiveness of the code rate adjustment.

[0083] The information determination method provided in the embodiments of the present application can be implemented in different interaction scenarios of the first terminal device, such as a PDU session establishment scenario of the first terminal device, a PDU session modification scenario of the first terminal device, a service request (e.g., a video call service request or a voice call service request) scenario of the first terminal device, and an application layer interaction scenario between the first terminal device and an AF network element.

[0084] Furthermore, the information determination method in the embodiment of the present application may be applied to a scenario in which, before playing the first media online, the first terminal device determines a fixed first code rate for playing the first media online. For example, for some short videos lasting several seconds or tens of seconds, the second information may be determined based on bandwidth history statistical information, and the fixed first code rate for playing the short video by the first terminal device is determined based on the second information. Alternatively, the method may be applied to a scenario in which, in the process of playing the first media, the first terminal device may periodically determine a first code rate for playing the first media, and further periodically adjust the code rate for playing the first media. For example, for some videos lasting several minutes, tens of minutes, or hours, the second information is periodically determined based on bandwidth history usage information, and the code rate for playing the video by the first terminal device is adjusted in real time based on the second information. For example, the period may be 20 seconds or 40 seconds. It should be understood that the first media in the embodiment of the present application may include audio type media, video type media, etc.

[0085] Still further, in the embodiment of the present application, the media server processes the media data based on the first code rate in the following manner: In a particular implementation, media data having different code rates of the first media may be pre-stored in the media server. After determining the first code rate, the media server sends the media data corresponding to the first code rate to the first terminal device. In another particular implementation, media data having an original code rate (usually a high code rate) of the first media may be pre-stored in the media server. After determining the first code rate, the media server encodes the media data at the original code rate based on the first code rate, and then sends the encoded media data to the first terminal device. In yet another particular implementation, in some live streaming scenarios, after determining the first code rate, the media server encodes the immediately obtained media data based on the first code rate, and then sends the encoded media data to the first terminal device.

[0086] It should be understood that the network element in the embodiment of the present application may be a physical network device or a virtual network device. The connection relationship between the devices in the embodiment of the present application may be a direct connection or an indirect connection, or may be a wired connection or a wireless connection. The information transmission in the embodiment of the present application may be a direct transmission or an indirect transmission via at least one device. This is not particularly limited in the present application. It should be noted that the media (medium) in the embodiment of the present application may be a medium used for information transmission, such as music or a movie. The media data of the media may be a bearer file related to the media and used for operations such as storage and transmission. For example, the media data may be a music file of music, and operations such as decryption and decoding may be performed on the music file to play the music corresponding to the music file. As another example, the media data may be a movie file of a movie, and operations such as decryption and decoding may be performed on the movie file to play the movie corresponding to the movie file.

[0087] In the following, the information determination method provided in the embodiment of the present application will be described with reference to FIG. 3 to FIG. 7. FIG. 3 is a schematic flowchart of the information determination method according to an embodiment of the present application. The network elements in the information determination method corresponding to FIG. 3 include a first terminal device, a first network element, and a second network element. In an optional case, the second network element and the first terminal device may be the same device. In another optional case, the second network element may be a media server. The first terminal device may correspond to the description of the first terminal device in the architecture of the system of FIG. 2. The first network element may correspond to the description of the first network element in the architecture of the system of FIG. 2. The media server may be configured to send media data of the first media to the first terminal device. As shown in FIG. 3, the method may include at least steps S301 to S304.

[0088] S301: A first terminal device sends first information to a first network element.

[0089] The first information may include first indicator information, and the first indicator information may be for determining a first access network device connected to the first terminal device. Specifically, the first indicator information may include first location information of the first terminal device and / or an identifier of the first access network device. For example, the first location information may be Global Positioning System (GPS) information of the first terminal device. The identifier of the first access network device may be an access network identifier ((R)AN ID) of the first access network device, or a cell identifier (cell ID) corresponding to any cell of the first access network device, etc.

[0090] Optionally, the first information may further include first period indicator information, and the first period indicator information may indicate a period during which the first terminal device receives media data of the first media.

[0091] Optionally, the first information may further include second indicator information, and the second indicator information may indicate a first user plane network element corresponding to the first terminal device. The first user plane network element may include one or more network elements, such as an anchor UPF network element, that is in a core network and provides the first terminal device with any one of the following functions: data packet routing, acting as a mobility anchor, acting as an uplink classifier, or acting as a branching point.

[0092] Optionally, the first information may include one or more of a media identifier, an optional code rate, or state information of the first media.

[0093] The first media may be a media requested by the first terminal device. In one embodiment, the media identifier of the first media may indicate a media type of the first media. Optionally, the media type of the first media may be either an audio type or a video type. For example, some music players have a random listening function. That is, the first terminal device may request to play music but does not specify the music to be played. In this scenario, the media identifier of the first media may indicate an audio type. In another embodiment, the media identifier of the first media may indicate media data of a particular media that the first terminal device requests to be transmitted. For example, the media identifier of the first media may indicate a song, a movie, or an episode of a TV series, etc.

[0094] The first media may include one media data. For example, the first media may be music, and the music may include a music file with a code rate of 0.5 Mbps. Alternatively, the first media may include a plurality of media data with different code rates. For example, the first media may be first music, and the first music may include three music files, a lossless sound quality file with a code rate of 0.5 Mbps, a normal sound quality file with a code rate of 0.1 Mbps, and a smooth sound quality file with a code rate of 0.05 Mbps.

[0095] Correspondingly, there may be one optional code rate, and the optional code rate indicates the code rate of one media data of the first media. For example, when there is only one media data of the first media, the optional code rate may be the code rate corresponding to the media data. As another example, when there are multiple media data of the first media, the optional code rate may be the code rate corresponding to any media data of the first media. In the above example of the first music, the optional code rate may be either 0.5 Mbps, 0.1 Mbps, or 0.05 Mbps. Alternatively, there may be multiple optional code rates, and the multiple optional code rates may indicate the respective code rates of the multiple media data of the first media. In the above example of the first music, the optional code rates may be 0.5 Mbps, 0.1 Mbps, and 0.05 Mbps.

[0096] The status information may indicate a status of the media data of the first media buffered by the first terminal device. For example, the status information may be a size of the media data of the first media buffered but not played by the first terminal device, for example, 10M. As another example, the status information may be a playing duration of the media data of the first media buffered but not played by the first terminal device, for example, 30 seconds.

[0097] Optionally, the first information may further include an identifier of the first terminal device, which may be a Temporary Mobile Subscriber Identity (TMSI), an International Mobile Subscriber Identity (IMSI), or a Radio Network Temporary Identifier (RNTI) of the first terminal device, etc.

[0098] It should be understood that the first information sent by the first terminal device may be sent directly to the first network element, or may be sent to the first network element via another network element. The first information may be sent to the first network element via the same message entity, or may be sent to the first network element via a different message entity. In the following, the two optional sending methods are described using the case where the first network element is an NWDAF network element as an example.

[0099] In the first transmission method, the first terminal device can transmit the first information to the NWDAF network element via the SMF network element. For example, the first terminal device transmits the first information to the SMF network element via a PDU session establishment request. The SMF network element obtains the first information from the PDU session establishment request and transmits a first prediction request carrying the first information to the NWDAF network element.

[0100] In the second transmission method, the first terminal device can transmit the first information to the NWDAF network element via the AF network element (wherein the AF network element is a media server that integrates the function of managing or storing media data of the first media, etc.). For example, the first terminal device transmits a code rate adjustment request carrying the first information to the AF. After obtaining the first information from the code rate adjustment request, the AF network element transmits a second prediction request carrying the first information to the NWDAF network element. Furthermore, when the first information includes a media identifier of the first media but does not include an optional code rate of the first media, the AF network element can include the optional code rate of the first media in the first information and transmit the first information including the optional code rate via the second prediction request.

[0101] S302: The first network element determines, based on the first indication information, a first access network device connected to the first terminal device.

[0102] For example, after receiving the first information, the first network element obtains first indicator information from the first information, and further determines the first access network device based on the first indicator information. The first indicator information may include first location information of the first terminal device and / or an identifier of the first access network device. The first network element can determine the first access network device based on either the first location information or the identifier of the first access network device. When the first indicator information includes both the first location information and the identifier of the first access network device, the first network element can determine the first access network device based on both the first location information and the identifier of the first access network device.

[0103] When the first indicator information includes the first location information of the first terminal device, the first network element can determine, based on the correspondence between each access network device in the communication network and the geographical location covered by the cell of each access network device, that the geographical location indicated by the first location information of the first terminal device is the geographical location covered by the cell of the first access network device. Optionally, the correspondence between each access network device in the communication network and the geographical location covered by the cell of each access network device can be obtained by the first network element from an OAM system.

[0104] When the first index information includes an identifier of a first access network device connected to the first terminal device, for example, the identifier of the first access network device is an (R)AN ID, the (R)AN ID is a unique identifier of the access network device, and the first network element can determine the first access network device based on the (R)AN ID included in the first index information. In another example, the identifier of the first access network device is a cell ID. The first network element can determine that the cell ID included in the first index information is a cell ID corresponding to the cell of the first access network device based on the correspondence between each access network device in the communication network and the cell ID of the cell of each access network device. Optionally, the correspondence between each access network device in the communication network and the cell ID of the cell of each access network device can be obtained by the first network element from an OAM system.

[0105] When the first indicator information includes the first location information and the identifier of the first access network device, the first network element can determine one access network device based on the first location information, and determine one access network device based on the identifier of the first access network device. When the access network device determined by the two methods is the same access network device, the device can be determined as the first access network device. When the access network device determined by the two methods is different access network devices, the access network device determined based on the identifier of the first access network device (e.g., (R)AN ID or cell ID) is determined as the first access network device. This avoids the problem that the first location information reported by the first terminal device is inaccurate, leading to inaccurate determination of the first access network device, and avoids the problem that when the first terminal device is located at the border or overlapping position of two cells, the access network device actually connected to the first terminal device is different from the access network device corresponding to the geographical location recorded in the OAM system.

[0106] S303: The first network element determines second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device.

[0107] After determining the first access network device, the first network element can obtain historical statistics of bandwidth between the first access network device and the first terminal device to determine the second information. For example, the first network element can obtain historical statistics of bandwidth between the first access network device and the first terminal device from a network management network element (e.g., OAM system). For example, the first network element can obtain an identifier of the first terminal device, and send the identifier of the first access network device and the identifier of the first terminal device to the network management network element (e.g., OAM system). The network management network element obtains historical statistics of bandwidth between the first access network device and the first terminal device from historical statistics related to bandwidth between different access network devices and terminal devices and recorded in network operation and maintenance based on the identifier of the first access network device and the identifier of the first terminal device, and returns the historical statistics information to the first network element.

[0108] The bandwidth history statistics information between the first access network device and the first terminal device may indicate bandwidth usage information between the first access network device and the first terminal device within a preset historical statistics period before the current time, for example, the preset historical statistics period is one or several hours, one or several days, one or several weeks, or one or several months before the current time.

[0109] In one embodiment, the historical statistical information of the bandwidth between the first access network device and the first terminal device may include a bandwidth usage record between the first access network device and the first terminal device within a preset historical statistical period, for example, may include an instantaneous bandwidth usage between the first access network device and the first terminal device at each time point within the preset historical statistical period. In another embodiment, the historical statistical information of the bandwidth between the first access network device and the first terminal device may include information obtained by performing a statistical analysis on the bandwidth usage record between the first access network device and the first terminal device within the preset historical statistical period. For example, the waveform diagram is for reflecting the instantaneous bandwidth usage between the first access network device and the first terminal device at each time point within the preset historical statistical period. When a jagged or sawtooth phenomenon occurs in the waveform diagram, a smoothing process may be performed on the instantaneous bandwidth usage between the first access network device and the first terminal device at each time point within the preset historical statistical period. The smoothing process may be a process of using a filter to filter out high frequency components, etc., to obtain a waveform diagram without jagged edges or sawtooth edges. The instantaneous bandwidth usage between the first access network device and the first terminal device and reflected in the processed waveform diagram may be determined as historical statistics of the bandwidth between the first access network device and the first terminal device.

[0110] After obtaining the historical statistical information of the bandwidth between the first access network device and the first terminal device, the first network element can predict a link for transmitting media data of the first media between the first access network device and the first terminal device based on the historical statistical information of the bandwidth between the first access network device and the first terminal device to obtain second information.

[0111] Regarding the second information, in an optional case, the second information includes information about the first bandwidth, which is information about the bandwidth obtained by the first network element by performing bandwidth prediction for a link for transmitting media data of the first medium between the first access network device and the first terminal device. In another optional case, the second information includes a recommended code rate. The recommended code rate may be a recommended code rate determined based on information about the first bandwidth obtained by the first network element by performing bandwidth prediction for a link for transmitting media data of the first medium between the first access network device and the first terminal device and for the media data of the first medium to be transmitted.

[0112] In the process in which the first network element determines a recommended code rate based on the information on the first bandwidth, if the first information includes an optional code rate, the first network element may determine the recommended code rate based on the optional code rate of the first information. For example, if the first information has only one optional code rate and the optional code rate is consistent with the information on the first bandwidth, the optional code rate is determined as the recommended code rate. As another example, if the first information has multiple optional code rates, the first network element may select an optimal code rate that is consistent with the information on the first bandwidth from the multiple optional code rates as the recommended code rate. If the first information does not include an optional code rate, the first network element determines an optimal code rate that is consistent with the information on the first bandwidth as the recommended code rate. For example, assume that the information on the first bandwidth is 5 Mbps. If the first information does not include an optional code rate, an optimal code rate of 2.5 Mbps that is consistent with the information on the first bandwidth of 5 Mbps may be determined as the recommended code rate. If the optional code rates included in the first information are 1.5 Mbps, 8 Mbps, 10 Mbps, and 20 Mbps, 1.5 Mbps may be determined as the recommended code rate.

[0113] The method of determining the optimal code rate that corresponds to the information about the first bandwidth is not limited. Usually, the code rate of media data is variable. That is, the code rates of media data of different media segments of the same media may be different. Therefore, in order to ensure smooth transmission of media data, it is necessary to reserve a certain redundant bandwidth based on the average code rate of the media data to deal with sudden changes in the code rate of the media data of different media segments. In one embodiment, media of different media service types correspond to different degrees of sudden changes in code rate. Therefore, the optimal code rate that corresponds to the information about the first bandwidth can be determined based on the media service type of the first media. For example, when the bandwidth and the code rate are measured in the same measurement unit (e.g., Mbps), in the case of a short video type media service, the ratio of the information about the first bandwidth to the optimal code rate is a value in the interval [4, 4.5]. In the case of a normal video type media service, the ratio of the information about the first bandwidth to the optimal code rate is a value in the interval [1.5, 2], and so on. For ease of explanation, the following example uses the relationship that the ratio of information about the first bandwidth to the optimal code rate is 2 as an example.

[0114] When the first information includes status information and the second information includes a recommended code rate, in the process of determining the recommended code rate, the first network element can make a decision based on the status information in the first information, i.e., a decision of a status of the data of the first media buffered by the first terminal device. For example, the status information in the first information can indicate a remaining playing period of the media data of the first media buffered by the first terminal device, and the remaining playing period is a period during which the media data of the first media buffered by the first terminal device can still be played. Furthermore, the recommended code rate is selected from the optional code rates of the first media based on the remaining playing period. For example, when the remaining playing period reaches a first time threshold, the first network element determines, as the recommended code rate, the lowest optional code rate in the optional code rates of the first media that is higher than the optimal code rate that matches the information on the first bandwidth. When the remaining playback duration reaches a second time threshold, the first network element determines, among the optional code rates of the first media, a second lowest optional code rate that is higher than the optimal code rate that matches the information about the first bandwidth (wherein there is another optional code rate between the second lowest optional code rate and the optimal code rate that matches the bandwidth corresponding to the information about the first bandwidth; for example, the second lowest optional code rate is 10 Mbps, the optimal code rate that matches the information about the first bandwidth is 5 Mbps, and there is another optional code rate of 8 Mbps between the two code rates).

[0115] Optionally, the first network element can determine a first period during which the first terminal device receives media data of the first media. The process of the first network element determining the second information can be a prediction made for a link between the first access network device and the first terminal device within the first period during which the first terminal device receives media data of the first media. The first period can be a period between two points in time within one analysis period (e.g., one day). When predicting the link within the first period, the first network element can obtain historical statistical information of the bandwidth within a historical period corresponding to a first period of a preset historical statistical period (e.g., the preset historical statistical period is one month before the current day, the first period is between 9:00 and 9:30 on the current day, and the historical period corresponding to the first period is between 9:00 and 9:30 on each day within one month before the current day). Furthermore, the first network element predicts the link between the first access network device and the first terminal device in the first period based on the historical statistical information of the bandwidth in the historical period to obtain the second information. Based on the historical statistical information of the bandwidth in the historical period corresponding to the first period, the first network element can more accurately predict the network state of the link between the first access network device and the first terminal device in the first period, and further more accurately determine the second information of the first medium.

[0116] Regarding a method for determining a first period during which the first terminal device receives media data of a first media, if the first information includes first period index information, the first network element can determine the first period based on the first period index information. If the first information does not include first period index information, the first network element can determine a time window having a preset period and after receiving the first information of the first terminal device as the first period during which the first terminal device receives media data of the first media. For example, in a scenario in which the code rate of the first media is adjusted periodically, if the first network element receives the first information of the first terminal device at time 1, the first network element can determine a time window having a period of 10 seconds and after time 1 as the first period.

[0117] Furthermore, the second information corresponding to different periods within the first period may be different, in which case the second information may include different second information corresponding to different periods within the first period and period index information corresponding to each period within the first period.

[0118] In a particular embodiment of determining the second information, a prediction model may be established in the first network element, and historical statistical information of the bandwidth between the first access network device and the first terminal device is input into the prediction model, and the prediction model outputs the second information. Based on different prediction models established in the first network element, the first network element can determine the second information in different ways. In the following, several alternative methods of determining the second information are described.

[0119] In a first alternative determination method, the first network element can determine the characteristic information of the bandwidth between the first access network device and the first terminal device based on historical statistical information of the bandwidth between the first access network device and the first terminal device, and then determine the second information based on the characteristic information of the bandwidth. The characteristic information of the bandwidth between the first access network device and the first terminal device can be obtained based on one or more statistical analysis methods, such as average value statistical analysis of the bandwidth, variance statistical analysis, mean square error statistical analysis, bandwidth change rate statistical analysis, regression analysis, or covariance analysis. The specific statistical analysis method is not limited in this specification.

[0120] Optionally, the bandwidth characteristic information can indicate a bandwidth change characteristic between the first terminal device and the first access network device and corresponding to a different time period, so that the first network element can determine the second information based on the bandwidth characteristic information corresponding to the different time period. For example, the first network element can obtain the bandwidth characteristic information corresponding to a current time period from the information on the bandwidth change characteristic, and then determine the second information based on the bandwidth characteristic information corresponding to the current time period. As another example, the first network element can determine a first time period during which the first terminal device receives media data of a first media, obtain the bandwidth characteristic information corresponding to the first time period from the bandwidth characteristic information, and determine the second information based on the bandwidth characteristic information corresponding to the first time period.

[0121] For example, the historical statistical information of the bandwidth between the first access network device and the first terminal device includes a bandwidth usage record between the first access network device and the first terminal device. The first network element determines that, within 24 hours of a day, the characteristic information of the bandwidth between the first access network device and the first terminal device is as follows: the average occupied bandwidth between 00:00 and 08:00 is 0.1 Mbps, the average occupied bandwidth between 08:00 and 12:00 is 5 Mbps, the average occupied bandwidth between 12:00 and 14:00 is 10 Mbps, the average occupied bandwidth between 14:00 and 17:00 is 5 Mbps, the average occupied bandwidth between 17:00 and 20:00 is 0.1 Mbps, and the average occupied bandwidth between 20:00 and 24:00 is 10 Mbps. When a first period during which the first terminal device receives media data of a first media is between 21:40 and 22:00, the characteristic information of the band corresponding to the first period is an average occupied bandwidth of 10 Mbps. The first network element can determine the second information based on the average occupied bandwidth of 10 Mbps.

[0122] In a second alternative determination method, the first network element may obtain the maximum available bandwidth of the first access network device and historical usage information of the bandwidth between the first access network device and the terminal device based on the first indicator information, and may further determine the second information based on the maximum available bandwidth of the first access network device, the historical usage information of the bandwidth, and the historical statistical information of the bandwidth between the first access network device and the first terminal device. The maximum available bandwidth of the first access network device may be the total bandwidth of the available wireless channels configured for the first access network device. The historical usage information of the bandwidth between the first access network device and the terminal device may include historical statistical information of the bandwidth occupied by the terminal device on the wireless channel of the first access network device within a preset historical statistical period. Optionally, the aforementioned two types of information may be obtained by the first network element from a network management network element.

[0123] Specifically, the first network element can predict the available bandwidth not occupied by the terminal device on the wireless channel of the first access network device based on the maximum available bandwidth of the first access network device and historical usage information of the bandwidth between the first access network device and the terminal device, and can further determine the second information based on the available bandwidth of the first access network device and historical statistical information of the bandwidth between the first access network device and the first terminal device.

[0124] For example, it is estimated that the maximum available bandwidth of the first access network device is 10 Mbps, and the historical usage information of the bandwidth between the first access network device and the terminal device is as follows: the occupied bandwidth between 00:00 and 08:00 is 0.5 Mbps, the occupied bandwidth between 08:00 and 12:00 is 8 Mbps, and the occupied bandwidth between 12:00 and 24:00 is 9 Mbps. The first network element subtracts each bandwidth corresponding to the historical usage information of the bandwidth between the first access network device and the terminal device from the maximum available bandwidth of the first access network device to obtain the available bandwidth of the first access network device. The available bandwidth between 00:00 and 08:00 is 9.5 Mbps, the available bandwidth between 08:00 and 12:00 is 2 Mbps, and the available bandwidth between 12:00 and 24:00 is 1 Mbps. The first network element further determines, based on the historical statistical information of the bandwidth between the first access network device and the first terminal device, that the average bandwidth between the first access network device and the first terminal device between 00:00 and 08:00 is 0.5 Mbps, the average bandwidth between 08:00 and 12:00 is 1 Mbps, the average bandwidth between 12:00 and 22:00 is 5 Mbps, and the average bandwidth between 22:00 and 24:00 is 1 Mbps. In this way, the first network element can predict the bandwidth that can be allocated to the first terminal device by the first access network device by adding the average bandwidth between the first access network device and the first terminal device and the available bandwidth of the first access network device. Specifically, the available bandwidth of the first terminal device between 00:00 and 08:00 is 10 Mbps, the available bandwidth between 08:00 and 12:00 is 3 Mbps, the available bandwidth between 12:00 and 22:00 is 6 Mbps, and the available bandwidth between 22:00 and 24:00 is 1 Mbps. Furthermore, the first network element can determine the second information based on the predicted bandwidth that can be allocated to the first terminal device by the first access network device.

[0125] In a third alternative determination method, the historical statistical information of the bandwidth between the first access network device and the first terminal device may include an instantaneous bandwidth used between the first access network device and the first terminal device at each time point within a preset historical statistical period. Based on the prediction model, the first network element may predict the instantaneous available bandwidth between the first access network device and the first terminal device at each time point within one analysis period (e.g., one day) based on the instantaneous bandwidth used at each time point within the preset historical statistical period, and may further determine the second information based on the instantaneous available bandwidth. Specifically, the second information may be determined based on the instantaneous available bandwidth corresponding to the current time point, or may be determined based on the instantaneous available bandwidth corresponding to a first period during which the first terminal device receives media data of the first media.

[0126] Since the instantaneous bandwidth used at each time point in the preset historical statistical period usually changes with time, the sudden change of the instantaneous bandwidth used may occur at some time points in the preset historical statistical period. In this case, the first network element can determine a bandwidth stable period corresponding to the time point when the sudden change of the bandwidth occurs based on the instantaneous bandwidth used at each time point, and determine a period of sudden change of the bandwidth in which the bandwidth stable period does not exceed a preset period threshold as the short-term sudden change period of the bandwidth. Furthermore, the first network element performs a weakening process (e.g., a ignoring or removal process) on the instantaneous bandwidth used corresponding to the short-term sudden change period of the bandwidth, and determines the instantaneous bandwidth used within one analysis period based on the instantaneous bandwidth used at each time point obtained by the weakening process.

[0127] Optionally, the second information may further include short-term abrupt bandwidth change indicator information corresponding to a short-term abrupt bandwidth change period, and the indicator information instructs the first terminal device not to switch the code rate within the short-term abrupt bandwidth change period, thereby avoiding a problem in which the first terminal device frequently switches the media code rate and causes unstable media playback when abrupt bandwidth changes frequently occur within the short-term abrupt bandwidth change period.

[0128] Referring to FIG. 4, the aforementioned third alternative determination method is used as an example. FIG. 4 is a schematic diagram of the waveform of the instantaneous bandwidth used according to the present application. The waveform diagram in FIG. 4 reflects the instantaneous bandwidth used between the first access network device and the first terminal device within a continuous period of 300 seconds of a preset history statistical period, and the preset period threshold is 10 seconds. As shown in FIG. 4, the first period in which the media data of the first media is transmitted corresponds to the period between 0 seconds and 60 seconds in FIG. 4 (for example, the first period and the period between 0 seconds and 60 seconds in FIG. 4 are the periods between 10:00 and 10:01, respectively), and the instantaneous bandwidth used changes suddenly in 20 seconds, the available bandwidth changes suddenly from 1 Mbps to 100 Mbps, and the bandwidth stable period in which the instantaneous bandwidth used is maintained at 100 Mbps does not exceed the preset time threshold of 10 seconds, so that the sudden change of the instantaneous bandwidth used that occurs in 20 seconds can be ignored, and 1 Mbps is used as the instantaneous bandwidth used at each time point between 20 seconds and 23 seconds. When the second information determined based on the prediction model includes information about the first bandwidth, 1 Mbps may be determined as the information about the first bandwidth, and the second information is determined based on the information about the first bandwidth of 1 Mbps. When the second information determined based on the prediction model includes a recommended code rate, after determining 1 Mbps as the information about the first bandwidth, the second information is determined based on a recommended code rate of 0.5 Mbps corresponding to 1 Mbps.

[0129] In this example, optionally, the second information may further include indicator information of short-term sudden change in bandwidth for a period between 20 seconds and 23 seconds, and the indicator information may further include indicator information of a sudden change in bandwidth occurring between 20 seconds and 23 seconds, and if the bandwidth stability period does not exceed a preset time threshold, the code rate is kept unchanged and no media code rate switching is performed.

[0130] As shown in FIG. 4, when the first period during which the media data of the first media is transmitted corresponds to the period between 60 seconds and 120 seconds in FIG. 4, the available bandwidth changes suddenly in 60 seconds, the available bandwidth changes suddenly from 1 Mbps to 500 Mbps, and the bandwidth stability period during which the available bandwidth is maintained at 500 Mbps is 60 seconds, which exceeds the set period threshold of 10 seconds, and the weakening process is not performed on the instantaneous bandwidth used from 60 seconds to 120 seconds, and 500 Mbps is used as the instantaneous bandwidth used at each time point between 60 seconds and 120 seconds. When the second information determined based on the prediction model includes information on the first bandwidth, 500 Mbps may be determined as the information on the first bandwidth, and the second information is determined based on the information on the first bandwidth of 500 Mbps. When the second information determined based on the prediction model includes a recommended code rate, after 500 Mbps is determined as the information on the first bandwidth, the second information is determined based on the recommended code rate of 250 Mbps corresponding to 500 Mbps.

[0131] Similarly, as shown in FIG. 10, when the first period corresponds to the period between 120 seconds and 180 seconds in FIG. 4 (when the sudden change in available bandwidth with a bandwidth stability period of less than 10 seconds occurs between 155 seconds and 163 seconds), the instantaneous bandwidth used at each time point between 120 seconds and 180 seconds is determined as 1 Mbps. When the second information determined based on the prediction model includes information on the first bandwidth, 1 Mbps is determined as the information on the first bandwidth included in the second information, and the second information is determined based on the information on the first bandwidth of 1 Mbps. When the second information determined based on the prediction model includes a recommended code rate, 0.5 Mbps may be determined as the recommended code rate included in the second information. In an optional method, the second information includes short-term sudden change indicator information of bandwidth indicating that media code rate switching is not performed for the sudden change in bandwidth between 155 seconds and 163 seconds.

[0132] As shown in Figure 4, when the first period during which media data of the first media is transmitted (assuming that the first period is between 9:00 and 9:02) corresponds to the period between 180 seconds and 300 seconds in Figure 4, the bandwidth stabilization period is 80 seconds and a sudden change in the available bandwidth from 1 Mbps to 0.7 Mbps occurs at 200 seconds, and the bandwidth stabilization period is 20 seconds and a sudden change in the available bandwidth from 0.7 Mbps to 1 Mbps occurs at 280 seconds, so 1 Mbps is determined as the instantaneous bandwidth used between 180 seconds and 200 seconds, 0.7 Mbps is determined as the instantaneous bandwidth used between 200 seconds and 280 seconds, and 1 Mbps is determined as the instantaneous bandwidth used between 280 seconds and 300 seconds. Furthermore, when the second information determined based on the prediction model includes information on the first bandwidth, 1 Mbps is determined as the information on the first bandwidth between 09:00 and 09:00:20 included in the second information, 0.7 Mbps is determined as the information on the first bandwidth between 09:00:20 and 09:01:40, and 1 Mbps is determined as the information on the first bandwidth between 09:01:40 and 09:02. When the second information determined based on the prediction model includes a recommended code rate, 0.5 Mbps is determined as the recommended code rate between 09:00 and 09:00:20 included in the second information, 0.35 Kb / s is determined as the recommended code rate between 09:00:20 and 09:01:40, and 0.5 Mbps is determined as the recommended code rate between 09:01:40 and 09:02.

[0133] In the above three alternative determination methods, only the case where the first terminal device transmits media data is considered. In practical applications, there may be a scenario where multiple terminal devices served by a first access network device connected to the first terminal device need to transmit media data. Based on this scenario, in the fourth alternative embodiment, before step S303, the first network element can further obtain an identifier of a second terminal device. The second terminal device is a terminal device that receives media data of the second media via the first access network device, and there may be one or more second terminal devices. For example, the second terminal device is a terminal device that makes a voice call, a terminal device that makes a video call, a terminal device that listens to music online, or a terminal device that watches videos online in a terminal device connected to the first access network device. Furthermore, in the process of determining the second information, the first network element can determine the second information based on the identifier of the second terminal device and historical statistical information of the bandwidth between the first access network device and the first terminal device. Furthermore, the first network element can obtain third information of the second terminal device based on the identifier of the second terminal device, and determine the second information based on the third information of the second terminal device and the first information of the first terminal device. The second medium and the first medium can be the same medium or different media.

[0134] The third information of the second terminal device includes one or more of an optional code rate of the second media, information on a state of the media data of the second media buffered by the second terminal device, third indicator information, and second period indicator information, where the third indicator information indicates a second user plane network element corresponding to the second terminal device, and the second period indicator information indicates a period during which the second terminal device receives the media data of the second media.

[0135] When the second terminal device requests adaptive code rate adjustment, the third information of the second terminal device may be reported by the second terminal device. The type of information included in the third information of the second terminal device may be the same as the type of information included in the first information of the first terminal device.

[0136] In the process of determining the second information based on the third information of the second terminal device and the historical statistical information of the bandwidth between the first access network device and the first terminal device, the first network element can determine the second information based on different determination models to ensure that the first terminal device and each second terminal device properly and fairly occupy the shared bandwidth of the first access network device, and ensure the smooth media transmission of each second terminal device and the effectiveness of the bandwidth utilization of the first access network device. With reference to two optional embodiments, the following describes two exemplary embodiments of determining the second information based on the third information of the second terminal device and the historical statistical information of the bandwidth between the first access network device and the first terminal device.

[0137] In a first exemplary embodiment, the first information of the first terminal device includes at least two optional code rates of the first media, and the third information of the second terminal device includes at least two optional code rates of the second media, the second media being a media corresponding to the media data received by the second terminal device. The first network element obtains historical statistical information of the bandwidth between the second terminal device and the first access network device, and the first network element predicts an available bandwidth of the first access network device based on the historical statistical information of the bandwidth between the first access network device and the first terminal device and the historical statistical information of the bandwidth between the second terminal device and the first access network device, so that the available bandwidth is equally allocated to the first terminal device and each second terminal device, and the first terminal device and each second terminal device fairly occupy the wireless bandwidth of the first access network device. In this way, the first network element selects the recommended code rates of the first terminal device and each second terminal device separately from their corresponding optional code rates based on the equally allocated bandwidth, and determines the second information based on the recommended code rates. Since the available bandwidth of the first access network device is equally allocated, the media transmission quality of each terminal device served by the first access network device is taken into consideration.

[0138] For example, the optional code rates corresponding to the first medium are 10Mbps, 150Mbps, and 800Mbps. There is only one second terminal device. The optional code rates corresponding to the second medium are 10Mbps, 100Mbps, and 500Mbps. When the available bandwidth of the first access network device is 500Mbps, the first network element allocates the 500Mbps bandwidth equally to the first terminal device and the second terminal device, that is, each terminal device occupies a bandwidth of 250Mbps. Furthermore, based on the bandwidth of 250Mbps allocated to each terminal device, the first network element determines 150Mbps as the recommended code rate of the first terminal device and determines 100Mbps as the recommended code rate of the second terminal device.

[0139] In a second exemplary embodiment, the first information of the first terminal device includes at least two optional code rates of the first media, and the third information of the second terminal device includes at least two optional code rates of the second media, the second media being a media corresponding to the media data received by the second terminal device. The first network element obtains historical statistical information of the bandwidth between the second terminal device and the first access network device, predicts an available bandwidth of the first access network device based on the historical statistical information of the bandwidth between the first access network device and the first terminal device and the historical statistical information of the bandwidth between the second terminal device and the first access network device, and determines an average available bandwidth of the first terminal device and each second terminal device based on the available bandwidth of the first access network device. Furthermore, the first network element can determine a maximum code rate for transmission based on the available average bandwidth of the optional code rate of the second terminal device, obtain a differential bandwidth by subtracting the bandwidth occupied by the second terminal device when transmitting media data based on the maximum code rate from the available average bandwidth, determine a sum of the differential bandwidth and the available average bandwidth of each second terminal device as the available bandwidth of the first terminal device, determine a recommended code rate for the first terminal device based on the available bandwidth of the first terminal device, and determine the second information based on the recommended code rate. The available bandwidth is allocated based on the optional code rate of each terminal device, and the recommended code rate is determined, thereby further improving the efficiency of bandwidth utilization of the first access network device.

[0140] For example, the optional code rates corresponding to the first medium are 10Mbps, 180Mbps, and 500Mbps. There are two second terminal devices. The two second terminal devices respectively support three optional code rates of the second medium, 2Mbps, 80Mbps, and 200Mbps, and 1Mbps, 20Mbps, and 200Mbps. The available bandwidth for the first access network device and determined by the first network element based on the historical statistical information of the bandwidth between the first access network device and the first terminal device and the historical statistical information of the bandwidth between the second terminal device and the first access network device is 500Mbps. The average available bandwidth of the first terminal device and the two second terminal devices is 500Mbps / 3≈166.7Mbps. The optimal code rates for transmitting media data for the two second terminal devices and determined based on the average available bandwidth are 80Mbps and 20Mbps, respectively. The bandwidths occupied when transmitting media data based on the optimal code rate are 160Mbps and 40Mbps, respectively. And the differential bandwidths corresponding to the two second terminal devices are 6.7Mbps and 126.7Mbps, respectively. Therefore, the available bandwidth of the first terminal device is 6.7Mbps+126.7Mbps+166.7Mbps=300.1Mbps. Based on the available bandwidth of the first terminal device of 300.1Mbps, the recommended code rate of the first terminal device is determined as 180Mbps from the code rate of the first media option. In the method of equally allocating bandwidth, the first terminal device is only allocated a bandwidth of 166.7Mbps, so that the recommended code rate determined from the code rate of the option of the first terminal device is 10Mbps. However, the recommended code rate of the first terminal device obtained in the implementation of the second option increases to 180Mbps. This not only takes into account the media transmission quality of another second terminal device, but also improves the bandwidth utilization of the first access network device.

[0141] The identifier of the second terminal device may be obtained by the first network element from the SMF network element or the AF network element. In an embodiment of obtaining the identifier of the second terminal device, the SMF network element may send an identifier report request of the second terminal device to a first user plane network element (which may be a UPF network element in the core network) corresponding to the first terminal device. For example, the SMF network element may send the identifier report request via an N4 session modification request message, and the identifier report request may include the identifier of the first access network device. Optionally, the identifier report request may further include media service discovery information that instructs the first user plane network element to determine the terminal device that transmits the media data. For example, the terminal device that transmits the media data may be a terminal device whose data transmission port is a specific port of the first user plane network element or whose data destination address is a specific IP address. The terminal device is connected to the user plane network element via the access network device, and the user plane network element may route data of each terminal device in the terminal device. Thus, the first user plane network element can determine a terminal device connected to the first access network device together with the first terminal device based on the identifier of the first access network device, and can further determine a second terminal device to transmit media data based on the media service detection information. Furthermore, the first user plane network element transmits the identifier of the second terminal device to the first network element.

[0142] In another embodiment of obtaining the identifier of the second terminal device, the AF network element can interact with multiple different terminal devices. These terminal devices interact with the AF network element to implement various services. For example, some terminal devices interact with the AF network element to complete a request for media data. As another example, some terminal devices interact with the AF network element to complete a registration of a media service account of the AF network element. In the course of the interaction between the AF network element and the multiple different terminal devices, the AF network element can receive from the multiple different terminal devices an identifier of an access network device connected to each terminal device and service type information of each terminal device (e.g., the service type information can be either a media request, an account registration, an account login, or a media collection). Based on the service type information of each terminal device, the AF network element obtains a second terminal device that transmits media data (e.g., when the terminal device whose service type information is a media request is the second terminal device) from the terminal device connected to the first access network device together with the first terminal device, and transmits the identifier of the second terminal device to the first network element.

[0143] In all of the above four alternative embodiments, the first network element determines the second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device. Optionally, when the first information includes second indicator information indicating the first user plane network element, the first network element may determine the second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device and historical statistical information of the bandwidth between the first access network device and the first user plane network element. Specifically, the first network element may predict a first available bandwidth between the first access network device and the first terminal device when the first terminal device receives media data of the first media based on the historical statistical information of the bandwidth between the first access network device and the first terminal device, and may predict a second available bandwidth between the first access network device and the first user plane when the first terminal device receives media data of the first media based on the historical statistical information of the bandwidth between the first access network device and the first user plane network element. In one embodiment, the first network element determines the second information (which may include information about the first bandwidth or a recommended code rate) based on the smaller of the first available bandwidth and the second available bandwidth. In another embodiment, the first network element may determine the first recommended information based on the first available bandwidth, determine the second recommended information based on the second available bandwidth, and determine the smaller recommended information of the first recommended information and the second recommended information as the second information. It should be understood that in the latter embodiment, the first recommended information and the second recommended information are of the same type. For example, both the first recommended information and the second recommended information include a recommended code rate, or both the first recommended information and the second recommended information include information about the first bandwidth.

[0144] For a specific embodiment in which the first network element determines the first available bandwidth or the first recommended information based on historical statistical information of the bandwidth between the first access network device and the first terminal device, please refer to the method for determining the second information in the first to third alternative embodiments. Details will not be described again here. For a specific embodiment in which the first network element determines the second available bandwidth or the second recommended information based on historical statistical information of the bandwidth between the first access network device and the first user plane network element, please refer to the process for determining the available bandwidth between the first access network device and the first terminal device based on historical statistical information of the bandwidth between the first access network device and the first terminal device in the above first or third alternative embodiment, or the process for determining the recommended information in the above first or third alternative embodiment. For example, please refer to the first alternative embodiment. The characteristic information of the bandwidth between the first access network device and the first user plane network element can be determined based on historical statistical information of the bandwidth between the first access network device and the first user plane network element to determine the second available bandwidth or the second recommendation information. For another example, please refer to the third alternative embodiment. The second available bandwidth or the second recommendation information can be determined based on the instantaneous usage bandwidth at each time point of the historical statistical information of the bandwidth between the first access network device and the first user plane network element. Another example will not be described. Details will not be described again here.

[0145] In the above description about determining the second information based on the historical statistical information of the bandwidth between the first access network device and the first terminal device, compared with the bandwidth change related to the first terminal device and obtained by averaging within a time window, it is not difficult to enable the historical statistical information of the bandwidth between the first access network device and the first terminal device in this embodiment of the present application, for example, the bandwidth characteristic information obtained by statistical collection and the related information of another second terminal device served by the first access network device, to more accurately reflect the bandwidth change rule between the first access network device and the first terminal device, so as to more accurately and comprehensively predict the link through which the first terminal device receives media data of the first media, and obtain more practical and effective second information.

[0146] S304: The first network element sends the second information to the second network element.

[0147] In one embodiment, the second network element includes the first terminal device and / or the media server, in other words, the second network element and the first terminal device may be the same device or may be different devices.

[0148] In the sending process, in one embodiment, the first network element can use the second network element as a destination network element and send the second information to the second network element. For example, the first network element can use the AF network element as a destination network element and send the second information to the AF network element. Alternatively, the first network element can use another network element as a destination network element and forward the second information to the second network element via the other network element. For example, the first network element can use the SMF network element as a destination network element and send the second information to the SMF network element. After receiving the second information, the SMF network element forwards the second information to the second network element.

[0149] S305: The second network element selects or adjusts, based on the second information, media data of the first media to be received by the first terminal device.

[0150] Step S305 is an optional step.

[0151] After receiving the second information, the second network element can determine a first code rate based on the second information, where the first code rate is a code rate of the media data of the first media received by the first terminal device within the first period, whereby the second network element selects or adjusts a code rate of the media data of the first media to be transmitted to the first terminal device based on the first code rate.

[0152] In the process in which the second network element determines the first code rate, in an optional manner, if the second information includes a recommended code rate, the second network element may determine the recommended code rate as the first code rate. In another optional manner, the second network element may determine the first code rate based on the second information. In yet another optional manner, the second network element may determine the first code rate based on the second information and one or both of the status information and / or throughput information of the first terminal device. The status information may indicate the status of the media data of the first media buffered by the first terminal device. The throughput information of the first terminal device may be an average throughput of the first terminal device within a certain period of time, or may include an instantaneous throughput of the first terminal device.

[0153] It should be understood that when the second network element is a media server, the first terminal device can transmit status information and / or throughput information of the first terminal device to the media server, thereby determining the first code rate based on the status information and / or throughput information of the first terminal device. For example, when transmitting a code rate adjustment request carrying the first information to the media server, the first terminal device can transmit the status information and / or throughput information of the first terminal device to the media server. As another example, the first terminal device can periodically report the status information and / or throughput information of the first terminal device to the media server.

[0154] It will be understood that different models for determining the first code rate may be established in the first terminal device and / or the media server. Based on the different models, the second information and one or both of the status information or the throughput information of the first terminal device are used as input parameters of the models, and the first code rate is output according to different algorithms of the models. The models for determining the first code rate are not particularly limited in this specification and are merely described using examples. For example, when the second information includes a recommended code rate, when the status information of the first terminal device indicates that the media data of the first media buffered by the first terminal device exceeds a first buffer threshold, the first code rate may be determined as a code rate higher than the recommended code rate. As another example, when the second information includes a recommended code rate, it is determined whether the throughput of the first terminal device in the first period is less than a bandwidth corresponding to the recommended code rate. When the throughput is less than a preset percentage of the bandwidth, the first code rate may be determined as a code rate lower than the recommended code rate. As yet another example, when the second information includes information about the first bandwidth, the throughput of the first terminal device in the first period can be estimated based on the throughput information of the first terminal device. When the estimated throughput is smaller than the information about the first bandwidth, the first code rate is determined based on the estimated throughput. Otherwise, the first code rate is determined based on the information about the first bandwidth.

[0155] After determining the first code rate, the first terminal device or the media server can select or adjust the code rate of the media data of the first media to be transmitted. The manner in which the first terminal device or the media server selects or adjusts the code rate of the media data of the first media to be transmitted may vary based on various ways in which the media server stores or processes the media data of the first media. The following describes different cases.

[0156] In a first case, when a first terminal device selects or adjusts a code rate of media data of a first media, after determining the first code rate, the first terminal device can transmit the first code rate to a media server.

[0157] In the second case, when the media server selects or adjusts the code rate of the media data of the first media, the media server determines the first code rate.

[0158] In the first and second cases, after the media server receives the first code rate or determines the first code rate, if a media file including the first code rate of the first media exists in the media server, the media server can transmit the media file including the first code rate of the first media to the first terminal device. If a media file including the first code rate of the first media does not exist in the media server, the media server can perform an encoding process on the media data of the first media existing in the media server based on the first code rate, obtain a media file including the first code rate of the first media, and transmit the obtained media file including the first code rate of the first media to the first terminal device.

[0159] In a third case, when the first terminal device selects or adjusts the code rate of the media data of the first media, the first terminal device can obtain in advance a storage location of the media data including different code rates of the first media from a media server, determine a storage location of the media data including the first code rate of the first media, and obtain the media data including the first code rate of the first media based on the storage location. For example, the media server can include a media storage server and a media management server. In Moving Picture Experts Group (MPEG)-Dynamic Adaptive Streaming over HTTP (DASH), the media data including different code rates of the first media can be stored in advance in different media storage servers, and the media management server can transmit in advance the storage location of the media data including various code rates of the first media to the first terminal device via a Media Presentation Description (MPD) file. Furthermore, the first terminal device can obtain media data including the first code rate of the first media from a corresponding media storage server based on the first code rate.

[0160] In a fourth case, when the media server selects or adjusts the code rate of the media data of the first media, after determining the first code rate, the media server can send a storage location of the media data including the first code rate of the first media to the first terminal device, and the first terminal device can obtain the media data including the first code rate of the first media based on the storage location.

[0161] It should be noted that the implementations in the above four cases are merely exemplary implementations in which the first terminal device or the media server selects or adjusts the code rate of the media data of the first media to be transmitted in this embodiment of the present application, and not all implementations are limited to this embodiment of the present application.

[0162] In this embodiment of the present application, the first terminal device transmits a first information of the first terminal device to a first network element, and the first information of the first terminal device includes a first indicator information. The first network element determines a first access network device connected to the first terminal device based on the first indicator information, and determines a second information based on historical statistical information of the bandwidth between the first access network device and the first terminal device. Furthermore, the first network element transmits the second information to a second network element, and the second network element determines a first code rate based on the second information, and the first code rate indicates a code rate of the media data of the first media received by the first terminal device. The first network element predicts a network state of the media transmission link of the terminal based on the historical statistical information of the bandwidth of the media transmission link, and then adjusts the code rate of the transmitted media data based on the second information obtained by the prediction, thereby improving the accuracy and real-time performance of the code rate adjustment of the media data, and further improving the effectiveness of the code rate adjustment.

[0163] FIG. 5 is a schematic flow chart of another information determination method according to an embodiment of the present application. The information determination method provided in FIG. 5 may be applied to a scenario of PDU session establishment triggered by a UE. The scenarios include a scenario in which a new PDU session is established, a scenario in which a Public Data Network (PDN) connection of an Evolved Packet System (EPS) switches to a PDU session of a System architecture for a 5G System (5GS) when an N26 interface (where the N26 interface is an interface between an AMF network element and an MME network element) (a mobility management network element of a 4G system) is not deployed, and a scenario in which an existing PDU session switches between a non-3GPP access and a 3GPP access, etc. In the process of establishing a PDU session, the UE selects or adjusts a code rate of media data of a first media received by the UE to improve the accuracy and real-time performance of the code rate adjustment of the media data, and further improve the effectiveness of the code rate adjustment. As shown in FIG. 5, the information determination method includes steps S501-S508.

[0164] S501: The UE triggers the SMF network element to establish a PDU session.

[0165] When triggering the SMF network element to establish a PDU session, the UE sends the first information of the UE to the SMF network element. For example, the first information may be included in a trigger message used by the UE to trigger the SMF network element to establish a PDU session. The first information includes first indicator information indicating an (R)AN device connected to the UE. Optionally, the first information may further include one or more of first period indicator information, a media identifier, an optional code rate, or first media status information, or second indicator information. For a related description of various information specifically included in the first information, please refer to the related description of the corresponding information included in the first information in the embodiment corresponding to FIG. 3. Details will not be described again here.

[0166] It should be understood that the UE can trigger the SMF network element to establish a PDU session via an (R)AN device, an AMF network element, etc. Specifically, the UE can trigger the SMF network element to establish a PDU session and send the first information of the UE to the SMF network element through the following steps:

[0167] (1) The UE may send a PDU session establishment request to an AMF network element via an (R)AN device, and the PDU session establishment request may carry first information of the UE.

[0168] (2) The AMF network element selects an SMF network element for the UE.

[0169] Specifically, the PDU session establishment request sent by the UE may include a type of PDU session that the UE requests to establish. The AMF network element may select an SMF network element for the UE based on the type of PDU session that the UE requests to establish.

[0170] (3) The AMF network element sends a create N4 context request to the selected SMF network element for the UE, and the create N4 context request carries first information of the UE.

[0171] S502: The SMF network element sends a session request message to the UPF network element.

[0172] For example, the session request message may be an N4 session establishment request message.

[0173] Specifically, the SMF network element selects a UPF network element for the UE based on information such as the load, location, and capacity of each UPF network element, and then sends an N4 session establishment request message to the selected UPF network element. When the N4 session is established, the SMF network element configures Quality of Service (QoS) rules and forwarding policies for media data transmission to the SMF network element.

[0174] S503: The UPF network element sends a session response message to the SMF network element.

[0175] For example, the session response message may be an N4 session establishment response message.

[0176] Steps S502 and S503 are optional steps.

[0177] S504: The SMF network element sends first information to the NWDAF network element.

[0178] For example, the SMF network element may send a first prediction request to an NWDAF network element, the first prediction request carrying first information, the first prediction request to request the NWDAF network element to determine second information based on the first information, whereby the NWDAF network element predicts a link on which the UE receives media data of the first media.

[0179] In an optional embodiment, the trigger message, the PDU session establishment request, the N4 context creation request, the N4 session establishment request message, the N4 session establishment response message, and the first prediction request together are for carrying first information from the UE to an SMF network element and for triggering the SMF network element to transmit the first information to the NWDAF network element.

[0180] S505: The NWDAF network element determines second information based on the first information.

[0181] Specifically, the NWDAF network element determines an (R)AN device connected to the UE based on the first indicator information in the first information, and further determines the second information based on historical statistical information of the bandwidth between the (R)AN device and the UE.

[0182] Here, for a specific embodiment in which the NWDAF network element determines the second information based on the first information, please refer to the embodiment in which the first network element determines the second information based on the first information in the embodiment corresponding to Figure 3. The details will not be described again here.

[0183] S506: The NWDAF network element sends second information to the SMF network element.

[0184] S507: The SMF network element sends second information to the UE.

[0185] For example, the SMF network element may send a PDU session establishment response message to the UE, where the PDU session establishment response message carries the second information.

[0186] S508: The UE selects or adjusts a code rate of the received media data of the first media based on the second information.

[0187] Step S508 is an optional step.

[0188] For an embodiment in which the UE selects or adjusts the code rate of the media data of the first media based on the second information, please refer to the specific embodiment in which the first terminal device selects or adjusts the code rate of the media data of the first media to be transmitted described in step S304 in the embodiment corresponding to Figure 3, for example, the embodiment in the first case or the third case provided in step S304.

[0189] In this embodiment of the present application, in the process of the UE establishing a PDU session, the NWDAF network element determines second information based on historical statistical information of the bandwidth between the UE and the (R)AN device, and the SMF network element sends the second information to the UE through a PDU session establishment response message, and the UE adjusts the code rate of the transmitted media data based on the second information, to improve the accuracy and real-time performance of the code rate of the media data, and further improve the effectiveness of the code rate adjustment.

[0190] Figure 6 is a schematic flowchart of yet another information determination method according to an embodiment of the present application. The information determination method provided in Figure 6 can be applied to a scenario in which a UE interacts with an AF network element through an application layer message and triggers an NWDAF network element to predict a link on which the UE receives media data. In this scenario, the AF network element is a media server that manages the media data of the first media and selects a code rate of the media data. The UE triggers the selection or adjustment of the code rate of the media data of the first media received by the UE through an application layer message, thereby improving the accuracy and real-time performance of the code rate adjustment of the media data, and further improving the effectiveness of the code rate adjustment. As shown in Figure 6, the information determination method includes the following steps:

[0191] S601: The UE sends first information to an AF network element.

[0192] For example, the UE may send a code rate adjustment request to the AF network element via an application layer message, where the code rate adjustment request carries first information of the UE.

[0193] An application layer message is a message exchanged between processes. The UE sends a code rate adjustment request through an application layer message to a process in an AF network element that is responsible for code rate adjustment. For example, the application layer message can be a Hypertext Transfer Protocol (HTTP) command, a Real-time Transport Control Protocol (RTCP) command, etc.

[0194] The first information in the code rate adjustment request may include first indicator information, and the first indicator information may be for determining an (R)AN device connected to the UE. Optionally, the prediction reference information may further include one or more of the following: first period indicator information, a media identifier, an optional code rate, or first media state information, or second indicator information. For a related description of various information specifically included in the first information, please refer to the related description of the corresponding information included in the first information in the embodiment corresponding to FIG. 3. Details will not be described again here.

[0195] S602: The AF network element sends first information to the NEF network element.

[0196] For example, the AF network element may send a second prediction request to the NEF network element, where the second prediction request carries first information of the UE, and the second prediction request is for sending the first information to the NEF network element to the NWDAF network element, whereby the NWDAF network element determines the second information based on the first information, and the NWDAF network element predicts a link on which the UE receives media data of the first media.

[0197] S603: The NEF network element performs an authorization check on the AF network element.

[0198] Step S603 is an optional step.

[0199] The NEF network element specifically checks whether the AF network element has permission to access the core network and executes S604 after the authorization check is successful.

[0200] S604: The NEF network element sends first information to the NWDAF network element.

[0201] For example, the NEF network element can send a second prediction request to the NWDAF network element, where the second prediction request carries the first information.

[0202] In an optional implementation, in this embodiment of the present application, the code rate adjustment request and the second prediction request together carry first information transmitted from the UE to the AF network element to realize the function of triggering the AF network element to transmit the first information to the NWDAF network element.

[0203] S605: The NWDAF network element determines second information based on the first information.

[0204] Specifically, the NWDAF network element determines an (R)AN device connected to the UE based on the first indicator information in the first information, and further determines the second information based on historical statistical information of bandwidth between the (R)AN device and the UE.

[0205] Here, for a specific embodiment in which the NWDAF network element determines the second information based on the first information, please refer to the embodiment in which the first network element determines the second information based on the first information in the embodiment corresponding to Figure 3. The details will not be described again here.

[0206] S606: The NWDAF network element sends second information to the NEF network element.

[0207] S607: The NEF network element sends the second information to the AF network element.

[0208] S608: The AF network element selects or adjusts, based on the second information, a code rate of the media data of the first media received by the UE.

[0209] Step S608 is an optional step.

[0210] S609: The AF network element sends second information to the UE.

[0211] S610: The UE selects or adjusts a code rate of the received first media data based on the second information.

[0212] It should be understood that after determining the second information in this embodiment of the present application, the selection or adjustment performed on the code rate of the media data of the first media that the UE receives can be performed by the AF network element or the UE. If the selection or adjustment is performed by the AF network element, only step S608 is performed after step S607. If the selection or adjustment is performed by the UE, step S609 is performed after step S607, and an optional step S610 can be performed after step S609.

[0213] Here, for an embodiment in which the UE selects or adjusts the code rate of the media data of the first media received based on the second information, please refer to the specific embodiment in which the first terminal device selects or adjusts the code rate of the media data of the first media to be transmitted, described in step S305 of the embodiment corresponding to Fig. 3, for example, the first case or the third case provided in step S305. For an embodiment in which the AF network element selects or adjusts the code rate of the media data of the first media received by the UE based on the second information, please refer to the specific embodiment in which the media server selects or adjusts the code rate of the media data of the first media to be transmitted by the UE, described in step S305 of the embodiment corresponding to Fig. 3, for example, the second case or the fourth case provided in step S305.

[0214] In an optional implementation scenario, the code rate adjustment request sent by the UE to the AF network element may be a request to obtain media data of the first media and may carry a media identifier of the first media and a first indicator information. The AF network element processes the at least two optional code rates of the first media and the first indicator information as new predicted reference information based on the media identifier of the first media, and sends the new predicted reference information to the NWDAF network element. It will be understood that both the unprocessed and processed predicted reference information may carry one or more of the first period indicator information, the media identifier, the optional code rate, or the state information of the first media, or the second indicator information. The NWDAF network element predicts a link on which the UE receives the media data of the first media. After determining the information about the first bandwidth, the NWDAF network element determines a recommended code rate from the at least two optional code rates of the first media based on the information about the first bandwidth, and sends the recommended code rate as second information to the AF network element. Furthermore, the AF network element selects or adjusts a code rate of the media data of the first media received by the UE based on the recommended code rate, and sends the corresponding adjusted media data to the UE.

[0215] In this embodiment of the present application, the UE interacts with the AF network element through an application layer message. The AF network element triggers the NWDAF network element to determine the second information based on the historical statistical information of the bandwidth between the UE and the (R)AN device, and sends the second information to the AF network element. The AF network element or the UE selects or adjusts the code rate of the media data of the first media received by the UE. This can improve the accuracy and real-time performance of the code rate adjustment of the media data, and further improve the effectiveness of the code rate adjustment.

[0216] Figure 7 is a schematic flow chart of yet another information determination method according to an embodiment of the present application. The information determination method shown in Figure 7 can be applied to a scenario of PDU session change triggered by a UE. In this scenario, the code rate of media data of the first media received by the UE is adjusted when considering the media transmission quality of each terminal device served by the (R)AN device connected to the UE. As shown in Figure 7, the method may include the following steps.

[0217] S701: The UE triggers the SMF network element to establish a PDU session.

[0218] When triggering the SMF network element to establish a PDU session, the UE sends the first information of the UE to the SMF network element. For example, the first information may be included in a trigger message used by the UE to trigger the SMF network element to establish a PDU session. The first information includes first indicator information for determining an (R)AN device connected to the UE.

[0219] S702: The SMF network element sends a session request message to the UPF network element.

[0220] For example, the session request message may be an N4 session establishment request message.

[0221] S703: The UPF network element sends a session response message to the SMF network element.

[0222] For example, the session response message may be an N4 session establishment response message.

[0223] For the implementation method of steps S701 to S703, please refer to the implementation method of steps S501 to S503 in the embodiment corresponding to Fig. 5. The details will not be described again here.

[0224] S704: The SMF network element sends an identifier of the first access network device to the UPF network element.

[0225] For example, the SMF network element may send an N4 session modification request message to the UPF network element. The N4 session modification request message includes an identifier report request, and the identifier report request includes an identifier of the first access network device. Optionally, the identifier report request may further include media service discovery information.

[0226] S705: The UPF network element sends an identifier of the second terminal device to the SMF network element.

[0227] For example, the UPF network element may send an N4 session modification response message to the SMF network element, where the N4 session modification response message includes an identifier of the second terminal device.

[0228] The second terminal device is a terminal device that transmits media data and is served by an (R)AN device connected to the UE.

[0229] S706: The SMF network element sends the first information and the identifier of the second terminal device to the NWDAF network element.

[0230] For example, the SMF network element may send a first prediction request to an NWDAF network element, the first prediction request carrying first information, the first prediction request to request the NWDAF network element to determine second information, whereby the NWDAF network element predicts a link on which the UE receives media data of the first media.

[0231] S707: The NWDAF network element obtains third information of the second terminal device based on the identifier of the second terminal device, and determines the second information based on the first information and the third information.

[0232] The third information of the second terminal device may include one or more of an optional code rate of the second media, information on the state of the media data of the second media buffered by the second terminal device, third indicator information, and second period indicator information. The third indicator information indicates a second user plane network element corresponding to the second terminal device, and the second period indicator information indicates a period during which the second terminal device receives the media data of the second media. When the second terminal device requests an adaptive code rate adjustment, the third information of the second terminal device may be reported to the NWDAF network element by the second terminal device.

[0233] Specifically, the NWDAF network element can determine an (R)AN device connected to the UE based on first indicator information in the first information, and determine the second information based on historical statistical information of the bandwidth between the UE and the (R)AN device and third information of the second terminal device.

[0234] S708: The NWDAF network element sends second information to the SMF network element.

[0235] S709: The SMF network element sends second information to the UE.

[0236] For example, the SMF network element may send a PDU session establishment response message to the UE, where the PDU session establishment response message carries the second information.

[0237] S710: The UE selects or adjusts a code rate of the received first media data based on the second information.

[0238] Step S710 is an optional step. For the description of the identifier report request in S704, the method in which the UPF network element determines the second terminal device in S705, and the method in which the NWDAF network element determines the second information in S707, please refer to the corresponding description of the fourth alternative embodiment in the description of step S303 in the embodiment corresponding to Figure 3. For the description of the method in which the UE selects or adjusts the code rate of the media data of the first media received based on the second information in S710, please refer to the embodiment in which the first terminal device selects or adjusts the code rate in the embodiment corresponding to Figure 3. The details will not be described again here.

[0239] In this embodiment of the present application, after the PDU session of the UE is established, in a scenario of PDU session change, the SMF network element obtains from the UPF network element an identifier of another second terminal device that is served by the (R)AN device connected to the UE and transmits media data, and sends the identifier to the NWDAF network element. Furthermore, the NWDAF network element obtains third information of the second terminal device from the OAM system based on the identifier of the second terminal device, determines second information based on the first information and the third information, and then sends the second information to the UE via the SMF network element. The UE adjusts the code rate of the media data to be transmitted based on the second information. This improves the accuracy and real-time performance of the code rate adjustment of the media data received by the UE, and further improves the effectiveness of the code rate adjustment.

[0240] The above describes the information determination method provided in the embodiment of the present application. The following describes the related device in the method. First, FIG. 8 is a schematic diagram of the structure of a first terminal device according to an embodiment of the present application. As shown in FIG. 8, the first terminal device 80 includes at least a first transceiver module 801.

[0241] The first transceiver module 801 includes: Sending first information to a first network element, the first information including first indicator information, the first indicator information for determining a first access network device connected to the first terminal device 80; and receiving second information from a first network element, the second information being determined based on historical statistical information of bandwidth between the first access network device and the first terminal device 80, the second information being for determining a first code rate, the code rate indicating a code rate of media data of the first media received by the first terminal device 80.

[0242] In an optional manner, the first indication information includes location information of the first terminal device 80 and / or an identifier of the first access network device.

[0243] In another optional method, the first information further comprises first period indicator information, the first period indicator information indicating a period during which the first terminal device 80 receives the media data of the first media.

[0244] In another optional method, the first information further includes one or more of a media identifier, an optional code rate, or status information of the first media, the status information indicating a status of the media data of the first media buffered by the first terminal device 80.

[0245] In another optional method, the first information further includes second indicator information, and the second indicator information indicates a first user plane network element corresponding to the first terminal device 80. The second information is determined based on historical statistical information of bandwidth between the first access network device and the first terminal device 80 and historical statistical information of bandwidth between the first access network device and the first user plane network element.

[0246] In another optional approach, the second information includes information regarding a recommended code rate or the first bandwidth.

[0247] In another optional method, the recommended code rate is one of at least two optional code rates corresponding to the first media.

[0248] In another optional method, the first code rate is determined based on the second information and one or both of status information or throughput information of the first terminal device 80, where the status information indicates a status of the media data of the first media buffered by the first terminal device 80.

[0249] In yet another optional method, the first terminal device 80 further includes a first processing module 802 configured to determine the first code rate based on the second information.

[0250] It should be understood that the first terminal device 80 in this embodiment of the present application may implement the steps performed by the first terminal device in the embodiment corresponding to Fig. 3, such as step S301 or S305, or perform the steps performed by the UE in Fig. 5, Fig. 6, or Fig. 7. For specific implementations of the functional components included in the first terminal device and corresponding advantageous effects, please refer to the specific descriptions of the embodiments in Fig. 3 and Fig. 5-7.

[0251] The first terminal device in the embodiment shown in Fig. 8 can be realized as a first terminal device 90 shown in Fig. 9. Fig. 9 is a schematic diagram of the structure of another first terminal device according to an embodiment of the present application. As shown in Fig. 9, the first terminal device 90 includes a processor 901, a memory 902, and a transceiver 904.

[0252] The processor 901 may be configured to process or determine first information relating to a first terminal device and to be transmitted to a first network element, determine a first code rate, e.g., perform step S305 in an embodiment corresponding to FIG. 3, etc.

[0253] The memory 902 is configured to store program codes and data executed by the first terminal device 90. The processor 901 can execute application program codes stored in the memory 902 to realize the operation of the first terminal device provided in the embodiment shown in Fig. 3, or the UE provided in any one of the embodiments shown in Figs. 5 to 7.

[0254] The processor 901 is communicatively connected to the memory 902 via, for example, a bus 903. The bus 903 may be a PCI bus, an EISA bus, etc. The bus 903 may be classified into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used to represent a bus in FIG. 9, but this does not imply that there is only one bus or only one type of bus.

[0255] The transceiver 904 is configured to support information transmission between the first terminal device 90 and the first network element, the SMF network element, or the AF network element, etc. in the above-mentioned embodiments, for example, to perform step S301 of the embodiment corresponding to Figure 3, step S501 of the embodiment corresponding to Figure 5, step S508 of the embodiment corresponding to Figure 5, or step S601 of the embodiment corresponding to Figure 6.

[0256] It should be noted that in practical applications, the first terminal device 90 may include one or more processors, and the structure of the first terminal device 90 does not constitute a limitation to this embodiment of the present application.

[0257] The processor 901 may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor may implement or execute various example logic blocks, modules, and circuits described with reference to the subject matter disclosed herein. The processor may also be a combination of processors that perform computing functions, such as a combination of one or more microprocessors, or a combination of a DSP and a microprocessor.

[0258] The transceiver 904 may be a communication interface, a transceiver circuit, etc. Transceiver is a general term. In a particular implementation, a transceiver may include multiple interfaces.

[0259] The memory 902 may include volatile memory, such as random access memory (RAM). The memory 902 may also include non-volatile memory, such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). The memory 902 may further include a combination of the aforementioned types of memory.

[0260] An embodiment of the present application further provides a computer storage medium. The computer storage medium can be configured to store computer software instructions used by the first terminal device 90 in the embodiment shown in Figure 9. The computer software instructions include a program designed for the first terminal device 90 in the above embodiment. The storage medium includes, but is not limited to, a flash memory, a hard disk drive, or a solid state drive.

[0261] An embodiment of the present application further provides a computer program product. When the computer program product is executed by a first terminal device, an information determination method designed for the first terminal device 90 in the embodiment shown in Figure 9 can be executed.

[0262] Figure 10 is a schematic diagram of the structure of a communication device according to an embodiment of the present application. As shown in Figure 10, the communication device 10 may include at least a second transceiver module 101 and a second processing module 102. Details are as follows.

[0263] The second transceiver module 101 is configured to receive first information from a first terminal device, where the first information includes first indication information.

[0264] The second processing module 102 is configured to determine, based on the first indication information, a first access network device connected to the first terminal device.

[0265] The second processing module 102 is further configured to determine second information based on historical statistical information of bandwidth between the first access network device and the first terminal device, the second information being for determining a first code rate, where the first code rate indicates a code rate of media data of the first media received by the first terminal device.

[0266] The second transceiver module 101 is further configured to transmit the second information to a second network element.

[0267] In an optional method, the first indication information includes location information of the first terminal device and / or an identifier of the first access network device.

[0268] In another optional method, the second network element includes the first terminal device and / or a media server.

[0269] In another optional method, the second transceiver module 101 may include: Obtain an identifier of a first terminal device; Sending an identifier of the first access network device and an identifier of the first terminal device to a network management network element; It is further configured to receive, from the network management network element, historical statistics of bandwidth between the first access network device and the first end device.

[0270] In another optional method, the first information further includes first period indicator information, the first period indicator information indicating a period during which the first terminal device receives media data of the first media.

[0271] In another optional method, the first information further includes one or more of a media identifier, an optional code rate, or status information of the first media, the status information indicating a status of media data of the first media buffered by the first terminal device.

[0272] In another optional method, the first information further includes second index information, the second index information indicating a first user plane network element corresponding to the first terminal device.

[0273] The second processing module 102 is particularly configured to determine the second information based on historical statistical information of bandwidth between the first access network device and the first terminal device, and historical statistical information of bandwidth between the first access network device and the first user plane network element.

[0274] In another optional approach, the second information includes information regarding a recommended code rate or the first bandwidth.

[0275] In another optional method, the second processing module 102 may further include: determining information regarding a first bandwidth between the first terminal device and the first access network device based on historical statistical information of the bandwidth between the first access network device and the first terminal device; and The device is particularly configured to determine a recommended code rate based on information about the first bandwidth.

[0276] In another optional method, the second processing module 102 is specifically configured to determine a recommended code rate from at least two optional code rates corresponding to the first media based on information regarding the first bandwidth.

[0277] In another optional method, the first code rate is determined based on the second information and one or both of status information or throughput information of the first terminal device, the status information indicating a status of media data of the first media buffered by the first terminal device.

[0278] In another optional method, the second transceiver module 101 is further configured to receive an identifier of a second terminal device, where there are one or more second terminal devices, the second terminal device being a terminal device that receives media data of the second media via the first access network device.

[0279] The second processing module 102 is specifically configured to determine the second information based on an identifier of the second terminal device and historical statistical information of the bandwidth between the first access network device and the first terminal device.

[0280] In yet another optional method, the second processing module 102 may further include: Obtaining third information based on an identifier of a second terminal device, the third information including one or more of an optional code rate of the second media, information on a state of media data of the second media buffered by the second terminal device, third indicator information, and second period indicator information, the third indicator information indicating a second user plane network element corresponding to the second terminal device, and the second period indicator information indicating a period during which the second terminal device receives the media data of the second media; and determining the second information based on the third information and on historical statistical information of the bandwidth between the first access network device and the first terminal device.

[0281] It should be understood that the communication device 10 in this embodiment of the present application may perform steps performed by the first network element in the embodiment corresponding to Fig. 3, such as steps S302-S304, or steps performed by the NWDAF network element in Fig. 5-7. For specific implementations of the functional components included in the communication device 10 and the corresponding advantageous effects of Fig. 10, please refer to the specific descriptions of the embodiments in Fig. 3 and Fig. 5-7.

[0282] The communication device in the embodiment shown in Fig. 10 may be realized as a communication device 11 shown in Fig. 11. Fig. 11 is a schematic diagram of the structure of another communication device according to an embodiment of the present application. As shown in Fig. 11, the communication device 110 includes a processor 1101, a memory 1102, and a transceiver 1104.

[0283] The processor 1101 may be configured to determine the first access network device and determine the second information, for example, to perform step S302 or S303 in an embodiment corresponding to Figure 3, step S505 in an embodiment corresponding to Figure 5, or step S605 in an embodiment corresponding to Figure 6, etc.

[0284] The memory 1102 is configured to store program codes and data executed by the communication device 110. The processor 1101 can execute application program codes stored in the memory 1102 to perform steps of the first network element provided in the embodiment shown in Figure 3 or the NWDAF network element provided in any one of the embodiments shown in Figures 5 to 7.

[0285] The processor 1101 is communicatively connected to the memory 1102 via, for example, a bus 1103. The bus 1103 may be a PCI bus, an EISA bus, etc. The bus 1103 may be classified into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used to represent a bus in FIG. 11, but this does not imply that there is only one bus or only one type of bus.

[0286] The transceiver 1104 is configured to support information transmission between the communication device 110 and the first terminal device, SMF network element, AF network element, or NEF network element of the above-mentioned embodiments, and is configured to perform, for example, step S304 in the embodiment corresponding to Figure 3, step S506 in the embodiment corresponding to Figure 5, step S504 in the embodiment corresponding to Figure 5, or step S606 in the embodiment corresponding to Figure 6.

[0287] It should be noted that in practical applications, the communication device 110 may include one or more processors, and the structure of the communication device 110 does not constitute a limitation to this embodiment of the present application.

[0288] The processor 1101 may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor may implement or execute various example logic blocks, modules, and circuits described with reference to the subject matter disclosed herein. The processor may also be a combination of processors that perform computing functions, such as a combination of one or more microprocessors, or a combination of a DSP and a microprocessor.

[0289] The transceiver 1104 may be a communication interface, a transceiver circuit, etc. Transceiver is a general term. In a particular implementation, the transceiver may include multiple interfaces.

[0290] The memory 1102 may include volatile memory, such as random access memory (RAM). The memory 1102 may include non-volatile memory, such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). The memory 1102 may further include a combination of the aforementioned types of memory.

[0291] An embodiment of the present application further provides a computer storage medium. The computer storage medium may be configured to store computer software instructions for use by the communication device in the embodiment shown in Figure 11. The computer software instructions include a program designed for the communication device of the aforementioned embodiment. The storage medium may include, but is not limited to, a flash memory, a hard disk drive, or a solid state drive.

[0292] An embodiment of the present application further provides a computer program product, which, when executed by a communication device, can execute an information determination method designed for the communication device in the embodiment shown in FIG.

[0293] An embodiment of the present application further provides an information determination system, which includes a first terminal device 80 in an embodiment corresponding to Fig. 8 and a communication device 10 in an embodiment corresponding to Fig. 10, and implements the information determination method in the embodiment of the present application.

[0294] An embodiment of the present application further provides another information determination system. The information determination system includes a first terminal device 90 in an embodiment corresponding to Fig. 9 and a communication device 110 in an embodiment corresponding to Fig. 11, and implements the information determination method in the embodiment of the present application.

[0295] 12 is a schematic diagram of the structure of a communication chip according to an embodiment of the present application. As shown in FIG. 12, the communication chip 120 may include a processor 1201 and one or more communication interfaces 1202 coupled to the processor 1201. The details are as follows.

[0296] The processor 1201 may be configured to read and execute computer-readable instructions. In a specific implementation, the processor 1201 may mainly include a controller, an arithmetic unit, and a register. The controller is mainly responsible for decoding instructions and sending control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operations, shift operations, and logical operations, etc., and may also perform address operations and address conversions. The register is mainly responsible for storing the amount of register operations temporarily stored during the execution of instructions, the results of intermediate operations, etc. In a specific implementation, the hardware architecture of the processor 1201 may be an application-specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or a NP architecture, etc. The processor 1201 may be a single-core or a multi-core.

[0297] The interface 1202 may be configured to input signals or data to be processed to the processor 1201 and output the processing results of the processor 1201. For example, the communication interface 1202 is a general-purpose input / output (GPIO) interface and can be connected to multiple peripheral devices (e.g., a display (LCD), a camera, and a radio frequency (RF) module). The communication interface 1202 is connected to the processor 1201 via a bus 1203.

[0298] In the present application, the processor 1201 may be configured to call from the memory an implementation program of the first terminal device in the information determination method provided in one or more embodiments of the present application, and execute instructions included in the program, or to call from the memory an implementation program of the first network element in the information determination method provided in one or more embodiments of the present application, and execute instructions included in the program. The communication interface 1202 may be configured to output the execution result of the processor 1201. In the present application, the communication interface 1202 may be specifically configured to input the first information of the first terminal device, or to output the second information obtained by the processing of the processor 1201, etc. For the information determination method provided in one or more embodiments of the present application, please refer to the embodiments shown in Figures 3 and 5 to 8. Details will not be described again here.

[0299] It should be noted that the functions corresponding to each of the processor 1201 and the communication interface 1202 may be implemented using a hardware design, or may be implemented using a software design, or may be implemented using a combination of software and hardware, which is not limited in this specification.

[0300] In the present specification, claims, and accompanying drawings, the terms "first," "second," "third," "fourth," etc. are intended to distinguish between different objects, but not to indicate a particular order. Furthermore, the terms "including" and "having," and other variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the recited steps or units, but may optionally further include unrecited steps or units, or may optionally further include other specific steps or units of the process, method, product, or apparatus.

[0301] Those skilled in the art will understand that the sequence numbers of the above processes do not mean the execution sequence in various embodiments of the present application. The execution sequence of the processes should be determined based on the functions and internal logic of the processes, and should not be construed as any limitation on the implementation process of the embodiments of the present application.

Claims

1. 1. A method for determining information, the method comprising: A step of a first terminal device transmitting first information to a first network element, the first information including first indicator information, the first indicator information being for determining a first access network device connected to the first terminal device; receiving second information from the first network element by the first terminal device, the second information being determined based on historical statistics of bandwidth between the first access network device and the first terminal device, the second information being for determining a first code rate in real time, the first code rate indicating a code rate of media data of a first media received by the first terminal device; and adjusting, by the first terminal device, the code rate of the media data in real time based on the second information. method.

2. The method of claim 1 , wherein the first indication information comprises location information of the first terminal device and / or an identifier of the first access network device.

3. The method according to claim 1 or 2, wherein the first information further comprises first period index information, the first period index information indicating a period during which the first terminal device receives the media data of the first media.

4. 4. The method according to claim 1, wherein the first information further comprises one or more of a media identifier, an optional code rate, or status information of the first media, the status information indicating a status of the media data of the first media buffered by the first terminal device.

5. 5. The method according to claim 1, wherein the first information further includes second indicator information, the second indicator information indicating a first user plane network element corresponding to the first terminal device, and the second information is determined based on the historical statistics of the bandwidth between the first access network device and the first terminal device and the historical statistics of the bandwidth between the first access network device and the first user plane network element.

6. 6. The method according to claim 1, wherein the first code rate is determined based on the second information and one or both of status information or throughput information of the first terminal device, the status information indicating a status of the media data of the first media buffered by the first terminal device.

7. 1. A method for determining information, the method comprising: A first network element receives first information from a first terminal device, the first information including first indicator information; the first network element determining a first access network device connected to the first terminal device based on the first indicator information; The first network element determines second information based on historical statistics of bandwidth between the first access network device and the first terminal device, the second information being for determining a first code rate in real time, the first code rate indicating a code rate of media data of a first media received by the first terminal device; the first network element transmitting the second information to a second network element; and the second network element adjusting the code rate of the media data in real time based on the second information. method.

8. The method of claim 7 , wherein the second network element comprises the first terminal device and / or a media server.

9. The method according to claim 7 or 8, wherein the first information further comprises first period index information, the first period index information indicating a period during which the first terminal device receives the media data of the first media.

10. 10. The method of claim 7, wherein the first information further comprises one or more of a media identifier, an optional code rate, or status information of the first media, the status information indicating a status of the media data of the first media buffered by the first terminal device.

11. The first information further includes second index information, the second index information indicating a first user plane network element corresponding to the first terminal device; The step of the first network element determining the second information based on historical statistics of a bandwidth between the first access network device and the first terminal device includes:

11. The method according to claim 7, further comprising: determining the second information based on the historical statistics of the bandwidth between the first access network device and the first terminal device and the historical statistics of the bandwidth between the first access network device and the first user plane network element.

12. The method according to any one of claims 7 to 11, wherein the second information comprises information about a recommended code rate or a first bandwidth.

13. The step of determining, by the first network element, the second information based on historical statistical information of a bandwidth between the first access network device and the first terminal device, further comprises: the first network element determining the information regarding the first bandwidth between the first terminal device and the first access network device based on the historical statistical information of the bandwidth between the first access network device and the first terminal device; and the first network element determining the recommended code rate based on the information regarding the first bandwidth.

14. The method comprises: The method further includes a step of receiving, by the first network element, an identifier of a second terminal device, where there are one or more second terminal devices, the second terminal device being a terminal device receiving media data of a second media via the first access network device; The step of determining, by the first network element, the second information based on historical statistical information of a bandwidth between the first access network device and the first terminal device, further comprises:

11. The method according to claim 7, further comprising the step of the first network element determining the second information based on the identifier of the second terminal device and the historical statistics of the bandwidth between the first access network device and the first terminal device.

15. A first terminal device including a first transceiver module, The first transceiver module comprises: Sending first information to a first network element, the first information including first indicator information, the first indicator information for determining a first access network device connected to the first terminal device; receiving second information from the first network element, the second information being determined based on historical statistics of bandwidth between the first access network device and the first terminal device, the second information being for determining a first code rate in real time, the first code rate indicating a code rate of media data of a first media received by the first terminal device; the first terminal device is configured to adjust the code rate of the media data in real time based on the second information. A first terminal device.

16. The first terminal device of claim 15, wherein the first information further includes first period index information, the first period index information indicating a period during which the first terminal device receives the media data of the first media.

17. The first terminal device of claim 15 or 16, wherein the first information further includes one or more of a media identifier, an optional code rate, or status information of the first media, the status information indicating a status of the media data of the first media buffered by the first terminal device.

18. 18. The first terminal device according to claim 15, wherein the first information further includes second index information, the second index information indicating a first user plane network element corresponding to the first terminal device, and the second information is determined based on the historical statistical information of the bandwidth between the first access network device and the first terminal device and the historical statistical information of the bandwidth between the first access network device and the first user plane network element.

19. 19. The apparatus of claim 15, wherein the first code rate is determined based on the second information and one or both of status information or throughput information of the first terminal device, the status information indicating a status of the media data of the first media buffered by the first terminal device.

20. A communication device, the communication device comprising: a second transceiver module configured to receive first information from a first terminal device, the first information including first indicator information; and a second processing module configured to determine a first access network device connected to the first terminal device based on the first indicator information; The second processing module is further configured to determine second information based on historical statistics of bandwidth between the first access network device and the first terminal device, the second information being for determining a first code rate in real time, the first code rate indicating a code rate of media data of a first media received by the first terminal device; the second transceiver module is further configured to transmit the second information to a second network element; the second network element is configured to adjust the code rate of the media data in real time based on the second information. Communications equipment.

21. 21. The communication device of claim 20, wherein the second network element comprises the first terminal device and / or a media server.

22. 22. The communication device according to claim 20 or 21, wherein the first information further includes first period index information, the first period index information indicating a period during which the first terminal device receives the media data of the first media.

23. 23. The communication device of claim 20, wherein the first information further includes one or more of a media identifier, an optional code rate, or status information of the first media, the status information indicating a status of the media data of the first media buffered by the first terminal device.

24. The first information further includes second index information, the second index information indicating a first user plane network element corresponding to the first terminal device; The second processing module is 24. The communications device according to claim 20, further comprising: a first access network device configured to determine the second information based on the historical statistics of the bandwidth between the first access network device and the first terminal device and on the historical statistics of the bandwidth between the first access network device and the first user plane network element.

25. 25. The communication device of claim 20, wherein the second information comprises information about a recommended code rate or a first bandwidth.

26. The second processing module is determining the information regarding the first bandwidth between the first terminal device and the first access network device based on the historical statistics of the bandwidth between the first access network device and the first terminal device; 26. The communications device of claim 25, specifically configured to: determine the recommended code rate based on the information regarding the first bandwidth.

27. The second transceiver module is further configured to receive an identifier of a second terminal device, where there are one or more second terminal devices, the second terminal device being a terminal device that receives media data of a second media via the first access network device; 24. The communications device of claim 20, wherein the second processing module is specifically configured to determine the second information based on the identifier of the second terminal device and the historical statistics of the bandwidth between the first access network device and the first terminal device.

28. A computer storage medium storing instructions which, when executed by a processor, enable the processor to perform the information determination method according to any one of claims 1 to 6 or the information determination method according to any one of claims 7 to 14.

Citation Information

Patent Citations

  • Method, device and server for determining video streaming pushing code rate

    CN103458272A

  • Method, device, terminal and server for streaming media service bandwidth estimation

    CN106817721A

  • Media data transmission method, base station and server

    CN106878297A

  • Big-data-based network adjustment method and device

    CN107787015A

  • Network band control method

    JP2012244492A