Signal library management method and device, equipment, storage medium and product

By generating a signal library management method, the problem of signal update and maintenance difficulties caused by the increase in the number of vehicle controllers on the CAN bus is solved, and rapid query and routing information generation are realized, which improves the efficiency of troubleshooting.

CN118963313BActive Publication Date: 2026-01-02CHERY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411012664.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2026-01-02
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

As automotive functions become more diverse, the number of vehicle controllers on the CAN bus increases, making signal updates and maintenance difficult and prone to oversights, leading to functional problems. Existing technologies struggle to effectively manage the signal library of CAN vehicle controllers.

Method used

By identifying multiple vehicle controllers to send test messages, recording the associated vehicle controllers and their information, and generating a signal library, it supports quick querying and routing information generation, thus optimizing troubleshooting.

Benefits of technology

It enables the rapid identification of associated vehicle controllers and related information, reducing troubleshooting time and improving troubleshooting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963313B_ABST
    Figure CN118963313B_ABST
Patent Text Reader

Abstract

The application discloses a signal library management method and device, equipment, a storage medium and a product, and belongs to the technical field of vehicles. The method comprises the following steps: controlling a plurality of vehicle controllers to respectively send test messages; for any test message, determining message information of the test message; controlling the plurality of vehicle controllers to perform a receiving operation on the test message; determining an associated vehicle controller of the test message, wherein the associated vehicle controller of the test message is used to represent a transceiving relationship between the plurality of vehicle controllers; determining vehicle model information of a vehicle to which the associated vehicle controller of the test message is applied; determining a network segment to which the test message belongs; and storing, as a record item, the related information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied and the network segment to which the test message belongs into a signal library. The application can reduce problem troubleshooting time and improve problem troubleshooting efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, in particular to a signal library management method, device, equipment, storage medium and product. BACKGROUND

[0002] With the diversification of automobile functions, the number of vehicle controllers on the automobile CAN (Controller Area Network) bus is increasing, and the application on different vehicle models and platforms is also becoming more and more complex. Moreover, with the increase in the number of vehicle controllers, the maintenance of the CAN communication matrix becomes more and more difficult. The update of the signals sent by a CAN vehicle controller needs to consider the simultaneous update of the associated vehicle controllers of the CAN vehicle controller, and it is inevitable that there will be omissions, which will cause problems in the functions of the vehicle controllers of the omitted signals. Therefore, how to manage the signal library of the CAN vehicle controller is the focus of the industry. SUMMARY

[0003] The embodiments of the present application provide a signal library management method, device, equipment, storage medium and product. When troubleshooting, the associated vehicle controllers and other related information of a test message can be quickly determined from the signal library based on the test message, the troubleshooting time is reduced, and the troubleshooting efficiency is improved. The technical solution is as follows:

[0004] In one aspect, a signal library management method is provided, and the method comprises:

[0005] determining a plurality of vehicle controllers to be managed, the protocol types of the plurality of vehicle controllers comprising at least one of a Controller Area Network (CAN) protocol, a Controller Area Network (CAN) improved communication (CANFD) protocol and a Local Interconnect Network (LIN) protocol;

[0006] controlling the plurality of vehicle controllers to respectively send test messages, the test messages sent by the plurality of vehicle controllers comprising at least one protocol of test messages of the CAN protocol, test messages of the CANFD protocol and test messages of the LIN protocol, and the test messages respectively sent by the plurality of vehicle controllers are used to test the transceiving relationship between the plurality of vehicle controllers;

[0007] for any test message, determining message information of the test message, the message information comprising a message identifier, a protocol format, a transmission rate switching identification bit, a message name, a message type, a message length, a message sending type, a message cycle time, a fast cycle of message sending, a number of times of fast sending of the message, a message delay time and a signal name included in the test message;

[0008] controlling the plurality of vehicle controllers to perform a receiving operation of the test message;

[0009] determining a vehicle controller receiving the test message, determining a vehicle controller sending the test message, and determining the vehicle controller receiving the test message as an associated vehicle controller of the test message, the associated vehicle controller of the test message being used to represent a transceiving relationship between the plurality of vehicle controllers;

[0010] determining vehicle model information of a vehicle to which the associated vehicle controller of the test message is applied;

[0011] determining a network segment to which the test message belongs;

[0012] storing the related information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test message belongs as a record item into a signal library.

[0013] In a possible implementation, the method further includes:

[0014] receiving a first query instruction, the first query instruction carrying a message identifier of a first test message;

[0015] based on the message identifier of the first test message, obtaining a record item in which the message identifier of the first test message is located from the signal library;

[0016] determining an associated vehicle controller of the first test message from the record item;

[0017] generating an association matrix of the plurality of associated vehicle controllers, and providing the association matrix to a development team corresponding to the first test message.

[0018] In another possible implementation, the method further includes:

[0019] receiving a second query instruction, the second query instruction carrying a controller identifier of a first vehicle controller;

[0020] determining a controller identifier of a second vehicle controller, the second vehicle controller being a vehicle controller receiving a test message sent by the first vehicle controller;

[0021] generating routing information based on the controller identifier of the first vehicle controller and the controller identifier of the second vehicle controller.

[0022] In another possible implementation, a protocol type of the first vehicle controller and a protocol type of the second vehicle controller are different.

[0023] The generating of the routing information is based on the controller identifier of the first vehicle controller and the controller identifier of the second vehicle controller.

[0024] The first message identifier and the first transmission rate of the test message sent by the first vehicle controller are determined.

[0025] The second message identifier and the second transmission rate of the test message sent by the first vehicle controller and received by the second vehicle controller are determined.

[0026] The generating of the routing information is based on the controller identifier of the first vehicle controller, the first message identifier and the first transmission rate of the test message, and the controller identifier of the second vehicle controller, the second message identifier and the second transmission rate of the test message.

[0027] In another possible implementation, the method further includes:

[0028] The third query instruction is received, and the third query instruction carries a target network segment.

[0029] Based on the target network segment, a plurality of third vehicle controllers belonging to the target network segment are determined from the signal library.

[0030] Based on the plurality of third vehicle controllers, test messages transmitted and received by the third vehicle controllers are determined.

[0031] Based on the test messages transmitted and received by the third vehicle controllers, a load rate and a delay rate of the target network segment are determined.

[0032] Based on the load rate and the delay rate of the target network segment, it is determined whether the target network segment meets design requirement information.

[0033] In the case where the target network segment does not meet the design requirement information, the test messages transmitted and received by the plurality of third vehicle controllers are adjusted.

[0034] In another possible implementation, the method further includes:

[0035] The fourth query instruction is received, and the fourth query instruction carries a controller identifier of a fourth vehicle controller.

[0036] Based on the controller identifier of the fourth vehicle controller, a plurality of vehicle model information of vehicles to which the fourth vehicle controller is applied are determined.

[0037] Based on the plurality of vehicle model information, signal difference information of the fourth vehicle controller between different vehicle models is determined.

[0038] On the other hand, a signal library management device is provided, and the device includes:

[0039] The first determining module is configured to determine a plurality of vehicle controllers to be managed, and the protocol types of the plurality of vehicle controllers include at least one of a vehicle controller area network (CAN) protocol, a CAN with flexible data rate (CAN FD) protocol, and a local interconnect network (LIN) protocol.

[0040] The first control module is configured to control the plurality of vehicle controllers to respectively send test messages, wherein the test messages sent by the plurality of vehicle controllers include test messages of at least one of the CAN protocol, the CAN FD protocol, and the LIN protocol, and the test messages respectively sent by the plurality of vehicle controllers are used to test a transceiving relationship between the plurality of vehicle controllers.

[0041] The second determining module is configured to determine, for any test message, message information of the test message, wherein the message information includes a message identifier, a protocol format, a transmission rate switching identification bit, a message name, a message type, a message length, a message sending type, a message cycle time, a fast cycle of message sending, a number of times of fast sending of the message, a message delay time, and a signal name included in the test message.

[0042] The second control module is configured to control the plurality of vehicle controllers to perform a receiving operation of the test message.

[0043] The third determining module is configured to determine a vehicle controller that receives the test message, and determine, as an associated vehicle controller of the test message, a vehicle controller that sends the test message and the vehicle controller that receives the test message, wherein the associated vehicle controller of the test message is used to represent the transceiving relationship between the plurality of vehicle controllers.

[0044] The fourth determining module is configured to determine vehicle model information of a vehicle to which the associated vehicle controller of the test message is applied.

[0045] The fifth determining module is configured to determine a network segment to which the test message belongs.

[0046] The storage module is configured to store, as a record item, the related information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test message belongs, in a signal library.

[0047] In a possible implementation, the apparatus further includes:

[0048] The first receiving module is configured to receive a first query instruction, wherein the first query instruction carries a message identifier of a first test message.

[0049] The acquisition module is configured to acquire, based on a message identifier of the first test message, a record item in which the message identifier of the first test message is located from the signal library;

[0050] The sixth determination module is configured to determine, from the record item, an associated vehicle controller of the first test message;

[0051] The providing module is configured to generate an association matrix of the plurality of associated vehicle controllers, and provide the association matrix to a development team corresponding to the first test message.

[0052] In another possible implementation, the apparatus further includes:

[0053] The second receiving module is configured to receive a second query instruction, the second query instruction carrying a controller identifier of a first vehicle controller;

[0054] The seventh determination module is configured to determine a controller identifier of a second vehicle controller, the second vehicle controller being a vehicle controller that receives a test message sent by the first vehicle controller;

[0055] The generating module is configured to generate routing information based on the controller identifier of the first vehicle controller and the controller identifier of the second vehicle controller.

[0056] In another possible implementation, the protocol type of the first vehicle controller and the protocol type of the second vehicle controller are different;

[0057] The generating module is configured to determine a first message identifier and a first transmission rate of a test message sent by the first vehicle controller, determine a second message identifier and a second transmission rate of the test message sent by the first vehicle controller and received by the second vehicle controller, and generate the routing information based on the controller identifier of the first vehicle controller, the first message identifier and the first transmission rate of the test message, and the controller identifier of the second vehicle controller, the second message identifier and the second transmission rate of the test message.

[0058] In another possible implementation, the apparatus further includes:

[0059] The third receiving module is configured to receive a third query instruction, the third query instruction carrying a target network segment;

[0060] The eighth determination module is configured to determine, based on the target network segment, a plurality of third vehicle controllers belonging to the target network segment from the signal library;

[0061] The ninth determination module is configured to determine, based on the plurality of third vehicle controllers, a test message transmitted and received by the third vehicle controllers.

[0062] a tenth determining module, configured to determine a load rate and a delay rate of the target network segment based on the test message transmitted and received by the third vehicle controller;

[0063] an eleventh determining module, configured to determine whether the target network segment meets design requirement information based on the load rate and the delay rate of the target network segment;

[0064] an adjusting module, configured to adjust the test message transmitted and received by the plurality of third vehicle controllers in a case where the target network segment does not meet the design requirement information.

[0065] In another possible implementation, the apparatus further includes:

[0066] a fourth receiving module, configured to receive a fourth query instruction, the fourth query instruction carrying a controller identifier of a fourth vehicle controller;

[0067] a twelfth determining module, configured to determine a plurality of vehicle model information of a vehicle to which the fourth vehicle controller is applied based on the controller identifier of the fourth vehicle controller;

[0068] a thirteenth determining module, configured to determine signal difference information between different vehicle models of the fourth vehicle controller based on the plurality of vehicle model information.

[0069] In another aspect, a computer device is provided, which includes a processor and a memory, and the memory stores at least one program code, which is loaded and executed by the processor to implement the signal library management method.

[0070] In another aspect, a computer readable storage medium is provided, which stores at least one program code, which is loaded and executed by a processor to implement the signal library management method.

[0071] In another aspect, a computer program product is provided, which stores at least one program code, which is used to be executed by a processor to implement the signal library management method.

[0072] In the embodiments of the present application, the test messages of the plurality of vehicle controllers are managed into a signal library, and the associated vehicle controllers of the test messages and other related information of the test messages are stored in the signal library, so that when problem troubleshooting is performed, the associated vehicle controllers of the test messages and other related information of the test messages can be quickly determined from the signal library based on the test messages, the problem troubleshooting time is reduced, and the problem troubleshooting efficiency is improved.

[0073] It should be understood that the general description and detailed description of the foregoing are only exemplary and do not limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0074] Figure 1 is a schematic diagram of an implementation environment of a signal library management method according to an example embodiment of the present application;

[0075] Figure 2 is a flowchart of a signal library management method according to an example embodiment of the present application;

[0076] Figure 3 is a schematic diagram of a signal library management method according to an example embodiment of the present application;

[0077] Figure 4 is a flowchart of a signal library management method according to an example embodiment of the present application;

[0078] Figure 5 is a flowchart of a signal library management method according to an example embodiment of the present application;

[0079] Figure 6 is a flowchart of a signal library management method according to an example embodiment of the present application;

[0080] Figure 7 is a flowchart of a signal library management method according to an example embodiment of the present application;

[0081] Figure 8 is a block diagram of a signal library management apparatus according to an example embodiment of the present application;

[0082] Figure 9 is a block diagram of a computer device according to an example embodiment of the present application. DETAILED DESCRIPTION

[0083] In order to make the technical solutions and advantages of the present application clearer, the following further describes the embodiments of the present application in detail.

[0084] The terms "first", "second", "third", and "fourth" and the like in the description and claims of the present application and the accompanying drawings are used to distinguish different objects, and are not used to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device including a series of steps or units is not limited to the listed steps or units, but can optionally include other steps or units not listed, or can optionally include other steps or units inherent to the process, method, product, or device.

[0085] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the present application are authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the power supply voltage and test data involved in the present application are obtained under full authorization.

[0086] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment of a signal library management method according to an example embodiment of the present application. The implementation environment includes a computer device 101 and a plurality of vehicle controllers 102; the computer device 101 is used to manage test messages of the plurality of vehicle controllers 102. The protocol types of the plurality of vehicle controllers 102 include at least one of CAN protocol, CANFD (improved communication of vehicle controller 102 local area network) protocol and LIN (Local Interconnect Network) protocol. In one possible implementation, the plurality of vehicle controllers 102 are vehicle controllers 102 of the same protocol type; for example, the plurality of vehicle controllers 102 are all CAN protocol vehicle controllers 102; or the plurality of vehicle controllers 102 are all CANFD protocol vehicle controllers 102; or the plurality of vehicle controllers 102 are all LIN protocol vehicle controllers 102, so that the present application can manage test messages of a plurality of vehicle controllers 102 of the same protocol. In another possible implementation, the plurality of vehicle controllers 102 are vehicle controllers 102 of different protocol types; for example, the plurality of vehicle controllers 102 include CAN protocol vehicle controllers 102, CANFD protocol vehicle controllers 102 and LIN protocol vehicle controllers 102, so that the present application can be compatible with CAN, CANFD and LIN protocols, and meet the needs of signal differences between vehicle controllers 102 of different protocols.

[0087] The type of vehicle controller 102 can be ACU (Area Control Unit, airbag controller) or ADS (Advanced Driver Assistance System, advanced driver assistance system); the ADS includes ADS_EPS or ADS_ONEBOX, etc. The computer device 101 can be a desktop computer, a notebook computer or a mobile phone, etc. The vehicle controller 102 can be a vehicle controller 102 of a new energy vehicle (pure electric vehicle or hybrid vehicle), or a vehicle controller 102 of a fuel vehicle, which is not limited in the embodiment of the present application.

[0088] Please refer toFigure 2 which shows a flow chart of a signal library management method according to an example embodiment of the present application. Referring to Figure 2 The method comprises the following steps.

[0089] Step 201: determining a plurality of vehicle controllers to be managed, the protocol types of the plurality of vehicle controllers comprising at least one of a vehicle controller local area network (CAN) protocol, a modified communication CAN (CANFD) protocol of the vehicle controller local area network, and a local interconnect network (LIN) protocol.

[0090] The plurality of vehicle controllers can be controllers of the same vehicle, or controllers of different vehicles. In the case that the plurality of vehicle controllers are controllers of different vehicles, the plurality of vehicle controllers can be all the controllers used by a vehicle manufacturer, and the vehicle manufacturer can produce a plurality of vehicle models, i.e., the plurality of vehicle controllers in the example embodiment of the present application can be applied to a plurality of vehicle models.

[0091] The protocol types of the plurality of vehicle controllers comprise at least one of the CAN protocol, the CANFD protocol, and the LIN protocol. In a possible implementation, the plurality of vehicle controllers are vehicle controllers of the same protocol type; for example, the plurality of vehicle controllers are all vehicle controllers of the CAN protocol, or the plurality of vehicle controllers are all vehicle controllers of the CANFD protocol, or the plurality of vehicle controllers are all vehicle controllers of the LIN protocol, so that the present application can manage test messages of a plurality of vehicle controllers of the same protocol. In another possible implementation, the plurality of vehicle controllers are vehicle controllers of different protocol types; for example, the plurality of vehicle controllers comprise vehicle controllers of the CAN protocol, vehicle controllers of the CANFD protocol, and vehicle controllers of the LIN protocol, so that the present application can be compatible with the CAN, CANFD, and LIN protocols, and meet the needs of signal differences between vehicle controllers of different protocols.

[0092] Step 202: controlling the plurality of vehicle controllers to respectively send test messages, the test messages sent by the plurality of vehicle controllers comprising test messages of at least one of the CAN protocol, the CANFD protocol, and the LIN protocol, and the test messages respectively sent by the plurality of vehicle controllers being used to test the transceiving relationship between the plurality of vehicle controllers.

[0093] The vehicle controller of the CAN protocol is used to send test messages of the CAN protocol, the vehicle controller of the CANFD protocol is used to send test messages of the CANFD protocol, and the vehicle controller of the LIN protocol is used to send test messages of the LIN protocol. The computer device can control the plurality of vehicle controllers to simultaneously send test messages, or can control the plurality of vehicle controllers to sequentially send test messages; in the example embodiment of the present application, the timing of the plurality of vehicle controllers sending test messages is not specifically limited.

[0094] Step 203: For any test message, determine the message information of the test message, the message information including the message identifier, the protocol format, the transmission rate switching identifier, the message name, the message type, the message length, the message sending type, the message cycle time, the fast cycle of the message sending, the number of fast sending of the message, the message delay time and the signal name included in the test message.

[0095] The message identifier is a symbol for uniquely identifying the test message; for example, please refer to Figure 3 , the identifiers of the test messages are 0x49C, 0x031, 0x021, 0x26B, 0x195, 0x1B8, 0x1BC, 0x159 and 0x145 respectively. The protocol format is used to identify the protocol format of the controller sending the test message; for example, the protocol format can be Standard CAN, Standard CAN NFD or Standard LIN, etc. The transmission rate switching identifier is used to identify whether the transmission rate of the test message corresponding thereto is switched; for example, the transmission rate switching identifier is 1, which is used to indicate that the transmission rate of the test message corresponding thereto is switched, that is, the vehicle controller sending the test message and the vehicle controller receiving the test message are not vehicle controllers of the same protocol, so that the transmission rate of the test message is switched; the transmission rate switching identifier is 0, which is used to indicate that the transmission rate of the test message corresponding thereto is not switched, that is, the vehicle controller sending the test message and the vehicle controller receiving the test message are vehicle controllers of the same protocol, so that the transmission rate of the test message will not be switched.

[0096] The message name can be composed of the vehicle controller name + serial number; for example, please continue to refer to Figure 3 , the plurality of vehicle controllers include 4 ACUs, and the message names of the test messages sent by the plurality of vehicle controllers can be ACU_1, ACU_2, ACU_3 and ACU_4; for another example, the plurality of vehicle controllers include 3 ADS_EPS and 2 ADS_ONEBOX, and the message names of the test messages sent by the plurality of vehicle controllers can be ADS_EPS_1, ADS_EPS_2, ADS_EPS_3, ADS_ONEBOX_1 and ADS_ONEBOX_2.

[0097] The message type can be IL; the message length can be 8 or 24; the message sending type can be Cycle or CE; the message cycle time is used to identify the sending cycle of the message, for example, the message cycle time can be 100, 10 or 20; the message fast sending times are used to represent the number of times the test message is sent fast; for example, the message fast sending times are 0 or 6. The message delay time is used to represent the difference between the receiving time and the sending time of the test message; for example, the message delay time is 0 or 5.

[0098] Step 204: Control the multiple vehicle controllers to perform the receiving operation of the test message.

[0099] The computer device controls the multiple vehicle controllers to perform the receiving operation of the test message, and the vehicle controllers having the transceiving relationship with the vehicle controller sending the test message will receive the test message. In this step, the multiple vehicle controllers are controlled to perform the receiving operation of the test message, so as to ensure the homology of the vehicle controllers receiving the test message, and the related information of the test message of the multiple vehicle controllers is updated at one time through the following steps 205-208, so as to avoid omission.

[0100] Step 205: Determine the vehicle controllers receiving the test message, and determine the vehicle controllers sending the test message and the vehicle controllers receiving the test message as the associated vehicle controllers of the test message, the associated vehicle controllers of the test message being used to represent the transceiving relationship between the multiple vehicle controllers.

[0101] The associated vehicle controllers of the test message are listed at the end of the test signal, and the associated vehicle controllers of the test message can represent the transceiving relationship between the multiple vehicle controllers, so as to facilitate the search for the vehicle controllers associated with the test message; when it is necessary to search for problems, the vehicle controllers associated with the test message can be quickly located based on the associated vehicle controllers of the test message, so as to facilitate positioning and tracking.

[0102] For example, please continue to refer to Figure 3 , Figure 3 The lower part is the vehicle controllers associated with the test message; for example, for the test message 0x031, the vehicle controller sending the test message 0x031 is CGW_DA, and the vehicle controllers receiving the test message 0x031 are PDC_DA and FCM_DA. For another example, for the test message 0x021, the vehicle controllers sending the test message 0x021 are CGW_DA and CGW_DK, and the vehicle controller receiving the test message 0x031 is FCM_DA; in Figure 3 the vehicle controllers marked with s are the vehicle controllers sending the corresponding test messages, and the vehicle controllers marked with r are the vehicle controllers receiving the corresponding test messages.

[0103] Step 206: determining the vehicle model information of the vehicle to which the associated vehicle controller of the test message is applied.

[0104] The same vehicle controller can be applied in one or more vehicles; therefore, the vehicle model information of the vehicle to which the associated vehicle controller of the test message is applied includes multiple vehicle model information.

[0105] Step 207: determining the network segment to which the test message belongs.

[0106] Step 208: storing the relevant information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test message belongs as a record item in the signal library.

[0107] The signal library can be an Excel table; and the table header of the Excel table has a filtering function; therefore, the computer device can filter the information to be queried from the Excel table based on the filtering function of the Excel table. In this step, the test messages sent by multiple vehicle controllers are stored in the signal library, and the same test message appears only once in the signal library, ensuring the uniqueness of the test message.

[0108] The test messages sent by multiple vehicle controllers include CAN protocol test messages, CANFD protocol test messages, and LIN protocol test messages; therefore, the embodiments of the present application can implement test messages compatible with different protocols of CAN, CANFD, and LIN, maintain test messages in three formats in the same Excel table, facilitate the search of test messages and the tracking of message routing. At the same time, it is convenient for the transmission of test messages between network segments without protocols, the establishment of message routing of test messages between different network segments, and has stronger compatibility.

[0109] In the embodiments of the present application, the test messages of multiple vehicle controllers are managed in a signal library, and the associated vehicle controller of the test message and other relevant information of the test message are stored in the signal library, so that when troubleshooting, the associated vehicle controller and other relevant information of the test message can be quickly determined from the signal library based on the test message, reducing the troubleshooting time and improving the troubleshooting efficiency.

[0110] In addition, the message information of the test message is stored in the signal library, which facilitates the management of the test message based on the message information of the test message.

[0111] Please refer to Figure 4 , which shows a flowchart of the signal library management method according to an exemplary embodiment of the present application. Please refer to Figure 4 , which shows a flowchart of the signal library management method according to an exemplary embodiment of the present application. Please refer to

[0112] Step 401: The computer device determines a plurality of vehicle controllers to be managed, and the protocol types of the plurality of vehicle controllers include at least one of a vehicle controller local area network (CAN) protocol, a CAN with flexible data rate (CANFD) protocol, and a local interconnect network (LIN) protocol.

[0113] In some embodiments, this step is the same as step 201, which will not be repeated here.

[0114] Step 402: The computer device controls the plurality of vehicle controllers to respectively send test messages, and the test messages sent by the plurality of vehicle controllers include at least one of test messages of the CAN protocol, test messages of the CANFD protocol, and test messages of the LIN protocol, and the test messages respectively sent by the plurality of vehicle controllers are used to test the transceiving relationship between the plurality of vehicle controllers.

[0115] In some embodiments, this step is the same as step 202, which will not be repeated here.

[0116] Step 403: For any test message, the computer device determines message information of the test message, and the message information includes a message identifier, a protocol format, a transmission rate switching identification bit, a message name, a message type, a message length, a message sending type, a message cycle time, a fast cycle of message sending, a number of fast sending of the message, a message delay time, and a signal name included in the test message.

[0117] In some embodiments, this step is the same as step 203, which will not be repeated here.

[0118] Step 404: The computer device controls the plurality of vehicle controllers to perform a receiving operation of the test message.

[0119] In some embodiments, this step is the same as step 204, which will not be repeated here.

[0120] Step 405: The computer device determines a vehicle controller that receives the test message, and determines a vehicle controller that sends the test message and the vehicle controller that receives the test message as an associated vehicle controller of the test message, and the associated vehicle controller of the test message is used to represent the transceiving relationship between the plurality of vehicle controllers.

[0121] In some embodiments, this step is the same as step 205, which will not be repeated here.

[0122] Step 406: The computer device determines vehicle model information of an automobile to which the associated vehicle controller of the test message is applied.

[0123] In some embodiments, this step is the same as step 206, which will not be repeated here.

[0124] Step 407: The computer device determines the network segment to which the test message belongs.

[0125] In some embodiments, the present step is the same as step 207, which will not be repeated here.

[0126] Step 408: The computer device stores the relevant information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test message belongs as a record item in the signal library.

[0127] In some embodiments, the present step is the same as step 208, which will not be repeated here.

[0128] Step 409: The computer device receives a first query instruction, which carries the message identifier of the first test message.

[0129] The development and improvement of the functions of the vehicle controller (which can be embodied in the form of test messages) can be divided into blocks and given to different development teams; and the associated vehicle controller of a certain function can be queried through a query function, and the relevant information of the vehicle controller is provided to the development team, at which time the first query instruction is triggered to the computer device, and the first query instruction carries the message identifier of the first test message. In a possible implementation manner, the signal library stores the relevant information of the test message in the form of an Excel table, and the table header of the Excel table has a query function; in the present step, the first test message is filtered through the table header of the Excel table to trigger the first query instruction to the computer device.

[0130] Step 410: The computer device obtains, based on the message identifier of the first test message, a record item in which the message identifier of the first test message is located from the signal library.

[0131] Step 411: The computer device determines the associated vehicle controller of the first test message from the record item.

[0132] In the present step, the single-node signal, i.e., the first test message, can be quickly split out, and the single-node signal can embody all the transceiving relationships (associated vehicle controllers) with other nodes, which facilitates the professional to clearly know the signals exchanged with other nodes, and is also beneficial to the import of the DBC file by the supplier, and no error of no receiving node is reported.

[0133] Step 412: The computer device generates an association matrix from the plurality of associated vehicle controllers, and provides the association matrix to the development team corresponding to the first test message.

[0134] In the embodiment of the present application, the associated vehicle controllers of a certain test message can be queried from the signal library, and the associated matrix composed of the associated vehicle controllers is provided to the development team, different test messages are updated and improved by different development teams, thereby improving the development efficiency.

[0135] Please refer to Figure 5 which shows a flowchart of a signal library management method according to an example embodiment of the present application. Referring to Figure 5 The method comprises the following steps:

[0136] Step 501: The computer device determines a plurality of vehicle controllers to be managed, and the protocol types of the plurality of vehicle controllers include at least one of a vehicle controller local area network CAN protocol, a vehicle controller local area network improved communication CANFD protocol, and a local connection network LIN protocol.

[0137] In some embodiments, this step is the same as step 201, and will not be repeated here.

[0138] Step 502: The computer device controls the plurality of vehicle controllers to respectively send test messages, and the test messages sent by the plurality of vehicle controllers include at least one of test messages of the CAN protocol, test messages of the CANFD protocol, and test messages of the LIN protocol, and the test messages respectively sent by the plurality of vehicle controllers are used to test the transceiving relationship between the plurality of vehicle controllers.

[0139] In some embodiments, this step is the same as step 202, and will not be repeated here.

[0140] Step 503: For any test message, the computer device determines message information of the test message, and the message information includes a message identifier, a protocol format, a transmission rate switching identification bit, a message name, a message type, a message length, a message sending type, a message cycle time, a fast cycle of message sending, a number of fast sending of the message, and a message delay time and a signal name included in the test message.

[0141] In some embodiments, this step is the same as step 203, and will not be repeated here.

[0142] Step 504: The computer device controls the plurality of vehicle controllers to perform a receiving operation of the test message.

[0143] In some embodiments, this step is the same as step 204, and will not be repeated here.

[0144] Step 505: The computer device determines the vehicle controller receiving the test message, determines the vehicle controller sending the test message and the vehicle controller receiving the test message as the associated vehicle controller of the test message, and the associated vehicle controller of the test message is used to represent the transceiving relationship between the plurality of vehicle controllers.

[0145] In some embodiments, the present step is the same as step 205, which will not be repeated here.

[0146] Step 506: The computer device determines the vehicle model information of the vehicle to which the associated vehicle controller of the test message is applied.

[0147] In some embodiments, the present step is the same as step 206, which will not be repeated here.

[0148] Step 507: The computer device determines the network segment to which the test message belongs.

[0149] In some embodiments, the present step is the same as step 207, which will not be repeated here.

[0150] Step 508: The computer device stores the related information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test message belongs as a record item in the signal library.

[0151] In some embodiments, the present step is the same as step 208, which will not be repeated here.

[0152] Step 509: The computer device receives a second query instruction, and the second query instruction carries the controller identifier of the first vehicle controller.

[0153] In a possible implementation, the signal library stores the related information of the test message in the form of an Excel table, and the table header of the Excel table has a query function; in the present step, the controller identifier of the first vehicle controller is filtered through the table header of the Excel table to trigger the second query instruction to the computer device.

[0154] Step 510: The computer device determines the controller identifier of the second vehicle controller, and the second vehicle controller is the vehicle controller receiving the test message sent by the first vehicle controller.

[0155] The signal library stores the sending and receiving relationship of the test message; in a possible implementation manner, the first vehicle controller is a vehicle controller that sends the test message; then, the step in which the computer device determines the controller identifier of the second vehicle controller can be: the computer device determines the test message sent by the first vehicle controller, determines the associated vehicle controller of the test message from the signal library based on the test message sent by the first vehicle controller, and determines the controller identifier of the second vehicle controller from the associated vehicle controller of the test message. In another possible implementation manner, the first vehicle controller is a vehicle controller that receives the test message; in this step, the step in which the computer device determines the controller identifier of the second vehicle controller can be: the computer device determines the associated vehicle controller in which the first vehicle controller is located from the signal library, and determines the controller identifier of the second vehicle controller from the associated vehicle controller.

[0156] Step 511: The computer device generates routing information based on the controller identifier of the first vehicle controller and the controller identifier of the second vehicle controller.

[0157] In a possible implementation manner, the first vehicle controller is a controller that sends the test message, and the second vehicle controller is a controller that receives the test message; then, the routing information is the controller identifier of the first vehicle controller-the controller identifier of the second vehicle controller. In another possible implementation manner, the first vehicle controller is a controller that receives the test message, and the second vehicle controller is a controller that receives the test message; then, the routing information is the controller identifier of the second vehicle controller-the controller identifier of the first vehicle controller.

[0158] In another possible implementation manner, the protocol type of the first vehicle controller and the protocol type of the second vehicle controller are different; correspondingly, the step in which the computer device generates the routing information based on the controller identifier of the first vehicle controller and the controller identifier of the second vehicle controller can be implemented through the following steps (1) to (3), comprising:

[0159] (1) The computer device determines the first message identifier and the first transmission rate of the test message sent by the first vehicle controller.

[0160] Since the message identifiers and transmission rates of vehicle controllers between different protocols are different; for example, the vehicle controller of the LIN protocol sends the test message, and the vehicle controller of the CAN protocol receives the test message, the message identifier and the transmission rate (sending rate) of the test message sent by the vehicle controller of the LIN protocol are different from the message identifier and the transmission rate (receiving rate) of the test message received by the vehicle controller of the CAN protocol; therefore, the embodiment of the application can be compatible with the test message with variable ID and variable rate.

[0161] (2) The computer device determines a second message identifier and a second transmission rate of the test message received by the second vehicle controller from the first vehicle controller.

[0162] (3) The computer device generates routing information based on the controller identifier of the first vehicle controller, the first message identifier and the first transmission rate of the test message, and the controller identifier of the second vehicle controller, the second message identifier and the second transmission rate of the test message.

[0163] In a possible implementation, the first vehicle controller is a controller that sends the test message, and the second vehicle controller is a controller that receives the test message; the routing information is the controller identifier of the first vehicle controller-the controller identifier of the second vehicle controller, and the first message identifier and the first transmission rate of the test message sent by the first vehicle controller are marked in the routing information, and the second message identifier and the second transmission rate of the test message received by the second vehicle controller are marked in the routing information.

[0164] In the embodiments of the present application, since the multiple vehicle controllers are vehicle controllers of different network segments, the embodiments of the present application can route the test messages that need to be routed in different network segments, implement the routing of test messages among different protocols of CAN, CANFD and LIN, and quickly split out the routing information to avoid errors caused by manual preparation of the routing information.

[0165] Please refer to Figure 6 which shows a flowchart of a signal library management method according to an example embodiment of the present application. Please refer to Figure 6 The method comprises the following steps.

[0166] Step 601: The computer device determines multiple vehicle controllers to be managed, and the protocol types of the multiple vehicle controllers include at least one of a vehicle controller area network (CAN) protocol, an improved communication CAN (CANFD) protocol of a vehicle controller area network, and a local interconnect network (LIN) protocol.

[0167] In some embodiments, this step is the same as step 201, and will not be repeated here.

[0168] Step 602: The computer device controls the multiple vehicle controllers to respectively send test messages, and the test messages sent by the multiple vehicle controllers include at least one of test messages of the CAN protocol, test messages of the CANFD protocol, and test messages of the LIN protocol, and the test messages respectively sent by the multiple vehicle controllers are used to test the transceiving relationship among the multiple vehicle controllers.

[0169] In some embodiments, this step is the same as step 202, and will not be repeated here.

[0170] Step 603: The computer device determines the message information of the test message for any test message, and the message information includes the message identifier, the protocol format, the transmission rate switching identifier bit, the message name, the message type, the message length, the message sending type, the message cycle time, the fast cycle of the message sending, the number of fast sending of the message, the message delay time, and the signal name included in the test message.

[0171] In some embodiments, this step is the same as step 203, which will not be repeated here.

[0172] Step 604: The computer device controls the multiple vehicle controllers to perform the receiving operation of the test message.

[0173] In some embodiments, this step is the same as step 204, which will not be repeated here.

[0174] Step 605: The computer device determines the vehicle controller that receives the test message, and determines the associated vehicle controller of the test message as the vehicle controller that sends the test message and the vehicle controller that receives the test message, which indicates the transceiving relationship between the multiple vehicle controllers.

[0175] In some embodiments, this step is the same as step 205, which will not be repeated here.

[0176] Step 606: The computer device determines the vehicle model information of the vehicle to which the associated vehicle controller of the test message is applied.

[0177] In some embodiments, this step is the same as step 206, which will not be repeated here.

[0178] Step 607: The computer device determines the network segment to which the test message belongs.

[0179] In some embodiments, this step is the same as step 207, which will not be repeated here.

[0180] Step 608: The computer device stores the related information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test message belongs as a record item in the signal library.

[0181] In some embodiments, this step is the same as step 208, which will not be repeated here.

[0182] Step 609: The computer device receives a third query instruction, and the third query instruction carries a target network segment.

[0183] In a possible implementation, the signal library stores the information of the test message in the form of an Excel table, and the table header of the Excel table has a query function; in this step, the target network segment is filtered through the table header of the Excel table to trigger the third query instruction to the computer device.

[0184] Step 610: The computer device determines, based on the target network segment, a plurality of third vehicle controllers belonging to the target network segment from the signal library.

[0185] In the embodiment of the present application, the computer device defines the network segment as an independent node and stores it in the signal library to distinguish different network segments, so that the vehicle controllers of each network segment can be intuitively seen.

[0186] Step 611: The computer device determines, based on the plurality of third vehicle controllers, test messages sent and received by the plurality of third vehicle controllers.

[0187] The signal library stores the controller identifiers of the plurality of third vehicle controllers, and in this step, the computer device determines the record items where the controller identifiers of the plurality of third vehicle controllers are respectively located, and determines the test messages sent and received by the plurality of third vehicle controllers from the record items where the controller identifiers of the plurality of third vehicle controllers are respectively located.

[0188] Step 612: The computer device determines, based on the test messages sent and received by the plurality of third vehicle controllers, the load rate and the delay rate of the target network segment.

[0189] For each third vehicle controller, the computer device determines the load rate and the delay rate of the third vehicle controller based on the test messages sent and received by the third vehicle controller, and determines the load rate and the delay rate of the target network segment based on the load rates and the delay rates of the plurality of third vehicle controllers. For example, the computer device determines the average value of the load rates of the plurality of third vehicle controllers to obtain the load rate of the target network segment, and determines the average value of the delay rates of the plurality of third vehicle controllers to obtain the delay rate of the target network segment.

[0190] In a possible implementation, the step of determining, by the computer device, the load rate and the delay rate of the third vehicle controller based on the test messages sent and received by the third vehicle controller can be: determining, by the computer device, the message length of the test message sent and received by the third vehicle controller to determine the load rate of the third vehicle controller; and determining, by the computer device, the message delay time of the third vehicle controller to determine the delay rate of the third vehicle controller.

[0191] Step 613: The computer device determines whether the target network segment meets the design requirement information based on the load rate and the delay rate of the target network segment.

[0192] The computer device determines whether the load rate of the target network segment is less than a preset load rate and whether the delay rate is less than a preset delay rate; in a case where the load rate of the target network segment is less than the preset load rate and the delay rate is less than the preset delay rate, it is determined that the target network segment meets the design requirement information; in a case where the load rate of the target network segment is not less than the preset load rate or the delay rate is not less than the preset delay rate, it is determined that the target network segment does not meet the design requirement information.

[0193] Step 614: In a case where the target network segment does not meet the design requirement information, the computer device adjusts the test message transmitted and received by the plurality of third vehicle controllers.

[0194] The step of adjusting the test message transmitted and received by the third vehicle controller by the computer device can be: the computer device adjusts at least one of the message type, the message length, the message sending type, the message period, the fast period of message sending, the number of times of fast sending of the message and the message delay time of the test message transmitted and received by the third vehicle controller, and then determines again whether the target network segment meets the design requirement information based on the adjusted test message of the third vehicle controller, adjusts the test message transmitted and received by the third vehicle controller again in a case where the target network segment does not meet the design requirement information, until the target network segment meets the design requirement information.

[0195] In the embodiments of the present application, the load rate and the delay rate of the target network segment can be quickly counted, and the load rate and the delay rate of the target network segment are counted by the third vehicle controller between the target network segments, which guides the network design in the test message design, avoids the change in the later period caused by the design error in the early period, and improves the efficiency.

[0196] Please refer to Figure 7 which shows a flowchart of a signal library management method according to an example embodiment of the present application. Please refer to Figure 7 The method comprises the following steps:

[0197] Step 701: The computer device determines a plurality of vehicle controllers to be managed, and the protocol types of the plurality of vehicle controllers comprise at least one of a vehicle controller local area network CAN protocol, an improved communication CANFD protocol of the vehicle controller local area network and a local connection network LIN protocol.

[0198] In some embodiments, this step is the same as step 201, which will not be described here.

[0199] Step 702: The computer device controls the plurality of vehicle controllers to respectively send test messages, the test messages sent by the plurality of vehicle controllers comprise test messages of at least one protocol of a CAN protocol, a CANFD protocol and a LIN protocol, and the test messages respectively sent by the plurality of vehicle controllers are used to test the transmission and reception relationship between the plurality of vehicle controllers.

[0200] In some embodiments, this step is the same as step 202, which will not be repeated here.

[0201] Step 703: The computer device determines, for any test packet, packet information of the test packet, the packet information including a packet identifier, a protocol format, a transmission rate switching identifier bit, a packet name, a packet type, a packet length, a packet sending type, a packet cycle time, a fast cycle of packet sending, a number of fast sending of the packet, a packet delay time, and a signal name included in the test packet.

[0202] In some embodiments, this step is the same as step 203, which will not be repeated here.

[0203] Step 704: The computer device controls a plurality of vehicle controllers to perform a receiving operation of the test packet.

[0204] In some embodiments, this step is the same as step 204, which will not be repeated here.

[0205] Step 705: The computer device determines a vehicle controller that receives the test packet, and determines a vehicle controller that sends the test packet and a vehicle controller that receives the test packet as an associated vehicle controller of the test packet, the associated vehicle controller of the test packet indicating a transceiving relationship between the plurality of vehicle controllers.

[0206] In some embodiments, this step is the same as step 205, which will not be repeated here.

[0207] Step 706: The computer device determines vehicle model information of a vehicle to which the associated vehicle controller of the test packet is applied.

[0208] In some embodiments, this step is the same as step 206, which will not be repeated here.

[0209] Step 707: The computer device determines a network segment to which the test packet belongs.

[0210] In some embodiments, this step is the same as step 207, which will not be repeated here.

[0211] Step 708: The computer device stores, as a record item, relevant information of the test packet, the associated vehicle controller of the test packet, vehicle model information of a vehicle to which the associated vehicle controller is applied, and a network segment to which the test packet belongs, into a signal library.

[0212] In some embodiments, this step is the same as step 208, which will not be repeated here.

[0213] Step 709: The computer device receives a fourth query instruction, the fourth query instruction carrying a controller identifier of a fourth vehicle controller.

[0214] In a possible implementation, the signal library stores the related information of the test message in the form of an Excel table, and the table header of the Excel table has a query function; in this step, the controller identifier of the fourth vehicle controller is filtered through the table header of the Excel table to trigger the fourth query instruction to the computer device.

[0215] Step 710: The computer device determines the vehicle model information of the automobile to which the fourth vehicle controller is applied based on the controller identifier of the fourth vehicle controller.

[0216] Step 711: The computer device determines the signal difference information between different vehicle models of the fourth vehicle controller based on the vehicle model information.

[0217] In the embodiment of the application, the vehicle model information is embodied in the signal library, so that the signal difference information between different vehicle models of the same controller can be distinguished, the signals between different vehicles can be distinguished, and professional management is facilitated.

[0218] Please refer to Figure 8 which shows a block diagram of a signal library management device according to an example embodiment of the application. The device includes:

[0219] The first determination module 801 is configured to determine a plurality of vehicle controllers to be managed, and the protocol types of the plurality of vehicle controllers include at least one of a vehicle controller local area network CAN protocol, a vehicle controller local area network CANFD improved communication protocol, and a local connection network LIN protocol.

[0220] The first control module 802 is configured to control the plurality of vehicle controllers to respectively send test messages, and the test messages sent by the plurality of vehicle controllers include at least one of test messages of the CAN protocol, test messages of the CANFD protocol, and test messages of the LIN protocol, and the test messages respectively sent by the plurality of vehicle controllers are used to test the transceiving relationship between the plurality of vehicle controllers.

[0221] The second determination module 803 is configured to determine, for any test message, message information of the test message, and the message information includes a message identifier, a protocol format, a transmission rate switching identification bit, a message name, a message type, a message length, a message sending type, a message cycle time, a fast cycle of message sending, a number of fast sending of the message, and a message delay time, and the test message includes a signal name.

[0222] The second control module 804 is configured to control the plurality of vehicle controllers to perform a receiving operation of the test message.

[0223] The third determining module 805 is configured to determine a vehicle controller receiving the test packet, and determine the vehicle controller sending the test packet and the vehicle controller receiving the test packet as an associated vehicle controller of the test packet, the associated vehicle controller of the test packet being used to represent a transceiving relationship between the plurality of vehicle controllers.

[0224] The fourth determining module 806 is configured to determine vehicle model information of a vehicle to which the associated vehicle controller of the test packet is applied.

[0225] The fifth determining module 807 is configured to determine a network segment to which the test packet belongs.

[0226] The storage module 808 is configured to store the related information of the test packet, the associated vehicle controller of the test packet, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test packet belongs as a record item in a signal library.

[0227] In a possible implementation, the apparatus further includes:

[0228] The first receiving module is configured to receive a first query instruction, the first query instruction carrying a packet identifier of a first test packet.

[0229] The obtaining module is configured to obtain, based on the packet identifier of the first test packet, a record item in which the packet identifier of the first test packet is located from the signal library.

[0230] The sixth determining module is configured to determine, from the record item, an associated vehicle controller of the first test packet.

[0231] The providing module is configured to generate an association matrix of the plurality of associated vehicle controllers, and provide the association matrix to a development team corresponding to the first test packet.

[0232] In another possible implementation, the apparatus further includes:

[0233] The second receiving module is configured to receive a second query instruction, the second query instruction carrying a controller identifier of a first vehicle controller.

[0234] The seventh determining module is configured to determine a controller identifier of a second vehicle controller, the second vehicle controller being a vehicle controller receiving a test packet sent by the first vehicle controller.

[0235] The generating module is configured to generate routing information based on the controller identifier of the first vehicle controller and the controller identifier of the second vehicle controller.

[0236] In another possible implementation, a protocol type of the first vehicle controller and a protocol type of the second vehicle controller are different.

[0237] The generating module is configured to determine a first message identifier and a first transmission rate of the test message sent by the first vehicle controller; determine a second message identifier and a second transmission rate of the test message received by the second vehicle controller sent by the first vehicle controller; and generate the routing information based on the controller identifier of the first vehicle controller, the first message identifier and the first transmission rate of the test message, and the controller identifier of the second vehicle controller, the second message identifier and the second transmission rate of the test message.

[0238] In another possible implementation, the apparatus further includes:

[0239] The third receiving module is configured to receive a third query instruction, and the third query instruction carries the target network segment.

[0240] The eighth determining module is configured to determine, based on the target network segment, a plurality of third vehicle controllers belonging to the target network segment from the signal library.

[0241] The ninth determining module is configured to determine, based on the plurality of third vehicle controllers, test messages transmitted and received by the third vehicle controllers.

[0242] The tenth determining module is configured to determine, based on the test messages transmitted and received by the third vehicle controllers, a load rate and a delay rate of the target network segment.

[0243] The eleventh determining module is configured to determine, based on the load rate and the delay rate of the target network segment, whether the target network segment meets the design requirement information.

[0244] The adjusting module is configured to, in a case where the target network segment does not meet the design requirement information, adjust the test messages transmitted and received by the plurality of third vehicle controllers.

[0245] In another possible implementation, the apparatus further includes:

[0246] The fourth receiving module is configured to receive a fourth query instruction, and the fourth query instruction carries a controller identifier of a fourth vehicle controller.

[0247] The twelfth determining module is configured to determine, based on the controller identifier of the fourth vehicle controller, a plurality of vehicle model information of a vehicle to which the fourth vehicle controller is applied.

[0248] The thirteenth determining module is configured to determine, based on the plurality of vehicle model information, signal difference information between different vehicle models of the fourth vehicle controller.

[0249] In the embodiment of the present application, the test messages of multiple vehicle controllers are managed in a signal library, and the associated vehicle controllers of the test messages and other related information of the test messages are stored in the signal library, so that when troubleshooting is performed, the associated vehicle controllers of the test messages and other related information of the test messages can be quickly determined from the signal library based on the test messages, the troubleshooting time is reduced, and the troubleshooting efficiency is improved.

[0250] It should be noted that the signal library management device provided in the above embodiment is only exemplified by the division of the above functional modules when managing the signal library. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the signal library management device and the signal library management method provided in the above embodiment belong to the same concept, and the specific implementation process is described in detail in the method embodiment, which will not be repeated here.

[0251] Figure 9 is a structural block diagram of a computer device provided by an embodiment of the present application. Generally, the computer device 900 includes a processor 901, a memory 902, a voice receiving device 903, and a vehicle controller 904. The processor 901 can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 901 can be implemented in at least one of a hardware form of a DSP (Digital Signal Processing), a FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 901 can also include a main processor and a coprocessor. The main processor is a processor for processing data in a wake-up state, also known as a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 901 can also include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations.

[0252] The memory 902 can include one or more computer-readable storage media. The computer-readable storage media can be non-transitory. The memory 902 can also include high-speed random access memory and can include non-volatile memory, such as one or more magnetic disk storage devices, optical storage devices, flash memory devices, or other non-volatile solid-state storage devices. In some embodiments, the non-transitory computer-readable storage medium of the memory 902 is used to store at least one instruction for execution by the processor 901 to implement the light control method provided by the method embodiments of the present application.

[0253] In some embodiments, the computer device 900 can also optionally include a peripheral interface 905 and at least one peripheral device. The processor 901, the memory 902, and the peripheral interface 905 can be connected by a bus or a signal line. Each peripheral device can be connected to the peripheral interface 905 through a bus, a signal line, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 906, an audio circuit 907, and a power supply 908.

[0254] The peripheral interface 905 can be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, the memory 902, and the peripheral interface 905 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902, and the peripheral interface 905 can be implemented on a separate chip or circuit board, and the present embodiment is not limited in this regard.

[0255] The radio frequency circuit 906 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 906 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 906 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 906 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 906 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 906 can also include NFC (Near Field Communication) related circuitry, and the present application is not limited in this regard.

[0256] The audio circuit 907 can include a microphone and a speaker. The microphone is used to collect sound waves of a user and an environment, and convert the sound waves into an electrical signal input to the processor 901 for processing, or input to the radio frequency circuit 906 to realize voice communication. For the purpose of stereo sound collection or noise reduction, the microphone can be multiple, arranged at different parts of the computer device 900. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert an electrical signal from the processor 901 or the radio frequency circuit 906 into sound waves. The speaker can be a conventional diaphragm speaker, or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only can it convert an electrical signal into a sound wave audible to humans, but also can convert an electrical signal into an inaudible sound wave to humans for ranging purposes, etc. In some embodiments, the audio circuit 907 can also include a headphone jack.

[0257] The power supply 908 is used to supply power to various components in the computer device 900. The power supply 908 can be alternating current, direct current, disposable battery or rechargeable battery. When the power supply 908 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0258] Those skilled in the art can understand that the structure shown in the above embodiments is not a limitation on the computer device 900, and the computer device 900 can include more or fewer components than those shown in the figure, or combine certain components, or use different component arrangements. Figure 9

[0259] The embodiments of the present application also provide a computer readable storage medium, which stores at least one program code. The at least one program code is loaded and executed by a processor to implement the signal library management method described in any of the above embodiments. Optionally, the storage medium can be a non-transitory computer readable storage medium, for example, a non-transitory computer readable storage medium can be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0260] The embodiments of the present application also provide a computer program product, which stores at least one program code. The at least one program code is loaded and executed by a processor to implement the signal library management method shown in each of the above embodiments.

[0261] ​In some embodiments, the computer program product related to the embodiments of the present application can be executed on one computer device, or on multiple computer devices located in one place, or on multiple computer devices distributed in multiple places and interconnected through a communication network, which can constitute a blockchain system.

[0262] Those of ordinary skill in the present art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by a program instructing relevant hardware, which can be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0263] The above is only to facilitate those skilled in the art to understand the technical solutions of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A signal library management method, characterized in that, The method includes: Identify multiple vehicle controllers to be managed, wherein the protocol types of the multiple vehicle controllers include at least one of the following: Vehicle Controller Area Network (CAN) protocol, Vehicle Controller Area Network Improved Communication (CANFD) protocol, and Local Connection Network (LIN) protocol. The system controls the plurality of vehicle controllers to send test messages respectively. The test messages sent by the plurality of vehicle controllers include test messages of at least one of the following protocols: CAN protocol test messages, CANFD protocol test messages, and LIN protocol test messages. The test messages sent by the plurality of vehicle controllers are used to test the transmit and receive relationship between the plurality of vehicle controllers. For any test message, determine the message information of the test message, which includes message identifier, protocol format, transmission rate switching flag, message name, message type, message length, message transmission type, message period time, message transmission fast period, number of fast message transmissions, message delay time, and signal name included in the test message; Control the multiple vehicle controllers to perform test message receiving operations; The vehicle controller that receives the test message is identified, and the vehicle controller that sends the test message and the vehicle controller that receives the test message are identified as the associated vehicle controllers of the test message. The associated vehicle controllers of the test message are used to represent the transmission and reception relationship between the multiple vehicle controllers. Determine the vehicle model information of the vehicle controller associated with the test message; Determine the network segment to which the test message belongs; The relevant information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test message belongs are stored as a record item in the signal library; Receive a third query instruction, the third query instruction carrying the target network segment; Based on the target network segment, multiple third vehicle controllers belonging to the target network segment are determined from the signal library; Based on the plurality of third vehicle controllers, determine the test messages sent and received by the third vehicle controllers; Based on the test messages sent and received by the third vehicle controller, the load rate and latency rate of the target network segment are determined. Based on the load rate and latency rate of the target network segment, determine whether the target network segment meets the design requirements. If the target network segment does not meet the design requirements, the test messages sent and received by the multiple third vehicle controllers are adjusted.

2. The method according to claim 1, characterized in that, The method further includes: Receive a first query instruction, the first query instruction carrying the message identifier of a first test message; Based on the message identifier of the first test message, obtain the record item containing the message identifier of the first test message from the signal library; Determine the associated vehicle controller of the first test message from the record entry; Generate an association matrix from the multiple associated vehicle controllers, and provide the association matrix to the development team corresponding to the first test message.

3. The method according to claim 1, characterized in that, The method further includes: Receive a second query instruction, the second query instruction carrying the controller identifier of the first vehicle controller; The controller identifier of the second vehicle controller is determined, and the second vehicle controller is the vehicle controller that receives the test message sent by the first vehicle controller; Routing information is generated based on the controller identifier of the first vehicle controller and the controller identifier of the second vehicle controller.

4. The method according to claim 3, characterized in that, The protocol type of the first vehicle controller is different from that of the second vehicle controller; The step of generating routing information based on the controller identifier of the first vehicle controller and the controller identifier of the second vehicle controller includes: Determine the first message identifier and the first transmission rate of the test message sent by the first vehicle controller; Determine the second message identifier and the second transmission rate of the test message sent by the first vehicle controller to the second vehicle controller; The routing information is generated based on the controller identifier of the first vehicle controller, the first message identifier and the first transmission rate of the test message, and the controller identifier of the second vehicle controller, the second message identifier and the second transmission rate of the test message.

5. The method according to claim 1, characterized in that, The method further includes: Receive a fourth query instruction, the fourth query instruction carrying the controller identifier of the fourth vehicle controller; Based on the controller identifier of the fourth vehicle controller, multiple vehicle model information of the car to which the fourth vehicle controller is applied is determined; Based on the information of the multiple vehicle models, the signal difference information of the fourth vehicle controller between different vehicle models is determined.

6. A signal library management device, characterized in that, The device includes: The first determining module is used to determine multiple vehicle controllers to be managed, wherein the protocol type of the multiple vehicle controllers includes at least one of the following: vehicle controller local area network (CAN) protocol, vehicle controller local area network (CANFD) improved communication protocol, and local connection network (LIN) protocol. The first control module is used to control the plurality of vehicle controllers to send test messages respectively. The test messages sent by the plurality of vehicle controllers include test messages of at least one of the following protocols: CAN protocol test messages, CANFD protocol test messages, and LIN protocol test messages. The test messages sent by the plurality of vehicle controllers are used to test the transmit and receive relationship between the plurality of vehicle controllers. The second determining module is used to determine the message information of any test message, wherein the message information includes message identifier, protocol format, transmission rate switching flag, message name, message type, message length, message transmission type, message period time, message transmission fast period, number of message fast transmissions, message delay time, and signal name included in the test message; The second control module is used to control the multiple vehicle controllers to receive test messages. The third determining module is used to determine the vehicle controller that receives the test message, and to determine the vehicle controller that sends the test message and the vehicle controller that receives the test message as the associated vehicle controller of the test message. The associated vehicle controller of the test message is used to represent the transmission and reception relationship between the multiple vehicle controllers. The fourth determining module is used to determine the vehicle model information of the vehicle controller associated with the test message. The fifth determining module is used to determine the network segment to which the test message belongs; The storage module is used to store the relevant information of the test message, the associated vehicle controller of the test message, the vehicle model information of the vehicle to which the associated vehicle controller is applied, and the network segment to which the test message belongs as a record item in the signal library; The third receiving module is used to receive a third query instruction, which carries the target network segment. The eighth determining module is used to determine, based on the target network segment, multiple third vehicle controllers belonging to the target network segment from the signal library; The ninth determining module is used to determine the test messages sent and received by the third vehicle controllers based on the plurality of third vehicle controllers; The tenth determining module is used to determine the load rate and latency rate of the target network segment based on the test messages sent and received by the third vehicle controller. The eleventh determining module is used to determine whether the target network segment meets the design requirements based on the load rate and latency rate of the target network segment. The adjustment module is used to adjust the test messages sent and received by the multiple third vehicle controllers when the target network segment does not meet the design requirements.

7. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one piece of program code, which is loaded and executed by the processor to implement the signal library management method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The storage medium stores at least one piece of program code, which is loaded and executed by a processor to implement the signal library management method as described in any one of claims 1 to 5.

9. A computer program product, characterized in that, The product stores at least one piece of program code, which is executed by a processor to implement the signal library management method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Drive-by-wire test method, system and device for simulated vehicle, and storage medium

    CN114063599A

  • Automatic test method and device for transmitting and receiving messages of vehicle controller

    CN114866447A