WO2012159376A1 - Video multicast method and device - Google Patents

Video multicast method and device Download PDF

Info

Publication number
WO2012159376A1
WO2012159376A1 PCT/CN2011/078347 CN2011078347W WO2012159376A1 WO 2012159376 A1 WO2012159376 A1 WO 2012159376A1 CN 2011078347 W CN2011078347 W CN 2011078347W WO 2012159376 A1 WO2012159376 A1 WO 2012159376A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
multicast
video stream
data packet
rate
Prior art date
Application number
PCT/CN2011/078347
Other languages
French (fr)
Chinese (zh)
Inventor
刘洪盛
李晓峰
文光俊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/078347 priority Critical patent/WO2012159376A1/en
Priority to CN201180001545.9A priority patent/CN103053183B/en
Publication of WO2012159376A1 publication Critical patent/WO2012159376A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1836Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with heterogeneous network architecture
    • H04L12/184Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with heterogeneous network architecture with heterogeneous receivers, e.g. layered multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/631Multimode Transmission, e.g. transmitting basic layers and enhancement layers of the content over different transmission paths or transmitting with different error corrections, different keys or with different transmission protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Definitions

  • the present invention relates to the field of information technology, and in particular, to a video multicast method and device. Background technique
  • wireless local area network Wireless Local Area Network
  • the destination address of the video data sent by the source node is the group of the on-demand video.
  • the multicast address of the broadcast group, the access point (AP) of the multicast group receives the video stream sent by the source of the video stream, and then sends the video stream to the wireless channel in the multicast group, where the wireless channel is Shared channel, each station (Station; STA) in the group can receive the video stream.
  • the AP when performing video multicast, when the AP sends a video stream to the radio channel in the multicast group, the AP transmits the video stream at the rate of the lowest rate STA to meet the transmission rate of all the STAs in the group. However, if the rate of the transmitted video stream is higher than the rate of the lowest rate STA, the STAs in the multicast group will not receive the video stream normally, which will waste the STA resources with higher rate in the multicast group. And the throughput of the wireless LAN is low. Summary of the invention
  • the embodiment of the invention provides a video multicasting method and device, which solves the problem of waste of site resources in a multicast group and low throughput of a wireless local area network in the prior art.
  • the embodiment of the invention provides a video multicasting method, including:
  • Each station in the multicast group is divided into at least two groups, and determines a sending time, a sending rate, and a type of the transmitted data packet of the video stream to each group, where the type of the transmitted data packet is the at least two At least one type of packet type;
  • a corresponding type of data packet is transmitted on the shared channel of the multicast group at a corresponding transmission rate.
  • An embodiment of the present invention further provides an access point, including:
  • a classifying unit configured to divide the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet
  • a grouping unit configured to divide each site in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each station in the multicast group, and a number of sites, and determine to each group Transmitting a transmission time of the video stream, a sending rate, and a type of the transmitted data packet, where the transmitted data packet type is at least one of the at least two data packet types;
  • the multicast unit is configured to send, according to the sending time, a data packet of a corresponding type on the shared channel of the multicast group in the sending time.
  • the video multicast method and device provided by the embodiment of the present invention classify a data packet of an access point at a receiving point of a multicast video stream, group the stations in the multicast group, and determine a video transmission time and rate of each group.
  • the packet type is such that, within the transmission time of each group, a corresponding type of data packet is transmitted on the shared channel of the multicast group according to the transmission rate of each group. Thereby, the utilization rate of the site resources in the multicast group is improved, and the throughput of the wireless local area network is improved.
  • 1 is a flowchart of an embodiment of a video multicast method provided by the present invention
  • 2 is a schematic diagram of a video multicast structure of a wireless local area network
  • FIG. 3 is a flowchart of still another embodiment of a video multicast method provided by the present invention.
  • FIG. 4 is a schematic structural diagram of an embodiment of an access point provided by the present invention.
  • FIG. 5 is a schematic structural diagram of still another embodiment of an access point according to the present invention. detailed description
  • FIG. 1 is a flowchart of an embodiment of a video multicast method according to the present invention. As shown in FIG. 1, the method includes:
  • each station in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each station in the multicast group, and a number of stations, and determine a sending time of sending the video stream to each group,
  • the transmission rate and the type of the transmitted packet, the type of the transmitted packet is at least one of the at least two packet types.
  • the execution body of the above steps is the access point AP in the wireless local area network.
  • FIG. 2 is a schematic diagram of a video multicast structure of a wireless local area network.
  • a video stream source point (110) multicasts a multicast video stream to a backbone network (115), and the multicast address is a special D. Class-specific address.
  • the wireless local area network includes wireless stations: STA (130), STA (140), STA (150), and STA (160), among others, STA (130), STA (140), and STA (150), etc., through the Internet group Internet Group Multicast Protocol (IGMP)
  • IGMP Internet Group Multicast Protocol
  • information table information such as STA (130), STA (140), and STA (150) is added to the multicast information table.
  • the AP (120) searches for the multicast video stream sent by the video server on the Internet according to the multicast address applied by each site in the multicast group, and then starts receiving the multicast video stream.
  • the AP after receiving the multicast video stream sent by the video server, the AP performs further general processing and scheduling on the multicast video stream at the Media Access Control (MAC) layer, and may further group according to the group.
  • the importance of each data packet in the broadcast video stream the multicast video stream data packet is divided into at least two data packet types, which can be divided into important class data packets and sub-important data packets, wherein important data types
  • a packet can be the basic data necessary to ensure that each site in the group can play video. That is, important packets need to be sent to all sites in the multicast group; and sub-critical packets can be guaranteed at each site.
  • some extended data can improve the quality of video playback, and the sub-important data packets can be sent to some stations with higher receiving speed in the multicast group without sending to all stations in the group; further, The AP can also identify unimportant data from the data packets of the multicast video stream, that is, it can also classify non-weight from the multicast video stream. For a packet of a class, when the code rate of the multicast video stream is higher than the site with the highest receiving rate in the multicast group, the AP can discard these non-critical packets, that is, not send to any sites in the multicast group. A non-critical class of data packets.
  • the AP After receiving the multicast video stream, the AP usually stores the multicast video stream in the local buffer unit. Therefore, the AP can estimate the multicast video stream according to the amount of data in the local buffer unit per unit time.
  • the code rate The code rate.
  • the AP can only analyze the data of the network layer and the application layer of the multicast video stream, and analyze the importance of the data without performing a complete video decoding operation.
  • the AP may further divide each station in the multicast group into at least two groups according to the code rate of the multicast video stream, the rate of each station in the multicast group, and the number of stations. Specifically, the AP may group the several stations whose receiving rate is close according to the receiving rate of each station, and use the group in each group. The lowest reception rate of each station is used as the transmission rate for transmitting multicast video stream packets to the group.
  • the AP can allocate the sending time of the sending video stream to each group, and the sum of the sending time of the video stream sent by the AP to each group is equal to the time when the AP receives the multicast video stream.
  • the AP may multicast corresponding types of data packets to each site in the group at a determined transmission rate within the transmission time of each group.
  • the group with the lower receiving rate is called the low-speed group, and the group with the higher receiving rate is called the high-speed group.
  • the AP can only send the packets of the important class.
  • the AP can send the important packets to the group.
  • the AP may also send the non-essential type data packet to the high speed group if the code rate of the multicast video stream is higher than that of the high speed group.
  • the AP can discard packets of non-essential classes and send only important class packets and sub-important class packets to the high-speed group.
  • the AP when the AP sends a multicast video stream packet to each station in the multicast group, the AP sends the multicast video stream packet to the shared channel of the multicast group at a certain transmission rate. For each station in the network, the receiving rate is higher than the AP sending rate, and the data packet sent by the AP can be received. Since the receiving rate of the low-speed group is lower than that of the high-speed group, the data packets transmitted by the AP in the shared channel of the multicast group can be received by each station in the low-speed group or can be transmitted at a high speed during the transmission time of the low-speed group. Each site in the group was received.
  • each station in the high-speed group can receive the important type of data packets sent by the AP on the shared channel in the multicast group during the transmission time of the low-speed group. Therefore, during the transmission time of the high-speed group, the AP can The packets of the sub-important class are sent only on the shared channel of the multicast group for receiving by each station of the high-speed group, and the important class of data packets are not required to be sent within the transmission time of the high-speed group, thereby improving the channel in the multicast group.
  • the utilization of resources reduces the amount of data sent by APs and improves multicast efficiency.
  • the video multicast method provided by the embodiment of the present invention classifies a data packet of an access point at a receiving point that receives a multicast video stream, groups the stations in the multicast group, and determines a video transmission time, rate, and data packet of each group. Type, so in the transmission time of each group, according to the transmission rate of each group in the multicast group The corresponding type of data packet is sent on the shared channel, thereby improving the utilization of the site resources in the multicast group and improving the throughput of the wireless local area network.
  • FIG. 3 is a flowchart of still another embodiment of a video multicasting method according to the present invention.
  • a process for a station in a wireless local area network to join a multicast group to receive a video stream is provided.
  • the example provides a specific implementation manner in which the AP divides each site in the multicast group into at least two groups according to the code rate of the multicast video stream, the rate of each station in the multicast group, and the number of sites. Includes:
  • the device sends an IGMP datagram to the AP that has the routing function in the WLAN.
  • the AP After receiving the IGMP datagram, the AP creates and maintains a multicast information table locally in the AP.
  • the multicast information table records the site, multicast address, and physical rate information of the participating multicast stations.
  • the AP searches for the multicast video stream sent by the video server on the Internet according to the multicast address applied by each site in the multicast group, and then starts receiving the multicast video stream.
  • the AP receives the multicast video stream data packet, and stores the multicast video stream data packet in the local buffer unit.
  • S204 The AP estimates a code rate of the multicast video stream according to the amount of data in the local buffer unit in a unit time.
  • the AP usually stores the multicast video stream in the local buffer queue. Therefore, the AP can estimate the bit rate of the multicast video stream according to the amount of data in the local buffer queue per unit time.
  • the AP may send the multicast video stream data packet on the shared channel of the multicast group at the lowest receiving rate of each station in the multicast group. In this case, The AP can multicast the video stream at the lowest rate of each site in the multicast group, so that the AP can meet the current video stream bandwidth requirement. Therefore, the AP can no longer perform the steps after S205. If the code rate of the multicast video stream is greater than the set code rate, the AP needs to perform the steps subsequent to S205.
  • the AP divides the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet.
  • the AP may divide the multicast video stream data packet into a packet type of an important class and a packet type of a sub-important class, where the data packets of the important class may be required for each site in the group to play video.
  • the necessary basic data that is, the important class of data packets need to be sent to all sites in the multicast group; and the less important class of data packets can be based on ensuring that each site can play video, and can improve the quality of video playback.
  • Extended data, sub-important data packets can be sent to some stations in the multicast group with higher receiving speed, and do not need to be sent to all stations in the group; in another embodiment, the AP can also receive data from the multicast video stream.
  • the packet identifies unimportant data, that is, the AP can classify the multicast video stream packet into an important class packet type, a sub-important class packet type, and a non-essential class packet type, when the multicast video stream is When the code rate is higher than the one with the highest receiving rate in the multicast group, the AP can discard these non-critical packets, that is, not send any non-destination to any station in the multicast group. Packet to the class.
  • the AP can parse only the data of the network layer and the application layer of the multicast video stream, and analyze the importance of the data without performing a complete video decoding operation.
  • the AP divides each site in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each site in the multicast group, and a number of sites, and determines a sending time of sending the video stream to each group.
  • the sending rate and the type of the transmitted packet, the type of the transmitted packet being at least one of the at least two packet types.
  • this embodiment provides a specific implementation method for an AP to divide each site in a multicast group into at least two groups:
  • the rate of the multicast video stream is set.
  • the receiving time of the AP receiving the multicast video stream is ⁇ .
  • the AP numbers each station from low to high according to the receiving rate.
  • the receiving rate of the first station is
  • the video stream reception time of the first station is t a .
  • the loss cost function represents the video data of the "loss" of the first station in the multicast group.
  • the video stream receiving time of each site is t a AP receiving multicast video.
  • the receiving time of the stream is t.
  • the stations in the multicast group whose reception rate differs within a certain range may be grouped into groups, and when the stations in the multicast group are divided into ⁇ groups ( ⁇ >2), the group
  • ⁇ groups ⁇ >2
  • the code rate of the multicast video stream is represented, t represents the sum of the transmission times of the groups in the multicast group, and represents the number of stations in the group, indicating the transmission rate of the group, t, indicating the group Delivery time;
  • All the grouping modes of the multicast group can be traversed, and each station in the multicast group is divided into at least two groups according to the grouping method in which the loss cost is the smallest.
  • the lowest reception rate of each station in each group can be determined as the transmission rate of the group, so as to minimize the loss cost, even if the loss cost reaches the minimum value, for L ⁇ N, ⁇ Vt-R ⁇ ) + whil + N ⁇ Vt - ⁇ ) + N P ⁇ Vt - R p t p ) t P ⁇ t,., t p perform optimization calculation to determine the transmission time of each group.
  • various existing optimization algorithms can be used, and the specific algorithm adopted does not constitute a limitation of the present invention.
  • the AP may periodically according to the grouping manner provided in this embodiment. Group each site in a multicast group.
  • the AP marks the data packet type and the sending rate of the multicast video stream data packet according to the classification result of the multicast video stream data packet, and according to the sending rate of the video stream sent to each group and the type of the transmitted data packet.
  • the AP may send the corresponding type of data packet at the marked sending rate in the sending time of the high speed group or the low speed group.
  • S208 The AP sends a corresponding type of data packet on the shared channel of the multicast group at a corresponding sending rate during the sending time.
  • the AP may send an important type of data packet on the shared channel of the multicast group in the transmission rate of the low-speed group during the transmission time of the low-speed group; in the transmission time of the high-speed group, the transmission rate of the high-speed group, Sending packets of important classes and sub-important classes on the shared channel of the multicast group;
  • the AP may send the data packets of the important class and the second most important class on the shared channel of the multicast group in the transmission time of the high-speed group during the transmission time of the high-speed group.
  • Multicast video stream packets are of high importance. They send packets of important classes first, then packets of important classes, and finally packets of non-essential classes.
  • the AP when the AP sends a multicast video stream packet to each station in the multicast group, the AP sends the multicast video stream packet to the shared channel of the multicast group at a certain transmission rate, for the multicast group.
  • the receiving rate is higher than the AP sending rate and can receive the data packets sent by the AP. Since the receiving rate of the low-speed group is lower than the high-speed group, the data packets sent by the AP in the shared channel of the multicast group can be received by the stations in the low-speed group or in the high-speed group during the transmission time of the low-speed group. Each site received.
  • each station in the high-speed group can receive the important type of data packets sent by the AP on the shared channel in the multicast group during the transmission time of the low-speed group. Therefore, as another preferred embodiment, In order to improve the utilization efficiency of the channel resources and avoid the repeated transmission of the same data packet in the air, the AP can send important types of data packets on the shared channel of the multicast group at the transmission rate of the low-speed group during the transmission time of the low-speed group. In the transmission time of the high-speed group, the AP can send only the packets of the second important class on the shared channel of the multicast group at the transmission rate of the high-speed group, and It is no longer necessary to send packets of important classes.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the access point includes: a classification unit 11, a grouping unit 12, and a multicast unit 13;
  • the classifying unit 11 is configured to divide the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet;
  • the grouping unit 12 is configured to divide each station in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each station in the multicast group, and a number of stations, and determine to send a video stream to each group.
  • the sending time, the sending rate, and the type of the transmitted packet, the type of the transmitted packet being at least one of the at least two packet types;
  • the multicast unit 13 is configured to send a corresponding type of data packet on the shared channel of the multicast group at the corresponding transmission rate during the transmission time.
  • FIG. 5 is a schematic structural diagram of still another embodiment of an access point according to the present invention. As shown in FIG. 5, the access point includes: a classification unit 11, a grouping unit 12, and a multicast unit 13;
  • the multicast is performed.
  • the sum of the video data loss loss costs of the multicast video stream received by each station in the group, where is the code rate of the multicast video stream, t is the sum of the transmission times of each group in the multicast group, and the number of stations in the group is represented.
  • the traversing module 122 is configured to traverse all the grouping modes of the multicast group, and divide each station in the multicast group into at least two groups according to a grouping manner with a minimum loss cost;
  • the determining module 123 determines the lowest receiving rate of each station in each group as the sending rate of the group, and performs optimization calculation on t P ... t, t p according to the minimum value of the loss cost, to determine the group Send time.
  • the multicast video stream data packet is at least divided into an important type of packet type and a sub-important type of the packet type, and each group in the multicast group is divided into groups in which the transmission rate is greater than or equal to the second set range.
  • the group whose sending rate is less than the second setting range is the low speed group, and the determining module 123 can also be used for:
  • the type of packet sent to the low-speed group includes important classes
  • the types of packets sent to the high-speed group include important classes and sub-important classes.
  • the multicast unit 13 may be specifically configured to: send the important type of data packet on the shared channel of the multicast group at a transmission rate of the low-speed group during the transmission time of the low-speed group, during the transmission time of the high-speed group, Sending packets of important classes and sub-important classes on the shared channel of the multicast group at the transmission rate of the high-speed group;
  • the important type of data packet is transmitted on the shared channel of the multicast group at the transmission rate of the low-speed group, and the transmission rate of the high-speed group is in the transmission rate of the high-speed group.
  • the packets of the next important class are sent on the shared channel of the group.
  • the multicast video stream data packet is further classified into a non-critical type of data packet type.
  • the multicast unit 13 may be specifically configured to: During the transmission time of the high-speed group, the types of data packets sent on the shared channel of the multicast group include important classes, sub-important classes, and non-critical classes. If the transmission rate of the high-speed group is smaller than the code rate of the multicast video stream, the multicast The unit 13 may be specifically configured to: in the transmission time of the high-speed group, the type of the data packet sent on the shared channel of the multicast group includes an important class and a second important class.
  • the access point provided in this embodiment may further include:
  • a marking unit 14 configured to classify results according to the multicast video stream data packet, and according to each The sending rate of the sent video stream and the type of the transmitted packet, marking the packet type and sending rate of the multicast video stream packet.
  • the grouping unit 12 can be used to divide the stations in the multicast group into at least two groups according to the interval setting time.
  • the access point provided in this embodiment may further include:
  • the buffer unit 15 is configured to store the received multicast video stream data packet
  • the estimating unit 16 is configured to estimate the code rate of the multicast video stream according to the amount of data in the buffer unit per unit time.
  • the multicast unit 13 may be further configured to: if the code rate of the video stream is lower than the set code rate, send the multicast video stream on the shared channel of the multicast group at the lowest receiving rate of each station in the multicast group. data pack.
  • the access point provided by the embodiment of the present invention is related to the video multicasting method provided by the embodiment of the present invention.
  • To implement the function and the function of the video multicasting method refer to the method embodiment, and no further details are provided.
  • the access point provided by the embodiment of the present invention classifies the data packets of the video at the access point that receives the multicast video stream, groups the sites in the multicast group, and determines the video transmission time, rate, and packet type of each group. Therefore, in the transmission time of each group, the corresponding type of data packet is transmitted on the shared channel of the multicast group according to the transmission rate of each group, thereby improving the utilization of the site resources in the multicast group and increasing the throughput of the wireless local area network. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided are a video multicast method and device. The method includes: dividing a received multicast video stream data packet into at least two data packet types according to the importance thereof; dividing the stations in a multicast group into at least two groups according to the code rate of the multicast video stream, the rates of the stations in the multicast group and the number of stations, and determining the sending time, sending rate and the type of the data packet to be sent when sending video streams to each group; and sending a data packet with the corresponding type over the shared channel of the multicast group within the sending time at the corresponding sending rate. The embodiments of the present invention improve the utilization rate of the station resources in the multicast group and improve the throughput of the wireless local area network.

Description

视频组播方法和设备  Video multicast method and device
技术领域 Technical field
本发明涉及信息技术领域, 特别涉及一种视频组播方法和设备。 背景技术  The present invention relates to the field of information technology, and in particular, to a video multicast method and device. Background technique
随着无线通信技术的发展, 无线局域网 ( Wireless Local Area Network; With the development of wireless communication technology, wireless local area network (Wireless Local Area Network;
WLAN )越来越受到人们重视。 在网络视频流媒体应用中, 如果多个客户端 同时点播同一视频节目, 为了节约网络资源, 通常采用组播技术: 视频流源 点 ( Source Node )发出的视频数据的目的地址为点播视频的组播组的组播 地址, 组播组的无线接入节点 (Access Point; AP )接收视频流源点发送的 视频流后, 将视频流发送到组播组内的无线信道上, 该无线信道为共享信道, 组内每个站点 (Station; STA )都能接收到视频流。 WLAN) is getting more and more attention. In a network video streaming application, if multiple clients simultaneously order the same video program, in order to save network resources, multicast technology is usually adopted: the destination address of the video data sent by the source node is the group of the on-demand video. The multicast address of the broadcast group, the access point (AP) of the multicast group receives the video stream sent by the source of the video stream, and then sends the video stream to the wireless channel in the multicast group, where the wireless channel is Shared channel, each station (Station; STA) in the group can receive the video stream.
现有技术中, 在进行视频组播时, AP在向组播组内的无线信道发送视频 流时, 为了满足组内所有 STA的传输速率, AP采用速率最低的 STA的速率 发送视频流。 然而, 如果传输的视频流码率高于速率最低的 STA的速率, 则 将使组播组内的各 STA将无法正常接收视频码流, 这将浪费组播组内速率较 高的 STA资源, 并且无线局域网的吞吐量低。 发明内容  In the prior art, when performing video multicast, when the AP sends a video stream to the radio channel in the multicast group, the AP transmits the video stream at the rate of the lowest rate STA to meet the transmission rate of all the STAs in the group. However, if the rate of the transmitted video stream is higher than the rate of the lowest rate STA, the STAs in the multicast group will not receive the video stream normally, which will waste the STA resources with higher rate in the multicast group. And the throughput of the wireless LAN is low. Summary of the invention
本发明实施例提供了一种视频组播方法和设备, 以解决现有技术中浪费 组播组内站点资源以及无线局域网吞吐量低的问题。  The embodiment of the invention provides a video multicasting method and device, which solves the problem of waste of site resources in a multicast group and low throughput of a wireless local area network in the prior art.
本发明实施例提供一种视频组播方法, 包括:  The embodiment of the invention provides a video multicasting method, including:
根据接收的组播视频流数据包的重要性高低, 将所述组播视频流数据包 分为至少两个数据包类型;  And dividing the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet;
根据所述组播视频流的码率、 组播组内各站点的速率及站点数量, 将所 述组播组内的各站点分为至少两组,并确定向每个组发送视频流的发送时间、 发送速率以及和发送的数据包类型, 所述发送的数据包类型为所述至少两个 数据包类型中至少一种类型; According to the code rate of the multicast video stream, the rate of each station in the multicast group, and the number of sites, Each station in the multicast group is divided into at least two groups, and determines a sending time, a sending rate, and a type of the transmitted data packet of the video stream to each group, where the type of the transmitted data packet is the at least two At least one type of packet type;
在所述发送时间内, 以对应的发送速率在所述组播组的共享信道上发送 对应类型的数据包。  During the transmission time, a corresponding type of data packet is transmitted on the shared channel of the multicast group at a corresponding transmission rate.
本发明实施例还提供一种接入点, 包括:  An embodiment of the present invention further provides an access point, including:
分类单元, 用于根据接收的组播视频流数据包的重要性高低, 将所述组 播视频流数据包分为至少两个数据包类型;  a classifying unit, configured to divide the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet;
分组单元, 用于根据所述组播视频流的码率、 组播组内各站点的速率及 站点数量, 将所述组播组内的各站点分为至少两组, 并确定向每个组发送视 频流的发送时间、 发送速率以及和发送的数据包类型, 所述发送的数据包类 型为所述至少两个数据包类型中至少一种类型;  a grouping unit, configured to divide each site in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each station in the multicast group, and a number of sites, and determine to each group Transmitting a transmission time of the video stream, a sending rate, and a type of the transmitted data packet, where the transmitted data packet type is at least one of the at least two data packet types;
组播单元, 用于在所述发送时间内, 以对应的发送速率在所述组播组的 共享信道上发送对应类型的数据包。  The multicast unit is configured to send, according to the sending time, a data packet of a corresponding type on the shared channel of the multicast group in the sending time.
本发明实施例提供的视频组播方法和设备, 在接收组播视频流的接入点 对视频的数据包分类,对组播组内的站点分组及确定每个组的视频发送时间、 速率和数据包类型, 从而在各组的发送时间内, 按照各组的发送速率在组播 组的共享信道上发送对应类型的数据包。 从而提高了组播组内站点资源利用 率, 提高无线局域网的吞吐量。 附图说明  The video multicast method and device provided by the embodiment of the present invention classify a data packet of an access point at a receiving point of a multicast video stream, group the stations in the multicast group, and determine a video transmission time and rate of each group. The packet type is such that, within the transmission time of each group, a corresponding type of data packet is transmitted on the shared channel of the multicast group according to the transmission rate of each group. Thereby, the utilization rate of the site resources in the multicast group is improved, and the throughput of the wireless local area network is improved. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为本发明提供的视频组播方法一个实施例的流程图; 图 2为无线局域网的视频组播结构示意图; 1 is a flowchart of an embodiment of a video multicast method provided by the present invention; 2 is a schematic diagram of a video multicast structure of a wireless local area network;
图 3为本发明提供的视频组播方法又一个实施例的流程图;  3 is a flowchart of still another embodiment of a video multicast method provided by the present invention;
图 4为本发明提供的接入点一个实施例的结构示意图;  4 is a schematic structural diagram of an embodiment of an access point provided by the present invention;
图 5为本发明提供的接入点又一个实施例的结构示意图。 具体实施方式  FIG. 5 is a schematic structural diagram of still another embodiment of an access point according to the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明提供的视频组播方法一个实施例的流程图, 如图 1所示, 该 方法包括:  FIG. 1 is a flowchart of an embodiment of a video multicast method according to the present invention. As shown in FIG. 1, the method includes:
S101、 根据接收的组播视频流数据包的重要性高低, 将组播视频流数据 包分为至少两个数据包类型。  S101. Divide the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet.
S102、 根据组播视频流的码率、 组播组内各站点的速率及站点数量, 将 组播组内的各站点分为至少两组, 并确定向每个组发送视频流的发送时间、 发送速率以及和发送的数据包类型, 该发送的数据包类型为该至少两个数据 包类型中至少一种类型。  S102. Divide each station in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each station in the multicast group, and a number of stations, and determine a sending time of sending the video stream to each group, The transmission rate and the type of the transmitted packet, the type of the transmitted packet is at least one of the at least two packet types.
S103、 在发送时间内, 以对应的发送速率在组播组的共享信道上发送对 应类型的数据包。  S103. Send a corresponding type of data packet on the shared channel of the multicast group at a corresponding sending rate during the sending time.
以上步骤的执行主体为无线局域网中的接入点 AP。  The execution body of the above steps is the access point AP in the wireless local area network.
图 2所示为无线局域网的视频组播结构示意图, 如图 2所示, 视频流源点 ( 110 ) 以组播形式向主干网络(115 )发出组播视频流, 组播地址为特殊的 D类专用地址。 无线局域网中包括无线站点: STA ( 130 ) 、 STA ( 140 ) 、 STA ( 150 )和 STA ( 160 )等, 其中, STA ( 130 ) 、 STA ( 140 )和 STA ( 150 ) 等站点,通过因特网组播管理协议( Internet Group Multicast Protocol; IGMP ) 数据报向无线局域网的接入点 AP ( 120 )请求加入视频流组播组( 170 ) , 无 线局域网的接入点 AP ( 120 )接收到各个站点发出的 IGMP数据包后, 在本地 建立组播信息表, 该组播信息表中加入了 STA ( 130 ) 、 STA ( 140 )和 STA ( 150 )等站点的信息。 AP ( 120 )根据组播组内各站点申请的组播地址, 在 互联网上搜索视频服务器所发出的组播视频流, 然后开始接收组播视频流。 FIG. 2 is a schematic diagram of a video multicast structure of a wireless local area network. As shown in FIG. 2, a video stream source point (110) multicasts a multicast video stream to a backbone network (115), and the multicast address is a special D. Class-specific address. The wireless local area network includes wireless stations: STA (130), STA (140), STA (150), and STA (160), among others, STA (130), STA (140), and STA (150), etc., through the Internet group Internet Group Multicast Protocol (IGMP) The datagram requests to join the video stream multicast group (170) to the access point AP (120) of the WLAN, and the access point AP (120) of the WLAN receives the IGMP data packet sent by each station, and establishes the local multicast. In the information table, information such as STA (130), STA (140), and STA (150) is added to the multicast information table. The AP (120) searches for the multicast video stream sent by the video server on the Internet according to the multicast address applied by each site in the multicast group, and then starts receiving the multicast video stream.
一方面, AP接收到视频服务器发出的组播视频流后, 除了在媒体接入控 制 (Media Access Control; MAC )层对组播视频流进行各种常规的处理和 调度之外, 可以进一步根据组播视频流中的各数据包的重要性, 将组播视频 流数据包分为至少两个数据包类型, 可以分为重要类的数据包和次重要类的 数据包, 其中, 重要类的数据包可以是保证组内各站点能够播放视频所需的 必要的基本数据, 即, 重要类的数据包需要向组播组内所有站点发送; 而次 重要类的数据包可以是在保证各站点能够播放视频的基础上, 能够提高视频 播放质量的一些扩展数据, 次重要类的数据包可以对组播组内接收速度较高 的一些站点发送, 而不必向组内所有的站点发送; 进一步的, AP还可以从组 播视频流的数据包中识别出不重要的数据, 即还可以从组播视频流中分类出 非重要类的数据包, 当组播视频流的码率高于组播组内接收速率最高的站点 时, AP可以丟弃这些非重要类的数据包, 即, 不向组播组内任何站点发送非 重要类的数据包。  On the one hand, after receiving the multicast video stream sent by the video server, the AP performs further general processing and scheduling on the multicast video stream at the Media Access Control (MAC) layer, and may further group according to the group. The importance of each data packet in the broadcast video stream, the multicast video stream data packet is divided into at least two data packet types, which can be divided into important class data packets and sub-important data packets, wherein important data types A packet can be the basic data necessary to ensure that each site in the group can play video. That is, important packets need to be sent to all sites in the multicast group; and sub-critical packets can be guaranteed at each site. On the basis of playing video, some extended data can improve the quality of video playback, and the sub-important data packets can be sent to some stations with higher receiving speed in the multicast group without sending to all stations in the group; further, The AP can also identify unimportant data from the data packets of the multicast video stream, that is, it can also classify non-weight from the multicast video stream. For a packet of a class, when the code rate of the multicast video stream is higher than the site with the highest receiving rate in the multicast group, the AP can discard these non-critical packets, that is, not send to any sites in the multicast group. A non-critical class of data packets.
其中, AP在接收到组播视频流后, 通常将组播视频流存储至本地的緩冲 单元中, 因此, AP可以根据单位时间内本地緩冲单元中的数据量情况估算出 组播视频流的码率。  After receiving the multicast video stream, the AP usually stores the multicast video stream in the local buffer unit. Therefore, the AP can estimate the multicast video stream according to the amount of data in the local buffer unit per unit time. The code rate.
需要说明的是, AP可以只对组播视频流的网络层和应用层的数据进行解 析, 分析数据的重要性, 而不需要进行完全的视频解码操作。  It should be noted that the AP can only analyze the data of the network layer and the application layer of the multicast video stream, and analyze the importance of the data without performing a complete video decoding operation.
另一方面, AP还可以根据组播视频流的码率、 组播组内各站点的速率及 站点数量, 将组播组内的各站点分为至少两组。 具体的, AP可以根据各站点 的接收速率, 将接收速率接近的若干个站点分为一组, 在每个分组中以该组 各站点的最低接收速率作为向该组发送组播视频流数据包的发送速率。 AP可 以为各个组分配发送视频流的发送时间, AP向各个组发送视频流的发送时间 之和, 等于 AP接收组播视频流的时间。 AP可以在各个组的发送时间内, 以确 定的发送速率向该组内的各站点组播对应类型的数据包。 On the other hand, the AP may further divide each station in the multicast group into at least two groups according to the code rate of the multicast video stream, the rate of each station in the multicast group, and the number of stations. Specifically, the AP may group the several stations whose receiving rate is close according to the receiving rate of each station, and use the group in each group. The lowest reception rate of each station is used as the transmission rate for transmitting multicast video stream packets to the group. The AP can allocate the sending time of the sending video stream to each group, and the sum of the sending time of the video stream sent by the AP to each group is equal to the time when the AP receives the multicast video stream. The AP may multicast corresponding types of data packets to each site in the group at a determined transmission rate within the transmission time of each group.
其中, 接收速率较低的组称为低速组, 接收速率较高的组称为高速组, 对于低速组, AP可以只发送重要类的数据包; 而对于高速组, AP可以对该组 发送重要类数据包和次重要类数据包; 如果组播视频流还分为非重要类数据 包, 则 AP可以根据组播视频流的码率与高速组接收速率的关系确定是否要发 送非重要类数据包, 如果组播视频流的码率低于高速组中站点的接收速率, 则 AP可以将非重要类数据包也发送给高速组, 如果组播视频流的码率高于高 速组中站点的接收速率, 则 AP可以丟弃非重要类的数据包, 而只将重要类数 据包和次重要类数据包发送给高速组。  The group with the lower receiving rate is called the low-speed group, and the group with the higher receiving rate is called the high-speed group. For the low-speed group, the AP can only send the packets of the important class. For the high-speed group, the AP can send the important packets to the group. Class data packets and sub-important class data packets; if the multicast video stream is further divided into non-essential class data packets, the AP may determine whether to send non-essential data according to the relationship between the code rate of the multicast video stream and the high-speed group receiving rate. Packet, if the code rate of the multicast video stream is lower than the receiving rate of the station in the high speed group, the AP may also send the non-essential type data packet to the high speed group if the code rate of the multicast video stream is higher than that of the high speed group. At the receiving rate, the AP can discard packets of non-essential classes and send only important class packets and sub-important class packets to the high-speed group.
需要说明的是, AP在向组播组内各站点发送组播视频流数据包时, 是以 一定的发送速率将组播视频流数据包发送到组播组的共享信道内, 对于组播 组内的各站点而言, 接收速率高于 AP发送速率便能够接收 AP发送的数据包。 由于低速组的接收速率低于高速组, 因此, AP在低速组的发送时间内, 在组 播组的共享信道内发送的数据包既能够被低速组内的各站点接收到, 也能够 被高速组中的各站点接收到。 即, 高速组中的各站点在低速组的发送时间内, 也能够在组播组内的共享信道上接收到 AP发送的重要类的数据包, 因此, 在 高速组的发送时间内, AP可以只在组播组的共享信道上发送次重要类的数据 包以供高速组的各站点接收, 而不必在高速组的发送时间内再发送重要类的 数据包, 从而提高了组播组内信道资源的利用率, 减少 AP的数据发送量, 提 高组播效率。  It should be noted that when the AP sends a multicast video stream packet to each station in the multicast group, the AP sends the multicast video stream packet to the shared channel of the multicast group at a certain transmission rate. For each station in the network, the receiving rate is higher than the AP sending rate, and the data packet sent by the AP can be received. Since the receiving rate of the low-speed group is lower than that of the high-speed group, the data packets transmitted by the AP in the shared channel of the multicast group can be received by each station in the low-speed group or can be transmitted at a high speed during the transmission time of the low-speed group. Each site in the group was received. That is, each station in the high-speed group can receive the important type of data packets sent by the AP on the shared channel in the multicast group during the transmission time of the low-speed group. Therefore, during the transmission time of the high-speed group, the AP can The packets of the sub-important class are sent only on the shared channel of the multicast group for receiving by each station of the high-speed group, and the important class of data packets are not required to be sent within the transmission time of the high-speed group, thereby improving the channel in the multicast group. The utilization of resources reduces the amount of data sent by APs and improves multicast efficiency.
本发明实施例提供的视频组播方法, 在接收组播视频流的接入点对视频 的数据包分类, 对组播组内的站点分组及确定每个组的视频发送时间、 速率 和数据包类型, 从而在各组的发送时间内, 按照各组的发送速率在组播组的 共享信道上发送对应类型的数据包, 从而提高了组播组内站点资源利用率, 提高无线局域网的吞吐量。 The video multicast method provided by the embodiment of the present invention classifies a data packet of an access point at a receiving point that receives a multicast video stream, groups the stations in the multicast group, and determines a video transmission time, rate, and data packet of each group. Type, so in the transmission time of each group, according to the transmission rate of each group in the multicast group The corresponding type of data packet is sent on the shared channel, thereby improving the utilization of the site resources in the multicast group and improving the throughput of the wireless local area network.
图 3为本发明提供的视频组播方法又一个实施例的流程图, 如图 3所示, 本实施例中提供了无线局域网内的站点加入组播组至接收到视频流的过程, 本实施例中给出了 AP根据组播视频流的码率、 组播组内各站点的速率及站点 数量, 将组播组内的各站点分为至少两组的一种具体的实施方式, 该方法包 括:  FIG. 3 is a flowchart of still another embodiment of a video multicasting method according to the present invention. As shown in FIG. 3, in this embodiment, a process for a station in a wireless local area network to join a multicast group to receive a video stream is provided. The example provides a specific implementation manner in which the AP divides each site in the multicast group into at least two groups according to the code rate of the multicast video stream, the rate of each station in the multicast group, and the number of sites. Includes:
S201、 无线局域网内有站点需要加入一个组播组, 则向具有无线局域网 内具有路由功能的 AP发出 IGMP数据报。  S201. If a station in the WLAN needs to join a multicast group, the device sends an IGMP datagram to the AP that has the routing function in the WLAN.
S202、AP接收到 IGMP数据报后,在 AP本地创建和维护一个组播信息表。 其中, 该组播信息表中记录参与组播的站点、 组播地址及物理速率信息。 AP根据组播组内各站点申请的组播地址, 在互联网上搜索视频服务器所发出 的组播视频流 , 然后开始接收组播视频流。  After receiving the IGMP datagram, the AP creates and maintains a multicast information table locally in the AP. The multicast information table records the site, multicast address, and physical rate information of the participating multicast stations. The AP searches for the multicast video stream sent by the video server on the Internet according to the multicast address applied by each site in the multicast group, and then starts receiving the multicast video stream.
5203、 AP接收到组播视频流数据包, 将该组播视频流数据包存储至本 地緩冲单元中。  5203. The AP receives the multicast video stream data packet, and stores the multicast video stream data packet in the local buffer unit.
5204、 AP根据单位时间内本地緩冲单元中的数据量,估算该组播视频流 的码率。  S204: The AP estimates a code rate of the multicast video stream according to the amount of data in the local buffer unit in a unit time.
其中, AP通常会将组播视频流存储至本地的緩冲队列中, 因此, AP可以 根据单位时间内本地緩冲队列中的数据量情况估算出组播视频流的码率。  The AP usually stores the multicast video stream in the local buffer queue. Therefore, the AP can estimate the bit rate of the multicast video stream according to the amount of data in the local buffer queue per unit time.
如果组播视频流的码率低于设定码率, 则 AP可以以组播组内各站点的最 低接收速率在组播组的共享信道上发送组播视频流数据包, 这种情况下, AP 以组播组内各站点的最低速率组播该视频流, 便能够满足当前视频流带宽需 求, 因此, AP可以不再执行 S205之后的步骤。 如果组播视频流的码率大于等 于设定码率, 则 AP需要执行 S205之后的步骤。  If the code rate of the multicast video stream is lower than the set code rate, the AP may send the multicast video stream data packet on the shared channel of the multicast group at the lowest receiving rate of each station in the multicast group. In this case, The AP can multicast the video stream at the lowest rate of each site in the multicast group, so that the AP can meet the current video stream bandwidth requirement. Therefore, the AP can no longer perform the steps after S205. If the code rate of the multicast video stream is greater than the set code rate, the AP needs to perform the steps subsequent to S205.
S205、 AP根据接收的组播视频流数据包的重要性高低,将组播视频流数 据包分为至少两个数据包类型。 一个实施例中, AP可以将组播视频流数据包分为重要类的数据包类型和 次重要类的数据包类型, 其中, 重要类的数据包可以是保证组内各站点能够 播放视频所需的必要的基本数据, 即, 重要类的数据包需要向组播组内所有 站点发送;而次重要类的数据包可以是在保证各站点能够播放视频的基础上, 能够提高视频播放质量的一些扩展数据, 次重要类的数据包可以对组播组内 接收速度较高的一些站点发送, 而不必向组内所有的站点发送; 另一个实施 例中, AP还可以从组播视频流的数据包中识别出不重要的数据, 即 AP可以将 组播视频流数据包分为重要类的数据包类型、 次重要类的数据包类型和非重 要类的数据包类型, 当组播视频流的码率高于组播组内接收速率最高的站点 时, AP可以丟弃这些非重要类的数据包, 即, 不向组播组内任何站点发送非 重要类的数据包。 S205. The AP divides the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet. In an embodiment, the AP may divide the multicast video stream data packet into a packet type of an important class and a packet type of a sub-important class, where the data packets of the important class may be required for each site in the group to play video. The necessary basic data, that is, the important class of data packets need to be sent to all sites in the multicast group; and the less important class of data packets can be based on ensuring that each site can play video, and can improve the quality of video playback. Extended data, sub-important data packets can be sent to some stations in the multicast group with higher receiving speed, and do not need to be sent to all stations in the group; in another embodiment, the AP can also receive data from the multicast video stream. The packet identifies unimportant data, that is, the AP can classify the multicast video stream packet into an important class packet type, a sub-important class packet type, and a non-essential class packet type, when the multicast video stream is When the code rate is higher than the one with the highest receiving rate in the multicast group, the AP can discard these non-critical packets, that is, not send any non-destination to any station in the multicast group. Packet to the class.
需要说明的是, AP在接收到组播视频流后, 可以只对组播视频流的网络 层和应用层的数据进行解析, 分析数据的重要性, 而不需要进行完全的视频 解码操作。  It should be noted that after receiving the multicast video stream, the AP can parse only the data of the network layer and the application layer of the multicast video stream, and analyze the importance of the data without performing a complete video decoding operation.
S206、 AP根据组播视频流的码率、 组播组内各站点的速率及站点数量, 将组播组内的各站点分为至少两组,并确定向每个组发送视频流的发送时间、 发送速率以及和发送的数据包类型, 该发送的数据包类型为该至少两个数据 包类型中至少一种类型。  S206. The AP divides each site in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each site in the multicast group, and a number of sites, and determines a sending time of sending the video stream to each group. The sending rate and the type of the transmitted packet, the type of the transmitted packet being at least one of the at least two packet types.
作为一种较佳的实施方式, 本实施例给出了 AP将组播组内的各站点分为 至少两组的一种具体的实现方法:  As a preferred implementation manner, this embodiment provides a specific implementation method for an AP to divide each site in a multicast group into at least two groups:
设组播视频流的码率为 , AP接收组播视频流的接收时间为^组播组内 有 W个站点, AP将各站点按接收速率从低到高编号, 第 个站点的接收速率 为 , 第 个站点的视频流接收时间为 taThe rate of the multicast video stream is set. The receiving time of the AP receiving the multicast video stream is ^. There are W stations in the multicast group. The AP numbers each station from low to high according to the receiving rate. The receiving rate of the first station is The video stream reception time of the first station is t a .
定义组播组内第 个站点接收视频流的损失代价函数: La = Vt - Rata , 该损 失代价函数表示了组播组内第 个站点 "损失" 的视频数据。 Define the loss cost function of the first station in the multicast group to receive the video stream: L a = Vt - R a t a , the loss cost function represents the video data of the "loss" of the first station in the multicast group.
如果采用单播方式,则每个站点的视频流接收时间为 ta AP接收组播视频 流的接收时间为 与 t。的关系为: ta=t。 If the unicast mode is adopted, the video stream receiving time of each site is t a AP receiving multicast video. The receiving time of the stream is t. The relationship is: t a = t.
N N
那么组播组内各站点总的视频传输损失代价为: L = (Vt-RjJ。 如果组播组内每个站点都采用单播方式, 则将 ΑΡ接收组播视频流的接收 时间 分成了 W份, 每一份占用时间较短, 将导致组播视频流的传输损失代价 增大。 为减小视频损失代价, ΑΡ可以优化分配各站点的视频流发送时间, ΑΡ 可以将速率相差在第一设定范围内 (即, 速率接近的站点, 其中第一设定范 围可以根据需要预先设定) 的站点分为一组, 该组中的各个站点共享一段发 送时间, 这样会减少传输的拷贝数, 降低损失代价, 提高网络整体吞吐量。  Then the total video transmission loss cost of each station in the multicast group is: L = (Vt-RjJ. If each station in the multicast group adopts unicast mode, the receiving time of receiving the multicast video stream is divided into W. For each share, the shorter time will cause the transmission loss of the multicast video stream to increase. To reduce the video loss cost, you can optimize the video stream transmission time of each station. ΑΡ The rate difference can be the first. Sites within a set range (ie, sites with similar rates, where the first setting range can be preset according to needs) are grouped into groups. Each site in the group shares a transmission time, which reduces the number of copies transmitted. , reduce the cost of loss and increase the overall throughput of the network.
可以将组播组内接收速率相差在一定范围内 (例如: 第一设定范围内) 的 个站点分为一组, 将组播组内各站点分为 ρ组时( ρ>2 ), 组播组内各站 点接收组播视频流的视频数据量损失代价之和为:  The stations in the multicast group whose reception rate differs within a certain range (for example, within the first setting range) may be grouped into groups, and when the stations in the multicast group are divided into ρ groups (ρ>2), the group The sum of the cost loss of video data received by each station in the broadcast group for receiving the multicast video stream is:
L^Nx{Vt-Rxtx) +…… + N^Vt - ·) + NP{Vt - Rptp); L^N x {Vt-R x t x ) +... + N^Vt - ·) + N P {Vt - R p t p );
其中, 表示所述组播视频流的码率, t表示所述组播组内各组的发送时 间之和, 表示第 组内的站点数, 表示第 组的发送速率、 t,.表示第 组的 发送时间;  Wherein, the code rate of the multicast video stream is represented, t represents the sum of the transmission times of the groups in the multicast group, and represents the number of stations in the group, indicating the transmission rate of the group, t, indicating the group Delivery time;
可以遍历组播组的所有分组方式, 根据损失代价 £最小的分组方式将组 播组内的各站点分为至少两组。  All the grouping modes of the multicast group can be traversed, and each station in the multicast group is divided into at least two groups according to the grouping method in which the loss cost is the smallest.
其中, 可以将每组中各站点的最低接收速率确定为该组的发送速率, 以 使损失代价 最小的原则, 即使损失代价 达到最小值的原则, 对 L^N,{Vt-R^) +…… + N^Vt - ·) + NP{Vt - Rptp)中的 tP ······ t,.、 tp进行寻优计算 , 从而确定各组的发送时间。 对 tP …… t,、 tp进行寻优计算可以采用现有的各种 寻优算法, 而采用的具体算法并不构成对本发明的限制。 Wherein, the lowest reception rate of each station in each group can be determined as the transmission rate of the group, so as to minimize the loss cost, even if the loss cost reaches the minimum value, for L^N, {Vt-R^) + ...... + N^Vt - ·) + N P {Vt - R p t p ) t P ····· t,., t p perform optimization calculation to determine the transmission time of each group. For the optimization calculation of t P ... t, t p , various existing optimization algorithms can be used, and the specific algorithm adopted does not constitute a limitation of the present invention.
由于组播视频流的码率通常是变化的, 而且在移动网络中, 各站点的接 收速率也是变化的, 因此, AP可以根据本实施例提供的分组方式, 周期性地 对组播组内各站点进行分组。 Since the code rate of the multicast video stream is usually changed, and the receiving rate of each station is also changed in the mobile network, the AP may periodically according to the grouping manner provided in this embodiment. Group each site in a multicast group.
5207、 AP根据组播视频流数据包的分类结果, 以及根据向各个组发送视 频流的发送速率以及发送的数据包类型, 标记组播视频流数据包的数据包类 型和发送速率。  5207. The AP marks the data packet type and the sending rate of the multicast video stream data packet according to the classification result of the multicast video stream data packet, and according to the sending rate of the video stream sent to each group and the type of the transmitted data packet.
AP在标记组播视频流的数据包后, 可以在高速组或低速组的发送时间 内, 以标记的发送速率发送对应类型的数据包。  After marking the data packet of the multicast video stream, the AP may send the corresponding type of data packet at the marked sending rate in the sending time of the high speed group or the low speed group.
5208、 AP在发送时间内, 以对应的发送速率在所述组播组的共享信道上 发送对应类型的数据包。  S208: The AP sends a corresponding type of data packet on the shared channel of the multicast group at a corresponding sending rate during the sending time.
具体的, AP可以在低速组的发送时间内, 以低速组的发送速率, 在组播 组的共享信道上发送重要类的数据包; 在高速组的发送时间内, 以高速组的 发送速率, 在组播组的共享信道上发送重要类的和次重要类的数据包;  Specifically, the AP may send an important type of data packet on the shared channel of the multicast group in the transmission rate of the low-speed group during the transmission time of the low-speed group; in the transmission time of the high-speed group, the transmission rate of the high-speed group, Sending packets of important classes and sub-important classes on the shared channel of the multicast group;
进一步的, 为了提高站点接收的视频质量, AP在高速组的发送时间内, 以高速组的发送速率, 在组播组的共享信道上发送重要类的和次重要类的数 据包时, 可以根据组播视频流数据包的重要性高低, 优先发送重要类的数据 包, 再发送次重要类的数据包, 最后发送非重要类的数据包。  Further, in order to improve the quality of the video received by the station, the AP may send the data packets of the important class and the second most important class on the shared channel of the multicast group in the transmission time of the high-speed group during the transmission time of the high-speed group. Multicast video stream packets are of high importance. They send packets of important classes first, then packets of important classes, and finally packets of non-essential classes.
另外, 由于 AP在向组播组内各站点发送组播视频流数据包时, 是以一定 的发送速率将组播视频流数据包发送到组播组的共享信道内, 对于组播组内 的各站点而言,接收速率高于 AP发送速率便能够接收 AP发送的数据包。 由于 低速组的接收速率低于高速组, AP在低速组的发送时间内, 在组播组的共享 信道内发送的数据包既能够被低速组内的各站点接收到, 也能够被高速组中 的各站点接收到。 即, 高速组中的各站点在低速组的发送时间内, 也能够在 组播组内的共享信道上接收到 AP发送的重要类的数据包, 因此, 作为另一种 较佳的实施方式, 为了提高信道资源的利用效率, 避免相同数据包在空中的 重复传输, AP可以在低速组的发送时间内, 以低速组的发送速率, 在组播组 的共享信道上发送重要类的数据包, 而在高速组的发送时间内, AP可以以高 速组的发送速率, 在组播组的共享信道上发送只发送次重要类的数据包, 而 不必再发送重要类的数据包。 In addition, when the AP sends a multicast video stream packet to each station in the multicast group, the AP sends the multicast video stream packet to the shared channel of the multicast group at a certain transmission rate, for the multicast group. For each station, the receiving rate is higher than the AP sending rate and can receive the data packets sent by the AP. Since the receiving rate of the low-speed group is lower than the high-speed group, the data packets sent by the AP in the shared channel of the multicast group can be received by the stations in the low-speed group or in the high-speed group during the transmission time of the low-speed group. Each site received. That is, each station in the high-speed group can receive the important type of data packets sent by the AP on the shared channel in the multicast group during the transmission time of the low-speed group. Therefore, as another preferred embodiment, In order to improve the utilization efficiency of the channel resources and avoid the repeated transmission of the same data packet in the air, the AP can send important types of data packets on the shared channel of the multicast group at the transmission rate of the low-speed group during the transmission time of the low-speed group. In the transmission time of the high-speed group, the AP can send only the packets of the second important class on the shared channel of the multicast group at the transmission rate of the high-speed group, and It is no longer necessary to send packets of important classes.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施 例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体 ( Read-Only Memory, ROM )或随机存者 i己忆体( Random Access Memory, RAM )等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
图 4为本发明提供的接入点一个实施例的结构示意图, 如图 4所示, 该 接入点包括: 分类单元 11、 分组单元 12和组播单元 13;  4 is a schematic structural diagram of an embodiment of an access point according to the present invention. As shown in FIG. 4, the access point includes: a classification unit 11, a grouping unit 12, and a multicast unit 13;
其中, 分类单元 11 , 用于根据接收的组播视频流数据包的重要性高低, 将组播视频流数据包分为至少两个数据包类型;  The classifying unit 11 is configured to divide the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet;
分组单元 12, 用于根据组播视频流的码率、 组播组内各站点的速率及站 点数量, 将组播组内的各站点分为至少两组, 并确定向每个组发送视频流的 发送时间、 发送速率以及和发送的数据包类型, 该发送的数据包类型为该至 少两个数据包类型中至少一种类型;  The grouping unit 12 is configured to divide each station in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each station in the multicast group, and a number of stations, and determine to send a video stream to each group. The sending time, the sending rate, and the type of the transmitted packet, the type of the transmitted packet being at least one of the at least two packet types;
组播单元 13, 用于在发送时间内, 以对应的发送速率在组播组的共享信 道上发送对应类型的数据包。  The multicast unit 13 is configured to send a corresponding type of data packet on the shared channel of the multicast group at the corresponding transmission rate during the transmission time.
图 5为本发明提供的接入点又一个实施例的结构示意图, 如图 5所示, 该接入点包括: 分类单元 11、 分组单元 12和组播单元 13;  FIG. 5 is a schematic structural diagram of still another embodiment of an access point according to the present invention. As shown in FIG. 5, the access point includes: a classification unit 11, a grouping unit 12, and a multicast unit 13;
作为一种可行的实施方式, 上述的分组单元 12可以进一步包括: 计算模块 121 , 用于才艮据 = 1(^_^¾) + ······ + N; (Vt - ) + NP (Vt - Rptp) , 确定将组播组内接收速率相差在第一设定范围内的 N,个站点分为一组, 将组 播组内各站点分为 组时, 组播组内各站点接收组播视频流的视频数据量损 失代价之和 , 其中, 表示组播视频流的码率, t表示组播组内各组的发送 时间之和, 表示第 组内的站点数, 表示第 组的发送速率、 t,.表示第 组 的发送时间; 遍历模块 122,用于遍历组播组的所有分组方式,根据损失代价 最小的 分组方式将组播组内的各站点分为至少两组; As a possible implementation manner, the grouping unit 12 may further include: a calculation module 121, configured to use the data = 1 (^_^3⁄4) + ······· + N ; (Vt - ) + N P (Vt - R p t p ), determining N in which the reception rate in the multicast group differs within the first set range, and the stations are grouped into groups. When the stations in the multicast group are grouped into groups, the multicast is performed. The sum of the video data loss loss costs of the multicast video stream received by each station in the group, where is the code rate of the multicast video stream, t is the sum of the transmission times of each group in the multicast group, and the number of stations in the group is represented. , indicating the transmission rate of the group, t,. indicating the transmission time of the group; The traversing module 122 is configured to traverse all the grouping modes of the multicast group, and divide each station in the multicast group into at least two groups according to a grouping manner with a minimum loss cost;
确定模块 123,将每组中各站点的最低接收速率确定为该组的发送速率, 根据损失代价 £的最小值, 对 tP …… t,、 tp进行寻优计算, 以确定各组的发送 时间。 The determining module 123 determines the lowest receiving rate of each station in each group as the sending rate of the group, and performs optimization calculation on t P ... t, t p according to the minimum value of the loss cost, to determine the group Send time.
其中, 组播视频流数据包至少分为重要类的数据包类型和次重要类的数 据包类型, 组播组内的各站点分成的各个组中, 发送速率大于等于第二设定 范围的组为高速组, 发送速率小于第二设定范围的组为低速组, 则确定模块 123还可以用于:  The multicast video stream data packet is at least divided into an important type of packet type and a sub-important type of the packet type, and each group in the multicast group is divided into groups in which the transmission rate is greater than or equal to the second set range. For the high speed group, the group whose sending rate is less than the second setting range is the low speed group, and the determining module 123 can also be used for:
确定向低速组发送的数据包类型包括重要类, 向高速组发送的数据包类 型包括重要类和次重要类。  It is determined that the type of packet sent to the low-speed group includes important classes, and the types of packets sent to the high-speed group include important classes and sub-important classes.
进一步的, 组播单元 13可以具体用于: 在低速组的发送时间内, 以低速 组的发送速率, 在组播组的共享信道上发送重要类的数据包, 在高速组的发 送时间内, 以高速组的发送速率, 在组播组的共享信道上发送重要类的和次 重要类的数据包;  Further, the multicast unit 13 may be specifically configured to: send the important type of data packet on the shared channel of the multicast group at a transmission rate of the low-speed group during the transmission time of the low-speed group, during the transmission time of the high-speed group, Sending packets of important classes and sub-important classes on the shared channel of the multicast group at the transmission rate of the high-speed group;
或者, 在低速组的发送时间内, 以低速组的发送速率, 在组播组的共享 信道上发送重要类的数据包, 在高速组的发送时间内, 以高速组的发送速率, 在组播组的共享信道上发送次重要类的数据包。  Or, in the transmission time of the low-speed group, the important type of data packet is transmitted on the shared channel of the multicast group at the transmission rate of the low-speed group, and the transmission rate of the high-speed group is in the transmission rate of the high-speed group. The packets of the next important class are sent on the shared channel of the group.
作为一种可行的实施方式, 组播视频流数据包还分为非重要类的数据包 类型, 若高速组的发送速率大于等于组播视频码率, 则组播单元 13可以具体 用于: 在高速组的发送时间内, 在组播组的共享信道上发送的数据包类型包 括重要类、 次重要类和非重要类; 若高速组的发送速率小于组播视频流的码 率, 则组播单元 13可以具体用于: 在高速组的发送时间内, 在组播组的共享 信道上发送的数据包类型包括重要类和次重要类。  As a possible implementation manner, the multicast video stream data packet is further classified into a non-critical type of data packet type. If the transmission rate of the high speed group is greater than or equal to the multicast video code rate, the multicast unit 13 may be specifically configured to: During the transmission time of the high-speed group, the types of data packets sent on the shared channel of the multicast group include important classes, sub-important classes, and non-critical classes. If the transmission rate of the high-speed group is smaller than the code rate of the multicast video stream, the multicast The unit 13 may be specifically configured to: in the transmission time of the high-speed group, the type of the data packet sent on the shared channel of the multicast group includes an important class and a second important class.
进一步的, 本实施例提供的接入点还可以包括:  Further, the access point provided in this embodiment may further include:
标记单元 14, 用于根据组播视频流数据包的分类结果, 以及根据向各个 组发送视频流的发送速率以及发送的数据包类型, 标记组播视频流数据包的 数据包类型和发送速率。 a marking unit 14, configured to classify results according to the multicast video stream data packet, and according to each The sending rate of the sent video stream and the type of the transmitted packet, marking the packet type and sending rate of the multicast video stream packet.
其中,分组单元 12可以用于间隔设定时间将组播组内的各站点分为至少 两组。  The grouping unit 12 can be used to divide the stations in the multicast group into at least two groups according to the interval setting time.
进一步的, 本实施例提供的接入点还可以包括:  Further, the access point provided in this embodiment may further include:
緩冲单元 15, 用于存储接收的组播视频流数据包;  The buffer unit 15 is configured to store the received multicast video stream data packet;
估算单元 16, 用于根据单位时间内緩冲单元中的数据量估算组播视频流 的码率。  The estimating unit 16 is configured to estimate the code rate of the multicast video stream according to the amount of data in the buffer unit per unit time.
进一步的, 组播单元 13还可以用于: 若视频流的码率低于设定码率, 则 以组播组内各站点的最低接收速率在组播组的共享信道上发送组播视频流数 据包。  Further, the multicast unit 13 may be further configured to: if the code rate of the video stream is lower than the set code rate, send the multicast video stream on the shared channel of the multicast group at the lowest receiving rate of each station in the multicast group. data pack.
本发明实施例提供的接入点, 与本发明实施例提供的视频组播方法相对 应, 为实现视频组播方法的功能设备, 其具体结构和功能可参见方法实施例, 不再赘述。  The access point provided by the embodiment of the present invention is related to the video multicasting method provided by the embodiment of the present invention. To implement the function and the function of the video multicasting method, refer to the method embodiment, and no further details are provided.
本发明实施例提供的接入点, 在接收组播视频流的接入点对视频的数据 包分类, 对组播组内的站点分组及确定每个组的视频发送时间、 速率和数据 包类型, 从而在各组的发送时间内, 按照各组的发送速率在组播组的共享信 道上发送对应类型的数据包, 从而提高了组播组内站点资源利用率, 增大无 线局域网的吞吐量。  The access point provided by the embodiment of the present invention classifies the data packets of the video at the access point that receives the multicast video stream, groups the sites in the multicast group, and determines the video transmission time, rate, and packet type of each group. Therefore, in the transmission time of each group, the corresponding type of data packet is transmitted on the shared channel of the multicast group according to the transmission rate of each group, thereby improving the utilization of the site resources in the multicast group and increasing the throughput of the wireless local area network. .
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要求 Rights request
1、 一种视频组播方法, 其特征在于, 包括:  A video multicast method, comprising:
根据接收的组播视频流数据包的重要性高低, 将所述组播视频流数据包 分为至少两个数据包类型;  And dividing the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet;
根据所述组播视频流的码率、 组播组内各站点的速率及站点数量, 将所 述组播组内的各站点分为至少两组,并确定向每个组发送视频流的发送时间、 发送速率以及和发送的数据包类型, 所述发送的数据包类型为所述至少两个 数据包类型中至少一种类型;  Determining, according to the code rate of the multicast video stream, the rate of each station in the multicast group, and the number of stations, at least two groups in the multicast group, and determining to send the video stream to each group. a time, a transmission rate, and a type of the transmitted packet, the type of the transmitted packet being at least one of the at least two packet types;
在所述发送时间内, 以对应的发送速率在所述组播组的共享信道上发送 对应类型的数据包。  During the transmission time, a corresponding type of data packet is transmitted on the shared channel of the multicast group at a corresponding transmission rate.
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述组播视频流 的码率、 组播组内各站点的速率及站点数量, 将所述组播组内的各站点分为 至少两组, 并确定向每个组发送视频流的发送时间、 发送速率, 具体为: 才艮据 = ( — + · ·· · ·· + Ni (Vt - Riti) + NP(Vt - Rptp) , 确定将所述组播组内 接收速率相差在第一设定范围内的 N,个站点分为一组, 将所述组播组内各站 点分为 ρ组时, 所述组播组内各站点接收所述组播视频流的视频数据量损失 代价之和 , 其中, 表示所述组播视频流的码率, t表示所述组播组内各组 的发送时间之和, N,表示第 组内的站点数, 表示第 组的发送速率、 t,表示 第 组的发送时间; The method according to claim 1, wherein the sites in the multicast group are according to a code rate of the multicast video stream, a rate of each station in the multicast group, and a number of stations. Divided into at least two groups, and determines the sending time and sending rate of the video stream sent to each group, specifically: 艮 = = ( - + · · · · · · + N i (Vt - R i t i ) + N P (Vt - R p t p ) , determining that the receiving rates in the multicast group are different in the first set range, and the stations are grouped into groups, and the stations in the multicast group are divided into In the ρ group, the stations in the multicast group receive the sum of the video data loss loss costs of the multicast video stream, where the code rate of the multicast video stream is represented, and t represents each of the multicast groups. The sum of the transmission times of the group, N, indicates the number of stations in the group, indicating the transmission rate of the group, t, indicating the transmission time of the group;
遍历所述组播组的所有分组方式, 根据所述损失代价 £最小的分组方式 将所述组播组内的各站点分为至少两组;  Traversing all the grouping manners of the multicast group, and classifying each station in the multicast group into at least two groups according to the grouping mode in which the loss cost is the smallest;
将每组中各站点的最低接收速率确定为该组的发送速率, 根据所述损失 代价 £的最小值, 对所述 tP …… t,、 tp进行寻优计算, 以确定各组的发送时间。 Determining the lowest reception rate of each station in each group as the transmission rate of the group, and performing optimization calculation on the t P ... t, t p according to the minimum value of the loss cost, to determine each group Send time.
3、根据权利要求 1或 2所述的方法, 其特征在于, 所述组播视频流数据 包至少分为重要类的数据包类型和次重要类的数据包类型, 所述组播组内的 各站点分成的各个组中, 发送速率大于等于第二设定范围的组为高速组, 发 送速率小于所述第二设定范围的组为低速组, 则向所述低速组发送的所述数 据包类型包括所述重要类, 向所述高速组发送的所述数据包类型包括所述重 要类和所述次重要类。 The method according to claim 1 or 2, wherein the multicast video stream data packet is at least divided into a packet type of an important class and a packet type of a sub-important class, and the packet in the multicast group In each group divided by each station, the group whose transmission rate is greater than or equal to the second setting range is a high speed group, and the group whose transmission rate is smaller than the second setting range is a low speed group, and the data sent to the low speed group is The packet type includes the important class, and the packet type transmitted to the high speed group includes the important class and the secondary important class.
4、 根据权利要求 3所述的方法, 其特征在于, 所述在所述发送时间内, 以对应的发送速率在所述组播组的共享信道上发送对应类型的数据包, 具体 为:  The method according to claim 3, wherein, in the sending time, the corresponding type of data packet is sent on the shared channel of the multicast group at a corresponding sending rate, specifically:
在所述低速组的发送时间内, 以所述低速组的发送速率, 在所述组播组 的共享信道上发送所述重要类的数据包, 在所述高速组的发送时间内, 以所 述高速组的发送速率, 在所述组播组的共享信道上发送所述重要类的和所述 次重要类的数据包;  Sending, in the transmission time of the low-speed group, the data packet of the important class on the shared channel of the multicast group at a transmission rate of the low-speed group, during a transmission time of the high-speed group, Transmitting the transmission rate of the high-speed group, and transmitting the data packets of the important class and the sub-important class on the shared channel of the multicast group;
或者, 在所述低速组的发送时间内, 以所述低速组的发送速率, 在所述 组播组的共享信道上发送所述重要类的数据包,在所述高速组的发送时间内, 以所述高速组的发送速率, 在所述组播组的共享信道上发送所述次重要类的 数据包。  Or transmitting, in the transmission time of the low-speed group, the data packet of the important class on a shared channel of the multicast group at a sending rate of the low-speed group, during a sending time of the high-speed group, Transmitting the sub-critical class of data packets on the shared channel of the multicast group at a transmission rate of the high-speed group.
5、 根据权利要求 4所述的方法, 其特征在于, 所述组播视频流数据包还 分为非重要类的数据包类型, 若所述高速组的发送速率大于等于所述组播视 频码率, 则在所述高速组的发送时间内, 在所述组播组的共享信道上发送的 所述数据包类型包括所述重要类、 所述次重要类和所述非重要类; 若所述高 速组的发送速率小于所述组播视频流的码率,则在所述高速组的发送时间内, 在所述组播组的共享信道上发送的所述数据包类型包括所述重要类和所述次 重要类。  The method according to claim 4, wherein the multicast video stream data packet is further classified into a non-critical class of data packet type, if the transmission rate of the high speed group is greater than or equal to the multicast video code. Rate, the data packet type sent on the shared channel of the multicast group includes the important class, the secondary important class, and the non-essential class during a transmission time of the high speed group; If the transmission rate of the high speed group is smaller than the code rate of the multicast video stream, the data packet type sent on the shared channel of the multicast group includes the important class during the transmission time of the high speed group. And the second important class.
6、 根据权利要求 1-5任一项所述的方法, 其特征在于, 所述确定向每个 组发送视频流的发送时间、 发送速率以及和发送的所述数据包类型之后, 还 包括:  The method according to any one of claims 1-5, wherein, after determining the sending time, the sending rate, and the type of the data packet to be sent to each group, the method further includes:
根据所述组播视频流数据包的分类结果, 以及根据向各个组发送视频流 的发送速率以及发送的所述数据包类型, 标记所述组播视频流数据包的数据 包类型和发送速率。 According to the classification result of the multicast video stream data packet, and according to the video stream sent to each group The transmission rate and the type of the packet sent, marking the packet type and transmission rate of the multicast video stream packet.
7、 根据权利要求 1 -5任一项所述的方法, 其特征在于, 间隔设定时间将 所述组播组内的各站点分为至少两组。  The method according to any one of claims 1 to 5, characterized in that the interval setting time divides each station in the multicast group into at least two groups.
8、 根据权利要求 1 -5任一项所述的方法, 其特征在于, 所述根据接收的 组播视频流数据包的重要性高低, 将所述组播视频流数据包分为至少两个数 据包类型之前, 还包括:  The method according to any one of claims 1 to 5, wherein the multicast video stream data packet is divided into at least two according to the importance of the received multicast video stream data packet. Before the packet type, it also includes:
将所述接收的组播视频流数据包存储至本地緩冲单元中;  And storing the received multicast video stream data packet into a local buffer unit;
根据单位时间内所述緩冲单元中的数据量估算所述组播视频流的码率。  The code rate of the multicast video stream is estimated according to the amount of data in the buffer unit per unit time.
9、 根据权利要求 8所述的方法, 其特征在于, 所述根据单位时间内所述 緩冲队列中的数据量估算所述视频流的码率之后, 还包括: The method according to claim 8, wherein after the estimating the code rate of the video stream according to the amount of data in the buffer queue per unit time, the method further includes:
若所述组播视频流的码率低于设定码率, 则以所述组播组内各站点的最 低接收速率在所述组播组的共享信道上发送所述组播视频流数据包。  And if the code rate of the multicast video stream is lower than a set code rate, sending the multicast video stream data packet on a shared channel of the multicast group at a lowest receiving rate of each station in the multicast group. .
10、 一种接入点, 其特征在于, 包括:  10. An access point, comprising:
分类单元, 用于根据接收的组播视频流数据包的重要性高低, 将所述组 播视频流数据包分为至少两个数据包类型;  a classifying unit, configured to divide the multicast video stream data packet into at least two data packet types according to the importance of the received multicast video stream data packet;
分组单元, 用于根据所述组播视频流的码率、 组播组内各站点的速率及 站点数量, 将所述组播组内的各站点分为至少两组, 并确定向每个组发送视 频流的发送时间、 发送速率以及和发送的数据包类型, 所述发送的数据包类 型为所述至少两个数据包类型中至少一种类型;  a grouping unit, configured to divide each site in the multicast group into at least two groups according to a code rate of the multicast video stream, a rate of each station in the multicast group, and a number of sites, and determine to each group Transmitting a transmission time of the video stream, a sending rate, and a type of the transmitted data packet, where the transmitted data packet type is at least one of the at least two data packet types;
组播单元, 用于在所述发送时间内, 以对应的发送速率在所述组播组的 共享信道上发送对应类型的数据包。  The multicast unit is configured to send, according to the sending time, a data packet of a corresponding type on the shared channel of the multicast group in the sending time.
11、 根据权利要求 10所述的接入点, 其特征在于, 所述分组单元包括: 计算模块, 用于根据 L = N (Vt _ R^) + ······ + Nt(Vt - .) + NP(Vt - Rptp) , 确定 将所述组播组内接收速率相差在第一设定范围内的 N,个站点分为一组, 将所 述组播组内各站点分为 组时, 所述组播组内各站点接收所述组播视频流的 视频数据量损失代价之和 其中, 表示所述组播视频流的码率, t表示所 述组播组内各组的发送时间之和, 表示第 组内的站点数, 表示第 组的 发送速率、 t,表示第 组的发送时间; The access point according to claim 10, wherein the grouping unit comprises: a calculating module, configured to: according to L = N (Vt _ R^) + ······· + N t (Vt - .) + N P (Vt - R p t p ), determining that the reception rates in the multicast group differ by N in the first set range, and the stations are grouped into groups, and the multicast groups are When each station is divided into groups, each station in the multicast group receives the multicast video stream. The sum of the video data loss cost, wherein the code rate of the multicast video stream is represented, t represents the sum of the transmission times of the groups in the multicast group, and represents the number of stations in the group, indicating the transmission rate of the group , t, indicating the transmission time of the first group;
遍历模块,用于遍历所述组播组的所有分组方式,根据所述损失代价 最 小的分组方式将所述组播组内的各站点分为至少两组;  a traversing module, configured to traverse all the grouping manners of the multicast group, and divide each station in the multicast group into at least two groups according to the grouping method with the least loss cost;
确定模块, 将每组中各站点的最低接收速率确定为该组的发送速率, 根 据所述损失代价 的最小值, 对所述 tP ...... t,、 tp进行寻优计算, 以确定各组 的发送时间。 Determining a module, determining a minimum receiving rate of each station in each group as a sending rate of the group, and performing optimization calculation on the t P ... t, t p according to a minimum value of the loss cost , to determine the sending time of each group.
12、根据权利要求 11所述的接入点, 其特征在于, 所述组播视频流数据 包至少分为重要类的数据包类型和次重要类的数据包类型, 所述组播组内的 各站点分成的各个组中, 发送速率大于等于第二设定范围的组为高速组, 发 送速率小于所述第二设定范围的组为低速组, 则所述确定模块还用于: 确定 向所述低速组发送的所述数据包类型包括所述重要类, 向所述高速组发送的 所述数据包类型包括所述重要类和所述次重要类。  The access point according to claim 11, wherein the multicast video stream data packet is at least divided into an important type of data packet type and a sub-important data packet type, and the multicast group is in the multicast group. In each group divided by each station, the group whose transmission rate is greater than or equal to the second setting range is a high speed group, and the group whose transmission rate is smaller than the second setting range is a low speed group, the determining module is further configured to: determine The data packet type sent by the low speed group includes the important class, and the data packet type sent to the high speed group includes the important class and the secondary important class.
13、 根据权利要求 12 所述的接入点, 其特征在于, 所述组播单元具体 用于:  The access point according to claim 12, wherein the multicast unit is specifically configured to:
在所述低速组的发送时间内, 以所述低速组的发送速率, 在所述组播组 的共享信道上发送所述重要类的数据包, 在所述高速组的发送时间内, 以所 述高速组的发送速率, 在所述组播组的共享信道上发送所述重要类的和所述 次重要类的数据包;  Sending, in the transmission time of the low-speed group, the data packet of the important class on the shared channel of the multicast group at a transmission rate of the low-speed group, during a transmission time of the high-speed group, Transmitting the transmission rate of the high-speed group, and transmitting the data packets of the important class and the sub-important class on the shared channel of the multicast group;
或者, 在所述低速组的发送时间内, 以所述低速组的发送速率, 在所述 组播组的共享信道上发送所述重要类的数据包,在所述高速组的发送时间内, 以所述高速组的发送速率, 在所述组播组的共享信道上发送所述次重要类的 数据包。  Or transmitting, in the transmission time of the low-speed group, the data packet of the important class on a shared channel of the multicast group at a sending rate of the low-speed group, during a sending time of the high-speed group, Transmitting the sub-critical class of data packets on the shared channel of the multicast group at a transmission rate of the high-speed group.
14、 根据权利要求 13 所述的接入点, 其特征在于, 组播视频流数据包 还分为非重要类的数据包类型, 若所述高速组的发送速率大于等于所述组播 视频码率, 则所述组播单元具体用于: 在所述高速组的发送时间内, 在所述 组播组的共享信道上发送的所述数据包类型包括所述重要类、 所述次重要类 和所述非重要类; The access point according to claim 13, wherein the multicast video stream data packet is further classified into a non-critical type of data packet, if the high-speed group has a transmission rate greater than or equal to the multicast group. The video code rate, the multicast unit is specifically configured to: in the sending time of the high speed group, the data packet type sent on the shared channel of the multicast group includes the important class, the time Important classes and said non-essential classes;
若所述高速组的发送速率小于所述组播视频流的码率, 则所述组播单元 具体用于: 在所述高速组的发送时间内, 在所述组播组的共享信道上发送的 所述数据包类型包括所述重要类和所述次重要类。  If the transmission rate of the high-speed group is smaller than the code rate of the multicast video stream, the multicast unit is specifically configured to: send, on a shared channel of the multicast group, in a sending time of the high-speed group The packet type includes the important class and the less important class.
15、 根据权利要求 10-14任一项所述的接入点, 其特征在于, 还包括: 标记单元, 用于根据所述组播视频流数据包的分类结果, 以及根据向各 个组发送视频流的发送速率以及发送的所述数据包类型, 标记所述组播视频 流数据包的数据包类型和发送速率。  The access point according to any one of claims 10 to 14, further comprising: a marking unit, configured to send a video according to the classification result of the multicast video stream data packet, and according to each group The transmission rate of the stream and the type of the packet transmitted, marking the packet type and transmission rate of the multicast video stream packet.
16、 根据权利要求 10-14任一项所述的接入点, 其特征在于, 所述分组 单元用于间隔设定时间将所述组播组内的各站点分为至少两组。  The access point according to any one of claims 10 to 14, wherein the grouping unit is configured to divide each station in the multicast group into at least two groups according to an interval setting time.
17、 根据权利要求 10-14任一项所述的接入点, 其特征在于, 还包括: 緩冲单元, 用于存储所述接收的组播视频流数据包;  The access point according to any one of claims 10 to 14, further comprising: a buffer unit, configured to store the received multicast video stream data packet;
估算单元, 用于根据单位时间内所述緩冲单元中的数据量估算所述组播 视频流的码率。  And an estimating unit, configured to estimate a code rate of the multicast video stream according to an amount of data in the buffer unit per unit time.
18、 根据权利要求 17 所述的接入点, 其特征在于, 所述组播单元还用 于: 若所述组播视频流的码率低于设定码率, 则以所述组播组内各站点的最 低接收速率在所述组播组的共享信道上发送所述组播视频流数据包。  The access point according to claim 17, wherein the multicast unit is further configured to: if the code rate of the multicast video stream is lower than a set code rate, use the multicast group The lowest receiving rate of each station within the multicast group sends the multicast video stream data packet on the shared channel of the multicast group.
PCT/CN2011/078347 2011-08-12 2011-08-12 Video multicast method and device WO2012159376A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/078347 WO2012159376A1 (en) 2011-08-12 2011-08-12 Video multicast method and device
CN201180001545.9A CN103053183B (en) 2011-08-12 2011-08-12 video multicast method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/078347 WO2012159376A1 (en) 2011-08-12 2011-08-12 Video multicast method and device

Publications (1)

Publication Number Publication Date
WO2012159376A1 true WO2012159376A1 (en) 2012-11-29

Family

ID=47216594

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078347 WO2012159376A1 (en) 2011-08-12 2011-08-12 Video multicast method and device

Country Status (2)

Country Link
CN (1) CN103053183B (en)
WO (1) WO2012159376A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019153932A1 (en) * 2018-02-09 2019-08-15 华为技术有限公司 Data processing method, server, and data collection device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728677A (en) * 2004-07-28 2006-02-01 国家数字交换系统工程技术研究中心 Method and system for carrying video stream media through network in multiple velocities
CN101438533A (en) * 2006-05-15 2009-05-20 艾利森电话股份有限公司 Wireless multicast for layered medium
CN101521591A (en) * 2009-04-17 2009-09-02 杭州华三通信技术有限公司 Multicast realization method and device of shared network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007116703A1 (en) * 2006-03-28 2007-10-18 Ntt Docomo, Inc. Central node, base station, mobile station, and data transmission method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728677A (en) * 2004-07-28 2006-02-01 国家数字交换系统工程技术研究中心 Method and system for carrying video stream media through network in multiple velocities
CN101438533A (en) * 2006-05-15 2009-05-20 艾利森电话股份有限公司 Wireless multicast for layered medium
CN101521591A (en) * 2009-04-17 2009-09-02 杭州华三通信技术有限公司 Multicast realization method and device of shared network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIE, SHIYUN ET AL.: "Study on the Multicast Transmission Scheme for Video Streaming Based on WLAN", COMMUNICATION & INFORMATION TECHNOLOGY, vol. 2011, no. 2, March 2011 (2011-03-01), pages 35 - 37 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019153932A1 (en) * 2018-02-09 2019-08-15 华为技术有限公司 Data processing method, server, and data collection device
US11936930B2 (en) 2018-02-09 2024-03-19 Huawei Technologies Co., Ltd. Data processing method, server, and data collection device

Also Published As

Publication number Publication date
CN103053183A (en) 2013-04-17
CN103053183B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CA2558459C (en) Optimizing the delivery of low-latency data for constantly active stations in virtual lans
US8265076B2 (en) Centralized wireless QoS architecture
WO2018086076A1 (en) Data transmission method and apparatus
US8879458B2 (en) Transmission in a network with active and sleeping clients
WO2011137802A1 (en) Method, equipment and system for scheduling data streams
CN113726671B (en) Network congestion control method and related products
CN106330742B (en) Flow control method and network controller
WO2018121535A1 (en) Load balance processing method and apparatus
WO2020103855A1 (en) Method and apparatus for determining forwarding port in information centeric network
WO2021147354A1 (en) Service level configuration method and device
EP2652919B1 (en) Method for group-based multicast with non-uniform receivers
WO2018082597A1 (en) Congestion control method and device, and base station
Kim et al. Optimal distribution tree for internet streaming media
EP3297210B1 (en) Method and apparatus for setting packet transmission mode
CN101808037A (en) Method and device for traffic management in switch network
JP2006345339A (en) Node device constituting ring network and data frame control method
WO2012159376A1 (en) Video multicast method and device
US9148259B2 (en) Method and apparatus for improved multicast service using negotiated feedback
CN109792405B (en) Method and apparatus for shared buffer allocation in a transmission node
WO2014101733A1 (en) Message processing method and device
JP6886857B2 (en) Communication method, server and wireless distribution system
Hsu et al. Enhanced pcf protocols for real-time multimedia services over 802.11 wireless networks
KR20130106531A (en) Method and apparatus for transmitting mulimedia data and method for receiving the mulimedia data
WO2023143255A1 (en) Communication method and apparatus
Mahmud Simulation Study Comparison of Throughput Performance between UDP and TCP

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001545.9

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11866051

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11866051

Country of ref document: EP

Kind code of ref document: A1