CN117555581A - Method, device, equipment and storage medium for generating calibration description file - Google Patents

Method, device, equipment and storage medium for generating calibration description file Download PDF

Info

Publication number
CN117555581A
CN117555581A CN202311423403.2A CN202311423403A CN117555581A CN 117555581 A CN117555581 A CN 117555581A CN 202311423403 A CN202311423403 A CN 202311423403A CN 117555581 A CN117555581 A CN 117555581A
Authority
CN
China
Prior art keywords
information
calibration
description
variable
description file
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
CN202311423403.2A
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202311423403.2A priority Critical patent/CN117555581A/en
Publication of CN117555581A publication Critical patent/CN117555581A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for generating a calibration description file. The method comprises the following steps: acquiring description file configuration information matched with each application item, and acquiring code information associated with the calibration description file from visible codes of each application item; extracting calibration description information from the code information of each application item according to a preset code extraction rule; and generating a calibration description file according to the calibration description information and the description file configuration information. The technical scheme solves the problem of low generation efficiency of the calibration description file, can ensure the reliability of information in the calibration description file while improving the generation efficiency of the calibration description file, and meets the requirements of signal acquisition and data reading in different scenes.

Description

Method, device, equipment and storage medium for generating calibration description file
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and apparatus for generating a calibration description file, an electronic device, and a storage medium.
Background
The calibration description file, such as an A2L file, used by the vehicle-mounted controller is a description file of ECU (Electronic Control Unit ) information observation and calibration. Because the ECU needs to meet the diversified functional requirements of users, and each function is usually completed by multiple development teams, there are multiple sources of calibration description information in the calibration description file.
The expression mode of each source calibration description information is different, for example, an A2L file provided according to a third party development principle, an A2L file automatically generated by a development team based on an observation collection tool, and the like. The existing calibration description file generation method of the vehicle-mounted controller generally combines calibration description information of multiple sources, for example, combines A2L files matched with each function.
However, the workload of merging and integrating the calibration description information with multiple sources is large, and version management confusion and maintenance difficulty are easily caused, so that the generation efficiency of the calibration description file of the current vehicle-mounted controller is quite low.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for generating a calibration description file, which are used for solving the problem of low generation efficiency of the calibration description file, and can ensure the reliability of information in the calibration description file while improving the generation efficiency of the calibration description file, thereby meeting the signal acquisition and data reading requirements in different scenes.
According to an aspect of the present invention, there is provided a method for generating a calibration description file, the method including:
acquiring description file configuration information matched with each application item, and acquiring code information associated with the calibration description file from visible codes of each application item;
extracting calibration description information from the code information of each application item according to a preset code extraction rule;
and generating a calibration description file according to the calibration description information and the description file configuration information.
According to another aspect of the present invention, there is provided a calibration description file generating apparatus, including:
the code information acquisition module is used for acquiring description file configuration information matched with each application item and acquiring code information associated with the calibration description file from the visible code of each application item;
the descriptive information extraction module is used for extracting calibration descriptive information from the code information of each application item according to a preset code extraction rule;
and the description file generation module is used for generating a calibration description file according to the calibration description information and the description file configuration information.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating calibration description files according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a method for generating a calibration description file according to any embodiment of the present invention.
According to the technical scheme, the code information associated with the calibration description file is obtained from the visible codes of each application item, and the calibration description information is extracted from the code information of each application item according to the preset code extraction rule; and finally, generating a calibration description file according to the calibration description information and the pre-acquired description file configuration information matched with each application item. The technical scheme solves the problem of low generation efficiency of the calibration description file, can ensure the reliability of information in the calibration description file while improving the generation efficiency of the calibration description file, and meets the requirements of signal acquisition and data reading in different scenes.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for generating calibration description files according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for generating calibration description files according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a calibration description file generating device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing a method for generating a calibration description file according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations.
Example 1
Fig. 1 is a flowchart of a method for generating a calibration description file according to an embodiment of the present invention, where the embodiment is applicable to a calibration description file generating scenario of an on-board controller. The method may be performed by a calibration profile generating means, which may be implemented in hardware and/or software, which may be configured in an electronic device. As shown in fig. 1, the method includes:
s110, acquiring description file configuration information matched with each application item, and acquiring code information associated with the calibration description file from the visible codes of each application item.
The scheme can be executed by an application project management platform, and the application project management platform can issue application development tasks to each project team, track development processes of each application project and finish tasks such as packaging and testing of the application project. The user can set the description file configuration information of each application project on the application project management platform so as to automatically generate the calibration description file of the vehicle-mounted controller after the development of the application project is finished.
The description file configuration information may include information such as application item information, storage mode setting information, memory allocation setting information, description file adaptation equipment information, and observation collection tool information. Specifically, the application project information may include information such as application project identification, deployment environment, project level, and the like. The storage modes may include a big end mode and a small end mode. The profile adaptation device information may include a profile adaptation device type, for example, the ECU computer type may include a product computer and a development computer. The observation collection tool information may include information such as an observation collection tool identifier, an operating environment, and the like, and the observation collection tool may include a CANape tool, an INCA tool, and the like.
The application project management platform can acquire the description file configuration information matched with each application project and acquire the visible codes of each application project. It can be understood that each application project can record calibration description information in the visible code according to preset writing rules in the development process. Thus, the application project management platform may obtain code information associated with the calibration description file in the visible code of each application project.
S120, extracting calibration description information from the code information of each application item according to a preset code extraction rule.
It is easy to understand that the code extraction rule is matched with the writing rule of the visible code, and the application project management platform can extract calibration description information from the code information of each application project according to the code extraction rule.
S130, generating a calibration description file according to the calibration description information and the description file configuration information.
The calibration description file may include three parts of a HEADER (HEADER), a device parameter description (mod_par), and a device COMMON parameter (mod_common). The application project management platform can generate a file header of the calibration description file according to the description file configuration information. After the calibration description information is obtained, the application project management platform can determine the equipment parameter description part and the equipment common parameter part of the calibration description file according to the calibration description information of each application project. The application management platform may generate the calibration description file based on the file header, the device parameter description portion, and the device common parameter portion.
According to the technical scheme, the code information associated with the calibration description file is obtained from the visible codes of each application item, and the calibration description information is extracted from the code information of each application item according to the preset code extraction rule; and finally, generating a calibration description file according to the calibration description information and the pre-acquired description file configuration information matched with each application item. The technical scheme solves the problem of low generation efficiency of the calibration description file, can ensure the reliability of information in the calibration description file while improving the generation efficiency of the calibration description file, and meets the requirements of signal acquisition and data reading in different scenes.
Example two
Fig. 2 is a flowchart of a method for generating a calibration description file according to a second embodiment of the present invention, where the method is refined based on the foregoing embodiment. As shown in fig. 2, the method includes:
s210, acquiring description file configuration information matched with each application item, and acquiring code information associated with the calibration description file from the visible codes of each application item.
In this scheme, the description file configuration information includes application item information, description file adaptation equipment information, and observation collection tool information. The writing rules that each application project follows in the development process may include the following:
rule 1: before generating codes, using a compiling tool to extract information such as data types, precision, offset, units, interpretation and the like of variables and standard quantities in a working space, and writing comments;
rule 2: for a single functionally associated code segment, the definition of the input variable and the output variable are distinguished, the input variable being declared undefined only, and the output variable being both defined and declared.
For example, an input variable is declared in xx_private.h, an output variable is declared in xx_global_var.h, and is defined in xx_global_var.c, where xx is a model name.
The application project management platform may extract code information associated with the calibration description file, such as code information related to variable information and calibration quantity information, in the visible code of each application project.
S220, extracting calibration description information from the code information of each application item according to a preset code extraction rule.
According to the code extraction rule matched with the writing rule, the application project management platform can extract calibration description information from the code information of each application project. In one possible scheme, the application project management platform can sequentially read the variable declaration file and the calibration quantity declaration file associated with each function, judge the code generation source mark in the declaration file code, and extract information such as function name, variable name, data type, precision, unit and interpretation based on a preset code extraction rule. The function block name can be used as a grouping name in the calibration description file.
For example, targetlink code extraction rules may include (1) obtaining dimensions from names; (2) Extracting coordinate axes of the chart and input variable information from the main logic file; (3) for non-charts, add fixed shaft. As another example, the Simulink code extraction rules may include (1) extracting dimensions according to Value; (2) Extracting coordinate axes of the chart and input variable information from the main logic file; (3) for non-charts, add fixed shaft.
In one possible solution, after extracting the calibration description information from the code information of each application item, the method further includes:
if the application item has a variable description table, extracting variable description information and calibration quantity description information associated with a non-visible code from the variable description table;
and updating the calibration description information according to the variable description information and the calibration quantity description information associated with the invisible codes.
In another possible solution, after extracting the calibration description information from the code information of each application item, the method further includes:
if the application project has a project calibration description file, extracting variable description information and calibration quantity description information associated with a non-visible code from the project calibration description file;
and updating the calibration description information according to the variable description information and the calibration quantity description information associated with the invisible codes.
The development tasks of part of the application project can be completed by a third party unit, which generally needs to be invisible to the key code to avoid disclosure of the technical secret when feeding back the achievement of the application project. Meanwhile, a variable description table or an item calibration description file needs to be provided to ensure the use of application functions.
Therefore, for the application project with the variable description table, the application project management platform can extract variable description information and calibration quantity description information associated with the invisible codes from the variable description table, and update the calibration description information according to the variable description information and the calibration quantity description information associated with the invisible codes. Similarly, for an application project with a project calibration description file, the application project management platform may extract variable description information associated with the non-visible code from the project calibration description file, so as to update the calibration description information according to the variable description information and the calibration quantity description information associated with the non-visible code.
The scheme can effectively ensure the integrity of the calibration description information, and is beneficial to increasing the scene applicability of the calibration description file.
S230, processing the calibration description information according to a preset processing principle to obtain an information description section matched with each calibration quantity, an information description section matched with each variable, each calibration quantity conversion relation and each variable conversion relation.
After the calibration description information of each application item is obtained, the application item management platform can carry out consistency verification, uniqueness taking, conversion relation calculation and other processing on the calibration description information to obtain an information description section matched with each calibration quantity, an information description section matched with each variable, each calibration quantity conversion relation and each variable conversion relation.
In a preferred embodiment, the processing the calibration description information according to a preset processing principle to obtain an information description section matched with each calibration quantity, an information description section matched with each variable, each calibration quantity conversion relationship, and each variable conversion relationship includes:
consistency verification is carried out on each information element in the calibration description information to obtain a consistency verification result;
according to the consistency verification result, carrying out unique operation on the calibration description information to obtain information description sections matched with all calibration quantities and information description sections matched with all variables;
and carrying out conversion relation calculation according to the information description section matched with each calibration quantity and the information description section matched with each variable to obtain conversion relation of each calibration quantity and conversion relation of each variable.
It will be appreciated that the same information element may appear multiple times in the calibration description information, and that there may be inconsistencies in the information description sections of the information element. Wherein the information element may include a variable and a calibration quantity. Therefore, the application project management platform needs to perform consistency check on each information element in the calibration description information, mark the information elements with inconsistent information description section contents, and generate a consistency check result, such as a consistency check feedback table.
According to the consistency verification result, the application project management platform can perform unique operation on the calibration description information to obtain information description sections matched with all information elements, namely information description sections matched with all calibration quantities and information description sections matched with all variables.
After the information description section matched with each calibration quantity and the information description section matched with each variable are obtained, the application project management platform can calculate the conversion relation according to the information description section matched with each calibration quantity and the information description section matched with each variable and a preset conversion rule to obtain conversion relation of each calibration quantity and conversion relation of each variable. The application project management platform can also perform unique operation on the conversion relations of all the information elements after obtaining the conversion relations of all the calibration quantities and the conversion relations of all the variables so as to avoid redundant storage of the conversion relations.
In this embodiment, optionally, the information description section for matching the calibration quantity includes a function identifier, a calibration quantity type, a calibration quantity precision, a calibration quantity unit, a calibration quantity offset, and a calibration quantity interpretation;
the information description section of the variable matching comprises a function identifier, a variable type, a variable precision, a variable unit, a variable offset and a variable interpretation.
S240, generating a calibration description file according to the information description section matched with each calibration quantity, the information description section matched with each variable, each calibration quantity conversion relation, each variable conversion relation and the description file configuration information.
It is easy to understand that, according to the profile configuration information, the application project management platform can generate a header of the calibration profile. According to the conversion relation of each calibration quantity and the conversion relation of each variable, the application project management platform can determine the conversion rule. According to the information description segments matched with the calibration amounts and the information description segments matched with the variables, the application project management platform can obtain information blocks of the information elements and grouping information blocks of the information elements. The application project management platform can write information such as a file header, a conversion rule, an information block of an information element, a grouping information block of the information element and the like in sequence to generate a calibration description file of the vehicle-mounted controller.
In this embodiment, optionally, after the calibration description file is obtained, the application project management platform may perform information filtering and address updating on the calibration description file. Specifically, the application project management platform may compile the calibration description file to obtain a compiled file matched with the calibration description file, for example, a MAP file corresponding to the A2L file. And filtering the information elements according to the information elements in the compiled file, such as the variable and the calibration quantity, and deleting the information elements which do not exist in the compiled file in the calibration description file. The application project management platform can update the names and the addresses of the information elements in the calibration description file according to the names and the addresses of the information elements in the compiled file matched with the calibration description file, so that the reliability of the calibration description file is ensured.
According to the technical scheme, the code information associated with the calibration description file is obtained from the visible codes of each application item, and the calibration description information is extracted from the code information of each application item according to the preset code extraction rule; and finally, generating a calibration description file according to the calibration description information and the pre-acquired description file configuration information matched with each application item. The technical scheme solves the problem of low generation efficiency of the calibration description file, can ensure the reliability of information in the calibration description file while improving the generation efficiency of the calibration description file, and meets the requirements of signal acquisition and data reading in different scenes.
Example III
Fig. 3 is a schematic structural diagram of a calibration description file generating device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes:
a code information obtaining module 310, configured to obtain description file configuration information matched with each application item, and obtain code information associated with the calibration description file from the visible code of each application item;
the description information extraction module 320 is configured to extract calibration description information from the code information of each application item according to a preset code extraction rule;
the profile generation module 330 is configured to generate a calibration profile according to the calibration profile information and the profile configuration information.
In this solution, optionally, the profile configuration information includes application item information, profile adaptation device information, and observation collection tool information.
On the basis of the above solution, optionally, the description file generating module 330 includes:
the descriptive information processing unit is used for processing the calibration descriptive information according to a preset processing principle to obtain an information descriptive section matched with each calibration quantity, an information descriptive section matched with each variable, each calibration quantity conversion relation and each variable conversion relation;
the description file generating unit is used for generating a calibration description file according to the information description section matched with each calibration quantity, the information description section matched with each variable, each calibration quantity conversion relation, each variable conversion relation and the description file configuration information.
In a preferred embodiment, the description information processing unit is specifically configured to:
consistency verification is carried out on each information element in the calibration description information to obtain a consistency verification result;
according to the consistency verification result, carrying out unique operation on the calibration description information to obtain information description sections matched with all calibration quantities and information description sections matched with all variables;
and carrying out conversion relation calculation according to the information description section matched with each calibration quantity and the information description section matched with each variable to obtain conversion relation of each calibration quantity and conversion relation of each variable.
On the basis of the scheme, optionally, the information description section for the calibration quantity matching comprises a function identifier, a calibration quantity type, a calibration quantity precision, a calibration quantity unit, a calibration quantity offset and a calibration quantity interpretation;
the information description section of the variable matching comprises a function identifier, a variable type, a variable precision, a variable unit, a variable offset and a variable interpretation.
In one possible implementation, the apparatus further includes:
the description table information extraction module is used for extracting the variable description information and the calibration quantity description information associated with the invisible codes from the variable description table if the variable description table exists after the calibration description information is extracted from the code information of each application item;
and the first descriptive information updating module is used for updating the calibration descriptive information according to the variable descriptive information and the calibration quantity descriptive information associated in the invisible codes.
In another possible implementation, the apparatus further includes:
the file information extraction module is used for extracting variable description information and calibration quantity description information associated with non-visible codes from the item calibration description file if the item calibration description file exists after the calibration description information is extracted from the code information of each application item;
and the second descriptive information updating module is used for updating the calibration descriptive information according to the variable descriptive information and the calibration quantity descriptive information associated in the invisible codes.
The device for generating the calibration description file provided by the embodiment of the invention can execute the method for generating the calibration description file provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 shows a schematic diagram of an electronic device 410 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 410 includes at least one processor 411, and a memory, such as a Read Only Memory (ROM) 412, a Random Access Memory (RAM) 413, etc., communicatively connected to the at least one processor 411, wherein the memory stores computer programs executable by the at least one processor, and the processor 411 may perform various suitable actions and processes according to the computer programs stored in the Read Only Memory (ROM) 412 or the computer programs loaded from the storage unit 418 into the Random Access Memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 may also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other through a bus 414. An input/output (I/O) interface 415 is also connected to bus 414.
Various components in the electronic device 410 are connected to the I/O interface 415, including: an input unit 416 such as a keyboard, a mouse, etc.; an output unit 417 such as various types of displays, speakers, and the like; a storage unit 418, such as a magnetic disk, optical disk, or the like; and a communication unit 419 such as a network card, modem, wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The processor 411 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 411 performs the various methods and processes described above, such as the generation of calibration profiles.
In some embodiments, the method of generating the calibration description file may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 418. In some embodiments, some or all of the computer program may be loaded and/or installed onto the electronic device 410 via the ROM 412 and/or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the calibration description file generation method described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured to perform the method of generating the calibration description file in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems-on-a-chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable calibration description file generating device, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for generating a calibration description file, the method comprising:
acquiring description file configuration information matched with each application item, and acquiring code information associated with the calibration description file from visible codes of each application item;
extracting calibration description information from the code information of each application item according to a preset code extraction rule;
and generating a calibration description file according to the calibration description information and the description file configuration information.
2. The method of claim 1, wherein the profile configuration information includes application project information, profile adaptation device information, and observation collection tool information.
3. The method of claim 2, wherein generating the calibration profile based on the calibration profile and the profile configuration information comprises:
processing the calibration description information according to a preset processing principle to obtain an information description section matched with each calibration quantity, an information description section matched with each variable, a conversion relation of each calibration quantity and a conversion relation of each variable;
and generating a calibration description file according to the information description section matched with each calibration quantity, the information description section matched with each variable, each calibration quantity conversion relation, each variable conversion relation and the description file configuration information.
4. The method of claim 3, wherein the processing the calibration description information according to a preset processing principle to obtain an information description section matched with each calibration quantity, an information description section matched with each variable, each calibration quantity conversion relation and each variable conversion relation comprises:
consistency verification is carried out on each information element in the calibration description information to obtain a consistency verification result;
according to the consistency verification result, carrying out unique operation on the calibration description information to obtain information description sections matched with all calibration quantities and information description sections matched with all variables;
and carrying out conversion relation calculation according to the information description section matched with each calibration quantity and the information description section matched with each variable to obtain conversion relation of each calibration quantity and conversion relation of each variable.
5. The method of claim 4, wherein the information description section of the calibration quantity match includes a function identifier, a calibration quantity type, a calibration quantity accuracy, a calibration quantity unit, a calibration quantity offset, and a calibration quantity interpretation;
the information description section of the variable matching comprises a function identifier, a variable type, a variable precision, a variable unit, a variable offset and a variable interpretation.
6. The method of claim 1, wherein after extracting the calibration description information from the code information of each application item, the method further comprises:
if the application item has a variable description table, extracting variable description information and calibration quantity description information associated with a non-visible code from the variable description table;
and updating the calibration description information according to the variable description information and the calibration quantity description information associated with the invisible codes.
7. The method of claim 1, wherein after extracting the calibration description information from the code information of each application item, the method further comprises:
if the application project has a project calibration description file, extracting variable description information and calibration quantity description information associated with a non-visible code from the project calibration description file;
and updating the calibration description information according to the variable description information and the calibration quantity description information associated with the invisible codes.
8. A calibration description file generating device, characterized by comprising:
the code information acquisition module is used for acquiring description file configuration information matched with each application item and acquiring code information associated with the calibration description file from the visible code of each application item;
the descriptive information extraction module is used for extracting calibration descriptive information from the code information of each application item according to a preset code extraction rule;
and the description file generation module is used for generating a calibration description file according to the calibration description information and the description file configuration information.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating a calibration description file according to any one of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores computer instructions for causing a processor to implement the method of generating a calibration description file according to any one of claims 1-7 when executed.
CN202311423403.2A 2023-10-30 2023-10-30 Method, device, equipment and storage medium for generating calibration description file Pending CN117555581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311423403.2A CN117555581A (en) 2023-10-30 2023-10-30 Method, device, equipment and storage medium for generating calibration description file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311423403.2A CN117555581A (en) 2023-10-30 2023-10-30 Method, device, equipment and storage medium for generating calibration description file

Publications (1)

Publication Number Publication Date
CN117555581A true CN117555581A (en) 2024-02-13

Family

ID=89822303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311423403.2A Pending CN117555581A (en) 2023-10-30 2023-10-30 Method, device, equipment and storage medium for generating calibration description file

Country Status (1)

Country Link
CN (1) CN117555581A (en)

Similar Documents

Publication Publication Date Title
CN113641677A (en) Data processing method and device, electronic equipment and storage medium
CN116089258A (en) Data migration test method, device, equipment, storage medium and program product
CN115617888A (en) Data import method, device, equipment, storage medium and product
CN112433753A (en) Interface document generation method, device, equipment and medium based on parameter information
CN116627432A (en) Front-end application automatic deployment method, device, equipment and medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN117555581A (en) Method, device, equipment and storage medium for generating calibration description file
CN112860811B (en) Method and device for determining data blood relationship, electronic equipment and storage medium
CN115618777A (en) File generation method, device, equipment and storage medium
CN114443493A (en) Test case generation method and device, electronic equipment and storage medium
CN115576902B (en) Method, device, equipment and medium for processing calibration description file
CN115827588A (en) Method, device, equipment and storage medium for generating business global serial number
CN116661902A (en) Node creation method, device, equipment and storage medium
CN115983222A (en) EasyExcel-based file data reading method, device, equipment and medium
CN117931155A (en) Code generation method, device, equipment and medium
CN117002583A (en) Method and device for extracting test requirements of virtual marshalling key technology of train
CN116400956A (en) Code merging information determining method and device, electronic equipment and storage medium
CN117609150A (en) Data migration method, device, equipment and medium
CN115495368A (en) Data testing method and device and electronic equipment
CN114661384A (en) Parameter information acquisition and application program generation method, device, equipment and medium
CN116991825A (en) Database flashback method, device, equipment and storage medium
CN115794609A (en) Script sharing method and device, electronic equipment and storage medium
CN113535857A (en) Data synchronization method and device
CN117453747A (en) Data quality detection method and device, electronic equipment and storage medium
CN114238149A (en) Batch testing method of accounting system, electronic device 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