CN-121986455-A - Communication method, device, system and vehicle
Abstract
The communication method, the communication device, the communication system and the vehicle can be applied to an audio system, the audio system at least comprises a master node, a first slave node and a second slave node, wherein the first slave node receives a first discovery frame from the master node, the first discovery frame carries first synchronization information, the first synchronization information is used for clock synchronization, after the first slave node receives the first discovery frame, a second discovery frame is sent to the second slave node, the second discovery frame carries second synchronization information, the second synchronization information is used for clock synchronization, and the first slave node is in an undiscovered state. According to the technical scheme, the clock synchronization efficiency between the master node and the plurality of slave nodes is improved, and the speed of the master node for finding the slave nodes is increased.
Inventors
- ZHANG XINGXIN
- WANG XUEHUAN
Assignees
- 深圳引望智能技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20230804
Claims (20)
- A method of communication, applied to a first slave node, the method comprising: Receiving a first discovery frame, wherein the first discovery frame carries first synchronization information, and the first synchronization information is used for clock synchronization; After receiving the first discovery frame, sending a second discovery frame, wherein the second discovery frame carries second synchronization information, and the second synchronization information is used for clock synchronization; Wherein the first slave node is in an undiscovered state.
- The method of claim 1, wherein the first discovery frame and the second discovery frame further carry a first identity field.
- The method of claim 2, wherein the value of the first identification field of the first discovery frame is a non-specific value and the value of the first identification field of the second discovery frame is a specific value.
- A method as claimed in claim 3, wherein the method further comprises: setting the non-specific value as a node identity of the first slave node; A first response frame is sent.
- The method of claim 3 or 4, wherein the method further comprises: receiving a third discovery frame, wherein the third discovery frame carries a second identification field, and the value of the second identification field is a specific value; And sending the third discovery frame.
- The method of claim 2, wherein the first discovery frame and the second discovery frame further carry a status field indicating whether a first identity carried by the first identity field is assigned; When the value of the status field is a first value, the status field indicates that the first identifier is not allocated; When the value of the status field is a second value, the status field indicates that the first identifier is assigned.
- The method of claim 6, wherein the state field of the first discovery frame is valued at the first value and the state field of the second discovery frame is valued at the second value.
- The method of claim 7, wherein the method further comprises: setting the value of the first identity field as the node identity of the first slave node; And sending a second response frame.
- The method of any of claims 6 to 8, wherein the first discovery frame and the second discovery frame further carry a first check field for checking at least the first identity field and the status field.
- The method according to any of claims 2 to 8, wherein the first discovery frame and the second discovery frame further carry a second check field for checking at least the first identity field.
- The method of any one of claims 6 to 9, wherein the method further comprises: Receiving a fourth discovery frame, wherein the fourth discovery frame carries the first identity identification field and the state field, and the value of the state field is the second value; And sending the fourth discovery frame.
- The method of claim 1, wherein the first discovery frame carries an information field including a third identification field, the method further comprising: setting the value of the third identity field as the node identity of the first slave node; and sending a third response frame.
- The method of claim 12, wherein the second discovery frame carries only the second synchronization information, the second synchronization information having a bit length that is the same as a bit length of the first synchronization information, or The second discovery frame carries the second synchronization information and third synchronization information, the bit length of the second synchronization information is the same as the bit length of the first synchronization information, and the bit length of the third synchronization information is the same as the bit length of the information field.
- The method of claim 12, wherein the first synchronization information and the second synchronization information comprise an information indication field for indicating whether the first synchronization information or the second synchronization information carries the information field; when the value of the information indication field is a third value, the information indication field indicates that the information field is carried; And when the value of the information indication field is a fourth value, the information indication field indicates that the information field is not carried.
- The method of claim 14, wherein the information indication field value in the first discovery frame is the third value and the information indication field value in the second discovery frame is the fourth value.
- The method according to claim 14 or 15, wherein the first and second synchronization information further comprises a third check field for checking at least the information indication field.
- The method of any one of claims 12 to 16, wherein the method further comprises: receiving a fifth discovery frame, wherein the fifth discovery frame at least carries synchronization information, and the synchronization information is used for clock synchronization; And sending the fifth discovery frame.
- The method of claim 17, wherein the fifth discovery frame is the same as the second discovery frame.
- The method of any one of claims 1 to 18, wherein the second synchronization information is the same as the first synchronization information.
- A communication device, characterized in that it is applied to a first slave node, said device comprising a receiving unit and a transmitting unit for performing the method according to any of claims 1 to 19.
Description
Communication method, device, system and vehicle Technical Field The present application relates to the field of audio transmission, and more particularly, to a communication method, device, system, and vehicle. Background In a wired audio system of a vehicle, the wired audio system generally comprises an audio control device and a plurality of audio devices, wherein the audio control device and the audio devices are connected in a daisy chain networking mode, the audio control device sends audio data to be played to one or more audio devices for playing through an audio bus, and the audio device transmits the audio data collected by the audio control device to the audio control device through the audio bus. In order to enable transmission of audio data between the audio control device and the audio device, a slave node in the plurality of audio devices needs to be clock synchronized with a master node in the audio control device and discovered by the master node to access the audio bus system before data transmission takes place. Under the condition that the audio control equipment and the plurality of audio equipment are connected in a daisy chain networking mode, how to quickly complete the discovery of slave nodes in an audio bus system becomes a problem to be solved. Disclosure of Invention The application provides a communication method, a device, a system and a vehicle, which can improve the clock synchronization efficiency between a master node and a plurality of slave nodes and accelerate the discovery speed of the slave nodes by the master node. In a first aspect, a communication method is provided, which is applied to a first slave node, and the method comprises the steps of receiving a first discovery frame, wherein the first discovery frame carries first synchronization information, the first synchronization information is used for clock synchronization, sending a second discovery frame after the first discovery frame is received, the second discovery frame carries second synchronization information, and the second synchronization information is used for clock synchronization, and the first slave node is in an undiscovered state. Illustratively, receiving the first discovery frame includes receiving the first discovery frame directly from the master node or receiving the first discovery frame sent by the master node via one or more slave nodes. Transmitting the second discovery frame includes transmitting the second discovery frame directly to the second slave node or transmitting the second discovery frame to the second slave node via one or more slave nodes. Wherein the second slave node is connected to the master node via at least the first slave node. The second slave node may be a tail slave node in a daisy chain network formed by a plurality of slave nodes including the first slave node and the second slave node and the master node, or may be any slave node between the first slave node and the tail slave node. In the present application, among links formed by a master node and a plurality of slave nodes, a link in which one slave node transmits information to the master node or in the direction of the master node is an uplink, a link in which the slave node transmits information to a slave node remote from the master node is a downlink, and a link in which the master node transmits information to the slave node is a downlink. For example, the first slave node is located in the uplink of the second slave node, the second slave node is located in the downlink of the first slave node, and the first slave node and the second slave node are located in the downlink of the master node. In the present application, the process of discovering a slave node includes a process in which a master node detects the slave node and assigns an Identity (ID) thereto. The identification may be used for control, interrupt reporting, etc. indications. After a slave node is discovered, the master node may send data to the node or receive data from the slave node. The first slave node in the undiscovered state may include a state when the first slave node is not assigned with an identifier, or a state when the first slave node sets an undiscovered identifier carried in a discovery frame to an own identifier, and after sending a response frame to the master node, does not receive the discovery frame carrying an identifier different from the own identifier. The first slave node being in the discovered state may include a state at and after the time of receipt of a discovery frame carrying an identity different from its own identity. The first slave node is in an undiscovered state, which can also be understood that the first slave node in the undiscovered state has at least one characteristic that the first slave node is not allocated with an identifier, or the first slave node sets the undiscovered identifier carried in a certain discovery frame as an own identity, and after sending a response frame to the master n