Search

CN-121973709-A - Distribution data transmission method, system, equipment and medium

CN121973709ACN 121973709 ACN121973709 ACN 121973709ACN-121973709-A

Abstract

The application discloses a transmission method, a system, equipment and a medium of distribution data. The power distribution data transmission method is applied to an area controller of a vehicle, the area controller is provided with a plurality of power distribution pins, the method comprises the steps of obtaining power distribution data of each power distribution pin, coding and sequencing the power distribution data of each power distribution pin to obtain a standard character string, packaging the standard character string according to a message identifier configured for the area controller in advance to obtain a plurality of data messages, wherein each data message has the same message identifier, and sequentially sending the data messages. By adopting the embodiment of the application, the distribution data is encoded into the character string and is encapsulated by the message identifier of the regional controller, so that the distribution pin data under the same controller shares the message identifier, thereby enhancing the synchronism and the relevance of the distribution data, simplifying the network management and improving the fault detection and data maintenance efficiency.

Inventors

  • ZHAO GANG
  • ZHUANG YAN

Assignees

  • 深向科技股份有限公司

Dates

Publication Date
20260505
Application Date
20251202

Claims (10)

  1. 1. A method of transmitting power distribution data, characterized by being applied to a zone controller of a vehicle, the zone controller being provided with a plurality of power distribution pins, the method comprising: Acquiring power distribution data of each power distribution pin; coding and sequencing the distribution data of each distribution pin to obtain a standard character string; According to a message identifier configured for the regional controller in advance, packaging the standard character string to obtain a plurality of data messages, wherein each data message has the same message identifier; and sequentially sending a plurality of data messages.
  2. 2. The method of claim 1, wherein the power distribution data of the power distribution pins comprises voltage, current, temperature and fault conditions of the power distribution pins.
  3. 3. The method for transmitting power distribution data according to claim 1, wherein said encoding and ordering said power distribution data for each power distribution pin to obtain a standard character string comprises: ASCII coding is carried out on the power distribution data of each power distribution pin, and ASCII character strings are obtained; and sequencing each ASCII character string according to a preset sequencing strategy to obtain the standard character string.
  4. 4. The method for transmitting power distribution data according to claim 3, further comprising, before sorting the ASCII strings according to a preset sorting policy to obtain the standard strings: And when the distribution data of the first distribution pin is abnormal, filling the most significant bit of the character corresponding to the enumeration quantity in the ASCII character string corresponding to the distribution data of the first distribution pin as 1, wherein the first distribution pin is any one of a plurality of distribution pins.
  5. 5. The method for transmitting power distribution data according to claim 1, wherein said encapsulating the standard character string according to the message identifier configured for the area controller in advance to obtain a plurality of data messages includes: acquiring a message identifier of the area controller; Dividing the standard character string according to the length of the data message to obtain a plurality of sub character strings; and respectively packaging the plurality of sub-character strings according to the message identifier of the area controller to obtain a plurality of data messages.
  6. 6. The method for transmitting power distribution data according to claim 5, further comprising, prior to acquiring the message identifier of the zone controller: and allocating a unique message identifier for the area controller.
  7. 7. The transmission method of power distribution data according to claim 1, further comprising: receiving the data message; Determining a fault position and a fault type according to the data message; and triggering a corresponding alarm or repair strategy according to the fault position and the fault type.
  8. 8. A transmission system for distribution data, characterized by an area controller for a vehicle, the area controller being provided with a plurality of distribution pins, the system comprising: The acquisition module is used for acquiring the distribution data of each distribution pin; the coding module is used for coding and sequencing the distribution data of each distribution pin to obtain a standard character string; The packaging module is used for packaging the standard character strings according to the message identifiers configured for the regional controllers in advance to obtain a plurality of data messages, wherein each data message has the same message identifier; and the transmission module is used for sequentially sending a plurality of data messages.
  9. 9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the transmission method of distribution data according to any of claims 1-7 when executing the program.
  10. 10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements a method of transmitting power distribution data according to any one of claims 1-7.

Description

Distribution data transmission method, system, equipment and medium Technical Field The present application relates to the field of vehicle network communications technologies, and in particular, to a method, a system, an apparatus, and a medium for transmitting power distribution data. Background With the centralized development of vehicle electronic and electric architecture, the application of the regional controller is increasingly widespread, the regional controller is provided with a plurality of power distribution pins, and in vehicle communication and controller state detection, transmission of power distribution data of the power distribution pins is often required. Because the distribution pins of a single regional controller can reach tens, the quantity of distribution data is large, and each message transmits 64bit data at most, so that the distribution data of the same regional controller is required to be split into a plurality of message transmissions, the conventional method generally distributes a message ID for each message independently, so that the same regional controller occupies a plurality of message IDs, the complexity of network management and load scheduling is increased, and meanwhile, in the conventional method, the distribution data generally depends on the whole vehicle communication matrix transmission, the whole vehicle communication matrix is required to be modified when the data is increased or decreased, and the message data is required to be converted into specific fault positions and types through a complex mapping table when the fault detection is carried out, so that the system resource consumption is increased, and the fault detection and data maintenance efficiency is reduced. Disclosure of Invention Based on the above, the invention provides a transmission method, a system, equipment and a medium of distribution data, which are characterized in that the distribution data are encoded into character strings and encapsulated through message identifiers of an area controller, so that the distribution pin data under the same controller share the message identifiers, thereby enhancing the synchronism and the relevance of the distribution data, simplifying the network management and improving the fault detection and data maintenance efficiency. In a first aspect, a transmission method of power distribution data is provided, and the transmission method is applied to an area controller of a vehicle, where the area controller is provided with a plurality of power distribution pins, and the method includes: Acquiring power distribution data of each power distribution pin; coding and sequencing the distribution data of each distribution pin to obtain a standard character string; According to a message identifier configured for the regional controller in advance, packaging the standard character string to obtain a plurality of data messages, wherein each data message has the same message identifier; and sequentially sending a plurality of data messages. Further, the power distribution data of the power distribution pins comprise voltage, current, temperature and fault states of the power distribution pins. Further, the encoding and sorting the distribution data of each distribution pin to obtain a standard character string includes: ASCII coding is carried out on the power distribution data of each power distribution pin, and ASCII character strings are obtained; and sequencing each ASCII character string according to a preset sequencing strategy to obtain the standard character string. Further, before sorting the ASCII strings according to a preset sorting policy to obtain the standard strings, the method further includes: And when the distribution data of the first distribution pin is abnormal, filling the most significant bit of the character corresponding to the enumeration quantity in the ASCII character string corresponding to the distribution data of the first distribution pin as 1, wherein the first distribution pin is any one of a plurality of distribution pins. Further, the encapsulating the standard character string according to the message identifier configured for the area controller in advance, to obtain a plurality of data messages, including: acquiring a message identifier of the area controller; Dividing the standard character string according to the length of the data message to obtain a plurality of sub character strings; and respectively packaging the plurality of sub-character strings according to the message identifier of the area controller to obtain a plurality of data messages. Further, before acquiring the message identifier of the area controller, the method further includes: and allocating a unique message identifier for the area controller. Further, the method further comprises the following steps: receiving the data message; Determining a fault position and a fault type according to the data message; and triggering a corresponding alarm or repair s