Data transmission method, device and system
By selecting the transmission link according to the link selection indication information in the high-speed interconnection interface, the problems of large power consumption and large delay caused by the main link transmission service message and the auxiliary link transmission management message are solved, and the power consumption and delay balance during data transmission is achieved.
Patent Information
- Application Number
- CN202311464503.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2025-05-06
AI Technical Summary
In the high-speed interconnection interface, there are problems of large power consumption and large delay in the way of transmitting service messages through the main link and managing messages through the auxiliary link.
By obtaining link selection indication information, the link used to transmit messages can be selected, which can be a main link, an auxiliary link, or a link is selected according to the link status, thereby transmitting messages on the selected link.
The power consumption and delay balance during data transmission is realized, and the transmission delay of management packets is reduced when the main link is in an activated state, and the power consumption is reduced when the main link is not in an activated state.
Smart Images

Figure CN119945983A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data transmission method, device and system. Background Art
[0002] In a high-speed interconnect interface, it usually includes a main link and an auxiliary link. The main link can also be called a high-speed link, which can specifically include multiple channels that support high-speed data transmission, such as the transmission rate supported by the channel of the main link can be 2Gbps, 4Gbps or 8Gbps, etc. The auxiliary link can also be called a low-speed link, which can specifically include multiple channels that support low-speed transmission, such as the transmission rate supported by the channel of the auxiliary link can be 12.5Mbps.
[0003] At present, when devices communicate through a high-speed interconnection interface, service information is mainly transmitted through the main link in the high-speed interconnection interface, and control information is transmitted through the auxiliary link, that is, the main link is used to transmit service messages, and the auxiliary link is used to transmit management messages. The management message can be used to assist in managing the main link or managing the network and devices, etc. However, the method of transmitting service messages through the main link and transmitting management messages through the auxiliary link will have the problems of high power consumption and long delay. Summary of the invention
[0004] The present application provides a data transmission method, device and system for achieving a balance between power consumption and delay when data is transmitted through a main link and an auxiliary link.
[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, a data transmission method is provided, which is applied to a data sending device, which communicates through a main link and an auxiliary link, and the method includes: obtaining link selection indication information, the link selection indication information is used to indicate one of the following: a fixed main link (i.e., selecting the main link), a fixed auxiliary link (i.e., selecting the auxiliary link), selecting the main link or the auxiliary link according to the link status (for example, selecting according to the status information of the main link); sending a message on the main link or sending a message on the auxiliary link according to the link selection indication information, for example, the message may include a business message and a management message.
[0007] In the above technical solution, the data sending device can select a link for transmitting the message based on the acquired link selection indication information, which may be a main link, an auxiliary link, or select a link based on the link status, thereby transmitting the message on the selected link, thereby improving the balance between power consumption and delay during data transmission.
[0008] In a possible implementation of the first aspect, if the link selection indication information is used to indicate the selection of a main link or an auxiliary link according to the link status, a message is sent on the main link or a message is sent on the auxiliary link according to the link selection indication information, including: if the main link is in an activated state, the message is sent on the main link, such as sending a service message and a management message on one or more channels in the main link that are in an activated state. In the above possible implementation, when the main link is in an activated state, the data sending device can transmit service messages and management messages through the main link, thereby reducing the transmission delay of the management message. In addition, there is no need to use an auxiliary link for communication, thereby improving the balance between power consumption and delay during data transmission.
[0009] In a possible implementation of the first aspect, if the link selection indication information is used to indicate the selection of a main link or an auxiliary link according to a link state, sending a message on the main link or sending a message on the auxiliary link according to the link selection indication information includes: if the main link is not in an activated state, sending the message on the auxiliary link. In the above possible implementation, when the main link is not in an activated state, the data sending device can transmit the message through the auxiliary link without waking up the main link, thereby reducing power consumption.
[0010] In a possible implementation of the first aspect, if the link selection indication information is used to indicate a fixed main link, then according to the link selection indication information, a message is sent on the main link or a message is sent on the auxiliary link, including: if the main link is in a low power consumption state, waking up the main link to the activated state; sending the message on the main link. In the above possible implementation, when the main link is in a low power consumption state, the data sending device can wake up the main link and transmit the message through the main link, thereby ensuring a balance between power consumption and latency during data transmission.
[0011] In a possible implementation of the first aspect, obtaining link selection indication information includes determining the link selection indication information according to the transmission rate of the message. In the above possible implementation, the data sending device can determine the link selection indication information according to the transmission rate of the message, thereby selecting a link for transmitting the message according to the link selection indication information, which can be a main link, an auxiliary link, or a link selected according to the link status, thereby transmitting the message on the selected link, thereby improving the balance between power consumption and delay during data transmission.
[0012] In a second aspect, a data transmission method is provided, which is applied to a data receiving device, which communicates through a main link and an auxiliary link. The method includes: obtaining link selection indication information, the link selection indication information is used to indicate one of the following: a fixed main link, a fixed auxiliary link, and selecting a main link or an auxiliary link according to a link status; receiving a message on the main link or receiving a message on the auxiliary link according to the link selection indication information.
[0013] In the above technical solution, the data receiving device can select a link for transmitting messages based on the acquired link selection indication information, which may be a main link, an auxiliary link, or select a link based on the link status, thereby transmitting the message on the selected link, thereby improving the balance between power consumption and delay during data transmission.
[0014] In a possible implementation of the second aspect, if the link selection indication information is used to indicate the selection of a main link or an auxiliary link according to the link state, then according to the link selection indication information, a message is received on the main link or a message is received on the auxiliary link, including: if the main link is in an activated state, the message is received on the main link. In the above possible implementation, when the main link is in an activated state, the data receiving device can transmit service messages and management messages through the main link, thereby reducing the transmission delay of the management message. In addition, there is no need to use an auxiliary link for communication, thereby improving the balance between power consumption and delay during data transmission.
[0015] In a possible implementation of the second aspect, if the link selection indication information is used to indicate the selection of a main link or an auxiliary link according to a link state, receiving a message on the main link or receiving a message on the auxiliary link according to the link selection indication information includes: if the main link is not in an activated state, receiving the message on the auxiliary link. In the above possible implementation, when the main link is not in an activated state, the data receiving device can transmit the message through the auxiliary link without waking up the main link, thereby reducing power consumption.
[0016] In a possible implementation of the second aspect, if the link selection indication information is used to indicate a fixed main link, then according to the link selection indication information, a message is received on the main link or a message is received on the auxiliary link, including: if the main link is in a low power consumption state, waking up the main link to the activated state; receiving the message on the main link. In the above possible implementation, when the main link is in a low power consumption state, the data receiving device can wake up the main link and transmit the message through the main link, thereby ensuring a balance between power consumption and latency during data transmission.
[0017] In a possible implementation of the second aspect, obtaining link selection indication information includes determining the link selection indication information according to the transmission rate of the message. In the above possible implementation, the data sending device can determine the link selection indication information according to the transmission rate of the message, thereby selecting a link for transmitting the message according to the link selection indication information, which can be a main link, an auxiliary link, or a link selected according to the link status, thereby transmitting the message on the selected link, thereby improving the balance between power consumption and delay during data transmission.
[0018] In a third aspect, a data sending device is provided, which can implement the function performed by the data sending device in the above method, and the function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0019] In a possible implementation of the third aspect, the data sending device includes a processing unit and a sending unit; the processing unit is configured to support the data sending device to perform corresponding functions in the above-mentioned data transmission method; and the sending unit is used to support the data sending device to communicate with the data receiving device.
[0020] In another possible implementation of the third aspect, the data sending device includes a processor and a transmitter; the processor is configured to support the data sending device to perform corresponding functions in the above method; the transmitter is used to support the data sending device to communicate with the data receiving device. Optionally, the data sending device also includes a memory, which is used to couple with the processor and store program instructions and data necessary for the device.
[0021] In a fourth aspect, a data receiving device is provided, which can implement the function performed by the data receiving device in the above method, and the function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0022] In a possible implementation of the fourth aspect, the data receiving device includes a processing unit and a receiving unit; the processing unit is configured to support the data receiving device to perform corresponding functions in the above-mentioned data transmission method; and the receiving unit is used to support the data receiving device to communicate with the data sending device.
[0023] In another possible implementation of the fourth aspect, the data receiving device includes a processor and a receiver; the processor is configured to support the data receiving device to perform corresponding functions in the above method; the receiver is used to support the data receiving device to communicate with the data sending device. Optionally, the data receiving device also includes a memory, which is coupled to the processor and stores necessary program instructions and data for the device.
[0024] In another aspect of the present application, a chip is provided, comprising: a processing circuit and a transmitter, wherein the processing circuit and the transmitter are used to support the chip to execute a data transmission method as provided in the first aspect or any possible implementation of the first aspect; or the chip comprises: a processing circuit and a receiver, wherein the processing circuit and the receiver are used to support the chip to execute a data transmission method as provided in the second aspect or any possible implementation of the second aspect.
[0025] In another aspect of the present application, a data transmission system is provided, which includes a data sending device provided in any of the above aspects, and a data receiving device provided in any of the above aspects, wherein the data sending device is used to execute the data transmission method provided in the first aspect or any possible implementation of the first aspect, and the data receiving device is used to execute the data transmission method provided in the second aspect or any possible implementation of the second aspect.
[0026] In another aspect of the present application, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed, the data transmission method provided by the first aspect or any possible implementation method of the first aspect is implemented.
[0027] In another aspect of the present application, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed, the data transmission method provided by the second aspect or any possible implementation of the second aspect is implemented.
[0028] In another aspect of the present application, a computer program product is provided, which includes: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute a data transmission method provided in the first aspect or any possible implementation of the first aspect.
[0029] In another aspect of the present application, a computer program product is provided, which includes: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute a data transmission method as provided in the second aspect or any possible implementation of the second aspect.
[0030] It can be understood that the beneficial effects that can be achieved by any of the data sending devices, data receiving devices, data transmission systems, computer-readable storage media and computer program products provided above can correspond to the beneficial effects of the data transmission method provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of the structure of a data transmission system provided in an embodiment of the present application;
[0032] Figure 2 A schematic diagram of the structure of another data transmission system provided in an embodiment of the present application;
[0033] Figure 3 A schematic diagram of basic components of an electronic device provided in an embodiment of the present application;
[0034] Figure 4 A schematic diagram of transmission between interfaces provided in an embodiment of the present application;
[0035] Figure 5 A schematic diagram of the structure of a protocol stack provided in an embodiment of the present application;
[0036] Figure 6 A schematic diagram of a service message and a management message transmitted between devices provided in an embodiment of the present application;
[0037] Figure 7 A flowchart of a data transmission method provided in an embodiment of the present application;
[0038] Figure 8 A flowchart of another data transmission method provided in an embodiment of the present application;
[0039] Fig. 9 A flowchart of another data transmission method provided in an embodiment of the present application;
[0040] Fig.10 A flowchart of another data transmission method provided in an embodiment of the present application;
[0041] Fig.11 A schematic diagram of the structure of a data sending device provided in an embodiment of the present application;
[0042] Fig.12 A schematic diagram of the structure of another data sending device provided in an embodiment of the present application;
[0043] Fig.13 A schematic diagram of the structure of a data receiving device provided in an embodiment of the present application;
[0044] Fig.14 A schematic diagram of the structure of another data receiving device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following will discuss the making and use of each embodiment in detail. However, it should be understood that many applicable inventive concepts provided by this application can be implemented in a variety of specific environments. The specific embodiments discussed are only illustrative of specific ways to implement and use this application and this technology, and do not limit the scope of this application.
[0046] Unless defined otherwise, all technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art.
[0047] Various circuits or other components may be described or referred to as being "configured to" perform one or more tasks. In this case, "configured to" is used to imply structure by indicating that the circuit / component includes structure (e.g., circuitry) that performs the one or more tasks during operation. Thus, even when the specified circuit / component is not currently operational (e.g., not turned on), the circuit / component may be referred to as being configured to perform the task. Circuits / components used with the phrase "configured to" include hardware, such as circuits that perform an operation, etc.
[0048] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the present application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, a, b and c; where a, b and c can be single or multiple.
[0049] The embodiments of the present application use words such as "first" and "second" to distinguish objects with similar names, functions or effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order. The term "coupled" is used to indicate electrical connection, including direct connection through wires or connection terminals or indirect connection through other devices. Therefore, "coupled" should be regarded as a broad electronic communication connection.
[0050] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0051] The technical solution provided in the present application can be applied to a data transmission system including multiple data transmission devices, and the data transmission device can be a device, a chip applied to a device, or an interface device, etc. In the data transmission system, a data transmission device (for example, a data sending device) and a data transmission device (for example, a data receiving device) can be directly connected, or indirectly connected through a switching device such as a router, that is, the multiple data transmission devices can all be connected to the switching device. In the present application, data transmission can be performed between the multiple data transmission devices in a wired manner or in a wireless manner. In addition, when data transmission is performed between the multiple data transmission devices, the signal can be transmitted directly or through an interface device.
[0052] When the data transmission device is a chip in a device, the chips in the data transmission system can be interconnected by wire or wireless means, and the chip can be a chip in the device, a chip in a docking station, or a chip in an adapter, etc. The docking station can be plugged with a gigabit network port, a video graphics array (VGA), an HDMI, a flash memory (TF) card, a secure digital card (SD) card, a charging port, and a USB port, etc.
[0053] Optionally, when the data transmission device is a chip, the chip may further include an interface module, that is, the present application may be applied to an interface module for interconnecting chips. The interface module may be understood as an intellectual property (IP) module integrated inside the chip. Alternatively, the interface module may also be sold separately as an IP module. For example, the chip may be a system on chip (SoC), a central processing unit (CPU), or a graphics processing unit (GPU), etc., and the interface module may be an interface module in the SoC, CPU, or GPU, etc. Optionally, the interface module may be a transmitting circuit and / or a receiving circuit.
[0054] The following uses the example that the data transmission system includes multiple devices to illustrate the structure of the data transmission device.
[0055] Figure 1A structural diagram of a data transmission system provided for an embodiment of the present application. The data transmission system includes a first device 110 and a second device 120, and the first device 110 and the second device 120 are connected by wired or wireless means, for example, by a cable. Among them, signals can be transmitted between the first device 110 and the second device 120, for example, transmission of audio and video data or transmission of charging signals, etc. In one example, the first device 110 can be a set-top box, and the second device 120 can be a TV. The set-top box and the TV can be connected by a cable, and the set-top box can transmit audio and video data to the TV via a cable. In another example, the first device 110 is a display, and the second device 120 is a game controller. The display and the game controller can be connected by a cable, and the game controller can transmit control information to the display via a cable.
[0056] Optionally, the first device 110 may include interface A, and the second device 120 may include interface B. The connection between the first device 110 and the second device 120 may specifically be a connection between interface A of the first device 110 and interface B of the second device 120. For example, interface A of the first device 110 and interface B of the second device 120 are connected via a cable.
[0057] Figure 2 A structural diagram of another data transmission system provided for an embodiment of the present application. The data transmission system includes a plurality of devices 210 and a router 220, and the plurality of devices 210 can be connected to the router 220 by wired or wireless means, for example, the plurality of devices 210 can all be connected to the router 220 by cables. Among them, any two devices in the plurality of devices 210 can transmit signals through the router 220, for example, transmitting audio and video data or transmitting charging signals, etc. In one example, the plurality of devices 210 can include a display 211, a set-top box 212, and an audio player (for example, MP3) 213, and the set-top box 212 can transmit audio and video data to the display 211 through the router 220, and the set-top box 212 can also transmit audio data to the audio player 213 through the router 220, etc. In addition, there can also be two interconnected devices in the plurality of devices 210, for example, the plurality of devices 210 can also include a game controller 214, and the game controller 214 can be connected to the display 211 and transmit control information to the display 211.
[0058] Optionally, each of the multiple devices 210 may include an interface, and the router 220 may include multiple interfaces, and the interface of each of the multiple devices 210 may be connected to one of the multiple interfaces of the router 220. For example, the multiple devices 210 include a display, a set-top box, a game controller, and an audio player, and the multiple interfaces of the router 220 include a first interface to a fourth interface, the interface of the display is connected to the first interface of the router 220 via a cable, the interface of the set-top box is connected to the second interface of the router 220 via a cable, the interface of the game controller is connected to the third interface of the router 220 via a cable, and the interface of the audio player is connected to the fourth interface of the router 220 via a cable.
[0059] The above-mentioned device in the system with data transmission function can be called a communication device. The communication device can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted. The communication device can also be deployed on the water surface (such as a ship, etc.), and can also be deployed in the air (such as an airplane, a balloon, and a satellite, etc.), and the communication device can be applied to different scenarios. Exemplarily, the communication device may include, but is not limited to: a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a camera, a wearable device (such as a smart watch, a smart bracelet, a pedometer, etc.), an audio device, an audio and video player, a set-top box, a game console, a printer, a mouse, a keyboard, a vehicle-mounted device (such as a car, a bicycle, an electric car, an airplane, a ship, a train, a high-speed train, etc.), a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a smart home device (such as a refrigerator, a television, an air conditioner, an electric meter, etc.), an intelligent robot, a workshop device, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, or a smart home. Home), flying equipment (e.g., smart robots, hot air balloons, drones, airplanes), etc. Optionally, the signals transmitted between the above communication devices may include, but are not limited to: audio and video signals, radio frequency signals, IoT data, and charging signals, etc.
[0060] In the present application, the interface specifications used for signal transmission between devices in the data transmission system may include but are not limited to: universal serial bus (USB) interface specifications, high definition multimedia interface (HDMI) interface specifications, display port (DP) interface specifications, unified multimedia interconnection (UMI) interface specifications, and high-speed serial computer expansion bus (Peripheral Component Interconnect Express, PCI-Express) interface specifications, etc. Accordingly, the interface may be HDMI, miniHDMI, micro HDMI, type-A interface, type-B interface, Micro-B, and type-C interface, etc.
[0061] For example, in the above examples, the interface connection method between the set-top box and the TV, or the interface connection method between the game console and the monitor can be connected through a USB cable, and the interface standard followed is the USB interface specification, or the connection method can be connected through an HDMI cable, and the interface standard followed is the HDMI interface specification.
[0062] It can be understood that the interface specification used for signal transmission between the above-mentioned devices is only exemplary. In practical applications, the interface specification may also include other interface specifications that may appear in the future, such as a unified media interconnection (UMI) interface, etc. The embodiment of the present application does not impose specific limitations on this.
[0063] In this application, when the above-mentioned device is an electronic device, such as Figure 3The figure shows a schematic diagram of basic components of an electronic device. The electronic device includes an interface chip 300 (UMI interface), and the interface chip 300 includes one or more adapters 301, one or more management control adapters 302 and one or more ports 303; or when the electronic device is a routing device, the interface chip 300 only includes one or more ports 303. Each of the one or more adapters 301 can be coupled to an external component of the interface chip 300. One or management control adapters 302 can be coupled to a component used for management control outside the interface chip 300. Port 303 can be coupled to a connector 304 of the electronic device, and connector 304 is used to couple an external device of the electronic device. Among them, one or more adapters 301 can be a sending / receiving adapter. For example, when the adapter 301 is used for adapting audio and video formats, the adapter 301 can be an audio and video sending / receiving adapter. When the adapter 301 is used for third-party protocol adaptation, the adapter 301 can be a third-party protocol adapter.
[0064] For example, when port 303 is a downlink port, the sending adapter can be used to adapt the service information to be sent into service information that can be transmitted on port 303 of the interface chip, and send the service information out through port 303. When port 303 is an uplink port, the receiving adapter 301 can be used to adapt the service information received from port 303 into service information to be processed internally by the electronic device for internal processing. The management control adapter 302 can be used to adapt control information.
[0065] The basic components of different electronic devices can be combined to form a variety of different types of devices. For example, the electronic device includes a source device including at least one downstream port and at least one video and audio transmission adapter, or a source device including at least one upstream port and a video and audio receiving adapter, or a docking device including at least one upstream port, at least one video and audio receiving adapter and at least one traditional video and audio interface, or a routing device including at least one downstream port and at least one upstream port without a video and audio transmission adapter and a video and audio receiving adapter, or a composite device having both an upstream port and a downstream port.
[0066] like Figure 4 The figure shows a schematic diagram of an inter-interface transmission provided by an embodiment of the present application. A main link (ML) and a sideband link (SL) may be included between the uplink port and the downlink port between devices. The main link can be used for high-speed data transmission, such as the transmission of audio and video signals, and the sideband link can be used for management and control between devices, such as device discovery, capability query, device configuration, device control, etc. It can also be used for low-speed data transmission and control message transmission.
[0067] In a possible embodiment, the main link may include multiple lanes, each of which may support unidirectional transmission; the auxiliary link may include two unidirectional channels in different directions. In other possible embodiments, the main link may include multiple channels, some of which are unidirectional channels and others are bidirectional channels; the auxiliary link may include a bidirectional channel. Exemplarily, a main link may include multiple channels, for example, the number of the multiple channels may be 2, 5, or 9. The more channels the main link includes, the faster the corresponding data transmission speed. Exemplarily, as Figure 4 As shown, for the uplink port, the main link may include n transmitting channels TX0-TXn and m receiving channels RX0-RXm, and the auxiliary link includes a transmitting channel SBTX and a receiving channel SBRX, where n and m are positive integers; for the downlink port, the main link may include n receiving channels RX0-RXn and m transmitting channels TX0-TXm, and the auxiliary link includes a receiving channel SBRX and a transmitting channel SBTX.
[0068] Furthermore, the uplink port and the downlink port between the devices may also include a power-bus link (PL) and a cable-information link (CL). The cable-information link may be used to transmit cable information, such as the cable model and cable capability information. The power-bus link and the cable-information link are not shown in the figure.
[0069] It can be understood that for ports between devices, whether they are uplink ports or downlink ports, they can include multiple pins, such as pins connected to ground lines, pins connected to power lines, pins connected to channels of main links, and pins connected to channels of auxiliary links.
[0070] In the high-speed interconnection interface, the above-mentioned main link may also be referred to as a high-speed link, which may specifically include multiple channels supporting high-speed data transmission, for example, the transmission rate supported by the channel of the main link may be 2Gbps, 4Gbps or 8Gbps, etc.; the above-mentioned auxiliary link may also be referred to as a low-speed link, which may specifically include multiple channels supporting low-speed transmission, for example, the transmission rate supported by the channel of the auxiliary link may be 12.5Mbps.
[0071] For example, Figure 5 A schematic diagram of a protocol stack structure for data transmission between devices via a link is shown. The protocol stack may include an adapter layer, a transport layer, a logic layer, and an electrical layer.
[0072] Among them, the adaptation layer can be used to be responsible for the connection between the interface device and the external components. The functions that can be executed by the adaptation layer may include data transmission adaptation, data reception adaptation, third-party protocol adaptation (for example, protocol tunnel adaptation) and management control adaptation, etc. Data transmission adaptation may refer to the transmission adaptation of the source data received from the application of the device and then sending it to the transport layer. Data reception adaptation may refer to the reception adaptation of the data received from the transport layer and then sending it to the application for data processing. Third-party protocol adaptation can be used to receive data from the transport layer and then perform protocol adaptation to obtain third-party protocol data, and transmit it to the application for processing, or receive third-party protocol data from the application and then adapt it and send it to the transport layer, etc. Management control adaptation may refer to adapting the control information received from the transport layer, performing management control according to the adapted control information, or adapting the control information generated from the management control process and then sending it to the transport layer, etc.
[0073] The transport layer may be responsible for processing and forwarding service information or control information, etc. For example, the transport layer may process and forward service flows such as video, audio, and third-party protocol tunnels and management control information, and perform bandwidth management of all service flows.
[0074] The logic layer may be responsible for line coding and decoding, scrambling and descrambling, forward error correction (FEC) coding and decoding, and link training.
[0075] The electrical layer can be used to perform signal equalization, spread spectrum, clock recovery, etc. The logical layer and the electrical layer can also be collectively referred to as the physical layer.
[0076] Currently, if Figure 6 As shown, when devices communicate through a high-speed interconnection interface, business information is mainly transmitted through the main link in the high-speed interconnection interface, and control information is transmitted through the auxiliary link. That is, the main link is used to transmit business messages (or data messages), and the auxiliary link is used to transmit management messages (or control messages). The management messages can be used to assist in managing the main link or managing the network and equipment, etc. Figure 6 In the example, the communication between the first device 110 and the second device 120 through the high-speed interconnection interface is used for explanation, and the high-speed interconnection interface is referred to as a port. However, in this communication scenario, business messages can only be transmitted through the main link. When a business message needs to transmit data, regardless of the amount of data corresponding to the business message, the main link needs to be opened, which leads to high power consumption of the device; in addition, management messages can only be transmitted through the auxiliary link, and the transmission rate of the auxiliary link is low, which will increase the transmission delay of the management message. That is, the above-mentioned method of transmitting business messages through the main link and transmitting management messages through the auxiliary link will have the problems of high power consumption and long delay.
[0077] Based on this, an embodiment of the present application provides a data transmission method, which can select a link for transmitting a message, which can be a main link, an auxiliary link, or a link selected according to the link status, thereby improving the balance between power consumption and delay during data transmission. The method also includes transmitting a message on at least one of the main link and the auxiliary link based on the status information of the main link, thereby improving the balance between power consumption and delay during data transmission. In addition, the method can transmit messages, including business messages and management messages, on the main link when the main link is in an activated state to reduce the delay of the management message; when the main link is not in an activated state, transmit messages, including business messages and management messages, on the auxiliary link to reduce power consumption.
[0078] Figure 7 A flow chart of a data transmission method provided in an embodiment of the present application, the method may include the following steps. The method may be applied to a data transmission system including a data sending device and a data receiving device, the data sending device and the data receiving device may be connected by wire or wirelessly, and the connection may be a direct connection or an indirect connection. The data sending device may communicate with the data receiving device via a main link, or a main link and an auxiliary link.
[0079] S701: The data sending device obtains link selection indication information, and the link selection indication information is used to indicate one of the following: a fixed main link, a fixed auxiliary link, or selecting a main link or an auxiliary link according to a link state. Correspondingly, S701': The data receiving device obtains the link selection indication information, and the link selection indication information is used to indicate one of the following: a fixed main link, a fixed auxiliary link, or selecting a main link or an auxiliary link according to a link state.
[0080] Optionally, the data sending device obtains link selection indication information, which may specifically include: the data sending device determines the link selection indication information according to the transmission rate of the service message; further, the data sending device may also send the link selection indication information to the data receiving device.
[0081] In a possible embodiment, if the transmission rate of the service message is greater than or equal to a preset threshold, the link selection indication information can be used to indicate a fixed main link; if the transmission rate of the service message is less than the preset threshold, the link selection indication information can be used to indicate a fixed auxiliary link, or to indicate the selection of a main link or an auxiliary link based on the link status.
[0082] It is understandable that the preset threshold may be pre-set or configured. Exemplarily, the preset threshold may be a fixed transmission rate threshold, or the preset threshold may be adjusted according to the service transmission situation or other actual situations, and the present application embodiment does not impose specific restrictions on this.
[0083] In one optional design, the preset threshold may be a transmission rate of the auxiliary link, such as 12.5 Mbps. In this way, the auxiliary link can be used as much as possible when performing low-speed data transmission, thereby saving power consumption.
[0084] S702: The data sending device sends a message on the main link or sends a message on the auxiliary link according to the link selection indication information. Correspondingly, S702': The data receiving device receives a message on the main link or receives a message on the auxiliary link according to the link selection indication information.
[0085] Specifically, Figure 8 As shown, the data sending device sends a message on the main link or sends a message on the auxiliary link according to the link selection indication information, which may specifically include any one of S7021-S7023. Figure 8 The steps corresponding to the data receiving device are not shown.
[0086] S7021: If the link selection indication information is used to indicate a fixed primary link, the data sending device sends a message on the primary link. Correspondingly, if the link selection indication information is used to indicate a fixed primary link, the data receiving device receives a message on the primary link.
[0087] Furthermore, the data sending device and the data receiving device may also obtain status information of the main link, and the status information of the main link may be used to indicate the status of the main link. The status of the main link may include: activation status, disable status, link initialization status, link training status, link recovery status, and low power (LP) status.
[0088] If the main link is in a low power consumption state, the data sending device wakes up the main link to an active state and sends a message on the main link. Correspondingly, if the main link is in a low power consumption state, the data receiving device wakes up the main link to an active state and receives a message on the main link.
[0089] If the main link is neither in an activated state nor in a low power consumption state, in a possible embodiment, the data sending device may cache or discard the service message to save power consumption.
[0090] S7022: If the link selection indication information is used to indicate a fixed auxiliary link, the data sending device sends a message on the auxiliary link. Correspondingly, if the link selection indication information is used to indicate a fixed auxiliary link, the data receiving device receives a message on the main link.
[0091] S7023: If the link selection indication information is used to indicate that a link is selected according to the link status, the data sending device sends a message on the main link or sends a message on the auxiliary link according to the status of the main link. Correspondingly, if the link selection indication information is used to indicate that a link is selected according to the link status, the data receiving device receives a message on the main link or receives a message on the auxiliary link according to the status of the main link.
[0092] The status of the main link may include: an activation state, a disable state, a link initialization state, a link training state, a link recovery state, and a low power (LP) state.
[0093] The main link being in an activated state may also be referred to as the main link being in a service transmission state, which may specifically refer to a state in which the main link can transmit service messages (or data messages) or high-speed service data. Exemplarily, one or more channels in the main link may be in an activated state. The main link being in a disabled state may refer to a state in which the main link is not powered on. The main link being in a link initialization state refers to a state in which the main link is powered on and initialized. The main link being in a training state refers to a state in which the main link is performing link training. The link recovery state refers to a state in which the main link is performing channel recovery. The main link being in a low power consumption state may refer to a state in which the main link is in a low power consumption state without high-speed service transmission.
[0094] Optionally, the data sending device and the data receiving device may also obtain status information of the main link, and the status information of the main link may be used to indicate the status of the main link. Furthermore, the data sending device may send a message on the main link or send a message on the auxiliary link according to the status of the main link indicated by the status information of the main link. Correspondingly, the data receiving device may also receive a message on the main link or receive a message on the auxiliary link according to the status of the main link indicated by the status information of the main link. That is, the data sending device and the data receiving device may transmit a message on the main link or transmit a message on the auxiliary link according to the status of the main link indicated by the status information of the main link.
[0095] The following describes the detailed process of the data sending device and the data receiving device transmitting a message on the main link or transmitting a message on the auxiliary link according to the state of the main link. Figure 8 As shown, the above S7023 specifically includes any one of S7023a-S7023b.
[0096] S7023a: If the main link is in an activated state, the data sending device sends a message on the main link.
[0097] Specifically, when the data sending device obtains the status indication information of the main link, the service message and / or management message can be transmitted according to the set rules based on the indication information. In a possible embodiment, when the status information of the main link indicates that the main link is in an activated state, the data sending device can send messages on the main link, for example, the data sending device sends service messages and management messages on one or more channels in an activated state.
[0098] Correspondingly, if the main link is in an activated state, the data receiving device receives messages on the main link.
[0099] In a possible embodiment, the data receiving device may also obtain the status information of the main link, and determine the status of the main link according to the status information of the main link. If the status information of the main link indicates that the main link is in an activated state, and the data sending device sends a message on the main link, the data receiving device may receive the message on the main link. For example, if the main link is in an activated state, the data receiving device receives service messages and management messages on the main link.
[0100] In the embodiment of the present application, the data sending device can obtain status information including the main link. If the status information of the main link indicates that the main link is in an activated state, the data sending device can send business messages and management messages on the main link, and the corresponding data receiving device can receive business messages and management messages on the main link. In this way, when the main link is in an activated state, the data sending device and the data receiving device can transmit business messages and management messages through the main link, thereby reducing the transmission delay of the management message. In addition, there is no need to use an auxiliary link for communication, thereby improving the balance between power consumption and delay during data transmission.
[0101] S7023b: If the main link is not in an activated state, the data sending device sends the message on the auxiliary link. Correspondingly, if the main link is not in an activated state, the data receiving device receives the message on the auxiliary link.
[0102] Among them, when the status information of the main link indicates that the main link is not in an activated state, the main link may be in other states, for example, the main link may be in a disabled state, a link initialization state, a link training state, a link recovery state or a low power consumption state, etc. The embodiments of the present application do not impose specific restrictions on this.
[0103] In a possible embodiment, if the status information of the main link indicates that the main link is not in an activated state, and the data sending device sends a message on the auxiliary link, the data receiving device can receive the message on the auxiliary link. In this way, when the main link is not in an activated state, the data sending device and the data receiving device can transmit messages (for example, transmission management messages) through the auxiliary link without waking up the main link, thereby reducing power consumption.
[0104] In an embodiment of the present application, a data sending device and a data receiving device can select a link for transmitting a message based on the acquired link selection indication information, which may be a main link, an auxiliary link, or select a main link or an auxiliary link based on the link status, thereby transmitting the message on the selected link, thereby improving the balance between power consumption and delay during data transmission.
[0105] In another possible embodiment of the present application, a data transmission method is provided, which involves the transmission of a main link of a transport layer. Specifically, when a message is transmitted through the main link, the delay is small, but the power consumption is high. When a message is transmitted through an auxiliary link, the power consumption is small, but the delay is large. When there are only some low-speed services that are not sensitive to delay, and the bandwidth of the auxiliary link has met the service transmission bandwidth requirements, there is no need to open the main link at this time, thereby reducing power consumption. When the main link of the logical layer is in an activated state, some messages used for network management can be transmitted through the main link, thereby reducing delay.
[0106] The management adapter provides a primary and secondary link selection indication MS (or link selection indication) as shown in Table 1 below for each output Shuttle (except ShuttleID 0) of each output port, and the corresponding bit width can be 2 bits, which is used to indicate one of the following: fixed primary link, fixed secondary link, and selection according to link status. It can be understood that the 2-bit values corresponding to different indications in Table 1 below are only exemplary and do not limit the embodiments of the present application.
[0107] Table 1
[0108]
[0109] The transmission layer transmitter sends the message output by the bandwidth manager to the main link transmission management unit or the auxiliary link transmission management unit according to the "primary and auxiliary link selection" instruction. The transmission layer receiver receives messages from the main link reception management unit and the auxiliary link reception management unit to combine the main and auxiliary links.
[0110] The transport layer sender distributes the messages output by the bandwidth manager to the primary and secondary links according to the following rules:
[0111] When the MS is 10, the message is sent to the main link management unit; if the main link of the logical layer is in a low power consumption state (LPx), the main link of the logical layer is awakened to an active state, and then the message is sent to the main link management unit;
[0112] When MS is 01, the message is sent to the auxiliary link management unit;
[0113] When MS is 00 / 11, when the main link of the logical layer is in an activated state, the message is sent to the main link sending management unit; otherwise, the message is sent to the auxiliary link sending management unit.
[0114] Fig. 9 A flow chart of another data transmission method provided in an embodiment of the present application, which method can be applied to a data transmission system including a data sending device and a data receiving device, and the method may include the following steps.
[0115] S901: The data sending device obtains indication information, where the indication information includes status information of the main link.
[0116] The indication information may include link information and / or service status information. The link information may be used to indicate the status information of the link. The service status information may be used to indicate the information of the transmitted service, such as rate information or service data volume, etc. The embodiment of the present application does not impose specific restrictions on this. In one example, the indication information includes the status information of the main link. The status information of the main link may be used to indicate the current status of the main link. Optionally, the main link may include one or more channels. The status information of the main link may be used to indicate the status of the one or more channels.
[0117] S902: If the status information of the main link indicates that the main link is in an activated state, the data sending device sends a message on the main link, including a service message and / or a management message. Correspondingly, if the status information of the main link indicates that the main link is in an activated state, the data receiving device receives a message on the main link, including a service message and / or a management message.
[0118] When the data sending device obtains the indication information, the data sending device can transmit the service message and / or management message according to the indication information and the set rules. In a possible embodiment, when the status information of the main link indicates that the main link is in an activated state, the data sending device can send the service message and management message on the main link, for example, the data sending device sends the service message and management message on one or more channels in an activated state.
[0119] Correspondingly, the data receiving device may also obtain indication information, and determine the state of the main link according to the state information of the main link in the indication information. Further, if the state information of the main link indicates that the main link is in an activated state, and the data sending device sends a service message and / or a management message on the main link, the data receiving device may receive the service message and the management message on the main link.
[0120] Further, after the data sending device obtains the indication information, if the status information of the main link indicates that the main link is not in an activated state, the data sending device may send a management message according to the following steps. Fig. 9 As shown, after S901, the method may further include S903.
[0121] S903: If the status information of the main link indicates that the main link is not in an activated state, the data sending device sends the management message on the auxiliary link. Correspondingly, if the status information of the main link indicates that the main link is not in an activated state, the data receiving device receives the management message on the auxiliary link.
[0122] In a possible embodiment, if the status information of the main link indicates that the main link is not in an activated state, and the data sending device sends a management message on the auxiliary link, the data receiving device can receive the management message on the auxiliary link. In this way, when the main link is not in an activated state, the data sending device and the data receiving device can transmit the management message through the auxiliary link without waking up the main link, thereby reducing power consumption.
[0123] Furthermore, the indication information also includes business status information. For example, the business status information may be rate information of a business message. When the status information of the main link indicates that the main link is not in an activated state, the data sending device may also determine whether to wake up the main link and whether to send the business message on the main link based on the status information of the main link and the rate information of the business message.
[0124] In a possible embodiment, Fig. 9 As shown, after S901, the method may further include S904.
[0125] S904: If the transmission rate indicated by the rate information of the service message is greater than or equal to the preset threshold, the data sending device wakes up the main link to an activated state and sends the service message on the main link. Correspondingly, if the transmission rate indicated by the rate information of the service message is greater than or equal to the preset threshold, the data receiving device wakes up the main link to an activated state and receives the service message on the main link.
[0126] In an example, when the main link is not in an activated state, the data sending device can determine whether the transmission rate indicated by the rate information of the service message is less than a preset threshold value. If the transmission rate indicated by the rate information is greater than or equal to the preset threshold value, the data sending device can wake up the main link to an activated state and send the service message on the main link. In addition, the data receiving device can also wake up the main link to an activated state and receive the service message on the main link.
[0127] In one optional design, the preset threshold may be a transmission rate of the auxiliary link, such as 12.5 Mbps. In this way, the auxiliary link can be used as much as possible when performing low-speed data transmission, thereby saving power consumption.
[0128] In another possible embodiment, Fig. 9 As shown, after S901, the method may further include S905.
[0129] S905: If the transmission rate indicated by the rate information of the service message is less than a preset threshold, and the status information of the main link indicates that the main link is in a low power consumption state, the data sending device wakes up the main link to an activated state, and sends the service message on the main link. Correspondingly, if the transmission rate indicated by the rate information of the service message is less than a preset threshold, and the status information of the main link indicates that the main link is in a low power consumption state, the data receiving device wakes up the main link to an activated state, and receives the service message on the main link.
[0130] In one example, when the main link is not in an activated state, the data sending device can determine whether the transmission rate indicated by the rate information of the service message is less than a preset threshold; if the transmission rate indicated by the rate information is less than the preset threshold, the data sending device can further determine whether the main link is in a low power consumption state; if the main link is in the low power consumption state, the data sending device wakes up the main link to an activated state and sends the service message on the main link. In addition, the data receiving device can also wake up the main link to an activated state and receive the service message on the main link.
[0131] In another possible embodiment, Fig. 9As shown, after S901, the method may further include S906. In the figure, S902, S903, S904, S905 and S906 are not in any particular order.
[0132] S906: If the transmission rate indicated by the rate information of the service message is less than a preset threshold, and the state information of the main link indicates that the main link is not in a low power consumption state, the data sending device caches or discards the service message.
[0133] Optionally, in addition to caching or discarding the service message, the data sending device may also perform other processing on the service message without transmitting the service message to the data receiving device, and the embodiment of the present application does not impose any specific restrictions on this.
[0134] In one example, when the main link is not in an activated state, the data sending device can determine whether the transmission rate indicated by the rate information of the service message is less than a preset threshold; if the transmission rate indicated by the rate information is less than the preset threshold, the data sending device can further determine whether the main link is in a low power consumption state; if the main link is not in the low power consumption state, the data sending device can cache or discard the service message to save power consumption.
[0135] For ease of understanding, the following Fig.10 The data transmission method provided in the embodiment of the present application is described by way of example. Fig.10 As shown, the data transmission method may include: S1. Determine whether the main link is in an activated state, if so, execute S2, if otherwise, execute S3; S2. Transmit business messages and / or management messages through the main link; S3. Transmit management messages through the auxiliary link and execute S4; S4. Determine whether the transmission service of the business message is less than a preset threshold, if otherwise, execute S5, if yes, execute S6; S5. Wake up the main link and transmit the business message through the main link; S6. Determine whether the main link is in a low power consumption state, if so, execute S5, if otherwise, execute S7; S7. Cache or discard the business message.
[0136] In an embodiment of the present application, the data sending device and the data receiving device can transmit service messages and / or management messages on the main link or the auxiliary link according to the status information of the main link, or the status information of the main link and the rate information of the service message, according to the set rules, so as to improve the balance between power consumption and delay during data transmission. In addition, the method can transmit service messages and management messages on the main link when the main link is in an activated state to reduce the delay of the management message; when the main link is not in an activated state, the management message is transmitted on the auxiliary link to reduce power consumption; when the main link is not in an activated state but in a low power consumption state, the main link is awakened to transmit the service message to reduce power consumption, and when the main link is not in an activated state and a low power consumption state, the service message is cached or discarded to save power consumption.
[0137] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of the interaction between the data sending device and the data receiving device. It is understandable that, as a data sending device and a data receiving device, in order to realize the above functions, it includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0138] The embodiment of the present application can divide the functional modules of the data sending device and the data receiving device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0139] In the case of an integrated unit, Fig.11A possible structural diagram of the data sending device involved in the above embodiment is shown. The data sending device can be a sending end device, or a chip applied to a sending end device, and the device includes: a processing unit 1101 and a sending unit 1102. In a possible embodiment, the processing unit 1101 can be used to support the device to execute S701 in the above method embodiment, the action of waking up the main link to an activated state, and / or other technical processes described herein; the sending unit 1102 can be used to support the device to execute S702, S7021, S7022 or S7023 (for example, S7023a to S7023b) in the above method embodiment. In another possible embodiment, the processing unit 1101 may be used to support the device to execute the actions of waking up the main link to an activated state in S901, S906, or S904 and S905 in the above method embodiment, and / or other technical processes described herein; the sending unit 1102 may be used to support the device to execute the actions of sending messages on the main link in S902, S903, or S904 and S905 in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and the embodiments of this application will not be repeated here.
[0140] On the basis of hardware implementation, the processing unit 1101 in the present application may be a processor of the device, and the sending unit 1102 may be a transmitter of the device, and the transmitter may also be referred to as a sending port. Optionally, the transmitter may be integrated with the receiver to be used as a transceiver, and the specific transceiver may also be referred to as a communication interface.
[0141] like Fig.12 As shown, it is a structural schematic diagram of a data sending device provided in an embodiment of the present application. The device may be a sending end device, or a chip applied to a sending end device, and the device includes: a processor 1111 and a transmitter 1112. In one possible embodiment, the processor 1111 may be used to support the device to execute S701 in the above method embodiment, the action of waking up the main link to an activated state, and / or other technical processes described herein. In another possible embodiment, the processor 1111 may be used to support the device to execute S901, S906, or the action of waking up the main link to an activated state in S904 and S905 in the above method embodiment, and / or other technical processes described herein. In addition, the transmitter 1112 may be used to support the device to communicate, for example, to support the device to communicate with a data receiving device. Optionally, the data sending device also includes a memory for storing programs, instructions, data, etc. required by the data receiving device.
[0142] In the case of an integrated unit, Fig.13A possible structural schematic diagram of the data receiving device involved in the above embodiment is shown. The data receiving device can be a receiving end device, or a chip applied to a receiving end device, and the device includes: a receiving unit 1201 and a processing unit 1202. In a possible embodiment, the receiving unit 1201 can be used to support the device to receive the message sent in S702, S7021, S7022 or S7023 (for example, S7023a to S7023b) of the above method embodiment; the processing unit 1202 can be used to support the device to perform the actions of obtaining link selection indication information, waking up the main link to an activated state, and / or other technical processes described herein in the above method embodiment. In another possible embodiment, the receiving unit 1201 can be used to support the device to receive the message sent in S902, S903, or S904 and S905 of the above method embodiment; the processing unit 1202 can be used to support the device to perform the actions of obtaining indication information, waking up the main link to an activated state, and / or other technical processes described herein in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and the embodiment of the present application will not be repeated here.
[0143] On the basis of hardware implementation, the processing unit 1202 in the present application may be a processor of the device, the receiving unit 1201 may be a receiver of the device, and the receiver may also be referred to as a receiving port. Optionally, the receiver may be integrated with the transmitter to serve as a transceiver, and the specific transceiver may also be referred to as a communication interface.
[0144] like Fig.14 As shown, it is a structural schematic diagram of a data receiving device provided by an embodiment of the present application. The data receiving device can be a receiving end device, or a chip applied to a receiving end device, and the device includes: a receiver 1211 and a processor 1212. In one possible embodiment, the processor 1212 is used to support the device to execute the above-mentioned method embodiment to obtain link selection indication information, wake up the main link to an activated state, and / or other technical processes described herein. In another possible embodiment, the processor 1212 is used to support the device to execute the above-mentioned method embodiment to obtain indication information, wake up the main link to an activated state, and / or other technical processes described herein. In addition, the receiver 1211 can be used to support the device to communicate, for example, to support the device to communicate with a data sending device. Optionally, the data receiving device also includes a memory for storing programs, instructions, data, etc. required by the data receiving device.
[0145] In another embodiment of the present application, a data transmission system is provided, the data transmission system comprising a data sending device and a data receiving device; wherein the data sending device may be or include the above-mentioned Fig.11 or Fig.12 The data sending device provided is used to execute the steps of the data sending device in the method embodiment provided above; the data receiving device may be or include the above Fig.13 or Fig.14 The provided data receiving device is used to execute the steps of the data receiving device in the method embodiment provided above.
[0146] It can be understood that all relevant contents of each step involved in the above method embodiment can be referred to the embodiment of the data sending device, the embodiment of the data receiving device, and the embodiment of the data transmission system, and the embodiments of the present application will not be repeated here.
[0147] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0148] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0149] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium, which can include: a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., which can store program codes. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product.
[0150] In another embodiment of the present application, a readable storage medium is also provided, which stores computer execution instructions. When a device (which may be a single-chip microcomputer, chip, etc.) or a processor executes the steps of the data sending device in the above method embodiment.
[0151] In another embodiment of the present application, a readable storage medium is also provided, which stores computer execution instructions. When a device (which may be a single-chip microcomputer, chip, etc.) or a processor executes the steps of the data receiving device in the above method embodiment.
[0152] In another embodiment of the present application, a computer program product is also provided, which includes computer instructions stored in a readable storage medium; at least one processor of the device can read the computer instructions from the readable storage medium, and at least one processor executes the computer instructions so that the device performs the steps of the data sending device in the above method embodiment.
[0153] In another embodiment of the present application, a computer program product is also provided, which includes computer instructions stored in a readable storage medium; at least one processor of the device can read the computer instructions from the readable storage medium, and at least one processor executes the computer instructions so that the device performs the steps of the data receiving device in the above method embodiment.
[0154] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data transmission method, characterized in that: Applied to a data sending device, the data sending device communicates via a main link and an auxiliary link, the method comprising: Acquire link selection indication information, where the link selection indication information is used to indicate one of the following: fixing a main link, fixing an auxiliary link, or selecting a main link or an auxiliary link according to a link state; According to the link selection indication information, a message is sent on the primary link or a message is sent on the auxiliary link.
2. The method according to claim 1, characterized in that If the link selection indication information is used to indicate selecting a main link or an auxiliary link according to a link state, sending a message on the main link or sending a message on the auxiliary link according to the link selection indication information includes: If the main link is in an activated state, the message is sent on the main link.
3. The method according to claim 1, characterized in that If the link selection indication information is used to indicate selecting a main link or an auxiliary link according to a link state, sending a message on the main link or sending a message on the auxiliary link according to the link selection indication information includes: If the primary link is not in an activated state, the message is sent on the secondary link.
4. The method according to any one of claims 1 to 3, characterized in that: If the link selection indication information is used to indicate the fixed primary link, sending the message on the primary link or sending the message on the auxiliary link according to the link selection indication information includes: If the main link is in the low power consumption state, waking up the main link to the activated state; The message is sent on the primary link.
5. The method according to any one of claims 1 to 4, characterized in that: The obtaining of link selection indication information includes: The link selection indication information is determined according to the transmission rate of the message.
6. A data transmission method, characterized in that: Applied to a data receiving device, the data receiving device communicates via a main link and an auxiliary link, the method comprising: Acquire link selection indication information, where the link selection indication information is used to indicate one of the following: fixing a main link, fixing an auxiliary link, or selecting a main link or an auxiliary link according to a link state; According to the link selection indication information, a message is received on the primary link or a message is received on the auxiliary link.
7. The method according to claim 6, characterized in that If the link selection indication information is used to indicate selecting a main link or an auxiliary link according to a link state, receiving a message on the main link or receiving a message on the auxiliary link according to the link selection indication information includes: If the main link is in an activated state, the message is received on the main link.
8. The method according to claim 6, characterized in that If the link selection indication information is used to indicate selecting a main link or an auxiliary link according to a link state, receiving a message on the main link or receiving a message on the auxiliary link according to the link selection indication information includes: If the main link is not in an activated state, the message is received on the auxiliary link.
9. The method according to any one of claims 6 to 8, characterized in that: If the link selection indication information is used to indicate the fixed main link, the receiving a message on the main link or the receiving a message on the auxiliary link according to the link selection indication information includes: If the main link is in the low power consumption state, waking up the main link to the activated state; The message is received on the primary link.
10. The method according to claim 6, characterized in that The obtaining of link selection indication information includes: The link selection indication information is determined according to the transmission rate of the message.
11. A data sending device, characterized in that: The data sending device communicates via a main link and an auxiliary link, and the device comprises: A processing unit, configured to obtain link selection indication information, wherein the link selection indication information is used to indicate one of the following: fixing a main link, fixing an auxiliary link, or selecting a main link or an auxiliary link according to a link state; A sending unit is used to send a message on the main link or send a message on the auxiliary link according to the link selection indication information.
12. The device according to claim 11, characterized in that If the link selection indication information is used to indicate the selection of a main link or an auxiliary link according to a link state; The sending unit is further configured to send the message on the main link if the main link is in an activated state.
13. The device according to claim 11, characterized in that If the link selection indication information is used to indicate the selection of a main link or an auxiliary link according to a link state; The sending unit is further configured to send the message on the auxiliary link if the main link is not in an activated state.
14. The device according to any one of claims 11 to 13, characterized in that: If the link selection indication information is used to indicate the fixed primary link; The processing unit is further configured to wake up the main link to the activated state if the main link is in the low power consumption state; The sending unit is further configured to send the message on the primary link.
15. The device according to any one of claims 11 to 14, characterized in that: The processing unit is further used to determine the link selection indication information according to the transmission rate of the message.
16. A data receiving device, characterized in that: The data receiving device communicates via a main link and an auxiliary link, and the device comprises: A processing unit, configured to obtain link selection indication information, wherein the link selection indication information is used to indicate one of the following: fixing a main link, fixing an auxiliary link, or selecting a main link or an auxiliary link according to a link state; A receiving unit is used to receive a message on the main link or receive a message on the auxiliary link according to the link selection indication information.
17. The device according to claim 16, characterized in that If the link selection indication information is used to indicate the selection of a main link or an auxiliary link according to a link state; The receiving unit is further configured to receive the message on the main link if the main link is in an activated state.
18. The device according to claim 16, characterized in that If the link selection indication information is used to indicate the selection of a main link or an auxiliary link according to a link state; The receiving unit is further configured to receive the message on the auxiliary link if the main link is not in an activated state.
19. The device according to any one of claims 16 to 18, characterized in that: If the link selection indication information is used to indicate the fixed primary link; The processing unit is further configured to wake up the main link to the activated state if the main link is in the low power consumption state; The receiving unit is further configured to receive the message on the primary link.
20. The device according to claim 16, characterized in that The processing unit is further used to determine the link selection indication information according to the transmission rate of the message.
21. A chip, characterized in that: The chip comprises: a processing circuit and a transmitter, wherein the processing circuit and the transmitter are used to support the chip to execute the data transmission method according to any one of claims 1 to 5.
22. A chip, characterized in that: The chip comprises: a processing circuit and a receiver, wherein the processing circuit and the receiver are used to support the chip to execute the data transmission method according to any one of claims 6 to 10.
23. A data transmission system, characterized in that: The data transmission system includes a data sending device and a data receiving device, the data sending device includes the data sending device according to any one of claims 11 to 15 or the chip according to claim 21, and the data receiving device includes the data receiving device according to any one of claims 16 to 20 or the chip according to claim 22.
24. A readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed on a device, the device executes the data transmission method according to any one of claims 1 to 5.
25. A readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed on a device, the device executes the data transmission method according to any one of claims 6 to 10.