This application discloses a control method, apparatus, medium, and automotive
diagnostic equipment for a diagnostic session, relating to the field of vehicle
diagnostic technology. The method includes: when initiating a diagnostic session, obtaining at least one diagnostic task and ECU identifier associated with the diagnostic session; for each diagnostic task, querying the associated data
block size in a preset mapping table based on its task identifier; sending a negotiation request message carrying the data
block size to the target ECU; and, upon receiving a
positive response message, continuously sending diagnostic task data to the target ECU using the data
block size. This application overcomes the problem that traditional fixed block size
modes cannot accommodate the differentiated requirements of different tasks in terms of
throughput, real-time performance, and security by intelligently associating the data block size with the diagnostic task type and implementing dynamic negotiation, significantly improving diagnostic efficiency,
bus utilization, and
system adaptability.