Communication method, communication apparatus, chip and computer readable storage medium
By generating and sending control frames in an in-vehicle multi-node wired audio transmission system to determine the sleep start time of nodes, the power consumption problem during node sleep is solved, synchronous sleep and fast wake-up of nodes are realized, and system power consumption is reduced.
Patent Information
- Application Number
- CN202311128762.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-08-31
AI Technical Summary
In a vehicle-mounted multi-node wired audio transmission system, the question arises as to how to reduce power consumption when nodes are in sleep mode.
The sleep start time of a node is determined by generating and sending control frames, enabling multiple nodes to sleep synchronously. The sleep start time is accurately determined by using the indication information and backoff count value in the control frames, and clock synchronization is maintained by using heartbeat frames to ensure that the node wakes up quickly after sleeping.
Synchronous sleep mode for multiple nodes was achieved, reducing system power consumption and improving system energy efficiency.
Smart Images

Figure CN119583231B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more particularly to communication methods, communication devices, chips, and computer-readable storage media. Background Technology
[0002] In a multi-node wired audio transmission system for vehicles, a daisy-chain topology is often used between the master node and multiple slave nodes. In this system, the system-on-chip (SOC) acts as the master, communicating with peripherals connected to the slave nodes through the master node. An example of such a system is as follows: the SOC acts as the master and is connected to the master node; the audio codec is connected to the first slave node (the audio encoder is a peripheral connected to the first slave node); microphone 1 is connected to the second slave node; and microphone 2 is connected to the third slave node. In this example, the audio signal to be played is sent from the master to the audio codec via the master node-first slave node; the audio signal collected by microphone 1 is transmitted to the master via the second slave node-first slave node-master node; and the audio signal collected by microphone 2 is transmitted to the master via the third slave node-second slave node-first slave node-master node.
[0003] When there is no data transmission in an in-vehicle multi-node wired audio transmission system, the power consumption of the system can be reduced if the nodes in the system go into sleep mode. Therefore, it is necessary to study how to control the sleep mode of the nodes in the transmission system in order to reduce power consumption. Summary of the Invention
[0004] This application discloses a communication method, communication device, chip, and computer-readable storage medium that can control multiple nodes in a transmission system to synchronously go into sleep mode, thereby reducing power consumption.
[0005] In a first aspect, embodiments of this application provide a communication method applied to a first node. The method includes: generating a first frame, wherein the first frame is used at least to determine a sleep start time for a second node; and sending the first frame. The provision that the first frame is used at least to determine the sleep start time for the second node can be replaced by: the first frame being used at least by the second node to determine the sleep start time. The first node and the second node are different.
[0006] In this embodiment of the application, the first frame is used at least to determine the sleep start time of the second node, so that the second node determines its sleep start time and then enters the sleep state after the sleep start time is reached, which can reduce power consumption.
[0007] In one possible implementation, the first frame is specifically used by the second node and one or more subordinate nodes of the second node to determine the sleep start time. For example, the first node is a master node in a communication system, and the second node is a slave node in the same system. The time offset of the sleep start time determined by each subordinate node of the second node and any two nodes within the second node is less than the transmission period of the communication frame in the communication system, for example, a transmission period of 20.83 μs, and the time offset of the sleep start time determined by any two nodes does not exceed 2 μs. In this example, the sleep start times determined by the second node and one or more subordinate nodes of the second node are substantially the same. This allows the second node and one or more subordinate nodes to enter sleep mode after their respective determined sleep start times, enabling synchronous sleep (i.e., simultaneous sleep) and thus reducing power consumption.
[0008] In this implementation, the first frame is specifically used for the second node and one or more of its subordinate nodes to determine the sleep start time, so that the second node and one or more of its subordinate nodes determine their respective sleep start times and then enter the sleep state after the sleep start time is reached, which can reduce power consumption.
[0009] In one possible implementation, the number of second nodes is k, meaning the first frame is used to determine the sleep start time for at least k second nodes, where k is an integer greater than 1. The k second nodes can determine their own sleep start time based on the first frame. For example, the first node is a master node in a communication system, and the k second nodes are k slave nodes in the same system. The time offset between any two determined sleep start times of the k second nodes is less than the transmission period of the communication frame (e.g., the control frame below), for example, a transmission period of 20.83 µs. The time offset between the sleep start times determined by any two nodes does not exceed 2 µs. In this example, the first frame is used for at least k second nodes to determine their sleep start times. Since the determined sleep start times of the k second nodes are essentially the same, the k second nodes enter sleep mode after their respective determined sleep start times, achieving synchronized sleep among the k second nodes and thus reducing power consumption.
[0010] In this implementation, the first frame is used for at least k second nodes to determine the sleep start time, so that the k second nodes determine their respective sleep start times and then enter the sleep state after the sleep start time is reached, which can reduce power consumption.
[0011] In one possible implementation, the first frame includes first indication information and second indication information, wherein the first indication information is at least used to indicate that the first frame is a control frame for determining the hibernation start time, and the second indication information is at least used to determine the hibernation start time.
[0012] In this implementation, the first indication information is used at least to indicate that the first frame is a control frame for determining the hibernation start time, so that the second node knows, based on the first indication information, that the first frame is a control frame for determining the hibernation start time. The second indication information is used at least to determine the hibernation start time, so that the second node determines its hibernation start time based on the second indication information.
[0013] In one possible implementation, the second indication information includes a backoff count value associated with a first time interval, which is equal to the time interval between the moment the second node receives the first frame and the start time of the second node's sleep. An example of the backoff count value being associated with the first time interval is that the backoff count value is positively correlated with the first time interval. In this application, the time interval can be replaced with a time offset or a time offset value. For example, the first time interval can be replaced with a first time offset or a first time offset value.
[0014] In this implementation, the rollback count value is associated with a first time interval so that the second node can obtain the first time interval based on the rollback count value and thus determine its hibernation start time.
[0015] In one possible implementation, the product of the backoff count value and the first period is equal to the first time interval, where the first period is the transmission period of the control frame.
[0016] In this implementation, the product of the backoff count value and the first cycle equals the first time interval, which allows the second node to accurately obtain the first time interval.
[0017] In one possible implementation, the first indication information includes the frame type of a first frame, which at least indicates that the first frame is a control frame for determining the hibernation start time.
[0018] In this implementation, the frame type of the first frame is at least used to indicate that the first frame is a control frame for determining the hibernation start time, so that the second node determines the first frame as a control frame for determining the hibernation start time based on the frame type of the first frame.
[0019] In one possible implementation, the method further includes sending a second frame, which is used by the second node to maintain clock synchronization with the first node. The second frame may be named a heartbeat frame, or may have other names; this application does not limit its scope.
[0020] In this implementation, a second frame is sent so that the second node can maintain clock synchronization with the first node through the second frame, which facilitates quick recovery when the second node is woken up, and allows the second node to enter the working state from the sleep state more quickly.
[0021] In one possible implementation, before sending the second frame, the method further includes: sending a third frame, the third frame being used at least by the second node to determine the sleep start time, the sleep start time being a first moment, and the time interval between the first moment and the moment when the second node receives the third frame being less than a time threshold.
[0022] In this implementation, a third frame is sent. The third frame is used at least by the second node to determine the sleep start time, which can avoid the second node being unable to determine its sleep start time if it does not receive the first frame correctly.
[0023] In one possible implementation, the third frame includes a frame type and a backoff count value, wherein the frame type of the third frame is at least used to indicate that the third frame is a control frame for determining the sleep start time, and the backoff count value in the third frame is at least used by the second node to determine the sleep start time.
[0024] In this implementation, the frame type of the third frame is at least used to indicate that the third frame is a control frame for determining the sleep start time, so that the second node can determine that the third frame is a control frame for determining the sleep start time based on the frame type of the third frame. The backoff count value in the third frame allows the second node to determine its sleep start time.
[0025] In one possible implementation, the backtrack count value in the third frame is 0.
[0026] In one possible implementation, the method further includes: receiving a fourth frame, the fourth frame being used at least to indicate that the second node has correctly received a control frame for determining the sleep start time; and stopping the transmission of control frames used at least by the second node for determining the sleep start time.
[0027] In this implementation, after receiving the fourth frame, the transmission of control frames, at least those used by the second node to determine the sleep start time, is stopped, thus saving signaling overhead.
[0028] In one possible implementation, the fourth frame is specifically used to indicate that the second node and each of its subordinate nodes have correctly received the control frame used to determine the sleep start time.
[0029] In this implementation, after receiving the fourth frame, the transmission of control frames, at least those used by the second node to determine the sleep start time, is stopped, thus saving signaling overhead.
[0030] In one possible implementation, after ceasing to send control frames at least for the second node to determine the sleep start time, the method further includes: entering a sleep state after reaching a target time point, the target time point being a preset time point or the sleep start time.
[0031] In this implementation, the device enters a sleep state after reaching the target time point, which can save power consumption.
[0032] In one possible implementation, the first node is the master node in an in-vehicle multi-node wired audio transmission system, and the second node is a slave node in the same system. For example, a daisy-chain topology is used between the master node and the multiple slave nodes (including the second node) in the in-vehicle multi-node wired audio transmission system. Alternatively, a star topology is used.
[0033] In this implementation, the first frame is used at least to determine the sleep start time for the slave node in the vehicle-mounted multi-node wired audio transmission system, and then enters the sleep state after the sleep start time is reached, which can reduce power consumption.
[0034] In one possible implementation, the number of the second nodes is k, where k is an integer greater than 1, the first node is a node in the communication system, and the second nodes include k nodes in the communication system that have synchronous sleep requirements.
[0035] In one possible implementation, the method further includes: receiving a seventh frame, the seventh frame being used at least to indicate that the second node did not correctly receive the first frame.
[0036] In this implementation, receiving the seventh frame indicates that the second node did not correctly receive the first frame, so that it can continue to send control frames for the second node to determine the sleep start time.
[0037] In one possible implementation, the method further includes: receiving an eighth frame, the eighth frame being used at least to indicate that the second node or at least one of the second node's subordinate nodes has not correctly received the first frame.
[0038] In this implementation, the eighth frame is received in order to continue sending control frames for the second node and its subordinate nodes to determine the sleep start time.
[0039] Secondly, embodiments of this application provide another communication method applied to a second node. The method includes: receiving a first frame transmitted via a channel, the first frame being used at least to determine the sleep start time of the second node; and parsing the received first frame transmitted via the channel. The statement that the first frame is used at least to determine the sleep start time of the second node can be replaced with: the first frame being used at least to determine the sleep start time of the second node. The first node and the second node are different.
[0040] In this embodiment, the first frame is used at least to determine the sleep start time of the second node; the second node can obtain its sleep start time by parsing the first frame, and then enter the sleep state after reaching the sleep start time, which can reduce power consumption.
[0041] In one possible implementation, the first frame is specifically used by the second node and one or more subordinate nodes of the second node to determine the sleep start time.
[0042] In this implementation, the first frame is specifically used by the second node and one or more of its subordinate nodes to determine the sleep start time. The second node and its subordinate nodes can parse the first frame to determine their respective sleep start times, and then enter sleep mode upon reaching the sleep start time, thus reducing power consumption.
[0043] In one possible implementation, the number of the second nodes is k, meaning that the first frame is used to determine the sleep start time of at least k second nodes, where k is an integer greater than 1.
[0044] In this implementation, the first frame is used by at least k second nodes to determine the sleep start time. The k second nodes can parse the first frame to determine their respective sleep start times, and then enter sleep mode upon reaching their sleep start times, thus reducing power consumption.
[0045] In one possible implementation, the first frame includes first indication information and second indication information, wherein the first indication information is at least used to indicate that the first frame is a control frame for determining the hibernation start time, and the second indication information indicates that it is used to determine the hibernation start time.
[0046] In this implementation, the first indication information is used at least to indicate that the first frame is a control frame for determining the hibernation start time, and the second node can know from the first indication information that the first frame is a control frame for determining the hibernation start time. The second indication information is used at least to determine the hibernation start time, and the second node can determine its own hibernation start time based on the second indication information.
[0047] In one possible implementation, the second indication information includes a backoff count value associated with a first time interval equal to the time interval between the moment when the second node receives the first frame and the start time of the second node's sleep.
[0048] In this implementation, the rollback count value is associated with the first time interval, and the second node obtains the first time interval based on the rollback count value, thereby determining its sleep start time.
[0049] In one possible implementation, the product of the backoff count value and the first period is equal to the first time interval, where the first period is the transmission period of the control frame.
[0050] In this implementation, the product of the backoff count and the first period equals the first time interval. The second node can accurately obtain the first time interval based on the backoff count.
[0051] In one possible implementation, the first indication information includes the frame type of a first frame, which at least indicates that the first frame is a control frame for determining the hibernation start time.
[0052] In this implementation, the frame type of the first frame is at least used to indicate that the first frame is a control frame used to determine the hibernation start time, and the second node can determine that the first frame is a control frame used to determine the hibernation start time based on the frame type of the first frame.
[0053] In one possible implementation, the method further includes: receiving a second frame, the second frame being used at least for the second node to maintain clock synchronization with the first node, the first node being the source of the first frame. The source of the first frame refers to the first node to send the first frame, not the node that forwards the first frame.
[0054] In this implementation, the second node maintains clock synchronization with the first node through the second frame, which facilitates quick recovery when the second node is woken up, and allows the second node to enter the working state from the sleep state more quickly.
[0055] In one possible implementation, before receiving the second frame, the method further includes: receiving a third frame, the third frame being used at least by the second node to determine the sleep start time, the sleep start time being a first moment, and the time interval between the first moment and the moment when the second node receives the third frame being less than a time threshold.
[0056] In this implementation, the third frame is received. The third frame is used at least by the second node to determine the sleep start time, which can avoid the second node being unable to determine its sleep start time if it does not receive the first frame correctly.
[0057] In one possible implementation, the third frame includes a frame type and a backoff count value, wherein the frame type of the third frame is at least used to indicate that the third frame is a control frame for determining the sleep start time, and the backoff count value in the third frame is at least used by the second node to determine the sleep start time.
[0058] In this implementation, the frame type of the third frame at least indicates that the third frame is a control frame used to determine the sleep start time. The second node can determine that the third frame is a control frame used to determine the sleep start time based on the frame type of the third frame. The second node can determine its sleep start time based on the backoff count value in the third frame.
[0059] In one possible implementation, the method further includes: forwarding the first frame received after it has been transmitted through the channel.
[0060] In this implementation, the first frame is forwarded so that the lower-level nodes of the second node can determine the sleep start time.
[0061] In one possible implementation, after forwarding the first frame received via channel transmission, the method further includes: sending a fourth frame, the fourth frame being used at least to indicate that the second node has correctly received a control frame for the second node to determine the sleep start time.
[0062] In this implementation, sending a fourth frame can instruct the second node to correctly receive the control frame used by the second node to determine the hibernation start time.
[0063] In one possible implementation, the fourth frame is specifically used to indicate that the second node and each of its subordinate nodes have correctly received the control frame used to determine the sleep start time.
[0064] In this implementation, the first node can stop sending control frames used by the second node to determine the sleep start time, thus saving signaling overhead.
[0065] In one possible implementation, before sending the fourth frame, the method further includes: receiving a fifth frame, the fifth frame being used at least to indicate that each subordinate node of the second node has correctly received the control frame used to determine the sleep start time; sending the fourth frame includes: sending the fourth frame if the second node has correctly received the control frame used by the second node to determine the sleep start time.
[0066] In this implementation, a fourth frame is sent when both the second node and its subordinate nodes have correctly received the control frame used to determine the sleep start time; this allows the first node to stop sending the control frame used by the second node to determine the sleep start time, thereby saving signaling overhead.
[0067] In one possible implementation, the method further includes: forwarding the first frame if the first frame is correctly received; or sending a sixth frame if the first frame is not correctly received, the sixth frame being used at least to indicate that the second node has not correctly received the first frame.
[0068] In this implementation, if the first frame is received correctly, the first frame is forwarded; if the first frame is not received correctly, the sixth frame is sent. This avoids forwarding the first frame that was not received correctly, thus saving signaling overhead.
[0069] In one possible implementation, the source of the first frame is the master node in the in-vehicle multi-node wired audio transmission system, and the second node is the slave node in the in-vehicle multi-node wired audio transmission system.
[0070] In this implementation, the first frame is used at least to determine the sleep start time for the slave node in the vehicle-mounted multi-node wired audio transmission system, and then enters the sleep state after the sleep start time is reached, which can reduce power consumption.
[0071] In one possible implementation, the number of the second nodes is k, where k is an integer greater than 1, the first node is a node in the communication system, and the second nodes include k nodes in the communication system that have synchronous sleep requirements.
[0072] In one possible implementation, the method further includes sending a seventh frame, the seventh frame being used at least to indicate that the second node did not correctly receive the first frame.
[0073] In this implementation, a seventh frame is sent so that the first node knows that the second node did not receive the first frame correctly, and then continues to send control frames for the second node to determine the sleep start time.
[0074] In one possible implementation, the method further includes sending an eighth frame, the eighth frame being used at least to indicate that the second node or at least one of the second node's subordinate nodes has not correctly received the first frame.
[0075] In this implementation, an eighth frame is sent so that the first node can continue to send control frames for the second node and its subordinate nodes to determine the sleep start time.
[0076] In one possible implementation, before sending the eighth frame, the method further includes: receiving a ninth frame, the ninth frame being used to indicate that at least one subordinate node of the second node has not correctly received the control frame used to determine the sleep start time; or, determining that the second node has not correctly received the control frame used to determine the sleep start time.
[0077] In one possible implementation, the method further includes sending a tenth frame, the tenth frame being used to indicate whether the second node has correctly or incorrectly received the control frame used to determine the sleep start time.
[0078] Thirdly, embodiments of this application provide a communication device that has the function of implementing the behavior described in the first aspect of the method embodiments. The communication device may be a network device, a component of a network device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the network device. The communication device may also be a terminal device, a component of a terminal device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the terminal device. The functions of the communication device can be implemented by hardware or by hardware executing corresponding software, the hardware or software including one or more modules or units corresponding to the above functions. The communication device may be the first node in the first aspect. In one possible implementation, the communication device includes a transceiver module and a processing module, wherein: the processing module is used to generate a first frame, the first frame being used at least for determining the sleep start time of the second node; the transceiver module is used to send the first frame.
[0079] In one possible implementation, the transceiver module is further configured to send a second frame, which is used by the second node to maintain clock synchronization with the communication device (i.e., the first node).
[0080] In one possible implementation, the transceiver module is further configured to send a third frame, which is used at least by the second node to determine the sleep start time. The sleep start time is a first moment, and the time interval between the first moment and the moment when the second node receives the third frame is less than a time threshold.
[0081] In one possible implementation, the transceiver module is further configured to receive a fourth frame, the fourth frame being at least used to indicate that the second node has correctly received a control frame for determining the sleep start time; the processing module is further configured to control the transceiver module to stop sending control frames at least used by the second node to determine the sleep start time.
[0082] In one possible implementation, the processing module is further configured to control the communication device to enter a sleep state after a target time point is reached, wherein the target time point is a preset time point or the sleep start time.
[0083] In one possible implementation, the transceiver module is further configured to receive a seventh frame, which is at least used to indicate that the second node did not correctly receive the first frame.
[0084] In one possible implementation, the transceiver module is further configured to receive an eighth frame, which is at least used to indicate that the second node or at least one of the second node's subordinate nodes has not correctly received the first frame.
[0085] For possible implementations of the communication device in the third aspect, please refer to the various possible implementations in the first aspect.
[0086] For the technical effects of the various possible implementations of the third aspect, please refer to the introduction of the technical effects of the first aspect or the various possible implementations of the first aspect.
[0087] Fourthly, embodiments of this application provide a communication device that has the function of implementing the behavior described in the second aspect of the method embodiments. The communication device may be a network device, a component of a network device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the network device. The communication device may also be a terminal device, a component of a terminal device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the terminal device. The function of the communication device can be implemented by hardware or by hardware executing corresponding software, the hardware or software including one or more modules or units corresponding to the above functions. The communication device may be the second node in the second aspect. In one possible implementation, the communication device includes a transceiver module and a processing module, wherein: the transceiver module is used to receive a first frame transmitted through a channel, the first frame being used at least for determining the sleep start time of the second node; the processing module is used to parse the received first frame transmitted through the channel.
[0088] In one possible implementation, the transceiver module is further configured to receive a second frame, which is used at least for the second node to maintain clock synchronization with the first node, where the first node is the source of the first frame. The source of the first frame refers to the first node to send the first frame, not the node that forwards the first frame.
[0089] In one possible implementation, the transceiver module is further configured to receive a third frame, which is used at least by the second node to determine the sleep start time. The sleep start time is a first moment, and the time interval between the first moment and the moment when the second node receives the third frame is less than a time threshold.
[0090] In one possible implementation, the transceiver module is further configured to forward the first frame received and transmitted through the channel.
[0091] In one possible implementation, the transceiver module is further configured to send a fourth frame, which is at least used to indicate that the second node has correctly received the control frame used by the second node to determine the sleep start time.
[0092] In one possible implementation, the fourth frame is specifically used to indicate that the second node and each of its subordinate nodes have correctly received the control frame used to determine the sleep start time.
[0093] In one possible implementation, the transceiver module is further configured to receive a fifth frame, which is at least used to indicate that each subordinate node of the second node has correctly received the control frame used to determine the sleep start time; the processing module is further configured to control the transceiver module to send the fourth frame when the second node has correctly received the control frame used by the second node to determine the sleep start time.
[0094] In one possible implementation, the processing module is further configured to control the transceiver module to forward the first frame if the first frame is correctly received; or, if the first frame is not correctly received, control the transceiver module to send a sixth frame, the sixth frame being used at least to indicate that the second node has not correctly received the first frame.
[0095] In one possible implementation, the transceiver module is further configured to send a seventh frame, which is at least used to indicate that the second node did not correctly receive the first frame.
[0096] In one possible implementation, the transceiver module is further configured to send an eighth frame, which is at least used to indicate that the second node or at least one of the second node's subordinate nodes has not correctly received the first frame.
[0097] In one possible implementation, the transceiver module is further configured to receive a ninth frame, the ninth frame being used to indicate that at least one subordinate node of the second node has not correctly received the control frame used to determine the sleep start time.
[0098] In one possible implementation, the processing module is further configured to determine that the second node has not correctly received the control frame used to determine the sleep start time.
[0099] In one possible implementation, the transceiver module is further configured to send a tenth frame, the tenth frame being used to indicate whether the second node has correctly or incorrectly received the control frame used to determine the sleep start time.
[0100] For possible implementations of the communication device in the fourth aspect, please refer to the various possible implementations in the second aspect.
[0101] For the technical effects of the various possible implementations of the fourth aspect, please refer to the introduction of the technical effects of the second aspect or the various possible implementations of the second aspect.
[0102] Fifthly, embodiments of this application provide another communication device, which includes one or more processors for processing data and / or information to enable the implementation of a method as described in the first aspect or any possible implementation thereof, or to enable the implementation of a method as described in the second aspect or any possible implementation thereof.
[0103] Optionally, the communication device further includes a memory storing programs or instructions that, when executed by the processor, cause the communication device to perform the methods described in any one of the first to second aspects above. For example, the communication device may be a chip, the processor may be a processing unit within the chip, and the memory may be a random access memory or cache within the chip.
[0104] In this embodiment of the application, during the execution of the above method, the process of sending information (or signals) can be understood as a process of outputting information based on processor instructions. When outputting information, the processor outputs the information to the transceiver for transmission. After being output by the processor, the information may undergo further processing before reaching the transceiver. Similarly, when the processor receives input information, the transceiver receives the information and inputs it into the processor. Furthermore, after receiving the information, the transceiver may undergo further processing before inputting it into the processor.
[0105] Unless otherwise specified, or unless their actual function or internal logic in the relevant description is contradicted, the sending and / or receiving operations involved by the processor can generally be understood as processor instruction output.
[0106] In implementation, the processor described above can be a processor specifically designed to execute these methods, or it can be a processor that executes computer instructions stored in memory to execute these methods, such as a general-purpose processor. For example, the processor can also be used to execute a program stored in memory, which, when executed, causes the communication device to perform the methods as shown in the first aspect or any possible implementation thereof.
[0107] In one possible implementation, the memory is located outside the aforementioned communication device. In another possible implementation, the memory is located inside the aforementioned communication device.
[0108] In one possible implementation, the processor and memory may be integrated into a single device; that is, the processor and memory may be integrated together.
[0109] In one possible implementation, the communication device further includes a transceiver for receiving or transmitting signals, etc.
[0110] In a sixth aspect, this application provides another communication device, which includes a processing circuit and an interface circuit, the interface circuit being used to acquire data or output data; the processing circuit being used to perform the methods shown in any one of the first to second aspects above.
[0111] In a seventh aspect, this application provides a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed, cause a computer to perform the method as described in any one of the first to second aspects above.
[0112] Eighthly, this application provides a computer program product comprising a computer program, the computer program including program instructions that, when executed, cause a computer to perform the method as described in any one of the first to second aspects above.
[0113] Ninthly, this application provides a chip including a communication interface and a processor; the communication interface is used for signal transmission and reception of the chip; the processor is used to execute computer program instructions to cause a communication device including the chip to perform the method shown in any one of the first to second aspects above.
[0114] In a tenth aspect, embodiments of this application provide a communication system, including the communication device described in the third aspect or any possible implementation thereof, and the communication device described in the fourth aspect or any possible implementation thereof. Attached Figure Description
[0115] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.
[0116] Figure 1 A schematic block diagram of a communication system 100 provided in an embodiment of this application is shown;
[0117] Figure 2 This application provides an example of a vehicle-mounted multi-node wired audio transmission system.
[0118] Figure 3 A schematic block diagram of a communication system 300 provided in an embodiment of this application is shown;
[0119] Figure 4 This is an example of another in-vehicle multi-node wired audio transmission system provided in the embodiments of this application;
[0120] Figure 5 A flowchart illustrating the interaction of a communication method provided in this application embodiment;
[0121] Figure 6A This is an example of a frame structure diagram of a first frame provided in an embodiment of this application;
[0122] Figure 6B This is an example of another frame structure diagram of the first frame provided in an embodiment of this application;
[0123] Figure 7 Another communication method interaction flowchart provided in the embodiments of this application;
[0124] Figure 8 Another communication method interaction flowchart provided in the embodiments of this application;
[0125] Figure 9 Another communication method interaction flowchart provided in the embodiments of this application;
[0126] Figure 10 A schematic diagram of a first uplink frame provided in an embodiment of this application;
[0127] Figure 11 Another communication method interaction flowchart provided in the embodiments of this application;
[0128] Figure 12 Another communication method interaction flowchart provided in the embodiments of this application;
[0129] Figure 13 Another communication method interaction flowchart provided in the embodiments of this application;
[0130] Figure 14This is a schematic diagram of the structure of a communication device 1400 provided in an embodiment of this application;
[0131] Figure 15 A schematic diagram of another communication device 150 provided in the embodiments of this application;
[0132] Figure 16 This is a schematic diagram of another communication device 160 provided in an embodiment of this application. Detailed Implementation
[0133] The terms "first" and "second," etc., used in the specification, claims, and drawings of this application are only used to distinguish different objects and not to describe a specific order. It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers does not imply the order of execution; the execution order of each process should be determined by its function and inherent logic. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0134] The term "embodiment" as used herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0135] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to and includes any or all possible combinations of one or more of the listed items. For example, “A and / or B” can mean: the presence of only A, the presence of only B, and the presence of both A and B, where A and B can be singular or plural. The term “multiple” as used in this application refers to two or more. In the textual description of this application, the character “ / ” generally indicates that the preceding and following objects are in an “or” relationship.
[0136] It is understood that in the various embodiments of this application, "B corresponding to A" means that there is a correspondence between A and B, and B can be determined based on A. However, it should also be understood that determining (or generating) B based on (or on) A does not mean that B is determined (or generated) solely based on (or on) A; B can also be determined (or generated) based on (or on) A and / or other information.
[0137] It should be understood that in this application, the indication includes direct indication (also known as explicit indication) and implicit indication. Direct indication information A refers to information A being included; implicit indication information A refers to information A being indicated through the correspondence between information A and information B, and through direct indication information B. The correspondence between information A and information B can be predefined, pre-stored, pre-burned, or pre-configured.
[0138] It should be understood that in this application, information C is used to determine information D, including both situations where information D is determined solely based on information C and situations where it is determined based on information C and other information. Furthermore, information C can also be used to determine information D indirectly, for example, where information D is determined based on information E, and information E is determined based on information C.
[0139] Furthermore, in the embodiments of this application, "network element A sends information A to network element B" can be understood as network element B being the destination of information A or an intermediate network element in the transmission path between the destination and network element B, which may include sending information directly or indirectly to network element B. "Network element B receives information A from network element A" can be understood as network element A being the source of information A or an intermediate network element in the transmission path between the source and network element A, which may include receiving information directly or indirectly from network element A. Information may undergo necessary processing between the source and destination, such as format changes, but the destination can understand the valid information from the source. Similar expressions in this application can be understood in a similar way and will not be elaborated further here.
[0140] To facilitate understanding of the solutions in this application, the terminology and technical solutions involved in the embodiments of this application will be introduced first below.
[0141] Cockpit domain controller (or control domain cockpit, CDC): also known as the vehicle infotainment system. The functions of the vehicle infotainment system can include cockpit-based functions such as radio, music and video playback, and navigation, as well as communication functions (4G, 5G, etc.) to enable information communication between people and the vehicle, and between the vehicle and the outside world, enhancing user experience and providing services and safety-related functions.
[0142] Master node and slave node: These are two types of communication devices logically distinguished by their communication functions, referred to as master nodes and slave nodes, respectively. A master node is a communication device capable of communicating with slave nodes and managing them (e.g., scheduling resources for slave nodes). For example, a master node can manage resources within a communication domain and has the function of scheduling resources for the communication link between the master and slave nodes. A slave node is a device capable of obeying the management of the master node and using the resources allocated by the master node for communication. Master nodes or slave nodes can be various communication devices. For example, a vehicle infotainment system might be the master node, and an audio system or microphone might be the slave node; the vehicle infotainment system establishes a communication connection with the audio system or microphone to achieve data interaction. The vehicle infotainment system manages the audio system or microphone. Another example is a mobile phone as the master node and a headset as the slave node; the mobile phone establishes a communication connection with the headset to achieve data interaction. The mobile phone manages the headset, and has the function of allocating resources, allowing it to allocate resources for communication with the headset.
[0143] A communication domain is a system consisting of a group of communication devices with communication relationships, and the communication relationships between these devices. A communication relationship refers to the ability of communication devices to communicate with each other. Typically, a communication domain includes a master node and at least one slave node, with the master and slave nodes communicating using resources scheduled by the master node. For example, in a communication domain, a CDC (Digital Control Center) might be the master node, and vehicle speakers, microphones, etc., might be slave nodes.
[0144] The following describes the communication system to which the technical solution provided in this application is applicable.
[0145] Figure 1 A schematic block diagram of a communication system 100 provided in an embodiment of this application is shown. The communication system 100 includes at least one communication domain. Figure 1 The diagram shows a communication domain 110, which includes a master node and multiple slave nodes (only three slave nodes are shown: the first slave node, the second slave node, and the third slave node). The master node and the multiple slave nodes adopt a daisy chain topology. Figure 1 The communication domain 110 shown is merely an example. Figure 1The illustrated communication domain 110 may include more or fewer nodes, and this application limits the number of slave nodes in the communication domain 110. The master node can communicate with and manage the slave nodes. Some or all nodes in the communication system 100 have a need to synchronously enter a sleep state (which may be referred to as a sleep state). In this application, multiple nodes synchronously entering a sleep state means that the multiple nodes enter a sleep state within one transmission cycle of a communication frame (data frame or control frame). For example, the master node sends communication frames at a period of 20.83µs, meaning one communication frame is sent every 20.83µs, and the slave nodes forward the received communication frames approximately every 20.83µs. Multiple slave nodes managed by the master node can simultaneously enter a sleep state: all slave nodes enter a sleep state within 20.83µs after forwarding the same communication frame. Multiple slave nodes managed by the master node can enter a sleep state asynchronously: some slave nodes enter a sleep state after the first forwarding of communication frame #1 but before the next forwarding, and all slave nodes do not enter a sleep state within the same communication frame transmission period. In this example, a slave node that enters a sleep state later (e.g., an audio device) might play abnormal data, causing noise that affects the user experience and increases power consumption. Therefore, compared to asynchronous entry into a sleep state, synchronous entry of multiple nodes in a communication system can further improve the user experience and save power.
[0146] For example, in the communication system 100, the master node and some or all of the slave nodes transmit data when there is data service transmission; when there is no data service transmission, the master node (optionally) and some or all of the slave nodes enter a sleep state, which can reduce the power consumption of the system. It is evident that multiple nodes in this example have the requirement to synchronously enter a sleep state.
[0147] The communication domain 110 can be applied to a variety of environments, and this application embodiment does not limit this.
[0148] In one possible implementation, the communication domain 110 can be applied to the cabin (also called vehicle cabin) environment of a motor vehicle (e.g., a smart car, an electric car, etc.).
[0149] In another possible implementation, the communication domain 110 can be applied to smart terminal devices, such as smart devices used in smart home environments.
[0150] Figure 2 This is an example of a vehicle-mounted multi-node wired audio transmission system provided in an embodiment of this application. Figure 2The illustrated in-vehicle multi-node wired audio transmission system is an example of communication system 100. In this system, a daisy-chain topology is used between the master node and multiple slave nodes. The host is connected to the master node and communicates with peripherals (e.g., speakers, microphones) connected to the multiple slave nodes through the master node. Figure 2 As shown, the vehicle-mounted SOC is connected to the master node as the host, the audio codec is connected to the first slave node, the microphone (MIC) 1 is connected to the second slave node, and the MIC 2 is connected to the third slave node. Figure 2 In this configuration, the master node and slave nodes are connected via cables, and slave nodes are connected to each other via cables. (See also...) Figure 2 The audio signal to be played is sent from the host to the audio codec via the master node-first slave node; the audio signal collected by MIC1 is transmitted to the host via the second slave node-first slave node-master node; the audio signal collected by MIC2 is transmitted to the host via the third slave node-second slave node-first slave node-master node. When there is no data service transmission in the vehicle-mounted multi-node wired audio transmission system, if the nodes in the system go into sleep mode, the power consumption of the system can be reduced. Multiple slave nodes in the vehicle-mounted multi-node wired audio transmission system need to synchronously enter sleep mode.
[0151] Figure 3 A schematic block diagram of a communication system 300 provided in an embodiment of this application is shown. The communication system 300 includes at least one communication domain. Figure 3 The diagram shows a communication domain 310, which includes a master node and multiple slave nodes (only three slave nodes are shown: the first slave node, the second slave node, and the third slave node). The master node and the multiple slave nodes adopt a star topology, that is, the master node communicates directly with each slave node. Figure 3 The communication domain 310 shown is merely an example. Figure 3 The illustrated communication domain 310 may include more or fewer nodes, and this application limits the number of slave nodes in the communication domain 310. The master node can communicate with and manage the slave nodes. Some or all of the slave nodes in the communication system 300 have a requirement to synchronously enter a sleep state (which may be referred to as a sleep state). For example, the master node and some or all of the slave nodes in the communication system 300 perform data transmission when there is data service transmission; when there is no data service transmission, the master node (optionally) and some or all of the slave nodes enter a sleep state, which can reduce the power consumption of the system. Therefore, in this example, multiple nodes have a requirement to synchronously enter a sleep state.
[0152] The communication domain 310 can be applied to a variety of environments, and this application embodiment does not limit this.
[0153] In one possible implementation, the communication domain 310 can be applied to the cabin (also called vehicle cabin) environment of a motor vehicle (e.g., a smart car, an electric car, etc.).
[0154] In another possible implementation, the communication domain 310 can be applied to smart terminal devices, such as smart devices used in smart home environments.
[0155] Figure 4 This is an example of another in-vehicle multi-node wired audio transmission system provided in the embodiments of this application. Figure 4 The in-vehicle multi-node wired audio transmission system shown is an example of communication system 300. Figure 4 In the illustrated in-vehicle multi-node wired audio transmission system, a star topology is used between the master node and multiple slave nodes. For example, the master node is connected to each slave node via a cable. The vehicle's SOC acts as the host and is connected to the master node. The audio codec is connected to the first slave node, the peripheral of MIC1 is connected to the second slave node, and the peripheral of MIC2 is connected to the third slave node. The master node is connected to the first, second, and third slave nodes via cables. (See also...) Figure 4 The audio signal to be played is sent from the host to the audio codec via the master node-first slave node; the audio signal collected by MIC1 is transmitted to the host via the second slave node-master node; the audio signal collected by MIC2 is transmitted to the host via the third slave node-master node. When there is no data service transmission in the vehicle-mounted multi-node wired audio transmission system, if the nodes in the system go into sleep mode, the power consumption of the system can be reduced. Multiple nodes in the vehicle-mounted multi-node wired audio transmission system need to synchronously enter sleep mode.
[0156] The master node and slave node can communicate in various ways, and this application embodiment does not limit the methods used. For example, the master node can communicate with the slave node wirelessly. Alternatively, the master node can communicate with the slave node via a wired connection. It should be noted that the wired connection can be achieved through a data cable, an internal bus, or a cable connection.
[0157] It should be noted that the aforementioned wireless method can be communication through a communication network. This communication network can be a local area network (LAN), a wide area network (WAN) relayed through a relay device, or a combination of LAN and WAN. When the communication network is a LAN, for example, it can be a Wi-Fi hotspot network, Bluetooth network, Zigbee network, near field communication (NFC) network, or a future general short-range communication network. When the communication network is a WAN, for example, it can be a 4G network, a 5G network, a public land mobile network (PLMN), the Internet, or even a 6th or 7th generation mobile communication technology, etc. This application embodiment does not limit this to any particular type.
[0158] It should be noted that the master node in the embodiments of this application can have various forms and can also be called a control device or control equipment. The embodiments of this application do not specifically limit this.
[0159] In one possible implementation, the master node could be a standalone device.
[0160] In another possible implementation, the master node can be integrated into the device as a functional module or chip device.
[0161] For example, the aforementioned master node can be an evolved NodeB (eNB or eNodeB) in a long term evolution (LTE) system, a radio controller in a cloud radio access network (CRAN) scenario, a relay station, access point, vehicle-mounted equipment, wearable devices, access devices in 5G networks, or network equipment in a future evolved PLMN, etc. It can be an access point (AP) in a wireless local area network (WLAN), a gNB in a new radio (NR) system, a control device or control unit in the cockpit domain (e.g., a vehicle-mounted system), or a control device or control unit in a scenario that includes smart terminal devices. The embodiments of this application are not limited to this.
[0162] It should also be noted that the above-mentioned slave nodes can take many forms and can also be called terminals or terminal devices. This application embodiment does not limit this.
[0163] In one possible implementation, the slave node can be a standalone device.
[0164] In another possible implementation, the slave node can be integrated into the device as a functional module or chip device.
[0165] Specifically, the aforementioned slave node can be a device with communication capabilities (or the ability to send and receive data). Examples include: speakers, microphones, mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in self-driving vehicles, cellular phones, cordless phones, session initiation protocol (SIP) phones, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices, in-vehicle devices, smart home devices, wearable devices, terminal devices in 5G networks, or terminal devices in future PLMNs, etc. This application does not limit the scope of these examples. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories.
[0166] In one possible implementation, taking the above-mentioned communication domain 110 or communication domain 310 as an example of a cockpit domain environment, according to the relationship between the slave node and the cockpit, the slave node can include the following two types of terminals: "vehicle-mounted terminal equipment" and "non-vehicle-mounted terminal equipment".
[0167] "On-board unit" (OBU) refers to equipment integrated into or installed within the vehicle's cabin and considered part of that cabin area. Examples include vehicle speakers, microphones, displays, and cameras. Generally, OBU can refer to equipment factory-installed in vehicles by the vehicle manufacturer.
[0168] "Non-vehicle terminal equipment" refers to equipment placed within the cockpit area that can communicate or connect with other equipment within the cockpit area, but is not part of the cockpit, such as: the user's smartphone, tablet, Bluetooth headset, wearable device, etc.
[0169] In one possible implementation, the master node can be a CDC, which can communicate with multiple slave nodes, which can include at least one terminal type among in-vehicle terminal devices and non-in-vehicle terminal devices.
[0170] When one or more nodes in a communication system are not transmitting data, controlling these nodes to enter a sleep state can reduce the power consumption of the communication system. Compared to asynchronous entry into sleep state, simultaneous entry of multiple nodes into sleep state further avoids the transmission of invalid communication frames by some nodes and saves power consumption. This application provides a technical solution for controlling nodes in a communication system to enter a sleep state, which can reduce power consumption. Furthermore, this application provides a technical solution for controlling multiple nodes in a communication system to simultaneously enter a sleep state; this can avoid the transmission of invalid communication frames by some nodes and save power consumption.
[0171] Figure 5 This is a flowchart illustrating a communication method provided in an embodiment of this application. Figure 5 The method flow in the middle is applicable to Figure 1 The communication system 100 shown or Figure 3 The communication system 300 shown. For example. Figure 5 The first node in is Figure 1 The master node in Figure 5 The second node in is Figure 1 The first slave node in the array. For example, Figure 5 The first node in is Figure 3 The master node in Figure 5 The second node in is Figure 3 The first slave node in the process. Figure 5 The communication systems corresponding to each node in the system (including Figure 5 An example of the nodes in the data is... Figure 2 or Figure 4 The image shows a multi-node wired audio transmission system for vehicles. For example... Figure 5 As shown, the method includes:
[0172] 501. The first node sends the first frame to the second node.
[0173] Correspondingly, the second node receives the first frame from the first node. The first frame is used at least to determine the sleep start time of the second node. Alternatively, the first frame is used at least to determine the sleep start time of the second node. The first frame can be named a sleep frame or sleep controller, or any other name, which is not limited in this application. The first frame can be a control frame predefined (newly defined) in this application, which is used at least to determine the sleep start time of one or more nodes. The first frame can also be based on an existing control frame or data frame, adding the first indication information and the second indication information described below, for example, adding a control field containing the first indication information and a control field containing the second indication information; it can also be based on an existing control frame or data frame, using reserved bits to represent the first indication information and the second indication information; or it can be based on an existing control frame or data frame, adding one of the first indication information and the second indication information, with the other of the first indication information and the second indication information represented by reserved bits.
[0174] In one possible implementation, the first frame is specifically used by the second node and one or more of its subordinate nodes to determine the sleep start time. After receiving the first frame, the second node can forward it to its subordinate node, i.e., the third node; the third node can forward the first frame to its subordinate node, and so on. In this way, the second node and all its subordinate nodes can receive the first frame. For example, the first node is a master node in a communication system, the second node is a slave node in the same system, and the time offset of the sleep start time determined by each subordinate node of the second node and any two nodes within the second node is less than the transmission period of the communication frame in the system, for example, 20.83 µs. In this example, the sleep start times determined by the second node and one or more of its subordinate nodes are substantially the same, so that the second node and one or more of its subordinate nodes enter sleep mode after their respective determined sleep start times, achieving synchronous sleep (i.e., simultaneous sleep) for the second node and one or more of its subordinate nodes, thereby reducing power consumption. In this implementation, the first frame is specifically used for the second node and one or more of its subordinate nodes to determine the sleep start time, so that the second node and one or more of its subordinate nodes determine their respective sleep start times and then enter the sleep state after the sleep start time is reached, which can reduce power consumption.
[0175] In one possible implementation, the number of second nodes is k, meaning the first frame is used to determine the sleep start time of at least k second nodes, where k is an integer greater than 1. The k second nodes may include second node #1, second node #2, ..., second node #k, where second node #1 is the parent node of second node #2, second node #2 is the parent node of second node #3, ..., second node #(k-1) is the parent node of second node #k. After receiving the first frame, second node #1 can forward it to its subordinate node, i.e., second node #2; second node #2 can forward it to second node #3, and so on. The k second nodes can determine their own sleep start time based on the first frame. For example, the first node is the master node in a communication system, and the k second nodes are the k slave nodes in that system. The time offset between any two determined sleep start times of the k second nodes is less than the transmission period of the communication frame (e.g., the control frame below), for example, 20.83 μs. In this example, the first frame is used for at least k second nodes to determine their sleep start time. Since the sleep start times determined by the k second nodes are essentially the same, the k second nodes enter sleep mode after their respective determined sleep start times, achieving synchronized sleep and thus reducing power consumption. In this implementation, the first frame is used for at least k second nodes to determine their sleep start time, allowing each node to enter sleep mode upon reaching its designated start time, thereby reducing power consumption.
[0176] In one possible implementation, the first node periodically sends control frames at least used by the second node to determine the sleep start time. In this document, the control frames used by the second node to determine the sleep start time can be simply referred to as sleep frames. For example, the first node sends a sleep frame every 20.83 µs (i.e., the first period is 20.83 µs). The backoff count value in the first control frame sent by the first node is N, the backoff count value in the second control frame sent is (N-1), the backoff count value in the third control frame sent is (N-2), ..., the backoff count value in the Nth control frame sent is 1, and the backoff count value in the (N+1)th control frame sent is 0. Figure 5The first frame in the example can be the control frame first sent by the first node in this example, and the third frame below can be the control frame sent by the first node for the (N+1)th time in this example. The second node can determine its sleep start time based on the correctly received control frame. For example, the backoff count value in the first control frame #1 sent by the first node is N, where N is a positive integer; the second node calculates the product of the first period and the backoff count value N to obtain the time offset #1; the second node shifts the time when it receives control frame #1 forward by time offset #1 to obtain the sleep start time. As another example, the backoff count value in the Nth control frame #N sent by the first node is 1, where N is a positive integer; the second node calculates the product of the first period and the backoff count value 1 to obtain the time offset #N, which is the first period; the second node shifts the time when it receives control frame #N forward by time offset #N to obtain the sleep start time.
[0177] 502. The second node parses the first frame received after it has been transmitted through the channel.
[0178] In one possible implementation, if the second node correctly receives the first frame, it determines its sleep start time based on the first frame; after reaching the sleep start time, it enters a sleep state; if the first frame is not correctly received, it determines its sleep start time based on the correctly received control frame used by the second node to determine its sleep start time. The second node can parse each received control frame used by the second node to determine its sleep start time and determine the sleep start time based on the correctly received control frame. For example, the second node parses each received control frame used by the second node to determine its sleep start time; after correctly receiving a control frame, it determines the sleep start time based on the backoff count value in that control frame and does not use subsequent correctly received control frames to determine the sleep start time.
[0179] An example of how a second node determines its start sleep time based on the first frame is as follows: The backoff count value in the first frame is N, where N is an integer greater than 0; the second node parses the first frame to obtain first indication information; based on the first indication information, it learns that the first frame contains a backoff count value; it calculates the product of the first period and the backoff count value N to obtain the first time interval; the second moment after the second node receives the first frame is taken as the start sleep time of the second node, with the interval between the second moment and the moment the second node receives the first frame being the first time interval. Alternatively, an example of how a second node determines its start sleep time based on the first frame is as follows: The backoff count value in the first frame is N; the second node parses the first frame to obtain first indication information; based on the first indication information, it learns that the first frame contains a backoff count value; it calculates the product of the first period and the backoff count value N to obtain the first time offset; based on the moment the second node receives the first frame, it shifts backward by the first time offset to obtain the start sleep time of the second node.
[0180] 503. After the second node reaches the hibernation start time, it enters hibernation state.
[0181] In this embodiment of the application, the first frame is used at least to determine the sleep start time of the second node, so that the second node determines its sleep start time and then enters the sleep state after the sleep start time is reached, which can reduce power consumption.
[0182] The following describes the information that may be contained in the first frame, and how the first frame is used at least to determine the sleep start time for the second node.
[0183] In one possible implementation, the first frame includes first indication information and second indication information. The first indication information is at least used to indicate that the first frame is a control frame for determining the hibernation start time, and the second indication information is at least used to determine the hibernation start time. The first indication information can be understood as a hibernation indication, for example, instructing the second node to initiate hibernation control. For example, after the second node parses the first frame to obtain the first indication information, it can determine that the first frame contains the second indication information, and then, based on the second indication information, obtain the hibernation start time of the second node. In this implementation, the first indication information is at least used to indicate that the first frame is a control frame for determining the hibernation start time, so that the second node can determine that the first frame is a control frame for determining the hibernation start time based on the first indication information. The second indication information is at least used to determine the hibernation start time, so that the second node can determine its hibernation start time based on the second indication information.
[0184] In one possible implementation, the second indication information includes a backoff count (which may be referred to as a backoff counter), which is associated with a first time interval. The first time interval is equal to the time interval between the moment the second node receives the first frame and the start time of the second node's sleep state. An example of the association between the backoff count and the first time interval is that the backoff count is positively correlated with the first time interval. The backoff count indicates how many sleep frames remain to be sent by the first node, and the second node enters sleep mode after the first node sends its last sleep frame. The second node can obtain the first time interval based on the backoff count. For example, the product of the backoff count and a first period equals the first time interval, where the first period is the transmission period of the control frame, for example, 20.83 μs. This application does not limit the first period. Figure 6A This is an example of a frame structure diagram of a first frame provided in an embodiment of this application. For example... Figure 6A As shown, the first frame includes first indication information (sleep indication), cyclic redundancy check (CRC) #1 (optional), second indication information, and CRC #2 (optional); wherein, CRC #1 is used to verify the first indication information, and CRC #2 is used to verify the second indication information. This application does not limit the frame structure of the first frame. In this implementation, the backoff count value is associated with the first time interval, so that the second node can obtain the first time interval based on the backoff count value, and thus determine its sleep start time.
[0185] In one possible implementation, the first indication information includes the frame type of the first frame, which at least indicates that the first frame is a control frame used to determine the hibernation start time. Figure 6B This is an example of another frame structure diagram of the first frame provided in an embodiment of this application. For example... Figure 6B As shown, the first frame includes a frame type, CRC#1 (optional), a backoff count value, and CRC#2 (optional); where CRC#1 is used to verify the frame type, and CRC#2 is used to verify the backoff count value. The frame type in the first frame is an example of the first indication information. In this implementation, the frame type of the first frame is at least used to indicate that the first frame is a control frame for determining the sleep start time, so that the second node determines that the first frame is a control frame for determining the sleep start time based on the frame type of the first frame.
[0186] Figure 7 This is an interactive flowchart of another communication method provided in an embodiment of this application. Figure 7 The method flow is Figure 5 One possible implementation of the described method. For example... Figure 7 As shown, the method includes:
[0187] 701. The first node periodically sends sleep frames.
[0188] Correspondingly, the second node receives sleep frames periodically sent by the first node. The first node may send sleep frames in a first period. The sleep frames periodically sent by the first node may include the first frame and the third frame mentioned above. The third frame is used at least by the second node to determine the sleep start time of the second node. For example, the third frame includes the frame type of the third frame and a backoff count value. The frame type of the third frame is used at least to indicate that the third frame is a control frame for determining the sleep start time, and the backoff count value in the third frame is used at least by the second node to determine the sleep start time. The backoff count value in the third frame can be 0. The sleep start time determined by the second node based on the backoff count value in the third frame is the moment when the second node receives the third frame. The sleep start time determined by the second node based on the backoff count value (not 0) in the first frame is a first moment. The time interval between the first moment and the moment when the second node receives the third frame is less than a time threshold. The time threshold can be 2µs, 3µs, 5µs, 6µs, 8µs, 10µs, 20µs, 20.83µs, etc., and is not limited in this application. Since the time interval between the first moment and the moment when the second node receives the third frame is less than the time threshold, it can be assumed that the moment when the second node receives the third frame is the same as the first moment. Alternatively, the sleep start time calculated by the second node based on different control frames is the same. The second node can enter sleep mode after receiving the third frame, or it can enter sleep mode after reaching the sleep start time.
[0189] An example of step 701 is as follows: The first node sends a sleep frame every 20.83us (i.e., the first cycle is 20.83us). The backoff count value in the first control frame sent by the first node is N, the backoff count value in the second control frame sent is (N-1), the backoff count value in the third control frame sent is (N-2), ..., the backoff count value in the Nth control frame sent is 1, and the backoff count value in the (N+1)th control frame sent (i.e., the third frame) is 0.
[0190] 702. The second node parses the received sleep frame.
[0191] For example, the second node can parse each received sleep frame and determine whether the sleep frame was received correctly.
[0192] 703. If the second node correctly receives the sleep frame, it sends the fourth frame to the first node.
[0193] Accordingly, the first node receives a fourth frame from the second node. This fourth frame is at least used to indicate that the second node has correctly received the control frame used to determine the sleep start time. An example of step 703 is that the second node, having correctly received the control frame initially sent by the first node, sends a fourth frame to the first node.
[0194] In one possible implementation, if the second node fails to receive a control frame used to determine the sleep start time correctly, it does not report this failure to the first node. For example, if the second node fails to receive the first node's initial control frame correctly, it does not report this failure. This implementation saves signaling overhead.
[0195] In one possible implementation, the second node reports back to the first node that it has not correctly received a control frame used to determine the sleep start time. For example, if the second node fails to correctly receive the first control frame (i.e., the first frame) initially sent by the first node, it sends a seventh frame to the first node, which at least indicates that the second node has not correctly received the first frame. In this implementation, the second node reports back to the first node that it has not correctly received a control frame used to determine the sleep start time, so that it can continue to send control frames used by the second node to determine the sleep start time.
[0196] 704. After receiving the fourth frame, the first node stops sending sleep frames.
[0197] For example, the first node receives the fourth frame before sending the third frame; after receiving the fourth frame, the first node stops sending sleep frames, i.e., it does not need to send the third frame. Steps 703 and 704 are optional.
[0198] 705. After the second node reaches the hibernation start time, it enters hibernation state.
[0199] Entering a sleep state can mean that the second node enters a low-power state. For example, before entering a sleep state, the second node's data forwarding function is active, such as forwarding a communication frame (or data packet) every 20.83 µs. Entering a sleep state can mean that the second node disables this data forwarding function, i.e., stops forwarding communication frames (or data packets), thus reducing power consumption. Entering a sleep state can also mean disabling other power-saving functions; this application does not limit this.
[0200] In one possible implementation, Figure 7The method flow further includes: after reaching a target time point, the first node enters a sleep state, where the target time point is a preset time point or the sleep start time. The second node entering the sleep state can be a low-power state. For example, before entering the sleep state, the first node's data forwarding function is active, such as sending a communication frame (or data packet) every 20.83µs; the first node entering the sleep state can be by disabling this data forwarding function, i.e., stopping the transmission of communication frames, thus reducing power consumption. The first node entering the sleep state can also involve disabling other power-saving functions, which is not limited in this application.
[0201] 706. The first node periodically sends heartbeat frames.
[0202] Accordingly, the second node receives heartbeat frames periodically sent by the first node. The second node maintains clock synchronization with the first node through these received heartbeat frames. Possible implementations of this synchronization include: the heartbeat frame includes the first node's clock information, and the second node maintains clock synchronization with the first node based on the clock information in the received heartbeat frame; or the heartbeat frame sending period corresponds to the clock information, and the second node maintains clock synchronization with the first node based on the period of receiving heartbeat frames. One of the heartbeat frames periodically sent by the second node is the second frame. The second frame is used for the second node to maintain clock synchronization with the first node. Based on the second frame, the second node can maintain clock synchronization with the first node.
[0203] In this embodiment, the first node stops sending sleep frames after receiving the fourth frame, which saves signaling overhead. Furthermore, since the first node periodically sends sleep frames, the second node can determine the start of the sleep period by correctly receiving a sleep frame, ensuring high reliability.
[0204] Figure 8 This is an interactive flowchart of another communication method provided in an embodiment of this application. Figure 8 The method flow in the middle is applicable to Figure 1 The communication system 100 shown. Figure 8 The communication systems corresponding to each node in the system (including Figure 8 An example of the nodes in the data is... Figure 2 The vehicle-mounted multi-node wired audio transmission system shown is illustrated. Figure 8 The method flow is Figure 5 One possible implementation of the described method. For example... Figure 8 As shown, the method includes:
[0205] The first node of 801 periodically sends sleep frames.
[0206] Correspondingly, the second node receives sleep frames periodically sent by the first node. The sleep frames periodically sent by the first node may include the first frame and the third frame mentioned above. The periodic sending of sleep frames by the first node can be replaced by: the first node periodically sending control frames, at least for the second node and its subordinate nodes, to determine the sleep start time. See also... Figure 8 The second node can include the third and fourth nodes. The second node is the parent node of the third node (or the third node is the parent node of the second node), and the third node is the parent node of the fourth node. Figure 8 In this embodiment, the second, third, and fourth nodes are merely examples, and the number of slave nodes is not limited. The periodic transmission of sleep frames by the first node can also be replaced by the first node periodically transmitting control frames for at least a plurality of slave nodes to determine the sleep start time. These plurality of slave nodes may include the second, third, and fourth nodes, with the first node being the master node.
[0207] See Figure 8 An example of step 801 is as follows: The first node sends a sleep frame every 20.83us (i.e., the first cycle is 20.83us); the backoff count value in the first control frame #1 sent by the first node is N, the backoff count value in the second control frame #2 sent is (N-1), the backoff count value in the third control frame #3 sent is (N-2), ..., the backoff count value in the Nth control frame #N sent is 1, and the backoff count value in the (N+1)th control frame #(N+1) sent is 0.
[0208] 802. The second node forwards the received sleep frame to the third node.
[0209] In one possible implementation, the second node periodically forwards the received sleep frames to the third node. For example, the second node forwards its most recently received control frame to the third node every 20.83 µs. The order of steps 802 and 803 is not limited.
[0210] 803. The second node determines the sleep start time based on the received sleep frame.
[0211] The second node can parse each control frame it receives used to determine the sleep start time, and determine the sleep start time based on the correctly received control frames. For example, the second node parses each control frame it receives used to determine the sleep start time; after correctly receiving a control frame, it determines the sleep start time based on the backoff count value in that control frame, and does not use subsequent correctly received control frames to determine the sleep start time. For example, the backoff count value in the k-th control frame #k sent by the first node is (N-k+1), where N is a positive integer, k is a positive integer, and k is less than or equal to (N+1); the second node calculates the product of the first period and the backoff count value (N-k+1) to obtain the time offset #k; the second node shifts the time when it received control frame #k backward by the time offset #k to obtain the sleep start time. The order of steps 802 and 803 is not limited.
[0212] 804. The third node forwards the received sleep frame to the fourth node.
[0213] In one possible implementation, the third node periodically forwards the received sleep frames to the fourth node. For example, the third node forwards its most recently received control frame to the fourth node every 20.83 µs.
[0214] 805. The third node determines the sleep start time based on the received sleep frame.
[0215] The implementation of step 805 is similar to that of step 803, and will not be repeated here. The order of steps 804 and 805 is not limited.
[0216] 806. The fourth node determines the sleep start time based on the received sleep frame.
[0217] The implementation method of step 806 is similar to that of step 803, and will not be described in detail here.
[0218] 807. The first, second, third, and fourth nodes enter hibernation mode when the hibernation start time is reached.
[0219] It should be noted that the second, third, and fourth nodes determine their respective hibernation start times in the same way. The time offset between any two hibernation start times determined by the second, third, and fourth nodes is less than the aforementioned time threshold. Therefore, the hibernation start times determined by the second, third, and fourth nodes can be considered as the same moment.
[0220] 808. The first node periodically sends heartbeat frames.
[0221] Heartbeat frames are used to maintain clock synchronization between slave nodes (including second, third, and fourth nodes) and the master node (i.e., the first node).
[0222] 809. The second node maintains clock synchronization with the first node through heartbeat frames and forwards heartbeat frames to the third node.
[0223] 810. The third node maintains clock synchronization with the first node through heartbeat frames and forwards heartbeat frames to the fourth node.
[0224] 811. The fourth node maintains clock synchronization with the first node through heartbeat frames.
[0225] The slave nodes (including the second, third, and fourth nodes) maintain clock synchronization with the master node (i.e., the first node) through heartbeat frames, so that the slave nodes can enter the non-sleep state more quickly. Steps 808 to 811 are optional.
[0226] In this embodiment, the first node periodically sends a sleep frame; the second, third, and fourth nodes receive the sleep frame and determine the sleep start time based on the backoff counter in the correctly received sleep frame; in this way, even if some control frames are not received correctly by the slave node, theoretically as long as one control frame is received correctly, synchronous sleep control can be completed, so that the second, third, and fourth nodes can enter the sleep state synchronously.
[0227] Figure 9 This is an interactive flowchart of another communication method provided in an embodiment of this application. Figure 9 The method flow in the middle is applicable to Figure 1 The communication system 100 shown. Figure 9 The communication systems corresponding to each node in the system (including Figure 8 An example of the nodes in the data is... Figure 2 The vehicle-mounted multi-node wired audio transmission system shown is illustrated. Figure 9 The method flow is Figure 5 One possible implementation of the described method. For example... Figure 9 As shown, the method includes:
[0228] 901. The first node sends the first frame to the second node.
[0229] Step 901 can be referred to step 501. For example, the backoff count value in the first frame is N. The first frame is a sleep frame.
[0230] 902. The second node parses the first frame and forwards it to the third node.
[0231] 903. The third node parses the first frame and forwards it to the fourth node.
[0232] 904. If the fourth node does not receive the first frame correctly, it sends the first uplink frame to the third node.
[0233] For example, the fourth node parses the received first frame. If the first frame was not received correctly, it sends a first uplink frame to the third node. The first uplink frame is used at least to indicate that the fourth node did not receive the first frame correctly. The first uplink frame may include the identification information of the fourth node. Figure 10 This is a schematic diagram of a first uplink frame provided in an embodiment of this application. Figure 10 As shown, the first uplink frame includes a feedback field. For example, the feedback field in the first uplink frame is NACK, and the first uplink frame is used at least to indicate that the fourth node did not correctly receive the first frame. For instance, if the fourth node does not correctly receive the first frame, it sets the feedback field in the first uplink frame, for example, to NACK. For example, the feedback field in the first uplink frame occupies 1 bit, where 0 represents ACK and 1 represents NACK.
[0234] 905. If the third node correctly receives the first frame, it forwards the first uplink frame to the second node.
[0235] Step 905 can be replaced by: If the third node does not correctly receive the first frame, after receiving the first uplink frame, it sends a second uplink frame to the second node. The second uplink frame is used at least to indicate that the third node did not correctly receive the first frame. The second uplink frame may include the identification information of the third node.
[0236] 906. If the second node correctly receives the first frame, it forwards the first uplink frame to the first node.
[0237] Step 906 can be replaced by: if the second node does not correctly receive the first frame, after receiving the first uplink frame, the second node sends a third uplink frame to the first node. The third uplink frame is at least used to indicate that the second node did not correctly receive the first frame. The third uplink frame may include the identification information of the second node.
[0238] Step 906 can also be replaced by: if the second node does not receive the first frame correctly, after receiving the second uplink frame, the second node sends a third uplink frame to the first node, the third uplink frame being used at least to indicate that the second node did not receive the first frame correctly.
[0239] Step 906 can also be replaced by: if the second node has correctly received the first frame, after receiving the second uplink frame, it forwards the second uplink frame to the first node.
[0240] From steps 905 and 906, it can be seen that... Figure 9In the process flow, the nodes that forward the sleep frame (including the second and third nodes) can perform the following operations: If the node correctly receives the sleep frame, it directly forwards the feedback from the lower node to its parent node, such as the first uplink frame; if the node does not correctly receive the sleep frame, it sets the feedback field in the uplink frame sent to its parent node to the NACK bit.
[0241] 907. The first node sends the eleventh frame to the second node.
[0242] The eleventh frame is a sleep frame. The backoff count value in the eleventh frame can be (N-1). The first node can periodically send sleep frames; see [link / reference]. Figure 7 Step 701. For example, the first node periodically sends sleep frames until it receives at least one uplink frame indicating that the second node and all its subordinate nodes have correctly received the sleep frame. Alternatively, the first node periodically sends sleep frames; after receiving at least one uplink frame (e.g., a fourth frame) indicating that the second node and all its subordinate nodes have correctly received the sleep frame, it stops sending sleep frames. For example, the first node continues to periodically send sleep frames after receiving a first, second, or third uplink frame from the second node.
[0243] 908. The second node parses the eleventh frame and forwards it to the third node.
[0244] 909. The third node parses the eleventh frame and forwards it to the fourth node.
[0245] 910. If the fourth node correctly receives the eleventh frame, it sends the fourth uplink frame to the third node.
[0246] For example, the fourth node parses the received eleventh frame. If the eleventh frame is correctly received, it sends a fourth uplink frame to the third node. The fourth uplink frame is used at least to indicate that the fourth node has correctly received the eleventh frame. The fourth uplink frame may include the identification information of the fourth node. For example, the fourth uplink frame includes a feedback field, and the feedback field in the fourth uplink frame is ACK. The fourth uplink frame is used at least to indicate that the fourth node has correctly received the eleventh frame. For example, if the fourth node correctly receives the eleventh frame, it sets the feedback field in the fourth uplink frame, for example, to ACK. Combining steps 904 and 910, it can be seen that if the fourth node correctly receives the sleep frame, it sends an uplink frame, such as the fourth uplink frame, to its parent node (i.e., the third node) that is used at least to indicate that the fourth node has correctly received the sleep frame; if the fourth node does not correctly receive the sleep frame, it sends an uplink frame, such as the first uplink frame, to its parent node (i.e., the third node) that is used at least to indicate that the fourth node has not correctly received the sleep frame.
[0247] If the fourth node correctly receives the eleventh frame, it can determine the sleep start time based on the eleventh frame.
[0248] 911. If the third node correctly receives the eleventh frame, it forwards the fourth uplink frame to the second node.
[0249] If the third node correctly receives the eleventh frame, it can determine the sleep start time based on the eleventh frame.
[0250] 912. If the second node correctly receives the eleventh frame, it forwards the fourth uplink frame to the first node.
[0251] If the second node correctly receives the eleventh frame, it can determine the sleep start time based on the eleventh frame.
[0252] 913. After receiving the fourth uplink frame, the first node stops sending sleep frames.
[0253] Step 913 is optional. When the first node receives the fourth uplink frame, it indicates that all slave nodes (including the second, third, and fourth nodes) have correctly received the sleep frame, and each slave node can determine the sleep start time. The first node can then stop sending sleep frames. The first node stops sending sleep frames after receiving the fourth uplink frame, thus saving signaling overhead.
[0254] Step 913 can be replaced by: After receiving the fourth uplink frame, the first node sends the twelfth frame. The twelfth frame is a sleep frame. The backoff count value in the twelfth frame can be (N-2).
[0255] 914. The first, second, third, and fourth nodes enter a hibernation state after the hibernation start time is reached.
[0256] The first frame is a sleep frame periodically sent by the first node, and the eleventh frame is another sleep frame periodically sent by the first node. It should be noted that steps 901 to 914 are merely examples, intended to illustrate the operations performed by the first, second, third, and fourth nodes on the sleep frames. It should be understood that the first, second, third, and fourth nodes can all process each sleep frame sent by the first node in the same way.
[0257] 915. The first node periodically sends heartbeat frames.
[0258] 916. The second node maintains clock synchronization with the first node through heartbeat frames and forwards heartbeat frames to the third node.
[0259] 917. The third node maintains clock synchronization with the first node through heartbeat frames and forwards heartbeat frames to the fourth node.
[0260] 918. The fourth node maintains clock synchronization with the first node through heartbeat frames.
[0261] Steps 914 to 918 can be found in steps 807 to 811, and will not be repeated here.
[0262] In this embodiment, the first node periodically sends sleep frames; the second, third, and fourth nodes receive the sleep frames and determine the sleep start time based on the backoff counter in the correctly received sleep frames. Thus, even if some control frames are not correctly received by the slave nodes, theoretically, as long as one control frame is correctly received, synchronous sleep control can be completed, causing the second, third, and fourth nodes to synchronously enter sleep mode. The second, third, and fourth nodes provide feedback on the received sleep frames in the uplink direction. The first node can determine the status of sleep frame reception by the slave nodes through the feedback fields in the uplink frames fed back by each slave node. After receiving at least one uplink frame indicating that all slave nodes have correctly received the sleep frames, the first node can prematurely terminate the transmission of sleep frames and enter sleep mode at a set time.
[0263] Figure 11 This is an interactive flowchart of another communication method provided in an embodiment of this application. Figure 11 The method flow in the middle is applicable to Figure 3 The communication system 300 shown. Figure 11 The communication systems corresponding to each node in the system (including Figure 11 An example of the nodes in the data is... Figure 4The vehicle-mounted multi-node wired audio transmission system shown is illustrated. Figure 11 The method flow is Figure 5 One possible implementation of the described method. For example... Figure 11 As shown, the method includes:
[0264] 1101. The first node sends the first frame to the second node.
[0265] Correspondingly, the second node receives the first frame from the first node. Figure 11 In the method flow, the first node is the master node, and the second, third and fourth nodes are slave nodes. The number of slave nodes is not limited in the embodiments of this application.
[0266] In one possible implementation, the first node periodically sends sleep frames to the second, third, and fourth nodes. For example, the first node sends a sleep frame every 20.83 µs (i.e., the first period). Alternatively, the time interval between the first node sending sleep frames is 20.83 µs. The first frame, as well as frames thirteen, fourteen, and fifteen below, are all sleep frames. The periodically sent sleep frames by the first node may include a backoff count value, where the backoff count values of two temporally adjacent sleep frames sent by the first node differ by 1. For example, the first node sends the first frame to the second node, with a back-off count of N in the first frame; after a 20.83µs interval, the first node sends the thirteenth frame to the third node, with a back-off count of (N-1); after a 20.83µs interval, the first node sends the fourteenth frame to the fourth node, with a back-off count of (N-2); after a 20.83µs interval, the first node sends the fifteenth frame to the second node, with a back-off count of (N-3), where N is an integer greater than 3. In this example, the period for the first node to send the sleep frame is 20.83µs. It should be noted that this application does not limit the period for the first node to send the sleep frame.
[0267] The first node sends a sleep frame to a certain node, which is used by that node to determine the sleep start time. The backoff count value in the sleep frame is used to determine the sleep start time. For example, a case study of how the second, third, and fourth nodes determine the sleep start time based on the received sleep frame is as follows: The backoff count value in the first frame is N. The second node calculates the product of the first period and the backoff count value N to obtain time offset #1; the second node shifts the time when it received the first frame forward by time offset #1 to obtain the sleep start time; the backoff count value in the thirteenth frame is (N-1). The third node calculates the product of the first period and the backoff count value (N-1) to obtain time offset #2; the third node shifts the time when it received the thirteenth frame forward by time offset #2 to obtain the sleep start time; the backoff count value in the fourteenth frame is (N-2). The fourth node calculates the product of the first period and the backoff count value (N-2) to obtain time offset #3; the fourth node shifts the time when it received the fourteenth frame forward by time offset #3 to obtain the sleep start time. In this example, the time offset between any two of the second, third, and fourth nodes' determined sleep start times is less than the aforementioned time threshold. Therefore, the sleep start times determined by the second, third, and fourth nodes can be considered as the same moment.
[0268] 1102. The second node parses the first frame received after being transmitted through the channel.
[0269] Step 1102 can be found in step 502. If the second node correctly receives the first frame, it can determine the sleep start time based on the first frame.
[0270] 1103. If the second node correctly receives the first frame, it sends the fifth uplink frame to the first node.
[0271] The fifth uplink frame is used at least to indicate that the second node has correctly received the first frame. The fifth uplink frame may include the identification information of the second node.
[0272] 1104. After receiving the fifth uplink frame, the first node stops sending sleep frames to the second node.
[0273] Steps 1103 and 1104 are optional, i.e. Figure 11 The method flow does not include steps 1103 and 1104. Steps 1103 and 1104 can be replaced by: the second node sending a sixth uplink frame to the first node if it has not correctly received the first frame. The sixth uplink frame is used at least to indicate that the second node has not correctly received the first frame. The sixth uplink frame may include the identification information of the second node.
[0274] 1105. The first node sends the thirteenth frame to the third node.
[0275] Correspondingly, the third node receives the thirteenth frame from the first node.
[0276] 1106. The third node parses the thirteenth frame received after being transmitted through the channel.
[0277] If the second node correctly receives the thirteenth frame, it can determine the sleep start time based on the thirteenth frame.
[0278] 1107. If the third node correctly receives the thirteenth frame, it sends the seventh uplink frame to the first node.
[0279] The seventh uplink frame is used at least to indicate that the third node has correctly received the thirteenth frame. The seventh uplink frame may include the identification information of the third node.
[0280] 1108. After receiving the seventh uplink frame, the first node stops sending sleep frames to the third node.
[0281] Steps 1107 and 1108 are optional. Steps 1107 and 1108 can be replaced by: the third node sending an eighth uplink frame to the first node if it has not correctly received the thirteenth frame. The eighth uplink frame is used at least to indicate that the third node has not correctly received the thirteenth frame. The eighth uplink frame may include the third node's identification information.
[0282] 1109. The first node sends the fourteenth frame to the fourth node.
[0283] Correspondingly, the fourth node receives the fourteenth frame from the first node.
[0284] 1110. The fourth node parses the fourteenth frame received after being transmitted through the channel.
[0285] If the fourth node correctly receives the fourteenth frame, it can determine the sleep start time based on the fourteenth frame.
[0286] 1111. If the fourth node correctly receives the fourteenth frame, it sends the ninth uplink frame to the first node.
[0287] The ninth uplink frame is used at least to indicate that the fourth node has correctly received the fourteenth frame. The ninth uplink frame may include identification information of the fourth node.
[0288] 1112. After receiving the ninth uplink frame, the first node stops sending sleep frames to the fourth node.
[0289] Steps 1111 and 1112 are optional. Steps 1111 and 1112 can be replaced by: the fourth node sending a tenth uplink frame to the first node if the fourteenth frame has not been correctly received. The tenth uplink frame is used at least to indicate that the fourth node has not correctly received the fourteenth frame. The tenth uplink frame may include the identification information of the fourth node.
[0290] 1113. The first node, the second node, the third node, and the fourth node enter hibernation state when the hibernation start time is reached.
[0291] It should be noted that steps 1101 to 1112 are merely examples of operations performed before the first, second, third, and fourth nodes enter a sleep state. Steps 1101 to 1113 can be replaced by: the first node periodically sending sleep frames in the order of second node-third node-fourth node-second node; the second, third, and fourth nodes parsing the received sleep frames and determining the sleep start time based on the correctly received sleep frames.
[0292] 1114. The first node periodically sends heartbeat frames to the second, third, and fourth nodes.
[0293] 1115. The second node maintains clock synchronization with the first node through heartbeat frames.
[0294] 1116. The third node maintains clock synchronization with the first node through heartbeat frames.
[0295] 1117. The fourth node maintains clock synchronization with the first node through heartbeat frames.
[0296] In this embodiment, the first node periodically sends a sleep frame; the second, third, and fourth nodes receive the sleep frame and determine the sleep start time based on the backoff counter in the correctly received sleep frame; in this way, even if some control frames are not received correctly by the slave node, theoretically as long as one control frame is received correctly, synchronous sleep control can be completed, so that the second, third, and fourth nodes can enter the sleep state synchronously.
[0297] Figure 12 This is an interactive flowchart of another communication method provided in an embodiment of this application. Figure 12 The method flow in the middle is applicable to Figure 1 The communication system 100 shown. Figure 12 The communication systems corresponding to each node in the system (including Figure 12 An example of the nodes in the data is... Figure 2 The vehicle-mounted multi-node wired audio transmission system shown is illustrated. Figure 12 The method flow is Figure 5One possible implementation of the described method. For example... Figure 12 As shown, the method includes:
[0298] 1201. The first node sends the first frame to the second node.
[0299] Accordingly, the second node receives the first frame from the first node. Steps 1501 to 1502 can be referred to steps 501 to 502. For example, the first node periodically sends a sleep frame to the second node, where the first frame is a sleep frame and the backoff count value in the first frame is N.
[0300] 1202. The second node parses the first frame received after being transmitted through the channel.
[0301] 1203. If the second node does not receive the first frame correctly, it sends the sixth frame to the first node.
[0302] The sixth frame is at least used to indicate that the second node did not correctly receive the first frame. Step 1203 can be replaced by: if the second node correctly receives the first frame, forwarding the first frame to the third node. The operation performed by the second node on the received sleep frame can be as follows: if a sleep frame is correctly received, forwarding the sleep frame to the third node; if the sleep frame is not correctly received, sending an uplink frame (e.g., the sixth frame) to the first node, which is at least used to indicate that the second node did not correctly receive the sleep frame.
[0303] 1204. The first node sends the sixteenth frame to the second node.
[0304] Accordingly, the second node receives the sixteenth frame from the first node. For example, the first node periodically sends sleep frames to the second node, the sixteenth frame being a sleep frame, and the backoff count value in the sixteenth frame is (N-1).
[0305] 1205. The second node parses the sixteenth frame received after being transmitted through the channel.
[0306] If the second node correctly receives the sixteenth frame, it can determine the sleep start time based on the sixteenth frame.
[0307] 1206. If the second node correctly receives the sixteenth frame, it forwards the sixteenth frame to the third node.
[0308] 1207. The third node parses and receives the sixteenth frame transmitted through the channel.
[0309] If the third node correctly receives the sixteenth frame, it can determine the sleep start time based on the sixteenth frame.
[0310] 1208. If the third node correctly receives the sixteenth frame, it forwards the sixteenth frame to the fourth node.
[0311] Step 1208 can be replaced by: If the third node does not correctly receive the sixteenth frame, it sends an uplink frame to the second node, which at least indicates that the third node did not correctly receive the sixteenth frame. The operation performed by the third node on the received sleep frame can be as follows: If a sleep frame is correctly received, it forwards the sleep frame to the fourth node; if the sleep frame is not correctly received, it sends an uplink frame (e.g., the sixth frame) to the second node, which at least indicates that the third node did not correctly receive the sleep frame.
[0312] 1209. The fourth node parses the sixteenth frame received after being transmitted through the channel.
[0313] If the fourth node correctly receives the sixteenth frame, it can determine the sleep start time based on the sixteenth frame.
[0314] 1210. If the fourth node correctly receives the sixteenth frame, it sends the seventeenth frame to the third node.
[0315] The seventeenth frame is used at least to indicate that the fourth node has correctly received the sixteenth frame. Step 1210 can be replaced by: if the fourth node has not correctly received the sixteenth frame, sending an uplink frame to the third node, which is used at least to indicate that the fourth node has not correctly received the sixteenth frame.
[0316] 1211. After receiving the seventeenth frame, the third node forwards the seventeenth frame to the second node.
[0317] 1212. After receiving the seventeenth frame, the second node forwards the seventeenth frame to the first node.
[0318] 1213. After receiving the seventeenth frame, the first node stops sending sleep frames.
[0319] Steps 1213 are optional.
[0320] 1214. The first node, the second node, the third node, and the fourth node enter hibernation state when the hibernation start time is reached.
[0321] It should be noted that steps 1201 to 1114 are merely examples of operations performed before the first, second, third, and fourth nodes enter a dormant state.
[0322] 1215. The first node periodically sends heartbeat frames.
[0323] Heartbeat frames are used to maintain clock synchronization between slave nodes (including second, third, and fourth nodes) and the master node (i.e., the first node).
[0324] 1216. The second node maintains clock synchronization with the first node through heartbeat frames and forwards heartbeat frames to the third node.
[0325] 1217. The third node maintains clock synchronization with the first node through heartbeat frames and forwards heartbeat frames to the fourth node.
[0326] 1218. The fourth node maintains clock synchronization with the first node through heartbeat frames.
[0327] The slave nodes (including the second, third, and fourth nodes) maintain clock synchronization with the master node (i.e., the first node) through heartbeat frames, so that the slave nodes can enter the non-sleep state more quickly. Steps 1215 to 1218 are optional.
[0328] In this embodiment, the second and third nodes forward the sleep frame if it is correctly received; otherwise, they do not forward the sleep frame. This avoids forwarding incorrectly received sleep frames, thereby saving signaling overhead.
[0329] Figure 13 This is an interactive flowchart of another communication method provided in an embodiment of this application. Figure 13 The method flow in the middle is applicable to Figure 3 The communication system 300 shown. Figure 13 The communication systems corresponding to each node in the system (including Figure 11 An example of the nodes in the data is... Figure 4 The vehicle-mounted multi-node wired audio transmission system shown is illustrated. Figure 13 The method flow is Figure 5 One possible implementation of the described method. For example... Figure 13 As shown, the method includes:
[0330] 1301. The first node simultaneously sends the first frame to the second, third, and fourth nodes.
[0331] An example of step 1301 is as follows: the time offset between the moment #1 when the first node sends the first frame to the second node and the moment #2 when the first node sends the first frame to the third node is less than the aforementioned time threshold; the time offset between the moment #1 when the first node sends the first frame to the second node and the moment #3 when the first node sends the first frame to the fourth node is less than the aforementioned time threshold; and the time offset between the moment #2 when the first node sends the first frame to the third node and the moment #3 when the first node sends the first frame to the fourth node is less than the aforementioned time threshold. For example, the aforementioned time threshold is 2µs. The first frame is a sleep frame.
[0332] Step 1301 can be an operation where the first node periodically sends one sleep frame to the second, third, and fourth nodes simultaneously. For example, the first node sends the same sleep frame to the second, third, and fourth nodes simultaneously every 20.83us; the backoff count value in the first sleep frame sent by the first node is N, the backoff count value in the second sleep frame sent by the second node is (N-1), and so on, with the backoff count value in the last sleep frame sent by the first node being 0.
[0333] 1302. The second node parses the first frame received after being transmitted through the channel.
[0334] 1303. If the second node correctly receives the first frame, it sends the eleventh uplink frame to the first node.
[0335] The eleventh uplink frame is used at least to indicate that the second node has correctly received the first frame. The eleventh uplink frame may include identification information of the second node. The second node can determine the sleep start time based on the correctly received sleep frame (e.g., the first frame).
[0336] 1304. After receiving the eleventh uplink frame, the first node stops sending sleep frames to the second node.
[0337] Steps 1303 and 1304 are optional, i.e. Figure 13 The method flow does not include steps 1303 and 1304. Steps 1303 and 1304 can be replaced by: if the second node does not correctly receive the first frame, sending an uplink frame to the first node to indicate that the second node did not correctly receive the first frame, the uplink frame may include the identification information of the second node.
[0338] 1305. The third node parses the first frame received after being transmitted through the channel.
[0339] 1306. If the third node has correctly received the first frame, it sends the twelfth uplink frame to the first node.
[0340] The twelfth uplink frame is used at least to indicate that the third node has correctly received the first frame. The twelfth uplink frame may include identification information of the third node. The third node can determine the sleep start time based on the correctly received sleep frame (e.g., the first frame).
[0341] 1307. After receiving the twelfth uplink frame, the first node stops sending sleep frames to the third node.
[0342] Steps 1306 and 1307 are optional, i.e. Figure 13The method flow does not include steps 1306 and 1307. Steps 1306 and 1307 can be replaced by: if the third node does not correctly receive the first frame, sending an uplink frame to the first node to indicate that the third node did not correctly receive the first frame, the uplink frame may include the identification information of the third node.
[0343] 1308. The fourth node parses the first frame received after being transmitted through the channel.
[0344] The order of steps 1302, 1305, and 1308 is not limited.
[0345] 1309. If the fourth node has correctly received the first frame, it sends the thirteenth uplink frame to the first node.
[0346] The thirteenth uplink frame is used at least to indicate that the fourth node has correctly received the first frame. The thirteenth uplink frame may include identification information of the fourth node. The fourth node can determine the sleep start time based on the correctly received sleep frame (e.g., the first frame).
[0347] 1310. After receiving the thirteenth uplink frame, the first node stops sending sleep frames to the fourth node.
[0348] Steps 1309 and 1310 are optional, i.e. Figure 13 The method flow does not include steps 1309 and 1310. Steps 1309 and 1310 can be replaced by: if the fourth node does not correctly receive the first frame, sending an uplink frame to the first node to indicate that the fourth node did not correctly receive the first frame, the uplink frame may include the identification information of the fourth node.
[0349] It should be noted that steps 1301 to 1310 are merely examples of operations performed before the first, second, third, and fourth nodes enter a sleep state. For instance, steps 1301 to 1310 can be replaced by: the first node periodically sending sleep frames to the second, third, and fourth nodes simultaneously; the second, third, and fourth nodes parsing the received sleep frames and determining the sleep start time based on the correctly received sleep frames.
[0350] 1311. The first node, the second node, the third node, and the fourth node enter hibernation state when the hibernation start time is reached.
[0351] 1312. The first node periodically sends heartbeat frames to the second, third, and fourth nodes.
[0352] 1313. The second node maintains clock synchronization with the first node through heartbeat frames.
[0353] 1314. The third node maintains clock synchronization with the first node through heartbeat frames.
[0354] 1315. The fourth node maintains clock synchronization with the first node through heartbeat frames.
[0355] In this embodiment, the first node periodically sends sleep frames to the second, third, and fourth nodes simultaneously. The second, third, and fourth nodes receive the sleep frames and determine the sleep start time based on the backoff counter in the correctly received sleep frames. In this way, even if some control frames are not received correctly by the slave nodes, theoretically, as long as one control frame is received correctly, synchronous sleep control can be completed, so that the second, third, and fourth nodes can enter the sleep state synchronously.
[0356] The structure of a communication device that can implement the communication method provided in the embodiments of this application is described below with reference to the accompanying drawings. Only a brief description of the communication device is given below; for details of the implementation, please refer to the description of the method embodiments above, which will not be repeated hereafter.
[0357] Figure 14 This is a schematic diagram of a communication device 1400 provided in an embodiment of this application. The communication device 1400 can correspondingly implement the functions or steps implemented by the first node, second node, third node, or fourth node in the various method embodiments described above. The communication device may include a processing module 1410 and a transceiver module 1420. In one possible implementation, a storage unit may also be included, which can be used to store instructions (code or program) and / or data. The processing module 1410 and the transceiver module 1420 can be coupled to the storage unit. For example, the processing module 1410 can read instructions (code or program) and / or data from the storage unit to implement the corresponding method. The various units described above can be set independently, or partially or completely integrated. For example, the transceiver module 1420 may include a sending module and a receiving module. The sending module can be a transmitter, and the receiving module can be a receiver. The entity corresponding to the transceiver module 1420 can be a transceiver or a communication interface.
[0358] In some possible implementations, the communication device 1400 can correspondingly implement the behavior and functions of the first node in the above method embodiments. For example, the communication device 1400 can be the first node, or it can be a component (e.g., a chip or circuit) applied in the first node. The transceiver module 1420 can, for example, be used to perform... Figure 5 , Figure 7 , Figure 8 , Figure 9 , Figure 11 , Figure 12In this embodiment, all receive or send operations are performed by the first node. The processing module 1410 may, for example, be used to perform... Figure 5 , Figure 7 , Figure 8 , Figure 9 , Figure 11 , Figure 12 In the embodiment, all operations performed by the first node except for sending and receiving operations are executed.
[0359] In some possible implementations, the communication device 1400 can correspondingly implement the behavior and functions of the second node in the above method embodiments. For example, the communication device 1400 can be the second node, or it can be a component (e.g., a chip or circuit) applied in the second node. The transceiver module 1420 can, for example, be used to perform... Figure 5 , Figure 7 , Figure 8 , Figure 9 , Figure 11 , Figure 12 In this embodiment, all receive or send operations are performed by the second node. The processing module 1410 can, for example, be used to perform... Figure 5 , Figure 7 , Figure 8 , Figure 9 , Figure 11 , Figure 12 In the embodiment, all operations performed by the second node except for sending and receiving operations are executed.
[0360] In some possible implementations, the communication device 1400 can correspondingly implement the behavior and functions of the third node in the above method embodiments. For example, the communication device 1400 can be the third node, or it can be a component (e.g., a chip or circuit) applied in the third node. The transceiver module 1420 can, for example, be used to perform... Figure 8 , Figure 9 , Figure 11 , Figure 12 In this embodiment, all receive or send operations are performed by the third node. The processing module 1410 may, for example, be used to perform... Figure 8 , Figure 9 , Figure 11 , Figure 12 In the embodiment, all operations except for sending and receiving are performed by the third node.
[0361] In some possible implementations, the communication device 1400 can correspondingly implement the behavior and functions of the second node in the above method embodiments. For example, the communication device 1400 can be the second node, or it can be a component (e.g., a chip or circuit) applied in the second node. The transceiver module 1420 can, for example, be used to perform... Figure 8 , Figure 9 , Figure 11 , Figure 12 In this embodiment, all receive or send operations are performed by the second node. The processing module 1410 can, for example, be used to perform... Figure 8 , Figure 9 , Figure 11 , Figure 12 In the embodiment, all operations performed by the second node except for sending and receiving operations are executed.
[0362] Figure 15 This is a schematic diagram of another communication device 150 provided in an embodiment of this application. Figure 15 The communication device in the process can be the first node, the second node, the third node, or the fourth node mentioned above. For example... Figure 15 As shown, the communication device 150 includes at least one processor 1510 and a transceiver 1520.
[0363] In some embodiments of this application, the processor 1510 and transceiver 1520 can be used to perform functions or operations performed by the first node. For example, the transceiver 1520 is used to perform... Figure 5 , Figure 7 , Figure 8 , Figure 9 , Figure 11 , Figure 12 In this embodiment, all receive or transmit operations are performed by the first node. The processor 1510, for example, is used to perform... Figure 5 , Figure 7 , Figure 8 , Figure 9 , Figure 11 , Figure 12 In the embodiment, all operations performed by the first node except for sending and receiving operations are executed.
[0364] In some embodiments of this application, the processor 1510 and transceiver 1520 can be used to perform functions or operations performed by the second node. For example, the transceiver 1520 is used to perform... Figure 5 , Figure 7 , Figure 8 , Figure 9 , Figure 11 , Figure 12 In this embodiment, all receive or send operations are performed by the second node. The processor 1510 is used, for example, to perform... Figure 5 , Figure 7 , Figure 8 , Figure 9 , Figure 11 , Figure 12 In the embodiment, all operations performed by the second node except for sending and receiving operations are executed.
[0365] In some embodiments of this application, the processor 1510 and transceiver 1520 can be used to perform functions or operations performed by a third node. For example, the transceiver 1520 is used to perform... Figure 8 , Figure 9 , Figure 11 , Figure 12 In this embodiment, all receive or send operations are performed by the third node. The processor 1510 is used, for example, to perform... Figure 8 , Figure 9 , Figure 11 , Figure 12 In the embodiment, all operations except for sending and receiving are performed by the third node.
[0366] In some embodiments of this application, the processor 1510 and transceiver 1520 can be used to perform functions or operations performed by the fourth node. For example, the transceiver 1520 is used to perform... Figure 8 , Figure 9 , Figure 11 , Figure 12 In this embodiment, all receive or transmit operations are performed by the fourth node. The processor 1510 is used, for example, to perform... Figure 8 , Figure 9 , Figure 11 , Figure 12 In the embodiment, all operations except for sending and receiving are performed by the fourth node.
[0367] Transceiver 1520 is used for communication with other devices / appliances via a transmission medium. Processor 1510 utilizes transceiver 1520 to send and receive data and / or signaling, and is used to implement the methods in the above method embodiments. Processor 1510 can implement the functions of processing module 1410, and transceiver 1520 can implement the functions of transceiver module 1420. Optionally, transceiver 1520 may include radio frequency (RF) circuitry and an antenna. The RF circuitry is mainly used for converting baseband signals to RF signals and processing RF signals. The antenna is mainly used for sending and receiving RF signals in the form of electromagnetic waves. Input / output devices, such as touchscreens, displays, and keyboards, are mainly used for receiving user input data and outputting data to the user.
[0368] Optionally, the communication device 150 may further include at least one memory 1530 for storing program instructions and / or data. The memory 1530 is coupled to the processor 1510. The coupling in this embodiment is an indirect coupling or communication connection between devices, units, or modules, and can be electrical, mechanical, or other forms, for information exchange between devices, units, or modules. The processor 1510 may operate in conjunction with the memory 1530. The processor 1510 may execute program instructions stored in the memory 1530. At least one of the at least one memory may be included in the processor.
[0369] The processor 1510 can read the software program in the memory 1530, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be transmitted wirelessly, the processor 1510 performs baseband processing on the data to be transmitted and outputs the baseband signal to the radio frequency (RF) circuit. The RF circuit processes the baseband signal and transmits the RF signal outward in the form of electromagnetic waves through the antenna. When data is sent to the communication device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor 1510. The processor 1510 converts the baseband signal into data and processes the data.
[0370] In another implementation, the aforementioned radio frequency circuits and antennas can be set up independently of the processor that performs baseband processing. For example, in a distributed scenario, the radio frequency circuits and antennas can be arranged in a remote manner, independent of the communication device.
[0371] This application embodiment does not limit the specific connection medium between the transceiver 1520, processor 1510, and memory 1530. This application embodiment... Figure 15 The memory 1530, processor 1510, and transceiver 1520 are connected via a bus 1540. Figure 15 The connections between other components are shown in thick lines only and are not intended to be limiting. This bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, Figure 15 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0372] In the embodiments of this application, the processor can be one of the following devices: a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or all or part of the circuitry in the aforementioned devices used for processing functions. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules within the processor.
[0373] Figure 16 This is a schematic diagram of another communication device 160 provided in an embodiment of this application. Figure 16 The communication device in the process can be the first node or a chip used for the first node, the second node or a chip used for the second node, the third node or a chip used for the third node, or the fourth node or a chip used for the fourth node. For example... Figure 16 As shown, Figure 16 The communication device shown includes logic circuit 1601 and interface 1602. Figure 14 The processing module 1410 can be implemented using logic circuit 1601. Figure 14 The transceiver module 1420 can be implemented using interface 1602. The logic circuit 1601 can be a chip, processing circuit, integrated circuit, or system-on-a-chip (SoC) chip, etc., and the interface 1602 can be a communication interface, input / output interface, etc. In this embodiment, the logic circuit and the interface can also be coupled to each other. The specific connection method between the logic circuit and the interface is not limited in this embodiment.
[0374] In some embodiments of this application, the logic circuit and interface can be used to perform the functions or operations performed by the first node described above.
[0375] In some embodiments of this application, the logic circuit and interface can be used to perform the functions or operations performed by the second node described above.
[0376] In some embodiments of this application, the logic circuit and interface can be used to perform the functions or operations performed by the third node described above.
[0377] In some embodiments of this application, the logic circuit and interface can be used to perform the functions or operations performed by the fourth node described above.
[0378] This application also provides a computer-readable storage medium storing a computer program or instructions that, when run on a computer, cause the computer to perform the methods of the above embodiments.
[0379] This application also provides a computer program product, which includes instructions or a computer program that, when run on a computer, causes the methods in the above embodiments to be executed.
[0380] This application also provides a communication system, including the first node, second node, third node and fourth node described above.
[0381] This application also provides a chip, which includes: a communication interface and a processor; the communication interface is used for signal transmission and reception of the chip; the processor is used to execute computer program instructions, causing a communication device including the chip to perform the methods as described in the above embodiments.
[0382] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as a computer program product. The aforementioned computer program product includes one or more computer programs or instructions. When the aforementioned computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed, in whole or in part. The aforementioned computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The aforementioned computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the aforementioned computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The aforementioned computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center integrating one or more available media. The aforementioned available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video optical disc; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both types of storage media.
[0383] In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.
Claims
1. A communication method, characterized in that, The method is applied to the first node, and the method includes: A first frame is generated. The first frame is used at least to determine the sleep start time of the second node. The first frame is also used to determine the sleep start time of the second node and one or more subordinate nodes of the second node. The time offset of the sleep start time determined by each subordinate node of the second node and any two nodes of the second node is less than the transmission period of the communication frame in the communication system. Send the first frame.
2. The method according to claim 1, characterized in that, The first frame includes first indication information and second indication information. The first indication information is used at least to indicate that the first frame is a frame for determining the hibernation start time, and the second indication information is used at least to determine the hibernation start time.
3. The method according to claim 2, characterized in that, The second indication information includes a rollback count value associated with a first time interval, which is equal to the time interval between the moment when the second node receives the first frame and the start time of the second node's sleep.
4. The method according to claim 3, characterized in that, The product of the backoff count value and the first period is equal to the first time interval, where the first period is the transmission period of the first frame.
5. The method according to any one of claims 2 to 4, characterized in that, The first indication information includes the frame type of the first frame, which at least indicates that the first frame is a frame used to determine the hibernation start time.
6. The method according to any one of claims 2 to 4, characterized in that, The method further includes: Send a second frame, which is used by the second node to maintain clock synchronization with the first node.
7. The method according to claim 6, characterized in that, Before sending the second frame, the method further includes: A third frame is sent, which is at least used by the second node to determine the sleep start time. The sleep start time is a first moment, and the time interval between the first moment and the moment when the second node receives the third frame is less than a time threshold.
8. The method according to claim 7, characterized in that, The third frame includes a frame type and a rollback count value. The frame type of the third frame is used at least to indicate that the third frame is a control frame for determining the hibernation start time, and the rollback count value in the third frame is used at least by the second node to determine the hibernation start time.
9. The method according to claim 8, characterized in that, The backtrack count in the third frame is 0.
10. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Receive a fourth frame, the fourth frame being at least used to indicate that the second node has correctly received the control frame used to determine the sleep start time; Stop sending control frames at least for the second node to determine the hibernation start time.
11. The method according to claim 10, characterized in that, The fourth frame is specifically used to indicate that the second node and each of its subordinate nodes have correctly received the control frame used to determine the hibernation start time.
12. The method according to claim 10, characterized in that, After ceasing the transmission of at least control frames used by the second node to determine the sleep start time, the method further includes: After reaching the target time point, it enters a hibernation state, where the target time point is either a preset time point or the hibernation start time.
13. The method according to any one of claims 1 to 4, characterized in that, The first node is the master node in the in-vehicle multi-node wired audio transmission system, and the second node is the slave node in the in-vehicle multi-node wired audio transmission system.
14. The method according to any one of claims 1 to 4, characterized in that, The transmission period of the communication frame is 20.83 μs.
15. A communication method, characterized in that, The method is applied to the second node, and the method includes: The first frame transmitted through the channel is received. The first frame is used at least to determine the sleep start time of the second node. The first frame is also used to determine the sleep start time of the second node and one or more subordinate nodes of the second node. The time offset of the sleep start time determined by each subordinate node of the second node and any two nodes of the second node is less than the transmission period of the communication frame in the communication system. Parse the first frame received after it has been transmitted through the channel.
16. The method according to claim 15, characterized in that, The first frame includes first indication information and second indication information. The first indication information is used at least to indicate that the first frame is a frame for determining the hibernation start time, and the second indication information is used at least to determine the hibernation start time.
17. The method according to claim 16, characterized in that, The second indication information includes a rollback count value associated with a first time interval, which is equal to the time interval between the moment when the second node receives the first frame and the start time of the second node's sleep.
18. The method according to claim 17, characterized in that, The product of the backoff count value and the first period is equal to the first time interval, where the first period is the transmission period of the first frame.
19. The method according to any one of claims 16 to 18, characterized in that, The first indication information includes the frame type of the first frame, which at least indicates that the first frame is a frame used to determine the hibernation start time.
20. The method according to any one of claims 15 to 18, characterized in that, The method further includes: The second frame is received, and the second frame is used at least for the second node to maintain clock synchronization with the first node, where the first node is the source of the first frame.
21. The method according to claim 20, characterized in that, Before receiving the second frame, the method further includes: The third frame is received, which is used at least by the second node to determine the sleep start time. The sleep start time is a first moment, and the time interval between the first moment and the moment when the second node receives the third frame is less than a time threshold.
22. The method according to claim 21, characterized in that, The third frame includes a frame type and a rollback count value. The frame type of the third frame is used at least to indicate that the third frame is a control frame for determining the hibernation start time, and the rollback count value in the third frame is used at least by the second node to determine the hibernation start time.
23. The method according to any one of claims 15 to 18, characterized in that, The method further includes: Forward the first frame received after it has been transmitted through the channel.
24. The method according to claim 23, characterized in that, After forwarding the first frame received via the channel, the method further includes: A fourth frame is sent, which is at least used to indicate that the second node has correctly received the control frame used by the second node to determine the hibernation start time.
25. The method according to claim 24, characterized in that, The fourth frame is specifically used to indicate that the second node and each of its subordinate nodes have correctly received the control frame used to determine the hibernation start time.
26. The method according to claim 25, characterized in that, Before sending the fourth frame, the method further includes: Receive a fifth frame, which is at least used to indicate that each of the lower-level nodes of the second node has correctly received the control frame used to determine the sleep start time; The sending of the fourth frame includes: If the second node correctly receives the control frame used by the second node to determine the hibernation start time, the fourth frame is sent.
27. The method according to any one of claims 15 to 18, characterized in that, The method further includes: If the first frame is received correctly, forward the first frame; Alternatively, if the first frame is not received correctly, a sixth frame may be sent, the sixth frame being at least used to indicate that the second node has not received the first frame correctly.
28. The method according to any one of claims 15 to 18, characterized in that, The source of the first frame is the master node in the in-vehicle multi-node wired audio transmission system, and the second node is the slave node in the in-vehicle multi-node wired audio transmission system.
29. The method according to any one of claims 15 to 18, characterized in that, The transmission period of the communication frame is 20.83 μs.
30. A communication device, characterized in that, Includes modules for implementing the method of any one of claims 1 to 14.
31. A communication device, characterized in that, Includes modules for implementing the method of any one of claims 15 to 29.
32. A communication device, characterized in that, The device includes a processor coupled to a memory storing computer program instructions, the processor executing the computer program instructions to cause the communication device to perform the method as described in any one of claims 1 to 29.
33. A chip, characterized in that, The device includes a processor and a communication interface, wherein the processor reads instructions stored in a memory through the communication interface and executes them to cause the communication device including the chip to perform the method as described in any one of claims 1 to 29.
34. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed, cause the computer to perform the method as described in any one of claims 1 to 29.
Citation Information
Patent Citations
Dormancy scheduling based congestion control method of data source
CN104185210A
Method and device for lowering energy consumption of household multi-media networked terminal system
CN104683128A
