Communication method and communication apparatus
By including port information in the data packet to indicate the transmission priority of the video frame, the problem of being unable to identify the importance of the video frame in the existing technology is solved, and the quality of multimedia service transmission is improved.
Patent Information
- Application Number
- PCT/CN2024/080238
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-10
- Filing Date
- 2024-03-06
- Publication Date
- 2024-09-19
AI Technical Summary
The bottom layer of the existing protocol layer cannot identify the importance of video frames, resulting in the inability to provide different service quality assurance mechanisms for video frames of different importance, affecting the transmission quality of multimedia services.
By including port information in the transport layer header of the data packet, the transmission priority of the network abstraction layer unit is indicated, so that the bottom layer can make communication decisions based on this information and provide different service quality guarantees.
It realizes different service quality guarantees for video frames of different importance, and improves the transmission quality of multimedia services.
Smart Images

Figure CN2024080238_19092024_PF_FP_ABST
Abstract
Description
Communication method and communication device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 10, 2023, with application number 202310267143.8 and invention name “A communication method and communication device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and more particularly, to a communication method and a communication device. Background Art
[0003] With the development of information technology, people are placing increasingly higher demands on multimedia communications. Video is a crucial component of multimedia communication data. It offers a range of advantages, including accuracy, real-time, intuitiveness, concreteness, and vividness, enriching the user's visual experience. However, video processing and transmission technologies significantly impact the performance of multimedia communications.
[0004] Before transmitting, the video frame will be processed by various layers at the sending end, including: video coding layer (VCL), network abstraction layer (NAL), transport layer (Transport Layer), Internet Protocol (IP) layer, medium access control (MAC) layer and physical layer.
[0005] Currently, the bottom layer of the protocol layer cannot identify the importance of frames from the upper layer, making it impossible for the bottom layer to provide different service quality assurance mechanisms for video frames of different importance, affecting the transmission quality of multimedia services.
[0006] Summary of the Invention
[0007] The present application provides a communication method and a communication device, which can provide different service quality assurance mechanisms for video frames of different importance, thereby improving the transmission quality of multimedia services.
[0008] In a first aspect, a communication method is provided, which can be performed by a first device, wherein the first device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0009] The method comprises: generating a data packet, the data packet comprising port information, the port information being used to indicate the transmission priority of a network abstraction layer unit (NALU) in the data packet, the port information being carried in a frame header of a transport layer of the data packet; and sending the data packet.
[0010] Based on the above scheme, the sender can indicate the transmission priority of NALU based on the port information, so that the underlying layer (such as the Internet protocol (IP) layer and the media access control (MAC) layer) can know the transmission priority of NALU according to the port information to make better communication decisions.
[0011] For example, the bottom layer may provide different quality of service guarantees for services of different priorities, thereby improving the transmission quality of multimedia services.
[0012] In combination with the first aspect, in some implementations of the first aspect, the data packet further includes a service identifier, and the service identifier corresponds to the port information.
[0013] Based on the above solution, NALUs with different transmission priorities are mapped to different service identifiers based on port information, so that the MAC layer can identify NALUs with different transmission priorities based on service identifiers, which is simple and efficient.
[0014] Optionally, the service identifier is obtained by mapping the port information according to the first frame classifier.
[0015] Exemplarily, the first frame classifier is defined according to at least one parameter, the at least one parameter comprising port information.
[0016] It should be understood that the at least one parameter may also include other parameters such as a source Internet protocol (IP) address, a destination IP address, and a differentiated services code point (DSCP) value.
[0017] In combination with the first aspect, in some implementations of the first aspect, the data packet further includes a DSCP value, and the DSCP value corresponds to the port information.
[0018] In combination with the first aspect, in some implementations of the first aspect, the transmission priority is at least one of the following: network abstraction layer reference indicator (NRI) information and NRI extension information.
[0019] In combination with the first aspect, in some implementations of the first aspect, the protocol adopted by the transport layer is the Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP).
[0020] In combination with the first aspect, in some implementations of the first aspect, sending the data packet includes: sending the data packet according to a transmission priority.
[0021] Exemplarily, sending a data packet includes at least one of the following: carrying the data packet on a corresponding physical layer data unit according to the size of the transmission priority; and adopting a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0022] On the second aspect, a communication method is provided, which can be executed by a second device, wherein the second device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0023] The method comprises: receiving a data packet, the data packet comprising port information, the port information being used to indicate the transmission priority of a NALU in the data packet, the port information being carried in a frame header of a transport layer of the data packet; and sending the data packet.
[0024] In combination with the second aspect, in some implementations of the second aspect, the data packet further includes a service identifier, and the service identifier corresponds to the port information.
[0025] Optionally, the service identifier is obtained by mapping the port information according to the first frame classifier.
[0026] Exemplarily, the first frame classifier is defined according to at least one parameter, the at least one parameter comprising port information.
[0027] It should be understood that the at least one parameter may also include other parameters such as source IP address, destination IP address, DSCP value, etc.
[0028] In combination with the second aspect, in some implementations of the second aspect, the data packet further includes a DSCP value, and the DSCP value corresponds to the port information.
[0029] In combination with the second aspect, in some implementations of the second aspect, the transmission priority is at least one of the following: NRI information, NRI extended information.
[0030] In combination with the second aspect, in some implementations of the second aspect, the protocol used by the transport layer is TCP or UDP.
[0031] In combination with the second aspect, in some implementations of the second aspect, sending the data packet includes: sending the data packet according to a transmission priority.
[0032] Exemplarily, sending a data packet includes at least one of the following: carrying the data packet on a corresponding physical layer data unit according to the size of the transmission priority; and adopting a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0033] It should be understood that the beneficial effects of the above-mentioned second aspect and its various implementations can refer to the first aspect and its various implementations.
[0034] On the third aspect, a communication method is provided, which can be executed by a first device, wherein the first device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0035] The method comprises: generating a data packet, the data packet comprising NRI information, the NRI information being used to indicate the transmission priority of a NALU in the data packet; and sending the data packet at a MAC layer according to the transmission priority.
[0036] Based on the above solution, the bottom layer (such as the MAC layer) of the sending end can identify the NRI and obtain the transmission priority of the NALU based on the NRI information, so as to make better communication decisions.
[0037] For example, the bottom layer may provide different quality of service guarantees for services of different priorities, thereby improving the transmission quality of multimedia services.
[0038] In combination with the third aspect, in certain implementations of the third aspect, the data packet further includes a service identifier, and the service identifier corresponds to the NRI information.
[0039] In combination with the third aspect, in certain implementations of the third aspect, the service identifier is obtained by mapping the NRI information according to a second frame classifier.
[0040] Exemplarily, the second frame classifier is defined according to at least one parameter, and the at least one parameter includes the NRI information.
[0041] Optionally, the at least one parameter may also include parameters such as source IP address, destination IP address, source port number, destination port number, DSCP value, etc.
[0042] In combination with the third aspect, in some implementations of the third aspect, sending the data packet includes: sending the data packet according to the transmission priority.
[0043] Exemplarily, sending a data packet includes at least one of the following: carrying the data packet on a corresponding physical layer data unit according to the size of the transmission priority; and adopting a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0044] In a fourth aspect, a communication method is provided, which can be executed by a second device, wherein the second device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0045] The method comprises: receiving a data packet, the data packet comprising NRI information, the NRI information being used to indicate the transmission priority of a NALU in the data packet; and sending the data packet.
[0046] In combination with the fourth aspect, in certain implementations of the fourth aspect, the data packet further includes a service identifier, and the service identifier corresponds to the NRI information.
[0047] In combination with the fourth aspect, in certain implementations of the fourth aspect, the service identifier is obtained by mapping the NRI information according to the second frame classifier.
[0048] Exemplarily, the second frame classifier is defined according to at least one parameter, and the at least one parameter includes the NRI information.
[0049] Optionally, the at least one parameter may also include parameters such as source IP address, destination IP address, source port number, destination port number, DSCP value, etc.
[0050] In combination with the fourth aspect, in some implementations of the fourth aspect, sending the data packet includes: sending the data packet according to the transmission priority.
[0051] Exemplarily, sending a data packet includes at least one of the following: carrying the data packet on a corresponding physical layer data unit according to the size of the transmission priority; and adopting a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0052] It should be understood that the beneficial effects of the above-mentioned fourth aspect and its various implementations can be referred to the third aspect and its various implementations.
[0053] In the fifth aspect, a communication method is provided, which can be executed by a first device, wherein the first device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0054] The method comprises: generating a data packet, the data packet comprising a DSCP value, the DSCP value being used to indicate the transmission priority of a NALU in the data packet; and sending the data packet at a MAC layer according to the transmission priority.
[0055] Based on the above scheme, the IP layer of the sender can define different DSCP values based on the NRI information, so that the bottom layer (such as the MAC layer) can know the transmission priority of the NALU according to the DSCP value, so as to make better communication decisions.
[0056] For example, the bottom layer may provide different quality of service guarantees for services of different priorities, thereby improving the transmission quality of multimedia services.
[0057] In combination with the fifth aspect, in some implementations of the fifth aspect, sending the data packet includes: sending the data packet according to the transmission priority.
[0058] Exemplarily, sending the data packet includes at least one of the following: carrying the data packet on a corresponding physical layer data unit according to the size of the transmission priority; and adopting a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0059] In the sixth aspect, a communication method is provided, which can be executed by a second device, wherein the second device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0060] The method comprises: receiving a data packet, the data packet comprising a DSCP value, the DSCP value being used to indicate the transmission priority of a NALU in the data packet; and sending the data packet.
[0061] In combination with the sixth aspect, in some implementations of the sixth aspect, sending the data packet includes: sending the data packet according to the transmission priority.
[0062] Exemplarily, sending a data packet includes at least one of the following: carrying the data packet on a corresponding physical layer data unit according to the size of the transmission priority; and adopting a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0063] It should be understood that the beneficial effects of the above-mentioned sixth aspect and its various implementations can be referred to the fifth aspect and its various implementations.
[0064] In the seventh aspect, a communication device is provided, which can be a first device, wherein the first device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0065] The device includes: a processing unit for generating a data packet, the data packet including port information, the port information being used to indicate the transmission priority of a network abstraction layer unit (NALU) in the data packet, the port information being carried in a frame header of a transport layer of the data packet; and a transceiver unit for sending the data packet.
[0066] In combination with the seventh aspect, in certain implementations of the seventh aspect, the data packet also includes a service identifier, and the service identifier corresponds to the port information.
[0067] Optionally, the service identifier is obtained by mapping the port information according to the first frame classifier.
[0068] Exemplarily, the first frame classifier is defined according to at least one parameter, the at least one parameter comprising port information.
[0069] It should be understood that the at least one parameter may also include other parameters such as source IP address, destination IP address, DSCP value, etc.
[0070] In combination with the seventh aspect, in some implementations of the seventh aspect, the data packet also includes a DSCP value, and the DSCP value corresponds to the port information.
[0071] In combination with the seventh aspect, in certain implementations of the seventh aspect, the transmission priority is at least one of the following: NRI information, NRI extended information.
[0072] In combination with the seventh aspect, in some implementations of the seventh aspect, the protocol used by the transport layer is TCP or UDP.
[0073] In combination with the seventh aspect, in some implementations of the seventh aspect, the transceiver unit is specifically used to: send data packets according to transmission priority.
[0074] Exemplarily, the transceiver unit may carry the data packet on the corresponding physical layer data unit according to the size of the transmission priority; or, adopt a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0075] In the eighth aspect, a communication device is provided, which can be a second device, wherein the second device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0076] The device includes: a transceiver unit for receiving a data packet, the data packet including port information, the port information being used to indicate the transmission priority of a NALU in the data packet, the port information being carried in a frame header of a transport layer of the data packet; the transceiver unit is also used to send the data packet.
[0077] In combination with the eighth aspect, in certain implementations of the eighth aspect, the data packet also includes a service identifier, and the service identifier corresponds to the port information.
[0078] Optionally, the service identifier is obtained by mapping the port information according to the first frame classifier.
[0079] Exemplarily, the first frame classifier is defined according to at least one parameter, the at least one parameter comprising port information.
[0080] It should be understood that the at least one parameter may also include other parameters such as source IP address, destination IP address, DSCP value, etc.
[0081] In combination with the eighth aspect, in certain implementations of the eighth aspect, the data packet also includes a DSCP value, and the DSCP value corresponds to the port information.
[0082] In combination with the eighth aspect, in certain implementations of the eighth aspect, the transmission priority is at least one of the following: NRI information, NRI extended information.
[0083] In combination with the eighth aspect, in some implementations of the eighth aspect, the protocol used by the transport layer is TCP or UDP.
[0084] In combination with the eighth aspect, in certain implementations of the eighth aspect, the transceiver unit is specifically used to: send data packets according to transmission priority.
[0085] Exemplarily, the transceiver unit may carry the data packet on the corresponding physical layer data unit according to the size of the transmission priority; or, adopt a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0086] In the ninth aspect, a communication device is provided, which can be a first device, wherein the first device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., and this application does not limit it.
[0087] The device includes: a processing unit, used for generating a data packet, the data packet including NRI information, the NRI information being used for indicating the transmission priority of a NALU in the data packet; and a transceiver unit, used for sending the data packet according to the transmission priority at a MAC layer.
[0088] In combination with the ninth aspect, in certain implementations of the ninth aspect, the data packet further includes a service identifier, and the service identifier corresponds to the NRI information.
[0089] In combination with the ninth aspect, in certain implementations of the ninth aspect, the service identifier is obtained by mapping the NRI information according to a second frame classifier.
[0090] Exemplarily, the second frame classifier is defined according to at least one parameter, and the at least one parameter includes the NRI information.
[0091] Optionally, the at least one parameter may also include parameters such as source IP address, destination IP address, source port number, destination port number, DSCP value, etc.
[0092] In combination with the ninth aspect, in certain implementations of the ninth aspect, the transceiver unit is specifically used to: send data packets according to transmission priority.
[0093] Exemplarily, the transceiver unit may carry the data packet on the corresponding physical layer data unit according to the size of the transmission priority; or, adopt a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0094] In the tenth aspect, a communication device is provided, which can be a second device, wherein the second device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0095] The device comprises: a transceiver unit, configured to receive a data packet, the data packet comprising NRI information, the NRI information being used to indicate the transmission priority of a NALU in the data packet; the transceiver unit is further configured to send the data packet.
[0096] In combination with the tenth aspect, in certain implementations of the tenth aspect, the data packet further includes a service identifier, and the service identifier corresponds to the NRI information.
[0097] In combination with the tenth aspect, in certain implementations of the tenth aspect, the service identifier is obtained by mapping the NRI information according to a second frame classifier.
[0098] Exemplarily, the second frame classifier is defined according to at least one parameter, and the at least one parameter includes the NRI information.
[0099] Optionally, the at least one parameter may also include parameters such as source IP address, destination IP address, source port number, destination port number, DSCP value, etc.
[0100] In combination with the tenth aspect, in certain implementations of the tenth aspect, the transceiver unit is specifically used to: send data packets according to transmission priority.
[0101] Exemplarily, the transceiver unit may carry the data packet on the corresponding physical layer data unit according to the size of the transmission priority; or, adopt a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0102] In the eleventh aspect, a communication device is provided, which can be a first device, wherein the first device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0103] The device includes: a processing unit, used for generating a data packet, the data packet including a DSCP value, the DSCP value being used for indicating the transmission priority of a NALU in the data packet; and a transceiver unit, used for sending the data packet according to the transmission priority at a MAC layer.
[0104] In combination with the eleventh aspect, in certain implementations of the eleventh aspect, the transceiver unit is specifically configured to: send data packets according to a transmission priority.
[0105] Exemplarily, the transceiver unit may carry the data packet on the corresponding physical layer data unit according to the size of the transmission priority; or, adopt a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0106] In the twelfth aspect, a communication device is provided, which can be a second device, wherein the second device can be a physical device or a component configured in the physical device (for example, a chip, circuit or module, etc.), etc., which is not limited in this application.
[0107] The device comprises: a transceiver unit, which is used to receive a data packet, the data packet comprises a DSCP value, and the DSCP value is used to indicate the transmission priority of a NALU in the data packet; the transceiver unit is also used to send the data packet.
[0108] In combination with the twelfth aspect, in certain implementations of the twelfth aspect, the transceiver unit is specifically used to: send data packets according to transmission priority.
[0109] Exemplarily, the transceiver unit may carry the data packet on the corresponding physical layer data unit according to the size of the transmission priority; or, adopt a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0110] It should be understood that the beneficial effects of the above-mentioned seventh to twelfth aspects and their various implementations can refer to the first to sixth aspects and their various implementations.
[0111] In a thirteenth aspect, a communication device is provided, comprising a processor configured to call and execute a computer program stored in a memory and control a transceiver to transmit and receive signals, so that the communication device performs the method according to any one of aspects 1 to 6, or any possible implementation of these aspects. Optionally, the communication device may further include the memory configured to store the computer program, and the communication device may further include the transceiver.
[0112] In a fourteenth aspect, a communication device is provided, comprising a processor configured to process data and / or information so as to execute the method of any one of aspects 1 to 6, or any possible implementation thereof. Optionally, the communication device may further comprise a communication interface configured to receive data and / or information and transmit the received data and / or information to the processor. Optionally, the communication interface may further be configured to output the data and / or information processed by the processor.
[0113] In a fifteenth aspect, a chip is provided, comprising a processor configured to execute a program or instruction to cause the chip to perform the method of any one of aspects 1 to 6, or any possible implementation of these aspects. Optionally, the chip may further comprise a memory configured to store the program or instruction. Optionally, the chip may further comprise the transceiver.
[0114] In the sixteenth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, which are used to implement the method in any aspect from the first aspect to the sixth aspect, or any possible implementation of these aspects.
[0115] In the seventeenth aspect, a computer program product is provided, wherein the computer program product includes a computer program code, and the computer program code is used to implement the method in any aspect of the first to sixth aspects, or any possible implementation of any aspect of these aspects.
[0116] In the eighteenth aspect, a wireless communication system is provided, comprising the communication device of the seventh and eighth aspects, or the communication device of the ninth and tenth aspects, or the communication device of the eleventh and twelfth aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0117] FIG1 is a schematic diagram of an application scenario to which an embodiment of the present application is applicable.
[0118] FIG2 is a schematic diagram of the video data processing and transmission process.
[0119] Figure 3 shows the data processing process at the sending end.
[0120] FIG4 is a schematic flowchart of a communication method 200 provided in an embodiment of the present application.
[0121] FIG5 shows a schematic diagram of a source port number and a destination port number provided in an embodiment of the present application.
[0122] FIG6 shows a schematic diagram of a first frame classifier provided in an embodiment of the present application.
[0123] FIG7 is a schematic flowchart of a communication method 300 provided in an embodiment of the present application.
[0124] FIG8 shows a schematic diagram of a second frame classifier provided in an embodiment of the present application.
[0125] FIG9 is a schematic flowchart of a communication method 400 provided in an embodiment of the present application.
[0126] FIG10 is a schematic diagram of a communication device provided in an embodiment of the present application.
[0127] FIG11 is another schematic structural diagram of a communication device provided in an embodiment of the present application.
[0128] FIG12 is another schematic structural diagram of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0129] The technical solution in this application will be described below with reference to the accompanying drawings.
[0130] The technical solution provided in the embodiments of the present application can be applicable to wireless local area network (WLAN) scenarios, for example, supporting the Institute of Electrical and Electronics Engineers (IEEE) 802.11 related standards, such as 802.11a / b / g standards, 802.11n standards, 802.11ac standards, 802.11ax standards, IEEE 802.11ax next-generation Wi-Fi protocols, such as 802.11be, Wi-Fi 7, extremely high throughput (EHT), 802.11ad, 802.11ay or 802.11bf, such as the next generation of 802.11be, Wi-Fi 8, etc., and can also be applied to wireless personal area network systems based on ultra-wide band (UWB), such as the 802.15 series standards, and can also be applied to sensing systems, such as the 802.11bf series standards. Among them, the 802.11n standard is called high throughput (HT), the 802.11ac standard is called very high throughput (VHT), the 802.11ax standard is called high efficiency (HE), and the 802.11be standard is called extremely high throughput (EHT).
[0131] Although the embodiments of the present application are primarily described using the deployment of a WLAN network, particularly a network using the IEEE 802.11 system standard, as an example, those skilled in the art will readily appreciate that the various aspects of the embodiments of the present application can be extended to other networks using various standards or protocols, such as a high-performance wireless local area network (HIPERLAN), a wireless wide area network (WWAN), a wireless personal area network (WPAN), or other networks now known or developed in the future. Therefore, regardless of the coverage area and wireless access protocol used, the various aspects provided in the embodiments of the present application can be applied to any suitable wireless network.
[0132] The technical solutions of the embodiments of the present application can also be applied to various communication systems, such as: WLAN communication system, wireless fidelity (Wi-Fi) system, long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), world-wide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system or new radio (NR), future sixth generation (6G) system, Internet of Things (IoT) network or vehicle to x (V2X), etc.
[0133] The above-mentioned communication system applicable to the present application is only an example, and the communication system applicable to the present application is not limited to this. It is described uniformly here and will not be repeated below.
[0134] FIG1 is a schematic diagram of an application scenario applicable to an embodiment of the present application. As shown in FIG1 , the communication method provided by the present application is applicable to data communication between stations (STAs), wherein the station can be an access point (AP) type station or a non-access point type station (none access point station, non-AP STA), respectively referred to as AP and non-AP station. Specifically, the scheme of the present application is applicable to data communication between an AP and one or more non-AP stations (for example, data communication between AP1 and non-AP STA1, non-AP STA2), and is also applicable to data communication between APs (for example, data communication between AP1 and AP2), as well as data communication between non-AP STAs and non-AP STAs (for example, data communication between non-AP STA2 and non-AP STA3).
[0135] An access point is a terminal (e.g., a mobile phone) that connects to a wired (or wireless) network. It's typically deployed in homes, buildings, and campuses, with a typical coverage radius of tens to hundreds of meters. It can also be deployed outdoors. An access point acts as a bridge between wired and wireless networks, connecting wireless network clients and then connecting the wireless network to the Ethernet.
[0136] Specifically, the access point can be a terminal or network device with a Wi-Fi chip, and the network device can be a server, a router, a switch, a bridge, a computer, a mobile phone, a relay station, a vehicle-mounted device, a wearable device, a network device in a 5G network, a network device in a future 6G network, or a network device in a public land mobile network (PLMN), etc., and the embodiments of the present application are not limited thereto. The access point can be a device that supports the Wi-Fi standard. For example, the access point can also support one or more standards of the IEEE 802.11 family, such as 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, 802.11ax, 802.11be, 802.11ad, and 802.11ay.
[0137] A non-AP site may be a wireless communication chip, a wireless sensor, or a wireless communication terminal, and may also be referred to as a user, user equipment (UE), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device. A non-AP site may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, an Internet of Things device, a wearable device, a terminal device in a 5G network, a terminal device in a future 6G network, or a terminal device in a PLMN, and the embodiments of the present application are not limited thereto. A non-AP site may be a device that supports the WLAN standard. For example, a non-AP station may support one or more standards of the IEEE 802.11 family, such as 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, 802.11ax, 802.11be, 802.11ad, and 802.11ay.
[0138] For example, non-AP sites can be mobile phones, tablets, set-top boxes, smart TVs, smart wearable devices, in-vehicle communication devices, computers, Internet of Things (IoT) nodes, sensors, smart homes such as smart cameras, smart remote controls, smart water and electricity meters, and sensors in smart cities.
[0139] The above-mentioned AP or non-AP site may include a transmitter, a receiver, a memory, a processor, etc., wherein the transmitter and the receiver are used for sending and receiving packet structures respectively, the memory is used to store signaling information and store preset values agreed in advance, etc., and the processor is used to parse signaling information, process related data, etc.
[0140] With the development of information technology, people are placing increasingly higher demands on multimedia communications. Video is a crucial component of multimedia communication data. It offers a range of advantages, including accuracy, real-time, intuitiveness, concreteness, and vividness, enriching the user's visual experience. However, video processing and transmission technologies significantly impact the performance of multimedia communications.
[0141] Figure 2 illustrates the video data processing and transmission process. As shown in Figure 2, at the transmitter, application-layer data undergoes compression and channel coding before being transmitted via a wireless channel to the receiver. At the receiver, the received data undergoes channel decoding and decompression to obtain the application-layer data. The compression and decompression processes can also be understood as source coding and source decoding, respectively.
[0142] The following briefly introduces the data processing process at the sending end using Figure 3 as an example.
[0143] As shown in FIG3 , first, at the video coding layer (VCL), the transmitter encodes the original video data, for example, using a standard source coding method such as H.264 or H.265.
[0144] Then, at the network abstraction layer (NAL), different slices are packaged into different network abstraction layer units (NALUs) by the sender. In the frame header of the NALU, there is a network abstraction layer reference indicator (Nal_Ref_Idc, NRI), which is used to indicate the priority of the NALU.
[0145] Among them, VCL and NAL can both be understood as application layers.
[0146] Then, at the real-time transport protocol (RTP) layer, different NALUs will be encapsulated in different RTP packets by the sender, and the RTP header will contain a packet type to indicate the type of NALU.
[0147] Furthermore, at the transport layer, the sender encapsulates the datagram according to a transport layer protocol such as the Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP), and adds a TCP or UDP frame header. The TCP or UDP frame header contains a 16-bit source port number and a 16-bit destination port number, which are usually used to identify the application or service being transmitted.
[0148] Furthermore, at the Internet Protocol (IP) layer, the sender encapsulates the TCP or UDP packet and adds an IP header to form an IP packet. The IP packet header includes a 32-bit source IP address and a 32-bit destination IP address, as well as an 8-bit Type of Service field. Within the 8-bit Type of Service field, there is a 6-bit Differentiated Services Code Point (DSCP) field, which is used to identify different service types.
[0149] Furthermore, at the LLC layer, the sender maps the IP packets into service flows. Each service flow has a corresponding traffic identifier (TID).
[0150] Furthermore, if the transmission medium is a wired medium, the IP packet will pass through the Ethernet medium access control (MAC) layer and the Ethernet physical layer, involving IEEE 802.1 and 802.3 standards. The frame header of the Ethernet MAC layer frame includes a 3-bit priority code point (PCP) to identify different service priorities. If the transmission medium is a wireless medium, the IP packet will pass through the wireless MAC layer and the wireless physical layer. In the frame header of the wireless MAC frame, there is a 3-bit user priority field to indicate the priority of the wireless user service, which corresponds to the traffic class and the corresponding traffic identifier. Different traffic types correspond to different access categories (AC).
[0151] It should be understood that even when the transmission medium is wireless, the signal is often first transmitted between routers via Ethernet as a wired medium before being transmitted wirelessly to the destination device. Internet Engineering Task Force (IETF) standards define default mappings from DSCP to PCP, or PCP to user priority (UP), to enable priority transmission at different layers and across different media.
[0152] Table 1 shows the standard organizations involved in the above different layers.
[0153] Table 1 Different layers and involved standard organizations
[0154] Currently, the lower layers of the protocol layer (such as the transport layer, IP layer, and MAC layer) are unable to identify the importance of frames from the upper layers (such as the application layer). As a result, the lower layers cannot provide different quality of service assurance mechanisms for video frames of different importance, affecting the transmission quality of multimedia services.
[0155] The present application provides a communication method and a communication device, which can provide different service quality assurance mechanisms for video frames of different importance, thereby improving the transmission quality of multimedia services.
[0156] Figure 4 is a schematic flow chart of a communication method 200 provided in an embodiment of the present application. As shown in Figure 4, the method 200 includes the following steps.
[0157] S210, the first device generates a data packet.
[0158] The data packet includes port information, and the port information is used to indicate the transmission priority of the NALU in the data packet.
[0159] Ports include two types: logical ports and physical ports. A physical port is an interface used to connect physical devices, such as an interface on a hub, switch, or router used to connect to other network devices, for example, an RJ-45 port, an SC port, etc. A logical port refers to a port used to logically represent and distinguish services (or applications), such as port 80 for web browsing services, port 21 for File Transfer Protocol (FTP) services, and port 25 for Simple Mail Transfer Protocol (SMTP) services, i.e., email services. Unless otherwise specified in this application, a port refers to a logical port, and a port number refers to the identifier of a logical port, such as the aforementioned port 21, port 80, and port 25.
[0160] The port number is generally an integer and is unique on the same computer. Currently, some port numbers are reserved for certain protocols and their related functions. In this application, the application layer can apply for multiple port numbers for the same service, with different ports corresponding to different priorities. For example, the port number is applied by the NAL layer, and different port numbers for the same service can be used to indicate the transmission priority of the NALU.
[0161] Among them, the transmission priority of NALU, or the priority of NALU, or the importance of NALU, or whether the NALU belongs to the base layer or the enhancement layer, or the frame type of the NALU, wherein the frame type can be an intra-frame coded frame (I frame), a predicted frame (P frame), or a bidirectional predicted frame (B frame) in a video stream.
[0162] It should be understood that the port information is used to indicate the transmission priority of the NALU in the data packet. In other words, the port information carries the NRI information, and the NRI information indicates the transmission priority of the NALU. Among them, the NRI information has two bits, and the priority order from high to low is 11, 10, 01 and 00 respectively.
[0163] For example, 11 represents some control information of parameter set information; 10 represents the bit information of instantaneous decoding refresh (IDR) picture slice or partition A; 01 represents the bit information of partition B or partition C, etc.
[0164] For example, in video coding, video frames are divided into intra-frame coded frames (I frames), predicted frames (P frames), and bidirectionally predicted frames (B frames). Among them, I frames have the highest priority, while P frames and B frames have lower priorities. In the spatial domain, video frames are divided into base layer and enhancement layer, with the base layer having a higher priority and the enhancement layer having a lower priority. The importance of these different video frames can also be indicated by NRI information. For example, 11 in the NRI information indicates some control information of the parameter set information or indicates the base layer of the I frame, 10 indicates the enhancement layer of the I frame or the base layer of the P frame, 01 indicates the enhancement layer of the P frame or the base layer of the B frame, and 00 indicates the enhancement layer of the B frame.
[0165] As an example, there may be a corresponding relationship between the NRI information, the port number, and the transmission priority of the NALU as shown in Table 2.
[0166] Table 2
[0167] It should be understood that in the column where the port number is located in Table 2, the numbers outside the brackets are binary representations, and the numbers inside the brackets are decimal representations.
[0168] Exemplarily, the data packet includes NALU, or in other words, the data packet is encapsulated by NALU. The data packet may be a frame of the transport layer, or a frame of the IP layer, a frame of the MAC layer, or a frame of the physical layer.
[0169] The port information is encapsulated in the transport layer of the data packet. For example, the port information can be carried in the frame header of the transport layer of the data packet.
[0170] For example, the protocol used by the transport layer is TCP or UDP.
[0171] Optionally, the transmission priority is any one of the following: NRI information, NRI extended information, in other words, the port information can carry the NRI information in the NAL layer, and can also carry the NRI extended information, wherein the NRI extended information is extended from the NRI information.
[0172] In addition, optionally, the port information may also carry network abstraction layer unit NALU sequence number information, and the NALU sequence number information may be used to identify the relative order between various NALUs.
[0173] Optionally, the data packet in this application refers to a data packet of a multimedia service, for example, the data packet is a video frame.
[0174] Optionally, the transmission priority of the NALU can also be said to be the priority of the video or the priority of the video frame.
[0175] S220: The first device sends the data packet to the second device, and correspondingly, the second device receives the data packet.
[0176] The first device and the second device may transmit the data packet via a wired manner or wirelessly. If the communication between the first device and the second device is wireless communication, the application scenario of method 200 may be the scenario shown in FIG1 . In this case, the first device may be an AP or a non-AP STA, and similarly, the second device may be an AP or a non-AP STA. If the communication between the first device and the second device is wired communication, the application scenario of method 200 may be a communication system consisting of a router and a server, or a communication system consisting of a router and a router, in which case the first device may be a router or a server, and similarly, the second device may be a router or a server.
[0177] Based on the above scheme, the sending end can indicate the transmission priority of NALU based on the port information, so that the bottom layer (such as (IP layer, MAC layer) can know the transmission priority of NALU according to the port information, so as to make better communication decisions.
[0178] For example, the bottom layer may provide different quality of service guarantees for services of different priorities, thereby improving the transmission quality of multimedia services.
[0179] Optionally, the method also includes: a second device forwarding the data packet.
[0180] The port information may refer to a source port number or a destination port number of a transport layer. In other words, some bits in the source port number or the destination port number may be used to indicate the transmission priority of the NALU.
[0181] For example, a 16-bit source port number is 0000 0000 0111 1011 (123), wherein the 15th and 16th bits (ie, 11) in the source port number are used to indicate the transmission priority of the NALU.
[0182] FIG5 shows a schematic diagram of a source port number and a destination port number. As shown in FIG5 , bits 12 to 16 in the source port number can indicate a NALU sequence number, and bits 14 to 15 in the destination port number can carry NRI information. Optionally, the first device can also extend the NRI information as NRI extended information. The NRI extended information can define more levels of priority than the NRI. For example, the NRI information is 2 bits, and the NRI extended information can be 3 bits with a value of 111 to 000. Eight priorities can be defined through the NRI extended information. Exemplarily, the 16th bit in the destination port number can be an extended bit, and bits 14 to 16 in the destination port number can carry NRI extended information, as shown in FIG5 .
[0183] In an implementation of method 200 , the data packet further includes a traffic identifier (TID), and the traffic identifier corresponds to the port information.
[0184] The service identifier, also known as a flow identifier or service flow identifier, indicates the service type. The service identifier can be 4 bits long and range in value from 0 to 15. The 802.11 standard provides four different access categories (ACs) and eight different TIDs. The four ACs are voice traffic (AC_VO), video traffic (AC_VI), best effort traffic (AC_BE), and background traffic (AC_BK). The eight different TIDs have values from 0 to 7, representing different service types. The correspondence between ACs and TIDs is shown in Table 3.
[0185] Table 3
[0186] Among them, the service identifier corresponds to the port information, which can also be said to be the service identifier used to indicate the transmission priority of the NALU, or in other words, frames with different NRIs can be negotiated into different service flows, using different service identifiers.
[0187] Optionally, in the present application, the service identifier corresponding to the port information may be a reserved service identifier, for example, the value of the TID corresponding to the port information is 8-15.
[0188] Optionally, in this application, the value range of the TID corresponding to the port information can also reuse the already defined TID, for example, the value range is 4-7. As an example, the correspondence between the service identifier and the port information can be: TID = 4 represents the video service with NRI = 11, TID = 5 represents the video service with NRI = 10, TID = 6 represents the video service with NRI = 01, and TID = 7 represents the video service with NRI = 00.
[0189] Optionally, the service identifier is obtained by mapping the port information according to the first frame classifier.
[0190] In IEEE 802.11, an AP or non-AP STA can map video frames to corresponding service types based on a frame classifier. A frame classifier can be understood as a mapping relationship, mapping rule, or algorithm. After receiving a data packet from an upper layer, the transmitter can map the packet to a corresponding service flow based on the packet's parameters and the frame classifier, and identify the service flow using a service identifier.
[0191] Among them, the frame classifier can be defined based on one or more parameters of the source IP address, destination IP address, source port number, destination port number, and DSCP value. Before data transmission, the sender and the receiver can negotiate the frame classifier based on the add service flow request frame and the add service flow response frame to determine which service type a video frame should be mapped to.
[0192] Specifically, the add service flow request frame and the add service flow response frame may include a traffic classification element (TCLAS element), which includes a frame classifier field. The frame classifier field includes the following subfields: classifier type, classifier mask, and classifier parameters. The classifier parameter subfield may include one or more parameters of the above-mentioned source IP address, destination IP address, source port number, destination port number, and DSCP value.
[0193] In the present application, the first frame classifier is defined according to at least one parameter, the at least one parameter includes port information, and the port information is used to indicate the transmission priority of the NALU in the data packet.
[0194] FIG6 shows a schematic diagram of the first frame classifier of the present application. As shown in FIG6 , the first frame classifier can be defined based on one or more parameters including the source IP address, the destination IP address, the source port number, the destination port number, and the DSCP value, and at least one of the source port number and the destination port number can be used to indicate the transmission priority of the NALU. The classifier category and version number are used to identify the category and corresponding version of the first frame classifier, respectively.
[0195] Optionally, the mapping from port information to TID is completed at the logical link control (LLC) layer, and the MAC layer can identify NALUs of different transmission priorities based on different TIDs.
[0196] Based on the above solution, NALUs with different transmission priorities are mapped to different service identifiers based on port information, so that the MAC layer can identify NALUs with different transmission priorities based on service identifiers, which is simple and efficient.
[0197] In addition, in the above scheme, the application layer applies for different port numbers and indicates the NRI information of the NALU through the port number information of the transport layer frame header. Therefore, only the application layer can be involved. In the transparent case, different video streams are finally mapped to different service types. The MAC layer can also be further involved. For other layers, the scheme is transparent. Therefore, in the standardization of this scheme, only the standard organizations involved in the application layer (such as MPEG) and the standard organizations involved in the MAC layer (such as IEEE 802.11) need to be considered.
[0198] In another implementation of method 200, the data packet further includes a DSCP value, and the DSCP value corresponds to the port information.
[0199] For example, at the IP layer, the first device can define different DSCP values based on port information and encapsulate the DSCP values in the IP header. Furthermore, at the LLC layer, the first device can map video frames with different DSCP values to different service flows based on a frame classifier. At the MAC layer, the first device can identify different service flows to make better communication decisions and improve the transmission quality of multimedia services.
[0200] As an example, the correspondence between the DSCP value, the port number, and the transmission priority of the NALU may be as shown in Table 4.
[0201] Table 4
[0202] It should be understood that in the column where the port number is located in Table 4, the numbers outside the brackets are binary representations, and the numbers inside the brackets are decimal representations.
[0203] In another implementation of method 200, the port information is passed from the transport layer to the MAC layer, and the first device identifies the port information at the MAC layer and obtains the transmission priority of the NALU in the data packet to make better communication decisions and improve the transmission quality of multimedia services.
[0204] It should be understood that in this implementation, the service identifier and port information do not need to correspond one to one. As an example, all ports can be mapped to the same TID.
[0205] Therefore, this approach can avoid identifying service flows of different transmission priorities through service identifiers, thereby saving signaling overhead.
[0206] Optionally, S220, the first device sends a data packet to the second device, including: the first device sends the data packet according to the transmission priority.
[0207] The first device sends a data packet according to the transmission priority, which may mean: the first device carries the data packet on the corresponding physical layer data unit according to the size of the transmission priority; or the first device adopts a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0208] For example, at the MAC layer, the first device may carry MAC frames of different transmission priorities in different physical layer resource units (e.g., different frequency domains, spatial domains, constellation point domains, etc.), and transmit them at different rates (e.g., different coding and modulation strategies, different numbers of spatial streams, different numbers of subcarriers, etc.), thereby providing different reliability protection for video streams of different importance. For example, a video frame with a higher importance (e.g., an I-frame or a base layer data frame) may have a lower transmission rate to ensure reliability; a video frame with a lower importance (e.g., a P-frame, a B-frame, or an enhancement layer data frame) may have a higher transmission rate to ensure transmission efficiency.
[0209] Figure 7 is a schematic flow chart of a communication method 300 provided in an embodiment of the present application. As shown in Figure 7, the method 300 includes the following steps.
[0210] S310, a first device generates a data packet.
[0211] The data packet includes NRI information, where the NRI information is used to indicate the transmission priority of the NALU in the data packet.
[0212] The NRI information can be encapsulated in the frame header of the NALU.
[0213] For a detailed description of NRI information, please refer to the previous article and will not be repeated here.
[0214] S320, the first device sends the data packet to the second device according to the transmission priority at the MAC layer, and accordingly, the second device receives the data packet.
[0215] Specifically, in method 300, at the MAC layer, the first device may parse the frame header of the NALU to obtain NRI information of the NAL layer, thereby obtaining the transmission priority of the NALU according to the NRI information.
[0216] Similar to method 200, the first device and the second device may transmit the data packet via a wired or wireless method. The application scenario of method 300 may be the scenario shown in FIG1 or a communication system composed of a router and a server.
[0217] Based on the above solution, the bottom layer (such as the MAC layer) of the sending end can identify the NRI and obtain the transmission priority of the NALU based on the NRI information, so as to make better communication decisions.
[0218] For example, the bottom layer may provide different quality of service guarantees for services of different priorities, thereby improving the transmission quality of multimedia services.
[0219] Optionally, the method also includes: a second device forwarding the data packet.
[0220] Optionally, the data packet further includes a traffic identifier (TID), and the traffic identifier corresponds to the NRI information.
[0221] Specifically, in method 300, the service identifier can be obtained by mapping the NRI information according to a second frame classifier. The second frame classifier, similar to the first frame classifier, is also defined based on at least one parameter. The difference is that in the second frame classifier, the at least one parameter includes the NRI information.
[0222] FIG8 shows a schematic diagram of the second frame classifier of the present application. As shown in FIG8 , the second frame classifier can be defined based on one or more parameters of the source IP address, destination IP address, source port number, destination port number, DSCP value, and NRI information, and the NRI information can be used to indicate the transmission priority of the NALU. The classifier category and version number are used to identify the category and corresponding version of the second frame classifier, respectively.
[0223] Optionally, the mapping from NRI information to TID is completed at the logical link control (LLC) layer, and the MAC layer can identify NALUs of different transmission priorities based on different TIDs.
[0224] Based on the above scheme, NALUs of different transmission priorities are mapped to different service identifiers based on NRI information, so that the MAC layer can identify NALUs of different transmission priorities based on service identifiers to make better communication decisions.
[0225] Optionally, S320, the first device sends a data packet according to the transmission priority, which may mean: the first device carries the data packet on a corresponding physical layer data unit according to the size of the transmission priority; or the first device adopts a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0226] For example, at the MAC layer, the first device may carry MAC frames of different transmission priorities in different physical layer resource units (e.g., different frequency domains, spatial domains, constellation point domains, etc.), and transmit them at different rates (e.g., different coding and modulation strategies, different numbers of spatial streams, different numbers of subcarriers, etc.), thereby providing different reliability protection for video streams of different importance. For example, a video frame with a higher importance (e.g., an I-frame or a base layer data frame) may have a lower transmission rate to ensure reliability; a video frame with a lower importance (e.g., a P-frame, a B-frame, or an enhancement layer data frame) may have a higher transmission rate to ensure transmission efficiency.
[0227] Figure 9 is a schematic flow chart of a communication method 400 provided in an embodiment of the present application. As shown in Figure 9, the method 400 includes the following steps.
[0228] S410, the first device generates a data packet.
[0229] The data packet includes a DSCP value, where the DSCP value is used to indicate a transmission priority of a network abstraction layer unit NALU in the data packet.
[0230] For example, at the IP layer, the first device can define different DSCP values based on NRI information and encapsulate the DSCP values in the IP header. Furthermore, at the LLC layer, the first device can map video frames with different DSCP values to different service flows based on a frame classifier. At the MAC layer, the first device can identify different service flows to make better communication decisions and improve the transmission quality of multimedia services.
[0231] In other words, in method 400 , the IP layer of the first device may recognize the NRI information of the NAL layer.
[0232] As an example, the correspondence between the DSCP value, NRI information, and the transmission priority of the NALU may be as shown in Table 5.
[0233] Table 5
[0234] S420: The first device sends a data packet to the second device, and correspondingly, the second device receives the data packet.
[0235] Similar to method 200, the first device and the second device may transmit the data packet via a wired or wireless method. The application scenario of method 400 may be the scenario shown in FIG1 or a communication system composed of a router and a server.
[0236] Based on the above scheme, the IP layer of the sender can define different DSCP values based on the NRI information, so that the bottom layer (such as the MAC layer) can know the transmission priority of the NALU according to the DSCP value, so as to make better communication decisions.
[0237] For example, the bottom layer may provide different quality of service guarantees for services of different priorities, thereby improving the transmission quality of multimedia services.
[0238] Optionally, the method also includes: a second device forwarding the data packet.
[0239] Optionally, S420, the first device sends the data packet, which may mean that the first device sends the data packet according to the transmission priority, which may mean: the first device carries the data packet on a corresponding physical layer data unit according to the size of the transmission priority; or, the first device adopts a corresponding transmission rate for the data packet according to the size of the transmission priority.
[0240] The above describes the method embodiment of the present application, and the corresponding device embodiment is briefly introduced below. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, so the parts not described in detail can be referred to the above method embodiment.
[0241] Figure 10 is a schematic diagram of a communication device provided in an embodiment of the present application. As shown in Figure 10, device 1000 may include a transceiver unit 1010 and / or a processing unit 1020. Transceiver unit 1010 can communicate with the outside world, and processing unit 1020 is used to process data / information. Transceiver unit 1010 may also be referred to as a communication interface or a communication unit.
[0242] In one possible implementation, the device 1000 may be the first device in the above method 200, or may be a chip for implementing the functions of the first device in the above method 200. The device 1000 may implement a process corresponding to that performed by the first device in the above method 200, wherein the processing unit 1020 is configured to perform processing-related operations of the first device in the above method 200, and the transceiver unit 1010 is configured to perform transceiver-related operations of the first device in the above method 200.
[0243] Exemplarily, the processing unit 1020 is configured to generate a data packet, the data packet including port information, the port information being used to indicate the transmission priority of a network abstraction layer unit (NALU) in the data packet, the port information being carried in a frame header of the transport layer of the data packet. The transceiver unit 1010 is configured to send the data packet.
[0244] It should be understood that the above content is only for illustrative purposes, and the device 1000 can also implement other steps, actions or methods related to the first device in the above method 200, which will not be repeated here.
[0245] In another possible implementation, the device 1000 may implement a process corresponding to that performed by the second device in the above method embodiment 200, wherein the transceiver unit 1010 is used to perform the transceiver-related operations of the second device in the above method embodiment 200.
[0246] Optionally, in this implementation, the apparatus 1000 may further include a processing unit 1020, and the processing unit 1020 is configured to execute operations related to the processing of the second apparatus in the above method embodiment 200.
[0247] Exemplarily, the transceiver unit 1010 is configured to receive a data packet including port information, the port information being used to indicate the transmission priority of a NALU in the data packet, and the port information being carried in a frame header of the transport layer of the data packet. The transceiver unit 1010 is further configured to send the data packet.
[0248] It should be understood that the above content is only for illustrative purposes, and the device 1000 can also implement other steps, actions or methods related to the second device in the above method 200, which will not be repeated here.
[0249] In another possible implementation, the device 1000 may be the first device in the above method 300, or may be a chip for implementing the functions of the first device in the above method 300. The device 1000 may implement a process corresponding to that performed by the first device in the above method 300, wherein the processing unit 1020 is configured to perform processing-related operations of the first device in the above method 300, and the transceiver unit 1010 is configured to perform transceiver-related operations of the first device in the above method 300.
[0250] Exemplarily, the processing unit 1020 is configured to generate a data packet, the data packet including NRI information, the NRI information being used to indicate the transmission priority of the NALU in the data packet. The transceiver unit 1010 is configured to send the data packet.
[0251] It should be understood that the above content is only for illustrative purposes, and the device 1000 can also implement other steps, actions or methods related to the first device in the above method 300, which will not be repeated here.
[0252] In another possible implementation, the device 1000 may implement a process corresponding to that performed by the second device in the above method embodiment 300, wherein the transceiver unit 1010 is used to perform the transceiver-related operations of the second device in the above method embodiment 300.
[0253] Optionally, in this implementation, the apparatus 1000 may further include a processing unit 1020, and the processing unit 1020 is configured to execute operations related to the processing of the second apparatus in the above method embodiment 300.
[0254] Exemplarily, the transceiver unit 1010 is configured to receive a data packet including NRI information, where the NRI information is used to indicate the transmission priority of the NALU in the data packet and further configured to send the data packet.
[0255] It should be understood that the above content is only for illustrative purposes, and the device 1000 can also implement other steps, actions or methods related to the second device in the above method 300, which will not be repeated here.
[0256] In another possible implementation, the device 1000 may be the first device in the above method 400, or may be a chip for implementing the functions of the first device in the above method 400. The device 1000 may implement a process corresponding to that performed by the first device in the above method 400, wherein the processing unit 1020 is configured to perform processing-related operations of the first device in the above method 400, and the transceiver unit 1010 is configured to perform transceiver-related operations of the first device in the above method 400.
[0257] Exemplarily, the processing unit 1020 is configured to generate a data packet, the data packet including a DSCP value, the DSCP value being used to indicate the transmission priority of the NALU in the data packet. The transceiver unit 1010 is configured to send the data packet.
[0258] It should be understood that the above content is only for illustrative purposes, and the device 1000 can also implement other steps, actions or methods related to the first device in the above method 400, which will not be repeated here.
[0259] In another possible implementation, the device 1000 may implement a process corresponding to that performed by the second device in the above method embodiment 400, wherein the transceiver unit 1010 is used to perform the transceiver-related operations of the second device in the above method embodiment 400.
[0260] Optionally, in this implementation, the apparatus 1000 may further include a processing unit 1020, and the processing unit 1020 is configured to execute operations related to the processing of the second apparatus in the above method embodiment 400.
[0261] Exemplarily, the transceiver unit 1010 is configured to receive a data packet, the data packet including a DSCP value, the DSCP value being used to indicate a transmission priority of a NALU in the data packet, and further configured to send the data packet.
[0262] It should be understood that the above content is only for illustrative purposes, and the device 1000 can also implement other steps, actions or methods related to the second device in the above method 400, which will not be repeated here.
[0263] It should be understood that the apparatus 1000 herein is embodied in the form of a functional unit. The term "unit" herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functionality.
[0264] The above-mentioned device 1000 has the function of implementing the corresponding steps performed by the first device in the above-mentioned method, or the above-mentioned device 1000 has the function of implementing the corresponding steps performed by the second device in the above-mentioned method. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions; for example, the transceiver unit can be replaced by a transceiver (for example, the sending unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiver), and other units, such as the processing unit, can be replaced by a processor to respectively perform the sending and receiving operations and related processing operations in each method embodiment.
[0265] In addition, the above-mentioned transceiver unit can also be a transceiver circuit (for example, it can include a receiving circuit and a transmitting circuit), and the processing unit can be a processing circuit. In an embodiment of the present application, the device in Figure 10 can be the first device or the second device in the aforementioned embodiment, or it can be a chip or a chip system, such as a system on chip (SoC). Among them, the transceiver unit can be an input and output circuit, a communication interface. The processing unit is a processor or microprocessor or integrated circuit integrated on the chip. This is not limited here.
[0266] Figure 11 is another schematic structural diagram of a communication device provided in an embodiment of the present application. As shown in Figure 11, the communication device 2000 includes: at least one processor 2010. The processor 2010 is coupled to a memory and is configured to execute instructions stored in the memory to control a transceiver to transmit and / or receive signals. Optionally, the communication device 2000 also includes a transceiver 2020 for transmitting and / or receiving signals. Optionally, the communication device 2000 also includes a memory 2030 for storing instructions.
[0267] It should be understood that the processor 2010 and memory 2030 may be combined into a processing device, and the processor 2010 is used to execute the program code stored in the memory 2030 to implement the above functions. In specific implementations, the memory 2030 may also be integrated into the processor 2010 or independent of the processor 2010.
[0268] It should also be understood that the transceiver 2020 may include a receiver (or receiver) and a transmitter (or transmitter). The transceiver 2020 may further include an antenna, and the number of antennas may be one or more. The transceiver 1020 may also be a communication interface or interface circuit.
[0269] When the communication device 2000 is a chip, the chip includes a transceiver unit and a processing unit, wherein the transceiver unit may be an input / output circuit or a communication interface; and the processing unit may be a processor, microprocessor, or integrated circuit integrated on the chip.
[0270] The device 2000 can implement the steps, actions or methods related to the first device or the second device in the above method 200, method 300 or method 400.
[0271] The present application also provides a processing device, including a processor and an interface. The processor can be used to execute method 200, method 300, or method 400 in the above method embodiments.
[0272] It should be understood that the processing device may be a chip. For example, the processing device may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0273] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it will not be described in detail here.
[0274] Figure 12 is another schematic structural diagram of a communication device provided in an embodiment of the present application. As shown in Figure 12, the device 3000 includes a processing circuit 3010, which is used to execute instructions to implement the method 200, method 300 or method 400 in the above embodiments.
[0275] Optionally, the device 3000 may further include a transceiver circuit 3020, which is configured to transmit and / or receive signals. The processing circuit 3010 and the transceiver circuit 3020 communicate with each other via an internal connection path to control the transceiver circuit 3020 to transmit and / or receive signals.
[0276] Optionally, the apparatus 3000 may further include a storage medium 3030, which communicates with the processing circuit 3010 and the transceiver circuit 3020 via an internal connection path. The storage medium 3030 is used to store instructions, and the processing circuit 3010 may execute the instructions stored in the storage medium 3030.
[0277] In a possible implementation, the device 3000 is used to implement the process corresponding to the first device in the above method embodiment.
[0278] In another possible implementation, the device 3000 is used to implement the process corresponding to the second device in the above method embodiment.
[0279] According to the method provided in the embodiments of the present application, the present application also provides a computer program product, which includes: computer program code, which is used to implement the method in the above method embodiments of the present application, or in other words, when the computer program code is run on a computer, the computer executes the method in the above method embodiments.
[0280] According to the method provided in the embodiments of the present application, the present application also provides a computer-readable medium, which stores a program code. The computer program code is used to implement the method in the above method embodiments of the present application, or in other words, when the program code runs on a computer, the computer executes the method in the above method embodiments.
[0281] According to the method provided in the embodiments of the present application, the present application also provides a system, which includes the aforementioned first device and / or second device.
[0282] As used herein, the term "at least one of" or "at least one item of" refers to all or any combination of the listed items. For example, "at least one of A, B, and C" can mean: A alone, B alone, C alone, A and B together, B and C together, and A, B, and C together. As used herein, "at least one" means one or more. "More than one" means two or more.
[0283] The term "and / or" in this document simply describes a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. Additionally, the character " / " in this document generally indicates that the related objects are in an "or" relationship.
[0284] It should be understood that in the various embodiments of the present application, "B corresponding to A" means that B is associated with A and can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information. The terms "include," "comprising," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized.
[0285] It should be understood that in various embodiments of the present application, the first, second, and various numerical numbers are merely distinctions for ease of description and are not intended to limit the scope of the embodiments of the present application.
[0286] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0287] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0288] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0289] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0290] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0291] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0292] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A communication method, characterized in that: include: Generate a data packet, the data packet including port information, the port information is used to indicate the transmission priority of the network abstraction layer unit NALU in the data packet, and the port information is carried in the frame header of the transport layer of the data packet; The data packet is sent.
2. A communication method, characterized in that: include: Receive a data packet, the data packet including port information, the port information being used to indicate a transmission priority of a network abstraction layer unit NALU in the data packet, the port information being carried in a frame header of a transport layer of the data packet; The data packet is sent.
3. The method according to claim 1 or 2, characterized in that The data packet also includes a service identifier, and the service identifier corresponds to the port information.
4. The method according to claim 3, characterized in that The service identifier is obtained by mapping the port information according to the first frame classifier.
5. The method according to claim 4, characterized in that The first frame classifier is defined according to at least one parameter, the at least one parameter including the port information.
6. The method according to claim 1 or 2, characterized in that: The data packet also includes a differentiated services code point DSCP value, and the DSCP value corresponds to the port information.
7. The method according to any one of claims 1 to 6, characterized in that The transmission priority is at least one of the following: Network abstraction layer reference indication NRI information, NRI extension information.
8. The method according to any one of claims 1 to 7, characterized in that The protocol used by the transport layer is the Transmission Control Protocol TCP or the User Datagram Protocol UDP.
9. The method according to any one of claims 1 to 8, characterized in that The sending of the data packet comprises: The data packet is sent according to the transmission priority.
10. A communication device, characterized in that: include: A processing unit, configured to generate a data packet, wherein the data packet includes port information, wherein the port information is used to indicate a transmission priority of a network abstraction layer unit NALU in the data packet, and the port information is carried in a frame header of a transport layer of the data packet; The transceiver unit is used to send the data packet.
11. A communication device, characterized in that: include: A transceiver unit, used for receiving a data packet, wherein the data packet includes port information, wherein the port information is used for indicating a transmission priority of a network abstraction layer unit NALU in the data packet, and the port information is carried in a frame header of a transport layer of the data packet; The transceiver unit is further used to send the data packet.
12. The device according to claim 10 or 11, characterized in that The data packet also includes a service identifier, and the service identifier corresponds to the port information.
13. The device according to claim 12, characterized in that The service identifier is obtained by mapping the port information according to the first frame classifier.
14. The device according to claim 13, characterized in that The first frame classifier is defined according to at least one parameter, the at least one parameter including the port information.
15. The device according to claim 10 or 11, characterized in that The data packet also includes a differentiated services code point DSCP value, and the DSCP value corresponds to the port information.
16. The device according to any one of claims 10 to 15, characterized in that The transmission priority is at least one of the following: Network abstraction layer reference indication NRI information, NRI extension information.
17. The device according to any one of claims 10 to 16, characterized in that The protocol used by the transport layer is the Transmission Control Protocol TCP or the User Datagram Protocol UDP.
18. The device according to any one of claims 10 to 17, characterized in that The transceiver unit is specifically used for: The data packet is sent according to the transmission priority.
19. A communication device, characterized in that: include: A processor, the processor is coupled to a memory, the memory is used to store instructions, and the processor is used to execute the instructions so that the communication device performs the method as claimed in any one of claims 1, 3 to 9, or so that the communication device performs the method as claimed in any one of claims 2 to 9.
20. A computer-readable storage medium, characterized in that: Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1, 3 to 9, or comprising instructions for implementing the method according to any one of claims 2 to 9.
21. A chip, characterized in that: include: A processor and an interface, used to call from a memory and run a computer program stored in the memory to execute the method as claimed in any one of claims 1, 3 to 9, or to execute the method as claimed in any one of claims 2 to 9.
22. A computer program product, characterized in that The method comprises a computer program code, wherein the computer program code is used to implement the method according to any one of claims 1, 3 to 9, or to implement the method according to any one of claims 2 to 9.
Citation Information
Patent Citations
Video transmission method and device
CN108174239A
Method and apparatus for transmitting a multimedia data packet
US20130301656A1
Methods and systems for packet differentiation
US20150229970A1
