CN115793608A - ODX (optical distribution network) diagnosis data management method, device, medium and equipment based on micro-service - Google Patents

ODX (optical distribution network) diagnosis data management method, device, medium and equipment based on micro-service Download PDF

Info

Publication number
CN115793608A
CN115793608A CN202211497755.8A CN202211497755A CN115793608A CN 115793608 A CN115793608 A CN 115793608A CN 202211497755 A CN202211497755 A CN 202211497755A CN 115793608 A CN115793608 A CN 115793608A
Authority
CN
China
Prior art keywords
odx
data
management
diagnostic data
diagnosis
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.)
Pending
Application number
CN202211497755.8A
Other languages
Chinese (zh)
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.)
Human Horizons Shandong Technology Co Ltd
Original Assignee
Human Horizons Shandong Technology 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 Human Horizons Shandong Technology Co Ltd filed Critical Human Horizons Shandong Technology Co Ltd
Priority to CN202211497755.8A priority Critical patent/CN115793608A/en
Publication of CN115793608A publication Critical patent/CN115793608A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a management method, a device, a medium and equipment of ODX (optical distribution network) diagnosis data based on micro-service, wherein the method comprises the following steps: receiving an ODX micro-service request through a WEB end; the ODX micro-service request comprises management operation on ODX diagnosis data, and the management operation at least comprises one-key generation operation; when the management operation is the one-key generation operation, determining a vehicle type and an ECU list expected to generate ODX diagnostic data under the vehicle type, and acquiring original diagnostic data according to the vehicle type and the ECU list; generating ODX diagnostic data according to a preset data template and the original diagnostic data; wherein, the data template is provided with data constraint conditions; and verifying the generated ODX diagnostic data according to the data constraint conditions, and storing the ODX diagnostic data passing the verification into an SQL database. By adopting the technical scheme of the invention, systematic diagnosis data management can be realized, and the correctness of ODX data is ensured.

Description

ODX (optical distribution network) diagnosis data management method, device, medium and equipment based on micro-service
Technical Field
The invention relates to the technical field of automobiles, in particular to an ODX (optical distribution network) diagnosis data management method and device based on micro-service, a computer readable storage medium and terminal equipment.
Background
An Open Diagnostic Data Exchange (ODX) format is an Open Diagnostic Data format defined in international standard ISO22901-1, and an ODX database describes a Data model of vehicle Electronic Control Unit (ECU) Diagnostic Data, which is used for interaction of Diagnostic Data in a vehicle life cycle.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for managing ODX diagnostic data based on microservice, a computer-readable storage medium, and a terminal device, which can solve the problems of low efficiency and high error rate in manually creating and maintaining an ODX diagnostic database, implement systematic diagnostic data management, and ensure the correctness of ODX data.
In order to achieve the above object, an embodiment of the present invention provides a method for managing microservice-based ODX diagnostic data, including:
receiving an ODX micro-service request through a WEB end; the ODX micro-service request comprises management operation on ODX diagnosis data, and the management operation at least comprises one-key generation operation;
when the management operation is the one-key generation operation, determining a vehicle type and an ECU list which is expected to generate ODX diagnostic data under the vehicle type, and acquiring original diagnostic data according to the vehicle type and the ECU list;
generating ODX diagnostic data according to a preset data template and the original diagnostic data; wherein, the data template is provided with data constraint conditions;
and verifying the generated ODX diagnostic data according to the data constraint conditions, and storing the ODX diagnostic data passing the verification into an SQL database.
Further, the management operation further comprises an add/delete and change check operation, and the method further comprises:
and when the management operation is the increasing, deleting, modifying and checking operation, performing increasing, deleting, modifying and checking processing on the ODX diagnosis data stored in the SQL database according to the increasing, deleting, modifying and checking operation.
Further, the management operations further include version management operations, and the method further includes:
when the management operation is the version management operation, acquiring new version diagnosis data;
and comparing the new version diagnosis data with ODX diagnosis data stored in the SQL database, and recording change data.
Further, the management operations further include process management operations, and the method further includes:
when the management operation is the process management operation, determining the operation type of the process management operation;
when the operation type is a newly added process operation, acquiring a diagnosis requirement, and performing newly added diagnosis process processing after the diagnosis requirement is checked;
and when the operation type is the operation of changing the flow, obtaining the changed content, and performing the processing of changing the diagnosis flow after the verification of the changed content is passed.
Further, the management operation further includes a user and a rights management operation, and the method further includes:
and when the management operation is the user and authority management operation, managing the system user and user authority corresponding to the ODX diagnosis data stored in the SQL database according to the user and authority management operation.
Further, the management operations further include logging operations, the method further comprising:
when the management operation is the logging operation, logging of ODX diagnostic data is achieved based on the ELK.
Further, the method further comprises:
and carrying out remote diagnosis according to the ODX diagnosis data stored in the SQL database.
In order to achieve the above object, an embodiment of the present invention further provides a microservice-based ODX diagnostic data management apparatus, configured to implement any one of the microservice-based ODX diagnostic data management methods described above, where the apparatus includes:
the micro-service request receiving module is used for receiving the ODX micro-service request through a WEB end; the ODX micro-service request comprises management operation on ODX diagnosis data, and the management operation at least comprises one-key generation operation;
the original diagnostic data acquisition module is used for determining a vehicle type and an ECU list of ODX diagnostic data expected to be generated under the vehicle type when the management operation is the one-key generation operation, and acquiring original diagnostic data according to the vehicle type and the ECU list;
the ODX diagnostic data generation module is used for generating ODX diagnostic data according to a preset data template and the original diagnostic data; wherein, the data template is provided with data constraint conditions;
and the ODX diagnostic data checking module is used for checking the generated ODX diagnostic data according to the data constraint conditions and storing the ODX diagnostic data passing the checking into the SQL database.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program, when running, controls the device on which the computer readable storage medium is located to execute any one of the above-mentioned methods for microservice-based ODX diagnostic data management.
An embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements any one of the above methods for managing microservice-based ODX diagnostic data when executing the computer program.
Compared with the prior art, the embodiment of the invention provides a management method, a device, a computer readable storage medium and terminal equipment of ODX diagnostic data based on micro-service, wherein an ODX micro-service request is received through a WEB end, the ODX micro-service request comprises management operation on the ODX diagnostic data, and the management operation at least comprises one-key generation operation; when the management operation is the one-key generation operation, determining a vehicle type and an ECU list which is expected to generate ODX diagnostic data under the vehicle type, and acquiring original diagnostic data according to the vehicle type and the ECU list; generating ODX diagnostic data according to a preset data template and the original diagnostic data, wherein a data constraint condition is set in the data template; checking the generated ODX diagnostic data according to the data constraint conditions, and storing the ODX diagnostic data passing the checking into an SQL database; the embodiment of the invention can solve the problems of low efficiency and high error rate of manually establishing and maintaining the ODX diagnosis database, realize systematic diagnosis data management and ensure the correctness of ODX data.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a method for microservice-based ODX diagnostic data management provided by the present invention;
FIG. 2 is a block diagram of a preferred embodiment of a microservice-based ODX diagnostic data management apparatus according to the present invention;
fig. 3 is a block diagram of a preferred embodiment of a terminal device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
An embodiment of the present invention provides a method for managing ODX diagnostic data based on a micro service, which is a flowchart of a preferred embodiment of the method for managing ODX diagnostic data based on a micro service provided by the present invention, as shown in fig. 1, and the method includes steps S11 to S14:
step S11, receiving an ODX micro-service request through a WEB terminal; the ODX micro-service request comprises management operation on ODX diagnosis data, and the management operation at least comprises one-key generation operation;
step S12, when the management operation is the one-key generation operation, determining a vehicle type and an ECU list expected to generate ODX diagnostic data under the vehicle type, and acquiring original diagnostic data according to the vehicle type and the ECU list;
s13, generating ODX diagnostic data according to a preset data template and the original diagnostic data; wherein, the data template is provided with data constraint conditions;
and S14, verifying the generated ODX diagnosis data according to the data constraint conditions, and storing the ODX diagnosis data passing the verification into an SQL database.
An ECU application engineer can access ODX micro-service through a WEB end page, and realizes distributed and systematic management on ODX diagnostic data by using the ODX micro-service; in specific implementation, the WEB page receives an ODX micro-service request, where the ODX micro-service request includes a management operation on ODX diagnostic data, and the management operation includes, but is not limited to, a one-key generation operation, and when the received management operation is the one-key generation operation, first determines a vehicle model and an ECU list in which the ODX diagnostic data is expected to be generated in the vehicle model, and queries and acquires corresponding original diagnostic data according to the determined vehicle model and the ECU list, and then generates corresponding ODX diagnostic data according to a preset data template and the acquired original diagnostic data, where a data constraint condition is further set in the data template, so that before the generated ODX diagnostic data is stored, the generated ODX diagnostic data can be checked according to the data constraint condition in the data template, and the checked ODX diagnostic data is stored in an SQL (Structured Query Language) database.
For example, taking the ODX diagnostic data of the a-vehicle model as an example, the specific implementation process of the one-key generation function is as follows: (1) A diagnosis engineer creates an A vehicle type and an ECU list contained in the A vehicle type through a WEB end page, and initiates a diagnosis data entry flow of each ECU; (2) The ECU applies an engineer to input diagnosis requirement data, and the diagnosis engineer is examined and approved after an application process is submitted; (3) After the diagnosis engineer examines the diagnosis data submitted by the ECU application engineer, the ODX micro-service writes the diagnosis data into a database; (4) The diagnostic engineer generates functional requirements for the operation based on one key: (1) selecting a vehicle type A; (2) selecting an ECU list which is expected to generate an ODX data file under the type A; (3) inquiring and acquiring corresponding original diagnostic data according to the conditions defined in (1) and (2); (4) based on the requirements of the ISO22901 specification, a corresponding ODX file is generated according to the data template and the obtained original diagnosis data and is compressed into a compressed file with pdx suffix.
The diagnostic requirement data generally includes: (1) ECU basic information such as ECU name and diagnosis address; (2) supported diagnostic services; (3) DTC list information of the ECU; (4) reading and writing data information of the ECU; (5) IO operation related data; (6) routine-related data; in addition, the data can be expanded according to actual requirements.
It should be noted that the ODX diagnostic data is stored in the SQL database, the SQL database has a general table creation interface for customizing a table structure, the creation of the ODX diagnostic data table is completed by a programmer during project deployment, and in a preset data template, a corresponding data constraint condition is set for each table field in the ODX diagnostic data table, the ODX microserver program can develop and check the generated ODX diagnostic data according to the data constraint condition corresponding to each table field, and only the ODX diagnostic data checked by the data format can be stored in the customized table in the SQL database.
For example, for a table field of the DTC display code, the correspondingly set data constraint conditions are: length 7, not empty, letter and number existence rule ISO15031; for a table field of a DTC value, correspondingly set data constraints are as follows: length 6, not empty, letter and number existence rule ISO15031; for a table field of DTC meaning, correspondingly set data constraints are as follows: not more than 256 and not empty.
The ODX diagnosis data management method based on the micro service provided by the embodiment of the invention receives an ODX micro service request through a WEB end, wherein the ODX micro service request comprises management operation on ODX diagnosis data, and the management operation at least comprises one-key generation operation; when the management operation is a one-key generation operation, determining a vehicle type and an ECU list expected to generate ODX diagnostic data under the vehicle type, and acquiring original diagnostic data according to the determined vehicle type and the ECU list; generating ODX diagnostic data according to a preset data template and the obtained original diagnostic data, wherein the data template is provided with a data constraint condition; checking the generated ODX diagnosis data according to the data constraint conditions, and storing the ODX diagnosis data passing the checking into an SQL database; the ODX diagnostic data can be efficiently generated based on the data template, data verification is added based on the data template, and a WEB browser is used as a terminal, so that strict rule verification on the ODX diagnostic data is easily realized, the error rate is reduced, and the correctness of the ODX diagnostic data is ensured.
In another preferred embodiment, the management operation further includes an add/delete/modify operation, and the method further includes:
and when the management operation is the increasing, deleting, modifying and checking operation, performing increasing, deleting, modifying and checking processing on the ODX diagnosis data stored in the SQL database according to the increasing, deleting, modifying and checking operation.
Specifically, with reference to the foregoing embodiment, the ODX micro service request received through the WEB page includes a management operation on the ODX diagnostic data, and the management operation further includes an add/delete/modify/check operation, so that when the received management operation is the add/delete/modify/check operation, the ODX diagnostic data stored in the SQL database may be subjected to corresponding add/delete/modify/check processing through programming and conditions.
It can be understood that, the ODX diagnostic data is subjected to the operations of adding, deleting, modifying and checking through the WEB end page, so that the flow management and control of the ODX diagnostic data are realized.
In yet another preferred embodiment, the management operations further comprise version management operations, the method further comprising:
when the management operation is the version management operation, acquiring new version diagnosis data;
and comparing the new version diagnosis data with ODX diagnosis data stored in the SQL database, and recording change data.
Specifically, with reference to the above embodiment, the ODX microservice request received through the WEB page includes a management operation on the ODX diagnostic data, and the management operation further includes a version management operation, so that when the received management operation is the version management operation, the new version diagnostic data may be obtained first, and then the obtained new version diagnostic data may be compared with the ODX diagnostic data (i.e., the old version diagnostic data) stored in the SQL database, and the change data may be recorded.
Illustratively, the new version of diagnostic data is: the diagnosis data file to be imported, the old version diagnosis data are: and comparing the effective data in the SQL database with the data units of the new version and the old version through a program, and recording the change points.
It can be understood that by performing version management operation on the ODX diagnostic data through the WEB end page, the refined version management on the ODX diagnostic data is realized, and the situations of non-specification and omission caused by manual recording of change points can be avoided.
In a further preferred embodiment, the management operations further comprise process management operations, the method further comprising:
when the management operation is the process management operation, determining the operation type of the process management operation;
when the operation type is the operation of the newly added process, acquiring a diagnosis requirement, and performing newly added diagnosis process processing after the diagnosis requirement is checked;
and when the operation type is the operation of changing the flow, obtaining the changed content, and performing the processing of changing the diagnosis flow after the verification of the changed content is passed.
Specifically, with reference to the above embodiment, the ODX microservice request received through the WEB page includes a management operation on ODX diagnostic data, and the management operation further includes a process management operation, and when the received management operation is the process management operation, an operation type of the process management operation may be determined first, and then corresponding processing is performed according to the determined operation type: (1) When the operation type is determined to be the newly added process operation, acquiring a diagnosis requirement, and performing newly added diagnosis process processing after the diagnosis requirement is checked to pass; (2) And when the operation type is determined to be the flow change operation, obtaining the change content, and performing flow change diagnosis processing after the check of the change content is passed.
Illustratively, the process management function is implemented as follows: (1) The new flow of ODX diagnosis data is initiated by a diagnosis engineer, the ECU application engineer is responsible for filling diagnosis requirements after receiving the request notification, the diagnosis requirements are audited by the diagnosis engineer and related personnel, and the new diagnosis flow takes effect after the audit is passed; (2) And the change process of the ODX diagnosis data is initiated by an ECU application engineer, the diagnosis engineer and related personnel check the change content, and the change content takes effect after the check is passed.
In a further preferred embodiment, the management operations further comprise user and rights management operations, the method further comprising:
and when the management operation is the user and authority management operation, managing the system user and user authority corresponding to the ODX diagnosis data stored in the SQL database according to the user and authority management operation.
Specifically, with reference to the foregoing embodiment, the ODX microservice request received through the WEB page includes a management operation on ODX diagnostic data, and the management operation further includes a user and authority management operation, so that when the received management operation is the user and authority management operation, the system user and the user authority corresponding to the ODX diagnostic data stored in the SQL database may be managed according to the received user and authority management operation.
Illustratively, the system users and user permissions are maintained in a customized table in an SQL database, and a system administrator can manage the system users and user permissions by operating the table.
In a further preferred embodiment, the management operations further comprise logging operations, the method further comprising:
when the management operation is the logging operation, logging of ODX diagnostic data is achieved based on the ELK.
Specifically, with reference to the foregoing embodiment, the ODX microservice request received through the WEB page includes a management operation on ODX diagnostic data, and the management operation further includes a log recording operation, so that when the received management operation is the log recording operation, the log recording of the ODX diagnostic data can be implemented based on the ELK according to the received log recording operation; the ELK is a general name of three types of software, namely an Elasticissearch software, a Logstash software and a Kibana software architecture, namely the log record of ODX diagnostic data can be realized by adopting the three types of software architectures, namely the Elasticissearch software, the Logstash software and the Kibana software architecture; the Elasticissearch is a highly extensible full-text search and analysis engine, and can perform near-real-time storage, search and analysis operations on large-capacity data; the Logstash is a data collection engine, which can dynamically collect data from various data sources, perform operations such as filtering, analysis and uniform format on the data, and store output results to a designated position; kibana is a data analysis and visualization platform, commonly used in conjunction with the Elasticsearch, for searching, analyzing, and presenting the data therein in the form of statistical icons.
In yet another preferred embodiment, the method further comprises:
and carrying out remote diagnosis according to the ODX diagnosis data stored in the SQL database.
Specifically, with reference to the foregoing embodiment, based on the micro service architecture, an extensible diagnostic data application may also be implemented according to the ODX diagnostic data stored in the SQL database, for example, an extension in the aspects of remote diagnosis, autosar diagnostic data generation, and the like may be implemented.
An embodiment of the present invention further provides a microservice-based ODX diagnostic data management apparatus, configured to implement the microservice-based ODX diagnostic data management method according to any of the above embodiments, and as shown in fig. 2, the microservice-based ODX diagnostic data management apparatus according to a preferred embodiment of the present invention is a structural block diagram of the microservice-based ODX diagnostic data management apparatus, where the apparatus includes:
a micro-service request receiving module 11, configured to receive an ODX micro-service request through a WEB; the ODX micro-service request comprises management operation on ODX diagnosis data, and the management operation at least comprises one-key generation operation;
an original diagnostic data obtaining module 12, configured to determine a vehicle type and an ECU list in which ODX diagnostic data is expected to be generated under the vehicle type when the management operation is the one-key generation operation, and obtain original diagnostic data according to the vehicle type and the ECU list;
an ODX diagnostic data generating module 13, configured to generate ODX diagnostic data according to a preset data template and the original diagnostic data; wherein, the data template is provided with data constraint conditions;
and the ODX diagnostic data checking module 14 is used for checking the generated ODX diagnostic data according to the data constraint conditions and storing the checked ODX diagnostic data into the SQL database.
Preferably, the management operation further includes an add/delete/modify operation, and the apparatus further includes:
and the increasing, deleting, modifying and checking management module is used for performing increasing, deleting, modifying and checking processing on the ODX diagnostic data stored in the SQL database according to the increasing, deleting, modifying and checking operation when the management operation is the increasing, deleting, modifying and checking operation.
Preferably, the management operations further include version management operations, and the apparatus further includes a version management module configured to:
when the management operation is the version management operation, acquiring new version diagnosis data;
and comparing the new version diagnosis data with ODX diagnosis data stored in the SQL database, and recording change data.
Preferably, the management operation further includes a process management operation, and the apparatus further includes a process management module configured to:
when the management operation is the process management operation, determining the operation type of the process management operation;
when the operation type is the operation of the newly added process, acquiring a diagnosis requirement, and performing newly added diagnosis process processing after the diagnosis requirement is checked;
and when the operation type is the operation of changing the flow, obtaining the changed content, and performing the processing of changing the diagnosis flow after the verification of the changed content is passed.
Preferably, the management operations further comprise user and rights management operations, and the apparatus further comprises a user and rights management module configured to:
and when the management operation is the user and authority management operation, managing the system user and user authority corresponding to the ODX diagnosis data stored in the SQL database according to the user and authority management operation.
Preferably, the management operation further comprises a logging operation, and the apparatus further comprises a logging module configured to:
when the management operation is the logging operation, logging of ODX diagnostic data is achieved based on the ELK.
Preferably, the apparatus further comprises an ODX diagnostic data application module for:
and carrying out remote diagnosis according to the ODX diagnosis data stored in the SQL database.
It should be noted that, the ODX diagnostic data management apparatus based on micro service provided in the embodiment of the present invention can implement all processes of the ODX diagnostic data management method based on micro service described in any embodiment, and the functions and implemented technical effects of each module in the apparatus are respectively the same as those of the ODX diagnostic data management method based on micro service described in the embodiment, and are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program, when running, controls the device on which the computer readable storage medium is located to execute the method for management of microservice-based ODX diagnostic data according to any of the above embodiments.
An embodiment of the present invention further provides a terminal device, which is shown in fig. 3 and is a block diagram of a preferred embodiment of the terminal device provided in the present invention, where the terminal device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and the processor 10, when executing the computer program, implements the method for managing microservice-based ODX diagnostic data according to any of the embodiments described above.
Preferably, the computer program may be divided into one or more modules/units (e.g., computer program 1, computer program 2, 8230; etc.) which are stored in the memory 20 and executed by the processor 10 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the terminal device.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor 10 may be any conventional Processor, the Processor 10 is a control center of the terminal device, and various interfaces and lines are used to connect various parts of the terminal device.
The memory 20 mainly includes a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area that may store related data and the like. In addition, the memory 20 may be a high speed random access memory, may also be a non-volatile memory, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, or the memory 20 may also be other volatile solid state memory devices.
It should be noted that the terminal device may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram in fig. 3 is only an example of the terminal device and does not constitute a limitation to the terminal device, and may include more or less components than those shown, or combine some components, or different components.
To sum up, the ODX diagnostic data management method, device, computer-readable storage medium, and terminal device based on micro service provided in the embodiments of the present invention receive an ODX micro service request through a WEB end, where the ODX micro service request includes a management operation on ODX diagnostic data, and the management operation includes at least one key generation operation; when the management operation is a one-key generation operation, determining a vehicle type and an ECU list expected to generate ODX diagnostic data under the vehicle type, and acquiring original diagnostic data according to the determined vehicle type and the ECU list; generating ODX diagnostic data according to a preset data template and the obtained original diagnostic data, wherein the data template is provided with a data constraint condition; checking the generated ODX diagnostic data according to the data constraint conditions, and storing the ODX diagnostic data passing the checking into an SQL database; the ODX diagnostic data can be efficiently generated based on the data template, data verification is added based on the data template, and a WEB browser is used as a terminal, so that strict rule verification is easily performed on the ODX diagnostic data, the error rate is reduced, and the correctness of the ODX diagnostic data is ensured.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, it is possible to make various improvements and modifications without departing from the technical principle of the present invention, and those improvements and modifications should be considered as the protection scope of the present invention.

Claims (10)

1. A method for managing ODX diagnostic data based on microservice, which is characterized by comprising the following steps:
receiving an ODX micro-service request through a WEB end; the ODX micro-service request comprises management operation on ODX diagnosis data, and the management operation at least comprises one-key generation operation;
when the management operation is the one-key generation operation, determining a vehicle type and an ECU list expected to generate ODX diagnostic data under the vehicle type, and acquiring original diagnostic data according to the vehicle type and the ECU list;
generating ODX diagnostic data according to a preset data template and the original diagnostic data; wherein, the data template is provided with data constraint conditions;
and verifying the generated ODX diagnosis data according to the data constraint conditions, and storing the ODX diagnosis data passing the verification into an SQL database.
2. The microservice-based ODX diagnostic data management method of claim 1, wherein the management operations further comprise add-drop-and-delete-and-check operations, the method further comprising:
and when the management operation is the increasing, deleting, modifying and checking operation, performing increasing, deleting, modifying and checking processing on the ODX diagnosis data stored in the SQL database according to the increasing, deleting, modifying and checking operation.
3. The microservice-based ODX diagnostic data management method of claim 1, wherein the management operations further comprise version management operations, the method further comprising:
when the management operation is the version management operation, acquiring new version diagnosis data;
and comparing the new version diagnosis data with the ODX diagnosis data stored in the SQL database, and recording change data.
4. The microservice-based ODX diagnostic data management method of claim 1, wherein the management operations further comprise process management operations, the method further comprising:
when the management operation is the process management operation, determining the operation type of the process management operation;
when the operation type is a newly added process operation, acquiring a diagnosis requirement, and performing newly added diagnosis process processing after the diagnosis requirement is checked;
and when the operation type is the operation of changing the flow, obtaining the changed content, and performing the process of changing the diagnosis flow after the verification of the changed content is passed.
5. The microservice-based ODX diagnostic data management method of claim 1, wherein the management operations further comprise user and rights management operations, the method further comprising:
and when the management operation is the user and authority management operation, managing the system user and user authority corresponding to the ODX diagnosis data stored in the SQL database according to the user and authority management operation.
6. The microservice-based ODX diagnostic data management method of claim 1, wherein the management operations further comprise logging operations, the method further comprising:
when the management operation is the logging operation, logging of ODX diagnostic data is achieved based on the ELK.
7. The microservice-based ODX diagnostic data management method according to any of claims 1 to 6, further comprising:
and carrying out remote diagnosis according to the ODX diagnosis data stored in the SQL database.
8. A microservice-based ODX diagnostic data management apparatus for implementing the microservice-based ODX diagnostic data management method according to any one of claims 1 to 7, the apparatus comprising:
the micro-service request receiving module is used for receiving the ODX micro-service request through a WEB end; the ODX micro-service request comprises management operation on ODX diagnosis data, and the management operation at least comprises one-key generation operation;
the original diagnostic data acquisition module is used for determining a vehicle type and an ECU list of ODX diagnostic data expected to be generated under the vehicle type when the management operation is the one-key generation operation, and acquiring original diagnostic data according to the vehicle type and the ECU list;
the ODX diagnostic data generation module is used for generating ODX diagnostic data according to a preset data template and the original diagnostic data; wherein, the data template is provided with data constraint conditions;
and the ODX diagnostic data checking module is used for checking the generated ODX diagnostic data according to the data constraint conditions and storing the ODX diagnostic data passing the checking into the SQL database.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method for microservice-based ODX diagnostic data management according to any one of claims 1 to 7.
10. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the microservice-based ODX diagnostic data management method of any of claims 1-7 when executing the computer program.
CN202211497755.8A 2022-11-28 2022-11-28 ODX (optical distribution network) diagnosis data management method, device, medium and equipment based on micro-service Pending CN115793608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211497755.8A CN115793608A (en) 2022-11-28 2022-11-28 ODX (optical distribution network) diagnosis data management method, device, medium and equipment based on micro-service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211497755.8A CN115793608A (en) 2022-11-28 2022-11-28 ODX (optical distribution network) diagnosis data management method, device, medium and equipment based on micro-service

Publications (1)

Publication Number Publication Date
CN115793608A true CN115793608A (en) 2023-03-14

Family

ID=85441948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211497755.8A Pending CN115793608A (en) 2022-11-28 2022-11-28 ODX (optical distribution network) diagnosis data management method, device, medium and equipment based on micro-service

Country Status (1)

Country Link
CN (1) CN115793608A (en)

Similar Documents

Publication Publication Date Title
WO2019140828A1 (en) Electronic apparatus, method for querying logs in distributed system, and storage medium
CN111859076B (en) Data crawling method, device, computer equipment and computer readable storage medium
CN113138757B (en) Front-end code automatic generation method, device, server, system and medium
CN111858605B (en) Database automation auditing method, system, equipment and storage medium
CN111737227A (en) Data modification method and system
CN111258832B (en) Interface parameter verification method, device, equipment and medium
CN111290961A (en) Interface test management method and device and terminal equipment
CN111611276A (en) Data query method, device and storage medium
CN111737148A (en) Automatic regression testing method and device, computer equipment and storage medium
EP3945416B1 (en) Software query information management system and software query information management method
CN113010208B (en) Version information generation method, device, equipment and storage medium
CN110659063A (en) Software project reconstruction method and device, computer device and storage medium
CN113835729A (en) Upgrading method and device, terminal equipment and computer readable storage medium
CN111198678A (en) Method and device for generating GraphQL front-end operation interface
CN115793608A (en) ODX (optical distribution network) diagnosis data management method, device, medium and equipment based on micro-service
CN116521217A (en) Method, system and storage medium for rapidly configuring BSW based on AUTOSAR tool
CN113031964B (en) Big data application management method, device, equipment and storage medium
US20210389945A1 (en) Software inquiry information management system and software inquiry information management method
CN113760856B (en) Database management method and device, computer readable storage medium and electronic equipment
US11593511B2 (en) Dynamically identifying and redacting data from diagnostic operations via runtime monitoring of data sources
CN112445461B (en) Business rule generation method and device, electronic equipment and readable storage medium
CN113377674B (en) Log code adding method and device
CN116361135A (en) Method for recording operation log, computer device and storage medium
CN116820633A (en) Data verification method and device, electronic equipment and storage medium
CN113254337A (en) Software function testing system, method and server

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