Monitoring method, device, equipment and medium for observation quantity

During the ECU development process, the mapping relationship between the MAP file and the A2L file is used to realize monitoring of observations not in the A2L file, which solves the problems of low monitoring efficiency and high cost in the existing technology, and simplifies operation Process and reduce costs.

CN113886344BActive Publication Date: 2025-02-18WEICHAI POWER CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111152382.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-29
Publication Date
2025-02-18
Estimated Expiration
2041-09-29

AI Technical Summary

Technical Problem

During the development of electronic control unit (ECU), the existing technology is difficult to timely monitor observations that are not measured in A2L files, resulting in limited progress in bench testing, difficult problem finding and positioning, complex operation and high cost.

Method used

By detecting the observation identification input by the user, obtaining the observation address from the MAP file according to the identification, and assigning it to the calibration variable in the A2L file, turning on the monitoring calibration enable switch, thereby obtaining observation data and realizing the failure. Monitoring of observations in A2L files.

Benefits of technology

This method simplifies operations, reduces time and labor costs, improves monitoring efficiency for observing measurements not found in A2L files, and avoids the need for software version upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113886344B_ABST
    Figure CN113886344B_ABST
Patent Text Reader

Abstract

The observation quantity monitoring method, apparatus, equipment and medium provided by the embodiments of the present invention, when detecting that the user has input an observation quantity identifier, obtains the observation quantity address corresponding to the observation quantity identifier from the MAP file according to the observation quantity identifier, and then assigns the observation quantity address to the calibration quantity variable preset in the A2L file. After obtaining the calibration quantity, in response to the user's operation, the monitoring calibration quantity enable switch preset in the A2L file is turned on to obtain the observation quantity data corresponding to the observation quantity identifier, thereby realizing the monitoring of the observation quantity not in the A2L file. There is no need for the staff to specially upgrade the software version to add the observation quantity to the A2L file. The operation is simple, and the time cost and labor cost are low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic control unit development, and in particular to a monitoring method, device, equipment and medium for an observed quantity. Background Art

[0002] In the process of developing an electronic control unit (ECU), it is necessary to add the observables to be monitored to the A2L file and use test equipment to monitor a large number of observables.

[0003] In the prior art, when it is necessary to monitor the observed values, the observed values ​​are written into an EXCEL table and generated into an A2L file using a script file. If it is necessary to monitor the observed values ​​omitted from the A2L file, or if there is a problem with the bench test and the observed values ​​not in the A2L file need to be monitored, the prior art cannot implement monitoring in a timely manner and can only upgrade the software version to add the observed values ​​to the A2L file.

[0004] To sum up, in the existing technology, during the ECU development process, when it is necessary to monitor certain observables that are not in the A2L file, the only way is to add the observables to the A2L file by upgrading the software version, which affects the progress of bench testing, the search and location of problems, and results in complicated operations, high time costs and labor costs. Summary of the invention

[0005] The embodiments of the present invention provide a monitoring method, device, equipment and medium for an observed quantity, which are used to solve the problems of complex operation, high time cost and high labor cost in the prior art.

[0006] In a first aspect, an embodiment of the present invention provides a method for monitoring an observed quantity, the method comprising:

[0007] When it is detected that the user has input an observation value identifier, acquiring an observation value address corresponding to the observation value identifier from the MAP file according to the observation value identifier;

[0008] Assign the observed value address to the calibration value variable preset in the A2L file to obtain the calibration value;

[0009] In response to the user's operation, the monitoring calibration quantity enable switch preset in the A2L file is turned on to obtain the observation quantity data corresponding to the observation quantity identifier.

[0010] In a specific implementation manner, in response to the user's operation, turning on the monitoring calibration quantity enable switch preset in the A2L file, and acquiring the observation quantity data corresponding to the observation quantity identifier includes:

[0011] In response to the user's operation, turning on the monitoring calibration quantity enabling switch preset in the A2L file;

[0012] Monitor the observation quantity preset in the A2L file, and obtain the observation quantity data corresponding to the observation quantity identifier, wherein the preset observation quantity refers to the calibrated quantity after assignment.

[0013] In a specific implementation, the method further includes: receiving an observation value identifier input by a user through an observation value configuration box in a graphical user interface.

[0014] In a specific implementation, before receiving the observation value identifier input by the user through the observation value configuration box in the graphical user interface, the method further includes:

[0015] According to the user's operation, the observation variable, calibration variable and monitoring calibration enable switch are set in the A2L file; wherein, the calibration variable is used to set the observation address according to the demand, and the monitoring calibration enable switch is used to turn on or off the observation monitoring function.

[0016] In a specific implementation manner, the MAP file stores a mapping relationship between a pre-configured observation value identifier and an observation value address; accordingly, obtaining the observation value address corresponding to the observation value identifier from the MAP file according to the observation value identifier includes:

[0017] According to the observed value identifier and the mapping relationship, the observed value address corresponding to the observed value identifier is acquired.

[0018] In a second aspect, an embodiment of the present invention provides a monitoring device for an observed quantity, comprising:

[0019] A detection module, used to detect whether the user inputs an observation value identifier;

[0020] A first processing module, configured to, when detecting that a user has input an observation value identifier, obtain an observation value address corresponding to the observation value identifier from a MAP file according to the observation value identifier;

[0021] The second processing module is used to assign the observed value address to the calibration value variable preset in the A2L file to obtain the calibration value;

[0022] The third processing module, in response to the user's operation, turns on the monitoring calibration quantity enable switch preset in the A2L file, and obtains the observation quantity data corresponding to the observation quantity identifier.

[0023] In a specific embodiment, the third processing module is specifically used to respond to the user's operation, turn on the monitoring calibration enable switch preset in the A2L file, monitor the observation quantity preset in the A2L file, and obtain the observation quantity data corresponding to the observation quantity identifier, wherein the preset observation quantity points to the calibration quantity after assignment.

[0024] In a specific embodiment, the device further comprises:

[0025] The receiving module receives the observation quantity identifier input by the user through the observation quantity configuration box in the graphical user interface.

[0026] In a specific embodiment, the device further comprises:

[0027] The fourth processing module is used to set the observation variable, calibration variable and monitoring calibration enable switch in the A2L file according to the user's operation, wherein the calibration variable is used to set the observation address according to the demand, and the monitoring calibration enable switch is used to turn on or off the observation monitoring function.

[0028] In a specific implementation, the MAP file stores a pre-configured mapping relationship between an observation value identifier and an observation value address. Accordingly, the first processing module is specifically used to obtain the observation value address corresponding to the observation value identifier according to the observation value identifier and the mapping relationship.

[0029] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a processor, a memory, a communication interface, and a computer program stored in the memory, wherein when the processor executes the computer program, the method for monitoring the observed quantity provided in any one of the first aspects is implemented.

[0030] In a fourth aspect, an embodiment of the present invention provides a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, is a method for monitoring an observed quantity provided in any one of the first aspects.

[0031] In a fifth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, is used for the method for monitoring the observed quantity provided in any one of the first aspects.

[0032] The monitoring method, device, equipment and medium of the observation quantity provided by the embodiments of the present invention, when detecting that the user has input an observation quantity identifier, obtains the observation quantity address corresponding to the observation quantity identifier from the MAP file according to the observation quantity identifier, and then assigns the observation quantity address to the calibration quantity variable preset in the A2L file. After obtaining the calibration quantity, in response to the user's operation, the monitoring calibration quantity enable switch preset in the A2L file is turned on to obtain the observation quantity data corresponding to the observation quantity identifier, thereby realizing the monitoring of the observation quantity not in the A2L file. There is no need for the staff to specially upgrade the software version to add the observation quantity to the A2L file. The operation is simple, and the time cost and labor cost are low. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0034] Figure 1 A schematic diagram of an application scenario of the method for monitoring the observed quantity provided by the present invention;

[0035] Figure 2 A schematic diagram of a flow chart of a first embodiment of a method for monitoring an observed quantity provided by the present invention;

[0036] Figure 3 A schematic diagram of a flow chart of a second embodiment of a method for monitoring an observed quantity provided by the present invention;

[0037] Figure 4 A flowchart of a specific example of the monitoring method of the observation amount provided by the present invention;

[0038] Figure 5 A schematic diagram of the structure of a first embodiment of a monitoring device for an observed quantity provided by the present invention;

[0039] Figure 6 A schematic diagram of the structure of a second embodiment of a monitoring device for an observed quantity provided by the present invention;

[0040] Figure 7 A schematic diagram of the structure of a third embodiment of the monitoring device for observed quantities provided by the present invention;

[0041] Figure 8 A schematic structural diagram of an electronic device embodiment provided by the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiment of the present invention, all other embodiments made by ordinary technicians in this field under the enlightenment of this embodiment belong to the scope of protection of the present invention.

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

[0044] During the development of the Electronic Control Unit (ECU) controller, bench tests and functional tests are constantly performed. During the test, test equipment is needed to monitor the observed quantities. The test equipment can only monitor the observed quantities in the A2L file. The observed quantities can be filled in the EXCEL table and then automatically generated into the A2L file through the script.

[0045] If it is necessary to monitor the observed quantities that are omitted from the A2L file, or if there is a problem with the bench test and the observed quantities not in the A2L file need to be monitored, the only way is to upgrade the software version and add the observed quantities to the A2L file, which affects the progress of the bench test, the search and location of the problem, and results in complicated operations and high time and labor costs.

[0046] In view of the problems existing in the prior art, the inventors found in the process of studying the monitoring of observed quantities that a limited number of observed quantities and calibration quantities can be added to the A2L file in advance, the address of the quantity to be observed is assigned to the calibration quantity, and then the observed quantity is monitored by monitoring the observed quantity, wherein the observed quantity points to the calibration quantity through a pointer, thereby reducing the complexity of operation, time cost and labor cost. Based on the above inventive concept, the monitoring scheme of the observed quantity of the present invention is designed.

[0047] For example, Figure 1 Schematic diagram of application scenarios of the monitoring method of observation quantity provided by the present invention. Figure 1 As shown, the application scenario may include: an electronic device 12, at least one terminal device ( Figure 1 Two terminal devices are shown, namely terminal device 11 and terminal device 13).

[0048] For example, in Figure 1 In the application scenario shown, the user can perform input operations through the terminal device 11, and the terminal device 11 can send operation instructions to the electronic device 12, and can also receive data from the electronic device 12 and display it on the user graphical interface.

[0049] The electronic device 12 can receive operation instructions from the terminal device 11 and can also send data to the terminal device 11.

[0050] It can be understood that the electronic device is a device for monitoring observed quantities. It can be a device corresponding to the calibration software INCA (Integrated Calibration Acquisition, referred to as INCA), or a device corresponding to the calibration software APE, or other devices that can monitor observed quantities. The embodiment of the present invention does not limit the specific form of the electronic device, which can be determined according to actual needs.

[0051] It is understandable that a terminal device is a device that can run operating software corresponding to an electronic device. It can be a computer or a smart phone. The embodiment of the present invention does not limit the specific form of the terminal, which can be determined according to actual needs.

[0052] The technical solution of the present invention is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0053] Figure 2 A flow chart of a first embodiment of the monitoring method for observation quantity provided by the present invention is shown in FIG. Figure 2 As shown, the monitoring method of the observed quantity specifically includes the following steps:

[0054] S201: when it is detected that the user has input an observation value identifier, an observation value address corresponding to the observation value identifier is obtained from a MAP file according to the observation value identifier.

[0055] In this step, when it is necessary to monitor an observation quantity that is not in the A2L file, the user can enter the observation quantity identifier in the graphical user interface. After the electronic device detects the observation quantity identifier, it will obtain the observation quantity address corresponding to the observation quantity identifier from the MAP file according to the observation quantity identifier, wherein the MAP file stores the mapping relationship between the pre-configured observation quantity identifier and the observation quantity address, as well as information on the memory size occupied by the observation quantity.

[0056] It can be understood that the observed quantity is a variable that can be monitored. The observed quantity can be the value of a register or the running time of the ECU. The embodiment of the present invention does not specifically limit the observed quantity and can be configured according to actual needs.

[0057] It can be understood that the observation quantity identifier can be the name of the observation quantity or the identity identifier of the observation quantity. It is sufficient to determine the specific observation quantity based on the observation quantity identifier. The embodiment of the present invention does not specifically limit the observation quantity identifier and can be determined according to actual needs.

[0058] S202: Assign the observed value address to the calibration value variable preset in the A2L file to obtain the calibration value.

[0059] In this step, after obtaining the observed value address, the observed value address is assigned to the calibration value preset in the A2L file through an assignment operation to obtain a new calibration value.

[0060] It should be noted that, in this embodiment, before the observation quantity not in the A2L file needs to be monitored, the user fills in the observation quantity variable, calibration quantity variable and monitoring calibration quantity enable switch in the EXCEL table, and sets the observation quantity variable, calibration quantity variable and monitoring calibration quantity enable switch in the A2L file through the script, wherein the calibration quantity variable is used to set the observation quantity address according to the needs, and the monitoring calibration quantity enable switch is used to turn on or off the observation quantity monitoring function.

[0061] S203: In response to the user's operation, turn on the monitoring calibration quantity enable switch preset in the A2L file to obtain the observation quantity data corresponding to the observation quantity identifier.

[0062] For example, after obtaining the new calibration quantity, if the user assigns the monitoring calibration quantity enable switch to 1 by operating the operating software corresponding to the electronic device, that is, turning on the monitoring calibration quantity enable switch preset in the A2L file, the observation quantity data corresponding to the observation quantity identifier can be obtained; if the user assigns the monitoring calibration quantity enable switch to 0 by operating the operating software corresponding to the electronic device, that is, turning off the monitoring calibration quantity enable switch preset in the A2L file, the monitoring of the observation quantity can be canceled.

[0063] After turning on the switch to enable the monitoring calibration quantity, the electronic device monitors the observation quantity preset in the A2L file. The preset observation quantity points to the calibration quantity through a pointer. By parsing the calibration quantity, that is, parsing the observation quantity address, the observation quantity data corresponding to the observation quantity identifier can be obtained, thereby realizing the monitoring of the observation quantity.

[0064] It is understandable that electronic devices will have corresponding operating software to operate them. Users can assign a value to the monitoring calibration enable switch through the operating software. When the value assigned is 1, the switch is turned on. When the value assigned is other than 1, the switch is turned off. The default value of the monitoring calibration enable switch is 0.

[0065] It should be noted that the observation quantity is a variable that changes in a certain time period. In order to monitor the observation quantities that change in different time periods, the embodiment of the present invention sets the monitoring time period to the minimum value of the change period of all observation quantities not in the A2L file.

[0066] The embodiment of the present invention provides a monitoring method for the observed quantity. By pre-adding the observed quantity, the calibrated quantity and the monitoring calibrated quantity enable switch to the A2L file, the address of the quantity to be observed is assigned to the calibrated quantity, the monitoring calibrated quantity enable switch is turned on, the observed quantity points to the calibrated quantity, and the observed quantity is monitored to realize the monitoring of the observed quantity. Compared with the prior art of manually upgrading the software version to add the quantity to be observed to the A2L file, the operation is simple, and the time cost and the still cost are lower.

[0067] Based on the above embodiments, Figure 3 Schematic diagram of the flow chart of the second embodiment of the monitoring method of the observation quantity provided by the present invention. Figure 3 As shown, in this embodiment, the above step S201 can be implemented by the following steps:

[0068] S301: According to the user's operation, the observation variable, the calibration variable and the monitoring calibration enable switch are set in the A2L file.

[0069] Before monitoring the observed quantity that is not in the A2L file, the user needs to fill in the observed quantity variable, the calibration quantity variable and the monitoring calibration quantity enable switch in the EXCEL table, and set the observed quantity variable, the calibration quantity variable and the monitoring calibration quantity enable switch in the A2L file through the script. The calibration quantity variable is used to set the observed quantity address according to the requirements, and the monitoring calibration quantity enable switch is used to turn on or off the observed quantity monitoring function.

[0070] It should be noted that the observed quantity and the calibration quantity are in the form of a multidimensional array. When there are multiple observed quantities that are not in the A2L file and need to be monitored, the addresses of the multiple observed quantities can be assigned to the calibration quantity as elements in the array, and the calibration quantity monitoring enable switch is turned on. The observed quantity points to the calibration quantity through a pointer, and the monitoring of the observed quantity can realize the monitoring of multiple observed quantities that are not in the A2L file. The specific number of observed quantities that are not in the A2L file can be determined according to actual conditions, and the embodiment of the present invention does not limit it.

[0071] S302: receiving an observation value identifier input by a user through an observation value configuration box in a graphical user interface.

[0072] When it is necessary to monitor an observation quantity that is not in the A2L file, the user can input the observation quantity identifier in the graphical user interface, and the electronic device receives the observation quantity identifier input by the user after detecting the observation quantity identifier.

[0073] It can be understood that the graphical user interface is an interface for realizing human-computer interaction, and the user can perform input operations through this interface. The location of the graphical user interface can be on the electronic device, or it can be the interface of the corresponding operating software of the electronic device, which is located on the terminal device. This embodiment does not limit the location of the graphical user interface.

[0074] It is understandable that the electronic device may detect the observed quantity identifier in real time or automatically trigger the detection after the user performs an input operation in the graphical user interface. This embodiment does not limit the triggering method of the detection, which can be limited according to actual conditions.

[0075] S303: Acquire the observation value address corresponding to the observation value identifier from the MAP file according to the observation value identifier.

[0076] It can be understood that the MAP file stores a pre-configured mapping relationship between an observation quantity identifier and an observation quantity address and information about the memory size occupied by the observation quantity, and the electronic device can obtain the observation quantity address corresponding to the observation quantity identifier according to the observation quantity identifier and the mapping relationship. The following is an example to illustrate the monitoring method of the observation quantity provided in an embodiment of the present invention.

[0077] Figure 4 A flow chart of a specific example of the monitoring method of the observation amount provided by the present invention, such as Figure 4As shown, this example sets an observation value Monitor_Val[5], a calibration value Address_Config_C[5], and a monitoring calibration value enable switch Monitor_Enable_C, where the observation value and the calibration value are in the form of a 5-dimensional array, so that the five observation values ​​that are not in the A2L file can be monitored. The three variables are added to the A2L file to ensure that they can be monitored and calibrated. When it is necessary to monitor the observation value that is not in the A2L file, the address of the corresponding observation value is found by searching the MAP file, the value of the calibration value is modified to the address Address_Config_C[5] of the observation value, and then the monitoring calibration value enable switch Monitor_Enable_C is turned on. The monitoring of other observation values ​​can be achieved by monitoring the observation value Monitor_Val[5]. The monitoring time period is set to 10ms, which is the minimum value of the change period of all observation values ​​that are not in the A2L file, so that all observation values ​​that are not in the A2L file can be monitored. If the observation value does not need to be monitored, the monitoring calibration value enable switch Monitor_Enable_C can be turned off to cancel the monitoring.

[0078] The present invention provides a technical solution, which pre-sets a group of limited number of observation quantities, calibration quantities and monitoring calibration quantity enable switches, assigns the address of the quantity to be observed to the calibration quantity, turns on the monitoring calibration quantity enable switch, monitors the pre-set observation quantities, and realizes the monitoring of the quantity to be observed, which can effectively reduce the operation steps and reduce the time cost and labor cost.

[0079] The following are embodiments of the device of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.

[0080] Figure 5 Schematic diagram of the structure of the first embodiment of the monitoring device for the observed quantity provided by the present invention; Figure 5 As shown, the monitoring device 50 for the observed quantity may include: a detection module 51: used to detect whether the user inputs an observed quantity identifier;

[0081] The first processing module 52 is configured to obtain the observed value address corresponding to the observed value identifier from the MAP file according to the observed value identifier;

[0082] The second processing module 53 is used to assign the observed value address to the calibration value variable preset in the A2L file to obtain the calibration value;

[0083] The third processing module 54: in response to the user's operation, turns on the monitoring calibration quantity enabling switch preset in the A2L file, and obtains the observation quantity data corresponding to the observation quantity identifier.

[0084] In a possible design of an embodiment of the present invention, the third processing module 53 is specifically used to respond to the user's operation, turn on the monitoring calibration enable switch preset in the A2L file, monitor the observation quantity preset in the A2L file, and obtain the observation quantity data corresponding to the observation quantity identifier, wherein the preset observation quantity points to the calibration quantity after assignment.

[0085] The observation quantity monitoring device provided in this embodiment is used to execute the technical solution provided by any of the aforementioned method embodiments. Its implementation principle and technical effect are similar. It monitors the observation quantities not in the A2L file by monitoring the pre-set observation quantities. The operation is simple and the time and labor costs are effectively reduced.

[0086] Figure 6 The structure diagram of the second embodiment of the monitoring device for the observed quantity provided by the present invention; Figure 6 As shown, in another possible design of the embodiment of the present invention, the monitoring device 50 of the observed quantity further includes:

[0087] The receiving module 55 is used to receive the observation value identifier input by the user through the observation value configuration box in the graphical user interface.

[0088] Figure 7 Schematic diagram of the structure of the third embodiment of the monitoring device for the observed quantity provided by the present invention; Figure 7 As shown, in another possible design of the embodiment of the present invention, the monitoring device 50 of the observed quantity further includes:

[0089] The fourth processing module 56 is used to set the observation variable, calibration variable and monitoring calibration enable switch in the A2L file according to the user's operation before receiving the observation identifier input by the user through the observation configuration box in the graphical user interface, wherein the calibration variable is used to set the observation address according to requirements, and the monitoring calibration enable switch is used to turn on or off the observation monitoring function.

[0090] In the above possible design of the embodiment of the present invention, the first processing module 41 is specifically used to obtain the observation value address corresponding to the observation value identifier according to the observation value identifier and the mapping relationship, wherein the MAP file stores a pre-configured mapping relationship between the observation value identifier and the observation value address.

[0091] The monitoring device for the observed quantity provided in any of the aforementioned embodiments is used to execute the technical solution provided in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0092] Figure 8 This is a schematic diagram of the structure of an electronic device embodiment provided by the present invention. Figure 8As shown, the electronic device 80 includes:

[0093] Processor 81, memory 82, and communication interface 83;

[0094] The memory 82 is used to store computer programs;

[0095] The processor 81 is configured to execute the technical solution of the edge server in any of the aforementioned method embodiments by executing the computer program.

[0096] Optionally, the memory 82 can be independent or integrated with the processor 81.

[0097] Optionally, when the memory 82 is a device independent of the processor 81, the server 80 may further include:

[0098] A bus is used to connect the above devices.

[0099] The electronic device is used to execute the technical solution of the edge server in any of the aforementioned method embodiments, and its implementation principle and technical effect are similar and will not be repeated here.

[0100] An embodiment of the present invention further provides a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the technical solution provided by any of the aforementioned embodiments.

[0101] An embodiment of the present invention further provides a computer program product, including a computer program, which is used to implement the technical solution provided by any of the aforementioned method embodiments when executed by a processor.

[0102] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A monitoring method for an observed quantity, characterized in that: include: When it is detected that the user has input an observation value identifier, acquiring an observation value address corresponding to the observation value identifier from the MAP file according to the observation value identifier; Assign the observed value address to the calibration value variable preset in the A2L file to obtain the calibration value; In response to the user's operation, the monitoring calibration quantity enable switch preset in the A2L file is turned on, the observation quantity preset in the A2L file is monitored, the preset observation quantity points to the calibration quantity through a pointer, and the calibration quantity is parsed to obtain the observation quantity data corresponding to the observation quantity identifier.

2. The method according to claim 1, characterized in that The step of responding to the user's operation, turning on the monitoring calibration quantity enable switch preset in the A2L file, and acquiring the observation quantity data corresponding to the observation quantity identifier includes: In response to the user's operation, turning on the monitoring calibration quantity enabling switch preset in the A2L file; Monitor the observation quantity preset in the A2L file, and obtain the observation quantity data corresponding to the observation quantity identifier, wherein the preset observation quantity refers to the calibrated quantity after assignment.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Receive the observation quantity identifier input by the user through the observation quantity configuration box in the graphical user interface.

4. The method according to claim 3, characterized in that: Before receiving the observation value identifier input by the user through the observation value configuration box in the graphical user interface, the method further includes: According to the user's operation, the observation variable, calibration variable and monitoring calibration enable switch are set in the A2L file; wherein, the calibration variable is used to set the observation address according to the demand, and the monitoring calibration enable switch is used to turn on or off the observation monitoring function.

5. The method according to claim 1, characterized in that The MAP file stores a mapping relationship between pre-configured observation quantity identifiers and observation quantity addresses; Correspondingly, acquiring the observed value address corresponding to the observed value identifier from the MAP file according to the observed value identifier includes: According to the observed value identifier and the mapping relationship, the observed value address corresponding to the observed value identifier is acquired.

6. A monitoring device for an observed quantity, characterized in that: include: A detection module, used to detect whether the user inputs an observation value identifier; A first processing module, configured to, when detecting that a user has input an observation value identifier, obtain an observation value address corresponding to the observation value identifier from a MAP file according to the observation value identifier; The second processing module is used to assign the observed value address to the calibration value variable preset in the A2L file to obtain the calibration value; The third processing module, in response to the user's operation, turns on the monitoring calibration quantity enable switch preset in the A2L file, monitors the observation quantity preset in the A2L file, the preset observation quantity points to the calibration quantity through a pointer, and parses the calibration quantity to obtain the observation quantity data corresponding to the observation quantity identifier.

7. The device according to claim 6, characterized in that The third processing module is specifically used for: In response to the user's operation, turning on the monitoring calibration quantity enabling switch preset in the A2L file; Monitor the observation quantity preset in the A2L file, and obtain the observation quantity data corresponding to the observation quantity identifier, wherein the preset observation quantity refers to the calibrated quantity after assignment.

8. The device according to claim 6 or 7, characterized in that The device also includes: The receiving module is used to receive the observation quantity identifier input by the user through the observation quantity configuration box in the graphical user interface.

9. The device according to claim 8, characterized in that The device also includes: The fourth processing module is used to set the observation variable, calibration variable and monitoring calibration enable switch in the A2L file according to the user's operation, wherein the calibration variable is used to set the observation address according to the demand, and the monitoring calibration enable switch is used to turn on or off the observation monitoring function.

10. The device according to claim 6, characterized in that The MAP file stores a mapping relationship between pre-configured observation quantity identifiers and observation quantity addresses; Accordingly, the first processing module is specifically used for: According to the observed value identifier and the mapping relationship, the observed value address corresponding to the observed value identifier is acquired.

11. An electronic device, characterized in that: include: A processor, a memory, a communication interface and a computer program stored in the memory, wherein when the processor executes the computer program, the method for monitoring the observed quantity as described in any one of claims 1 to 5 is implemented.

12. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for monitoring the observed quantity according to any one of claims 1 to 5 is implemented.

13. A computer program product, characterized in that It comprises a computer program, which is used to implement the monitoring method of the observed quantity according to any one of claims 1 to 5 when executed by a processor.

Citation Information

Patent Citations

  • System and method for proofreading electric control data of diesel engine

    CN102663085A

  • Automatic generation method and device for A2L file

    CN103136211A