A method and device for generating a topological map of an automobile open system architecture

By obtaining and converting the configuration files of the automotive open system architecture tool module, and using the QT class library to generate and display topology diagrams, the problems of high complexity of the topology diagram generation and low graphics performance of the Adaptive AUTOSAR toolchain are solved, and efficient and smooth graphics processing is achieved.

CN115062400BActive Publication Date: 2025-04-22CHINA AUTOMOTIVE INNOVATION CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210502404.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-09
Publication Date
2025-04-22
Estimated Expiration
2042-05-09

AI Technical Summary

Technical Problem

The existing Adaptive AUTOSAR toolchain topology graph generation has the problem of high development complexity and low graphics performance.

Method used

By obtaining the configuration files of the automotive open system architecture tool module, using the graphical module to convert the data format, obtain the target topology diagram data, and use the target class library (such as the QT class library) for graphics generation and display, realizing high-performance graphics processing.

Benefits of technology

It reduces the development complexity of topology graph generation, improves the smoothness of graphics generation and operation, and avoids the problem of poor Java graphics display performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115062400B_ABST
    Figure CN115062400B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of AUTOSAR, and the present invention discloses a method and device for generating a topology map of an automotive open system architecture. The topology map generating method first obtains a configuration file of an automotive open system architecture tool module; the configuration file includes topology map data to be generated; the format of the configuration file is a first format, and then a graphical module is used to perform a data format conversion operation on the topology map data to be generated to obtain target topology map data; the format of the target topology map data is a second format; and a target class library is used to perform a graphics generation operation on the target topology map data to obtain a target topology map; the target topology map is used to characterize the communication relationship between objects in the communication module of the automotive open system architecture; the target class library is a class library corresponding to an object-oriented application development framework; and the target topology map is displayed on a corresponding display interface. The topology map generating method provided by the present application has the characteristics of simple steps and high performance of the generated graphics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of AUTOSAR, and in particular to a method and device for generating a topology graph of an automobile open system architecture. Background Art

[0002] With the rapid development of automotive electronic technologies such as autonomous driving, over-the-air technology (OTA), and vehicle to everything (V2X), the core attributes of cars are constantly changing. The concept of "software-defined car" indicates that cars are no longer just a means of transportation. The concepts of intelligence and automation and related technologies have gradually matured and become applicable.

[0003] AUTOSAR is the abbreviation of Automotive Open System Architecture, which is an automotive electronic system development framework jointly established by many global vehicle manufacturers and parts suppliers. Its main purpose is to standardize the automotive software industry by improving the reusability and interchangeability of automotive software modules. The above-mentioned technologies such as autonomous driving, OTA, and V2X have promoted the emergence of the Adaptive AUTOSAR standard, which provides services to upper-layer applications through the ARA (Autosar Run-time For Adaptive) layer, providing core services such as communication management, process management, and state management.

[0004] When designing and configuring communication management related parameters, due to the large number of data objects such as communication management related services, mappings, deployments, and other data objects and complex logic, it is difficult to understand the communication and interface relationships of the entire application only by relying on tabular displays. Therefore, the tool chain software of each manufacturer will provide graphical functions. It is very important to graphically display the topology call relationship.

[0005] Currently, the AUTOSAR Alliance provides the basic platform Artop for the Adaptive AUTOSAR tool chain. The platform is based on Eclipse plug-in development and provides a tool chain development foundation for various manufacturers. In the Eclipse plug-in development process, if graphical development is required, it is usually implemented by applying the Graphical Editing Framework (GEF) or Graphical Modeling Framework (GMF) technology. From a development perspective, the development process of both GEF and GMF is complex and difficult to understand. From a practical application perspective, Java's graphics display performance is relatively poor. Once there are too many graphics elements, there will be a freeze when the user operates. Summary of the invention

[0006] The present invention aims to solve the technical problem that the Adaptive AUTOSAR tool chain topology diagram generation in the above-mentioned prior art has high development complexity and low graphics performance.

[0007] To solve the above technical problems, the present application discloses a method for generating a topology map in an automotive open system architecture, which comprises the following steps:

[0008] Obtaining a configuration file of an automotive open system architecture tool module; the configuration file includes topology map data to be generated; the format of the configuration file is a first format;

[0009] Using a graphical module to perform a data format conversion operation on the to-be-generated topology data to obtain target topology data; the target topology data is in a second format;

[0010] The target topology map data is subjected to a graphic generation operation by using a target class library to obtain a target topology map; the target topology map is used to characterize the communication relationship between various objects in the communication module of the automotive open system architecture; the target class library is a class library corresponding to an object-oriented application development framework;

[0011] The target topology map is displayed on the corresponding display interface.

[0012] Optionally, the first format includes a jason format;

[0013] The second format is a data format corresponding to the target class library.

[0014] Optionally, the graphical module includes a visualization element module and a data conversion module;

[0015] The graphical module is used to perform a data format conversion operation on the topology information to be generated to obtain target topology data, including:

[0016] Determining the topology map data to be generated from the configuration file using a visualization element module;

[0017] The data conversion module is used to perform a format conversion operation on the topology map data to be generated to obtain the target topology map data.

[0018] Optionally, the data conversion module includes a format conversion module and a visual graphics creation module;

[0019] The topological map data to be generated includes a plurality of object information and communication relationship information between the plurality of objects;

[0020] The method of using the visualization object module to perform a format conversion operation on the topology map data to be generated to obtain the target topology map data includes:

[0021] Using the format conversion module to convert the plurality of object information into a plurality of object information in a third format;

[0022] Using the format conversion module to convert the communication relationship information between the multiple objects into the communication relationship information between the multiple objects in the third format;

[0023] Determine, by using the visualization graphic creation module, graphic type data of the plurality of object information based on the plurality of object information in the third format;

[0024] Determine, by means of the visualization graphic creation module, graphic type data of the communication relationship between the plurality of objects based on the communication relationship information between the plurality of objects in the third format;

[0025] The graphic type data of the plurality of object information and the graphic type data of the communication relationship between the plurality of objects are determined as the target topology map data.

[0026] Optionally, the configuration file of the automotive open system architecture tool module is obtained, including:

[0027] Acquire an initial configuration file; the format of the initial configuration file is a fourth format; the initial configuration file includes the topology map data to be generated in the fourth format;

[0028] The topology map data to be generated in the fourth format is extracted from the initial configuration file, and a data format conversion operation is performed on the topology map data to be generated in the fourth format to obtain the configuration file.

[0029] Optionally, after displaying the target topology map on the corresponding display interface, the method further includes:

[0030] Obtaining a control request for the automotive open system architecture tool module; the control request carries a target class library identifier and control data;

[0031] The target class library's operating state is controlled based on the target class library identifier, the control data and the target class library's current operating state information.

[0032] Optionally, after displaying the target topology map on the corresponding display interface, the method further includes:

[0033] Obtaining change information of the target topology map in the target class library; the change information includes the changed object and the changed communication relationship;

[0034] Based on the changed object and the changed communication relationship, the corresponding object and the communication relationship between the objects in the communication module are adjusted.

[0035] On the other hand, the present application also discloses a topology map generating device in an automotive open system architecture, which includes:

[0036] An acquisition module is used to acquire a configuration file of an automotive open system architecture tool module; the configuration file includes topology data to be generated; the format of the configuration file is a first format; the automotive open system architecture tool module is located in the automotive open system architecture;

[0037] The target topology data determination module is used to use the graphical module to perform a data format conversion operation on the to-be-generated topology data to obtain the target topology data; the format of the target topology data is the second format;

[0038] A target topology map generation module is used to perform a graph generation operation on the target topology map data using a target class library to obtain a target topology map; the target topology map is used to characterize the communication relationship between various objects in the communication module of the automotive open system architecture;

[0039] The display module is used to display the target topology map on the corresponding display interface.

[0040] On the other hand, the present application also discloses an electronic device, which includes a processor and a memory, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned topology map generation method.

[0041] On the other hand, the present application further discloses a computer storage medium, in which at least one instruction or at least one program is stored. The at least one instruction or at least one program is loaded and executed by a processor to implement the above-mentioned topology map generation method.

[0042] By adopting the above technical solution, the topology map generation method provided by this application has the following beneficial effects:

[0043] The method comprises first obtaining a configuration file of an automotive open system architecture tool module; the configuration file includes topology data to be generated; the format of the configuration file is a first format, and then using a graphical module to perform a data format conversion operation on the topology data to be generated to obtain target topology data; the format of the target topology data is a second format; and using a target class library to perform a graphics generation operation on the target topology data to obtain a target topology; the target topology is used to characterize the communication relationship between objects in a communication module of an automotive open system architecture; the target class library is a class library corresponding to an object-oriented application development framework; and the target topology is displayed on a corresponding display interface. That is to say, the topology map generation method provided by the present application does not require complex development of the automotive open system architecture tool module (such as the Artop architecture), and does not require the use of the Java language to perform graphical processing on the architecture, which makes the generated graphics prone to lag. Instead, the topology map related data obtained by configuring the automotive open system architecture tool module is converted into a format and processed by graphics by using a graphical module, so that the target class library (such as the QT class library) can be used for graphical processing. The QT class library has a high-performance double-buffered graphics mechanism, which has the advantages of good fluency in generating and modifying graphics. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 A schematic diagram of the structure of a topology map generation system of an optional automotive open system architecture according to the present application;

[0046] Figure 2 A flowchart of an optional topology map generation method for the present application;

[0047] Figure 3 A schematic diagram of a flow chart of another optional topology map generation method of the present application;

[0048] Figure 4 A schematic diagram of the structure of another optional topology map generation system of an automotive open system architecture of the present application;

[0049] Figure 5 A schematic diagram of the structure of an optional topology map generating device of the present application.

[0050] The following is a supplementary description of the attached drawings:

[0051] 10-Automotive open system architecture; 20-Interface module; 30-Graphical module; 40-Target class library. DETAILED DESCRIPTION

[0052] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0054] At present, there are two main types of design and development of automotive electronic AUTOSAR tool modules. One is to use Artop (Eclipse at the bottom) launched by the AUTOSAR Alliance for application-level development, and the second is to do complete self-development according to the AUTOSAR specifications, breaking away from the constraints of Eclipse. For the first direction, all products of various manufacturers with graphical functions currently use GMF technology to develop plug-ins in Eclipse, which brings the problem of poor performance. However, when the number of primitive components exceeds a certain amount, there will be obvious jams in scaling and dragging. This problem is caused by the performance of Java's own drawing and is difficult to solve at the application level. For the second direction, since the technology stack is no longer limited, various desktop software development libraries such as dotnet can be selected. Although this can solve the performance problem of large-capacity graphics display, the complexity of the configuration of the AUTOSAR tool module itself cannot be avoided, which is equivalent to the need to develop an automotive open system architecture tool module by yourself. In addition, with the upgrade of the AUTOSAR version, its configuration function must also be continuously upgraded, which has the disadvantage of high configuration complexity.

[0055] To this end, the present application provides a topology map generation system for an automotive open system architecture, such as Figure 1 As shown, Figure 1This is a structural schematic diagram of an optional topology map generation system for an automotive open system architecture of the present application, the system comprising an automotive open system architecture 10, an interface module 20, a graphics module 30 and a target class library 40; the interface module 20 is used to obtain an initial configuration file of a tool module in the automotive open system architecture 10, and to generate a configuration file by extracting the topology map data to be generated in the initial configuration file, the format of the configuration file being a first format; and to send the configuration file to the graphics module 30, the graphics module 30 is used to perform a data format conversion operation on the topology map data to be generated, to obtain target topology map data; the format of the target topology map data is a second format; the target class library 40 is used to perform a graphics generation operation on the target topology map data, to obtain a target topology map; the target topology map is used to characterize the communication relationship between objects in the communication module of the automotive open system architecture; the target class library 40 is a class library corresponding to an object-oriented application development framework; and the target topology map is displayed on a corresponding display interface.

[0056] Optionally, the topology map generating system may be configured on a server or other terminal.

[0057] Optionally, the automotive open system architecture, interface module, graphical module and target class library in the topology map generation system can be respectively set in different servers or terminals. For example, the automotive open system architecture and interface module can be located in the same server, the graphical module and target class library are located in the same server, and different servers can communicate through the network.

[0058] Optionally, the terminal can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, etc.

[0059] The terminal may include a display screen, a storage device and a processor connected via a data bus. The display screen is used to display a virtual image of the device to be monitored and the connection relationship between the various sub-devices in the device to be monitored. The display screen may be a touch screen of a mobile phone or a tablet computer. The storage device is used to store program codes and data of the shooting device. The storage device may be a memory of the terminal, or a storage device such as a smart media card, a secure digital card, or a flash card. The processor may be a single-core or multi-core processor.

[0060] The following describes a specific embodiment of a topology map generation method of the present application. Figure 2This is a flowchart of an optional topology map generation method for the present application. This specification provides method operation steps such as the embodiments or flowcharts, but may include more or fewer operation steps based on conventional or non-creative work. The order of steps listed in the embodiments is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in the order shown in the embodiments or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 2 As shown, the method may include:

[0061] S201: Acquire a configuration file of an automotive open system architecture tool module; the configuration file includes topology map data to be generated; and the format of the configuration file is a first format.

[0062] In a feasible embodiment, the first format includes the jason format. The jason format is a lightweight data representation method. The jason format uses a key:value method to record data, which is very intuitive and simpler than the xml format.

[0063] In a feasible embodiment, in order to improve the reading efficiency of the graphical device for the topology map data to be generated in the subsequent steps; step S201 can be specifically explained as: obtaining an initial configuration file; the format of the initial configuration file is a fourth format; the initial configuration file includes the topology map data to be generated in the fourth format; extracting the topology map data to be generated in the fourth format from the initial configuration file, and performing a data format conversion operation on the topology map data to be generated in the fourth format to obtain the configuration file in the first format.

[0064] In this embodiment, the initial configuration file is obtained through the interface module and the processing configuration file is extracted.

[0065] Optionally, the initial configuration file may be a corresponding initial configuration file generated by the user after configuring the automotive open system architecture tool module.

[0066] In this embodiment, the automotive open system architecture tool module may be the Artop platform (AUTOSAR ToolPlatform), and the bottom layer is Eclipse.

[0067] The fourth format of the initial configuration file may be an XML format, and the initial configuration file may be an ARXML file. In addition to the topology data to be generated, the ARXML file also includes the design and generation of the Adaptive AUTOSAR component software and other configuration contents. The initial configuration file generated after the configuration is completed enables the corresponding generator to generate the corresponding Manifest configuration file and C++ code file by parsing the initial configuration file.

[0068] The Manifest configuration file lists the configuration content that meets the official requirements of AUTOSAR and is used to manage process information, etc. The C++ code file contains the C++ code generated according to the configuration. Users can write application code and business code based on this to implement AUTOSAR engineering applications.

[0069] S202: using a graphical module to perform a data format conversion operation on the to-be-generated topology data to obtain target topology data; the target topology data is in a second format.

[0070] In a feasible embodiment, the second format is the data format corresponding to the target class library, so that the topology map data to be generated in the above-mentioned json format can generate second format data that can be recognized and read by the target class library, so that the target class library can display the target topology map data as a topology map.

[0071] In a feasible embodiment, the graphical module includes a visualization element module and a data conversion module.

[0072] Optionally, step S202 may be specifically described as: using the visualization element module to determine the topology data to be generated from the configuration file, and using the data conversion module to perform a format conversion operation on the topology data to be generated to obtain the target topology data.

[0073] In a feasible embodiment, the data conversion module includes a format conversion module and a visual graphics creation module.

[0074] Optionally, the topology map data to be generated includes information of multiple objects and communication relationship information between the multiple objects.

[0075] In this embodiment, the multiple object information may be the names and functional contents of the submodules in the communication management module, etc. The communication relationship information between the multiple objects may refer to the connection relationship between each submodule and other submodules to obtain other external modules.

[0076] Optional, see Figure 3-4 , Figure 3A flowchart of another optional topology map generation method of the present application is shown. Figure 4 This is a schematic diagram of the structure of another optional topology map generation system of the automotive open system architecture of the present application. The specific method of performing format conversion operation on the topology map data to be generated includes:

[0077] S301: Utilize the format conversion module to convert the plurality of object information into a plurality of object information in a third format.

[0078] In this embodiment, the multiple objects may refer to multiple specific modules and components, and the object information may include graphic data and names corresponding to the specific modules and components.

[0079] Optionally, the third format may be an obj format.

[0080] That is, the format conversion module can convert the information in the jason format determined by the visualization element module into multiple object information in the obj format, so as to facilitate the subsequent graphical processing of specific objects.

[0081] S302: Utilize the format conversion module to convert the communication relationship information between the multiple objects into the communication relationship information between the multiple objects in the third format.

[0082] In this embodiment, when the visualization element module reads the configuration file, it can obtain multiple object information in the first format and the communication relationship information between the multiple objects. At this time, it is also necessary to use the format conversion module to convert the above-mentioned first format information into the third format information to facilitate the subsequent graphical processing of specific objects. Step S302 can determine the number and type of objects in the topological graph to be generated and the communication relationship between the objects.

[0083] S303: Using the visualization graphic creation module, determine the graphic type data of the plurality of object information based on the plurality of object information in the third format.

[0084] S304: Using the visualization graphic creation module, determine graphic type data of the communication relationship between the multiple objects based on the communication relationship information between the multiple objects in the third format.

[0085] In this embodiment, after receiving the multiple object information and the communication relationship information between the multiple objects in the third format from the format conversion module, the visualization graphics creation module can further determine the type of graphics that need to be drawn for the object, for example, whether the object is marked with a circular, square or triangular frame, the specific content in the frame, etc.; determine the type of graphics corresponding to the communication relationship, for example, whether a straight line represents the communication relationship between two objects, or a dotted line, etc.

[0086] S305: Determine the graphic type data of the plurality of object information and the graphic type data of the communication relationship between the plurality of objects as the target topology map data.

[0087] Optionally, the above-mentioned visualization element module, data conversion module and visualization graphics creation module can be modules developed and generated based on the target class library (such as the QT class library). The implementation of the above-mentioned three modules is based on the framework of the QT class library. In particular, for the visualization graphics creation module, the graphic materials based on the QT class library and the corresponding topology map generation module can be combined with the above-mentioned visualization graphics creation module, so that the graphic type of the topology map defined by the visualization graphics creation module can be directly displayed on the display interface corresponding to the QT class library.

[0088] Optionally, the above-mentioned visualization element module may be a visdata module, the data conversion module may include an svgrw module and a visobj module, and the visualization graph creation module may be a visgraph module.

[0089] The above method of drawing a topological map is generated based on SVG, which has a higher degree of customization, and each element has a corresponding SVG description.

[0090] S203: Using a target class library to perform a graphics generation operation on the target topology map data to obtain a target topology map; the target topology map is used to characterize the communication relationship between objects in the communication module of the automotive open system architecture; the target class library is a class library corresponding to an object-oriented application development framework.

[0091] S204: Displaying the target topology map on a corresponding display interface.

[0092] In this embodiment, the target class library may be a QT class library, which is used for specific graphic display.

[0093] In a feasible embodiment, after step S204, the topology map generation method also includes: obtaining a control request for the automotive open system architecture tool module; the control request carries a target class library identifier and control data; and controlling the operating status of the target class library based on the target class library identifier, the control data and the current operating status information of the target class library.

[0094] That is, see Figure 4The graphical device includes a graphical module and a QT class library. The automotive open system architecture tool module obtains the operating status of the graphical device through timing or real-time acquisition, so that when the user turns on, turns off or adjusts the configuration of the automotive open system architecture tool module in the control interface corresponding to the automotive open system architecture tool module, the automotive open system architecture tool module will send the corresponding signal to the graphical device through the interface module for synchronization processing to achieve information synchronization between the automotive open system architecture tool module and the graphical device.

[0095] In a feasible embodiment, after step S204, the topology map generation method also includes: obtaining change information of the target topology map in the target class library; the change information includes the changed object and the changed communication relationship; based on the changed object and the changed communication relationship, adjusting the communication relationship between the corresponding objects in the communication module.

[0096] When the user adjusts the topology diagram in the editing interface corresponding to the target class library, the target class library will synchronize the corresponding adjustment information to the automotive open system architecture tool module, so that it can adjust the corresponding modules and communication relationships to achieve information synchronization.

[0097] Optionally, this application can be Figure 4 An interface module shown realizes information interaction between the automotive open system architecture tool module and the graphical device, that is, the automotive open system architecture tool module stores the configuration file, and the graphical device stores its own operating status and change information in another file, but both are stored in the interface module; the automotive open system architecture tool module can also directly call the corresponding interface of the graphical device, and then send the configuration file to the graphical device; correspondingly, the graphical device can also directly call the corresponding interface of the automotive open system architecture tool module, so as to send the operating status and change information of the graphical device to the automotive open system architecture tool module.

[0098] Optionally, the configuration file may be defined as an Autosar data.json file, and the file sent by the above-mentioned graphical device to the automotive open system architecture tool module may be a Visualview.json file.

[0099] The graphics performance of the Eclipse plug-in conventionally used in the prior art is too poor. Therefore, the present application provides a graphics device based on the QT class library as a graphics tool, which completes the relevant graphics display functions through cross-process communication with the automotive open system architecture tool module and can effectively display the logical topology structure of the Adaptive AUTOSAR architecture.

[0100] See also Figure 5 , Figure 5The present application also discloses a topology map generating device in an automotive open system architecture, which includes:

[0101] The acquisition module 501 is used to acquire a configuration file of an automotive open system architecture tool module; the configuration file includes topology data to be generated; the format of the configuration file is a first format; the automotive open system architecture tool module is located in the automotive open system architecture;

[0102] The target topology data determination module 502 is used to use the graphic module to perform a data format conversion operation on the to-be-generated topology data to obtain the target topology data; the format of the target topology data is the second format;

[0103] The target topology map generation module 503 is used to perform a graph generation operation on the target topology map data using the target class library to obtain a target topology map; the target topology map is used to characterize the communication relationship between the objects in the communication module of the automotive open system architecture;

[0104] The display module 504 is used to display the target topology map on a corresponding display interface.

[0105] In a possible embodiment, the first format includes a jason format;

[0106] The second format is a data format corresponding to the target class library.

[0107] In a feasible embodiment, the graphical module includes a visualization element module and a data conversion module;

[0108] The target topology data determination module is used to determine the topology data to be generated from the configuration file using the visualization element module; and to perform format conversion operation on the topology data to be generated using the data conversion module to obtain the target topology data.

[0109] In a feasible embodiment, the data conversion module includes a format conversion module and a visual graphics creation module;

[0110] The topological map data to be generated includes a plurality of object information and communication relationship information between the plurality of objects;

[0111] A target topology map data determination module is used to use the format conversion module to convert the multiple object information into multiple object information in a third format; use the format conversion module to convert the communication relationship information between the multiple objects into the communication relationship information between the multiple objects in the third format; use the visualization graphics creation module to determine the graphic type data of the multiple object information based on the multiple object information in the third format; use the visualization graphics creation module to determine the graphic type data of the communication relationship between the multiple objects based on the communication relationship information between the multiple objects in the third format; determine the graphic type data of the multiple object information and the graphic type data of the communication relationship between the multiple objects as the target topology map data.

[0112] In a feasible embodiment, an acquisition module is used to obtain an initial configuration file; the format of the initial configuration file is a fourth format; the initial configuration file includes the topology map data to be generated in the fourth format; the topology map data to be generated in the fourth format is extracted from the initial configuration file, and a data format conversion operation is performed on the topology map data to be generated in the fourth format to obtain the configuration file.

[0113] In a feasible embodiment, the topology map generating device further includes:

[0114] A control request acquisition module, used to acquire a control request for the automotive open system architecture tool module; the control request carries a target library identifier and control data;

[0115] The control module is used to control the running state of the target class library based on the target class library identifier, the control data and the current running state information of the target class library.

[0116] In a feasible embodiment, the topology map generating device further includes:

[0117] A change information acquisition module is used to acquire change information of the target topology map in the target class library; the change information includes a change object and a change communication relationship;

[0118] The adjustment module is used to adjust the corresponding objects and the communication relationship between the objects in the communication module based on the changed objects and the changed communication relationship.

[0119] An embodiment of the present application also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the topology map generation method as described above.

[0120] An embodiment of the present application also provides a computer storage medium, which can be set in a server to store at least one instruction, at least one program, code set or instruction set related to a topology map generation method in an implementation method embodiment, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the above-mentioned topology map generation method.

[0121] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0122] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0123] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0124] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0125] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A method for generating a topology graph in an automotive open system architecture, characterized in that: The following steps are involved: Obtaining a configuration file of an automotive open system architecture tool module; the configuration file includes topology data to be generated; the format of the configuration file is a first format; Using a graphical module to perform a data format conversion operation on the topological map data to be generated, to obtain target topological map data; The format of the target topology map data is the second format; Using the target class library to perform a graph generation operation on the target topology map data to obtain a target topology map; The target topology diagram is used to characterize the communication relationship between objects in the communication module of the automobile open system architecture; the target class library is a class library corresponding to the object-oriented application development framework; Displaying the target topology map on a corresponding display interface; The graphical module includes a visualization element module and a data conversion module; The step of using the graphical module to perform a data format conversion operation on the topology map information to be generated to obtain target topology map data includes: Determining the topology map data to be generated from the configuration file using a visualization element module; the topology map data to be generated includes a plurality of object information and communication relationship information between the plurality of objects; The data conversion module is used to perform format conversion operations on the multiple object information and the communication relationship information between the multiple objects respectively to determine the graphic type data of the multiple object information and the graphic type data of the communication relationship between the multiple objects to obtain the target topology map data.

2. The method for generating a topological map according to claim 1, characterized in that: The first format includes a jason format; The second format is a data format corresponding to the target class library.

3. The method for generating a topological map according to claim 1, characterized in that: The data conversion module includes a format conversion module and a visual graphics creation module; The data conversion module is used to perform format conversion operations on the plurality of object information and the communication relationship information between the plurality of objects respectively, so as to determine the graphic type data of the plurality of object information and the graphic type data of the communication relationship between the plurality of objects, and obtain the target topology map data, including: Using the format conversion module to convert the plurality of object information into a plurality of object information in a third format; Using the format conversion module to convert the communication relationship information between the multiple objects into the communication relationship information between the multiple objects in the third format; Determine, by means of the visualization graphic creation module, graphic type data of the plurality of object information based on the plurality of object information in the third format; Determine, by means of the visualization graph creation module, graph type data of the communication relationship between the plurality of objects based on the communication relationship information between the plurality of objects in the third format; The graph type data of the plurality of object information and the graph type data of the communication relationship between the plurality of objects are determined as the target topology graph data.

4. The method for generating a topological map according to claim 1, characterized in that: The step of obtaining a configuration file of an automotive open system architecture tool module includes: Acquire an initial configuration file; the format of the initial configuration file is a fourth format; the initial configuration file includes the topology map data to be generated in the fourth format; The topology map data to be generated in the fourth format is extracted from the initial configuration file, and a data format conversion operation is performed on the topology map data to be generated in the fourth format to obtain the configuration file.

5. The method for generating a topological map according to claim 1, characterized in that: After displaying the target topology map on the corresponding display interface, the method further includes: Obtaining a control request for the automotive open system architecture tool module; the control request carries a target library identifier and control data; The target class library operation state is controlled based on the target class library identifier, the control data and the current operation state information of the target class library.

6. The method for generating a topological map according to claim 3, characterized in that: After displaying the target topology map on the corresponding display interface, the method further includes: Acquire the change information of the target topology map in the target class library; the change information includes the change object and the change communication relationship; Based on the changed objects and the changed communication relationships, corresponding objects and communication relationships between objects in the communication module are adjusted.

7. A topology map generating device in an automotive open system architecture, characterized in that: include: An acquisition module is used to acquire a configuration file of an automotive open system architecture tool module; the configuration file includes topology data to be generated; the format of the configuration file is a first format; the automotive open system architecture tool module is located in the automotive open system architecture; A target topology data determination module is used to use a graphical module to perform a data format conversion operation on the topology data to be generated to obtain target topology data; The format of the target topology map data is the second format; A target topology map generation module is used to perform a graph generation operation on the target topology map data using a target class library to obtain a target topology map; The target topology graph is used to characterize the communication relationship between objects in the communication module of the automotive open system architecture; A display module, used to display the target topology map on a corresponding display interface; The graphical module includes a visualization element module and a data conversion module; The step of using the graphical module to perform a data format conversion operation on the topology map information to be generated to obtain target topology map data includes: Determining the topology map data to be generated from the configuration file using a visualization element module; the topology map data to be generated includes a plurality of object information and communication relationship information between the plurality of objects; The data conversion module is used to perform format conversion operations on the multiple object information and the communication relationship information between the multiple objects respectively to determine the graphic type data of the multiple object information and the graphic type data of the communication relationship between the multiple objects to obtain the target topology map data.

8. An electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a topology map generation method as described in any one of claims 1 to 6.

9. A computer storage medium, characterized in that: The computer storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement the topology map generating method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • General car code conversion method

    CN102622470A

  • Data visualization system and method based on adaptive platform automobile open system architecture

    CN112810553A