This application discloses a method, apparatus, storage medium, and electronic device for acquiring vehicle data. The method includes: acquiring CAN messages from the vehicle's
CAN bus, wherein each CAN message contains multiple message frames and
network segment identification information for each
message frame; converting the CAN messages into large
data messages in SOMEIP protocol format based on the
network segment identification information of each
message frame; wherein each large data message includes N SOMEIP data items, which are obtained by converting N first message frames with the same
network segment identification information, and each large data message also includes the first network segment identification information corresponding to the first
message frame, where N is an integer greater than or equal to 1; and sending the large data message to a
remote communication terminal. Since the
message format conversion occurs in each
domain controller, the
remote communication terminal only needs to receive the large
data messages, thus requiring less CAN interface resources and hardware computing power from the
remote communication terminal, i.e., without increasing the hardware cost of the remote communication terminal, and enabling efficient and flexible acquisition of vehicle data.