WO2024021201A1 - 车辆的节点地址分配方法、装置、车辆设备及存储介质 - Google Patents
车辆的节点地址分配方法、装置、车辆设备及存储介质 Download PDFInfo
- Publication number
- WO2024021201A1 WO2024021201A1 PCT/CN2022/113386 CN2022113386W WO2024021201A1 WO 2024021201 A1 WO2024021201 A1 WO 2024021201A1 CN 2022113386 W CN2022113386 W CN 2022113386W WO 2024021201 A1 WO2024021201 A1 WO 2024021201A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- address
- addressing
- addressing instruction
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5038—Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q3/00—Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
- B60Q3/80—Circuits; Control arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q3/00—Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors
- B60Q3/20—Arrangement of lighting devices for vehicle interiors; Lighting devices specially adapted for vehicle interiors for lighting specific fittings of passenger or driving compartments; mounted on specific fittings of passenger or driving compartments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40234—Local Interconnect Network LIN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Definitions
- the present application generally relates to the field of vehicles, and specifically relates to a node address allocation method, device, vehicle equipment and storage medium for a vehicle.
- Vehicle-mounted interior atmosphere lights are increasingly installed in home cars, and the use of multi-color RGB atmosphere lights is becoming more and more common.
- the number of ambient lights arranged in the car is also gradually increasing.
- Individual control of the ambient lights in certain areas requires assigning an address to each ambient light, and then individual control of each ambient light can be achieved based on the address of the ambient light.
- this application provides a node address allocation method for vehicles, including:
- the node set includes a plurality of nodes connected to the first bus of the vehicle;
- the node is assigned an address according to its address.
- obtaining the node whose address is currently to be allocated from the node set according to the first addressing mode includes:
- the node to be processed is used as the node to which the current address is to be allocated;
- the node to be processed is used as the node to which the current address is to be allocated.
- the first addressing mode is one of the LSM addressing mode and the BSM addressing mode.
- the method is based on the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the addressing instruction currently issued to the node.
- the frame number of the frame is used to obtain the address of the node, including:
- the address of the node is obtained according to the second difference.
- the node is assigned an address according to its address.
- the second addressing mode is one of the LSM addressing mode and the BSM addressing mode, and the second addressing mode is different from the first addressing mode.
- this application provides a vehicle node address allocation device, including:
- a node determination module configured to obtain the node currently to be assigned an address from a node set according to the first addressing mode, wherein the node set includes multiple nodes connected to the first bus of the vehicle;
- the address determination module is configured to determine the address based on the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the address of the addressing instruction frame currently issued to the node. Frame number, get the address of the node;
- An allocation module configured to allocate addresses to the nodes according to the addresses of the nodes.
- address determination module is specifically used for:
- the address of the node is obtained according to the second difference.
- the present application provides a vehicle, which includes a node address allocation device of the vehicle.
- the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
- the processor executes the program, the embodiments of the present application are implemented.
- the node address allocation method for the vehicle described in any one of the above.
- the present application provides a computer-readable storage medium on which a computer program is stored.
- the program is executed by a processor, the vehicle node address allocation method described in any one of the embodiments of the present application is implemented.
- the vehicle node address allocation method based on the vehicle node address allocation method, device, vehicle equipment and storage medium of the present invention, by obtaining the number of addressing instruction frames in the addressing instruction sequence and the number of addressing instructions carried by the addressing instruction frame currently issued to the node.
- the address of the node is obtained by the relationship between the address and the frame of the addressing instruction frame currently issued to the node. This method can achieve precise control over the allocation of node addresses, thereby meeting preset requirements.
- Figure 1 is a flow chart of a vehicle node address allocation method provided by an embodiment of the present application
- Figure 2 is an internal structure diagram of the MLX81 series chip node provided by the embodiment of the present application.
- Figure 3 is a node connection block diagram of the BSM addressing mode provided by the embodiment of the present application.
- Figure 4 is the addressing result of the BSM addressing mode provided by the embodiment of the present application.
- Figure 5 is an internal structure diagram of the Indie Realplum chip node provided by the embodiment of this application.
- Figure 6 is a node connection block diagram of the LSM addressing mode provided by the embodiment of the present application.
- Figure 7 is the addressing result of the LSM addressing method provided by the embodiment of the present application.
- Figure 8 is a structural block diagram of a vehicle node address allocation device provided by an embodiment of the present application.
- Figure 9 is an internal structure diagram of an electronic device provided by an embodiment of the present application.
- This application generally relates to the field of vehicles.
- the following embodiments of this application exemplify a node address allocation method for vehicles.
- This application provides a vehicle node address allocation method, including:
- the node address to be allocated is obtained from the set of all nodes according to the selected addressing mode.
- the set of nodes is all nodes connected by the bus of the current vehicle. For example, when the first bus of this vehicle is connected to 3 nodes, the node address to be allocated should also be 3.
- the address of the node can be 0x10, 0x0F, 0x0E, and the total number of nodes can be represented by Max NAD.
- obtaining the node whose address is currently to be allocated from the node set according to the first addressing mode includes:
- the node to be processed is used as the node to which the current address is to be allocated;
- the node to be processed is used as the node to which the current address is to be allocated.
- Max NAD is first sent to allocate the largest NAD, and the allocation is in order from large to small, that is, the node search is performed from the first node to the last node in the set. If the node has not been assigned an address, this node will be left pending.
- the processed node is the node that currently needs to be assigned an address. Or, search from the tail node in the set to the first node. If the node has not been assigned an address, the node to be processed is regarded as the node that currently needs to be assigned an address.
- the BSM (Bus Shunt Method) addressing method uses a pull-up current source to determine the current value difference to identify the first LIN node at the far end, and responds to the NAD instructions to be allocated from far to near, that is, from the middle of the set
- the tail node performs node search to the first node.
- Indie Realplum chips use the LSM (LIN Switch Method) addressing method, which increases the number of slave nodes online by controlling the opening and closing of the LIN Switch. Starting from the first LIN node in the near segment, the back-end slave nodes are connected one by one from near to far. Respond to the NAD allocation instruction, that is, perform a node search from the first node to the last node in the set.
- the addressing instructions at this time are shown in Table 1.
- the first addressing mode is one of an LSM addressing mode and a BSM addressing mode.
- existing automatic addressing mostly uses Melexis MLX81 series chips or Indie Realplum chips for communication and control through LIN.
- the MLX81 series of chips adopts the BSM (Bus Shunt Method) addressing method, which uses the pull-up current source to determine the difference in current values to identify the first LIN node at the far end, and the NAD (Node address, node address) from far to near.
- BSM Bus Shunt Method
- the Indie Realplum chip uses the LSM (LIN Switch Method, LIN bus switching method) addressing method, that is, by controlling the opening and closing of the LIN Switch to increase the number of slave nodes online, starting from the first LIN node at the near end, Connect the back-end slave nodes one by one from near to far to respond to NAD allocation instructions.
- LSM LIN Switch Method, LIN bus switching method
- the pull-up current source is turned on
- the constant current source is turned on;
- the Indie Realplum chip uses the LSM addressing method.
- the internal structure of the LIN node of the chip is shown in Figure 5.
- the chip LSM addressing node connection diagram is shown in Figure 6.
- the next LIN node is connected through the LIN switch inside the node, and then By judging whether the NAD is the initial value to identify whether an address has been assigned, and identifying nodes that have not been assigned NAD to overwrite the new NAD, the LIN bus can automatically assign addresses.
- the steps are as follows:
- All nodes turn off the LIN switch, and the first near-end node is online. After receiving the NAD command and performing new NAD coverage, this node closes the LIN switch and connects the second node;
- the first node After receiving the NAD allocation instruction, the first node has stored the new NAD, the second node is the initial NAD, and the new NAD is covered. This node closes the LIN switch and connects the third node;
- the address carried by the addressing instruction frame currently issued to the node, and the number of frames of the addressing instruction frame currently issued to the node obtain The address of the node.
- the address of the node is obtained according to the number of addressing instruction frames in the current addressing sequence, the address carried by the addressing instruction, and the current number of addressing instruction frames.
- the number of addresses can be expressed as Max NAD.
- NAD is 0xX (Max NAD)
- all nodes will store NAD as 0xX, where X is the number of addressing instruction frames in the addressing instruction sequence, and disconnect the LIN switch; all The LIN switch is disconnected.
- NAD is 0x0(X-1).
- This node stores NAD as 0x01 ⁇ Max NAD-(X-1) ⁇ .
- close the LIN switch to connect the second node; the first node LIN switch is closed, and the first and second node at the near end are online at this time.
- the NAD of the first node is 0x01
- the NAD of the second node is 0xX.
- NAD is 0x(X-2)
- the second node closes the LIN switch and connects to the third node;
- the LIN switch of the first and second nodes is closed.
- the three near-end nodes are online.
- the NAD of the first node is 0x01
- the NAD of the second node is 0x02
- the NAD of the third node is 0xX.
- the command NAD is 0x(X-3), and the NAD of the node with NAD 0xX is corrected to 0x03 ⁇ Max NAD-(X-3) ⁇ .
- the second node closes the LIN switch; until it is assigned to the last node, the remote node The two nodes are connected online.
- the NAD is 0x01.
- the NAD of the node with NAD 0xX is corrected to 0x(X-1).
- this node closes the LIN switch.
- the first remote node is online. This node NAD has been saved as 0xX.
- the method is based on the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the addressing instruction currently issued to the node.
- the frame number of the frame is used to obtain the address of the node, including:
- the address of the node is obtained according to the second difference.
- the calculated difference is 2, and the current difference is the first Difference;
- the current difference is the second difference, and then based on the second difference, the address of the node is obtained: NAD 0x03 .
- the node allocates addresses based on the node address, and the obtained addresses of each node are as shown in Figure 4, thereby achieving the same nodes in LSM and BSM addressing modes, thereby achieving compatible control.
- the method further includes: obtaining the node whose address is currently to be allocated from the node set according to the second addressing mode;
- the node is assigned an address according to its address.
- the second addressing mode is used to obtain the node with the currently assigned address from the node set, and the address carried by the addressing instruction frame currently issued to the node is directly used as the node address. For example, if the node with the current address to be allocated is 3, the obtained node address is: 0x03.
- the second addressing mode is one of an LSM addressing mode and a BSM addressing mode, and the second addressing mode is different from the first addressing mode.
- the second addressing mode is the BSM addressing mode
- the first addressing mode is the LSM addressing mode
- the vehicle node address allocation method of the present invention by obtaining the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the address currently issued to the node.
- the relationship number of the addressing instruction frame is used to obtain the address of the node. This method can achieve precise control over the allocation of node addresses to meet preset requirements.
- the node address allocation device 200 for a vehicle includes: a node determination module 210 , an address determination module 220 , and an allocation module 230 , wherein:
- the node determination module 210 is configured to obtain the node currently to be assigned an address from a node set according to the first addressing mode, where the node set includes multiple nodes connected to the first bus of the vehicle;
- the address determination module 220 is configured to determine the address based on the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the addressing instruction frame currently issued to the node. The number of frames, get the address of the node;
- the allocation module 230 is configured to allocate addresses to the nodes according to the addresses of the nodes.
- the address determination module 220 is specifically used to:
- the address of the node is obtained according to the second difference.
- the vehicle node address allocation device of the present invention by obtaining the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the number of addressing instruction frames currently issued to the node.
- the relationship number of the addressing instruction frame is used to obtain the address of the node. This method can achieve precise control over the allocation of node addresses to meet preset requirements.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more components that implement the specified logical function(s). executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two connected blocks may actually execute substantially in parallel, and they may sometimes execute in reverse order, depending on the functionality involved.
- each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by specialized hardware-based systems that perform the specified functions or operating instructions. Implemented, or may be implemented using a combination of dedicated hardware and computer instructions.
- the above description is only a preferred embodiment of the present application and an explanation of the technical principles used.
- Those skilled in the art should understand that the disclosure scope involved in this application is not limited to technical solutions composed of specific combinations of the above technical features, but should also cover solutions consisting of the above technical features or without departing from the foregoing disclosed concept.
- Other technical solutions formed by any combination of their equivalent features For example, a technical solution is formed by replacing the above features with technical features with similar functions disclosed in this application (but not limited to).
- the present application provides a vehicle that adopts a node address allocation device 200 of the vehicle.
- the node address allocation device 200 of the vehicle includes: a node determination module 210 for selecting from a node according to a first addressing mode. Obtain the node whose address is currently to be allocated in the node set, wherein the node set includes multiple nodes connected to the first bus of the vehicle;
- the address determination module 220 is configured to determine the address based on the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the addressing instruction frame currently issued to the node. The number of frames, get the address of the node;
- the allocation module 230 is configured to allocate addresses to the nodes according to the addresses of the nodes.
- the address determination module 220 is specifically used to:
- the address of the node is obtained according to the second difference.
- the vehicle of the present invention by obtaining the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the address carried by the addressing instruction frame currently issued to the node.
- the relationship number is used to obtain the address of the node. This method can achieve precise control over the allocation of node addresses to meet preset requirements.
- an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor.
- the electronic device executes the computer program, it implements the following steps: according to the first addressing
- the method obtains the node whose address is currently to be allocated from a node set, wherein the node set includes multiple nodes connected to the first bus of the vehicle; according to the number of addressing instruction frames in the addressing instruction sequence, the number of addresses currently issued to the The address of the node is obtained by using the address carried by the addressing instruction frame of the node and the frame number of the addressing instruction frame currently issued to the node; and allocating addresses to the node according to the address of the node.
- the processor when the processor executes the computer program, the processor also implements the following steps: sequentially perform node search from the first node to the last node in the node set; when the first node to be processed without address allocation is found, Use the node to be processed as the node currently to be assigned an address; or, perform a node search from the tail node in the node set to the first node; when the first node to be processed that has not been assigned an address is found. , taking the node to be processed as the node to which the current address is to be allocated.
- the processor when the processor executes the computer program, the processor further implements the following steps: obtaining the number of addressing instruction frames in the addressing instruction sequence and the number of addressing instruction frames currently issued to the node. the first difference between; obtain the second difference between the address carried by the addressing instruction frame currently issued to the node and the first difference; obtain the The address of the node.
- the processor when the processor executes the computer program, the following steps are also implemented: obtaining the node whose address is currently to be allocated from the node set according to the second addressing mode; and according to the addressing instruction currently issued to the node in the addressing instruction sequence.
- the address carried by the address instruction frame is obtained to obtain the address of the node; the address is assigned to the node according to the address of the node.
- the electronic device may be a terminal device, and its internal structure diagram may be as shown in Figure 9.
- the terminal device includes a processor, memory, communication interface, display screen and input device connected through a system bus.
- the processor of the terminal device is used to provide computing and control capabilities.
- the memory of the terminal device includes computer-readable storage media and internal memory.
- the computer-readable storage medium stores an operating system and a computer program. This internal memory provides an environment for the execution of operating systems and computer programs in computer-readable storage media.
- the communication interface of the terminal device is used for wired or wireless communication with external terminals.
- the wireless mode can be implemented through WIFI, operator network, near field communication (NFC) or other technologies.
- the computer program implements an application opening method when executed by the processor.
- the display screen of the terminal device can be a liquid crystal display or a communication ink display screen.
- the input device of the terminal device can be a touch layer covered on the display screen, or it can be a button, trackball or touch pad provided on the shell of the terminal device. , it can also be an external keyboard, trackpad or mouse, etc.
- the electronic device of the present invention by obtaining the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the addressing instruction frame currently issued to the node The relationship number of the node is obtained. This method can achieve precise control over the allocation of node addresses to meet the preset requirements.
- a computer-readable storage medium has a computer program stored thereon.
- the computer program When the computer program is executed by a processor, the following steps are implemented: Obtain the node whose address is currently to be allocated from the node set according to the first addressing mode, Wherein, the node set includes multiple nodes connected to the first bus of the vehicle; according to the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the The address of the node is obtained based on the number of addressing instruction frames currently issued to the node; and address allocation is performed on the node based on the address of the node.
- the processor when the processor executes the computer program, the processor also implements the following steps: sequentially perform node search from the first node to the last node in the node set; when the first node to be processed without address allocation is found, Use the node to be processed as the node currently to be assigned an address; or, perform a node search from the tail node in the node set to the first node; when the first node to be processed that has not been assigned an address is found. , taking the node to be processed as the node to which the current address is to be allocated.
- the processor when the processor executes the computer program, the processor further implements the following steps: obtaining the number of addressing instruction frames in the addressing instruction sequence and the number of addressing instruction frames currently issued to the node. the first difference between; obtain the second difference between the address carried by the addressing instruction frame currently issued to the node and the first difference; obtain the The address of the node.
- the processor when the processor executes the computer program, the following steps are also implemented: obtaining the node whose address is currently to be allocated from the node set according to the second addressing mode; and according to the addressing instruction currently issued to the node in the addressing instruction sequence.
- the address carried by the address instruction frame is obtained to obtain the address of the node; the address is assigned to the node according to the address of the node.
- the computer-readable storage medium of the present invention by obtaining the number of addressing instruction frames in the addressing instruction sequence, the address carried by the addressing instruction frame currently issued to the node, and the address carried by the addressing instruction frame currently issued to the node.
- the address of the node is obtained by using the relationship number of the frame of the address instruction frame. This method can achieve precise control over the allocation of node addresses, thereby meeting the preset requirements.
- Computer-readable memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
- Volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory.
- RAM Random Access Memory
- SRAM Static Random Access Memory
- DRAM Dynamic Random Access Memory
- first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include one or more of these features.
- “plurality” means two or more than two, unless otherwise explicitly and specifically limited.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mechanical Engineering (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Small-Scale Networks (AREA)
- Arrangements Of Lighting Devices For Vehicle Interiors, Mounting And Supporting Thereof, Circuits Therefore (AREA)
Abstract
Description
Claims (11)
- 一种车辆的节点地址分配方法,其特征在于,包括:根据第一寻址方式从节点集合中获得当前待分配地址的节点,其中,所述节点集合包括与车辆的第一总线相连的多个节点;根据寻址指令序列中寻址指令帧的数量、当前下发给所述节点的寻址指令帧携带的地址以及所述当前下发给所述节点的寻址指令帧的帧数,得到所述节点的地址;根据所述节点的地址对所述节点进行地址分配。
- 根据权利要求1所述的节点地址分配方法,其特征在于,所述根据第一寻址方式从节点集合中获得当前待分配地址的节点,包括:依次从所述节点集合中的首节点向尾结点进行节点查找;当查找到首个未进行地址分配的待处理节点时,将所述待处理节点作为所述当前待分配地址的节点;或者,依次从所述节点集合中的尾节点向首结点进行节点查找;当查找到首个未进行地址分配的待处理节点时,将所述待处理节点作为所述当前待分配地址的节点。
- 根据权利要求2所述的节点地址分配方法,其特征在于,所述第一寻址方式为LSM寻址方式和BSM寻址方式中的一个。
- 根据权利要求1-3任一项所述的节点地址分配方法,其特征在于,所述根据寻址指令序列中寻址指令帧的数量、当前下发给所述节点的寻址指令帧携带的地址以及所述当前下发给所述节点的寻址指令帧的帧数,得到所述节点的地址,包括:获得所述寻址指令序列中寻址指令帧的数量与所述当前下发给所述节点的寻址指令帧的帧数之间的第一差值;获得所述当前下发给所述节点的寻址指令帧携带的地址与所述第一差值之间的第二差值;根据所述第二差值得到所述节点的地址。
- 根据权利要求1所述的节点地址分配方法,其特征在于,还包括:根据第二寻址方式从节点集合中获得当前待分配地址的节点;根据寻址指令序列中当前下发给所述节点的寻址指令帧携带的地址,得到所述节点的地址;根据所述节点的地址对所述节点进行地址分配。
- 根据权利要求5所述的节点地址分配方法,其特征在于,所述第二寻址方式为LSM寻址方式和BSM寻址方式中的一个,且所述第二寻址方式与所述第一寻址方式不同。
- 一种车辆的节点地址分配装置,其特征在于,包括:节点确定模块,用于根据第一寻址方式从节点集合中获得当前待分配地址的节点,其中,所述节点集合包括与车辆的第一总线相连的多个节点;地址确定模块,用于根据寻址指令序列中寻址指令帧的数量、当前下发给所述节点的寻址指令帧携带的地址以及所述当前下发给所述节点的寻址指令帧的帧数,得到所述节点的地址;分配模块,用于根据所述节点的地址对所述节点进行地址分配。
- 根据权利要求7所述的车辆的节点地址分配装置,其特征在于,所述地址确定模块具体用于:获得所述寻址指令序列中寻址指令帧的数量与所述当前下发给所述节点的寻址指令帧的帧数之间的第一差值;获得所述当前下发给所述节点的寻址指令帧携带的地址与所述第一差值之间的第二差值;根据所述第二差值得到所述节点的地址。
- 一种车辆,其特征在于,包括:根据权利要求7或8所述的车辆的节点地址分配装置。
- 一种电子设备,其特征在于,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时,实现根据权利要求1-6任一项所述的车辆的节点地址分配方法。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现根据权利要求1-6中任一所述的车辆的节点地址分配方法。
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020247042903A KR20250012656A (ko) | 2022-07-27 | 2022-08-18 | 차량의 노드 주소 할당 방법, 장치, 차량장치 및 저장매체 |
| JP2024568636A JP7789960B2 (ja) | 2022-07-27 | 2022-08-18 | 車両のノードアドレス分配方法、装置、車両デバイス及び記憶媒体 |
| EP22952643.9A EP4509364A4 (en) | 2022-07-27 | 2022-08-18 | VEHICLE NODE ADDRESS ASSIGNMENT METHOD AND APPARATUS, AND VEHICLE DEVICE AND STORAGE MEDIUM |
| US19/015,701 US20250150431A1 (en) | 2022-07-27 | 2025-01-10 | Node address allocation method and apparatus for vehicle, vehicle, device, and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210896197.6A CN115230578B (zh) | 2022-07-27 | 2022-07-27 | 车辆的节点地址分配方法、装置、车辆设备及存储介质 |
| CN202210896197.6 | 2022-07-27 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US19/015,701 Continuation US20250150431A1 (en) | 2022-07-27 | 2025-01-10 | Node address allocation method and apparatus for vehicle, vehicle, device, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024021201A1 true WO2024021201A1 (zh) | 2024-02-01 |
Family
ID=83676565
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/113386 Ceased WO2024021201A1 (zh) | 2022-07-27 | 2022-08-18 | 车辆的节点地址分配方法、装置、车辆设备及存储介质 |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US20250150431A1 (zh) |
| EP (1) | EP4509364A4 (zh) |
| JP (1) | JP7789960B2 (zh) |
| KR (1) | KR20250012656A (zh) |
| CN (1) | CN115230578B (zh) |
| WO (1) | WO2024021201A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118118462B (zh) * | 2024-04-29 | 2024-08-23 | 智达诚远科技有限公司 | Lin总线自动寻址方法及系统、主节点、从节点 |
| CN121547440B (zh) * | 2026-01-22 | 2026-05-08 | 山东华天科技集团股份有限公司 | 适用于多节点智能设备系统的自适应节点寻址方法及系统 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140369180A1 (en) * | 2012-03-30 | 2014-12-18 | Fujitsu Limited | Power supply controller, relay node device, wired ad-hoc network system, and power supply control method |
| CN109729628A (zh) * | 2017-10-30 | 2019-05-07 | 迈来芯科技有限公司 | 用于动态光照应用的总线协议 |
| CN110083628A (zh) * | 2019-05-08 | 2019-08-02 | 深圳市元征科技股份有限公司 | 一种车辆电子控制单元ecu的寻址方法及装置 |
| CN110830349A (zh) * | 2019-11-15 | 2020-02-21 | 宁波兴为汽车电子有限公司 | 一种可通用的车用lin开关从控制模块的地址分配方法 |
| CN111787667A (zh) * | 2020-05-22 | 2020-10-16 | 南京天擎汽车电子有限公司 | 氛围灯编址系统、电子装置及车辆 |
| CN114615777A (zh) * | 2020-12-09 | 2022-06-10 | 浙江宇视科技有限公司 | 灯板地址分配方法、装置、设备和介质 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8645580B2 (en) * | 2011-09-06 | 2014-02-04 | Semiconductor Components Industries, Llc | Circuit and electronic module for automatic addressing |
| KR101612834B1 (ko) * | 2014-12-23 | 2016-04-26 | 현대자동차주식회사 | 차량 내 lin 통신에서의 lin id 자동 할당 및 설정 방법 및 그를 위한 장치 |
| DE102017128489B4 (de) * | 2017-09-26 | 2025-08-14 | Elmos Semiconductor Se | Selbsttestfähiges Bussystem und Verwendung dieser Selbsttestfähigkeit zur Vergabe von Busknotenadressen mit einer Erkennung der Vertauschung von Eingängen und Ausgängen |
| CN113347283B (zh) * | 2021-06-03 | 2022-05-24 | 上海钧嵌传感技术有限公司 | 一种节点地址的分配方法及系统 |
| CN114531423A (zh) * | 2021-12-28 | 2022-05-24 | 上海安浦鸣志自动化设备有限公司 | 一种节点地址分配方法、存储介质及总线网络 |
-
2022
- 2022-07-27 CN CN202210896197.6A patent/CN115230578B/zh active Active
- 2022-08-18 WO PCT/CN2022/113386 patent/WO2024021201A1/zh not_active Ceased
- 2022-08-18 EP EP22952643.9A patent/EP4509364A4/en active Pending
- 2022-08-18 JP JP2024568636A patent/JP7789960B2/ja active Active
- 2022-08-18 KR KR1020247042903A patent/KR20250012656A/ko active Pending
-
2025
- 2025-01-10 US US19/015,701 patent/US20250150431A1/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140369180A1 (en) * | 2012-03-30 | 2014-12-18 | Fujitsu Limited | Power supply controller, relay node device, wired ad-hoc network system, and power supply control method |
| CN109729628A (zh) * | 2017-10-30 | 2019-05-07 | 迈来芯科技有限公司 | 用于动态光照应用的总线协议 |
| CN110083628A (zh) * | 2019-05-08 | 2019-08-02 | 深圳市元征科技股份有限公司 | 一种车辆电子控制单元ecu的寻址方法及装置 |
| CN110830349A (zh) * | 2019-11-15 | 2020-02-21 | 宁波兴为汽车电子有限公司 | 一种可通用的车用lin开关从控制模块的地址分配方法 |
| CN111787667A (zh) * | 2020-05-22 | 2020-10-16 | 南京天擎汽车电子有限公司 | 氛围灯编址系统、电子装置及车辆 |
| CN114615777A (zh) * | 2020-12-09 | 2022-06-10 | 浙江宇视科技有限公司 | 灯板地址分配方法、装置、设备和介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4509364A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115230578B (zh) | 2026-05-01 |
| KR20250012656A (ko) | 2025-01-24 |
| CN115230578A (zh) | 2022-10-25 |
| EP4509364A4 (en) | 2025-07-23 |
| JP2025519072A (ja) | 2025-06-24 |
| JP7789960B2 (ja) | 2025-12-22 |
| US20250150431A1 (en) | 2025-05-08 |
| EP4509364A1 (en) | 2025-02-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20200336827A1 (en) | Method and device for processing an audio signal in a vehicle | |
| CN115230578B (zh) | 车辆的节点地址分配方法、装置、车辆设备及存储介质 | |
| US10868695B2 (en) | Data transmission apparatus and method thereof | |
| US20220166232A1 (en) | Charging management system and method, device, and storage medium | |
| US10170056B2 (en) | Method of controlling mirror display and electronic device for the same | |
| CN108172150B (zh) | 显示屏的检测方法及装置 | |
| CN105049742A (zh) | 一种移动终端及双色温补偿方法 | |
| CN108616424A (zh) | 一种资源调度方法、计算机设备和系统 | |
| CN112046310A (zh) | 用于电动车的充电指示灯的控制方法和装置 | |
| CN108615077B (zh) | 一种应用于深度学习网络的缓存优化方法及装置 | |
| CN107290654A (zh) | 一种fpga逻辑测试结构及方法 | |
| KR20220056480A (ko) | 차량 표면 품질 검사시스템 | |
| CN108874676A (zh) | 测试资源的分配方法及装置 | |
| CN111082991A (zh) | 机顶盒WiFi信道自动适配方法、服务器及存储介质 | |
| US10756393B2 (en) | Method for preventing duplicate allocation of ID to battery modules | |
| US20130231885A1 (en) | Test apparatus and test module | |
| CN117971575A (zh) | 存储硬盘性能测试方法、装置、设备及存储介质 | |
| CN112685275B (zh) | 算法策略搜索方法、装置、电子设备及存储介质 | |
| EP1654635A2 (en) | Method and computer system for accessing thread private data | |
| US20190377314A1 (en) | Plc, network unit, cpu, and data transfer method | |
| CN117914827B (zh) | 地址分配方法、通信储能系统及电子设备 | |
| CN116699182A (zh) | 产品测试方法、设备及存储介质 | |
| CN114248703B (zh) | 一种汽车中开放接口的使用方法及相关装置 | |
| US20160037335A1 (en) | Electronic device and method for controlling information exchange in electronic device | |
| US8381023B2 (en) | Memory system and computer system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22952643 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022952643 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024568636 Country of ref document: JP |
|
| ENP | Entry into the national phase |
Ref document number: 2022952643 Country of ref document: EP Effective date: 20241112 |
|
| ENP | Entry into the national phase |
Ref document number: 20247042903 Country of ref document: KR Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 1020247042903 Country of ref document: KR |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |

