[go: up one dir, main page]

CN116029008A - A file generation method, device, terminal device and storage medium - Google Patents

A file generation method, device, terminal device and storage medium Download PDF

Info

Publication number
CN116029008A
CN116029008A CN202310162420.9A CN202310162420A CN116029008A CN 116029008 A CN116029008 A CN 116029008A CN 202310162420 A CN202310162420 A CN 202310162420A CN 116029008 A CN116029008 A CN 116029008A
Authority
CN
China
Prior art keywords
target
file
data frame
model
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310162420.9A
Other languages
Chinese (zh)
Inventor
孙自雄
范俊波
李宗阳
陈奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunyi Electronic Technology Shanghai Co Ltd
Original Assignee
Kunyi Electronic Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunyi Electronic Technology Shanghai Co Ltd filed Critical Kunyi Electronic Technology Shanghai Co Ltd
Priority to CN202310162420.9A priority Critical patent/CN116029008A/en
Publication of CN116029008A publication Critical patent/CN116029008A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Computer And Data Communications (AREA)

Abstract

本申请实施例公开了一种文件生成方法、装置、终端设备及存储介质,其中,该方法包括:导入目标模型的DBC文件/LDF文件;根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。通过上述方法,无需采用人工编写胶水代码方式实现模型之间的联系,耦合性低,易于实现模块化,且能够兼容适配各种硬件。

Figure 202310162420

The embodiment of the present application discloses a file generation method, device, terminal equipment, and storage medium, wherein the method includes: importing the DBC file/LDF file of the target model; Read to determine the data frame included in the corresponding CAN signal/LIN signal; edit the target data frame in the data frame so that the target data frame is used as the medium for sending and/or receiving the target signal; according to the edit As a result, a JSON file corresponding to the target protocol and the target model is generated. Through the above method, there is no need to manually write glue codes to realize the connection between models, the coupling is low, it is easy to realize modularization, and it can be compatible and adapted to various hardware.

Figure 202310162420

Description

一种文件生成方法、装置、终端设备及存储介质A file generation method, device, terminal device and storage medium

技术领域technical field

本申请涉及硬件在环仿真技术领域,尤其涉及一种文件生成方法、装置、终端设备及存储介质。The present application relates to the technical field of hardware-in-the-loop simulation, and in particular to a file generation method, device, terminal equipment and storage medium.

背景技术Background technique

硬件在环,HIL(Hardware-in-the-Loop),即硬件在回路。硬件在环系统,HIL系统,为硬件在环仿真测试系统,是以实时处理器运行仿真模型来模拟受控对象的运行状态,通过I/O接口与被测的ECU连接,对被测ECU进行全方面的、系统的测试。Hardware in the loop, HIL (Hardware-in-the-Loop), that is, hardware in the loop. The hardware-in-the-loop system, HIL system, is a hardware-in-the-loop simulation test system. It uses a real-time processor to run a simulation model to simulate the running state of the controlled object. It is connected to the ECU under test through the I/O interface, and the ECU under test is Comprehensive and systematic testing.

硬件在环测试系统一般由仿真模型、台架的IO硬件以及待测对象(例如ECU)组成,仿真模型一般由建模软件生成,一般为数学模型,其输入输出与台架的IO硬件板卡本身没有关系,但是由于要进行硬件在环测试,待测对象的信号必须通过台架的IO硬件板卡给到仿真模型。因此,需要建立仿真模型与仿真模型、以及仿真模型与台架的IO硬件之间的直接联系。The hardware-in-the-loop test system generally consists of a simulation model, the IO hardware of the bench, and the object to be tested (such as ECU). The simulation model is generally generated by modeling software, which is generally a mathematical model. It has nothing to do with itself, but because of the hardware-in-the-loop test, the signal of the object under test must be given to the simulation model through the IO hardware board of the bench. Therefore, it is necessary to establish a direct connection between the simulation model and the simulation model, and between the simulation model and the IO hardware of the bench.

现有技术中,建立仿真模型与仿真模型之间的直接联系是通过编写胶水代码的方式实现的。虽然通过胶水代码可以使互相不兼容的模型之间连接并正常工作。但是,这种方式的耦合性强,不易实现模块化,并且,无法兼容适配各种硬件。In the prior art, establishing a direct connection between simulation models is realized by writing glue codes. Although incompatible models can be connected and work properly through glue code. However, this method has strong coupling, is not easy to achieve modularization, and cannot be compatible with various hardware.

发明内容Contents of the invention

本申请实施例提供一种基于HIL的文件生成方法、装置、终端设备及存储介质,用于解决上述背景技术中的问题。Embodiments of the present application provide an HIL-based file generation method, device, terminal device, and storage medium, so as to solve the above-mentioned problems in the background technology.

第一方面,本申请实施例提供一种文件生成方法,所述方法包括:In the first aspect, the embodiment of the present application provides a method for generating a file, the method comprising:

导入目标模型的DBC文件/LDF文件;Import the DBC file/LDF file of the target model;

根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;Read the DBC file/LDF file according to the preset target protocol, and determine the data frame contained in the corresponding CAN signal/LIN signal;

对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;editing the target data frame in the data frame, so that the target data frame is used as a medium for sending and/or receiving a target signal;

根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。Generate a JSON file corresponding to the target protocol and the target model according to the editing result.

第二方面,本申请实施例还提供了一种文件生成装置,所述装置包括:In the second aspect, the embodiment of the present application also provides a file generation device, the device includes:

导入模块,用于导入目标模型的DBC文件/LDF文件;The import module is used to import the DBC file/LDF file of the target model;

确定模块,用于根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;A determining module, configured to read the DBC file/LDF file according to a preset target protocol, and determine the data frame contained in the corresponding CAN signal/LIN signal;

编辑模块,用于对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;An editing module, configured to edit the target data frame in the data frame, so that the target data frame can be used as a medium for sending and/or receiving a target signal;

生成模块,用于根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。A generating module, configured to generate a JSON file corresponding to the target protocol and the target model according to the editing result.

第四方面,本申请实施例还提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述所述的文件生成方法。In a fourth aspect, the embodiment of the present application further provides a storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are adapted to be loaded by a processor to execute the above-mentioned file generation method.

本申请实施例中的文件生成方法,根据预设的目标协议对导入的DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧,并对数据帧中的目标数据帧进行编辑,使得目标数据帧可作为目标信号发送和/或接收的媒介,根据编辑结果生成与目标协议及目标模型对应的JSON文件。通过上述方法,无需采用人工编写胶水代码方式实现模型之间的联系,耦合性低,易于实现模块化,并且能够兼容适配各种硬件。The file generation method in the embodiment of the present application reads the imported DBC file/LDF file according to the preset target protocol, determines the data frame contained in the corresponding CAN signal/LIN signal, and performs the target data frame in the data frame Editing is performed so that the target data frame can be used as a medium for sending and/or receiving target signals, and a JSON file corresponding to the target protocol and target model is generated according to the editing results. Through the above method, there is no need to manually write glue codes to realize the connection between models, the coupling is low, it is easy to realize modularization, and it can be compatible and adapted to various hardware.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本申请实施例提供的一种文件生成方法的流程图。FIG. 1 is a flow chart of a method for generating a file provided by an embodiment of the present application.

图2是本申请实施例提供的一种导入DBC文件的用户界面图。FIG. 2 is a user interface diagram for importing a DBC file provided by the embodiment of the present application.

图3是本申请实施例提供的一种导入LDF文件的用户界面图.Fig. 3 is a user interface diagram for importing LDF files provided by the embodiment of the present application.

图4是本申请实施例提供的一种显示列表的用户界面图。FIG. 4 is a user interface diagram of a display list provided by an embodiment of the present application.

图5a是本申请实施例提供的一种模型编辑的一用户界面图。Fig. 5a is a diagram of a user interface for model editing provided by an embodiment of the present application.

图5b是本申请实施例提供的一种模型编辑的另一用户界面图。Fig. 5b is another user interface diagram of model editing provided by the embodiment of the present application.

图6是本申请实施例提供的一种分组配置的用户界面图。Fig. 6 is a user interface diagram of a grouping configuration provided by an embodiment of the present application.

图7是本申请实施例提供的一种模型配置的用户界面图。Fig. 7 is a user interface diagram of a model configuration provided by the embodiment of the present application.

图8是本申请实施例提供的一种模型配置完成的一用户界面图。Fig. 8 is a user interface diagram of a model configuration provided by the embodiment of the present application.

图9是本申请实施例提供的一种模型配置完成的另一用户界面图。Fig. 9 is another user interface diagram of a model configuration provided by the embodiment of the present application.

图10是本申请实施例提供的一种文件生成装置的一结构示意图。Fig. 10 is a schematic structural diagram of a file generating device provided by an embodiment of the present application.

图11是本申请实施例提供的一种文件生成装置的另一结构示意图。Fig. 11 is another schematic structural diagram of a file generation device provided by an embodiment of the present application.

图12是本申请实施例提供的一种终端设备的结构示意图。FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

在本申请实施例的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请实施例的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are only used for descriptive purposes, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the indicated technical features. quantity. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of said features. In the description of the embodiments of the present application, "plurality" means two or more, unless otherwise specifically defined.

为了使本领域任何技术人员能够实现和使用本申请,给出了以下描述。在以下描述中,为了解释的目的而列出了细节。应当明白的是,本领域普通技术人员可以认识到,在不使用这些特定细节的情况下也可以实现本申请。在其它实例中,不会对公知的过程进行详细阐述,以避免不必要的细节使本申请实施例的描述变得晦涩。因此,本申请并非旨在限于所示的实施例,而是与符合本申请实施例所公开的原理和特征的最广范围相一致。The following description is given to enable any person skilled in the art to make and use the application. In the following description, details are set forth for purposes of explanation. It should be understood that one of ordinary skill in the art would recognize that the present application may be practiced without these specific details. In other instances, well known procedures have not been described in detail to avoid obscuring the description of the embodiments of the present application with unnecessary detail. Therefore, the present application is not intended to be limited to the illustrated embodiments, but to be consistent with the broadest scope consistent with the principles and features disclosed in the embodiments of the present application.

本申请实施例提供一种文件生成方法、装置、终端设备及存储介质,以下将分别进行详细说明。Embodiments of the present application provide a file generation method, device, terminal device, and storage medium, which will be described in detail below.

请参阅图1,图1是本申请实施例提供的一种文件生成方法的流程图,包括以下内容:Please refer to Figure 1, Figure 1 is a flow chart of a file generation method provided in the embodiment of the present application, including the following:

101、导入目标模型的DBC文件/LDF文件。101. Import the DBC file/LDF file of the target model.

102、根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧。102. Read the DBC file/LDF file according to a preset target protocol, and determine a data frame contained in a corresponding CAN signal/LIN signal.

103、对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介。103. Edit the target data frame in the data frame, so that the target data frame is used as a medium for sending and/or receiving a target signal.

设置场景测试需求,根据场景测试需求确定需要生成模型实例的目标模型,从数据库中调取目标模型的DBC文件/LDF文件,将DBC文件/LDF文件导入硬件在环仿真测试系统中,通过硬件在环仿真测试系统生成DBC文件/LDF文件的JSON文件,对JSON文件进行编译,进而生成目标模型的最终目标模型,即生成目标模型的模型实例,通过模型实例进行硬件在环仿真测试。可选的,存储文件的数据库可包括DBC数据库和LDF数据库,DBC数据库中存储的是DBC文件,LDF数据库中存储的是LDF文件。Set the scene test requirements, determine the target model that needs to generate model instances according to the scene test requirements, retrieve the DBC file/LDF file of the target model from the database, import the DBC file/LDF file into the hardware-in-the-loop simulation test system, and use the hardware-in-the-loop The loop simulation test system generates the JSON file of the DBC file/LDF file, compiles the JSON file, and then generates the final target model of the target model, that is, generates a model instance of the target model, and performs hardware-in-the-loop simulation testing through the model instance. Optionally, the database for storing files may include a DBC database and an LDF database, where DBC files are stored in the DBC database, and LDF files are stored in the LDF database.

当导入的文件为DBC文件,对应的目标模型为DBC模型。当导入的文件为LDF文件,对应的目标模型为LDF模型。When the imported file is a DBC file, the corresponding target model is a DBC model. When the imported file is an LDF file, the corresponding target model is an LDF model.

在硬件在环仿真测试系统的用户界面的按键名称一栏输入目标模型的DBC文件/LDF文件的文件名称,再点击用户界面上的导入按键,实现文件的导入。或者,在硬件在环仿真测试系统的用户界面上通过选择操作从数据库中选择目标模型的DBC文件/LDF文件,再点击用户界面上的导入按键,实现文件的导入。Input the file name of the DBC file/LDF file of the target model in the button name column of the user interface of the hardware-in-the-loop simulation test system, and then click the import button on the user interface to realize the import of the file. Or, select the DBC file/LDF file of the target model from the database through a selection operation on the user interface of the hardware-in-the-loop simulation test system, and then click the import button on the user interface to realize file import.

在将文件导入之后,硬件在环仿真测试系统的用户界面上显示相应的界面。如图2所示,为选择目标模型的DBC文件但未导入的用户界面,通过点击用户界面上的导入DBC的按键,实现导入DBC文件。如图3所示,为选择目标模型的LDF文件但未导入的用户界面,通过点击用户界面上的导入LDF的按键,实现导入LDF文件。After the file is imported, the corresponding interface is displayed on the user interface of the hardware-in-the-loop simulation test system. As shown in Figure 2, for the user interface where the DBC file of the target model is selected but not imported, the DBC file can be imported by clicking the import DBC button on the user interface. As shown in Figure 3, for the user interface where the LDF file of the target model is selected but not imported, the LDF file can be imported by clicking the import LDF button on the user interface.

在导入DBC文件/LDF文件之后,硬件在环仿真测试系统对导入的DBC文件/LDF文件进行读取,确定出文件对应的CAN信号/LIN信号包含的数据帧。CAN信号对应的是DBC文件,LIN信号对应的是LDF文件。After the DBC file/LDF file is imported, the hardware-in-the-loop simulation test system reads the imported DBC file/LDF file, and determines the data frame contained in the CAN signal/LIN signal corresponding to the file. The CAN signal corresponds to the DBC file, and the LIN signal corresponds to the LDF file.

示例性的,将目标模型的DBC文件导入硬件在环仿真测试系统,硬件在环仿真测试系统对DBC文件进行读取,通过对应的CAN总线的信息,确定CAN信号包含的数据帧。Exemplarily, the DBC file of the target model is imported into the hardware-in-the-loop simulation test system, and the hardware-in-the-loop simulation test system reads the DBC file, and determines the data frame contained in the CAN signal through the corresponding CAN bus information.

如图4所示,在显示CAN信号包含的数据帧或者LIN信号包含的数据帧的用户界面上,通过显示列表的形式显示包含的每一数据帧的ID标识、名称和类型。通过对数据帧中的目标数据帧的输出和/或输入的设置之后,点击或者勾选某个目标数据帧,会相应显示目标数据帧的信号名以及帧的类型,帧的类型可包括发送帧和接收帧。若某个目标数据帧被设置为对信号进行输出,点击或者勾选该目标数据帧,显示的帧的类型为发送帧。若某个目标数据帧被设置为对信号进行输入,点击或者勾选该目标数据帧,显示的帧的类型为接收帧。若某个目标数据帧被设置为对信号进行输出和输入,点击或者勾选该目标数据帧,显示的帧的类型为发送帧和接收帧。对数据帧进行编辑,即对模型测试节点进行设置,其设置的方式为,首先选择模型DBC文件,在选择完成DBC文件后会在待测节点选择框里列出所有该DBC文件中描述的所有CAN网络节点,然后选择一个CAN网络节点作为测试节点,选定测试节点之后自动在节点接收帧和节点发送帧列表里列出该节点的接收帧和发送帧,确认后将以选择的测试节点的数据帧进行后续的模型编辑,在选定测试节点后,系统将自动为选定的节点的发送帧配置对应的发送分组。As shown in FIG. 4 , on the user interface displaying the data frames included in the CAN signal or the data frames included in the LIN signal, the ID, name and type of each included data frame are displayed in the form of a display list. After setting the output and/or input of the target data frame in the data frame, click or check a certain target data frame, and the signal name and frame type of the target data frame will be displayed accordingly. The frame type can include sending frames and receive frames. If a target data frame is set to output the signal, click or check the target data frame, and the displayed frame type is a send frame. If a target data frame is set to input the signal, click or check the target data frame, and the displayed frame type is a receive frame. If a target data frame is set to output and input signals, click or check the target data frame, and the displayed frame types are send frame and receive frame. Edit the data frame, that is, set the model test node. The way to set it is to first select the model DBC file. After the DBC file is selected, all the parameters described in the DBC file will be listed in the node selection box to be tested. CAN network node, and then select a CAN network node as the test node. After the test node is selected, the receiving frame and sending frame of the node will be automatically listed in the node receiving frame and node sending frame list. After confirmation, the selected test node will be used. The data frame is used for subsequent model editing. After the test node is selected, the system will automatically configure the corresponding sending group for the sending frame of the selected node.

对数据帧中的目标数据帧进行输入输出的编辑设置,如图5a-5b所示,编辑设置方式可包括设为发送帧、设为接收帧、设为收发帧、添加到分组以及从分组中删除等方式。其中,添加到分组的示例为将多个发送帧添加到一个发送分组中。此外,编辑设置方式还可以包括移除,移除的数据帧不参与后续的模型编辑。在设置时,可根据场景测试需求和数据帧的特性信息进行设置。Edit and set the input and output of the target data frame in the data frame, as shown in Figure 5a-5b, the edit setting method can include setting to send frame, set to receive frame, set to send and receive frame, add to group and from group delete etc. Among them, an example of adding to a packet is adding a plurality of transmission frames to one transmission packet. In addition, the editing setting method can also include removing, and the removed data frame does not participate in subsequent model editing. When setting, it can be set according to the scene test requirements and the characteristic information of the data frame.

若对某一目标数据帧的编辑设置方式为发送,则该目标数据帧为输出帧。相应的,若对某一目标数据帧的编辑设置方式为接收,则该目标数据帧为输入帧。或者,若对某一目标数据帧的编辑设置方式为收发,则该目标数据帧为输入输出帧。If the editing setting method for a target data frame is sending, then the target data frame is an output frame. Correspondingly, if the editing setting mode of a target data frame is receiving, the target data frame is an input frame. Or, if the editing setting mode of a certain target data frame is sending and receiving, then the target data frame is an input and output frame.

可选的,在一些实施例中,对数据帧中的目标数据帧进行编辑,以使目标数据帧作为目标信号发送和/或接收的媒介,包括:根据场景测试需求创建任务组,并设置任务组的传输功能,根据传输功能,对数据帧中的目标数据帧进行编辑,将编辑之后的目标数据帧添加到任务组中,通过任务组对目标信号进行发送和/或接收。Optionally, in some embodiments, the target data frame in the data frame is edited so that the target data frame is used as the medium for sending and/or receiving the target signal, including: creating a task group according to the scenario test requirements, and setting the task The transmission function of the group edits the target data frame in the data frame according to the transmission function, adds the edited target data frame to the task group, and sends and/or receives the target signal through the task group.

针对导入的文件为DBC文件,创建任务组实际是创建CAN信号的分组,相应的,设置任务组的传输功能,实际是设置数据帧分组传输的目标信号,以及设置分组用于对目标信号进行输入/输出/输入输出。在对于CAN信号的待丢弃数据帧进行移除,并对CAN信号的目标数据帧进行编辑之后,明确CAN信号保留的数据帧为输入帧、输出帧或输入输出帧中的其中一种。根据设置的传输功能,从保留并完成编辑的数据帧中确定匹配的目标数据帧,将目标数据帧添加到任务组,即将目标数据帧添加到分组中,从而实现对目标信号的输入/输出/输入输出。As the imported file is a DBC file, creating a task group is actually creating a group of CAN signals. Correspondingly, setting the transmission function of the task group is actually setting the target signal for data frame group transmission, and setting the group for inputting the target signal /output/input output. After removing the to-be-discarded data frame of the CAN signal and editing the target data frame of the CAN signal, it is clear that the data frame retained by the CAN signal is one of the input frame, output frame or input-output frame. According to the set transmission function, determine the matching target data frame from the reserved and edited data frames, add the target data frame to the task group, that is, add the target data frame to the group, so as to realize the input/output/ input Output.

可选的,每一数据帧展开之后可具有多个信号,通过这些信号的信息可得知对应的数据帧的特性信息,从而可以根据特性信息以及场景测试需求,从保留并完成编辑的数据帧中确定匹配的目标数据帧添加到任务组中。Optionally, each data frame can have multiple signals after being expanded, and the characteristic information of the corresponding data frame can be obtained through the information of these signals, so that according to the characteristic information and scene test requirements, the edited data frame can be retained and completed Matching target dataframes determined in are added to the task group.

如图6所示,图6的用户界面上显示的是对分组配置的编辑,对应上述的创建任务组,在创建任务组之后,可将匹配的目标数据帧添加到任务组中,并且,可以将任务组中不匹配的目标数据帧从任务组中删除,或者,可将已经添加目标数据帧或者未添加目标数据帧的任务组进行删除。在创建任务组之后,系统根据预设命名规则对任务组设置分组名称,或者,人为设置任务组的分组名称。除了设置任务组的分组名称之外,还可设置任务组的分组标识,即任务组的分组ID。在将匹配的目标数据帧添加到任务组之后,通过分组标识关联任务组及其包含的每一目标数据帧,以便于对任务组的查询和管理。As shown in Figure 6, the user interface in Figure 6 shows the editing of the grouping configuration, corresponding to the above-mentioned task group creation, after the task group is created, the matching target data frame can be added to the task group, and can The unmatched target data frames in the task group are deleted from the task group, or the task groups that have added target data frames or have not added target data frames can be deleted. After the task group is created, the system sets a group name for the task group according to a preset naming rule, or manually sets the group name of the task group. In addition to setting the group name of the task group, the group identifier of the task group may also be set, that is, the group ID of the task group. After the matching target data frame is added to the task group, the associated task group and each target data frame included are identified by grouping, so as to facilitate query and management of the task group.

针对导入的文件为LDF文件,创建任务组以及设置任务组的传输功能,实际是创建符合预设目标的任务,并设置任务传输的目标信号、设置任务用于对目标信号进行输入/输出/输入输出以及设置任务类型。其中,任务类型包括主任务、初始化任务和冲突解决任务。For the imported file is an LDF file, create a task group and set the transmission function of the task group, actually create a task that meets the preset target, set the target signal for task transmission, and set the task to input/output/input the target signal Output and set task type. Among them, the task types include main task, initialization task and conflict resolution task.

可选的,在一些实施例中,若导入的文件为LDF文件,根据场景测试需求创建任务组,并设置任务组的传输功能,包括:获取与LDF文件对应的可配置的模型生成模式以及模拟节点,并获取所述LDF文件中描述的LIN网络节点,根据场景测试需求,从模型生成模式中确定目标模型的目标生成模式,根据所述目标生成模式,从所述LIN网络节点中确定所述目标模型的模拟节点,根据目标生成模式和模拟节点,创建目标模型的任务组,并设置任务组的传输功能。Optionally, in some embodiments, if the imported file is an LDF file, create a task group according to the scenario test requirements, and set the transfer function of the task group, including: obtaining a configurable model generation mode and simulation corresponding to the LDF file node, and obtain the LIN network node described in the LDF file, determine the target generation mode of the target model from the model generation mode according to the scene test requirements, and determine the target generation mode from the LIN network node according to the target generation mode The simulation node of the target model creates a task group of the target model according to the target generation mode and the simulation node, and sets the transfer function of the task group.

其中,在确定出目标生成模式之后,从LDF文件中描述的LIN网络节点中确定模拟节点,LIN网络节点分为主节点和从节点。Among them, after determining the target generation mode, determine the simulated nodes from the LIN network nodes described in the LDF file, and the LIN network nodes are divided into master nodes and slave nodes.

如图7所示,在导入LDF文件之后,可创建模式选择,在创建模式选择对应的用户界面上,显示可配置的模型生成模式和模拟节点,模型生成模式包括主模式、从模式和主从模式,模拟节点根据实际需要进行设定,由LDF文件定义。其中,模拟节点是LDF文件定义的一个通信节点,为LIN网络节点中的主节点或从节点。根据目标生成模式确定模拟节点,包括:主模式选择LDF文件描述的LIN网络节点中的主节点作为模拟节点,同时可编辑主节点的调度任务;从模式选择LDF文件描述的LIN网络节点中的一个从节点作为模拟节点,可编辑该节点的收发帧;主从模式选择LDF文件描述的LIN网络节点中的一个从节点作为模拟节点,同时可编辑主节点的调度任务。在用户界面上选择其中的一个模型生成模式作为目标生成模式,根据目标生成模式选择LIN网络节点中的主节点或从节点作为模拟节点。在选择出目标生成模式和模拟节点之后,通过点击确认按键实现设置LDF文件对应的目标模型的目标生成模式和模拟节点。As shown in Figure 7, after the LDF file is imported, a mode selection can be created. On the user interface corresponding to the creation mode selection, configurable model generation modes and simulation nodes are displayed. The model generation modes include master mode, slave mode and master-slave Mode, the simulation node is set according to the actual needs, defined by the LDF file. Among them, the analog node is a communication node defined by the LDF file, which is the master node or slave node in the LIN network nodes. Determine the simulation node according to the target generation mode, including: select the master node in the LIN network node described in the LDF file as the simulation node in the master mode, and edit the scheduling task of the master node at the same time; select one of the LIN network nodes described in the LDF file in the slave mode The slave node is used as a simulation node, and the sending and receiving frames of the node can be edited; in the master-slave mode, one of the LIN network nodes described in the LDF file is selected as a simulation node, and the scheduling tasks of the master node can be edited at the same time. Select one of the model generation modes on the user interface as the target generation mode, and select the master node or slave node in the LIN network nodes as the simulation node according to the target generation mode. After selecting the target generation mode and simulation node, click the confirm button to realize setting the target generation mode and simulation node of the target model corresponding to the LDF file.

如图8所示,图8的用户界面中包括有消息发送栏和消息接收栏,消息发送栏和消息接收栏用于对发送/接收消息进行配置。可以认为,消息发送栏用于创建具有发送信号的功能的任务,该任务可对应一个输出信号的目标数据帧,也可以对应多个输出信号的目标数据帧。消息接收栏用于创建具有接收信号的功能的任务,该任务可对应一个输入信号的目标数据帧,也可以对应多个输入信号的目标数据帧。As shown in FIG. 8 , the user interface in FIG. 8 includes a message sending column and a message receiving column, and the message sending column and the message receiving column are used to configure sending/receiving messages. It can be considered that the message sending column is used to create a task with the function of sending a signal, and this task may correspond to a target data frame of an output signal, or may correspond to multiple target data frames of an output signal. The message receiving column is used to create a task with the function of receiving a signal. This task can correspond to the target data frame of one input signal, or can correspond to the target data frames of multiple input signals.

在设置时,可对LDF文件的LIN信号包含的目标数据帧进行编辑设置,编辑设置方式可包括发送、接收和收发。对LIN信号包含的目标数据帧进行编辑设置,以确定目标数据帧的输入输出,从而形成对应的目标模型的端口。在对目标数据帧进行编辑设置之后,根据场景测试需求,在消息发送栏或消息接收栏创建任务组,并将一个或者多个编辑设置之后的目标数据帧添加到任务栏中,使得每个任务组可对目标信号进行发送和/或接收。When setting, you can edit and set the target data frame contained in the LIN signal of the LDF file, and the editing and setting methods can include sending, receiving, and sending and receiving. Edit and set the target data frame contained in the LIN signal to determine the input and output of the target data frame, thereby forming the port of the corresponding target model. After editing and setting the target data frame, according to the scene test requirements, create a task group in the message sending column or message receiving column, and add one or more target data frames after editing and setting to the task column, so that each task Groups can send and/or receive signals of interest.

在消息发送栏或消息接收栏创建任务组之后,可对创建的任务组进行修改和删除。并且,设置任务组的名称、任务标识以及目标信号的发送者/接收者。其中,当任务组创建于消息发送栏,则任务组包含的目标数据帧作为发送者,用于发送目标信号,而目标信号的接收端作为接收者。其中,当任务组创建于消息接收栏,则任务组包含的目标数据帧作为接收者,用于接收目标信号,而目标信号的发送端作为发送者。After the task group is created in the message sending column or message receiving column, the created task group can be modified and deleted. And, set the name of the task group, the task ID, and the sender/receiver of the target signal. Among them, when the task group is created in the message sending column, the target data frame contained in the task group is used as the sender to send the target signal, and the receiver of the target signal is used as the receiver. Among them, when the task group is created in the message receiving column, the target data frame contained in the task group is used as the receiver to receive the target signal, and the sender of the target signal is used as the sender.

可选的,在一些实施例中,在上述将编辑之后的目标数据帧添加到任务组中,通过任务组对目标信号进行发送和/或接收之后,还包括:根据传输功能,确定任务组的任务类型,任务类型包括主任务、初始化任务和冲突解决任务,将任务组添加到与任务类型匹配的调度表中。其中,主任务是主节点的主要调度任务由多个主调度表组成,用于在模型运行时调度数据帧在总线上的传输,主任务的多个主调度表按照顺序执行。初始化任务包含一个初始化调度表,执行初始化任务。冲突解决任务包含多个冲突解决调度表,与事件触发的数据帧绑定,当事件触发的数据帧发生冲突时,执行对应的冲突解决调度表。Optionally, in some embodiments, after adding the edited target data frame to the task group and sending and/or receiving the target signal through the task group, it also includes: determining the Task type, the task type includes main task, initialization task and conflict resolution task, and the task group is added to the schedule matching the task type. Among them, the main task is the main scheduling task of the master node, which is composed of multiple main scheduling tables, which are used to schedule the transmission of data frames on the bus when the model is running, and the multiple main scheduling tables of the main task are executed in order. The initialization task contains an initialization schedule table to execute the initialization task. The conflict resolution task includes multiple conflict resolution schedules, which are bound to the event-triggered data frame. When the event-triggered data frame conflicts, the corresponding conflict resolution schedule is executed.

如图9所示,图9中与调度表对应的用户界面中显示有主任务栏、初始任务栏和冲突解决任务栏这三种任务栏。在创建任务组并设置任务组的传输功能之后,可根据场景创建需求,将任务组添加到调度表中与其任务类型匹配的任务栏中,即将任务组添加到匹配的调度表中对应的任务栏。As shown in FIG. 9 , the user interface corresponding to the scheduling table in FIG. 9 displays three types of task bars: a main task bar, an initial task bar and a conflict resolution task bar. After creating a task group and setting the transfer function of the task group, the task group can be added to the task column matching its task type in the scheduling table according to the scene creation requirements, that is, the task group is added to the corresponding task column in the matching scheduling table .

在将任务组添加到匹配的调度表中对应的任务栏之后,在后续的处理进程中,根据预先设定的任务处理规则,对主任务栏、初始任务栏和冲突解决任务栏中的任务组进行处理。After the task group is added to the corresponding task column in the matching schedule, in the subsequent processing process, according to the preset task processing rules, the task groups in the main task column, initial task column and conflict resolution task column to process.

104、根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。104. Generate a JSON file corresponding to the target protocol and the target model according to the editing result.

由于在读取DBC文件/LDF文件时,是根据预设的目标协议进行文件读取的,对DBC文件/LDF文件读取之后确定其对应的信号包含的数据帧,并对数据帧中的目标数据帧进行编辑,使得编辑之后的目标数据帧对目标信号进行发送和/或接收,从而生成对应的JSON文件,则生成的JSON文件的文件协议为目标协议,生成的JSON文件与目标模型对应。可选的,目标协议可以为Schema协议。Since the file is read according to the preset target protocol when reading the DBC file/LDF file, the data frame contained in the corresponding signal is determined after the DBC file/LDF file is read, and the target in the data frame The data frame is edited so that the edited target data frame sends and/or receives the target signal, thereby generating a corresponding JSON file. The file protocol of the generated JSON file is the target protocol, and the generated JSON file corresponds to the target model. Optionally, the target protocol may be a Schema protocol.

该目标协议可理解为至少可定义出以下内容的协议:The target protocol can be understood as a protocol that can define at least the following content:

DBC文件中CAN信号中数据帧的读取方式;例如该从什么位置读取什么数据帧;How to read the data frame in the CAN signal in the DBC file; for example, what data frame should be read from where;

LDF文件中LIN信号中数据帧的读取方式;例如该从什么位置读取什么数据帧;How to read the data frame in the LIN signal in the LDF file; for example, what data frame should be read from where;

针对CAN信号、LIN信号中数据帧所能编辑的各种信息与相应JSON文件中代码的关系;例如所编辑得到的信息(即编辑结果中的信息)该写在JSON文件的什么位置、该如何对信息进行描述等至少之一。The relationship between the various information that can be edited for the data frame in CAN signal and LIN signal and the code in the corresponding JSON file; for example, where and how should the edited information (that is, the information in the editing result) be written in the JSON file At least one of describing information and the like.

此外,该目标协议还可针对LDF模型、DBC模型之外的其他仿真模型,定义不同模型类别的模型所需配置的可配置信息、不可配置信息以及可配置信息的格式条件。In addition, the target protocol can also define configurable information, non-configurable information, and format conditions of configurable information required by models of different model categories for simulation models other than LDF models and DBC models.

进而,方法还可包括:Furthermore, the method may also include:

确定非目标模型(即非LDF模型、非DBC模型)的仿真模型的第一JSON文件,其中,所述第一JSON文件用于定义生成所述仿真模型的模型文件包所需配置的至少一个可配置信息和不可配置信息;例如确定所述目标模型的模型类别;根据目标协议以及所述仿真模型的模型类别产生所述第一JSON文件,其中,所述协议用于定义不同模型类别的模型所需配置的可配置信息、不可配置信息以及所述可配置信息的格式条件;Determine the first JSON file of the simulation model of the non-target model (i.e. non-LDF model, non-DBC model), wherein the first JSON file is used to define at least one configuration required to generate the model file package of the simulation model Configuration information and non-configurable information; for example, determine the model category of the target model; generate the first JSON file according to the target protocol and the model category of the simulation model, wherein the protocol is used to define the model requirements of different model categories Configurable information to be configured, non-configurable information, and format conditions of the configurable information;

对所述第一JSON文件所定义的可配置信息的内容进行配置,生成所述目标模型的第二JSON文件,其中,所述第二JSON文件用于描述所述目标模型的所有可配置信息和不可配置信息;Configuring the content of the configurable information defined in the first JSON file to generate a second JSON file of the target model, wherein the second JSON file is used to describe all configurable information and non-configurable information;

基于所述第二JSON文件编译生成所述仿真模型的模型文件包。Compiling and generating a model file package of the simulation model based on the second JSON file.

其中的仿真模型可例如模拟量输出处理模型、模拟量输入模型、数字量输出模型、数字量输入模型、PWM信号输入模型、PWM信号输出模型、以太网模型、计时器模型、socket模型、自定义模型以及第三方模型中的任意一个。The simulation model can be, for example, analog output processing model, analog input model, digital output model, digital input model, PWM signal input model, PWM signal output model, Ethernet model, timer model, socket model, custom model and any of the third-party models.

进而,可以通过目标协议,标准化地预先定义好DBC文件、LDF文件(及其他仿真模型所对应文件、信息)该如何使用并最终形成可供编译的JSON文件,有效提高了对DBC模型、LDF模型(及其他模型)的生成效率,降低开发人员的工作负担,其中,只需调用协议即可满足生成的需求,无需单独针对模型的生成需求人工编写大量代码实现,同时,可有助于以标准化的方式保障所生成的DBC模型、LDF模型的有效性。Furthermore, through the target protocol, how to use DBC files and LDF files (and other files and information corresponding to simulation models) can be standardized and pre-defined, and finally form a JSON file that can be compiled, which effectively improves the understanding of DBC models and LDF models. (and other models) generation efficiency, reducing the workload of developers, among them, only need to call the protocol to meet the generation requirements, no need to manually write a large number of codes for the generation requirements of the model, and at the same time, it can help to standardize The method ensures the validity of the generated DBC model and LDF model.

可选的,在一些实施例中,若导入的文件为DBC文件,在根据编辑结果生成与目标协议及目标模型对应的JSON文件之后,还包括:对JSON文件进行编译,生成目标模型的最终目标模型,并生成与任务组对应的最终目标模型的可调度对象,将可调度对象注册到目标系统,使得可调度对象可被调用。其中,可调度对象是可被目标系统调度的对象,在目标系统里表现为一个可执行函数,调度即执行该可执行函数,可调度对象可被目标系统事件激活执行。Optionally, in some embodiments, if the imported file is a DBC file, after generating the JSON file corresponding to the target protocol and the target model according to the editing results, it also includes: compiling the JSON file to generate the final target of the target model model, and generate the schedulable object of the final target model corresponding to the task group, register the schedulable object to the target system, so that the schedulable object can be called. Among them, the schedulable object is an object that can be scheduled by the target system, which is represented as an executable function in the target system, and the scheduling means executing the executable function, and the schedulable object can be activated and executed by the target system event.

生成的JSON文件为未配置参数的文件,需要对生成的JSON文件进行参数配置以及编译,生成可被台架解析运行的模型文件包,通过模型文件包生成目标模型的最终目标模型,即生成目标模型的模型实例,并生成与创建的任务组对应的最终目标模型的可调度对象。将可调度对象注册到MRTD系统(模型运行时驱动系统)中,使得可调度对象可被与最终目标模型或者其它模型对应的目标系统的目标系统事件激活执行。The generated JSON file is a file with no parameters configured. It is necessary to configure and compile the parameters of the generated JSON file to generate a model file package that can be parsed and run by the bench. The final target model of the target model is generated through the model file package, that is, the generated target A model instance of the model and produces a schedulable object of the final target model corresponding to the created task group. Register the schedulable object into the MRTD system (Model Runtime Driven System), so that the schedulable object can be activated and executed by the target system event of the target system corresponding to the final target model or other models.

可选的,在一些实施例中,在将可调度对象注册到目标系统,使得可调度对象可被调用之后,还包括:当接收到与可调度对象对应的系统事件,从目标系统中调用可调度对象,通过可调度对象对与系统事件对应的目标信号进行发送和/或接收。Optionally, in some embodiments, after registering the schedulable object in the target system so that the schedulable object can be called, it further includes: when receiving a system event corresponding to the schedulable object, calling the schedulable object from the target system The scheduling object is used to send and/or receive the target signal corresponding to the system event through the schedulable object.

系统事件可以是最终目标模型发生的事件,也可以是其它与MRTD系统连接的模型发生的事件。System events can be events that occur in the final target model, or events that occur in other models connected to the MRTD system.

本申请实施例的文件生成方法,包括:导入目标模型的DBC文件/LDF文件;根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。通过本申请实施例的方法,无需采用人工编写胶水代码方式实现模型之间的联系,耦合性低,易于实现模块化,并且能够兼容适配各种硬件。The file generation method of the embodiment of the present application includes: importing the DBC file/LDF file of the target model; reading the DBC file/LDF file according to the preset target protocol, and determining the data contained in the corresponding CAN signal/LIN signal frame; edit the target data frame in the data frame, so that the target data frame is used as the medium for sending and/or receiving the target signal; generate JSON corresponding to the target protocol and the target model according to the editing result document. Through the method of the embodiment of the present application, there is no need to manually write glue codes to realize the connection between the models, the coupling is low, it is easy to realize modularization, and it can be compatible and adapted to various hardware.

一种实施例中,在上位机中,也可以通过以下过程确定模型间数据端口的连接关系:In one embodiment, in the host computer, the connection relationship of data ports between models can also be determined through the following process:

确定待连接的目标仿真模型(以上是所提及的目标模型、仿真模型中任意一个或两个)中可供连接的数据端口;Determine the data ports available for connection in the target simulation model to be connected (the above is any one or both of the mentioned target model and simulation model);

确定所述目标数据端口的端口描述信息;determining port description information of the target data port;

根据所述端口描述信息和预设的端口连接规则,确定所述目标数据端口间的连接关系,以使得在所述目标仿真模型工作时,基于所述连接关系进行信号传输。确定连接关系的过程可先响应于用户在相应界面的操作而实现,该过程中,可基于端口描述信息、端口连接规则对用户操作的结果进行限制、调整或验证。According to the port description information and preset port connection rules, the connection relationship between the target data ports is determined, so that when the target simulation model is working, signal transmission is performed based on the connection relationship. The process of determining the connection relationship can be implemented in response to the user's operation on the corresponding interface. In this process, the result of the user's operation can be limited, adjusted or verified based on the port description information and port connection rules.

以上过程中,除了需保障连接数据端口的所述端口描述信息中的数据类型需要相同,数据传输方向需要相对应之外;一种举例中,可以根据所述端口描述信息,确定所述目标数据端口是否具有队列属性;再根据所述端口连接规则,确定所述连接关系中不具有队列属性且作为输入端口的目标数据端口仅连接一个目标数据端口。进而,若用户操作而实现的连接关系不符合,则可禁止、取消该连接关系的确定,也可提示该连接关系的异常。In the above process, in addition to ensuring that the data types in the port description information of the connected data port need to be the same, and the data transmission direction needs to be corresponding; in one example, the target data can be determined according to the port description information Whether the port has a queue attribute; then according to the port connection rules, determine that the target data port that does not have the queue attribute in the connection relationship and is an input port is only connected to one target data port. Furthermore, if the connection relationship realized by the user's operation does not match, the confirmation of the connection relationship can be prohibited or canceled, and an abnormality of the connection relationship can also be prompted.

队列属性也可理解为队列标识,用于标识出相应端口是否允许连接多个目标数据端口,进一步的,也可理解为:对应的仿真模型中,是否设计了这样一种机制,即:基于队列,针对所连接的不同数据端口输入(或输出)的数据进行依次处理的机制。The queue attribute can also be understood as a queue identifier, which is used to identify whether the corresponding port allows multiple target data ports to be connected. Further, it can also be understood as: whether such a mechanism is designed in the corresponding simulation model, that is, based on the queue , a mechanism for sequentially processing data input (or output) from different connected data ports.

一种实施方式中,在确定两个需要连接的目标仿真模型之后,若假定两个目标仿真模型为第一目标仿真模型与第二目标仿真模型,也可通过以下步骤确定出目标数据端口及其连接关系:In one embodiment, after determining the two target simulation models that need to be connected, if the two target simulation models are assumed to be the first target simulation model and the second target simulation model, the target data port and its Connection relationship:

获取第一目标仿真模型这一类仿真模型与第二目标仿真模型这一类仿真模型的一条或多条经验信息;经验信息表征出两类模型间的数据端口过去发生过的一种连接方式;Acquiring one or more pieces of empirical information on the simulation model of the first target simulation model and the simulation model of the second target simulation model; the empirical information represents a connection mode that has occurred in the data port between the two types of models in the past;

若经验信息的数量为多条,则可统计每条经验信息发生的次数;再基于次数,在界面中提示出候选连接关系,例如可将连接关系描述出来,然后按照次数从大到小顺序显示;进而,可响应于用户对建议连接关系的操作而确定出最终的连接关系,即以上所涉及的连线操作可以是用户对推荐连线的操作。If there are multiple pieces of experience information, the number of occurrences of each piece of experience information can be counted; then based on the number of times, the candidate connection relationship can be prompted in the interface, for example, the connection relationship can be described, and then displayed in descending order of the number of times Furthermore, the final connection relationship may be determined in response to the user's operation on the suggested connection relationship, that is, the connection operation mentioned above may be the user's operation on the recommended connection relationship.

通过以上方式,可借鉴过去连接关系的连接经验,提高连接的效率,同时,避免或减轻经验尚浅的工程师连线时的错漏。Through the above methods, the connection experience of the past connection relationship can be used for reference to improve the efficiency of the connection, and at the same time, avoid or reduce the mistakes and omissions of the engineers who are still inexperienced when connecting.

进一步的一种举例中,每条经验信息还可配置相映射的场景标识,用于标识出测试的场景的特性,例如对底盘域控制器进行测试的场景、对智驾域控制器进行测试的场景等等,场景的特性也不仅限于基于域的区分,例如还可包括被测控制器的厂商、用途等等。In a further example, each piece of experience information can also be configured with a corresponding scene identification, which is used to identify the characteristics of the test scene, such as the test scene of the chassis domain controller, the test scene of the smart driving domain controller Scenarios and the like, the features of the scenarios are not limited to domain-based distinctions, for example, they may also include the manufacturer and purpose of the controller under test, and so on.

进而,获取两类模型的一条或多条经验信息的过程中,可以仅获取场景标识与当前测试的场景完全相同或部分相同的经验信息。Furthermore, in the process of acquiring one or more pieces of experience information of the two types of models, only the experience information whose scenario identifier is completely or partially identical to the currently tested scenario may be acquired.

进而,可将相关性较强的连接记录应用于本次测试,保障推荐连线是有一定助益的。尤其可适配应用于HIL的集群化测试过程中变化的多变的测试任务、测试需求,提高效率。Furthermore, connection records with strong correlation can be applied to this test, and it is helpful to ensure the recommended connection. In particular, it can be adapted to changing and changing test tasks and test requirements in the cluster test process applied to HIL to improve efficiency.

请参阅图10,图10是本申请实施例提供的一种文件生成装置的一结构示意图,该文件生成装置200包括以下模块:Please refer to FIG. 10. FIG. 10 is a schematic structural diagram of a file generation device provided by an embodiment of the present application. The file generation device 200 includes the following modules:

导入模块201,用于导入目标模型的DBC文件/LDF文件。The import module 201 is used to import the DBC file/LDF file of the target model.

确定模块202,用于根据预设的目标协议对DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧。The determining module 202 is configured to read the DBC file/LDF file according to the preset target protocol, and determine the data frame included in the corresponding CAN signal/LIN signal.

编辑模块203,用于根据场景测试需求,对数据帧中的目标数据帧进行编辑,以使目标数据帧作为目标信号发送和/或接收的媒介。The editing module 203 is configured to edit the target data frame in the data frame according to the scene test requirement, so that the target data frame can be used as a medium for sending and/or receiving target signals.

生成模块204,用于根据编辑结果生成与目标协议及目标模型对应的JSON文件。The generating module 204 is configured to generate a JSON file corresponding to the target protocol and the target model according to the editing result.

可选的,文件生成装置200还可包括以下模块:Optionally, the file generation device 200 may also include the following modules:

列表生成模块,用于基于数据帧生成对应的显示列表。The list generation module is used to generate a corresponding display list based on the data frame.

移除模块,用于确定数据帧中待丢弃的数据帧,将待丢弃的数据帧从显示列表中移除。The removal module is configured to determine the data frame to be discarded in the data frame, and remove the data frame to be discarded from the display list.

其中,列表生成模块执行在上述确定模块202之后。Wherein, the list generating module is executed after the above-mentioned determining module 202 .

可选的,编辑模块203可包括以下子模块:Optionally, the editing module 203 may include the following submodules:

第一创建子模块,用于根据场景测试需求创建任务组,并设置任务组的传输功能。The first sub-module is created, which is used to create a task group according to the scenario test requirements, and set the transmission function of the task group.

帧编辑子模块,用于根据传输功能,对数据帧中的目标数据帧进行编辑。The frame editing sub-module is used to edit the target data frame in the data frame according to the transmission function.

帧添加子模块,用于将编辑之后的目标数据帧添加到任务组中,通过任务组对目标信号进行发送和/或接收。The frame adding submodule is used to add the edited target data frame to the task group, and send and/or receive the target signal through the task group.

可选的,对应于上述第一创建子模块、帧编辑子模块和帧添加子模块的设置,文件生成装置200还可包括以下模块:Optionally, corresponding to the settings of the above-mentioned first creating submodule, frame editing submodule and frame adding submodule, the file generation device 200 may further include the following modules:

模型生成模块,用于对JSON文件进行编译,生成目标模型的最终目标模型,并生成与任务组对应的最终目标模型的可调度对象。The model generating module is used to compile the JSON file, generate the final target model of the target model, and generate a schedulable object of the final target model corresponding to the task group.

注册模块,用于将可调度对象注册到目标系统,使得可调度对象可被调用。The registration module is used to register the schedulable object to the target system, so that the schedulable object can be called.

调用模块,用于当接收到与可调度对象对应的系统事件,从目标系统中调用可调度对象,通过可调度对象对与系统事件对应的目标信号进行发送和/或接收。The calling module is configured to call the schedulable object from the target system when the system event corresponding to the schedulable object is received, and send and/or receive the target signal corresponding to the system event through the schedulable object.

可选的,若导入模块201导入的文件是LDF文件,上述第一创建子模块可包括以下子模块:Optionally, if the file imported by the import module 201 is an LDF file, the above-mentioned first creation submodule may include the following submodules:

获取子模块,用于获取与LDF文件对应的可配置的模型生成模式,并获取LDF文件中描述的LIN网络节点。The obtaining submodule is used to obtain the configurable model generation mode corresponding to the LDF file, and obtain the LIN network nodes described in the LDF file.

第一确定子模块,用于根据场景测试需求,从模型生成模式中确定目标模型的目标生成模式。The first determination sub-module is used to determine the target generation mode of the target model from the model generation modes according to the scene test requirements.

第二确定子模块,用于根据目标生成模式,从LIN网络节点中确定目标模型的模拟节点。The second determination sub-module is used to determine the simulation nodes of the target model from the LIN network nodes according to the target generation mode.

第二创建子模块,用于根据目标生成模式和模拟节点,创建目标模型的任务组,并设置任务组的传输功能。The second creation sub-module is used to create the task group of the target model according to the target generation mode and the simulation node, and set the transfer function of the task group.

可选的,对应于上述获取子模块、第一确定子模块、第二确定子模块和第二创建子模块的设置,文件生成装置200还可包括以下模块:Optionally, corresponding to the settings of the acquisition submodule, the first determination submodule, the second determination submodule and the second creation submodule, the file generation device 200 may further include the following modules:

任务确定模块,用于根据传输功能,确定任务组的任务类型,任务类型包括主任务、初始化任务和冲突解决任务;The task determination module is used to determine the task type of the task group according to the transmission function, and the task type includes a main task, an initialization task and a conflict resolution task;

任务添加模块,用于将任务组添加到与任务类型匹配的调度表中。The task adding module is used to add the task group to the schedule matching the task type.

其中,任务确定模块执行在上述帧添加子模块之后。Wherein, the task determining module is executed after the above-mentioned frame adding submodule.

可选的,本申请实施例的文件生成装置200还可用包括其它模块以及子模块,在此不再赘述。Optionally, the file generating apparatus 200 in the embodiment of the present application may also include other modules and sub-modules, which will not be repeated here.

本申请实施例的文件生成装置200,包括:导入模块201,用于导入目标模型的DBC文件/LDF文件;确定模块202,用于根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;编辑模块203,用于对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;生成模块204,用于根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。通过本申请实施例的装置,无需采用人工编写胶水代码方式实现模型之间的联系,耦合性低,易于实现模块化,并且能够兼容适配各种硬件。The file generation device 200 of the embodiment of the present application includes: an import module 201, which is used to import the DBC file/LDF file of the target model; a determination module 202, which is used to read the DBC file/LDF file according to the preset target protocol Get, determine the data frame that corresponding CAN signal/LIN signal comprises; Edit module 203, be used for editing the target data frame in described data frame, make described target data frame send and/or receive as target signal Media; generating module 204, configured to generate a JSON file corresponding to the target protocol and the target model according to the editing result. Through the device of the embodiment of the present application, there is no need to manually write glue codes to realize the connection between the models, the coupling is low, it is easy to realize modularization, and it can be compatible and adapted to various hardware.

请参阅图11,图11是本申请实施例提供的文件生成装置的另一结构示意图,文件生成装置200包括存储器120、一个或多个处理器180、以及一个或多个应用程序,其中该一个或多个应用程序被存储于该存储器120中,并配置为由该处理器180执行;该处理器180可以包括导入模块201、确定模块202、编辑模块203和生成模块204。例如,以上各个部件的结构和连接关系可以如下:Please refer to FIG. 11. FIG. 11 is another schematic structural diagram of a file generation device provided by an embodiment of the present application. The file generation device 200 includes a memory 120, one or more processors 180, and one or more application programs, wherein the one or a plurality of application programs are stored in the memory 120 and configured to be executed by the processor 180; For example, the structure and connection relationship of the above components can be as follows:

存储器120可用于存储应用程序和数据。存储器120存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器180通过运行存储在存储器120的应用程序,从而执行各种功能应用以及文件生成方法的各个步骤。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180对存储器120的访问。The memory 120 can be used to store applications and data. The application programs stored in the memory 120 include executable codes. Applications can be composed of various functional modules. The processor 180 executes various functional applications and steps of the file generation method by running the application program stored in the memory 120 . In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 120 may further include a memory controller to provide the processor 180 with access to the memory 120 .

处理器180是装置的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器120内的应用程序,以及调用存储在存储器120内的数据,执行装置的各种功能和处理数据,从而对装置进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等。The processor 180 is the control center of the device. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing the application program stored in the memory 120 and calling the data stored in the memory 120, various functions of the device are executed. function and process data for overall monitoring of the installation. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. .

具体在本实施例中,处理器180会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器120中,并由处理器180来运行存储在存储器120中的应用程序,从而实现各种功能:Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the executable code stored in the memory 120. applications to achieve various functions:

导入目标模型的DBC文件/LDF文件;Import the DBC file/LDF file of the target model;

根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;Read the DBC file/LDF file according to the preset target protocol, and determine the data frame contained in the corresponding CAN signal/LIN signal;

对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;editing the target data frame in the data frame, so that the target data frame is used as a medium for sending and/or receiving a target signal;

根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。Generate a JSON file corresponding to the target protocol and the target model according to the editing result.

在一些实施例中,在所述确定对应的CAN信号/LIN信号包含的数据帧之后,所述方法还包括:In some embodiments, after the determination of the data frame contained in the corresponding CAN signal/LIN signal, the method further includes:

基于所述数据帧生成对应的显示列表;generating a corresponding display list based on the data frame;

确定所述数据帧中待丢弃的数据帧,将所述待丢弃的数据帧从所述显示列表中移除。Determine the data frames to be discarded in the data frames, and remove the data frames to be discarded from the display list.

在一些实施例中,所述对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介,包括:In some embodiments, the editing of the target data frame in the data frame, so that the target data frame is used as a medium for target signal transmission and/or reception, includes:

根据场景测试需求创建任务组,并设置所述任务组的传输功能;Create a task group according to the scenario test requirements, and set the transmission function of the task group;

根据所述传输功能,对所述数据帧中的目标数据帧进行编辑;Editing the target data frame in the data frame according to the transmission function;

将编辑之后的所述目标数据帧添加到所述任务组中,通过所述任务组对目标信号进行发送和/或接收。The edited target data frame is added to the task group, and the target signal is sent and/or received through the task group.

在一些实施例中,若导入的文件为DBC文件,在所述根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件之后,所述方法还包括:In some embodiments, if the imported file is a DBC file, after the JSON file corresponding to the target protocol and the target model is generated according to the editing result, the method further includes:

对所述JSON文件进行编译,生成所述目标模型的最终目标模型,并生成与所述任务组对应的所述最终目标模型的可调度对象;Compiling the JSON file, generating a final target model of the target model, and generating a schedulable object of the final target model corresponding to the task group;

将所述可调度对象注册到目标系统,使得所述可调度对象可被调用。The schedulable object is registered with the target system so that the schedulable object can be called.

在一些实施例中,在所述将所述可调度对象注册到目标系统,使得所述可调度对象可被调用之后,所述方法还包括:In some embodiments, after registering the schedulable object with the target system so that the schedulable object can be called, the method further includes:

当接收到与所述可调度对象对应的系统事件,从所述目标系统中调用所述可调度对象,通过所述可调度对象对与所述系统事件对应的目标信号进行发送和/或接收。When a system event corresponding to the schedulable object is received, the schedulable object is called from the target system, and the target signal corresponding to the system event is sent and/or received through the schedulable object.

在一些实施例中,若导入的文件为LDF文件,所述根据场景测试需求创建任务组,并设置所述任务组的传输功能,包括:In some embodiments, if the imported file is an LDF file, the task group is created according to the scenario test requirements, and the transfer function of the task group is set, including:

获取与所述LDF文件对应的可配置的模型生成模式,并获取所述LDF文件中描述的LIN网络节点;Obtain a configurable model generation mode corresponding to the LDF file, and obtain the LIN network nodes described in the LDF file;

根据场景测试需求,从所述模型生成模式中确定所述目标模型的目标生成模式;Determining the target generation mode of the target model from the model generation modes according to the scenario test requirements;

根据所述目标生成模式,从所述LIN网络节点中确定所述目标模型的模拟节点;determining simulation nodes of the target model from the LIN network nodes according to the target generation mode;

根据所述目标生成模式和所述模拟节点,创建所述目标模型的任务组,并设置所述任务组的传输功能。A task group of the target model is created according to the target generation mode and the simulation node, and a transmission function of the task group is set.

在一些实施例中,在所述将编辑之后的所述目标数据帧添加到所述任务组中,通过所述任务组对目标信号进行发送和/或接收之后,所述方法还包括:In some embodiments, after adding the edited target data frame to the task group and sending and/or receiving the target signal through the task group, the method further includes:

根据所述传输功能,确定所述任务组的任务类型,所述任务类型包括主任务、初始化任务和冲突解决任务;determining a task type of the task group according to the transfer function, where the task type includes a main task, an initialization task, and a conflict resolution task;

将所述任务组添加到与所述任务类型匹配的调度表中。Add the task group to the schedule matching the task type.

本申请实施例还提供一种终端设备。所述终端设备可以是服务器、智能手机、电脑、平板电脑等设备。The embodiment of the present application also provides a terminal device. The terminal device may be a server, a smart phone, a computer, a tablet computer or the like.

请参阅图12,图12是本申请实施例提供的一种终端设备的结构示意图,该终端设备1200可以用于实施上述实施例中提供的文件生成方法。该终端设备1200可以为智能手机或平板电脑。Please refer to FIG. 12 . FIG. 12 is a schematic structural diagram of a terminal device provided in an embodiment of the present application. The terminal device 1200 can be used to implement the method for generating a file provided in the above embodiment. The terminal device 1200 may be a smart phone or a tablet computer.

如图12所示,终端设备1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图12中示出的终端设备1200结构并不构成对终端设备1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:As shown in Figure 12, a terminal device 1200 may include an RF (Radio Frequency, radio frequency) circuit 110, a memory 120 including one or more (only one is shown in the figure) computer-readable storage medium, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more (only one is shown in the figure) processing cores, a power supply 190 and other components. Those skilled in the art can understand that the structure of the terminal device 1200 shown in FIG. 12 does not constitute a limitation on the terminal device 1200, and may include more or less components than those shown in the figure, or combine certain components, or different components. layout. in:

RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。The RF circuit 110 is used to receive and send electromagnetic waves, realize mutual conversion between electromagnetic waves and electrical signals, and communicate with communication networks or other devices. The RF circuit 110 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and the like. The RF circuit 110 can communicate with various networks such as the Internet, intranet, wireless network, or communicate with other devices through the wireless network.

存储器120可用于存储软件程序以及模块,如上述实施例中文件生成方法对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及文件生成方法的各个步骤。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至终端设备1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 120 can be used to store software programs and modules, such as program instructions/modules corresponding to the file generation method in the above-mentioned embodiments, and the processor 180 executes various functional applications and file generation by running the software programs and modules stored in the memory 120 steps of the method. The memory 120 may include high-speed random access memory, and may also include 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 120 may further include a memory that is remotely located relative to the processor 180, and these remote memories may be connected to the terminal device 1200 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触控显示屏或者触控板,可收集用户在其上或附近的触控操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触控检测装置和触控控制器两个部分。其中,触控检测装置检测用户的触控方位,并检测触控操作带来的信号,将信号传送给触控控制器;触控控制器从触控检测装置上接收触控信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132 . The touch-sensitive surface 131, also referred to as a touch screen or a touchpad, can collect user touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch-sensitive surface 131 or near the touch-sensitive surface 131), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface 131 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and sends it It is converted into contact coordinates and then sent to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131 , the input unit 130 may also include other input devices 132 . Specifically, other input devices 132 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端设备1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid CrystalDisplay,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触控操作后,传送给处理器180以确定触控事件的类型,随后处理器180根据触控事件的类型在显示面板141上提供相应的视觉输出。虽然在图12中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information input by or provided to the user and various graphical user interfaces of the terminal device 1200. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode), and the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation on or near it, the touch operation is sent to the processor 180 to determine the type of the touch event, and then the processor 180 determines the type of the touch event according to the touch operation. According to the type of control event, a corresponding visual output is provided on the display panel 141. Although in FIG. 12 , the touch-sensitive surface 131 and the display panel 141 are used as two independent components to realize input and output functions, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize input. and output functions.

终端设备1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端设备1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal device 1200 may further include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 when the terminal device 1200 moves to the ear. and/or backlighting. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, and infrared sensor that can also be configured on terminal device 1200, here No longer.

音频电路160、扬声器161,传声器162可提供用户与终端设备1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端设备1200的通信。The audio circuit 160 , the speaker 161 and the microphone 162 can provide an audio interface between the user and the terminal device 1200 . The audio circuit 160 can transmit the electrical signal converted from the received audio data to the loudspeaker 161, and the loudspeaker 161 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earplug jack to provide communication between an external earphone and the terminal device 1200 .

终端设备1200通过传输模块170(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图12示出了传输模块170,但是可以理解的是,其并不属于终端设备1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。The terminal device 1200 can help the user to send and receive e-mails, browse the web, access streaming media, etc. through the transmission module 170 (such as a Wi-Fi module), and it provides users with wireless broadband Internet access. Although FIG. 12 shows the transmission module 170, it can be understood that it is not an essential component of the terminal device 1200, and can be completely omitted as required without changing the essence of the invention.

处理器180是终端设备1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端设备1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the terminal device 1200, and uses various interfaces and lines to connect various parts of the entire mobile phone, by running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120 , execute various functions and process data of the terminal device 1200, so as to monitor the mobile phone as a whole. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and applications, etc., and the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 180 .

终端设备1200还包括给各个部件供电的电源190,在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal device 1200 also includes a power supply 190 for supplying power to various components. In some embodiments, the power supply can be logically connected to the processor 180 through the power management system, so as to implement functions such as discharge management and power consumption management through the power management system. The power supply 190 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

尽管未示出,终端设备1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,终端设备1200的显示单元140是触控屏显示器,终端设备1200还包括有存储器120,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器120中,且经配置以由一个或者一个以上处理器180执行一个或者一个以上程序包含用于进行以下操作的步骤:Although not shown, the terminal device 1200 may also include a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be repeated here. Specifically in this embodiment, the display unit 140 of the terminal device 1200 is a touch screen display, and the terminal device 1200 also includes a memory 120 and one or more programs, wherein one or more programs are stored in the memory 120, and One or more programs configured to be executed by one or more processors 180 include steps for:

导入目标模型的DBC文件/LDF文件;Import the DBC file/LDF file of the target model;

根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;Read the DBC file/LDF file according to the preset target protocol, and determine the data frame contained in the corresponding CAN signal/LIN signal;

对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;editing the target data frame in the data frame, so that the target data frame is used as a medium for sending and/or receiving a target signal;

根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。Generate a JSON file corresponding to the target protocol and the target model according to the editing result.

在一些实施例中,在所述确定对应的CAN信号/LIN信号包含的数据帧之后,所述方法还包括:In some embodiments, after the determination of the data frame contained in the corresponding CAN signal/LIN signal, the method further includes:

基于所述数据帧生成对应的显示列表;generating a corresponding display list based on the data frame;

确定所述数据帧中待丢弃的数据帧,将所述待丢弃的数据帧从所述显示列表中移除。Determine the data frames to be discarded in the data frames, and remove the data frames to be discarded from the display list.

在一些实施例中,所述对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介,包括:In some embodiments, the editing of the target data frame in the data frame, so that the target data frame is used as a medium for target signal transmission and/or reception, includes:

根据场景测试需求创建任务组,并设置所述任务组的传输功能;Create a task group according to the scenario test requirements, and set the transmission function of the task group;

根据所述传输功能,对所述数据帧中的目标数据帧进行编辑;Editing the target data frame in the data frame according to the transmission function;

将编辑之后的所述目标数据帧添加到所述任务组中,通过所述任务组对目标信号进行发送和/或接收。The edited target data frame is added to the task group, and the target signal is sent and/or received through the task group.

在一些实施例中,若导入的文件为DBC文件,在所述根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件之后,所述方法还包括:In some embodiments, if the imported file is a DBC file, after the JSON file corresponding to the target protocol and the target model is generated according to the editing result, the method further includes:

对所述JSON文件进行编译,生成所述目标模型的最终目标模型,并生成与所述任务组对应的所述最终目标模型的可调度对象;Compiling the JSON file, generating a final target model of the target model, and generating a schedulable object of the final target model corresponding to the task group;

将所述可调度对象注册到目标系统,使得所述可调度对象可被调用。The schedulable object is registered with the target system so that the schedulable object can be called.

在一些实施例中,在所述将所述可调度对象注册到目标系统,使得所述可调度对象可被调用之后,所述方法还包括:In some embodiments, after registering the schedulable object with the target system so that the schedulable object can be called, the method further includes:

当接收到与所述可调度对象对应的系统事件,从所述目标系统中调用所述可调度对象,通过所述可调度对象对与所述系统事件对应的目标信号进行发送和/或接收。When a system event corresponding to the schedulable object is received, the schedulable object is called from the target system, and the target signal corresponding to the system event is sent and/or received through the schedulable object.

在一些实施例中,若导入的文件为LDF文件,所述根据场景测试需求创建任务组,并设置所述任务组的传输功能,包括:In some embodiments, if the imported file is an LDF file, the task group is created according to the scenario test requirements, and the transfer function of the task group is set, including:

获取与所述LDF文件对应的可配置的模型生成模式,并获取所述LDF文件中描述的LIN网络节点;Obtain a configurable model generation mode corresponding to the LDF file, and obtain the LIN network nodes described in the LDF file;

根据场景测试需求,从所述模型生成模式中确定所述目标模型的目标生成模式;Determining the target generation mode of the target model from the model generation modes according to the scenario test requirements;

根据所述目标生成模式,从所述LIN网络节点中确定所述目标模型的模拟节点;determining simulation nodes of the target model from the LIN network nodes according to the target generation mode;

根据所述目标生成模式和所述模拟节点,创建所述目标模型的任务组,并设置所述任务组的传输功能。A task group of the target model is created according to the target generation mode and the simulation node, and a transmission function of the task group is set.

在一些实施例中,在所述将编辑之后的所述目标数据帧添加到所述任务组中,通过所述任务组对目标信号进行发送和/或接收之后,所述方法还包括:In some embodiments, after adding the edited target data frame to the task group and sending and/or receiving the target signal through the task group, the method further includes:

根据所述传输功能,确定所述任务组的任务类型,所述任务类型包括主任务、初始化任务和冲突解决任务;determining a task type of the task group according to the transfer function, where the task type includes a main task, an initialization task, and a conflict resolution task;

将所述任务组添加到与所述任务类型匹配的调度表中。Add the task group to the schedule matching the task type.

本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,所述计算机执行上述任一实施例所述的文件生成方法。An embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program is run on a computer, the computer executes the file generation method described in any one of the above embodiments.

需要说明的是,对本申请所述文件生成方法而言,本领域普通测试人员可以理解实现本申请实施例所述文件生成方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读存储介质中,如存储在终端设备的存储器中,并被该终端设备内的至少一个处理器执行,在执行过程中可包括如所述文件生成方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储器(ROM,ReadOnly Memory)、随机存取记忆体(RAM,Random Access Memory)等。It should be noted that, for the file generation method described in this application, ordinary testers in the field can understand that all or part of the process of realizing the file generation method described in the embodiment of this application can be completed by controlling related hardware through computer programs , the computer program may be stored in a computer-readable storage medium, such as stored in a memory of a terminal device, and executed by at least one processor in the terminal device, and the execution process may include the file generation method as described in The flow of the embodiment. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM, ReadOnly Memory), a random access memory (RAM, Random Access Memory), etc.

对本申请实施例的所述文件生成装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the file generating device in the embodiment of the present application, each functional module may be integrated into one processing chip, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium, such as read-only memory, magnetic disk or optical disk.

以上对本申请实施例所提供的文件生成方法、装置、终端设备及存储介质进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The file generation method, device, terminal device, and storage medium provided in the embodiments of the present application have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the application. The description of the above embodiments is only used to help understand the method and core idea of the application; meanwhile, for those skilled in the art, according to the application Thoughts, specific implementation methods and application ranges all have changes. In summary, the content of this specification should not be construed as limiting the application.

Claims (10)

1.一种文件生成方法,其特征在于,所述方法包括:1. A method for generating files, characterized in that the method comprises: 导入目标模型的DBC文件/LDF文件;Import the DBC file/LDF file of the target model; 根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;Read the DBC file/LDF file according to the preset target protocol, and determine the data frame contained in the corresponding CAN signal/LIN signal; 对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;editing the target data frame in the data frame, so that the target data frame is used as a medium for sending and/or receiving a target signal; 根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。Generate a JSON file corresponding to the target protocol and the target model according to the editing result. 2.根据权利要求1所述的文件生成方法,其特征在于,在所述确定对应的CAN信号/LIN信号包含的数据帧之后,所述方法还包括:2. The file generation method according to claim 1, wherein, after the data frame that the corresponding CAN signal/LIN signal comprises, the method also includes: 基于所述数据帧生成对应的显示列表;generating a corresponding display list based on the data frame; 确定所述数据帧中待丢弃的数据帧,将所述待丢弃的数据帧从所述显示列表中移除。Determine the data frames to be discarded in the data frames, and remove the data frames to be discarded from the display list. 3.根据权利要求1所述的文件生成方法,其特征在于,所述对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介,包括:3. The file generating method according to claim 1, wherein the target data frame in the data frame is edited so that the target data frame is used as a medium for target signal transmission and/or reception, include: 根据场景测试需求创建任务组,并设置所述任务组的传输功能;Create a task group according to the scenario test requirements, and set the transmission function of the task group; 根据所述传输功能,对所述数据帧中的目标数据帧进行编辑;Editing the target data frame in the data frame according to the transmission function; 将编辑之后的所述目标数据帧添加到所述任务组中,通过所述任务组对目标信号进行发送和/或接收。The edited target data frame is added to the task group, and the target signal is sent and/or received through the task group. 4.根据权利要求3所述的文件生成方法,其特征在于,若导入的文件为DBC文件,在所述根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件之后,所述方法还包括:4. The file generating method according to claim 3, wherein, if the imported file is a DBC file, after the JSON file corresponding to the target protocol and the target model is generated according to the editing result, the Methods also include: 对所述JSON文件进行编译,生成所述目标模型的最终目标模型,并生成与所述任务组对应的所述最终目标模型的可调度对象;Compiling the JSON file, generating a final target model of the target model, and generating a schedulable object of the final target model corresponding to the task group; 将所述可调度对象注册到目标系统,使得所述可调度对象可被调用。The schedulable object is registered with the target system so that the schedulable object can be called. 5.根据权利要求4所述的文件生成方法,其特征在于,在所述将所述可调度对象注册到目标系统,使得所述可调度对象可被调用之后,所述方法还包括:5. The file generation method according to claim 4, characterized in that, after registering the schedulable object to the target system so that the schedulable object can be called, the method further comprises: 当接收到与所述可调度对象对应的系统事件,从所述目标系统中调用所述可调度对象,通过所述可调度对象对与所述系统事件对应的目标信号进行发送和/或接收。When a system event corresponding to the schedulable object is received, the schedulable object is called from the target system, and the target signal corresponding to the system event is sent and/or received through the schedulable object. 6.根据权利要求3所述的文件生成方法,其特征在于,若导入的文件为LDF文件,所述根据场景测试需求创建任务组,并设置所述任务组的传输功能,包括:6. The file generation method according to claim 3, wherein if the imported file is an LDF file, the task group is created according to the scene test requirements, and the transfer function of the task group is set, including: 获取与所述LDF文件对应的可配置的模型生成模式,并获取所述LDF文件中描述的LIN网络节点;Obtain a configurable model generation mode corresponding to the LDF file, and obtain the LIN network nodes described in the LDF file; 根据场景测试需求,从所述模型生成模式中确定所述目标模型的目标生成模式;Determining the target generation mode of the target model from the model generation modes according to the scenario test requirements; 根据所述目标生成模式,从所述LIN网络节点中确定所述目标模型的模拟节点;determining simulation nodes of the target model from the LIN network nodes according to the target generation mode; 根据所述目标生成模式和所述模拟节点,创建所述目标模型的任务组,并设置所述任务组的传输功能。A task group of the target model is created according to the target generation mode and the simulation node, and a transmission function of the task group is set. 7.根据权利要求6所述的文件生成方法,其特征在于,在所述将编辑之后的所述目标数据帧添加到所述任务组中,通过所述任务组对目标信号进行发送和/或接收之后,所述方法还包括:7. The file generating method according to claim 6, characterized in that, adding the edited target data frame to the task group, the target signal is sent and/or through the task group After receiving, the method also includes: 根据所述传输功能,确定所述任务组的任务类型,所述任务类型包括主任务、初始化任务和冲突解决任务;determining a task type of the task group according to the transfer function, where the task type includes a main task, an initialization task, and a conflict resolution task; 将所述任务组添加到与所述任务类型匹配的调度表中。Add the task group to the schedule matching the task type. 8.一种文件生成装置,其特征在于,所述装置包括:8. A file generation device, characterized in that the device comprises: 导入模块,用于导入目标模型的DBC文件/LDF文件;The import module is used to import the DBC file/LDF file of the target model; 确定模块,用于根据预设的目标协议对所述DBC文件/LDF文件进行读取,确定对应的CAN信号/LIN信号包含的数据帧;A determining module, configured to read the DBC file/LDF file according to a preset target protocol, and determine the data frame contained in the corresponding CAN signal/LIN signal; 编辑模块,用于根据场景测试需求,对所述数据帧中的目标数据帧进行编辑,以使所述目标数据帧作为目标信号发送和/或接收的媒介;An editing module, configured to edit the target data frame in the data frame according to the scene test requirements, so that the target data frame can be used as a medium for sending and/or receiving target signals; 生成模块,用于根据编辑结果生成与所述目标协议及所述目标模型对应的JSON文件。A generating module, configured to generate a JSON file corresponding to the target protocol and the target model according to the editing result. 9.一种终端设备,其特征在于,包括存储器和处理器,所述存储器用于存储指令和数据,所述处理器用于执行权利要求1-7任一项所述的文件生成方法。9. A terminal device, characterized by comprising a memory and a processor, the memory is used to store instructions and data, and the processor is used to execute the file generating method according to any one of claims 1-7. 10.一种存储介质,其特征在于,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行权利要求1-7任一项所述的文件生成方法。10. A storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are adapted to be loaded by a processor to execute the file generation method according to any one of claims 1-7.
CN202310162420.9A 2023-02-23 2023-02-23 A file generation method, device, terminal device and storage medium Pending CN116029008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310162420.9A CN116029008A (en) 2023-02-23 2023-02-23 A file generation method, device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310162420.9A CN116029008A (en) 2023-02-23 2023-02-23 A file generation method, device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN116029008A true CN116029008A (en) 2023-04-28

Family

ID=86091480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310162420.9A Pending CN116029008A (en) 2023-02-23 2023-02-23 A file generation method, device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN116029008A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07264264A (en) * 1990-10-31 1995-10-13 Ando Electric Co Ltd Communication protocol analyzer and analyzing method
US8280948B1 (en) * 2004-06-08 2012-10-02 Persony Inc. System and method for enabling online collaboration amongst a plurality of terminals using a web server
US8600726B1 (en) * 2008-04-16 2013-12-03 Maneesh Varshney System and method for virtualization of networking system software via emulation
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Multi-protocol-based communication method, multi-protocol gateway device and storage medium
CN112559470A (en) * 2020-12-04 2021-03-26 北京车和家信息技术有限公司 File format conversion method and device, storage medium and electronic equipment
CN113824621A (en) * 2021-09-22 2021-12-21 石家庄通合电子科技股份有限公司 CAN communication method based on signals and CAN controller
CN114201346A (en) * 2021-10-25 2022-03-18 合众新能源汽车有限公司 HIL (hardware-in-the-loop) testing method and device of CAN (controller area network) communication interface and electronic equipment
WO2022141506A1 (en) * 2020-12-31 2022-07-07 华为技术有限公司 Method for constructing simulation scene, simulation method and device
CN115664980A (en) * 2022-12-09 2023-01-31 长沙科梁科技有限公司 Simulation model generation method, simulation method, storage medium, and terminal device
CN116226419A (en) * 2022-12-23 2023-06-06 北京彩漩科技有限公司 Browsing method, device, electronic device and storage medium of a ppt file

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07264264A (en) * 1990-10-31 1995-10-13 Ando Electric Co Ltd Communication protocol analyzer and analyzing method
US8280948B1 (en) * 2004-06-08 2012-10-02 Persony Inc. System and method for enabling online collaboration amongst a plurality of terminals using a web server
US8600726B1 (en) * 2008-04-16 2013-12-03 Maneesh Varshney System and method for virtualization of networking system software via emulation
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Multi-protocol-based communication method, multi-protocol gateway device and storage medium
CN112559470A (en) * 2020-12-04 2021-03-26 北京车和家信息技术有限公司 File format conversion method and device, storage medium and electronic equipment
WO2022141506A1 (en) * 2020-12-31 2022-07-07 华为技术有限公司 Method for constructing simulation scene, simulation method and device
CN113824621A (en) * 2021-09-22 2021-12-21 石家庄通合电子科技股份有限公司 CAN communication method based on signals and CAN controller
CN114201346A (en) * 2021-10-25 2022-03-18 合众新能源汽车有限公司 HIL (hardware-in-the-loop) testing method and device of CAN (controller area network) communication interface and electronic equipment
CN115664980A (en) * 2022-12-09 2023-01-31 长沙科梁科技有限公司 Simulation model generation method, simulation method, storage medium, and terminal device
CN116226419A (en) * 2022-12-23 2023-06-06 北京彩漩科技有限公司 Browsing method, device, electronic device and storage medium of a ppt file

Similar Documents

Publication Publication Date Title
US8694968B2 (en) System for creating personalized and customized mobile devices
CN108345543B (en) Data processing method, device, equipment and storage medium
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN109947650B (en) Script step processing method, device and system
CN107958365B (en) Material information changing method and device, storage medium and electronic equipment
CN111752826A (en) An interface testing method, device, electronic device and storage medium
CN111130891A (en) Server management device and method, electronic equipment and storage medium
CN108039963B (en) Container configuration method and device and storage medium
CN117971397B (en) Model processing method, device, terminal equipment and storage medium
CN109840201B (en) UI test method, device, electronic equipment and computer readable storage medium
CN108874653B (en) Task testing method, tester, shared server and readable storage medium
CN115801715A (en) Method, device, medium and equipment for automatic message sending based on instant messaging
CN114707793A (en) Emergency plan generation method and device, storage medium and electronic equipment
CN110442361A (en) A kind of gray scale dissemination method, device and electronic equipment
CN114764325A (en) Service logic generation method, device and terminal
CN114064447A (en) Interface test method and device, storage medium and terminal
CN115589432A (en) Message push management method, device, medium and equipment
CN116112556A (en) Data processing method, device, medium and equipment
CN115756881A (en) Data processing method, device, equipment and storage medium based on SDK
CN116029008A (en) A file generation method, device, terminal device and storage medium
CN105631059A (en) Data processing method, data processing device and data processing system
CN108874381B (en) A method, device and electronic device for outputting page view controller
CN112286524B (en) Graphical configuration method and device of LQCD program, electronic equipment and storage medium
CN115470233A (en) Service parameter management method, device, electronic equipment and storage medium
CN115543314A (en) A report generation method, device, equipment and storage medium

Legal Events

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