Data transmission method, device and system
By simplifying the MAC layer processing steps of the wireless communication protocol stack in the smart cockpit scenario, using the first information to indicate services and resources, efficient data transmission between on-board equipment and non-board equipment is realized, and the problem of low data transmission efficiency in the prior art is solved.
Patent Information
- Application Number
- CN202411765536.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-29
- Publication Date
- 2025-04-22
AI Technical Summary
In the smart cockpit scenario, the existing wireless communication technology cannot meet the differentiated service transmission needs of both on-board equipment and non-board equipment, resulting in low data transmission efficiency.
By simplifying the processing steps of the MAC layer between the first communication device (such as a CDC) and the second communication device (such as a vehicle-mounted device or a non-vehicle-mounted device), wireless transmission of data is achieved using the first information to indicate services and resources. The specific steps include the first communication device sending instructions to the second communication device, the MAC layer of the second communication device transmits data through the transmission, and transmits the received data through the transmission at the receiving end.
The processing steps of the MAC layer of the transmitter and receiver are simplified, data transmission efficiency is improved, and differentiated service transmission needs of on-board equipment and non-board equipment in smart cockpit scenarios can be more effectively met.
Smart Images

Figure CN119865858A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202080100264.8, and the original application date is April 29, 2020. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a data transmission method, device and system. Background Art
[0003] Vehicles are playing an increasingly important role in people's daily lives. With the continuous development of smart cockpit technology, vehicles are not only a means of transportation, but also a space for people to live in. People expect smart cockpits to provide people with richer entertainment, audio, video and office experiences.
[0004] At present, the connection devices involved in the smart cockpit mainly include cockpit domain controller (CDC) (or car machine) and in-vehicle equipment, among which in-vehicle equipment can be divided into on-board equipment and non-on-board equipment. Among them, on-board equipment may include audio and video equipment such as speakers and microphones, as well as on-board screens. Non-on-board equipment may include smart terminals such as mobile phones and tablets. Among them, CDC is mainly connected to the on-board equipment in the car by wired means, which has the problems of difficult wiring and space occupation. In addition, CDC can also communicate with on-board equipment or non-on-board equipment using wireless communication technologies such as Bluetooth or wireless fidelity (WIFI). However, the protocol stack of existing wireless communication technology generally performs more complex protocol stack processing on data packets to adapt to the transmission requirements of different business types in wireless communication scenarios. However, for the relatively single data services in the smart cockpit scenario, the processing steps of the protocol stack in the existing wireless communication technology are too complicated to simultaneously meet the differentiated business transmission requirements of on-board equipment and non-on-board equipment, and the data transmission efficiency is relatively low. Summary of the invention
[0005] The present application provides a data transmission method, device and system to improve the data transmission efficiency in a smart cockpit scenario.
[0006] In a first aspect, an embodiment of the present application provides a data transmission method, which can be executed by a first communication device or by a component of the first communication device (such as a processor, a chip, or a chip system, etc.). The first communication device can be a CDC.
[0007] The following description is made by taking the execution subject as the first communication device as an example. According to the method, the first communication device may send first information to the second communication device. The first information is used to indicate a first service and a first resource corresponding to the first service. The first resource can be used by the second communication device to send first data to the first communication device, and the first data belongs to the first service. The media access control (MAC) layer of the first communication device may obtain the first data and transparently transmit the first data to the upper layer.
[0008] By adopting the above method, the first communication device can indicate the first service and the first resource corresponding to the first service to the second communication device. When the second communication device needs to send the first data of the first service, the MAC layer of the second communication device can transparently transmit the data of the first service. Correspondingly, when the first communication device receives the first data of the first service, the MAC layer of the first communication device transparently transmits the first data. Therefore, while realizing the wireless transmission of the data of the first service between the master node and the slave node, compared with the wireless communication protocol in the prior art, the processing steps of the MAC layer of the sending end and the receiving end are simplified, which can improve the data transmission efficiency.
[0009] In one possible design, the upper layer is a logical link control layer (LLC) layer, a network and transport layer, a device layer or an application of the first communication device.
[0010] In one possible design, a physical (PHY) layer of the first communication device may receive the first data from the second communication device on the first resource. Thereafter, the PHY layer of the first communication device may deliver the first data and indication information of the first resource to the MAC layer of the first communication device.
[0011] In a possible design, the MAC layer of the first communication device may also determine that the first data belongs to the first service, and then transparently transmit the first data to an upper layer.
[0012] In one possible design, the MAC layer of the first communication device may determine that the first data belongs to the first service based on the indication information of the first resource and the correspondence between the first resource and the first service. The indication information of the first resource comes from the PHY layer of the first communication device. For example, the indication information of the first resource is carried in an inter-layer primitive (service access point, SAP) from the PHY layer.
[0013] In one possible design, the MAC layer of the first communication device may deliver a PHY service data unit (SDU) from the PHY layer of the first communication device to the LLC layer of the first communication device. Alternatively, the MAC layer of the first communication device may deliver a PHY SDU from the PHY layer of the first communication device to the device layer. Alternatively, the MAC layer of the first communication device delivers a PHY SDU from the PHY layer of the first communication device to an application. The PHY SDU corresponds to the first data. Specifically, the PHY SDU is the first data.
[0014] In one possible design, the first information is also used to instruct the MAC layer of the second communication device to transparently transmit the first data to the PHY layer of the second communication device.
[0015] Specifically, the first information may be used to instruct the MAC layer of the second communication device to transfer a MAC protocol data unit (PDU) to the PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data.
[0016] In one possible design, the first information may include at least one of type information of the first service, priority information of the first service, or quality of service (QoS) information of the first service to indicate the first service.
[0017] In one possible design, the first communication device may also send second information to the second communication device, where the second information is used to activate the first resource or to activate the transmission of the first service. The second information includes at least one of configuration information of the first resource, type information of the first service, priority information of the first service, or quality of service (QoS) information of the first service.
[0018] In one possible design, if the first resource is a semi-static resource, the configuration information of the first resource may include a semi-static scheduling identifier.
[0019] In one possible design, the LLC layer of the first communication device may deliver a MAC SDU from the MAC layer of the first communication device to the network and transport layer of the first communication device. The MAC SDU corresponds to the first data. Specifically, the MAC SDU is the first data.
[0020] In one possible design, the MAC layer of the first communication device may send third information to the LLC layer of the first communication device, and the third information may be used to instruct the LLC layer of the first communication device to transparently transmit the first data to the network and transport layers of the first communication device.
[0021] In one possible design, the network and transport layer of the first communication device may deliver an LLC SDU from the LLC layer of the first communication device to the device layer of the first communication device, and the LLC SDU corresponds to the first data. Specifically, the LLC SDU is the first data.
[0022] In one possible design, the LLC layer of the first communication device may send fourth information to the network and transport layer of the first communication device, and the fourth information is used to instruct the network and transport layer of the first communication device to transparently transmit the first data to the device layer of the first communication device. The fourth information may be carried in the SAP sent by the LLC layer of the first communication device to the network and transport layer of the first communication device.
[0023] In a second aspect, an embodiment of the present application provides a data transmission method. The method can be performed by a second communication device, or by a component of the second communication device (such as a processor, a chip, or a chip system, etc.). The second communication device can be a vehicle-mounted device, such as a speaker, a microphone, etc., or a non-carrying device, such as a wearable device, etc.
[0024] Taking the second communication device as an example, according to the method, the second communication device can receive the first information from the first communication device. The first information is used to indicate the first service and the first resource corresponding to the first service, and the first resource is used by the second communication device to send the first data to the first communication device. The first data belongs to the first service. The MAC layer of the second communication device can obtain the first data from the upper layer and transparently transmit the first data to the PHY layer of the second communication device.
[0025] In one possible design, the PHY layer of the second communication device may send the first data to the first communication device on the first resource.
[0026] In one possible design, the upper layer is the LLC layer, network and transport layer, device layer or application of the second communication device.
[0027] In one possible design, the MAC layer of the second communication device determines that the first data belongs to the first service, and then transparently transmits the first data to the PHY layer of the second communication device.
[0028] In one possible design, the MAC layer of the second communication device may determine that the first data belongs to the first service based on the indication information of the first service, wherein the indication information of the first service may come from the upper layer of the second communication device.
[0029] In one possible design, the MAC layer of the second communication device may obtain an LLC PDU from the LLC layer of the second communication device, and the LLC PDU corresponds to the first data. Specifically, the LLC PDU is the first data. Alternatively, the MAC layer of the second communication device may obtain a device layer PDU from the device layer of the second communication device, and the device layer PDU corresponds to the first data. Specifically, the device layer PDU is the first data. Alternatively, the MAC layer of the second communication device may obtain application data from an application of the second communication device, and the application data corresponds to the first data. Specifically, the application data is the first data.
[0030] In a possible design, the first information may also be used to instruct the MAC layer of the second communication device to transparently transmit the first data to the PHY layer of the second communication device.
[0031] In a possible design, the MAC layer of the second communication device may transfer a MAC PDU to the PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data. Specifically, the MAC SDU is the first data.
[0032] Specifically, the first information may instruct the MAC layer of the second communication device to transfer a MAC PDU to the PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU. The MAC SDU includes the first data. Specifically, the MAC SDU is the first data.
[0033] In one possible design, the first information may include at least one of type information of the first service, priority information of the first service, or quality of service QoS information of the first service. At least one of the type information of the first service, the priority information of the first service, or the QoS information of the first service is used to indicate the first service.
[0034] In one possible design, the second communication device may also receive second information from the first communication device, and the second information may be used to activate the first resource or to activate the transmission of the first service. The second information may include at least one of configuration information of the first resource, type information of the first service, priority information of the first service, or QoS information of the first service.
[0035] In a possible design, if the first resource is a semi-static resource, the configuration information of the first resource is a semi-static scheduling identifier.
[0036] In one possible design, the network and transport layer of the second communication device may pass the device layer PDU from the device layer of the second communication device to the LLC layer of the second communication device. The device layer PDU of the second communication device corresponds to the first data, and the device layer PDU only includes the device layer SDU. Specifically, the device layer PDU is the first data.
[0037] In one possible design, the device layer of the second communication device may send fifth information to the network and transport layer of the second communication device, and the fifth information may be used to instruct the network and transport layer of the second communication device to transparently transmit the first data to the LLC layer of the second communication device.
[0038] In one possible design, the LLC layer of the second communication device may pass an LLC PDU from the network and transport layers of the second communication device to the MAC layer of the second communication device, wherein the LLC PDU corresponds to the first data and only includes an LLC SDU. Specifically, the LLC PDU is the first data.
[0039] In one possible design, the network and transport layer of the second communication device may send sixth information to the LLC layer of the second communication device, and the sixth information may be used to instruct the LLC layer of the second communication device to transparently transmit the first data to the MAC layer of the second communication device.
[0040] In a third aspect, a communication device is provided. The communication device may be a first communication device, or a chip or module in the first communication device, or a chip or a system on chip.
[0041] The communication device may include a receiving module and a processing module. The communication module may be used to support the communication device to communicate, and the communication module may also be referred to as a communication unit, a communication interface, a transceiver module or a transceiver unit. The communication module may also be configured to include a PHY layer, a MAC layer, an LLC layer, a network and transport layer, a device layer or an application. The processing module may be used to support the communication device to perform the processing action performed by the first communication device in the method of the first aspect or any possible design of the first aspect.
[0042] Specifically, the communication module can be used to send first information to the second communication device. The first information is used to indicate a first service and a first resource corresponding to the first service. The first resource can be used by the second communication device to send first data to the communication device, and the first data belongs to the first service. The MAC layer of the communication module can obtain the first data and transparently transmit the first data to the upper layer.
[0043] In one possible design, the upper layer is the logical link control layer LLC layer, the network and transport layer, the device layer or the application of the communication module.
[0044] In one possible design, the PHY layer of the communication module may receive the first data from the second communication device on the first resource. Thereafter, the PHY layer of the communication module may submit the first data and indication information of the first resource to the MAC layer of the communication module.
[0045] In a possible design, the MAC layer of the communication module may also determine that the first data belongs to the first service, and then transparently transmit the first data to an upper layer.
[0046] In one possible design, the MAC layer of the communication module can determine that the first data belongs to the first service based on the indication information of the first resource and the correspondence between the first resource and the first service. The indication information of the first resource comes from the PHY layer of the communication module. For example, the indication information of the first resource is carried in the SAP from the PHY layer of the communication module.
[0047] In a possible design, the MAC layer of the communication module may deliver the PHY SDU from the PHY layer of the communication module to the LLC layer of the communication module. Alternatively, the MAC layer of the communication module may deliver the PHY SDU from the PHY layer of the communication module to the device layer. Alternatively, the MAC layer of the communication module delivers the PHY SDU from the PHY layer of the communication module to the application. The PHY SDU corresponds to the first data. Specifically, the PHY SDU is the first data.
[0048] In one possible design, the first information is also used to instruct the MAC layer of the second communication device to transparently transmit the first data to the PHY layer of the second communication device.
[0049] Specifically, the first information may be used to instruct the MAC layer of the second communication device to transfer a MAC PDU to a PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data.
[0050] In one possible design, the first information may include at least one of type information of the first service, priority information of the first service, or QoS information of the first service to indicate the first service.
[0051] In one possible design, the communication module may also send second information to the second communication device, where the second information is used to activate the first resource or to activate the transmission of the first service. The second information includes at least one of configuration information of the first resource, type information of the first service, priority information of the first service, or quality of service (QoS) information of the first service.
[0052] In one possible design, if the first resource is a semi-static resource, the configuration information of the first resource may include a semi-static scheduling identifier.
[0053] In a possible design, the LLC layer of the communication module can deliver the MAC SDU from the MAC layer of the communication module to the network and transport layer of the communication module. The MAC SDU corresponds to the first data. Specifically, the MAC SDU is the first data.
[0054] In one possible design, the MAC layer of the communication module may send third information to the LLC layer of the communication module, and the third information may be used to instruct the LLC layer of the communication module to transparently transmit the first data to the network and transport layers of the communication module.
[0055] In a possible design, the network and transport layer of the communication module may deliver an LLC SDU from the LLC layer of the communication module to the device layer of the communication module, and the LLC SDU corresponds to the first data. Specifically, the LLC SDU is the first data.
[0056] In one possible design, the LLC layer of the communication module may send fourth information to the network and transport layer of the communication module, and the fourth information is used to instruct the network and transport layer of the communication module to transparently transmit the first data to the device layer of the communication module. The fourth information may be carried in the SAP sent by the LLC layer of the communication module to the network and transport layer of the communication module.
[0057] In a fourth aspect, a communication device is provided. The communication device may be a second communication device, or a chip or module in the second communication device, or a chip or a system on chip.
[0058] The communication device may include a receiving module and a processing module. The communication module may be used to support the communication device to communicate, and the communication module may also be referred to as a communication unit, a communication interface, a transceiver module or a transceiver unit. The communication module may also be configured to include a PHY layer, a MAC layer, an LLC layer, a network and transport layer, a device layer or an application, and is used to perform the steps performed by the PHY layer, the MAC layer, the LLC layer, the network and transport layer, the device layer or the application in the method described in the second aspect or any possible design of the second aspect. The processing module may be used to support the communication device to perform the processing actions performed by the first communication device in the method described in the second aspect or any possible design of the second aspect.
[0059] Specifically, the communication module can be used to receive first information from a first communication device. The first information is used to indicate a first service and a first resource corresponding to the first service, and the first resource is used by the communication device to send first data to the first communication device. The first data belongs to the first service. The MAC layer of the communication module can obtain the first data from the upper layer and transparently transmit the first data to the PHY layer of the communication module.
[0060] In one possible design, the PHY layer of the communication module may send the first data to the first communication device on the first resource.
[0061] In one possible design, the upper layer is the LLC layer, network and transport layer, device layer or application of the communication module.
[0062] In one possible design, the MAC layer of the communication module determines that the first data belongs to the first service, and then transparently transmits the first data to the PHY layer of the communication module.
[0063] In a possible design, the MAC layer of the communication module can determine that the first data belongs to the first service based on the indication information of the first service. The indication information of the first service can come from the upper layer of the communication module.
[0064] In one possible design, the MAC layer of the communication module may obtain an LLC PDU from the LLC layer of the communication module, and the LLC PDU corresponds to the first data. Specifically, the LLC PDU is the first data. Alternatively, the MAC layer of the communication module may obtain a device layer PDU from the device layer of the communication module, and the device layer PDU corresponds to the first data. Specifically, the device layer PDU is the first data. Alternatively, the MAC layer of the communication module may obtain application data from an application module of the communication module, and the application data corresponds to the first data. Specifically, the application data is the first data.
[0065] In one possible design, the first information may also be used to instruct the MAC layer of the communication module to transparently transmit the first data to the PHY layer of the communication module.
[0066] In a possible design, the MAC layer of the communication module may transfer a MAC PDU to the PHY layer of the communication module, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data. Specifically, the MAC SDU is the first data.
[0067] Specifically, the first information may instruct the MAC layer of the communication module to transfer a MAC PDU to the PHY layer of the communication module, wherein the MAC PDU only includes a MAC SDU. The MAC SDU includes the first data. Specifically, the MAC SDU is the first data.
[0068] In one possible design, the first information may include at least one of type information of the first service, priority information of the first service, or quality of service QoS information of the first service. At least one of the type information of the first service, the priority information of the first service, or the QoS information of the first service is used to indicate the first service.
[0069] In one possible design, the communication module may also receive second information from the first communication device, and the second information may be used to activate the first resource or to activate the transmission of the first service. The second information may include at least one of configuration information of the first resource, type information of the first service, priority information of the first service, or QoS information of the first service.
[0070] In a possible design, if the first resource is a semi-static resource, the configuration information of the first resource is a semi-static scheduling identifier.
[0071] In one possible design, the network and transport layer of the communication module can pass the device layer PDU from the device layer of the communication module to the LLC layer of the communication module. The device layer PDU of the communication module corresponds to the first data, and the device layer PDU only includes the device layer SDU. Specifically, the device layer PDU is the first data.
[0072] In one possible design, the device layer of the communication module may send fifth information to the network and transport layer of the communication module, and the fifth information may be used to instruct the network and transport layer of the communication module to transparently transmit the first data to the LLC layer of the communication module.
[0073] In one possible design, the LLC layer of the communication module can pass the LLC PDU from the network and transport layers of the communication module to the MAC layer of the communication module, the LLC PDU corresponding to the first data, and the LLC PDU only includes the LLC SDU. Specifically, the LLC PDU is the first data.
[0074] In one possible design, the network and transport layer of the communication module may send sixth information to the LLC layer of the communication module, and the sixth information may be used to instruct the LLC layer of the communication module to transparently transmit the first data to the MAC layer of the communication module.
[0075] In a fifth aspect, an embodiment of the present application provides a device that can implement the method in the first aspect or any possible implementation of the first aspect. The device includes corresponding units or components for executing the above method. The units included in the device can be implemented by software and / or hardware. The device can be, for example, a terminal device, or a chip, a chip system, or a processor that can support the terminal device to implement the above method.
[0076] In a sixth aspect, an embodiment of the present application provides a device, comprising: a processor, the processor being coupled to a memory, the memory being used to store programs or instructions, and when the programs or instructions are executed by the processor, the device implements the method described in the above-mentioned first aspect, or any possible implementation method of the first aspect.
[0077] In a seventh aspect, an embodiment of the present application provides a device that can implement the method in the second aspect or any possible implementation of the second aspect. The device includes corresponding units or components for executing the above method. The units included in the device can be implemented by software and / or hardware. The device can be, for example, a terminal device, or a chip, a chip system, or a processor that can support the terminal device to implement the above method.
[0078] In an eighth aspect, an embodiment of the present application provides a device, comprising: a processor, the processor being coupled to a memory, the memory being used to store programs or instructions, and when the programs or instructions are executed by the processor, the device implements the method described in the above-mentioned second aspect, or any possible implementation method of the second aspect.
[0079] In a ninth aspect, an embodiment of the present application provides a communication system, which may include the communication device shown in the third, fifth or sixth aspect, and the communication device shown in the fourth, seventh or eighth aspect.
[0080] In the tenth aspect, an embodiment of the present application provides a computer-readable medium having a computer program or instructions stored thereon, which, when executed, enables the computer to execute the method described in the first aspect or any possible implementation of the first aspect.
[0081] In the eleventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program code. When the computer program code is run on a computer, it enables the computer to execute the method described in the above-mentioned first aspect or any possible implementation of the first aspect.
[0082] In the twelfth aspect, an embodiment of the present application provides a chip, comprising: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip implements the method described in the above-mentioned first aspect, or any possible implementation method of the first aspect.
[0083] The technical effects that can be achieved in the second to twelfth aspects can be found in the above analysis and description of the first aspect and various possible designs in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0084] Figure 1 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
[0085] Figure 2 A schematic diagram of the architecture of a protocol stack provided in an embodiment of the present application;
[0086] Figure 3 A flowchart of a data transmission method provided in an embodiment of the present application;
[0087] Figure 4 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;
[0088] Figure 5 A schematic diagram of the structure of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0089] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings.
[0090] In order to facilitate understanding of the technical solution of the present application, the technical terms involved in the present application are briefly introduced below.
[0091] (1) Cockpit domain controller
[0092] Cockpit domain controller (CDC) is referred to as vehicle computer. At present, vehicle computer can communicate with other vehicle-mounted devices to realize functions including but not limited to traditional radio, music and video playback, navigation broadcast, etc. In addition, vehicle computer can also have cellular communication functions, such as the third-generation mobile communication technology (3rd-generation, 3G), the fourth-generation mobile communication technology (the 4th generation mobile communication technology, 4G), etc., as well as vehicle information service (telematics) functions, to realize information communication between people and vehicles, vehicles and the outside world, and enhance user experience and service, safety-related functions.
[0093] (2) Master node and slave node
[0094] Master nodes and slave nodes refer to two types of nodes that are distinguished in terms of logical functions. Among them, the master node manages the slave nodes, has resource allocation capabilities or resource scheduling capabilities, and is responsible for allocating time and frequency resources to the slave nodes; the slave nodes obey the allocation of the master node and use the time and frequency resources allocated by the master node for communication. It should be noted that the attribute characteristics of the master node and the slave node may change. For example, when the smart terminal communicates with the headset, the smart terminal is the master node and the headset is the slave node; however, when the smart terminal accesses a higher priority device, such as CDC, and obeys the CDC scheduling, the role attribute of the smart terminal is changed to a slave node.
[0095] There are two scenarios for the allocation of time-frequency resources. One is that the master node establishes a connection with the slave node, and dynamically or semi-dynamically allocates or schedules time-frequency resources for the slave node. The other is that the master node establishes a connection with the slave node, and the master node only allocates a resource pool to the slave node, and the slave node directly obtains time-frequency resources from the resource pool for communication. The connection mentioned here refers to the process of establishing a connection between the slave node and the master node, and the existence of the slave node is known to the master node.
[0096] (3) Isolated nodes
[0097] An isolated node is a node that has no connection with the master node and directly obtains time and frequency resources from a preconfigured resource pool or other resource pools (for example, a resource pool configured for isolated nodes included in the master node system broadcast message) to communicate with other terminal devices. Generally, the communication between isolated nodes is unknown to the master node.
[0098] (4) Communication domain
[0099] The communication domain includes a master node and at least one slave node. The at least one slave node establishes a communication connection with the master node. The master node allocates or schedules time-frequency resources for the at least one slave node. Each slave node communicates with the master node using the scheduled or allocated time-frequency resources.
[0100] (5) Communication domain type
[0101] In the smart cockpit environment, there may be multiple different communication domains, and different communication domains may contain different node types, node capabilities, node attributes, and carried services. For example, CDC can be used as a master node to dispatch vehicle audio and video devices. In this case, CDC is the master node and the vehicle audio and video devices are slave nodes. CDC and at least one vehicle audio and video device can form a communication domain, called a CDC domain or a vehicle domain; a mobile phone can be used as a master node to dispatch smart wearable devices. In this case, the smart wearable devices are slave nodes. The mobile phone and the smart wearable devices can form a communication domain, called a mobile phone domain. The CDC domain and the mobile phone domain correspond to two different communication domain types.
[0102] (6) Communication domain priority
[0103] Different communication domains may have different priorities, so that the communication domain with a high priority can be guaranteed to obtain time and frequency resources first, thereby giving priority to guaranteeing the service transmission of the communication domain. Schematically, compared with the mobile phone domain, the CDC domain mainly guarantees the vehicle-mounted equipment service, so the CDC domain can have a higher communication domain priority than the mobile phone domain.
[0104] (7) Open System Interconnection Reference Model (OSI)
[0105] The Open Systems Internet Reference Model (OSI) is a layered network architecture model proposed by the International Organization for Standardization (ISO) in 1984. It defines an abstract structure rather than a description of a specific implementation. Its purpose is to support the interconnection and intercommunication of heterogeneous network systems.
[0106] The OSI reference model can include 7 layers, namely application layer 7, presentation layer 6, session layer 5, transport layer 4, network layer 3, data link layer (DDL) 2, and physical layer 1. Each layer has its own set of functions and interacts with adjacent layers. The following is a detailed introduction to each layer in the OSI reference model:
[0107] Physical layer 1: Uses the transmission medium to provide a physical connection for the data link layer to achieve transparent transmission of bit streams. Generally, the physical layer performs channel coding to ensure the reliability of data transmission;
[0108] Data Link Layer 2: Ensures reliable data transmission on the physical link. Data or instructions are encapsulated into specific frames that can be transmitted by the physical layer; optionally, DDL also includes access control, resource management, data segmentation, cascading, error correction and other functions;
[0109] Network layer 3: responsible for routing, thus determining the path between two nodes. Optionally, the network layer can also perform flow control;
[0110] Transport layer 4: responsible for providing network lines, i.e. transmission paths, for the session layer;
[0111] Session layer 5: responsible for establishing, maintaining and terminating sessions between two nodes;
[0112] Presentation layer 6: Responsible for encoding or decoding data, thereby converting the data into a format that is compatible or suitable for transmission; optionally, the presentation layer can decrypt and encrypt data;
[0113] Application layer 7: responsible for providing services for application programs (also called applications);
[0114] In the OSI 7-layer model, each layer provides services to the layer above it and provides an access interface or interface to the layer above it, which is called the inter-layer primitive (service access point, SAP). Specifically, the interface is located between each pair of adjacent layers, and it defines the inter-layer primitive operations and the services provided by the lower layer to the upper layer.
[0115] like Figure 1 The figure is a schematic diagram of a communication scenario provided in an embodiment of the present application.
[0116] Figure 1 In the communication scenario, the CDC mainly involves the communication between the vehicle-mounted devices (for example, vehicle-mounted audio and video devices such as microphones, speakers, and screens) or non-vehicle-mounted devices (such as the user's mobile phone and wearable devices). The CDC and the vehicle-mounted devices can be set inside the vehicle, and the non-vehicle devices can be set inside the vehicle, or can enter or leave the vehicle as the user moves.
[0117] Specifically, a microphone, which may also be called a "microphone", "speaker" or "microphone", can be used to convert sound signals into electrical signals. When making a call or sending a voice message, the microphone can collect the user's voice and then convert the user's voice into an electrical signal, which can then be sent to the CDC or other in-vehicle devices via wired and / or wireless means. In one possible example, at least one microphone may be provided in the vehicle. In other embodiments, two or more microphones may be provided in the vehicle, which, in addition to collecting sound signals, can also realize functions such as noise reduction and directional recording.
[0118] Speakers, also known as "loudspeakers" or "horns", are used to convert audio electrical signals into sound signals for playback. Users can listen to music or answer hands-free calls through speakers. Speakers can also work with microphones to achieve noise reduction.
[0119] The screen, or "display screen", can be used to display images, videos, etc. The screen may include a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini LED, a micro LED, a micro OLED, a quantum dot light emitting diode (QLED), etc. In some embodiments, one or more screens may be provided in the vehicle. In addition, the screen may also be a touch screen for obtaining touch operations of the user.
[0120] It should be understood that the above-mentioned vehicle-mounted device may be configured to support wireless communication. For example, the above-mentioned vehicle-mounted device may include a wireless communication module (or wireless transceiver, etc.), or be connected to a wireless communication module.
[0121] The non-vehicle device may be a terminal, a mobile station (MS), a mobile terminal, a wearable device, or a chip, a chip system, or other devices in these devices. The first communication device and / or the second communication device can communicate with one or more network devices of one or more communication systems, and accept network services provided by the network devices, where the network devices include but are not limited to the CDC shown in the figure, and may also be a base station, etc. For example, the first communication device and / or the second communication device in the embodiment of the present application may be a mobile phone (or a "cellular" phone), a computer with a mobile terminal, an intelligent vehicle, a vehicle-related intelligent device (such as a vehicle-mounted device in the field of unmanned driving), a wearable device, etc. The first communication device and / or the second communication device may also be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device. The non-vehicle device may also be a communication chip with a communication module. The non-vehicle device may be configured to support wireless communication, for example, the non-vehicle device may include a wireless communication module, or be connected to a wireless communication module.
[0122] like Figure 2 As shown, it is a protocol stack architecture in the existing wireless communication technology. It can be seen that the protocol stack architecture may include protocol layers such as device layer, network and transport layer, access layer, etc.
[0123] Among them, the access layer can provide a communication interface / means for communication between nodes. The access layer may include a variety of different access technologies. Different access technologies may correspond to different communication interfaces, such as cellular interfaces, WIFI interfaces, etc.
[0124] Among them, optionally, the access layer corresponds to the physical layer 1 and data link layer 2 in the open system Internet OSI model defined by ISO; the data link layer is subdivided into: a logical link control (LLC) layer and a media access control (MAC) layer (or media access layer).
[0125] Since there may be different network and / or transmission protocols in the network layer, the LLC layer, which may also be called the adaptation layer, can be used to provide transmission adaptation functions between different network and / or transmission protocols. For example, it receives a data packet from the bottom layer (the protocol layer below the LLC layer), distinguishes the protocol type of the upper layer (the protocol layer above the LLC layer) to which the data packet belongs, and submits (or transfers) the data packet to the corresponding upper layer protocol for processing. It should be noted that the LLC layer is a logical function layer, which can also be included in the network and transport layers in implementation, and the present invention is not limited to this.
[0126] The network and transport layers are located above the access layer and are used to establish connections between source nodes and destination nodes and provide reliable end-to-end data transmission services; optionally, the network and transport layers correspond to the network layer 3 and transport layer 4 in the OSI model defined by ISO;
[0127] The device layer is located above the network and transport layers and is used to provide application support to users. Optionally, the device layer is also used to provide session / communication support and / or information support to users. Optionally, the device layer corresponds to the session layer 5, presentation layer 6, and application layer 7 in the OSI model defined by ISO.
[0128] It should be understood that the upper layer of the protocol layer in the present application refers to any protocol layer above the protocol layer, for example, the upper layer of the LLC layer may be a network and transport layer or a device layer. The process of transmitting a data packet from the upper layer to the lower layer may be referred to as delivery. The process of transmitting a data packet from the lower layer to the upper layer may be referred to as submission.
[0129] like Figure 2 As shown, information can be exchanged between protocol layers through SAP, and the lower layer provides services for the upper layer. According to the existing wireless communication technology, at each protocol layer, the data packet transmitted by the upper layer needs to be marked with a corresponding data packet header, so as to facilitate the parsing of the peer layer of the opposite device. For example, the MAC layer of the sending device adds a MAC layer header to the data packet, and the MAC header needs to be parsed at the MAC of the receiving device. In this application, for the data packet transmitted from the upper layer, before the header is added, the data packet can be called a service data unit (SDU), and after the header is added, it is called a protocol data unit (PDU). For example, the data packet transmitted by LLC received by the MAC layer can be called a MAC SDU (also called LLC PDU). After the MAC adds a header to the data packet, the data packet with the added header can be called a MAC PDU; on the contrary, at the receiving end, the MAC can remove the header of the received MAC PDU (also called PHY SDU), obtain the MAC SDU, and submit the MAC SDU to the upper layer.
[0130] It can be understood that at the sending end, if the layer performs transparent transmission of data, the PDU generated by this layer only contains SDU. Among them, for the sending end of the data, transparent transmission means that the protocol layer does not encapsulate the header of the SDU of this layer (also called the upper layer PDU) from the upper layer, and directly passes the SDU of this layer as the PDU of this layer to the lower layer. Transparent transmission can also be called transparent transmission or pass-through. It can be understood that transparent transmission means that in communication, the content of the service data is not changed, such as segmenting, cascading, splicing, reordering, adding headers, etc., and the original content is transmitted from the source address to the destination address.
[0131] At the receiving end of the data, transparent transmission means that the protocol layer does not decapsulate the lower layer SDU (also called the current layer PDU) submitted by the lower layer, and directly submits the current layer PDU as the current layer SDU to the upper layer.
[0132] Optionally, during transparent transmission, the protocol layer (such as the MAC layer) at the sending end may encrypt the transmission data, and the protocol layer (such as the MAC layer) at the receiving end may decrypt the data. The algorithms and parameters used for encryption and decryption may be pre-agreed by the sending end and the receiving end or defined in the protocol.
[0133] Optionally, during transparent transmission, the protocol layer at the sending end may add a cyclic redundancy check (CRC) check code to the transmitted data, which is used by the corresponding protocol layer at the receiving end to check the data. The algorithm and parameters used in the CRC check operation may be pre-agreed by the master node and the slave node or defined in the protocol. The CRC check code may be added to the end of the transmitted data.
[0134] In order to improve the efficiency of wireless communication between CDC and vehicle-mounted equipment, or between CDC and non-vehicle-mounted equipment, an embodiment of the present application provides a data transmission method. The method can be performed by a first communication device and a second communication device, wherein the first communication device may include a master node or a component in the master node (such as a chip, a processing circuit, a transceiver, etc.). The second communication device may include a slave node or a component in a slave node (such as a chip, a processing circuit, a transceiver, etc.).
[0135] like Figure 3 As shown, taking the first communication device as a master node and the second communication device as a slave node as an example, the data transmission method may include the following steps:
[0136] S101: The master node sends first information to the slave node.
[0137] Accordingly, the slave node receives first information.
[0138] The first information is used to indicate a first service and a first resource corresponding to the first service. The first resource is used to transmit first data between the master node and the slave node, including that the slave node can send the first data to the master node through the first resource, or the master node can send the first data to the slave node through the first resource. The first data belongs to the first service. Exemplarily, the first resource is used to send the first data from the slave node to the master node, or the master node to the slave node.
[0139] Exemplarily, the first service is an in-vehicle service. In the present application, the in-vehicle service may include services such as audio or video related to in-vehicle equipment.
[0140] Specifically, the first information may include at least one of the type information, priority information or quality of service (QoS) information, and transmission mode information of the first service to indicate the first service. The first information may also include a semi-persistent scheduling (SPS) identifier (ID) and resource index of the first resource to indicate the first resource. The first resource is a wireless transmission resource, i.e., a time-frequency resource.
[0141] Before S101 is implemented, the master node may determine to send the first information to the slave node according to at least one of the type information, priority information or QoS information of the first service. The service type information may be used to indicate the type of service. For example, the service type information may be an application identifier (AID). For example, AID1 may be used to identify the vehicle-mounted active noise reduction service, AID2 may be used to indicate the vehicle-mounted video service (for example, the video transmission service between the vehicle-mounted camera and the CDC), and AID3 may be used to identify the non-vehicle video service (for example, the video projection service between the CDC and the smart terminal). Priority information may be used to indicate the priority of the service. In order to support differentiated transmission based on service type, different priorities may be set for different types of services, thereby ensuring transmission at different layers of the protocol stack, and being able to treat data with different priorities differently, thereby giving priority to ensuring the transmission of high-priority services. QoS information may be used to indicate services with corresponding Qos. It is understandable that different Qos information may be set for different types of services. QoS information may include a QoS flow ID or a QoS index. Each QoS flow ID and each QoS index may be associated with a set of QoS parameters. The QoS parameters may include but are not limited to reliability information, priority information, delay information, at least one of transmission rate and transmission distance.
[0142] The master node may store the information shown in Table 1 or a part of the table in Table 1. Table 1 may specifically include at least one of the type information, priority information or QoS information of the first service. It should be understood that a certain service may be indicated by one of the type information, priority information or QoS information of the service. At this time, there is a one-to-one correspondence between the service and the type information, priority information or QoS information. For example, in Table 1, service 1 may be identified by AID2. In addition, a certain service may also be indicated by multiple information in the type information, priority information or QoS information of the service. For example, in Table 1, the AIDs of service 2 and service 3 are both AID1. Then, service 2 and service 3 may be distinguished in combination with the priority information of the service. For example, AID1 and priority 1 indicate service 2, and AID1 and priority 2 indicate service 3.
[0143] business Type Information Priority Information QoS Information Business 1 AID2 / / Business 2 AID1 Priority 1 / Business 3 AID1 Priority 2 Business 4 / Priority 3 / Business 5 AID3 Priority 1 Qos index 1 Business 4 / / Qos index 2
[0144] Table 1
[0145] As shown in Table 1, when the master node needs to send data to the slave node, it can identify whether the data to be sent is data of the first service based on at least one of the type information, priority information, or QoS information of the stored first service. The type information, priority information, or QoS information of the first service shown in Table 1 can be pre-stored in the master node, or can be sent by the slave node to the master node, so that the master node knows that the first information needs to be configured for the data of the first service.
[0146] Wherein, when the slave node needs to send data to the master node, the master node needs to schedule resources for the slave node. The master node may receive information about the service to which the data to be sent belongs from the slave node, such as at least one of type information, priority information, or QoS information. Based on at least one of the type information, priority information, or QoS information, when the master node determines that the data to be sent by the slave node is data of the first service, the execution of S101 is triggered.
[0147] For example, as shown in Table 1, if the data type information sent from the node to the master node is AID2, the master node determines that the type information of the data is consistent with the type information of the data of service 1 (the first service), and then the master node can determine the first information, that is, execute the step shown in S101.
[0148] It should be understood that when the master node determines that multiple different first services need to be scheduled, the master node can determine different first resources for the first services. The multiple different first services here can be services between the master node and different slave nodes, or different services between the master node and the same slave node, and the services are distinguished by at least one of the service type, priority information, and QoS information.
[0149] As shown in Table 2, the master node may configure different first resources for different multiple first services. The master node may store the correspondence between the first services and the first resources shown in Table 2 or some rows in Table 2. In Table 2, the master node may represent the first service by at least one of type information, priority information, or QoS information.
[0150] First Business First Resource Service 1 (AID2) Resource 1 Service 3 (AID1, priority 2) Resource 2 Service 5 (AID3, priority 1, QoS index 1) Resource 3 …… ……
[0151] Table 2
[0152] Exemplarily, the first information may be used to indicate the first service shown in Table 2 or a portion of rows in Table 2, and the first resource corresponding to the first service.
[0153] S102: Acquire first data from an upper layer from a MAC layer of the slave node.
[0154] The first data corresponds to the first service.
[0155] Specifically, the MAC layer of the slave node may receive the first data from the LLC layer, the network and transport layer, the device layer or the application. In a possible example, the first data is not processed at the LLC layer, the network and transport layer or the device layer, and therefore is directly transparently transmitted from the LLC layer, the network and transport layer or the device layer to the MAC layer.
[0156] The first data may be included in an upper layer PDU (such as LLC PDU) from the upper layer, and the PDU may be called a MAC SDU for the MAC layer.
[0157] Exemplarily, the first data is a PDU from an upper layer.
[0158] S103: The MAC layer of the slave node transparently transmits the first data to the PHY layer of the slave node.
[0159] Specifically, the MAC layer of the slave node may transmit the MAC PDU to the PHY of the slave node, wherein the MAC PDU only includes the MAC SDU. In other words, the MAC layer of the slave node does not perform operations such as segmentation and cascading on the first data from the upper layer, nor does it perform header addition operations, and directly transmits it to the PHY layer.
[0160] Optionally, the MAC layer of the slave node may encrypt the upper layer PDU before transparently transmitting the first data, thereby ensuring the security of information transmission. The algorithm and parameters used for MAC layer encryption may be pre-agreed by the master node and the slave node or defined in the protocol.
[0161] Optionally, the MAC layer may add a CRC check code to the upper layer PDU to perform error control.
[0162] The algorithm and parameters used in the CRC check operation may be pre-agreed between the master node and the slave node or defined in the protocol. The CRC check code may be added to the end of the PDU.
[0163] As an example, before S103 is implemented, the MAC layer of the slave node may also determine that the first data belongs to the first service. For example, the MAC layer of the slave node may receive indication information of the first service from the upper layer, and the indication information of the first service may be used to indicate that the first data belongs to the first service. Specifically, the indication information of the first service may be carried in SAP. The indication information of the first service may specifically be at least one of type information, priority information, or QoS information. When the MAC layer determines that it has received the first data from the upper layer and at least one of type information, priority information, or QoS information, the MAC layer may determine that the first data is data of the first service. Alternatively, before S103 is implemented, the upper layer of the slave node may send first indication information to the MAC layer of the slave node based on the first information, to instruct the MAC layer to transparently transmit the first data. The first indication information may be carried in SAP.
[0164] Exemplarily, after S103, the PHY layer of the slave node may send the first data to the master node via the first resource. Correspondingly, the PHY layer of the master node may receive the first data on the first resource.
[0165] S104: The MAC layer of the master node obtains first data from the PHY layer of the master node.
[0166] Specifically, the PHY layer of the master node may submit a PHY SDU to the MAC layer, and the PHY SDU corresponds to the first data. The PHY SDU corresponds to the first data, which may mean that the PHY SDU is the first data.
[0167] S105: The MAC layer of the master node transparently transmits the first data to the upper layer.
[0168] The upper layer here refers to the LLC layer, network and transport layer, device layer or application of the master node.
[0169] Specifically, the MAC layer of the master node may submit a MAC SDU to the upper layer, and the MAC SDU may only include a PHY SDU. The MAC layer of the master node may submit the MAC PDU to the LLC layer, the network and transport layer, the device layer or the application, or in other words, the MAC layer of the master node submits the PHY SDU from the PHY layer to the LLC layer, the network and transport layer, the device layer or the application.
[0170] Optionally, the MAC layer of the master node may decrypt the PHY SDU before transparently transmitting the first data.
[0171] Optionally, the MAC layer may decode the CRC check code of the PHY SDU. The algorithm and parameters used in the CRC check operation may be pre-agreed by the master node and the slave node or defined in the protocol. The CRC check code may be included at the end of the PHY SDU.
[0172] Thereafter, the upper layer of the master node may process the first data in response. For example, if the first service is an audio service, the application may trigger the playing of the audio after acquiring the first data.
[0173] As an example, before S105 is implemented, the MAC layer of the master node may also determine that the first data belongs to the first service. For example, the MAC layer of the master node may receive indication information of the first service from the PHY layer of the master node, and the indication information of the first service may be used to indicate that the first data belongs to the first service. Specifically, the indication information of the first service may be carried in SAP. The indication information of the first service may specifically be information used to indicate that the first data is received through the first resource, for example, it may be a resource index of the first resource. Alternatively, before S105 is implemented, the PHY layer of the master node may send second indication information to the MAC layer of the master node based on the first resource receiving the first data, to instruct the MAC layer to transparently transmit the first data. The second indication information may be carried in SAP.
[0174] By adopting the steps shown in S101 to S105 above, the master node can indicate the first service and the first resource corresponding to the first service to the slave node. When the slave node needs to send the first data of the first service, the MAC layer of the slave node can transparently transmit the data of the first service. Correspondingly, when the master node receives the first data of the first service, the MAC layer of the master node transparently transmits the first data. Therefore, while realizing the wireless transmission of the data of the first service between the master node and the slave node, compared with the wireless communication protocol in the prior art, the processing steps of the MAC layer are simplified, which can improve the data transmission efficiency.
[0175] In addition, for services other than the first service, the master node and the slave node can use the traditional wireless protocol stack. When sending data, the MAC layer of the slave node can segment, cascade, and add headers to the data packets passed down from the upper layer. At the MAC layer of the master node, it is also necessary to perform operations such as de-heading, splicing, and reordering of the received data packets to obtain data.
[0176] In a possible implementation, the first information involved in S101 can also be used to instruct the MAC layer of the slave node to transparently transmit the first data to the PHY layer of the slave node, or the first information is used to instruct the MAC layer of the slave node to transparently transmit all data of the first service to the PHY layer of the slave node. Therefore, the MAC layer of the slave node can transparently transmit the received first data to the PHY based on the first information. In addition, the MAC layer of the slave node can also default to transparently transmit the data of the first service to the PHY layer as long as the data of the first service is obtained after receiving the first information.
[0177] Further, the first information can be specifically used to instruct the MAC layer of the slave node to pass the MAC PDU to the PHY layer of the slave node, wherein the MAC PDU only includes the MAC SDU, and the MAC SDU includes the first data, or in other words, the MAC SDU is the first data. Therefore, the MAC layer of the slave node can pass the MAC PDU to the PHY layer of the slave node based on the first information. In addition, the MAC layer of the slave node can also default to transparently transmit the MAC PDU corresponding to the data of the first service to the PHY layer as long as the data of the first service is obtained after receiving the first information, wherein the MAC PDU only includes the MAC SDU.
[0178] In another possible implementation, before S102, the master node may further send second information to the slave node. The second information may be used to activate the first resource. In other words, the second information may be used to activate the transmission of data of the first service. After receiving the second information, the slave node may execute the step shown in S102.
[0179] Specifically, the second information may include part or all of the configuration information of the first resource, the type information of the first service, the priority information of the first service, or the QoS information of the first service. The second information may be used to indicate the first service and / or the first resource shown in S101 to indicate the activation of the first resource or the activation of the transmission of the first service. Among them, the configuration information of the first resource can be used to indicate the first resource. For example, if the first resource is a semi-persistent resource, the configuration information of the first resource may include a semi-persistent scheduling (SPS) identifier of the first resource to indicate the first resource. In addition, the configuration information of the first resource may also be information such as a resource index of the first resource.
[0180] Exemplarily, the second information may be carried in the same signaling as the first information. Alternatively, the first information and the second information may be carried in different signalings and sent respectively. For example, the second information may be carried in MAC control element signaling.
[0181] Exemplarily, after receiving the second information, the slave node may send a confirmation response to the master node to indicate receipt of the second information, or to indicate activation of the first resource or activation of the transmission of the data of the first service.
[0182] In one implementation of S102, the network and transport layers of the slave node may pass the device layer PDU from the device layer of the slave node to the LLC layer of the slave node, and then the LLC layer of the slave node passes the LLC PDU to the MAC layer, wherein the device layer PDU only includes the device layer SDU, and the device layer SDU is passed from the application to the device layer. The device layer PDU corresponds to the first data, and specifically, the device layer PDU is the first data. In other words, the network and transport layers of the slave node do not process the device layer PDU, that is, the device layer PDU is transparently transmitted to the LLC layer.
[0183] In this example, the device layer of the slave node may also send fifth information to the network and transport layer of the slave node, and the fifth information is used to instruct the network and transport layer of the slave node to pass the device layer PDU from the device layer of the slave node to the LLC layer of the slave node, or in other words, the fifth information is used to instruct the network and transport layer of the slave node to transparently transmit the data of the first service to the LLC layer of the slave node. The fifth information may be carried in the SAP.
[0184] Further, the LLC layer of the slave node may pass the LLC PDU from the slave node to the MAC layer of the slave node, where the LLC PDU only includes the LLC SDU, wherein the LLC PDU corresponds to the first data, or the LLC PDU is the first data. In other words, the LLC layer of the slave node does not process the LLC PDU, that is, transparently transmits the LLC PDU to the MAC layer.
[0185] In this example, the network and transport layer of the slave node may also send sixth information to the LLC layer. The sixth information may be used to instruct the LLC layer to transparently transmit the first data to the MAC layer.
[0186] In addition, in this example, the first information can also be used to indicate that when the slave node sends the first data, the network and transport layer of the slave node transparently transmits the first data from the device layer of the slave node to the LLC layer of the slave node, and then the LLC layer of the slave node transparently transmits the first data to the MAC layer of the slave node, so that the slave node executes the above implementation method.
[0187] Correspondingly, in the implementation of S105, the MAC layer of the master node may deliver the MAC SDU to the LLC layer of the master node, and thereafter, the LLC layer of the master node may deliver the MAC SDU to the network and transport layer of the master node, wherein the MAC SDU corresponds to the first data, or the MAC SDU is the first data. In other words, the LLC layer of the master node does not process the MAC SDU, that is, transparently transmits the MAC SDU to the network and transport layer.
[0188] In this example, the MAC layer of the master node may send third information to the LLC layer, where the third information is used to instruct the LLC layer of the master node to transparently transmit the first data to the network and transport layers. The third information may be carried in the SAP.
[0189] Further, the network and transport layer of the master node may receive the LLC SDU from the LLC layer of the master node, and deliver the LLC SDU to the device layer of the master node, where the LLC SDU corresponds to the first data, or the LLC SDU is the first data. In other words, the network and transport layer of the master node does not process the LLC SDU, that is, transparently transmits the LLC SDU to the device layer.
[0190] In this example, the LLC layer of the master node may also send fourth information to the network and transport layers of the master node. The fourth information may be used to instruct the network and transport layers of the master node to transparently transmit the first data.
[0191] In the above embodiment, the data transmission method provided by the embodiment of the present application is introduced from the perspective of sending the first data from the slave node to the master node.
[0192] It should be understood that if the master node sends the first data to the slave node, the following steps may be performed after S101:
[0193] S201: The MAC layer of the master node obtains the first data from the upper layer of the master node.
[0194] The specific implementation manner in which the MAC layer of the master node obtains the first data from the upper layer can refer to the above description of the implementation manner of S102, which will not be elaborated here.
[0195] S202: The MAC layer of the master node transparently transmits the first data to the PHY layer of the master node.
[0196] The specific implementation manner in which the MAC layer of the master node transparently transmits the first data to the PHY layer of the master node can refer to the above description of the implementation manner of S103, which will not be elaborated here.
[0197] Before S202, the MAC layer of the master node may also receive indication information of the first service from an upper layer of the master node to indicate that the first data belongs to the first service.
[0198] S203: Acquire first data from the MAC layer of the node.
[0199] The specific implementation method of obtaining the first data from the MAC layer of the node can refer to the above description of the implementation method of S104, which will not be elaborated here.
[0200] S204: Transparently transmit the first data from the MAC layer of the node to the upper layer.
[0201] The specific implementation manner of transparently transmitting the first data from the MAC layer of the node to the upper layer may refer to the above description of the implementation manner of S105, which will not be elaborated here.
[0202] Before S204, the MAC layer of the slave node may also receive indication information of the first resource from the PHY layer of the slave node to indicate that the first data is transmitted through the first resource. Thereafter, the MAC layer of the slave node may determine that the first data belongs to the first service based on the correspondence between the first service indicated by the first information and the first resource.
[0203] By adopting the steps shown in S101 and S201 to S204 above, the master node can indicate the first service and the first resource corresponding to the first service to the slave node. When the master node needs to send the first data of the first service, the MAC layer of the master node can transparently transmit the data of the first service. Correspondingly, when the slave node receives the first data of the first service, the MAC layer of the slave node transparently transmits the first data. Therefore, while realizing the wireless transmission of the data of the first service from the master node to the slave node, compared with the wireless communication protocol in the prior art, the processing steps of the MAC layer are simplified, and the data transmission efficiency can be improved.
[0204] In addition, for services other than the first service, the master node and the slave node can use the traditional wireless protocol stack. When sending data, the MAC layer of the master node can segment, concatenate, and add headers to the data packets passed down from the upper layer. At the MAC layer of the slave node, it is also necessary to perform operations such as de-heading, splicing, and reordering of the received data packets to obtain data.
[0205] In a possible implementation, before S201, the master node may further send seventh information to the slave node. The seventh information may be used to activate the first resource. In other words, the second information may be used to activate the transmission of data of the first service. After receiving the second information, the slave node may perform the step shown in S204. The implementation of the seventh information may refer to the aforementioned description of the second information.
[0206] In a possible implementation, the first information involved in S101 can also be used to instruct the MAC layer of the slave node to transparently transmit the first data to the upper layer of the slave node, or the first information is used to instruct the MAC layer of the slave node to transparently transmit all data of the first service to the upper layer of the slave node. The MAC layer of the slave node performs the step shown in S204 according to the first information. In addition, the MAC layer of the slave node can also default to transparently transmit the data of the first service to the upper layer as long as the data of the first service is obtained after receiving the first information.
[0207] In a possible implementation of S201, the upper layer of the master node may transparently transmit data to the MAC layer of the master node, and the upper layer of the master node may be the LLC layer, network and transport layer, device layer or application of the master node. The implementation of the upper layer of the master node transparently transmitting data to the MAC layer of the master node may refer to the implementation of the upper layer of the slave node to the MAC of the slave node, wherein the upper layer of the slave node may include the LLC layer, network and transport layer, device layer or application of the slave node.
[0208] Accordingly, in a possible implementation of S204, the first information can be specifically used to instruct the MAC layer of the slave node to submit the MAC SDU to the upper layer of the slave node. Specifically, the implementation method of the MAC layer of the slave node submitting the MAC SDU to the upper layer of the slave node can refer to the introduction in the aforementioned description when the MAC layer of the master node submits the MAC SDU to the upper layer of the master node (i.e., the LLC layer, network and transport layer, device layer or application of the master node).
[0209] Corresponding to the method given in the above method embodiment, the embodiment of the present application also provides a corresponding device, including a module for executing the corresponding embodiment of the above. The module can be software, hardware, or a combination of software and hardware. The device can be a master node (or a first communication device), or a chip, a chip system, or a processor that supports the master node (or the first communication device) to implement the above method. The device can also be a slave node (or a second communication device), or a chip, a chip system, or a processor that supports the slave node (or the second communication device) to implement the above method. The device can be used to implement the method described in the above method embodiment.
[0210] like Figure 4 A modular structural diagram of the device is shown in FIG. Figure 5 is a schematic diagram of the structure of a hardware component of the device. Figure 4 As shown, the device may include a communication module 401 and a processing module 402. Figure 5 As shown, the apparatus may include a processor 501 , and may also include one or more components of a memory 502 , a transceiver 505 , or an antenna 506 .
[0211] When the master node (or the first communication device) or the slave node (or the second communication device) is a terminal device or a user device, the communication module 401 or the transceiver 505 may be a sending unit or a transmitter when sending information, and the communication module 401 or the transceiver 505 may be a receiving unit or a receiver when receiving information. The transceiver unit may be a transceiver, and the transceiver, transmitter or receiver may be a radio frequency circuit. When the master node (or the first communication device) or the slave node (or the second communication device) includes a storage unit (such as a memory 502), the storage unit may be used to store computer instructions, and the processing module 402 or the processor 501 is communicatively connected to the memory, and the processing module 402 or the processor 501 executes the computer instructions stored in the memory, so that the master node (or the first communication device) or the slave node (or the second communication device) executes Figure 3 The method involved in the embodiment: The processing module 402 or the processor 501 can be a general-purpose central processing unit (CPU), a microprocessor, or an application specific integrated circuit (ASIC).
[0212] When the master node (or the first communication device) or the slave node (or the second communication device) is a chip, the communication module 401 or the transceiver 505 may be an input and / or output interface, a pin or a circuit, etc. The processing module 402 or the processor 501 may execute the computer-executable instructions stored in the storage unit to enable the chip in the master node (or the first communication device) or the slave node (or the second communication device) to execute Figure 3 Optionally, the storage unit (such as memory 502) is a storage unit in the chip, such as a register, a cache, etc. The storage unit may also be a storage unit in the terminal located outside the chip, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
[0213] like Figure 4As shown, a communication device provided in an embodiment of the present application may include a communication module 401 and a processing module 402, and the above communication module 401 and the processing module 402 are coupled to each other. The communication device 400 can be used to execute the steps performed by the master node (or the first communication device) or the slave node (or the second communication device) shown in the above method embodiment. The communication module 401 can be used to support the communication device 400 to communicate, and the communication module 401 can also be referred to as a communication unit, a communication interface, a transceiver module or a transceiver unit. The communication module 401 may have a wireless communication function, for example, it can communicate with other communication devices through wireless communication. The communication module 401 may also be configured to include a PHY layer, a MAC layer, an LLC layer, a network and transport layer, a device layer or an application, for executing the steps performed by the PHY layer, the MAC layer, the LLC layer, the network and transport layer, the device layer or the application in the above method embodiment.
[0214] The processing module 402 may also be referred to as a processing unit, which may be used to support the communication device 400 in executing the processing actions performed by the master node or the slave node in the above method embodiment, including but not limited to: generating information and messages sent by the communication module 401, and / or, demodulating and decoding signals received by the communication module 401, etc.
[0215] When executing the steps of the master node in the above method embodiment, the communication module 401 can be used to send the first information to the second communication device. The first information is used to indicate the first service and the first resource corresponding to the first service. The first resource can be used by the second communication device to send the first data to the communication device 400, and the first data belongs to the first service. The MAC layer of the communication module 401 can obtain the first data and transparently transmit the first data to the upper layer.
[0216] In one possible design, the upper layer is the logical link control layer LLC layer, the network and transport layer, the device layer or the application of the communication module 401.
[0217] In one possible design, the PHY layer of the communication module 401 may receive the first data from the second communication device on the first resource. Thereafter, the PHY layer of the communication module 401 may submit the first data and indication information of the first resource to the MAC layer of the communication module 401.
[0218] In a possible design, the MAC layer of the communication module 401 may also determine that the first data belongs to the first service, and then transparently transmit the first data to an upper layer.
[0219] In a possible design, the MAC layer of the communication module 401 may determine that the first data belongs to the first service according to the indication information of the first resource and the correspondence between the first resource and the first service. The indication information of the first resource comes from the PHY layer of the communication module 401. For example, the indication information of the first resource is carried in the SAP from the PHY layer of the communication module 401.
[0220] In a possible design, the MAC layer of the communication module 401 may deliver the PHY SDU from the PHY layer of the communication module 401 to the LLC layer of the communication module 401. Alternatively, the MAC layer of the communication module 401 may deliver the PHY SDU from the PHY layer of the communication module 401 to the device layer. Alternatively, the MAC layer of the communication module 401 delivers the PHY SDU from the PHY layer of the communication module 401 to the application. The PHY SDU corresponds to the first data. Specifically, the PHY SDU is the first data.
[0221] In one possible design, the first information is also used to instruct the MAC layer of the second communication device to transparently transmit the first data to the PHY layer of the second communication device.
[0222] Specifically, the first information may be used to instruct the MAC layer of the second communication device to transfer a MAC PDU to a PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data.
[0223] In one possible design, the first information may include at least one of type information of the first service, priority information of the first service, or QoS information of the first service to indicate the first service.
[0224] In one possible design, the communication module 401 may also send second information to the second communication device, where the second information is used to activate the first resource or to activate the transmission of the first service. The second information includes at least one of configuration information of the first resource, type information of the first service, priority information of the first service, or quality of service QoS information of the first service.
[0225] In one possible design, if the first resource is a semi-static resource, the configuration information of the first resource may include a semi-static scheduling identifier.
[0226] In a possible design, the LLC layer of the communication module 401 may deliver the MAC SDU from the MAC layer of the communication module 401 to the network and transport layer of the communication module 401. The MAC SDU corresponds to the first data. Specifically, the MAC SDU is the first data.
[0227] In one possible design, the MAC layer of the communication module 401 may send third information to the LLC layer of the communication module 401 , and the third information may be used to instruct the LLC layer of the communication module 401 to transparently transmit the first data to the network and transport layers of the communication module 401 .
[0228] In a possible design, the network and transport layer of the communication module 401 may deliver the LLC SDU from the LLC layer of the communication module 401 to the device layer of the communication module 401, and the LLC SDU corresponds to the first data. Specifically, the LLC SDU is the first data.
[0229] In a possible design, the LLC layer of the communication module 401 may send fourth information to the network and transport layer of the communication module 401, and the fourth information is used to instruct the network and transport layer of the communication module 401 to transparently transmit the first data to the device layer of the communication module 401. The fourth information may be carried in the SAP sent by the LLC layer of the communication module 401 to the network and transport layer of the communication module 401.
[0230] When executing the steps of the slave node in the above method embodiment, the communication module 401 can be used to receive the first information from the first communication device. The first information is used to indicate the first service and the first resource corresponding to the first service, and the first resource is used by the communication device 400 to send the first data to the first communication device. The first data belongs to the first service. The MAC layer of the communication module 401 can obtain the first data from the upper layer and transparently transmit the first data to the PHY layer of the communication module 401.
[0231] In one possible design, the PHY layer of the communication module 401 may send the first data to the first communication device on the first resource.
[0232] In one possible design, the upper layer is the LLC layer, network and transport layer, device layer or application of the communication module 401.
[0233] In one possible design, the MAC layer of the communication module 401 determines that the first data belongs to the first service, and then transparently transmits the first data to the PHY layer of the communication module 401.
[0234] In a possible design, the MAC layer of the communication module 401 may determine that the first data belongs to the first service according to the indication information of the first service, wherein the indication information of the first service may come from the upper layer of the communication module 401.
[0235] In one possible design, the MAC layer of the communication module 401 may obtain an LLC PDU from the LLC layer of the communication module 401, and the LLC PDU corresponds to the first data. Specifically, the LLC PDU is the first data. Alternatively, the MAC layer of the communication module 401 may obtain a device layer PDU from the device layer of the communication module 401, and the device layer PDU corresponds to the first data. Specifically, the device layer PDU is the first data. Alternatively, the MAC layer of the communication module 401 may obtain application data from an application module of the communication module 401, and the application data corresponds to the first data. Specifically, the application data is the first data.
[0236] In a possible design, the first information may also be used to instruct the MAC layer of the communication module 401 to transparently transmit the first data to the PHY layer of the communication module 401.
[0237] In a possible design, the MAC layer of the communication module 401 may transfer a MAC PDU to the PHY layer of the communication module 401, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data. Specifically, the MAC SDU is the first data.
[0238] Specifically, the first information may instruct the MAC layer of the communication module 401 to transfer a MAC PDU to the PHY layer of the communication module 401, wherein the MAC PDU only includes a MAC SDU. The MAC SDU includes the first data. Specifically, the MAC SDU is the first data.
[0239] In one possible design, the first information may include at least one of type information of the first service, priority information of the first service, or quality of service QoS information of the first service. At least one of the type information of the first service, the priority information of the first service, or the QoS information of the first service is used to indicate the first service.
[0240] In one possible design, the communication module 401 may also receive second information from the first communication device, and the second information may be used to activate the first resource or to activate the transmission of the first service. The second information may include at least one of configuration information of the first resource, type information of the first service, priority information of the first service, or QoS information of the first service.
[0241] In a possible design, if the first resource is a semi-static resource, the configuration information of the first resource is a semi-static scheduling identifier.
[0242] In a possible design, the network and transport layer of the communication module 401 may pass the device layer PDU from the device layer of the communication module 401 to the LLC layer of the communication module 401. The device layer PDU of the communication module 401 corresponds to the first data, and the device layer PDU only includes the device layer SDU. Specifically, the device layer PDU is the first data.
[0243] In one possible design, the device layer of the communication module 401 may send fifth information to the network and transport layer of the communication module 401 , and the fifth information may be used to instruct the network and transport layer of the communication module 401 to transparently transmit the first data to the LLC layer of the communication module 401 .
[0244] In a possible design, the LLC layer of the communication module 401 may transfer the LLC PDU from the network and transport layer of the communication module 401 to the MAC layer of the communication module 401, wherein the LLC PDU corresponds to the first data and the LLC PDU only includes the LLC SDU. Specifically, the LLC PDU is the first data.
[0245] In one possible design, the network and transport layer of the communication module 401 may send sixth information to the LLC layer of the communication module 401 , and the sixth information may be used to instruct the LLC layer of the communication module 401 to transparently transmit the first data to the MAC layer of the communication module 401 .
[0246] Figure 5 A schematic diagram of the structure of another communication device provided in an embodiment of the present application is given, and the communication device can be implemented by hardware components. Figure 5 The device 500 shown may be the master node shown in the method embodiment, or may be a chip, chip system, or processor that supports the master node to implement the above method. Alternatively, the device 500 may be a slave node, or may be a chip, chip system, or processor that supports the slave node to implement the above method. The device 500 may be used to implement the method described in the above method embodiment and executed by the master node or slave node, and may refer to the description in the above method embodiment for details. The device 500 has the function of implementing the master node or slave node described in the embodiment of the present application, for example, the device 500 includes a module or unit or means corresponding to the steps involved in the terminal described in the embodiment of the present application by the master node or slave node, and the function or unit or means may be implemented by software, or by hardware, or by hardware executing the corresponding software implementation, or by a combination of software and hardware. For details, further reference may be made to the corresponding description in the aforementioned corresponding method embodiment.
[0247] The device 500 may include one or more processors 501, which may also be referred to as processing units, and may implement certain control functions. The processor 501 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control communication devices (such as base stations, baseband chips, terminals, terminal chips, distributed units (DU) or centralized units (CU), etc.), execute software programs, and process data of software programs.
[0248] In an optional design, the processor 501 may store instructions 503 and / or data, and the instructions 503 and / or data may be executed by the processor so that the device 500 executes the method described in the above method embodiment.
[0249] In another optional design, the processor 501 may include a transceiver unit for implementing the receiving and sending functions. For example, the transceiver unit may be a transceiver circuit, or an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and sending functions may be separate or integrated. The above-mentioned transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or the above-mentioned transceiver circuit, interface, or interface circuit may be used for transmitting or delivering signals.
[0250] In yet another possible design, the apparatus 500 may include a circuit, which may implement the functions of sending, receiving, or communicating in the aforementioned method embodiments.
[0251] Optionally, the device 500 may include one or more memories 502, on which instructions 504 may be stored, and the instructions may be executed on the processor, so that the device 500 performs the method described in the above method embodiment. Optionally, data may also be stored in the memory. Optionally, instructions and / or data may also be stored in the processor. The processor and memory may be provided separately or integrated together. For example, the corresponding relationship described in the above method embodiment may be stored in the memory, or in the processor. The processor 501 and / or the memory 502 may be regarded as Figure 4 Processing module 402 is shown.
[0252] Optionally, the device 500 may further include a transceiver 505 and / or an antenna 506. The processor 501 may be referred to as a processing unit, which controls the device 500. The transceiver 505 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, a transceiver device or a transceiver module, etc., which is used to implement the transceiver function. The transceiver 505 and / or the antenna 506 may be referred to as a Figure 4 Communication module 401 is shown.
[0253] Optionally, the apparatus 500 in the embodiment of the present application may be used to execute the method described in the above embodiment of the present application. The processor 501 may be used to execute Figure 4 The steps performed by the processing module 402 shown in FIG. 4 are performed by the transceiver 505. Figure 4 The specific steps performed by the processor 501 and the transceiver 505 can refer to the above Figure 4 Part of the description of the steps executed by the processing module 402 or the communication module 401 will not be repeated here.
[0254] The processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0255] The device described in the above embodiments may be a terminal device, but the scope of the device described in this application is not limited thereto, and the structure of the device may not be limited thereto. Figure 5 The device may be a stand-alone device or may be part of a larger device. For example, the device may be:
[0256] (1) Independent integrated circuit IC, or chip, or chip system or subsystem;
[0257] (2) having a set of one or more ICs, and optionally, the IC set may also include a storage component for storing data and / or instructions;
[0258] (3) ASIC, such as modem (MSM);
[0259] (4) Modules that can be embedded in other devices;
[0260] (5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, machine equipment, home equipment, medical equipment, industrial equipment, etc.;
[0261] (4)Others
[0262] It should be understood that the components included in the communication device in the above embodiment are schematic and are only a possible example, and the actual implementation may have another configuration. In addition, the components in the above communication device may be integrated into one module or may be separate physical entities. The above integrated module may be implemented in the form of hardware or in the form of a software functional module, and should not be understood as being limited to the structure shown in the above drawings.
[0263] Based on the same concept as the above-mentioned method embodiment, a computer-readable storage medium is also provided in an embodiment of the present application, on which a computer program is stored. When the program is executed by a processor, the computer executes the operations performed by the master node (or first communication device) or the slave node (or second communication device) in the above-mentioned method embodiment or any possible implementation of the method embodiment.
[0264] Based on the same concept as the above-mentioned method embodiment, the present application also provides a computer program product, which, when called and executed by a computer, can enable the computer to implement the operations performed by the master node (or first communication device) or the slave node (or second communication device) in the above-mentioned method embodiment or any possible implementation method of the method embodiment.
[0265] Based on the same concept as the above method embodiment, the present application also provides a chip or chip system, which may include a processor. The chip may also include a memory (or storage module) and / or a transceiver (or communication module), or the chip is coupled to a memory (or storage module) and / or a transceiver (or communication module), wherein the transceiver (or communication module) can be used to support the chip for wired and / or wireless communication, and the memory (or storage module) can be used to store programs, and the processor calls the program to implement the above method embodiment, any possible implementation of the method embodiment, and the operation performed by the master node (or first communication device) or the slave node (or second communication device). The chip system may include the above chip, and may also include the above chip and other discrete devices, such as a memory (or storage module) and / or a transceiver (or communication module).
[0266] Based on the same concept as the above method embodiment, the present application also provides a communication system, which can be used to implement the operations performed by the master node (or first communication device) and the slave node (or second communication device) in the above method embodiment and any possible implementation of the method embodiment. Exemplarily, the communication system has the following Figure 1 The structure shown.
[0267] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, and computer program products involved in the embodiments. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0268] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0269] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
Claims
1. A data transmission method, characterized in that: include: A first communication device sends first information to a second communication device, where the first information is used to indicate a first service and a first resource corresponding to the first service, and the first resource is used to transmit first data of the first service between the first communication device and the second communication device; The media access MAC layer of the first communication device obtains the first data; The MAC layer of the first communication device transparently transmits the first data to an upper layer.
2. The method according to claim 1, characterized in that The first resource is used for transmitting first data of a first service between the first communication device and the second communication device, including: The first resource is used by the first communication device to send the first data to the second communication device; or, The first resource is used by the second communication device to send the first data to the first communication device.
3. The method according to claim 1 or 2, characterized in that The method further comprises: The physical PHY layer of the first communication device receives the first data from the second communication device on the first resource; The PHY layer of the first communication device delivers first data and indication information of the first resource to the MAC layer of the first communication device.
4. The method according to any one of claims 1 to 3, characterized in that: The upper layer is a logical link control LLC layer, a network and transport layer, a device layer or an application.
5. The method according to any one of claims 1 to 4, characterized in that: Before the MAC layer of the first communication device transparently transmits the first data to an upper layer, the method further includes: The MAC layer of the first communication device determines that the first data belongs to the first service.
6. The method according to claim 5, characterized in that The MAC layer of the first communication device determines that the first data belongs to the first service, including: The MAC layer of the first communication device determines that the first data belongs to the first service according to indication information of the first resource and a correspondence between the first resource and the first service, and the indication information of the first resource comes from the PHY layer of the first communication device.
7. The method according to any one of claims 1 to 6, characterized in that: The MAC layer of the first communication device transparently transmits the first data to an upper layer, including: The MAC layer of the first communication device delivers the PHY service data unit SDU from the PHY layer of the first communication device to the LLC layer of the first communication device; or, The MAC layer of the first communication device delivers the PHY SDU from the PHY layer of the first communication device to the device layer; or, The MAC layer of the first communication device delivers the PHY SDU from the PHY layer of the first communication device to the application; The PHY SDU corresponds to the first data.
8. The method according to claim 7, characterized in that The PHY SDU is the first data.
9. The method according to any one of claims 1 to 6, characterized in that: The first information is further used to instruct the MAC layer of the second communication device to transparently transmit the first data to the PHY layer of the second communication device.
10. The method according to claim 9, characterized in that The first information is specifically used to instruct the MAC layer of the second communication device to transfer a MAC protocol data unit PDU to the PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data.
11. The method according to any one of claims 1 to 10, characterized in that: The first information includes at least one of type information of the first service, priority information of the first service, or quality of service QoS information of the first service, and at least one of the type information of the first service, priority information of the first service, or QoS information of the first service is used to indicate the first service.
12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: The first communication device sends second information to the second communication device, where the second information is used to activate the first resource or to activate the transmission of the first service, and the second information includes at least one of configuration information of the first resource, type information of the first service, priority information of the first service, or QoS information of the first service.
13. The method according to claim 12, characterized in that The first resource is a semi-static resource, and the configuration information of the first resource is a semi-static scheduling identifier.
14. The method according to claim 7, characterized in that The method further comprises: The LLC layer of the first communication device delivers a MAC SDU from the MAC layer of the first communication device to the network and transport layer of the first communication device, wherein the MAC SDU corresponds to the first data.
15. The method according to claim 14, characterized in that The method further comprises: The MAC layer of the first communication device sends third information to the LLC layer of the first communication device, where the third information is used to instruct the LLC layer of the first communication device to transparently transmit the first data to the network and transport layers of the first communication device.
16. The method according to claim 14 or 15, characterized in that The method further comprises: The network and transport layer of the first communication device delivers an LLC SDU from the LLC layer of the first communication device to the device layer of the first communication device, the LLC SDU corresponding to the first data.
17. The method according to claim 16, characterized in that The method further comprises: The LLC layer of the first communication device sends fourth information to the network and transport layers of the first communication device, where the fourth information is used to instruct the network and transport layers of the first communication device to transparently transmit the first data to the device layer of the first communication device.
18. A data transmission method, characterized in that: include: The second communication device receives first information from the first communication device, where the first information is used to indicate a first service and a first resource corresponding to the first service, and the first data of the first service is transmitted between the first communication device and the second communication device; A media access layer MAC layer of the second communication device acquires the first data from an upper layer; The MAC layer of the second communication device transparently transmits the first data to the PHY layer of the second communication device.
19. The method according to claim 18, characterized in that The first resource is used for transmitting first data of a first service between the first communication device and the second communication device, including: The first resource is used by the first communication device to send the first data to the second communication device; or, The first resource is used by the second communication device to send the first data to the first communication device.
20. The method according to claim 18 or 19, characterized in that The method also includes: a PHY layer of the second communication device sending the first data to the first communication device on the first resource.
21. The method according to any one of claims 18 to 20, characterized in that: The upper layer is the LLC layer, the network and transport layer, the device layer or the application.
22. The method according to any one of claims 18 to 21, characterized in that: Before the MAC layer of the second communication device transparently transmits the first data to the PHY layer of the second communication device, the method further includes: The MAC layer of the second communication device determines that the first data belongs to the first service.
23. The method of claim 22, wherein: The MAC layer of the second communication device determines that the first data belongs to the first service, including: The MAC layer of the second communication device determines that the first data belongs to the first service according to indication information of the first service, where the indication information of the first service comes from the upper layer.
24. The method according to any one of claims 18 to 23, characterized in that: The MAC layer of the second communication device obtains the first data from an upper layer, including: The MAC layer of the second communication device obtains an LLC PDU from the LLC layer of the second communication device, where the LLC PDU corresponds to the first data; or, The MAC layer of the second communication device obtains a device layer PDU from a device layer of the second communication device, where the device layer PDU corresponds to the first data; or, The MAC layer of the second communication device obtains application data from an application of the second communication device, where the application data corresponds to the first data.
25. The method according to any one of claims 18 to 24, characterized in that: The first information is further used to instruct the MAC layer of the second communication device to transparently transmit the first data to the PHY layer of the second communication device.
26. The method according to any one of claims 18 to 25, characterized in that: The MAC layer of the second communication device transparently transmitting the first data to the PHY layer of the second communication device includes: The MAC layer of the second communication device delivers a MAC PDU to the PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data.
27. The method of claim 26, wherein: The first information is specifically used to instruct the MAC layer of the second communication device to transfer a MAC PDU to the PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data.
28. The method according to any one of claims 18 to 27, characterized in that: The first information includes at least one of type information of the first service, priority information of the first service, or QoS information of the first service, and at least one of the type information of the first service, priority information of the first service, or QoS information of the first service is used to indicate the first service.
29. The method according to any one of claims 18 to 28, characterized in that: The method further comprises: The second communication device receives second information from the first communication device, the second information is used to activate the first resource or to activate the transmission of the first service, the second information includes at least one of configuration information of the first resource, type information of the first service, priority information of the first service or QoS information of the first service.
30. The method of claim 29, wherein: The first resource is a semi-static resource, and the configuration information of the first resource is a semi-static scheduling identifier.
31. The method of claim 24, wherein: The method further comprises: The network and transport layer of the second communication device transmits the device layer PDU from the device layer of the second communication device to the LLC layer of the second communication device, the device layer PDU of the second communication device corresponds to the first data, and the device layer PDU only includes the device layer SDU.
32. The method of claim 31, wherein: The method further comprises: The device layer of the second communication device sends fifth information to the network and transport layer of the second communication device, where the fifth information is used to instruct the network and transport layer of the second communication device to transparently transmit the first data to the LLC layer of the second communication device.
33. The method according to claim 31 or 32, characterized in that The method further comprises: The LLC layer of the second communication device transfers the LLC PDU from the network and transport layer of the second communication device to the MAC layer of the second communication device, wherein the LLC PDU corresponds to the first data and includes only the LLC SDU.
34. The method of claim 33, wherein: The method further comprises: The network and transport layer of the second communication device sends sixth information to the LLC layer of the second communication device, where the sixth information is used to instruct the LLC layer of the second communication device to transparently transmit the first data to the MAC layer of the second communication device.
35. A communication device, characterized in that: include: a communication module, configured to send first information to a second communication device, wherein the first information is used to indicate a first service and a first resource corresponding to the first service, and first data of the first service is transmitted between the first communication device and the second communication device; The MAC layer of the communication module is used to obtain the first data; The MAC layer of the communication module is also used to transparently transmit the first data to an upper layer.
36. The communication device according to claim 35, characterized in that The first resource is used for transmitting first data of a first service between the first communication device and the second communication device, including: The first resource is used by the first communication device to send the first data to the second communication device; or, The first resource is used by the second communication device to send the first data to the first communication device.
37. The communication device according to claim 35 or 36, characterized in that: The communication module also includes a PHY layer: The PHY layer of the communication module is used to receive the first data from the second communication device on the first resource; The PHY layer of the communication module is further used to submit the first data and the indication information of the first resource to the MAC layer of the communication module.
38. The communication device according to any one of claims 35 to 37, characterized in that: The upper layer is the LLC layer, the network and transport layer, the device layer or the application.
39. The communication device according to any one of claims 35 to 38, characterized in that: The MAC layer of the communication module is also used for: It is determined that the first data belongs to the first service.
40. The communication device according to claim 39, characterized in that The MAC layer of the communication module is specifically used for: It is determined that the first data belongs to the first service according to indication information of the first resource and a corresponding relationship between the first resource and the first service, wherein the indication information of the first resource comes from a PHY layer of the communication module.
41. The communication device according to any one of claims 35 to 40, characterized in that: The communication module further includes an LLC layer, and a MAC layer of the communication module is specifically used for: delivering the PHY SDU from the PHY layer of the communication module to the LLC layer of the communication module; or, The communication module also includes a device layer, and the MAC layer of the communication module is specifically used for: delivering the PHY SDU from the PHY layer of the communication module to the device layer of the communication module; or, The communication module also includes an application, and the MAC layer of the communication module is specifically used for: delivering a PHY SDU from a PHY layer of the communication module to an application of the communication module; The PHY SDU corresponds to the first data.
42. The communication device according to claim 41, characterized in that The PHY SDU is the first data.
43. The communication device according to any one of claims 35 to 42, characterized in that: The first information is further used to instruct the MAC layer of the second communication device to transparently transmit the first data to the PHY layer of the second communication device.
44. The communication device according to claim 43, characterized in that The first information is specifically used to instruct the MAC layer of the second communication device to transfer a MAC PDU to the PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data.
45. The communication device according to any one of claims 35 to 44, characterized in that: The first information includes at least one of type information of the first service, priority information of the first service, or QoS information of the first service, and at least one of the type information of the first service, priority information of the first service, or QoS information of the first service is used to indicate the first service.
46. The communication device according to any one of claims 35 to 45, characterized in that: The communication module is also used for: Send second information to the second communication device, the second information is used to activate the first resource or to activate the transmission of the first service, the second information includes at least one of configuration information of the first resource, type information of the first service, priority information of the first service or quality of service QoS information of the first service.
47. The communication device according to claim 46, characterized in that The first resource is a semi-static resource, and the configuration information of the first resource is a semi-static scheduling identifier.
48. The communication device according to claim 41, characterized in that The LLC layer of the communication module is used for: A MAC SDU from a MAC layer of the communication module is delivered to a network and transport layer of the communication module, the MAC SDU corresponding to the first data.
49. The communication device according to claim 48, characterized in that The MAC layer of the communication device is further used for: Sending third information to the LLC layer of the communication module, where the third information is used to instruct the LLC layer of the communication module to transparently transmit the first data to the network and transport layers of the communication module.
50. The communication device according to claim 48 or 49, characterized in that: The communication module also includes a network and transport layer, which is used to: An LLC layer LLC SDU from the communication module is delivered to a device layer of the communication module, wherein the LLC SDU corresponds to the first data.
51. The communication device according to claim 50, characterized in that The LLC layer of the communication module is also used for: Sending fourth information to the network and transport layer of the communication module, wherein the fourth information is used to instruct the network and transport layer of the communication module to transparently transmit the first data to the device layer of the communication module.
52. A communication device, characterized in that: include: A communication module, configured to receive first information from a first communication device, wherein the first information is used to indicate a first service and a first resource corresponding to the first service, and first data of the first service is transmitted between the first communication device and the second communication device; The media access layer MAC layer of the communication module obtains the first data from the upper layer; The MAC layer of the communication module transparently transmits the first data to the PHY layer of the second communication device.
53. The communication device according to claim 52, characterized in that The first resource is used for transmitting first data of a first service between the first communication device and the second communication device, including: The first resource is used by the first communication device to send the first data to the second communication device; or, The first resource is used by the second communication device to send the first data to the first communication device.
54. The communication device according to claim 52 or 53, characterized in that: The method also includes: a PHY layer of the second communication device sending the first data to the first communication device on the first resource.
55. The communication device according to any one of claims 52 to 54, characterized in that: The upper layer is the logical link control layer LLC layer, the network and transport layer, the device layer or the application.
56. The communication device according to any one of claims 52 to 55, characterized in that: The MAC layer of the communication module is also used for: It is determined that the first data belongs to the first service.
57. The communication device according to claim 56, characterized in that The MAC layer of the communication module is specifically used for: It is determined that the first data belongs to the first service according to indication information of the first service, where the indication information of the first service comes from the upper layer.
58. The communication device according to any one of claims 52 to 57, characterized in that: The communication module further includes an LLC layer and a MAC layer of the second communication device, which are specifically used for: Acquire an LLC PDU from an LLC layer of the second communication device, where the LLC PDU corresponds to the first data; or, The communication module further includes a network and transport layer, and a MAC layer of the second communication device, which is specifically used for: The communication module further includes a device layer, a MAC layer of the second communication device, which is specifically used for: The MAC layer of the second communication device obtains a device layer PDU from a device layer of the second communication device, where the device layer PDU corresponds to the first data; or, The communication module further includes a MAC layer for the second communication device, specifically configured to: The MAC layer of the second communication device obtains application data from an application of the second communication device, where the application data corresponds to the first data.
59. The communication device according to any one of claims 52 to 58, characterized in that: The first information is further used to instruct the MAC layer of the second communication device to transparently transmit the first data to the PHY layer of the second communication device.
60. The communication device according to any one of claims 52 to 59, characterized in that: The MAC layer of the second communication device is specifically used for: A media access control layer protocol data unit MAC PDU is delivered to the PHY layer of the second communication device, wherein the MAC PDU only contains a media access control layer service data unit MAC SDU, and the MAC SDU includes the first data.
61. The communication device according to claim 60, characterized in that The first information is specifically used to instruct the MAC layer of the second communication device to transfer a MAC PDU to the PHY layer of the second communication device, wherein the MAC PDU only includes a MAC SDU, and the MAC SDU includes the first data.
62. The communication device according to any one of claims 52 to 61, characterized in that: The first information includes at least one of type information of the first service, priority information of the first service, or QoS information of the first service, and at least one of the type information of the first service, priority information of the first service, or QoS information of the first service is used to indicate the first service.
63. The communication device according to any one of claims 52 to 62, characterized in that: The communication module is further used for: Receive second information from the first communication device, the second information is used to activate the first resource or to activate the transmission of the first service, the second information includes at least one of configuration information of the first resource, type information of the first service, priority information of the first service or QoS information of the first service.
64. The communication device according to claim 63, characterized in that The first resource is a semi-static resource, and the configuration information of the first resource is a semi-static scheduling identifier.
65. The communication device according to claim 58, characterized in that The network and transport layer of the second communication device is further used for: A device layer PDU from the device layer of the second communication device is delivered to the LLC layer of the second communication device, the device layer PDU of the second communication device corresponding to the first data, the device layer PDU only including the device layer SDU.
66. The communication device according to claim 65, characterized in that The device layer of the second communication device is further used for: Fifth information is sent to the network and transport layer of the second communication device, where the fifth information is used to instruct the network and transport layer of the second communication device to transparently transmit the first data to the LLC layer of the second communication device.
67. The communication device according to claim 65 or 66, characterized in that: The LLC layer of the second communication device is further used for: An LLC PDU from a network and transport layer of the second communication device is delivered to a MAC layer of the second communication device, wherein the LLC PDU corresponds to the first data and includes only an LLC SDU.
68. The communication device according to claim 67, characterized in that The network and transport layer of the second communication device is further used for: Send sixth information to the LLC layer of the second communication device, where the sixth information is used to instruct the LLC layer of the second communication device to transparently transmit the first data to the MAC layer of the second communication device.
69. A communication device, characterized in that: include: A transceiver and at least one processor, wherein the transceiver and the at least one processor are connected via a line, and the transceiver is used to perform the method according to any one of claims 1 to 17, wherein the communication device performs operations of receiving and sending messages; The at least one processor calls instructions to execute the message processing or control operation performed by the communication device in the method of any one of claims 1 to 17.
70. A communication device, characterized in that: include: A transceiver and at least one processor, wherein the transceiver and the at least one processor are connected via a line, and the transceiver is used to perform the method according to any one of claims 18 to 34, wherein the communication device performs operations of receiving and sending messages; The at least one processor calls instructions to execute the message processing or control operations performed by the communication device in the method of any one of claims 18 to 34.
71. A chip system, characterized in that: include: The chip system includes at least one processor and a transceiver, wherein the transceiver and the at least one processor are interconnected via lines, and the processor executes any one of the methods of claims 1 to 34 by running instructions.
72. A communication device, characterized in that: Used to perform any one of the methods 1 to 17.
73. A communication device, characterized in that: Used to perform any method described in 18 to 34.
74. A computer program product comprising instructions, characterized in that When it is executed on a computer, it enables the computer to execute any one of the methods 1 to 34 above.
75. A computer-readable storage medium, characterized in that The method comprises instructions which, when executed on a computer, cause the computer to perform the method as claimed in any one of claims 1 to 34.
76. A communication system, characterized in that: Comprising a communication device as described in any one of claims 35-51, 69 or 72, and a device as described in any one of claims 52-68, 70 or 73.