Nothing Special   »   [go: up one dir, main page]

CN114265386A - SOA-based application service diagnosis framework and method - Google Patents

SOA-based application service diagnosis framework and method Download PDF

Info

Publication number
CN114265386A
CN114265386A CN202111509518.4A CN202111509518A CN114265386A CN 114265386 A CN114265386 A CN 114265386A CN 202111509518 A CN202111509518 A CN 202111509518A CN 114265386 A CN114265386 A CN 114265386A
Authority
CN
China
Prior art keywords
diagnosis
module
vehicle
soa
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.)
Granted
Application number
CN202111509518.4A
Other languages
Chinese (zh)
Other versions
CN114265386B (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

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention relates to an application service diagnosis framework and a method based on SOA, wherein the diagnosis framework 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 loaded with a CNIX system, an application health management program and a plurality of vehicle-side service applications run in the CNIX system, and a diagnosis module-MPU is further 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 carries out self-diagnosis through the corresponding diagnosis SDK and generates fault information, and simultaneously transmits the fault information 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 conventional vehicle fault diagnosis technology or method is difficult to acquire vehicle end fault information and find out the fault reason is solved, and the vehicle fault diagnosis method has a good vehicle fault diagnosis effect.

Description

SOA-based application service diagnosis framework and method
Technical Field
The invention belongs to the technical field of automobile diagnosis, and particularly relates to an application service diagnosis framework and method based on SOA.
Background
The vehicle fault diagnosis technology plays an important role in ensuring normal work of the automobile, and application research aiming at the vehicle remote fault diagnosis technology is more and more deep. The traditional vehicle fault diagnosis technology has the defects of poor reusability, difficult calling of a heterogeneous platform, poor interoperability and the like; with the continuous improvement of the intelligent and electronic degree of automobiles, new requirements on vehicle fault diagnosis technology are provided, such as easy expansion, flexible combination of functions, cross-heterogeneous platform state monitoring and fault diagnosis, and the like, which cannot be met by the traditional method.
Service-Oriented Architecture (SOA) technology, which has emerged in recent years, offers the possibility of solving the above problems. The SOA architecture is an architecture 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. However, the SOA architecture is only applied to data monitoring and management of large-scale factories, for example, chinese patent CN201510615632.3 is a thermal power plant environment monitoring system and method based on the SOA architecture, and there is no vehicle fault diagnosis technology or method based on the SOA architecture.
Most of the existing vehicle fault diagnosis technologies or methods concern upgrading and device of vehicle-end software, for example, the upgrading method, device, server and vehicle diagnosis software of chinese patent CN201910676287.2, the following technologies are proposed: acquiring an ECU system contained in the vehicle type of the automobile diagnosis software needing to be upgraded, and directly packaging all ECU diagnosis data of the corresponding target version and generating an automobile diagnosis software upgrading package if the ECU diagnosis data of the target version corresponding to each ECU system exists. However, the automobile diagnosis method only forms a specific solution for the condition that the automobile end software needs to be upgraded, and does not diagnose the fault of the automobile end software, such as software compatibility, system configuration, operating system fault and the like.
Therefore, designing a vehicle diagnosis method capable of rapidly acquiring vehicle-end software fault information and finding a fault reason is an urgent problem to be solved.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide an application service diagnosis framework and method based on SOA (service oriented architecture), solve the problem that the fault information of vehicle-end software is difficult to obtain and the fault reason is difficult to find by the traditional vehicle fault diagnosis technology or method, and achieve the effect of strong vehicle fault diagnosis capability.
In order to solve the technical problems, the invention adopts the following technical scheme:
an application service diagnosis framework based on an SOA comprises a C2 chip and a cloud, wherein the C2 chip comprises a C2-SOC module, a vehicle-side 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-side service applications 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 diagnostic specifications of various types of fault information, and 2) integrating diagnostic SDKs in the application health management program and the plurality of vehicle-side service applications.
Further, the application health management program and the vehicle-side service applications carry out self diagnosis through the corresponding diagnosis SDK and generate fault information, and meanwhile, the fault information is transmitted to the diagnosis module-MPU.
Further, the diagnostic module-MPU implements the QNX system and implements the following functions: 1) transmitting fault information to a C2-MCU module, 2) carrying out diagnosis management, 3) receiving the fault information and uploading the fault information to a 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 is provided, 3) transparent fault information is received and DTC codes are correspondingly generated, and 4) the DTC codes are stored and uploaded to the cloud.
Further, the operation steps of the vehicle end diagnosis SDK module are as follows:
1) defining the category of fault information;
2) a diagnostic specification for the 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, a fault format, fault content and an uploading mode.
The invention also comprises an SOA-based application service diagnosis method, which uses the SOA-based application service diagnosis architecture and comprises the following steps:
1) presetting vehicle data buried points;
2) the C2-MCU module receives buried point data from vehicle data buried points;
3) C2-MCU module processes the buried point data and obtains result data;
4) storing the result data in a ROM in the C2-MCU module;
5) and encapsulating 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, is beneficial to realizing various remote diagnosis and pre-diagnosis functions by the diagnosis architecture and the diagnosis method, and can effectively reduce the complexity caused by architecture upgrading; therefore, the problem that the fault information of the vehicle-end software is difficult to obtain and the fault reason is difficult to find by the traditional vehicle fault diagnosis technology or method is solved, and the vehicle fault diagnosis method 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 accessed independently from the application, provides the function for the common component used by all other applications, and can carry out reconstruction and iteration on the basis.
Drawings
FIG. 1 is a schematic diagram of an overall SOC diagnostic architecture according to an embodiment;
fig. 2 is a flowchart of an SOA-based application service diagnosis architecture and method according to an embodiment.
Detailed Description
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
Example (b):
referring to fig. 1, an application service diagnosis architecture based on an SOA includes a C2 chip and a cloud, and a C2 chip includes a C2-SOC module, a vehicle-side 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 is a remote internet server, data of the vehicle end is uploaded to the cloud through the internet technology, and the cloud carries out analysis and calculation based on the uploaded data to achieve the purpose of diagnosis.
The C2-SOC module is loaded with a CNIX system, and an application health management program and a plurality of vehicle-side service applications run in the CNIX system; the C2-SOC module is also integrated with a diagnosis module-MPU;
the vehicle-end diagnosis SDK module has the following functions: 1) unifying the diagnosis specifications of various fault information, 2) integrating diagnosis SDKs in the application health management program and the plurality of vehicle-side service applications;
the operation steps of the vehicle end diagnosis SDK module are as follows:
1) defining the category of fault information;
therefore, various fault information is effectively managed, and the fault information is divided into three types, namely software compatible fault, system configuration fault and operating system fault; the software compatibility fault refers to a fault caused by incompatibility of application software and an operating system, the system configuration fault refers to a fault caused by modification of the operating system or configuration options of the application software, and the operating system fault refers to a fault that a program cannot run due to improper behaviors such as file deletion by mistake or illegal operation.
2) A diagnostic specification for the fault information is defined.
The diagnostic specification of the fault information is defined to enable the fault information reported by the application program to be uniformly identified and managed, and specifically comprises the following steps: acquiring an application name, fault time, a fault format, fault content and an 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 carry out self diagnosis through the corresponding diagnosis SDK and generate fault information, and meanwhile, the fault information is transmitted to the diagnosis module-MPU.
The diagnostic module-MPU implements the QNX system and implements the following functions: 1) transmitting fault information to a C2-MCU module, 2) carrying out diagnosis management, 3) receiving the fault information and uploading the fault information to a 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 function of the C2-MCU module is as follows: 1) self-diagnosis, 2) providing diagnosis service to the outside, 3) receiving the fault information transmitted through and correspondingly generating a DTC code, and 4) storing the DTC code and uploading the DTC code to the cloud; wherein, providing the external diagnostic service means that the C2 supports the diagnostic apparatus 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, is beneficial to realizing various remote diagnosis and pre-diagnosis functions by the diagnosis architecture and the diagnosis method, and can effectively reduce the complexity caused by architecture upgrading; therefore, the problem that the conventional vehicle fault diagnosis technology or method is difficult to acquire vehicle end fault information and find out the fault reason is solved, and the vehicle fault diagnosis method has a good vehicle fault diagnosis effect; and the diagnostic SDK is introduced into the diagnostic architecture, so that the functions of the application which is accessed independently can be stripped from the application and provided for common components used by all other applications, and meanwhile, reconstruction and iteration can be carried out on the basis.
Referring to fig. 2, a method for diagnosing an application service based on an SOA, using the above-mentioned SOA-based application service diagnostic architecture, includes the following steps:
1) presetting vehicle data buried points;
2) the C2-MCU module receives buried point data from vehicle data buried points;
3) the C2-MCU module is integrated with a data processing module, and the data processing module processes the 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 the ROM of the data storage module;
5) and the C2-MCU module is integrated with a data transmission module, encapsulates the result data according to a preset protocol and transmits the result data to the cloud.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, 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 or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (10)

1. An SOA-based application service diagnostic architecture, characterized by: the system comprises a C2 chip and a cloud, wherein the C2 chip comprises a C2-SOC module, a vehicle-end diagnosis SDK module and a C2-MCU module.
2. An SOA-based application service diagnosis architecture as claimed in claim 1, wherein: the C2-SOC module is loaded with a CNIX system, and an application health management program and a plurality of vehicle-side service applications run in the CNIX system; the C2-SOC module is also integrated with a diagnosis module-MPU.
3. An SOA-based application service diagnosis architecture as claimed in claim 2, wherein: the function of the vehicle end diagnosis SDK module is as follows: 1) unifying diagnostic specifications of various types of fault information, and 2) integrating diagnostic SDKs in the application health management program and the plurality of vehicle-side service applications.
4. An SOA-based application service diagnosis architecture as claimed in claim 3, wherein: and the application health management program and the plurality of vehicle-side service applications carry out self diagnosis through the corresponding diagnosis SDK and generate fault information, and simultaneously transmit the fault information to a diagnosis module-MPU.
5. An SOA-based application service diagnostic framework as claimed in claim 4, characterized in that: the diagnostic module-MPU implements the QNX system and implements the following functions: 1) transmitting fault information to a C2-MCU module, 2) carrying out diagnosis management, 3) receiving the fault information and uploading the fault information to a 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.
6. An SOA-based application service diagnosis architecture as claimed in claim 5, wherein: the function of the C2-MCU module is as follows: 1) self-diagnosis, 2) external diagnosis service is provided, 3) transparent fault information is received and DTC codes are correspondingly generated, and 4) the DTC codes are stored and uploaded to the cloud.
7. An SOA-based application service diagnosis architecture as claimed in claim 3, wherein: the operation steps of the vehicle end diagnosis SDK module are as follows:
1) defining the category of fault information;
2) a diagnostic specification for the fault information is defined.
8. An SOA-based application service diagnosis architecture as claimed in claim 7, wherein: the categories of the failure information include: software compatibility failures, system configuration failures, and operating system failures.
9. An SOA-based application service diagnosis architecture as claimed in claim 7, wherein: the diagnostic specification for defining the fault information is specifically as follows: and acquiring an application name, fault time, a fault format, fault content and an uploading mode.
10. An SOA-based application service diagnosis method is characterized in that: the diagnosis method using an SOA-based application service diagnosis architecture as claimed in claim 6, comprising the steps of:
1) presetting vehicle data buried points;
2) the C2-MCU module receives buried point data from vehicle data buried points;
3) C2-MCU module processes the buried point data and obtains result data;
4) storing the result data in a ROM in the C2-MCU module;
5) and encapsulating 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 true CN114265386A (en) 2022-04-01
CN114265386B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756210A (en) * 2022-04-24 2022-07-15 重庆长安汽车股份有限公司 Configurational tool chain and method for middleware code generation
CN114816508A (en) * 2022-04-29 2022-07-29 重庆长安汽车股份有限公司 System and method for managing service list of whole vehicle service-oriented architecture
CN114844930A (en) * 2022-04-21 2022-08-02 重庆长安汽车股份有限公司 Vehicle-end remote control method and system based on SOA architecture
CN114839959A (en) * 2022-05-30 2022-08-02 重庆长安汽车股份有限公司 Vehicle remote diagnosis method and system based on SOA (service oriented architecture) service
CN115225449A (en) * 2022-06-08 2022-10-21 广州汽车集团股份有限公司 Message reporting method and system for SOA service oriented interface
CN115426397A (en) * 2022-11-07 2022-12-02 蔚来汽车科技(安徽)有限公司 Service-oriented architecture and electronic appliance architecture for microcontroller MCU
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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140121888A1 (en) * 2012-10-29 2014-05-01 Beijing Wiselink Software Co., Ltd. Method, server and system for vehicle diagnosis
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140121888A1 (en) * 2012-10-29 2014-05-01 Beijing Wiselink Software Co., Ltd. Method, server and system for vehicle diagnosis
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的设备综合故障诊断系统研究", 计算机测量与控制, no. 09 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844930A (en) * 2022-04-21 2022-08-02 重庆长安汽车股份有限公司 Vehicle-end remote control method and system based on SOA architecture
CN114844930B (en) * 2022-04-21 2023-06-06 重庆长安汽车股份有限公司 Vehicle-end remote control method and system based on SOA architecture
CN114756210A (en) * 2022-04-24 2022-07-15 重庆长安汽车股份有限公司 Configurational tool chain and method for middleware code generation
CN114816508A (en) * 2022-04-29 2022-07-29 重庆长安汽车股份有限公司 System and method for managing service list of whole vehicle service-oriented architecture
CN114839959A (en) * 2022-05-30 2022-08-02 重庆长安汽车股份有限公司 Vehicle remote diagnosis method and system based on SOA (service oriented architecture) service
CN115225449A (en) * 2022-06-08 2022-10-21 广州汽车集团股份有限公司 Message reporting method and system for SOA service oriented interface
CN115426397A (en) * 2022-11-07 2022-12-02 蔚来汽车科技(安徽)有限公司 Service-oriented architecture and electronic appliance architecture for microcontroller MCU
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

Also Published As

Publication number Publication date
CN114265386B (en) 2023-12-22

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
CN111024405B (en) Automobile diagnosis method, related device and system
CN110515366B (en) Fault diagnosis method and device
JP4416649B2 (en) Method and apparatus for telematic services for vehicles
CN103529821B (en) A kind of configurableization method and device of the diagnosing protocol stack system based on CAN bus
AU2005201778A1 (en) Device and method for performing both local and remote vehicle diagnostics
CN202735835U (en) Remote vehicle diagnosis system and remote diagnosis system
KR20170013896A (en) Personal vehicle diagnosis system and method based on mobile intelligent terminal
CN110233768B (en) UDS-based CAN bus test system and CAN bus test method
WO2014059097A1 (en) System to view automobile diagnostic information
CN108829825B (en) Automatic adaptation method and device for vehicle data acquisition
CN103809587A (en) Electric car automatic diagnostic system and method based on wireless network
CN114253251A (en) Vehicle remote diagnosis method and device, equipment connector and storage medium
CN111552268B (en) Vehicle remote diagnosis method, equipment connector and vehicle connector
CN111478944B (en) Vehicle-mounted terminal and vehicle CAN protocol adaptation method, device, equipment and medium
CN107294826B (en) CAN network-based TBOX parameter calibration method and device
EP2002402A1 (en) In-vehicle diagnostic system with built-in browser capabilities
CN114625111A (en) Vehicle state monitoring method and system
CN102158462B (en) A kind of method that 2G or 3G module remote diagnosis is repaired
CN203882164U (en) OBD (on-board diagnostics) technology-based motor vehicle real-time monitoring system
US20080161994A1 (en) Method and system for autogenerating static fault code data based on a unified summary table for heavy duty diesel engines
CN111880510A (en) New energy automobile data acquisition and transmission method and equipment
CN202995452U (en) Acquisition device and analytic system for vehicle failure information
CN108197043B (en) Control system and method for peripheral hardware of intelligent vehicle machine

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