CN114265386B - SOA-based application service diagnosis architecture and method - Google Patents

SOA-based application service diagnosis architecture and method Download PDF

Info

Publication number
CN114265386B
CN114265386B CN202111509518.4A CN202111509518A CN114265386B CN 114265386 B CN114265386 B CN 114265386B CN 202111509518 A CN202111509518 A CN 202111509518A CN 114265386 B CN114265386 B CN 114265386B
Authority
CN
China
Prior art keywords
diagnosis
module
vehicle
fault information
fault
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111509518.4A
Other languages
Chinese (zh)
Other versions
CN114265386A (en
Inventor
王瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202111509518.4A priority Critical patent/CN114265386B/en
Publication of CN114265386A publication Critical patent/CN114265386A/en
Application granted granted Critical
Publication of CN114265386B publication Critical patent/CN114265386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention relates to an SOA-based application service diagnosis architecture and a method, wherein the diagnosis architecture comprises a C2 chip and a cloud end, and the C2 chip comprises a C2-SOC module, a vehicle end diagnosis SDK module and a C2-MCU module; the C2-SOC module is provided with a CNIX system, an application health management program and a plurality of vehicle-end service applications are run in the CNIX system, and a diagnosis module-MPU is integrated on the C2-SOC module; the vehicle-end diagnosis SDK module integrates diagnosis SDKs in the application health management program and the plurality of vehicle-end service applications; each application performs self diagnosis through the corresponding diagnosis SDK and generates fault information, and meanwhile, the fault information is transmitted to a diagnosis module-MPU; the invention redefines the vehicle end diagnosis mode based on the typical SOA architecture in recent years in the IT industry, is beneficial to realizing various remote diagnosis and pre-diagnosis functions, and can effectively reduce the complexity caused by architecture upgrading; therefore, the problem that the traditional vehicle fault diagnosis technology or method is difficult to acquire the vehicle end fault information and find the fault reason is solved, and the vehicle fault diagnosis method has a good vehicle fault diagnosis effect.

Description

SOA-based application service diagnosis architecture and method
Technical Field
The invention belongs to the technical field of automobile diagnosis, and particularly relates to an application service diagnosis architecture and method based on an SOA.
Background
The vehicle fault diagnosis technology plays an important role in ensuring the normal operation of the automobile, and the application research of the vehicle remote fault diagnosis technology is more and more in depth. The traditional vehicle fault diagnosis technology has the defects of poor reusability, difficult call of heterogeneous platforms, poor interoperability and the like; with the continuous improvement of the intelligent and electronic degree of automobiles, new requirements are also provided for the vehicle fault diagnosis technology, such as easy expansion, flexible combination of functions, cross-heterogeneous platform state monitoring and fault diagnosis, etc., which are not satisfied by the traditional method.
The Service-oriented architecture (SOA) technology that has emerged in recent years offers the possibility to solve the above problems. The SOA architecture is an architecture block diagram, which can link different functional units of an application program through well-defined contracts or strategies, and the SOA has obvious advantages of loose coupling, interoperability and the like. The SOA architecture is only applied to data monitoring and management of large-scale factories at present, such as a thermal power plant environment monitoring system and method based on the SOA architecture, which is disclosed in chinese patent CN201510615632.3, and there is no vehicle fault diagnosis technology or method based on the SOA architecture.
At present, most of the vehicle fault diagnosis technologies or methods focus on upgrading and installing of vehicle end software, such as upgrading methods and installing of Chinese patent CN201910676287.2 automobile diagnosis software, servers and automobile diagnosis equipment, and the following technologies are proposed: and acquiring one ECU system contained in a vehicle type of the vehicle diagnosis software to be upgraded, and directly packaging all the ECU diagnosis data of the corresponding target version and generating a vehicle diagnosis software upgrading packet according to whether the ECU diagnosis data have the ECU diagnosis data of the corresponding target version of each ECU system or not and if so. However, the automobile diagnosis method only forms a specific solution for the situation that the automobile end software needs to be upgraded, and does not diagnose the faults of the automobile end software, such as software compatibility, system configuration, operating system faults and the like.
Therefore, designing a vehicle diagnosis method that can quickly acquire failure information of vehicle-end software and find a failure cause is an urgent problem to be solved.
Disclosure of Invention
Aiming at the defects in the prior art, the technical problem to be solved by the invention is to provide an application service diagnosis architecture and method based on an SOA, solve the problem that the traditional vehicle fault diagnosis technology or method is difficult to acquire vehicle software fault information and find a fault reason, and obtain the effect of strong vehicle fault diagnosis capability.
In order to solve the technical problems, the invention adopts the following technical scheme:
the application service diagnosis architecture based on the SOA comprises a C2 chip and a cloud end, wherein the C2 chip comprises a C2-SOC module, a vehicle end diagnosis SDK module and a C2-MCU module.
Further, the C2-SOC module is loaded with a CNIX system, and an application health management program and a plurality of vehicle-end service applications are run in the CNIX system; the C2-SOC module is also integrated with a diagnosis module-MPU.
Further, the function of the vehicle-end diagnosis SDK module is as follows: 1) Unifying diagnosis specifications of various fault information, and 2) integrating diagnosis SDK in application health management program and the plurality of vehicle-end service applications.
Further, the application health management program and the plurality of vehicle-side service applications perform self diagnosis through the corresponding diagnosis SDKs and generate fault information, and meanwhile, the fault information is transmitted to the diagnosis module-MPU.
Further, the diagnostic module-MPU mounts the QNX system and realizes the following functions: 1) transmitting fault information to the C2-MCU module in a penetrating way, 2) performing diagnosis management, 3) receiving the fault information and uploading the fault information to the cloud, 4) receiving data fed back by an application health management program and uploading the data to the cloud, and 5) synchronizing the fault information on the C2-SOC module, the vehicle end diagnosis SDK module and the C2-MCU module.
Further, the function of the C2-MCU module is as follows: 1) self-diagnosis, 2) external diagnosis service providing, 3) receiving the transmitted fault information and correspondingly generating a DTC code, and 4) storing the DTC code and uploading the DTC code to a cloud.
Further, the operation steps of the vehicle-end diagnosis SDK module are as follows:
1) Defining a category of fault information;
2) A diagnostic specification for fault information is defined.
Further, the categories of the fault information include: software compatibility failures, system configuration failures, and operating system failures.
Further, the diagnostic specification defining the fault information is specifically: and acquiring an application name, fault time, fault format, fault content and uploading mode.
The invention also comprises an application service diagnosis method based on the SOA, which uses the application service diagnosis framework based on the SOA and comprises the following steps:
1) Presetting a vehicle data embedding point;
2) The C2-MCU module receives buried point data from a vehicle data buried point;
3) C2-MCU module processes the buried point data to obtain result data;
4) Storing the result data in a ROM in the C2-MCU module;
5) And packaging the result data according to a preset protocol and transmitting the result data to the cloud.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention redefines the vehicle end diagnosis mode based on the typical SOA architecture in recent years in the IT industry, and the diagnosis architecture and the diagnosis method are beneficial to realizing various remote diagnosis and pre-diagnosis functions and can effectively reduce the complexity caused by architecture upgrading; therefore, the method solves the problem that the traditional vehicle fault diagnosis technology or method is difficult to acquire the vehicle software fault information and find the fault cause, and has a good vehicle fault diagnosis effect.
2. The invention introduces the diagnosis SDK into the diagnosis framework, can strip the function of the application which is singly accessed from the application, provides the function for common components used by all other applications, and can reconstruct and iterate on the basis.
Drawings
FIG. 1 is a schematic diagram of an overall architecture of SOC diagnostics according to an embodiment;
FIG. 2 is a flow chart of an exemplary SOA-based application service diagnostic architecture and method.
Detailed Description
The following describes the embodiments of the present invention in further detail with reference to the drawings.
Examples:
referring to fig. 1, an application service diagnosis architecture based on an SOA includes a C2 chip and a cloud, wherein the C2 chip includes a C2-SOC module, a vehicle-end diagnosis SDK module and a C2-MCU module.
The C2 chip is a vehicle end domain controller and comprises a vehicle control domain and a driving domain;
the cloud end refers to a remote internet server, data of a vehicle end are uploaded to the cloud end through an internet technology, and the cloud end performs analysis and calculation based on the uploaded data, so that the purpose of diagnosis is achieved.
The C2-SOC module is provided with a CNIX system, and an application health management program and a plurality of vehicle-end service applications are run in the CNIX system; the C2-SOC module is also integrated with a diagnosis module-MPU;
the function of the vehicle end diagnosis SDK module is as follows: 1) Unifying diagnosis specifications of various fault information, 2) integrating diagnosis SDK in application health management program and the plurality of vehicle-end service applications;
the operation steps of the vehicle-end diagnosis SDK module are as follows:
1) Defining a category of fault information;
therefore, various fault information is effectively managed, and the fault information is divided into three types of software compatible faults, system configuration faults and operating system faults; the software compatibility failure refers to a failure caused by incompatibility of the application software and the operating system, the system configuration failure refers to a failure caused by modification of the operating system or configuration options of the application software, and the operating system failure refers to a failure caused by improper actions such as deleting files or illegal operations, etc., so that the program cannot run.
2) A diagnostic specification for fault information is defined.
The diagnosis specification of the fault information is defined to enable the fault information reported by the application program to be uniformly identified and managed, specifically: acquiring an application name, fault time, fault format, fault content and uploading mode; the uploading mode can comprise active uploading and active pulling.
The application health management program and the plurality of vehicle-side service applications perform self diagnosis through the corresponding diagnosis SDKs and generate fault information, and meanwhile, the fault information is transmitted to the diagnosis module-MPU.
The diagnostic module-MPU carries a QNX system and realizes the following functions: 1) transmitting fault information to the C2-MCU module in a penetrating way, 2) performing diagnosis management, 3) receiving the fault information and uploading the fault information to the cloud, 4) receiving data fed back by an application health management program and uploading the data to the cloud, and 5) synchronizing the fault information on the C2-SOC module, the vehicle end diagnosis SDK module and the C2-MCU module.
In addition, the functions of the C2-MCU module are as follows: 1) self-diagnosis, 2) external diagnosis service providing, 3) receiving the transmitted fault information and correspondingly generating a DTC code, 4) storing the DTC code and uploading the DTC code to a cloud; wherein, providing the diagnosis service externally means that C2 supports the diagnosis instrument to perform local diagnosis through the module.
The invention redefines the vehicle end diagnosis mode based on the typical SOA architecture in recent years in the IT industry, and the diagnosis architecture and the diagnosis method are beneficial to realizing various remote diagnosis and pre-diagnosis functions and can effectively reduce the complexity caused by architecture upgrading; therefore, the problem that the traditional vehicle fault diagnosis technology or method is difficult to acquire vehicle end fault information and find a fault reason is solved, and a good vehicle fault diagnosis effect is achieved; and the diagnostic SDK is introduced into the diagnostic framework, so that the functions of the application which is singly accessed can be stripped from the application, and the functions are provided for common components used by all other applications, and simultaneously, reconstruction and iteration can be performed on the basis.
Referring to fig. 2, an application service diagnosis method based on an SOA, which uses the above application service diagnosis architecture based on an SOA, includes the following steps:
1) Presetting a vehicle data embedding point;
2) The C2-MCU module receives buried point data from a vehicle data buried point;
3) The C2-MCU module is integrated with a data processing module, and the data processing module processes buried point data in batches according to logic and obtains result data;
4) The C2-MCU module is integrated with a data storage module, and the result data is stored in a ROM of the data storage module;
5) And the C2-MCU module is integrated with a data transmission module, and the result data are packaged according to a preset protocol and transmitted to the cloud.
Finally, it is noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made thereto without departing from the spirit and scope of the technical solution of the present invention, which is intended to be covered by the scope of the claims of the present invention.

Claims (7)

1. An application service diagnosis architecture based on an SOA, characterized in that: the system comprises a C2 chip and a cloud end, wherein the C2 chip comprises a C2-SOC module, a vehicle end diagnosis SDK module and a C2-MCU module;
the C2-SOC module is provided with a CNIX system, and an application health management program and a plurality of vehicle-end service applications are run in the CNIX system; the C2-SOC module is also integrated with a diagnosis module-MPU;
the functions of the vehicle-end diagnosis SDK module are as follows: 1) Unifying diagnosis specifications of various fault information, 2) integrating diagnosis SDK in application health management program and the plurality of vehicle-end service applications;
and the application health management program and the plurality of vehicle-side service applications perform self diagnosis through the corresponding diagnosis SDKs and generate fault information, and meanwhile, the fault information is transmitted to the diagnosis module-MPU.
2. The SOA based application service diagnostic architecture of claim 1, wherein: the diagnostic module-MPU carries a QNX system and realizes the following functions: 1) transmitting fault information to the C2-MCU module in a penetrating way, 2) performing diagnosis management, 3) receiving the fault information and uploading the fault information to the cloud, 4) receiving data fed back by an application health management program and uploading the data to the cloud, and 5) synchronizing the fault information on the C2-SOC module, the vehicle end diagnosis SDK module and the C2-MCU module.
3. The SOA based application service diagnostic architecture of claim 2, wherein: the functions of the C2-MCU module are as follows: 1) self-diagnosis, 2) external diagnosis service providing, 3) receiving the transmitted fault information and correspondingly generating a DTC code, and 4) storing the DTC code and uploading the DTC code to a cloud.
4. The SOA based application service diagnostic architecture of claim 1, wherein: the operation steps of the vehicle-end diagnosis SDK module are as follows:
1) Defining a category of fault information;
2) A diagnostic specification for fault information is defined.
5. The SOA based application service diagnostic architecture of claim 4, wherein: the categories of fault information include: software compatibility failures, system configuration failures, and operating system failures.
6. The SOA based application service diagnostic architecture of claim 4, wherein: the diagnostic specifications defining the fault information are specifically: and acquiring an application name, fault time, fault format, fault content and uploading mode.
7. An application service diagnosis method based on SOA is characterized in that: the diagnostic method using an SOA-based application service diagnostic architecture as claimed in claim 3, comprising the steps of:
1) Presetting a vehicle data embedding point;
2) The C2-MCU module receives buried point data from a vehicle data buried point;
3) C2-MCU module processes the buried point data to obtain result data;
4) Storing the result data in a ROM in the C2-MCU module;
5) And packaging the result data according to a preset protocol and transmitting the result data to the cloud.
CN202111509518.4A 2021-12-10 2021-12-10 SOA-based application service diagnosis architecture and method Active CN114265386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111509518.4A CN114265386B (en) 2021-12-10 2021-12-10 SOA-based application service diagnosis architecture and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111509518.4A CN114265386B (en) 2021-12-10 2021-12-10 SOA-based application service diagnosis architecture and method

Publications (2)

Publication Number Publication Date
CN114265386A CN114265386A (en) 2022-04-01
CN114265386B true CN114265386B (en) 2023-12-22

Family

ID=80826900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111509518.4A Active CN114265386B (en) 2021-12-10 2021-12-10 SOA-based application service diagnosis architecture and method

Country Status (1)

Country Link
CN (1) CN114265386B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844930B (en) * 2022-04-21 2023-06-06 重庆长安汽车股份有限公司 Vehicle-end remote control method and system based on SOA architecture
CN114816508B (en) * 2022-04-29 2024-07-12 重庆长安汽车股份有限公司 System and method for managing service list of whole vehicle service-oriented architecture
CN114839959B (en) * 2022-05-30 2024-09-20 重庆长安汽车股份有限公司 Vehicle remote diagnosis method and system based on SOA service
CN115225449A (en) * 2022-06-08 2022-10-21 广州汽车集团股份有限公司 Message reporting method and system for SOA service oriented interface
CN115426397B (en) * 2022-11-07 2023-03-24 蔚来汽车科技(安徽)有限公司 Service-oriented system for microcontroller MCU and electronic and electrical system
CN115914302A (en) * 2022-11-29 2023-04-04 重庆长安汽车股份有限公司 Vehicle end and cloud end communication method and device based on SOA (service oriented architecture) and storage medium
CN116737475A (en) * 2023-05-29 2023-09-12 中国第一汽车股份有限公司 Chip diagnosis method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203885477U (en) * 2014-04-30 2014-10-22 上海华博信息服务有限公司 Intelligent health diagnosis system
CN109063986A (en) * 2018-07-19 2018-12-21 郑州云海信息技术有限公司 A kind of diagnostic method and its relevant device of application system delay fault
CN110351391A (en) * 2019-08-16 2019-10-18 深圳市道通科技股份有限公司 A kind of vehicle diagnosis cloud platform system, service implementation method
CN111355778A (en) * 2020-02-17 2020-06-30 威马智慧出行科技(上海)有限公司 Diagnostic device, vehicle-end device and diagnostic method
CN112667217A (en) * 2019-10-16 2021-04-16 上汽通用汽车有限公司 Vehicle end development module based on intelligent vehicle networking architecture
CN113467409A (en) * 2020-03-31 2021-10-01 北京新能源汽车股份有限公司 Fault diagnosis method and device for electronic control unit of vehicle

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103792093A (en) * 2012-10-29 2014-05-14 北京开元智信通软件有限公司 Automobile diagnosis method, server and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203885477U (en) * 2014-04-30 2014-10-22 上海华博信息服务有限公司 Intelligent health diagnosis system
CN109063986A (en) * 2018-07-19 2018-12-21 郑州云海信息技术有限公司 A kind of diagnostic method and its relevant device of application system delay fault
CN110351391A (en) * 2019-08-16 2019-10-18 深圳市道通科技股份有限公司 A kind of vehicle diagnosis cloud platform system, service implementation method
CN112667217A (en) * 2019-10-16 2021-04-16 上汽通用汽车有限公司 Vehicle end development module based on intelligent vehicle networking architecture
CN111355778A (en) * 2020-02-17 2020-06-30 威马智慧出行科技(上海)有限公司 Diagnostic device, vehicle-end device and diagnostic method
CN113467409A (en) * 2020-03-31 2021-10-01 北京新能源汽车股份有限公司 Fault diagnosis method and device for electronic control unit of vehicle

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于SOA的设备综合故障诊断系统研究;何文华;梁竞敏;;计算机测量与控制(第09期);全文 *

Also Published As

Publication number Publication date
CN114265386A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN114265386B (en) SOA-based application service diagnosis architecture and method
CN109164783B (en) Vehicle diagnosis method, apparatus, device, and medium
CN110515366B (en) Fault diagnosis method and device
CN111024405B (en) Automobile diagnosis method, related device and system
US20180293811A1 (en) Vehicle remote diagnosis method and device
CN103529821B (en) A kind of configurableization method and device of the diagnosing protocol stack system based on CAN bus
CN111474921A (en) Configuration method of automobile diagnosis software and related equipment
CN109788004B (en) Analysis method and system for automatically adapting national standard custom protocol of new energy automobile
CN112666932B (en) Automatic driving remote diagnosis method and system based on DDS and DoIP technology
CN111478944B (en) Vehicle-mounted terminal and vehicle CAN protocol adaptation method, device, equipment and medium
CN114089713A (en) Communication method based on UDS, ECU and upper computer
CN113190250A (en) Cabin software upgrading method, electronic equipment and readable storage medium
CN113377658B (en) Vehicle controller debugging method and device
CN202110528U (en) ECU (electrical conversion unit) embedded type software refreshing and downloading programming system
CN117170822B (en) System model and code joint simulation system using distributed network middleware
CN113791800A (en) Automatic parking control module remote upgrading method and system and automobile
CN117749624A (en) Configurable method for vehicle data acquisition
CN116775375A (en) Method and system for data storage
CN113960991B (en) Vehicle fault diagnosis system, method and device, system-on-chip and vehicle
CN203882164U (en) OBD (on-board diagnostics) technology-based motor vehicle real-time monitoring system
CN115484184B (en) Fault diagnosis method, fault diagnosis system, vehicle, and readable storage medium
CN116319402A (en) Vehicle data acquisition and monitoring method, system, equipment and medium
CN114924750A (en) Vehicle-mounted application software generation method, device, equipment and storage medium
US20080221749A1 (en) Diagnostic Interface for Applications on a Service Gateway
CN108776469A (en) Vehicle mounted communication module monitoring system and monitoring method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant