Remote testing method, device, equipment and storage medium of cockpit domain controller
Through remote testing methods, simulated tests and data display of the functional modules of the cockpit domain controller, solving the problem of signal mismatch and functional logic errors in the development of the cockpit domain controller, and achieving a low-cost applicability testing solution.
Patent Information
- Application Number
- CN202210080267.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-24
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-01-24
AI Technical Summary
The cockpit domain controller lacks effective simulation and measurement methods during the development process, resulting in signal mismatch and functional logic errors. The existing simulation and testing equipment is expensive and is not suitable for testing scenarios of cockpit controllers.
Provide a remote testing method for cockpit domain controllers, and realizes simulation test of functional modules associated with cockpit domain controllers on the vehicle through a remote control terminal, generates and displays test data, and uses display modules, instruction generation modules, transceiver modules and The data generation module performs data transmission and display.
It realizes low-cost visual testing of the cockpit domain controller function module, solves the problem of signal mismatch and functional logic errors, and is suitable for simulated test scenarios of cockpit controllers.
Smart Images

Figure CN114510006B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of simulation testing of vehicle functions, and in particular to a remote testing method, device, equipment and storage medium for a cockpit domain controller. Background Art
[0002] In the development process of cockpit software, as the main window for user interaction, many vehicle controls and vehicle setting functions are realized through the central control screen. Therefore, the cockpit software often needs to be debugged with many counterpart ECUs, such as air-conditioning controller, body controller (windows, lights and other functions), auxiliary driving controller, etc. Each controller and the cockpit controller communicate through the CAN (Controller Area Network) protocol.
[0003] In the past, the cockpit domain controller development process lacked effective simulation and debugging methods, which easily led to various signal mismatches and incorrect functional logic problems during the final vehicle function integration. Foreign simulation test equipment such as CANoe is very expensive, often costing hundreds of thousands of RMB, and is difficult to popularize on a large scale. At the same time, since these devices are designed for the entire vehicle, they are not very suitable for the simulation test scenarios of the cockpit controller. Summary of the invention
[0004] In order to solve the above technical problems, the present application discloses a remote testing method for a cockpit domain controller, which can realize simulation testing of various functional modules associated with the cockpit domain controller on the vehicle, and can visualize the test data of each functional module at a low cost.
[0005] In order to achieve the above-mentioned invention object, the present application provides a remote testing method of a cockpit domain controller, which is applied to a remote control terminal, and the method comprises:
[0006] In response to the simulation trigger operation on the target function module, a target function display interface corresponding to the target function module is displayed, wherein the target function display interface displays a plurality of function data information corresponding to the target function module in a preset format;
[0007] In response to a triggering operation on the target function data information in the target function display interface, generating a control instruction corresponding to the target function data information;
[0008] Calling a cockpit control interface to send the control instruction to a cockpit domain controller of the vehicle, and receiving control response information corresponding to the control instruction fed back by the cockpit domain controller;
[0009] Based on the control instruction and the control response information, generating target test data corresponding to the target function data information;
[0010] The target test data is displayed in the target function display interface.
[0011] In some implementations, before displaying the target function display interface corresponding to the target function module in response to the simulated trigger operation on the target function module, the method further includes:
[0012] In response to a trigger operation on a plurality of vehicle function modules, obtaining a network database file corresponding to each vehicle function module;
[0013] Parsing each network database file to obtain node data information and message data information corresponding to each network database file, wherein the message data information includes the plurality of function data information;
[0014] Generate a module entry page document based on the data information of each node and a preset interface template, wherein the module entry interface corresponding to the module entry page document can display the module controls corresponding to each vehicle function module;
[0015] For each message data information, based on the correspondence between the preset data signal type and the functional data information, determine the data display controls corresponding to each functional data information in the message data information from the preset display template, wherein the preset display template includes data display controls corresponding to each data signal type;
[0016] Obtaining data identifiers and initial display data corresponding to each of the functional data information;
[0017] For each piece of functional data information, the data identifier and the initial display data are loaded into the data display control corresponding to the functional data information, and a functional display page document of the corresponding functional module is generated;
[0018] The module entry page document and the function display page document corresponding to each function module are associated and stored.
[0019] In some implementations, in response to the simulation triggering operation on the target function module, displaying the target function display interface corresponding to the target function module includes:
[0020] In response to a simulated trigger operation on a target module control in the module entry interface, determining a function display page document corresponding to the target function module, the target function module corresponding to the target module control;
[0021] The function display page document is parsed and rendered to display the target function display interface corresponding to the target function module.
[0022] In some implementations, calling the cockpit control interface to send the control instruction to a cockpit domain controller of the vehicle, and receiving control response information corresponding to the control instruction fed back by the cockpit domain controller, includes:
[0023] Encapsulating the control instruction to obtain a target signal package corresponding to the target function data information;
[0024] Calling a cockpit control interface to send the target signal package to the cockpit domain controller, and receiving a response information package corresponding to the target signal package fed back by the cockpit domain controller;
[0025] The response information group packet is parsed to obtain control response information corresponding to the control instruction in the target signal group packet.
[0026] In some implementations, the cockpit control interface and the cockpit domain controller perform data transmission based on a controller area network transmission channel or an Ethernet transmission channel.
[0027] In some implementations, determining the target test data corresponding to the target function data information based on the control instruction and the control response information includes:
[0028] Extracting configuration data corresponding to the target function data information from the control instruction;
[0029] Parsing the control response information to obtain response data corresponding to the target function data information;
[0030] The configuration data and the response data are determined as target test data of the target function data information.
[0031] In some implementations, after displaying the target test data in the target function display interface, the method further includes:
[0032] Based on the update configuration data corresponding to the configuration data acquired on the function display interface, generate an update control instruction corresponding to the update configuration data;
[0033] Calling the cockpit control interface to send the update control instruction to the cockpit domain controller, and receiving update control response information corresponding to the update control instruction fed back by the cockpit domain controller;
[0034] Parsing the update control response information to obtain update response data corresponding to the corresponding function data information;
[0035] The configuration data and the response data of the corresponding function data information in the target function display interface are updated respectively with the update configuration data and the update response data.
[0036] The present application also provides a remote test device for a cockpit domain controller, which is applied to a remote control terminal, and the device comprises:
[0037] A first display module, configured to display a target function display interface corresponding to the target function module in response to a simulated trigger operation on the target function module, wherein the target function display interface displays a plurality of function data information corresponding to the target function module in a preset format;
[0038] An instruction generation module, configured to generate a control instruction corresponding to the target function data information in response to a trigger operation on the target function data information in the target function display interface;
[0039] A first transceiver module is used to call a cockpit control interface to send the control instruction to a cockpit domain controller of the vehicle, and receive control response information corresponding to the control instruction fed back by the cockpit domain controller;
[0040] A data generation module, used to generate target test data corresponding to the target function data information based on the control instruction and the control response information;
[0041] The data display module is used to display the target test data in the target function display interface.
[0042] The present application also provides a remote testing device for a cockpit domain controller, the device comprising a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the remote testing method for the cockpit domain controller as described above.
[0043] The present application also provides a computer-readable storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded by a processor and executed by the remote testing method of the cockpit domain controller as described above.
[0044] Implementing the embodiments of the present application has the following beneficial effects:
[0045] The remote testing method of the cockpit domain controller disclosed in the present application can realize simulation testing of various functional modules associated with the cockpit domain controller on the vehicle, and can visualize the test data of each functional module at a low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the remote testing method, device, equipment and storage medium of the cockpit domain controller described in the present application, the drawings required for 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 paying creative labor.
[0047] Figure 1 A schematic diagram of a remote testing system for a cockpit domain controller provided in an embodiment of the present application;
[0048] Figure 2 A flowchart of a method for configuring a test display interface provided in an embodiment of the present application;
[0049] Figure 3a A schematic diagram of a display form of a display control provided in an embodiment of the present application;
[0050] Figure 3b A schematic diagram of a module entry interface provided in an embodiment of the present application;
[0051] Figure 3c A schematic diagram of a function display interface of an air conditioning module provided in an embodiment of the present application;
[0052] Figure 4 A schematic flow chart of a method for determining a first obstacle result provided in an embodiment of the present application;
[0053] Figure 5 A schematic diagram of the structure of a remote testing device for a cockpit domain controller provided in an embodiment of the present application;
[0054] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 making creative work are within the scope of protection of this application.
[0056] 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.
[0057] The following combination Figure 1 The remote testing method of the cockpit domain controller of the present application is introduced, which can be applied to a remote control terminal, and the remote control terminal includes but is not limited to a PC, a mobile terminal, etc. Specifically, it can be an application on the remote control terminal. Correspondingly, the remote testing of the cockpit domain controller is realized through information transmission between the remote control terminal and the cockpit domain controller, and the test data of each functional module can be visualized, and the testing cost is low.
[0058] Please refer to Figure 1 , which shows a flowchart of a remote testing method for a cockpit domain controller provided in an embodiment of the present application. This specification provides method operation steps as described in the embodiment or flowchart, but is based on conventional; or non-creative labor may include more or fewer operation steps. The order of steps listed in the embodiment is only one way of executing the steps among many, and does not represent the only execution order. The remote testing method for the cockpit domain controller can be executed in the order of the methods shown in the embodiment or the accompanying drawings. Specifically, Figure 1 As shown, the method includes:
[0059] S101, in response to a simulated trigger operation on a target function module, displaying a target function display interface corresponding to the target function module, wherein the target function display interface displays a plurality of function data information corresponding to the target function module in a preset format.
[0060] It should be noted that, in the embodiment of the present application, the functional module may be a functional module on the trigger interface corresponding to multiple functions in the vehicle, and the target functional module is a functional module triggered among the multiple functional modules.
[0061] Specifically, each functional module corresponds to a functional display interface; the functional display interface may be pre-configured; correspondingly, each functional module corresponds to multiple functional data information; further, the functional display interface may be used to display multiple functional data information of the corresponding functional module.
[0062] In an optional embodiment of the present application, if the functional module is an air-conditioning module, the corresponding functional data information may include but is not limited to air-conditioning switch data information, air volume level data information, driver seat heating data information, circulation mode data information, and blowing mode data information, etc.
[0063] In the embodiment of the present application, the preset format may be a display format corresponding to a data type of each functional data information in the function display interface and a display layout method of a display format corresponding to each functional data information.
[0064] In an embodiment of the present application, before displaying a target function display interface corresponding to the target function module in response to a simulated trigger operation on the target function module, a step of configuring a test display interface of an application program for testing is also included.
[0065] Specifically, Figure 2 , which is a flow chart of a configuration method of a test display interface provided in an embodiment of the present application; the specific steps are as follows:
[0066] S201, in response to a triggering operation on a plurality of vehicle function modules, obtaining a network database file corresponding to each vehicle function module.
[0067] In the embodiment of the present application, the network database file may include but is not limited to a DBC file; specifically, the DBC file may represent a CAN database file.
[0068] Specifically, each vehicle function module corresponds to a DBC file; correspondingly, the application used for testing in this application can identify the DBC file corresponding to each vehicle function.
[0069] In some embodiments of the present application, in response to a user's triggering operation on multiple vehicle function modules, the DBC files corresponding to each vehicle function module are respectively obtained.
[0070] S202, parsing each network database file to obtain node data information and message data information corresponding to each network database file, wherein the message data information includes the plurality of function data information.
[0071] In an embodiment of the present application, a preset algorithm is used to parse the DBC file to obtain node data information and message data information corresponding to the DBC file; wherein each message data information may include multiple function data information.
[0072] The functional data information may be functional data possessed by a corresponding vehicle functional module.
[0073] S203, generating a module entry page document based on the data information of each node and a preset interface template, wherein the module entry interface corresponding to the module entry page document can display module controls corresponding to each vehicle function module;
[0074] In an embodiment of the present application, the preset interface template may be a pre-set interface template capable of displaying multiple module controls.
[0075] In the embodiment of the present application, for each node data information, a module control corresponding to the node data information can be determined from a preset interface template.
[0076] Obtain the node identifier corresponding to each node data information; specifically, the node identifier may be the name of the node data information.
[0077] For each node data information, the node identifier is loaded into the module control corresponding to the node data information, associated storage is performed, and a module entry page document of the corresponding node data information is generated.
[0078] S204, for each message data information, based on the correspondence between the preset data signal type and the functional data information, determine the data display controls corresponding to each functional data information in the message data information from the preset display template, wherein the preset display template includes data display controls corresponding to each data signal type.
[0079] In the embodiment of the present application, the data signal type corresponding to each piece of functional data information may be determined based on the correspondence between the preset data signal type and the functional data information corresponding to each piece of message data information.
[0080] Specifically, the preset data signal type may be predefined according to the functional signal of the vehicle; exemplary, it may include but is not limited to data type signals, option type signals, Boolean signals and roller type signals;
[0081] Specifically, a data-type signal may be a data signal containing specific numerical values, such as speed, air-conditioning temperature and other information; an option-type signal may be a data signal with multiple selectable numerical values, such as gear information; a Boolean signal may be a data signal that can be selected between two states, such as a switch ON or OFF; a roller-type signal may be a data signal whose value can increase or decrease, such as air-conditioning temperature.
[0082] In the embodiment of the present application, each defined data signal type can also be displayed in the UI interface with different display controls and saved in the interface.
[0083] In some optional embodiments of the present application, the display form of each data signal type in the display control of the UI interface can be as follows: Figure 3a shown.
[0084] For each message data information, a data display control corresponding to each functional data information in the message data information is determined from a preset display template, wherein the preset display template includes a data display control corresponding to each data signal type.
[0085] In an embodiment of the present application, the preset display template may be a pre-set template for displaying various functional data information. Specifically, in the preset template, various functional data information is displayed in the form of data display controls; correspondingly, in the preset template, the number of data display controls can be increased or decreased according to the number of functional data information corresponding to each functional module.
[0086] Specifically, the preset display template includes data display controls corresponding to each data signal type; correspondingly, the data display control corresponding to the functional data information can be determined from the preset interface according to the data signal type corresponding to the functional data information.
[0087] S205, obtaining data identifiers and initial display data corresponding to each functional data information;
[0088] In the embodiment of the present application, the data identifier may be the name of the functional data information; the initial display data may be default display data customized by the user.
[0089] S206, for each piece of functional data information, loading the data identifier and the initial display data into the data display control corresponding to the functional data information, and generating a functional display page document of the corresponding functional module;
[0090] In an embodiment of the present application, the data identifier and initial display data of each functional data information are loaded into the data display control corresponding to the functional data information, and are associated and stored to obtain a functional display page document of the corresponding functional module.
[0091] S207: associate and store the module entry page document with the function display page document corresponding to each function module.
[0092] In an embodiment of the present application, the module controls corresponding to each functional module in the module entry page document are associated and stored with the function display page documents corresponding to each functional module; so that the function display page document corresponding to the functional module can be found in response to the triggering operation of the module controls corresponding to the functional module.
[0093] In an embodiment of the present application, the module entry page document can be parsed and the module entry interface can be displayed in response to a triggering operation on the application.
[0094] Specifically, the trigger operation may be a click operation of the user.
[0095] In some optional embodiments of the present application, such as Figure 3b , which is a schematic diagram of a module entry interface provided in an embodiment of the present application.
[0096] In some optional embodiments of the present application, such as Figure 3c What is described is a schematic diagram of a function display interface of an air-conditioning module provided in an embodiment of the present application; correspondingly, in this embodiment, the air-conditioning module includes functional data information such as air-conditioning switch, cooling switch, front defrost, equal level, blowing mode, circulation mode and driver's seat heating.
[0097] S102, in response to a triggering operation on the target function data information in the target function display interface, generating a control instruction corresponding to the target function data information;
[0098] In the embodiment of the present application, the trigger operation may include but is not limited to a user's click operation, an editing operation, etc.
[0099] Specifically, a corresponding control instruction is generated according to the operation result of the click operation and the operation result of the edit operation.
[0100] S103, calling the cockpit control interface to send the control instruction to the cockpit domain controller of the vehicle, and receiving the control response information corresponding to the control instruction fed back by the cockpit domain controller;
[0101] In an embodiment of the present application, the cockpit control interface can be a transmission interface for data communication between an application for simulation testing and a cockpit domain controller; correspondingly, a control instruction is sent to the cockpit domain controller through the cockpit control interface, so that the cockpit domain controller responds and executes according to the received control instruction, and feeds back the execution response result to the application that issued the control instruction.
[0102] In the embodiment of the present application, the control response information may be an execution response result made by the cockpit domain controller based on the control instruction.
[0103] In some embodiments of the present application, calling a cockpit control interface to send a control instruction to a cockpit domain controller of a vehicle, and receiving control response information corresponding to the control instruction fed back by the cockpit domain controller may specifically include the following steps:
[0104] The control instruction is encapsulated to obtain a target signal package corresponding to the target function data information.
[0105] In an embodiment of the present application, the issued control instruction may be encapsulated to obtain a target signal package corresponding to the control instruction; correspondingly, the target signal package is sent to the cockpit domain controller through the cockpit control interface.
[0106] Calling a cockpit control interface to send the target signal package to the cockpit domain controller, and receiving a response information package corresponding to the target signal package fed back by the cockpit domain controller;
[0107] In an embodiment of the present application, the response information package may be an encapsulated information package of the execution response result made by the cockpit domain controller based on the control instruction; correspondingly, after receiving the target signal package, the cockpit domain controller will parse and process the target signal package to obtain information related to the control instruction, such as the address and other information; and respond according to the relevant information of the control information, and feed back the response structure to the address that sent the control instruction.
[0108] The response information group packet is parsed to obtain control response information corresponding to the control instruction in the target signal group packet.
[0109] In an embodiment of the present application, after receiving a response information package, the response information package will be parsed to obtain information such as an execution response result corresponding to the response information package and a terminal that issues the response execution result; correspondingly, the execution response result obtained by parsing can be determined as control response information corresponding to the control instruction.
[0110] In some embodiments of the present application, the cockpit control interface and the cockpit domain controller may perform data transmission via a controller network transmission channel or perform data transmission based on an Ethernet transmission channel.
[0111] Specifically, the controller network transmission channel may be CAN communication; illustratively, it may be a signal transmission channel based on a CAN box.
[0112] Specifically, the Ethernet transmission channel may be an Ethernet socket signal transmission channel.
[0113] S104, generating target test data corresponding to the target function data information based on the control instruction and the control response information;
[0114] In some embodiments of the present application, the configuration data corresponding to the control instruction and the response data corresponding to the control response information may be determined as target test data; correspondingly, the target test data may be the configuration data received when the application tests the cockpit domain controller and the response data fed back by the cockpit domain controller.
[0115] Specifically, the configuration data corresponding to the target function data information is extracted from the control instruction.
[0116] In the embodiment of the present application, each control instruction corresponds to a configuration data; preferably, the control instruction can be generated based on the configuration data corresponding to the functional data information.
[0117] Parsing the control response information to obtain response data corresponding to the target function data information;
[0118] In an embodiment of the present application, the response data may be result data corresponding to an execution response result made by the cockpit domain controller based on the control instruction; correspondingly, the response data in the control response information may be extracted from the control response information.
[0119] The configuration data and the response data are determined as target test data of the target function data information.
[0120] S105, displaying target test data in the target function display interface;
[0121] In an embodiment of the present application, the target function display interface can display the test data corresponding to each functional data information in the target function module.
[0122] In a preferred embodiment of the present application, taking a functional data information in the air-conditioning function module as an example, such as the temperature adjustment data information for the main driver's side; the function display page can display both the configured heating temperature for the main driver's side and the actual response temperature for the main driver's side; so that the user can obtain the feasibility of the application used for testing based on the target test data.
[0123] In some embodiments of the present application, during the test process, if it is necessary to update or modify the test data displayed in the target function display interface, the test data can be updated or modified. Figure 4 Update the method in .
[0124] Specifically, Figure 4 , which is a flow chart of a data updating method provided in an embodiment of the present application, which specifically includes the following steps.
[0125] S401, based on the update configuration data corresponding to the configuration data acquired on the function display interface, generating an update control instruction corresponding to the update configuration data;
[0126] In the embodiment of the present application, the updated configuration data may be actively changed by the user, or may be automatically changed according to a preset rule; correspondingly, the updated configuration data corresponds to the configuration data.
[0127] S402, calling the cockpit control interface to send the update control instruction to the cockpit domain controller, and receiving the update control response information corresponding to the update control instruction fed back by the cockpit domain controller;
[0128] In an embodiment of the present application, the update control instruction is sent to the cockpit domain controller through the cockpit control interface, so that the cockpit domain controller responds and executes according to the received update control instruction, and feeds back the execution response result to the application that issued the update control instruction.
[0129] In the embodiment of the present application, the update control response information may be an execution response result made by the cockpit domain controller based on the update control instruction.
[0130] Specifically, in the present application, the control instructions may be packaged and then sent to the cockpit domain controller through the cockpit control interface.
[0131] S403, parsing the update control response information to obtain update response data corresponding to the corresponding function data information;
[0132] In the embodiment of the present application, the update response data can be extracted from the update control response information.
[0133] S404, respectively updating the configuration data and the response data of the corresponding function data information in the target function display interface by updating the configuration data and updating the response data.
[0134] In the embodiment of the present application, the configuration data of the corresponding functional data information is updated by updating the configuration data; and the response data corresponding to the functional data information is updated by updating the response data.
[0135] It can be seen from the embodiments of the remote testing method, device, equipment and storage medium of the cockpit domain controller provided by the present application that the embodiments of the present application respond to the simulated trigger operation on the target function module, display the target function display interface corresponding to the target function module, wherein the target function display interface displays multiple function data information corresponding to the target function module in a preset format; in response to the trigger operation on the target function data information in the target function display interface, generate a control instruction corresponding to the target function data information; call the cockpit control interface to send the control instruction to the cockpit domain controller of the vehicle, and receive the control response information corresponding to the control instruction fed back by the cockpit domain controller; based on the control instruction and the control response information, generate target test data corresponding to the target function data information; display the target test data in the target function display interface; using the technical solution provided in the embodiments of this specification, it is possible to realize simulated testing of each function module associated with the cockpit domain controller on the vehicle, and can visualize the test data of each function module, and the cost is relatively low.
[0136] The present application also provides a remote testing device for a cockpit domain controller, such as Figure 5As shown, it is a structural schematic diagram of a remote testing device for a cockpit domain controller provided in an embodiment of the present application; specifically, the device includes:
[0137] The display module 510 is used to display a target function display interface corresponding to the target function module in response to the simulation trigger operation on the target function module, wherein the target function display interface displays multiple function data information corresponding to the target function module in a preset format;
[0138] An instruction generation module 520, configured to generate a control instruction corresponding to the target function data information in response to a trigger operation on the target function data information in the target function display interface;
[0139] The first transceiver module 530 is used to call the cockpit control interface to send the control instruction to the cockpit domain controller of the vehicle, and receive control response information corresponding to the control instruction fed back by the cockpit domain controller;
[0140] A data generating module 540, configured to generate target test data corresponding to the target function data information based on the control instruction and the control response information;
[0141] The data display module 550 is used to display the target test data in the target function display interface.
[0142] In the embodiment of the present application, it also includes:
[0143] A first acquisition module, configured to acquire a network database file corresponding to each vehicle function module in response to a trigger operation on the plurality of vehicle function modules;
[0144] A first parsing module is used to parse each network database file to obtain node data information and message data information corresponding to each network database file, wherein the message data information includes the plurality of function data information;
[0145] A first generating module is used to generate a module entry page document based on the data information of each node and a preset interface template, wherein the module entry interface corresponding to the module entry page document can display the module controls corresponding to each vehicle function module;
[0146] A determination module, configured to determine, for each message data information, from a preset display template, a data display control corresponding to each functional data information in the message data information based on a preset correspondence between the data signal type and the functional data information, wherein the preset display template includes a data display control corresponding to each data signal type;
[0147] A second acquisition module is used to acquire the data identifier and initial display data corresponding to each of the functional data information;
[0148] A second generating module is used to load the data identifier and the initial display data into the data display control corresponding to the functional data information for each functional data information, and generate a functional display page document of the corresponding functional module;
[0149] The storage module is used to associate and store the module entry page document with the function display page document corresponding to each function module.
[0150] In the embodiment of the present application, the display module 510 includes:
[0151] A determination unit, configured to determine, in response to a simulated trigger operation on a target module control in the module entry interface, a function display page document corresponding to the target function module, wherein the target function module corresponds to the target module control;
[0152] The display unit is used to parse and render the function display page document to display the target function display interface corresponding to the target function module.
[0153] In the embodiment of the present application, the first transceiver module 530 includes:
[0154] An encapsulation processing unit, used for encapsulating the control instruction to obtain a target signal package corresponding to the target function data information;
[0155] An information transceiver unit, used to call a cockpit control interface to send the target signal package to the cockpit domain controller, and receive a response information package corresponding to the target signal package fed back by the cockpit domain controller;
[0156] The first parsing unit is used to parse the response information package to obtain the control response information corresponding to the control instruction in the target signal package.
[0157] In the embodiment of the present application, the data generation module 540 includes:
[0158] An extraction unit, used to extract configuration data corresponding to the target function data information from the control instruction;
[0159] A second parsing unit, used for parsing the control response information to obtain response data corresponding to the target function data information;
[0160] A determination unit is used to determine the configuration data and the response data as the target test data of the target function data information.
[0161] In the embodiment of the present application, it also includes:
[0162] An update instruction generation module, configured to generate an update control instruction corresponding to the update configuration data based on the update configuration data corresponding to the configuration data acquired through the function display interface;
[0163] A second transceiver module is used to call the cockpit control interface to send the update control instruction to the cockpit domain controller, and receive update control response information corresponding to the update control instruction fed back by the cockpit domain controller;
[0164] A second parsing module, used for parsing the update control response information to obtain update response data corresponding to the corresponding function data information;
[0165] The data updating module is used to update the configuration data and the response data of the corresponding function data information in the target function display interface respectively with the update configuration data and the update response data.
[0166] It should be noted that the device in the device embodiment and the method embodiment are based on the same inventive concept.
[0167] An embodiment of the present application provides a remote testing device for a cockpit domain controller, the device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by the processor to implement the remote testing method for the cockpit domain controller as described in the above method embodiment.
[0168] Further, Figure 6 The hardware structure diagram of an electronic device for implementing the remote testing method of the cockpit domain controller provided in the embodiment of the present application is shown. The electronic device may participate in or include the remote testing device of the cockpit domain controller provided in the embodiment of the present application. Figure 6 As shown, the electronic device 60 may include one or more (602a, 602b, ..., 602n are used to illustrate) processors 602 (the processor 602 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 604 for storing data, and a transmission device 606 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 6 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 6 More or fewer components as shown, or with Figure 6Different configurations are shown.
[0169] It should be noted that the one or more processors 602 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the electronic device 60 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0170] The memory 604 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the remote testing method of the cockpit domain controller described in the embodiment of the present application. The processor 602 executes various functional applications and data processing by running the software programs and modules stored in the memory 604, that is, to implement the above-mentioned remote testing method of the cockpit domain controller. The memory 604 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 604 may further include a memory remotely arranged relative to the processor 602, and these remote memories may be connected to the electronic device 60 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0171] The transmission device 606 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the electronic device 60. In one example, the transmission device 606 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one embodiment, the transmission device 606 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
[0172] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the electronic device 60 (or mobile device).
[0173] An embodiment of the present application also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to a remote testing method for a cockpit domain controller in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the remote testing method for a cockpit domain controller provided in the above method embodiment.
[0174] 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.
[0175] 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 the present application are described. Other embodiments are within the scope of the appended 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.
[0176] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.
[0177] Each embodiment in this application 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 and electronic device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0178] 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.
[0179] 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 remote testing method for a cockpit domain controller, applied to a remote control terminal, characterized in that: The method includes: In response to the simulation trigger operation on the target function module, a target function display interface corresponding to the target function module is displayed, wherein the target function display interface displays a plurality of function data information corresponding to the target function module in a preset format; In response to a triggering operation on the target function data information in the target function display interface, generating a control instruction corresponding to the target function data information; Calling a cockpit control interface to send the control instruction to a cockpit domain controller of the vehicle, and receiving control response information corresponding to the control instruction fed back by the cockpit domain controller; Based on the control instruction and the control response information, generating target test data corresponding to the target function data information; Displaying the target test data in the target function display interface; Before displaying the target function display interface corresponding to the target function module in response to the simulated trigger operation on the target function module, the method further includes: In response to a trigger operation on a plurality of vehicle function modules, obtaining a network database file corresponding to each vehicle function module; Parsing each network database file to obtain node data information and message data information corresponding to each network database file, wherein the message data information includes the plurality of function data information; Generate a module entry page document based on the data information of each node and a preset interface template, wherein the module entry interface corresponding to the module entry page document can display the module controls corresponding to each vehicle function module; For each message data information, based on the correspondence between the preset data signal type and the functional data information, determine the data display controls corresponding to each functional data information in the message data information from the preset display template, wherein the preset display template includes data display controls corresponding to each data signal type; Obtaining data identifiers and initial display data corresponding to each of the functional data information; For each piece of functional data information, the data identifier and the initial display data are loaded into the data display control corresponding to the functional data information, and a functional display page document of the corresponding functional module is generated; The module entry page document and the function display page document corresponding to each function module are associated and stored.
2. The remote testing method of the cockpit domain controller according to claim 1, characterized in that: In response to the simulation triggering operation on the target function module, displaying the target function display interface corresponding to the target function module includes: In response to a simulated trigger operation on a target module control in the module entry interface, determining a function display page document corresponding to the target function module, the target function module corresponding to the target module control; The function display page document is parsed and rendered to display the target function display interface corresponding to the target function module.
3. The remote testing method of the cockpit domain controller according to claim 1, characterized in that: The calling of the cockpit control interface to send the control instruction to the cockpit domain controller of the vehicle and receiving control response information corresponding to the control instruction fed back by the cockpit domain controller includes: Encapsulating the control instruction to obtain a target signal package corresponding to the target function data information; Calling a cockpit control interface to send the target signal package to the cockpit domain controller, and receiving a response information package corresponding to the target signal package fed back by the cockpit domain controller; The response information group packet is parsed to obtain control response information corresponding to the control instruction in the target signal group packet.
4. The remote testing method of the cockpit domain controller according to claim 1, characterized in that: The cockpit control interface and the cockpit domain controller perform data transmission based on a controller area network transmission channel or an Ethernet transmission channel.
5. The remote testing method of the cockpit domain controller according to claim 1, characterized in that: The generating target test data corresponding to the target function data information based on the control instruction and the control response information includes: Extracting configuration data corresponding to the target function data information from the control instruction; Parsing the control response information to obtain response data corresponding to the target function data information; The configuration data and the response data are determined as target test data of the target function data information.
6. The remote testing method of the cockpit domain controller according to claim 5, characterized in that: After displaying the target test data in the target function display interface, the method further includes: Based on the update configuration data corresponding to the configuration data acquired through the function display interface, generate an update control instruction corresponding to the update configuration data; Calling the cockpit control interface to send the update control instruction to the cockpit domain controller, and receiving update control response information corresponding to the update control instruction fed back by the cockpit domain controller; Parsing the update control response information to obtain update response data corresponding to the corresponding function data information; The configuration data and the response data of the corresponding function data information in the target function display interface are updated respectively with the update configuration data and the update response data.
7. A remote test device for a cockpit domain controller, applied to a remote control terminal, characterized in that: The device comprises: A display module, configured to display a target function display interface corresponding to the target function module in response to a simulated trigger operation on the target function module, wherein the target function display interface displays a plurality of function data information corresponding to the target function module in a preset format; An instruction generation module, configured to generate a control instruction corresponding to the target function data information in response to a trigger operation on the target function data information in the target function display interface; A first transceiver module is used to call a cockpit control interface to send the control instruction to a cockpit domain controller of the vehicle, and receive control response information corresponding to the control instruction fed back by the cockpit domain controller; A data generation module, used to generate target test data corresponding to the target function data information based on the control instruction and the control response information; A data display module, used to display the target test data in the target function display interface; A first acquisition module, configured to acquire a network database file corresponding to each vehicle function module in response to a trigger operation on the plurality of vehicle function modules; A first parsing module is used to parse each network database file to obtain node data information and message data information corresponding to each network database file, wherein the message data information includes the plurality of function data information; A first generating module is used to generate a module entry page document based on the data information of each node and a preset interface template, wherein the module entry interface corresponding to the module entry page document can display the module controls corresponding to each vehicle function module; A determination module, configured to determine, for each message data information, from a preset display template, a data display control corresponding to each functional data information in the message data information based on a preset correspondence between the data signal type and the functional data information, wherein the preset display template includes a data display control corresponding to each data signal type; A second acquisition module is used to acquire the data identifier and initial display data corresponding to each of the functional data information; A second generating module is used to load the data identifier and the initial display data into the data display control corresponding to the functional data information for each functional data information, and generate a functional display page document of the corresponding functional module; The storage module is used to associate and store the module entry page document with the function display page document corresponding to each function module.
8. A remote test device for a cockpit domain controller, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the remote testing method of the cockpit domain controller as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor according to the remote testing method of the cockpit domain controller as described in any one of claims 1 to 6.
