Method for automatically adding application program connection communication signal in automobile AUTOSAR platform

By extracting and comparing application information in CAN signals in the automotive AUTOSAR platform, and automatically adding and connecting matching signals, the problem of manual operation is solved, which is time-consuming, labor-intensive and error-prone, and improves work efficiency and connection accuracy.

CN119892892APending Publication Date: 2025-04-25MARELLI AUTOMOBILE ELECTRONIS GUANGZHOU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411855372.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the automotive AUTOSAR platform, developers need to manually operate to match and connect signals from applications such as windows and door locks, which makes them time-consuming and error-prone.

Method used

By extracting the CANID, information name and signal name corresponding to each automotive application in the CAN signal, and comparing it with the corresponding information of the BSW platform in AUTOSAR, the matching application signals are automatically added and connected.

Benefits of technology

Improves work efficiency, reduces human errors, and further improves the accuracy of application connections through fast and efficient information comparison.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892892A_ABST
    Figure CN119892892A_ABST
Patent Text Reader

Abstract

The invention discloses a method for automatically adding application programs to connect communication signals in an automobile AUTOSAR platform. The method comprises the steps that a CANID and an information name corresponding to each automobile application program are extracted from a CAN signal, and the signal name is compared with a CANID, an information name and a signal name corresponding to an application program of a BSW platform in an AUTOSAR; if the CANID and the information name corresponding to each automobile application program extracted from the CAN signal are the same as the CANID and the information name corresponding to the application program of the BSW platform, automatically adding the automobile application programs with the same CANID and the same information name into the BSW platform; comparing the signal name of the automobile application program added to the BSW platform with the signal name corresponding to the application program of the BSW platform; if the signal names of the automobile application programs added to the BSW platform are the same as the signal names corresponding to the application programs of the BSW platform, the automobile application programs with the same signal names are connected to communication interfaces of the corresponding automobile application programs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of automobile electronic control, in particular to a method for automatically adding an application program to connect a communication signal in an automobile AUTOSAR platform. Background Art

[0002] In the control of car windows, door locks, etc., it is usually necessary to process the control applications of windows, door locks, etc. in the AUTOSAR (full name Automotive Open System Architecture) platform so that the processed applications can be input into the automotive electronic control unit to realize the operation of various functions such as windows and door locks. However, when the current car windows, door locks, etc. applications are processed on AUTOSAR, developers need to manually operate AUTOSAR to match the signals of each application with the signals of the BSW (basic software layer related to hardware) in AUTOSAR, and connect the communication signals (COM) of each application to the corresponding interface by manually clicking the mouse. Manual operation is not only time-consuming and labor-intensive, but also prone to errors. Summary of the invention

[0003] The object of the present invention is to provide a method for automatically adding application program connection communication signals in an automobile AUTOSAR platform in an efficient manner, so as to improve work efficiency and reduce human errors.

[0004] The method for automatically adding an application program to connect a communication signal in an automobile AUTOSAR platform of the present invention comprises the following steps: S1. Extract the CANID, information name, and signal name corresponding to each automotive application in the CAN signal; S2. Get the CANID, information name, and signal name corresponding to the application of the BSW (basic software layer related to hardware) platform in AUTOSAR; S3, comparing the CANID, information name, and signal name corresponding to each automotive application extracted from the CAN signal with the CANID and information name corresponding to the application of the BSW platform; S4. If the CANID and information name of each automobile application extracted from the CAN signal are the same as the CANID and information name of the application on the BSW platform, then the automobile application with the same CANID and information name is automatically added to the BSW platform; S5. Compare the signal name of the automobile application added to the BSW platform with the signal name corresponding to the application of the BSW platform; S6. If the signal name of the automobile application added to the BSW platform is the same as the signal name corresponding to the application of the BSW platform, the automobile application with the same signal name is connected to the communication interface of the corresponding automobile application.

[0005] The method for automatically adding application programs to connect communication signals in the automobile AUTOSAR platform of the present invention extracts the CANID, information name, and signal name corresponding to each automobile application program from the CAN signal, and compares them with the CANID, information name, and signal name corresponding to the application program of the BSW platform in AUTOSAR. If the CANID and information name corresponding to each automobile application program extracted from the CAN signal are the same as the CANID and information name corresponding to the application program of the BSW platform, the automobile application program with the same CANID and information name is automatically added to the BSW platform. If the signal name of the automobile application program added to the BSW platform is the same as the signal name corresponding to the application program of the BSW platform, the automobile application program with the same signal name is connected to the communication interface of the corresponding automobile application program, so that when developers process the application programs of automobile windows, door locks, etc. on AUTOSAR, the work efficiency can be improved, thereby reducing human errors. In addition, by only using the CANID and information name corresponding to the application program for adding and comparing the application program, the information comparison is more efficient and faster, thereby further improving the work efficiency.

[0006] As a preferred solution of the present invention, the direction type of communication data received and sent corresponding to each automobile application is also extracted from the CAN signal; the direction type of communication data received and sent corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the direction types of communication data received and sent by the automotive application added to the BSW platform with the direction types of communication data received and sent by the application corresponding to the BSW platform; If the direction type of communication data reception and transmission of the automobile application added to the BSW platform is the same as the direction type of communication data reception and transmission corresponding to the application of the BSW platform, then the automobile application with the same direction type of communication data reception and transmission is connected to the communication interface of the corresponding automobile application.

[0007] As a preferred solution of the present invention, the signal type corresponding to each automobile application is also extracted from the CAN signal; the signal type corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the signal types of the automotive applications added to the BSW platform with the corresponding signal types of the applications on the BSW platform; If the signal type of the automobile application added to the BSW platform is the same as the signal type corresponding to the application of the BSW platform, the automobile application with the same signal type is connected to the communication interface of the corresponding automobile application.

[0008] As a preferred solution of the present invention, a signal cycle corresponding to each automobile application is also extracted from the CAN signal; and a signal cycle corresponding to an application of the BSW platform in AUTOSAR is also obtained; Compare the signal cycles of the automotive applications added to the BSW platform with the corresponding signal cycles of the applications on the BSW platform; If the signal period of the automobile application added to the BSW platform is the same as the signal period corresponding to the application of the BSW platform, the automobile application with the same signal period is connected to the communication interface of the corresponding automobile application.

[0009] As a preferred solution of the present invention, the start bit of the signal data corresponding to each automobile application is also extracted from the CAN signal; the start bit of the signal data corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the start bit of the signal data of the automotive application added to the BSW platform with the start bit of the signal data corresponding to the application of the BSW platform; If the start bit of the signal data of the automobile application added to the BSW platform is the same as the start bit of the signal data corresponding to the application of the BSW platform, the automobile application with the same start bit of the signal data is connected to the communication interface of the corresponding automobile application.

[0010] As a preferred solution of the present invention, the signal data length corresponding to each automobile application is also extracted from the CAN signal; the signal data length corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the signal data length of the automotive application added to the BSW platform with the signal data length corresponding to the application of the BSW platform; If the signal data length of the automobile application added to the BSW platform is the same as the signal data length corresponding to the application of the BSW platform, the automobile application with the same signal data length is connected to the communication interface of the corresponding automobile application.

[0011] As a preferred solution of the present invention, the byte order of signal data corresponding to each automobile application is also extracted from the CAN signal; the byte order of signal data corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the byte order of signal data of the automotive application added to the BSW platform with the byte order of signal data corresponding to the application of the BSW platform; If the signal data byte order of the automobile application added to the BSW platform is the same as the signal data byte order corresponding to the application of the BSW platform, the automobile application with the same signal data byte order is connected to the communication interface of the corresponding automobile application.

[0012] As a preferred solution of the present invention, the initial value of the signal data corresponding to each automobile application is also extracted from the CAN signal; the initial value of the signal data corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the initial values ​​of the signal data of the automotive application added to the BSW platform with the initial values ​​of the signal data corresponding to the application of the BSW platform; If the initial value of the signal data of the automobile application added to the BSW platform is the same as the initial value of the signal data corresponding to the application of the BSW platform, the automobile application with the same initial value of the signal data is connected to the communication interface of the corresponding automobile application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 The present invention is a flow chart of a method for automatically adding an application program to connect a communication signal in an automobile AUTOSAR platform. DETAILED DESCRIPTION

[0014] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0015] A method for automatically adding application connection communication signals in an automotive AUTOSAR platform, such as Figure 1 As shown, the following steps are included: S1. Extract the CANID, information name, and signal name corresponding to each automotive application from the CAN signal. The CANID, information name, and signal name corresponding to each automotive application can be written into the cells of each row of the application excel table from left to right. The format of each application excel table is arxml format.

[0016] The application excel table is shown below:

[0017] S2. Get the CANID, information name, and signal name corresponding to the application of the BSW (basic software layer related to hardware) platform in AUTOSAR.

[0018] S3. Compare the CANID, information name, and signal name corresponding to each automotive application extracted from the CAN signal with the CANID and information name corresponding to the application on the BSW platform.

[0019] S4. If the CANID and information name of each automobile application extracted from the CAN signal are the same as the CANID and information name of the application on the BSW platform, the automobile application with the same CANID and information name will be automatically added to the BSW platform.

[0020] S5. Compare the signal name of the automobile application added to the BSW platform with the signal name corresponding to the application of the BSW platform.

[0021] S6. If the signal name of the automobile application added to the BSW platform is the same as the signal name corresponding to the application of the BSW platform, the automobile application with the same signal name is connected to the communication interface of the corresponding automobile application.

[0022] In addition, the CANID, message name, and signal name information of the application can be loaded into the BSW configuration to update the BSW configuration so that the link of the new application can be reflected in the BSW. In addition, the corresponding product file can be generated according to the AUTOSAR specification to show that the signal has been successfully matched.

[0023] The CAN signal also extracts the direction type of communication data received and sent corresponding to each automotive application; the direction type of communication data received and sent corresponding to the application of the BSW platform in AUTOSAR is also obtained; the direction type of communication data received and sent of the automotive application added to the BSW platform is compared with the direction type of communication data received and sent corresponding to the application of the BSW platform; if the direction type of communication data received and sent of the automotive application added to the BSW platform is the same as the direction type of communication data received and sent corresponding to the application of the BSW platform, the automotive application with the same direction type of communication data received and sent is connected to the communication interface of the corresponding automotive application. The accuracy of automotive application communication can be further improved by comparing the direction type of communication data received and sent corresponding to the application. The direction type of communication data received and sent is written into the cell of each row of the application excel table.

[0024] The application excel table is shown below:

[0025] The signal type corresponding to each automotive application is also extracted from the CAN signal; the signal type corresponding to the application of the BSW platform in AUTOSAR is also obtained; the signal type of the automotive application added to the BSW platform is compared with the signal type corresponding to the application of the BSW platform; if the signal type of the automotive application added to the BSW platform is the same as the signal type corresponding to the application of the BSW platform, the automotive application with the same signal type is connected to the communication interface of the corresponding automotive application. The accuracy of automotive application communication can be further improved by comparing the signal types corresponding to the applications. The signal type is written into the cell of each row of the application excel table.

[0026] The application excel table is shown below:

[0027] The signal cycle corresponding to each automotive application is also extracted from the CAN signal; the signal cycle corresponding to the application of the BSW platform in AUTOSAR is also obtained; the signal cycle of the automotive application added to the BSW platform is compared with the signal cycle corresponding to the application of the BSW platform; if the signal cycle of the automotive application added to the BSW platform is the same as the signal cycle corresponding to the application of the BSW platform, the automotive application with the same signal cycle is connected to the communication interface of the corresponding automotive application. The accuracy of automotive application communication can be further improved by comparing the corresponding signal cycles of the applications. The signal cycle is written into the cell of each row of the application excel table.

[0028] The application excel table is shown below:

[0029] The signal data start bit corresponding to each automotive application is also extracted from the CAN signal; the signal data start bit corresponding to the application of the BSW platform in AUTOSAR is also obtained; the signal data start bit of the automotive application added to the BSW platform is compared with the signal data start bit corresponding to the application of the BSW platform; if the signal data start bit of the automotive application added to the BSW platform is the same as the signal data start bit corresponding to the application of the BSW platform, the automotive application with the same signal data start bit is connected to the communication interface of the corresponding automotive application. The accuracy of automotive application communication can be further improved by comparing the signal data start bit corresponding to the application. The signal data start bit is written into the cell of each row of the application excel table.

[0030] The application excel table is shown below:

[0031] The signal data length (byte length) corresponding to each automotive application is also extracted from the CAN signal; the signal data length corresponding to the application of the BSW platform in AUTOSAR is also obtained; the signal data length of the automotive application added to the BSW platform is compared with the signal data length corresponding to the application of the BSW platform; if the signal data length of the automotive application added to the BSW platform is the same as the signal data length corresponding to the application of the BSW platform, the automotive application with the same signal data length is connected to the communication interface of the corresponding automotive application. The accuracy of automotive application communication can be further improved by comparing the signal data length corresponding to the application. The signal data length is written into the cell of each row of the application excel table.

[0032] The application excel table is shown below:

[0033] The signal data byte order corresponding to each automotive application is also extracted from the CAN signal; the signal data byte order corresponding to the application of the BSW platform in AUTOSAR is also obtained; the signal data byte order of the automotive application added to the BSW platform is compared with the signal data byte order corresponding to the application of the BSW platform; if the signal data byte order of the automotive application added to the BSW platform is the same as the signal data byte order corresponding to the application of the BSW platform, the automotive application with the same signal data byte order is connected to the communication interface of the corresponding automotive application. The accuracy of automotive application communication can be further improved by comparing the signal data byte order corresponding to the application. The signal data byte order is written into the cell of each row of the application excel table.

[0034] The application excel table is shown below:

[0035] The initial value of the signal data corresponding to each automotive application is also extracted from the CAN signal; the initial value of the signal data corresponding to the application of the BSW platform in AUTOSAR is also obtained; the initial value of the signal data of the automotive application added to the BSW platform is compared with the initial value of the signal data corresponding to the application of the BSW platform; if the initial value of the signal data of the automotive application added to the BSW platform is the same as the initial value of the signal data corresponding to the application of the BSW platform, the automotive application with the same initial value of the signal data is connected to the communication interface of the corresponding automotive application. The accuracy of automotive application communication can be further improved by comparing the initial values ​​of the signal data corresponding to the application. The initial value of the signal data is written into the cell of each row of the application excel table.

[0036] The application excel table is shown below:

[0037] The above embodiments are only used to illustrate the detailed scheme of the present invention, and the present invention is not limited to the above detailed scheme, that is, it does not mean that the present invention must rely on the above detailed scheme to be implemented. Those skilled in the art should understand that any improvement of the present invention, equivalent replacement of the raw materials of the product of the present invention, addition of auxiliary components, selection of specific methods, etc., are all within the protection scope and disclosure scope of the present invention.

Claims

1. A method for automatically adding an application connection communication signal in an automotive AUTOSAR platform, comprising the following steps: S1. Extract the CANID, information name, and signal name corresponding to each automotive application in the CAN signal; S2. Obtain the CANID, information name, and signal name corresponding to the application of the BSW (basic software layer related to hardware) platform in AUTOSAR; S3, comparing the CANID, information name, and signal name corresponding to each automotive application extracted from the CAN signal with the CANID and information name corresponding to the application of the BSW platform; S4. If the CANID and information name of each automobile application extracted from the CAN signal are the same as the CANID and information name of the application on the BSW platform, then the automobile application with the same CANID and information name is automatically added to the BSW platform; S5. Compare the signal name of the automobile application added to the BSW platform with the signal name corresponding to the application of the BSW platform; S6. If the signal name of the automobile application added to the BSW platform is the same as the signal name corresponding to the application of the BSW platform, the automobile application with the same signal name is connected to the communication interface of the corresponding automobile application.

2. The method for automatically adding application connection communication signals in the automotive AUTOSAR platform according to claim 1, characterized in that: The CAN signal also extracts the direction type of communication data received and sent corresponding to each automotive application; the direction type of communication data received and sent corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the direction types of communication data received and sent by the automotive application added to the BSW platform with the direction types of communication data received and sent by the application corresponding to the BSW platform; If the direction type of communication data reception and transmission of the automobile application added to the BSW platform is the same as the direction type of communication data reception and transmission corresponding to the application of the BSW platform, then the automobile application with the same direction type of communication data reception and transmission is connected to the communication interface of the corresponding automobile application.

3. The method for automatically adding application connection communication signals in the automotive AUTOSAR platform according to claim 1, characterized in that: The signal type corresponding to each automotive application is also extracted from the CAN signal; the signal type corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the signal types of the automotive applications added to the BSW platform with the corresponding signal types of the applications on the BSW platform; If the signal type of the automobile application added to the BSW platform is the same as the signal type corresponding to the application of the BSW platform, the automobile application with the same signal type is connected to the communication interface of the corresponding automobile application.

4. The method for automatically adding application connection communication signals in the automotive AUTOSAR platform according to claim 1, characterized in that: The signal cycle corresponding to each automotive application is also extracted from the CAN signal; the signal cycle corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the signal cycles of the automotive applications added to the BSW platform with the corresponding signal cycles of the applications on the BSW platform; If the signal period of the automobile application added to the BSW platform is the same as the signal period corresponding to the application of the BSW platform, the automobile application with the same signal period is connected to the communication interface of the corresponding automobile application.

5. The method for automatically adding application connection communication signals in the automotive AUTOSAR platform according to claim 1, characterized in that: The start bit of the signal data corresponding to each automotive application is also extracted from the CAN signal; the start bit of the signal data corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the start bit of the signal data of the automotive application added to the BSW platform with the start bit of the signal data corresponding to the application of the BSW platform; If the start bit of the signal data of the automobile application added to the BSW platform is the same as the start bit of the signal data corresponding to the application of the BSW platform, the automobile application with the same start bit of the signal data is connected to the communication interface of the corresponding automobile application.

6. The method for automatically adding application connection communication signals in the automotive AUTOSAR platform according to claim 1, characterized in that: The signal data length corresponding to each automotive application is also extracted from the CAN signal; the signal data length corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the signal data length of the automotive application added to the BSW platform with the signal data length corresponding to the application of the BSW platform; If the signal data length of the automobile application added to the BSW platform is the same as the signal data length corresponding to the application of the BSW platform, the automobile application with the same signal data length is connected to the communication interface of the corresponding automobile application.

7. The method for automatically adding application connection communication signals in the automotive AUTOSAR platform according to claim 1, characterized in that: The byte order of the signal data corresponding to each automotive application is also extracted from the CAN signal; the byte order of the signal data corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the byte order of signal data of the automotive application added to the BSW platform with the byte order of signal data corresponding to the application of the BSW platform; If the signal data byte order of the automobile application added to the BSW platform is the same as the signal data byte order corresponding to the application of the BSW platform, the automobile application with the same signal data byte order is connected to the communication interface of the corresponding automobile application.

8. The method for automatically adding application connection communication signals in the automotive AUTOSAR platform according to claim 1, characterized in that: The initial value of the signal data corresponding to each automotive application is also extracted from the CAN signal; the initial value of the signal data corresponding to the application of the BSW platform in AUTOSAR is also obtained; Compare the initial values ​​of the signal data of the automotive application added to the BSW platform with the initial values ​​of the signal data corresponding to the application of the BSW platform; If the initial value of the signal data of the automobile application added to the BSW platform is the same as the initial value of the signal data corresponding to the application of the BSW platform, the automobile application with the same initial value of the signal data is connected to the communication interface of the corresponding automobile application.