Patent Description:
In current wireless fidelity (WIFI) network communication, a WIFI signal may be provided by an access point (AP, for example, an access hotspot), for accessing the Internet by a terminal device (or may be referred to as a station (STA)) that has a WIFI communication function, such as a mobile phone or a tablet computer.

Currently, when determining a transmission rate of a data stream, a gateway device is not concerned about a service type of a service to which the data stream belongs, for example, chooses to configure transmission rates for data streams of different services in a throughput maximizing manner. The transmission rate is used to guarantee that the data stream can obtain a data transmission guarantee during transmission, for example, obtain guarantees in terms of a latency, bandwidth, and a packet loss rate (PLR).

However, with continuous extension of a service type, a throughput is no longer an only concerned indicator in a service data transmission process. Therefore, if a transmission rate is configured based on a throughput or another single principle, data transmission guarantee requirements of different services cannot be met. Therefore, an existing transmission rate configuration manner of the gateway device needs to be improved.

<CIT> discloses a transceiver which communicates multicast frames to a plurality of client devices in a multicast group. A controller determines that a predetermined time has passed since the transceiver most recently sent a unicast transmission to one of the plurality of client devices. The controller computes a data rate for the one of the plurality of client devices based on the transmission of the unicast frame to the one of the plurality of client devices.

<CIT> discloses a system for shaping data packet traffic on a packet network including at least one data packet rate shaper in communication with at least one Internet gateway for shaping the rates of transmission of the data packets through the packet network based on network performance data transmitted by the at least one customer access node to the Internet gateway.

<CIT> discloses MAC layer data packet retransmission mechanism optimization towards Cellular Networks and WLAN combination networks according to the network state information of Cellular Networks and WLAN.

<CIT> discloses an access point that determines transmission rates of the data frames. As the transmission rate, for example, MCS (Modulation and Coding Scheme) can be used.

This application provides a transmission rate configuration method and an apparatus, to improve flexibility of downlink transmission rate configuration of an access point, so that a downlink data transmission process meets requirements of different services. The technical improvement is achieved by the solution provided in accordance with the claims.

The following aspects are useful for understanding the present disclosure.

According to a first aspect, the invention provides a transmission rate configuration method performed by an access point as defined in claim <NUM>.

According to a second aspect, the invention provides a communications apparatus as defined in claim <NUM>.

For beneficial effects of the second aspect and the possible designs of the second aspect, refer to descriptions of the beneficial effects of the method according to any one of the first aspect and the possible designs of the first aspect.

To resolve a problem, in the conventional technology, that a transmission rate configuration process of an access point in a downlink data sending process is not flexible enough, this application proposes a transmission rate configuration method, to improve flexibility of downlink data transmission rate configuration, so that a downlink data transmission process meets transmission rate requirements of different services.

As shown in <FIG>, the transmission rate configuration method provided in the embodiments of this application may be used in a communications system including an access point and at least one terminal device. The access point may be configured to provide a WIFI signal. By using the access point, the terminal device in the communications system shown in <FIG> may communicate with a communications device outside the communications system shown in <FIG>. For example, the terminal device may access the Internet by using the access point. In addition, a plurality of terminal devices shown in <FIG> may communicate with each other by using the access point.

For example, the access point in this application may be a device that can provide a WIFI signal, such as an AP, customer premises equipment (customer premises equipment, CPE), or a gateway. The access point may be alternatively a device that can provide a WIFI hotspot, for example, a mobile terminal that can access a mobile network and provide a WIFI hotspot. For example, the access point may be implemented by a chip or a chip system.

The terminal device may include a mobile phone, a tablet computer, a wearable device (such as a smartwatch) having a wireless communication function, a vehicle-mounted device, or the like. An example embodiment of the terminal device includes but is not limited to an electronic device in which iOS®, Android®, Microsoft®, or another operating system is installed. The electronic device may alternatively be, for example, a laptop (laptop) having a touch-sensitive surface (for example, a touch panel). It should be further understood that, in some other embodiments of this application, the terminal device may be alternatively a device, such as a desktop computer, that has a WIFI network access capability. For example, the terminal device may be a wireless terminal. For example, the terminal device may be implemented by a chip or a chip system.

It should be understood that the access point may be configured to provide a WIFI network (or referred to as a WIFI hotspot), and the terminal device may be configured to search for and access the WIFI network. It should be understood that in this application, there is no limitation that the terminal device can fall within a coverage area of a WIFI network provided by only one access point; and/or in this application, there is no limitation that a coverage area of a WIFI network provided by the access point includes only one terminal device.

As shown in <FIG>, a signal sent by an access point to a terminal device may be referred to as a downlink signal in this application, and a downlink signal sending process may be referred to as downlink sending. The downlink signal may be used to carry signaling and/or data that are/is sent to the terminal device. The signaling may be referred to as downlink signaling, and the data may be referred to as downlink data. In addition, a signal sent by the terminal device to the access point may be referred to as an uplink signal in this application. The uplink signal may be used to carry signaling and/or data that are/is sent by the terminal device. The signaling may be referred to as uplink signaling, and the data may be referred to as uplink data.

As shown in <FIG>, when sending downlink data streams to a plurality of terminal devices (respectively marked as an STA <NUM>, an STA <NUM>,. , and STA n), an access point provided in this embodiment of this application may allocate the data streams to different STA queues based on differentiated services code points (differentiated services code point, DSCP) of services to which the data streams belong. Each STA queue corresponds to a value of one DSCP. For example, different data streams may be represented by using traffic identifiers (traffic identifier, tid), for example, a tid <NUM>, a tid <NUM>,.

In addition, the access point may place, by using a scheduling module (or scheduler), downlink data in a tid queue into a Wi-Fi multimedia (WIFI multi-media, WMM) queue corresponding to the tid queue, for waiting for sending. For access category (access category, AC) data streams, WMM queues are classified into four priority queues in ascending order of priorities: an AC-voice (AC-VO) stream, an AC-video (AC-VI) stream, an AC-best effort (AC-BE) stream, and an AC-background (AC-BK) stream, and it is guaranteed that a packet in a higher-priority queue has a higher channel preemption capability. The access point may further configure a transmission rate related to a downlink data sending process, for sending downlink data. The transmission rate is a parameter such as a modulation and coding scheme (modulation and coding scheme, MCS) rate configuration, a guard interval (guard interval, GI), bandwidth (bandwidth, BW), the number of spatial streams (number of spatial streams, NSS), an aggregation degree of an aggregate media access control (media access control, MAC) service data unit (MAC service data unit, MSDU) (A-MSDU), an aggregation degree of an aggregate MAC protocol data unit (MAC protocol data unit, MPDU) (A-MPDU), or a number of times configuration in a scheduling or retransmission policy that is based on a service set identifier (service set identifier, SSID) and a terminal device. It should be understood that in this application, downlink transmission rate may be configured in of the access point.

As shown in <FIG>, a transmission rate configuration method provided in an embodiment of this application may include the following steps:.

In the foregoing method, the access point may configure, based on a service characteristic of the data stream, the transmission rate used when the data stream is sent. Therefore, the configured transmission rate meets a requirement of the service to which the data stream belongs, thereby improving flexibility of a transmission rate configuration process.

It should be understood that, the access point may configure the transmission rate of the data stream based on the service type of the service to which the data stream belongs, so that a data stream transmission process meets a transmission latency requirement, a throughput requirement, a packet loss rate requirement, and/or the like of the service to which the data stream belongs.

For example, the access point may identify, based on a packet of the data stream, the service type of the service to which the data stream belongs. For example, the access point may obtain a service identifier carried in the packet of the data stream, to determine the service to which the data stream belongs, to further determine the service type of the service. For another example, the packet of the data stream may carry a source IP address of the data stream, the source IP address is, for example, an address of a server that provides the service, and the access point may query the service type of the service based on the source IP address. In addition, the packet of the data stream may alternatively carry indication information of the service type, such as a service type identifier.

In addition, the access point may alternatively identify, based on a traffic model of the data stream, the service type of the service to which the data stream belongs. For example, specific distribution rules exist in terms of a peak value, a traffic average value, and a traffic fluctuation status of a data stream of a specific service type. The access point may compare a data stream from a network with distribution rules of a stored traffic model to determine whether the data stream is a data stream that has specific distribution rules; and when recognizing that these rules exist in the data stream, the access point can recognize that a service to which the data stream belongs is a service of the specific type.

In addition, it should be understood that in this application, the access point may alternatively determine, in another manner in the conventional technology, the service type of the service to which the data stream belongs.

For example, the transmission latency requirement, the throughput requirement, the packet loss rate requirement, and/or the like of the service type may be represented as a correspondence between the service type and the transmission latency requirement, the throughput requirement, the packet loss rate requirement, and/or the like. The service type and the service requirement may be preconfigured in the access point, or may be obtained by the access point from the terminal device or a network side.

As shown in Table <NUM>, the access point may store a correspondence between the service type and the service requirement of the service. After recognizing the service type of the data stream, the access point may determine, based on the correspondence, the service requirement of the service to which the data stream belongs.

It should be understood that, Table <NUM> shows only some possible correspondences between service types and service requirements by using examples. It should not be understood that the correspondence between the service type and the service requirement of the service is limited to only those shown in Table <NUM>, and it also should not be understood that a service type and a service requirement to which this application is applicable are limited to those shown in Table <NUM>. For example, based on a requirement of an actual service, the correspondence between the service type and the service requirement may be alternatively expressed as a correspondence between a service of a specific type and a transmission latency and a throughput, a correspondence between a service of a specific type and a throughput and a packet loss rate, a correspondence between a service of a specific type and a transmission latency and a packet loss rate, or a correspondence between a service of a specific type and a transmission latency, a throughput, and a packet loss rate.

In addition, in this application, different types of services may have a same service requirement for a transmission latency, a throughput, or a packet loss rate. In this application, different requirements may be proposed for specific values of transmission latencies (or throughputs or packet loss rates) of a plurality of types of services that have transmission latency (or throughput or packet loss rate) requirements. For example, both a Kth-type service and an Lth-type service require low latencies, but a transmission latency required by the Kth-type service is not higher than <NUM> milliseconds (ms), and the Lth-type service requires that a transmission latency should not be higher than <NUM>.

It should be understood that the "first-type service", the "Nth-type service", or the like in Table <NUM> may be replaced with a specific service type, such as an online game service, a download service, a video service, or a VR service.

For example, if the access point determines that the service to which the data stream belongs is the first-type service shown in Table <NUM>, where it may be learned from Table <NUM> that, the first-type service has a relatively high transmission latency requirement (for example, a transmission latency required by the service type is not higher than <NUM> milliseconds (ms)), the access point may send the data stream by using a relatively low sending rate, so that a packet loss rate is reduced by reducing a sending rate, to reduce a transmission latency. In this example, the access point may determine a first transmission rate based on the service type of the data stream. The transmission rate corresponding to the first transmission rate is not greater than a first rate threshold. Subsequently, the data stream may be sent by using the transmission rate. For example, the first transmission rate is not greater than an average value of transmission rates at which the access point transmits data streams. Specifically, when configuring the first rate threshold, the access point may configure a relatively small MCS rate (for example, an MCS rate less than or equal to an MCS rate average value).

For example, the first-type service may include a real-time online service such as multiplayer online battle arena (multiplayer online battle arena, MOBA), or Player Unknown's Battlegrounds, or red packet grabbing, or another service that has a relatively high transmission latency requirement. Rates of data streams of these services are relatively small and usually do not exceed <NUM> megabits per second (Mbps). However, these services usually have relatively high data transmission latency requirements. When a data transmission latency is excessively high, service experience is severely affected. Therefore, for this type of service, a packet loss rate in a data transmission process may be reduced by reducing a sending rate, to reduce a transmission latency.

In another example, if the access point determines that the service to which the data stream belongs is a download service, for example, a hypertext transfer protocol (hypertext transfer protocol, HTTP) download service, a download service of another protocol type, or another service that requires a relatively high throughput, the access point may reduce a packet loss rate in downlink transmission by using a relatively high transmission rate, so that packet retransmissions are reduced by reducing packet losses, to obtain stable high-rate download experience. In this example, the access point may determine a second transmission rate. The transmission rate corresponding to the second transmission rate is not less than a second rate threshold. For example, the second transmission rate is not less than the average value of transmission rates at which the access point transmits data streams. Specifically, the second transmission rate may include a relatively large MCS rate. Specifically, when configuring the second transmission rate, the access point may configure a relatively large MCS rate (for example, an MCS rate greater than or equal to the MCS rate average value).

In addition, the access point may alternatively store a correspondence between the service type and the transmission rate, so that after determining the service type of the service to which the data stream belongs, the access point can determine the transmission rate of the data stream based on the correspondence, without determining, based on the service type, the service requirement of the service to which the data stream belongs.

In the claimed invention, in implementation of S102, the access point configures the transmission rate of the data stream based on the service type of the service to which the data stream belongs and information about traffic of the data stream (that is, a rate of the data stream). The traffic information of the data stream may be used to describe a traffic model of the data stream, to reflect a characteristic of the data stream. For example, the traffic information may reflect average traffic of the data stream, a traffic peak value, or whether burst traffic exists.

After receiving the data stream, the access point determines the traffic information of the data stream. When the access point determines that a relatively large traffic burst exists in the data stream, and the service to which the data stream belongs is a second-type service, the access point configures the transmission rate of the data stream based on the average traffic of the data stream. The traffic burst means that one or more traffic peak values of the data stream each are not lower than n times of the average traffic of the data stream, and n is greater than <NUM>, for example, n=<NUM>, <NUM>, <NUM>,.

The access point configures the transmission rate of the data stream to be not lower than x times of the average traffic of the data stream, where x is greater than <NUM>. Therefore, the access point can provide a smooth air interface transmission rate for the service, thereby avoiding a packet loss caused by a transmission rate selection change due to air interface fluctuation, improving an anti-interference capability in downlink data transmission, and guaranteeing good experience of the service. Specifically, x is greater than n.

In addition, in this example, because the traffic burst exists in the data stream, and traffic fluctuation is relatively large, the access point may perform traffic shaping on the data stream, so that traffic fluctuation of the data stream is smoother, to reduce a traffic burst occurrence probability. Therefore, an anti-interference capability in downlink data transmission is further improved. As shown in <FIG>, in this application, a data stream existing before traffic shaping includes a plurality of traffic peak values, and each traffic peak value is traffic at a peak of the data stream. Therefore, traffic fluctuation is relatively large. After the traffic shaping, the traffic fluctuation of the data stream is alleviated.

For example, for a service that has relatively large traffic and usually has a traffic burst in a data stream, such as a <NUM> high-definition video service, an interactive personality TV (IPTV) service, and/or a VR service, after receiving a data stream of this type of service, the access point may determine a third transmission rate based on average traffic of the data stream. The third transmission rate may be x times of the average traffic of the data stream, and x is greater than <NUM>. Then, the access point may send, to the terminal device based on the third transmission rate, a data stream obtained after the traffic shaping. For a traffic shaping method, refer to a manner in the conventional technology. This is not specifically limited in this application.

In addition, the access point may alternatively store a correspondence between the service type, the traffic information of the data stream, and the transmission rate, so that after determining the service type of the service to which the data stream belongs and the traffic information, the access point may determine the transmission rate of the data stream based on the correspondence.

For example, in this application, the access point may further obtain a communication status parameter of the access point and a receive end, and configure, with reference to the service type of the service to which the data stream belongs and/or the traffic information of the data stream, the transmission rate used when the data stream is sent to the receive end. The receive end may include the terminal device that receives the data stream, for example, the terminal device shown in <FIG>. In this method, a most appropriate communication parameter may be selected based on the service type and the traffic information of the downlink data stream and a communication status of the access point and the receive end, to implement flexible configuration. For example, the access point may obtain the communication status parameter in real time, and determine, based on the communication status parameter obtained in real time, a real-time configuration used to send the data stream to the receive end, to implement dynamic transmission rate configuration.

The communication status parameter may include a part or all of communication parameters such as an interference duty cycle, an air interface bit error rate, an air interface retransmission rate, a service concurrency parameter (used to indicate how many downlink service data streams are concurrent), or an air interface rate of the receive end.

The access point may determine, based on the service type of the data stream and the communication status parameter, a parameter such as an MCS rate configuration, an aggregation degree of an A-MSDU, an aggregation degree of an A-MPDU, resource application and allocation rules of the terminal device, a queue allocation rule of WMM, or a number of times configuration in a scheduling or retransmission policy that is based on an SSID and the terminal. The access point may determine an optimal transmission rate for data streams of a same type, to send the data streams.

In a possible example, the access point may configure the transmission rate of the data stream based on a correspondence between the service type, the communication status parameter and/or the transmission rate. Specifically, after recognizing the service type of the data stream and/or obtaining the communication status parameter, the access point may determine, based on the correspondence, the service requirement of the service to which the data stream belongs. The correspondence between the service type, the communication status parameter, and/or the transmission rate may be shown in Table <NUM>.

In a specific example, when the access point recognizes that an interference duty cycle of an interference channel is greater than the interference duty cycle threshold, indicating that signal interference of the interference channel is relatively strong, the access point may allocate an idle channel to a data stream on the interference channel, to switch the data stream from the interference channel to the idle channel for sending, thereby improving an anti-interference capability in downlink data transmission. As shown in <FIG>, when the access point recognizes that an interference duty cycle of a channel <NUM> reaches the interference duty cycle threshold, such as <NUM>%, the access point may switch a to-be-transmitted data stream on the channel <NUM> to an idle channel (such as a channel <NUM>) for transmission. For example, as shown in Table <NUM>, when the transmission rate #<NUM> is used, the access point transmits the data stream by using the interference channel. If the access point determines that the interference duty cycle of the interference channel is not lower than the interference duty cycle threshold, indicating that interference of the interference channel is relatively severe, the access point switches to an idle channel corresponding to the transmission rate #<NUM>, to transmit the data stream.

In another specific example, when the access point recognizes that a plurality of concurrent to-be-sent data streams exist, the access point may determine respective transmission priority parameters of the plurality of data streams based on respective transmission latency requirements of services to which the plurality of data streams belong. For example, to-be-transmitted data streams of the access point include a data stream A of a real-time online game service and another data stream B. To reduce a transmission latency of the data stream A, the access point may improve a forwarding priority of the data stream A. For example, the access point may configure a queue allocation rule of WMM to place the data stream A into a higher-priority WMM queue.

In another example, after obtaining the service type of the data stream and/or the communication status parameter, the access point may determine a transmission rate parameter, such as the MCS rate configuration, the aggregation degree of the A-MSDU, the aggregation degree of the A-MPDU, the resource application and allocation rules of the terminal device, the queue allocation rule of the WMM, or the number of times configuration in the scheduling or retransmission policy that is based on the SSID and the terminal, based on the service type of the data stream and the communication status parameter by using an artificial intelligence (artificial intelligence, Al) algorithm such as a neural network model.

In addition, based on a service transmission requirement, the access point may further determine the transmission rate parameter based on the service type of the data stream, the traffic information of the data stream, and/or the communication status parameter. For example, when the traffic information of the data stream meets a specific condition, the transmission rate parameter of the data stream is determined based on the correspondence shown in Table <NUM>. The specific condition met by the traffic information of the data stream is, for example, that the average traffic of the data stream is not lower than a traffic threshold, or that a traffic burst exists (or does not exist) in the data stream.

When the access point provided in this application is implemented, a possible structure of the access point may be shown in <FIG>. It may be learned from <FIG> that, the access point includes a processing module <NUM> and a communications module <NUM>. The processing module <NUM> may include a processor, for example, may be implemented by using an architecture of a CPU and/or an NPU. The processing module <NUM> may be configured to implement functions, such as data stream feature extraction, of the access point. The communications module <NUM> may be implemented by a scheduling module, a modem (modem), or the like. The communications module <NUM> may be configured to perform communication configuration and send/receive a radio frequency signal by using an antenna. In this application, the processor may also be referred to as a system on chip (system on chip, SOC). The communications module <NUM> may be referred to as a WIFI module. For example, the processing module may be implemented by a processing circuit such as a processing chip or a programmable logic controller (programmable logic controller, PLC). The communications module may be implemented by an interface circuit such as a PLC, or another medium.

Specifically, in this application, the processing module <NUM> determines a service type of a data stream, and the processing module <NUM> indicates the service type of the data stream to the communications module <NUM>, so that the communications module <NUM> configures a transmission rate of the data stream based on the service type of the data stream, and sends the data stream, to meet a data transmission requirement of a service to which the data stream belongs.

In a possible example, when the service type is used to indicate that the service to which the data stream belongs is a first-type service, the communications module <NUM> may configure the transmission rate of the data stream as a first transmission rate. The first transmission rate is not greater than a first rate threshold. A transmission latency required by the first-type service is not higher than a latency threshold.

In another possible example, when the service type is used to indicate that the service to which the data stream belongs is an HTTP download service, the communications module <NUM> may configure the transmission rate of the data stream as a second transmission rate. The second transmission rate is not less than a second rate threshold.

In addition, the processing module <NUM> obtains traffic information of the data stream, and the processing module <NUM> sends the traffic information of the data stream to the communications module <NUM>, so that the communications module <NUM> configures the transmission rate of the data stream based on the service type and the traffic information of the data stream.

Specifically, in the claimed invention, when the service type is used to indicate that the service to which the data stream belongs is a second-type service, and the traffic information is used to indicate that a traffic peak value of the data stream is not lower than n times of average traffic of the data stream, the communications module <NUM> configures the transmission rate of the data stream to be not less than x times of the average traffic of the data stream, where x is greater than <NUM>. A packet loss rate required by the second-type service is not higher than a packet loss rate threshold, and n is greater than <NUM>. For example, x is greater than n.

In this example, the processing module <NUM> may further perform traffic shaping on the data stream.

In addition, the communications module <NUM> may obtain a communication status parameter of the access point and a receive end of the data stream, so that the processing module <NUM> or the communications module <NUM> configures the transmission rate of the data stream based on the service type of the service to which the data stream belongs, the traffic information of the data stream, and the communication status parameter.

It should be understood that, in this application, the communications module <NUM> may alternatively determine a transmission rate parameter of the data stream according to the method provided in this application, and the communications module <NUM> sends the data stream based on the parameter.

For example, as shown in <FIG>, the communications apparatus may further include an AI module <NUM>, configured to: when the downlink data stream needs to be sent, determine, by using an AI algorithm such as a neural network, the transmission rate parameter of the data stream based on the communication status parameter obtained by the communications module <NUM> and the service type of the service to which the data stream belongs and/or the traffic information of the data stream that are/is obtained by the processing module <NUM>, and send the transmission rate parameter of the data stream to the communications module <NUM>, so that the communications module <NUM> configures the transmission rate of the data stream. For example, the communications module may obtain the communication status parameter in real time, and send the communication status parameter obtained in real time to the AI module, so that the AI module determines, based on the communication status parameter obtained in real time, a real-time configuration used to send the data stream to the receive end, to implement dynamic transmission rate configuration.

In addition, in an embodiment that is not covered by the claimed invention, the communications apparatus may alternatively include a structure shown in <FIG>. As shown in <FIG>, a communications apparatus <NUM> may include a processor <NUM>, a memory <NUM>, and a transceiver <NUM>.

The processor <NUM> may be configured to: process a communication protocol and communication data, control a second terminal apparatus, execute a software program, process data of the software program, and the like. The memory <NUM> may be configured to store the program and data, and the processor <NUM> may perform, based on the program, the method performed by the second terminal apparatus in the embodiments of this application.

The transceiver <NUM> may include a radio frequency unit and an antenna. The radio frequency unit may be configured to: perform conversion between a baseband signal and a radio frequency signal, and process the radio frequency signal. The antenna may be configured to send and receive a radio frequency signal in a form of an electromagnetic wave. In addition, only the radio frequency unit may be considered as the transceiver <NUM>. In this case, the communications apparatus <NUM> may include the processor <NUM>, the memory <NUM>, the transceiver <NUM>, and the antenna.

It should be understood that the communications module <NUM> may have a structure shown in the transceiver <NUM>, that is, the communications module <NUM> includes the radio frequency unit and the antenna. Alternatively, the communications module <NUM> may include the foregoing radio frequency unit. The foregoing processing module <NUM> and/or the AI module <NUM> may include the processor <NUM>, or include the processor <NUM> and the memory <NUM>.

When performing the method shown in the embodiments of this application, the transceiver <NUM> may be configured to perform the steps performed by the communications module <NUM>. The processor <NUM> invokes the program stored in the memory <NUM>, to perform the foregoing steps performed by the processing module <NUM> and/or the AI module <NUM>.

Specifically, the processor <NUM> may determine a service type of a data stream, and the processor <NUM> indicates the service type of the data stream to the transceiver <NUM>, so that the transceiver <NUM> configures a transmission rate of the data stream based on the service type of the data stream, and sends the data stream, to meet a data transmission requirement of a service to which the data stream belongs.

In a possible example, when the service type is used to indicate that the service to which the data stream belongs is a first-type service, the transceiver <NUM> may configure the transmission rate of the data stream as a first transmission rate. The first transmission rate is not greater than a first rate threshold. A transmission latency required by the first-type service is not higher than a latency threshold.

In another possible example, when the service type is used to indicate that the service to which the data stream belongs is an HTTP download service, the transceiver <NUM> may configure the transmission rate of the data stream as a second transmission rate. The second transmission rate is not less than a second rate threshold.

In addition, the processor <NUM> may obtain traffic information of the data stream, and the processor <NUM> sends the traffic information of the data stream to the transceiver <NUM>, so that the transceiver <NUM> configures the transmission rate of the data stream based on the service type and the traffic information of the data stream.

Specifically, when the service type is used to indicate that the service to which the data stream belongs is a second-type service, and the traffic information is used to indicate that a traffic peak value of the data stream is not lower than n times of average traffic of the data stream, the transceiver <NUM> may configure the transmission rate of the data stream to be not less than x times of the average traffic of the data stream, where x is greater than <NUM>. A packet loss rate required by the second-type service is not higher than a packet loss rate threshold, and n is greater than <NUM>. For example, x is greater than n.

In this example, the processor <NUM> may further perform traffic shaping on the data stream.

In addition, the transceiver <NUM> may obtain a communication status parameter of the access point and a receive end of the data stream, so that the processor <NUM> or the transceiver <NUM> configures the transmission rate of the data stream based on the service type of the service to which the data stream belongs, the traffic information of the data stream, and the communication status parameter.

It should be understood that, in this application, the transceiver <NUM> may alternatively determine a transmission rate parameter of the data stream according to the method provided in this application, and the transceiver <NUM> sends the data stream based on the parameter.

It should be understood that the communications apparatus may alternatively include a chip. For example, the chip includes the processor <NUM>. In addition, the chip may be further coupled to any one or more components in the memory <NUM> and/or the transceiver <NUM>, or the chip may further constitute a chip system with the memory <NUM> and/or the transceiver <NUM>.

Based on a same concept as that of the foregoing method embodiments, an embodiment of this application, not covered by the claimed invention, further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the program is executed by a processor, the computer is enabled to perform the method performed by the access node in any one of the foregoing method embodiments or the possible implementations of the method embodiments.

Based on a same concept as the foregoing method embodiments, this application further provides a computer program product not covered by the claimed invention. When the computer program product is invoked and executed by a computer, the computer may be enabled to implement the method performed by the access node in any one of the foregoing method embodiments or the possible implementations of the method embodiments.

Based on a same concept as that of the foregoing method embodiments, this application further provides a chip or a chip system, that are not covered by the claimed invention. The chip may include a processor. The chip may further include a memory (or a storage module) and/or a transceiver (or a communications module), or the chip is coupled to a memory (or a storage module) and/or a transceiver (or a communications module). The transceiver (or the communications module) may be configured to support the chip in wired and/or wireless communication, and the memory (or the storage module) may be configured to store a program. The processor invokes the program to implement the method performed by the access node in any one of the foregoing method embodiments or the possible implementations of the method embodiments. The chip system may include the chip, or may include the chip and another discrete component, such as a memory (or a storage module) and/or a transceiver (or a communications module).

Based on a same concept as that of the foregoing method embodiments, this application further provides a communications system, that is not covered by the claimed invention. The communications system may include the foregoing access point. The communications system may be configured to implement the method in any one of the foregoing method embodiments and possible implementations of the method embodiments. For example, the communications system has a structure shown in <FIG>.

The embodiments of this application are described with reference to the flowcharts and/or block diagrams of the method, the apparatus, and the computer program product according to the embodiments. It should be understood that computer program instructions may be used to implement each process and/or each block in the flowcharts and/or the block diagrams and a combination of a process and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of another programmable data processing device to generate a machine, so that the instructions executed by a computer or the processor of the another programmable data processing device generate an apparatus for implementing a specific function in one or more processes in the flowcharts and/or in one or more blocks in the block diagrams.

These computer program instructions may alternatively be stored in a computer-readable memory that can instruct the computer or the another programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate an artifact that includes an instruction apparatus.

Claim 1:
A transmission rate configuration method, comprising:
determining (S101), by an access point, a service type of a service to which a data stream belongs, in downlink data transmission; and
configuring (S102), by the access point, a transmission rate of the data stream based on the service type and traffic information of the data stream,
characterized in that:
the service type is used to indicate that the service to which the data stream belongs is of a type of service for which a packet loss rate required is not higher than a packet loss rate threshold; and the traffic information is used to indicate that a traffic peak value of the data stream is not lower than n times of average traffic of the data stream, and n is greater than <NUM>; and
the configuring, by the access point, the transmission rate of the data stream based on the service type and traffic information of the data stream comprises:
configuring, by the access point based on the service type and the traffic information of the data stream, the transmission rate of the data stream to be not less than x times of the average traffic of the data stream, wherein x is greater than <NUM>.