Report inspection method and report inspection device

Automatically checking signal demand reports by electronic devices, the problem of inefficient manual inspection is solved, efficient signal demand table inspection and forwarding method identification is realized, and CAN communication matrix development is optimized.

CN120434128APending Publication Date: 2025-08-05SAIC MOTOR
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410158770.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-04
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

In the prior art, the inspection and sorting of signal demand tables mainly rely on manual labor, resulting in inefficiency and uncertainty, affecting the efficiency of CAN communication matrix development.

Method used

Provide a report inspection method and device, which automatically traverses the signal demand report through electronic devices, checks the signal attributes according to the preset attribute inspection logic, and determines the corresponding label when the preset format conditions are not met to complete the inspection of the signal demand report.

Benefits of technology

It realizes signal demand table inspection without manual participation, saves a lot of human resources, improves inspection efficiency, and can identify the forwarding method of signal, and optimizes the CAN communication matrix development process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120434128A_ABST
    Figure CN120434128A_ABST
Patent Text Reader

Abstract

The invention discloses a report checking method and a report checking device, which can be applied to the technical field of communication, the method can be applied to electronic equipment, and the method comprises the following steps: acquiring a signal demand report required for developing a CAN communication matrix, traversing each line of the signal demand report, the method comprises the following steps: acquiring a signal demand report, checking corresponding signal attributes in a signal demand table according to various attribute checking logics in the preset signal demand table, and determining corresponding labels for the signal attributes when determining that the signal attributes do not meet a preset format condition so as to complete the checking of the signal demand report. The electronic equipment can check the corresponding signal attributes in the signal demand table according to various attribute check logics in the preset signal demand table and determine the corresponding labels according to the signal attributes, and the whole process does not need manual participation, so that a large amount of manpower resources can be saved in the process of checking the signal demand table; and the efficiency of checking the signal demand table is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and particularly to a method and apparatus for verifying reports. Background Art

[0002] A CAN communication matrix is usually defined by a vehicle manufacturer, and each node in the vehicle network needs to follow this communication matrix to complete information interaction and sharing.

[0003] When a network engineer develops a CAN communication matrix, he / she needs to develop based on the signal requirement table passed from upstream. In the process of CAN communication matrix development, operations such as creating new signals, configuring signal transceiver relationships, designing gateway signal routing methods, completing signal packaging for each network segment, and modifying and deleting transceiver relationships for some requirements are performed. As the vehicle development cycle shortens, the impact of the quality of the signal requirement table on the efficiency of network development becomes more and more obvious.

[0004] Controller engineers from each department submit signal requirement tables according to the functions of the project controllers. All the contents in the requirement tables are filled in manually or pasted and copied from other project requirement tables. Due to reasons such as short demand collection time, filling-in errors, and non-standard filling of the reused requirement tables, there are a large number of filling problems in the locked version of the signal requirement table, including various requirement problems such as missing attributes, inaccurate attribute filling, and missing change remarks.

[0005] Traditional inspection of signal requirement tables and sorting of new signal requirements are both carried out manually, consuming a large amount of human resources, with low efficiency, and due to various uncertainties in manual inspection, the final inspection effect is affected. Summary of the Invention

[0006] This application provides a method for verifying reports, so as to save human resources and improve efficiency during the process of inspecting signal requirement reports. This application also provides an apparatus for verifying reports.

[0007] In a first aspect, this application provides a method for verifying reports, including:

[0008] Obtaining a signal requirement report required for developing a CAN communication matrix;

[0009] Traversing each row of the signal requirement report, and checking the corresponding signal attributes in the signal requirement table according to various attribute checking logics preset in the signal requirement table;

[0010] When it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute to complete the verification of the signal requirement report.

[0011] Optionally, when it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes:

[0012] When it is determined that the required type of the signal does not belong to one of adding the sending and receiving node information of the signal, adding the receiving node information of the signal, deleting the sending and receiving node information of the signal, deleting the receiving node information of the signal, and signal change, determining the label of the signal attribute as incorrect required type.

[0013] Optionally, when it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes:

[0014] When it is determined that the signal length of the signal is empty, determining the label of the signal attribute as missing signal length.

[0015] Optionally, when it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes:

[0016] When it is determined that the signal type of the signal is empty, determining the label of the signal attribute as missing signal type;

[0017] When it is determined that the signal type of the signal does not belong to one of the preset types, determining the label of the signal attribute as invalid signal type;

[0018] When it is determined that the signal type of the signal does not match the preset coding format, determining the label of the signal attribute as signal type does not match the preset coding format.

[0019] Optionally, when it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes:

[0020] When it is determined that the signal initial value of the signal is empty, determining the label of the signal attribute as missing signal initial value;

[0021] When it is determined that the signal initial value of the signal does not belong to hexadecimal digits, determining the label of the signal attribute as incorrect initial value format.

[0022] Optionally, when it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes:

[0023] When it is determined that the signal range value of the signal does not belong to a decimal integer, determining the label of the signal attribute as incorrect signal value range.

[0024] Optionally, the method further includes:

[0025] When the required type of the signal is to increase the sending and receiving node information of the signal, traverse all rows in the network signal configuration database where the network segment information is consistent with the sending network segment information in the signal;

[0026] When the signal short name does not exist in these rows, determine that the signal is a source sending signal that appears for the first time and store it in the network signal configuration database.

[0027] Optionally, the method further includes:

[0028] When the required type of the signal is to increase the sending and receiving node information of the signal or increase the receiving node information of the signal and the recommended sending frame ID information of the signal exists in all rows that are consistent with the receiving network segment information of the signal, mark the forwarding method of the signal as frame forwarding;

[0029] Or,

[0030] When the required type of the signal is to increase the sending and receiving node information of the signal or increase the receiving node information of the signal and the recommended sending frame ID information of the signal does not exist in all rows that are consistent with the receiving network segment information of the signal and the recommended sending frame ID information of the signal does not exist in all rows that are consistent with the sending network segment information of the signal, mark the forwarding method of the signal as frame forwarding;

[0031] Or,

[0032] When the required type of the signal is to increase the sending and receiving node information of the signal or increase the receiving node information of the signal and the recommended sending frame ID information of the signal does not exist in all rows that are consistent with the receiving network segment information of the signal, the recommended sending frame ID information of the signal exists in all rows that are consistent with the sending network segment information of the signal, and the signal short name does not exist in all rows that are the same as the receiving network segment information of the signal, mark the forwarding method of the signal as frame forwarding.

[0033] Optionally, the method further includes:

[0034] When the required type of the signal is to increase the sending and receiving node information of the signal or increase the receiving node information of the signal and the recommended sending frame ID information of the signal does not exist in all rows that are consistent with the receiving network segment information of the signal, the recommended sending frame ID information of the signal exists in all rows that are consistent with the sending network segment information of the signal, and the signal short name exists in all rows that are consistent with the receiving network segment information of the signal, mark the forwarding method of the signal as unpacking and recombination.

[0035] In a second aspect, the present application provides a report inspection device, including:

[0036] A first acquisition unit for acquiring a signal requirement report needed for developing a CAN communication matrix;

[0037] A first traversal unit for traversing each row of the signal requirement report and checking the corresponding signal attributes in the signal requirement table according to various attribute check logics preset in the signal requirement table;

[0038] A first determination unit for determining a corresponding label for the signal attribute when it is determined that the signal attribute does not meet the preset format condition, so as to complete the inspection of the signal requirement report.

[0039] Optionally, the first determination unit is specifically configured to:

[0040] When it is determined that the requirement type of the signal does not belong to one of adding the sending and receiving node information of the signal, adding the receiving node information of the signal, deleting the sending and receiving node information of the signal, deleting the receiving node information of the signal, and signal change, determining that the label of the signal attribute is an incorrect requirement type.

[0041] Optionally, the first determination unit is specifically configured to:

[0042] When it is determined that the signal length of the signal is empty, determining that the label of the signal attribute is a missing signal length.

[0043] Optionally, the first determination unit is specifically configured to:

[0044] When it is determined that the signal type of the signal is empty, determining that the label of the signal attribute is a missing signal type;

[0045] When it is determined that the signal type of the signal does not belong to one of the preset types, determining that the label of the signal attribute is an invalid signal type;

[0046] When it is determined that the signal type of the signal does not match the preset encoding format, determining that the label of the signal attribute is that the signal type does not match the preset encoding format.

[0047] Optionally, the first determination unit is specifically configured to:

[0048] When it is determined that the signal initial value of the signal is empty, determining that the label of the signal attribute is a missing signal initial value;

[0049] When it is determined that the signal initial value of the signal does not belong to hexadecimal digits, determining that the label of the signal attribute is an incorrect initial value format.

[0050] Optionally, the first determination unit is specifically configured to:

[0051] When it is determined that the signal range value of a signal does not belong to an integer in decimal, determine that the label of the signal attribute is signal value range error.

[0052] Optionally, the device further includes:

[0053] A second traversal unit, configured to, when the demand type of the signal is to increase the sending and receiving node information of the signal, traverse all rows in the network signal configuration database where the network segment information is consistent with the sending network segment information in the signal;

[0054] A storage unit, configured to, when the signal short name does not exist in these rows, determine that the signal is a source transmission signal that appears for the first time and store it in the network signal configuration database.

[0055] Optionally, the device further includes:

[0056] A first annotation unit, configured to, when the demand type of the signal is to increase the sending and receiving node information of the signal or increase the receiving node information of the signal and the recommended transmission frame ID information of the signal exists in all rows that are consistent with the receiving network segment information of the signal, annotate the forwarding mode of the signal as frame forwarding;

[0057] Or,

[0058] A second annotation unit, configured to, when the demand type of the signal is to increase the sending and receiving node information of the signal or increase the receiving node information of the signal and the recommended transmission frame ID information of the signal does not exist in all rows that are consistent with the receiving network segment information of the signal and the recommended transmission frame ID information of the signal does not exist in all rows that are consistent with the sending network segment information of the signal, annotate the forwarding mode of the signal as frame forwarding;

[0059] Or,

[0060] A third annotation unit, configured to, when the demand type of the signal is to increase the sending and receiving node information of the signal or increase the receiving node information of the signal and the recommended transmission frame ID information of the signal exists in all rows that are consistent with the sending network segment information of the signal and the recommended transmission frame ID information of the signal exists in all rows that are consistent with the sending network segment information of the signal and the signal short name does not exist in all rows that are the same as the receiving network segment information of the signal, annotate the forwarding mode of the signal as frame forwarding.

[0061] Optionally, the device further includes:

[0062] The fourth annotation unit is used to annotate the forwarding method of the signal as unpacking and reorganization when the required type of the signal is to increase the sending and receiving node information of the signal or increase the receiving node information of the signal, and the recommended transmission frame ID information of the signal does not exist in all rows consistent with the receiving network segment information of the signal, the recommended transmission frame ID information of the signal exists in all rows consistent with the sending network segment information of the signal, and the short name of the signal exists in all rows consistent with the receiving network segment information of the signal.

[0063] In a third aspect, an embodiment of the present application provides a computer storage medium, in which code is stored. When the code runs, the device running the code implements the method according to any one of the foregoing first aspects.

[0064] Compared with the prior art, the present application has the following beneficial effects:

[0065] The electronic device of the present application can obtain a signal requirement report required for developing a CAN communication matrix, traverse each row of the signal requirement report, and check the corresponding signal attributes in the signal requirement table according to various attribute check logics preset in the signal requirement table. When it is determined that the signal attributes do not meet the preset format conditions, corresponding labels are determined for the signal attributes to complete the inspection of the signal requirement report. It can be seen that the electronic device can check the corresponding signal attributes in the signal requirement table according to various attribute check logics preset in the signal requirement table and can determine corresponding labels for the signal attributes. The whole process does not require manual participation. Therefore, a large amount of human resources can be saved in the process of checking the signal requirement table, and the efficiency of checking the signal requirement table can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] To more clearly illustrate the technical solutions in this embodiment or the prior art, the following will briefly introduce the drawings required for the description of the embodiment or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0067] Figure 1 It is a flowchart of a method for checking a report provided by an embodiment of the present application;

[0068] Figure 2 It is a structural diagram of another report checking device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0069] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts belong to the protection scope of the present application.

[0070] The CAN communication matrix is usually defined by the vehicle manufacturer, and each node in the vehicle network needs to follow this communication matrix to complete information interaction and sharing.

[0071] When a network engineer develops the CAN communication matrix, it is necessary to develop according to the signal requirement table passed from upstream. In the CAN communication matrix development project, operations such as creating new signals, configuring signal transceiver relationships, designing gateway signal routing methods, completing signal packaging for each network segment, and modifying and deleting transceiver relationships for some requirements are carried out. As the vehicle development cycle shortens, the impact of the quality of the signal requirement table on the efficiency of network development becomes more and more obvious.

[0072] Each department's controller engineer submits a signal requirement table according to the functions of the project controller. All the contents in the requirement table are filled in manually or pasted and copied from the requirement tables of other projects. Due to reasons such as short demand collection time, filling errors, and non-standard filling of the reused requirement table, there are a large number of filling problems in the locked version of the signal requirement table, including various requirement problems such as missing attributes, inaccurate attribute filling, and missing change remarks.

[0073] The traditional inspection work of the signal requirement table and the sorting of new signal requirements are both inspected and sorted manually, which consumes a large amount of human resources, has low efficiency, and affects the final inspection effect due to various uncertainties in manual inspection.

[0074] After research, the inventor proposed the technical solution of the present application. The present application provides a method for inspecting a report, which is applied to an electronic device. It can obtain the signal requirement report required for developing the CAN communication matrix, traverse each row of the signal requirement report, and check the corresponding signal attributes in the signal requirement table according to various attribute check logics preset in the signal requirement table. When it is determined that the signal attribute does not meet the preset format conditions, a corresponding label is determined for the signal attribute to complete the inspection of the signal requirement report. It can be seen that the electronic device can check the corresponding signal attributes in the signal requirement table according to various attribute check logics preset in the signal requirement table and can determine the corresponding label for the signal attribute. The whole process does not require manual participation. Therefore, a large amount of human resources can be saved in the process of checking the signal requirement table, and the efficiency of checking the signal requirement table can be improved.

[0075] It should be noted that a method and a device for verifying a report provided in this application are used in the field of communication technology. The above is only an example and does not limit the application fields of the method and device names provided in this application.

[0076] To enable those skilled in the art of this technology to better understand the solutions of this application, the following provides a further detailed description of this application in conjunction with the accompanying drawings and specific implementation manners. Taking the method of this application being executed on the first device as an example, as Figure 1 shown, Figure 1 is a flowchart of a method for verifying a report provided in an embodiment of this application, including:

[0077] S101: Obtain a signal requirement report required for developing a CAN communication matrix.

[0078] The first device obtains a signal requirement report for developing a CAN communication matrix. The signal requirement report may include multiple rows of signal data. Each row of signal data may include the requirement type Request Type of the signal, the sending node name, the signal length Signal Length, the signal type Signal Type, the signal initial value Signal Initial Value, the signal value range Signal Range, the signal value description Encoding, the receiving node information, the sending network segment information, the receiving network segment information, the recommended sending frame ID, and the note information. For example, the note information may be to change the signal initial value from "0x0" to "0x1".

[0079] S102: Traverse each row of the signal requirement report, and check the corresponding signal attributes in the signal requirement report according to various attribute check logics preset in the signal requirement table.

[0080] When the first device obtains a signal requirement report required for developing a CAN communication matrix, it can traverse each row of the signal requirement report and check the corresponding signal attributes in the signal requirement report according to various attribute check logics preset in the signal requirement table.

[0081] Specifically, it can be checked whether the requirement type of the signal is filled in according to the specified 5 requirement types, that is, it is checked whether the requirement type of the signal is one of adding the sending and receiving node information of the signal Add Tx&Rx, adding the receiving node information of the signal Add Rx, deleting the sending and receiving node information of the signal Delete Tx&Rx, deleting the receiving node information of the signal Delete Rx, and the signal being changed Change.

[0082] It can also be checked whether the note information corresponding to this frame of signal needs to change the specific content when the requirement type of the signal is "Change".

[0083] When the signal requirement type is "Delete Tx&Rx or Delete Rx", check whether the receiving node and the receiving network segment information are filled in.

[0084] In some possible implementations, it is also possible to check whether the sending node information of each (each row) signal is missing, check whether the signal length information of each signal is missing, check whether the signal type of each signal is missing, check whether the signal type of each signal is one of the preset types, where the preset types include BLN, ENM, UNM, and SNM, check whether the signal type of each signal requirement is the same as the preset encoding format of the signal, check whether the signal initial value of each signal is missing, check whether the signal initial value of each signal is in the format of standard hexadecimal digits, check whether the signal value range of each signal is in decimal format, check whether there are any illegal characters other than numbers, letters, underscores, and spaces in the string defined by the enumerated values in the signal encoding format of each signal, check whether the formula in the signal encoding format of each signal is filled in according to the specified formula format, check whether the sending network segment information of each signal is missing, check whether the receiving network segment information of each signal is missing, check whether the receiving node information of each signal is missing, and check whether the recommended transmission frame ID information of each signal is missing. It should be noted that in this application, only an example is given to list all the checked contents, and those skilled in the art can only check some of the contents according to actual needs, which is not limited here.

[0085] S103: When it is determined that the signal attribute does not meet the preset format condition, determine the corresponding label for the signal attribute to complete the verification of the signal requirement report.

[0086] The first device can determine whether the requirement type of the signal belongs to the types in "Add Tx&Rx, Add Rx, Delete Tx&Rx, Delete Rx, and Change". If it does not belong to these 5 types, determine the label of the signal attribute as "Requirement type error", or determine the label of the signal as "Requirement type error", and can record this label.

[0087] Determine whether the requirement type of the signal is the "Change" type. If so, determine whether the remarks information is "empty". If it is "empty", determine the label of the signal attribute as "Missing Change remarks information" and can record this label.

[0088] Determine whether the required type of the signal is of the type "Delete Tx&Rx or Delete Rx". If so, respectively determine whether the receiving node information and receiving network segment information of the signal are empty. If they are empty, then determine the label of the signal as "Missing receiving node information to be deleted" or "Missing receiving network segment information to be deleted" and record this label.

[0089] Check the sending node name of each line of the signal, determine whether it is empty, determine the label of the signal as "Missing sending node information", and record this label.

[0090] When checking the signal length of each line of the signal, determine whether the signal length is empty. If it is empty, then determine the label of the signal as "Missing signal length" and record this label.

[0091] When checking the signal type of each line of the signal: it can be determined whether the signal type is empty. If it is empty, then determine the label of the signal as "Missing signal type" and record this label.

[0092] Determine whether the signal type is one of the preset types, that is, one of "BLN, ENM, UNM, SNM". If not, then determine the label of the signal as "Invalid signal type" and record this label.

[0093] It can be determined whether the signal type matches the preset coding format. If not, determine the label of the signal as "The signal type does not match the preset coding format". The specific matching principle can be as follows:

[0094] The coding format corresponding to BLN is: 0x0 = FALSE; 0x1 = TRUE;

[0095] The coding format corresponding to ENM is: 0x0 = xx; 0x1 = xx; 0x2 = ;......

[0096] The coding format corresponding to UNM is: E = N*a + b or E = N*a + b; 0x1 = ; 0x2 = ;......

[0097] The coding format corresponding to SNM is: E = N*a + b, where N is the actual data value uploaded on the CAN bus, a is the scaling factor of the signal, b is the offset of the signal, and E is the calculated data value.

[0098] When checking the initial value of the signal required for each line of the signal:

[0099] Determine whether the signal initial value is empty. If it is empty, determine the label of the signal as "Missing signal initial value" and record this label;

[0100] Judge whether the initial value of the signal is filled with hexadecimal digits, and the 'x' in '0x' representing hexadecimal cannot be filled with uppercase 'X'. If not satisfied, determine the label of the signal as 'Initial value filling format error', and this label can be recorded.

[0101] When checking the signal value range of each line of signal requirements, the signal value range is an integer in decimal. For example, [0, 1.0] should be changed to [0, 1], and '.0' cannot appear. If not satisfied, determine the label of the signal as 'Signal value range filling error', and this label can be recorded.

[0102] When checking the signal value description of each line of signal requirements:

[0103] Check whether all enumerated values in the signal type ENM or UNM are hexadecimal digits, and the 'x' in '0x' representing hexadecimal cannot be filled with uppercase 'X'. If not satisfied, determine the label of the signal attribute as 'Enumerated value format error', and this label can be recorded.

[0104] Check that in the definitions of all enumerated values in the signal type ENM or UNM, there should be no other symbols or Chinese characters except letters / numbers / underscores. For example: (), / ,?, - etc. If not satisfied, determine the label of the signal attribute as 'There are illegal characters in the coding format', and this label can be recorded.

[0105] Check whether there is only one space between words in the definitions of all enumerated values in the signal type ENM or UNM. If not satisfied, determine the label of the signal as 'There are multiple spaces in the coding format', and this label can be recorded.

[0106] Check whether the linear formula of the signal type UNM or SNM satisfies the format E = N * a + b. If not satisfied, determine the label of the signal as 'Linear formula format error', and this label can be recorded.

[0107] Check whether there is exactly one space between the linear formula E = N * a + b of the signal type UNM or SNM and the unit. If not satisfied, determine the label of the signal as 'There is no space between the formula and the unit', and this label can be recorded.

[0108] When checking the sending network segment information and receiving network segment information of each line of signal requirements:

[0109] It can be judged whether the sending network segment information and receiving network segment information are empty. If they are empty, determine the label of the signal as 'Sending network segment information is empty' or 'Receiving network segment information is empty', and these labels can be recorded.

[0110] It can be determined whether the sending network segment information and the receiving network segment information match the project vehicle topology network segment information. If they do not match, the label of the signal is determined to be "Incorrect sending network segment filled" or "Incorrect receiving network segment filled", and this label can be recorded.

[0111] When checking the recommended sending frame ID of each line of signal requirements, it is determined whether the information is empty. If it is empty, the label of the signal is determined to be "Recommended sending frame ID information is empty" and this label can be recorded.

[0112] In this application, the electronic device can obtain the signal requirements report required for developing the CAN communication matrix, traverse each line of the signal requirements report, and check the corresponding signal attributes in the signal requirements table according to various attribute check logics preset in the signal requirements table. When it is determined that the signal attributes do not meet the preset format conditions, corresponding labels are determined for the signal attributes to complete the inspection of the signal requirements report. It can be seen that the electronic device can check the corresponding signal attributes in the signal requirements table according to various attribute check logics preset in the signal requirements table and determine corresponding labels for the signal attributes. The whole process does not require manual participation. Therefore, a large amount of human resources can be saved during the process of checking the signal requirements table, and the efficiency of checking the signal requirements table can be improved.

[0113] During the development of the communication matrix, it is necessary to complete the source packing and forwarding packing of the controller signals. Therefore, this application can also identify the forwarding methods of the signals in the signal requirements table. Among them, when implementing source packing, the packing information of the signal needs to be found from the database (network signal configuration database), and at the same time, it is necessary to promptly identify which signals have no information in the database and are brand-new source transmission signals, and the library administrator needs to allocate them. When implementing forwarding packing, if all frames sent by the source network segment are forwarded to the target network segment through the gateway, it will greatly increase the bus load of each network segment. Therefore, for some non-critical frames, the form of repacking in the target network segment can be adopted to reduce the number of forwarded frames in the target network segment, thereby reducing the bus load of the network segment.

[0114] Therefore, the method of this application can further include: identifying the forwarding methods of the signals in the signal requirements table, that is, adding a source packing and routing signal sorting link.

[0115] Specifically, this application can read the signal requirement type, signal short name, sending network segment information, receiving network segment information, and recommended sending frame ID of each line of the signal.

[0116] When the demand type of the signal in this row is Add Tx&Rx, read the signal short name and the sending network segment information. First, traverse all rows in the network signal configuration database where the network segment information is the same as the sending network segment information in the demand table, and then determine whether the signal short name in the demand table exists in these rows. If it does not exist, determine the signal in this row as a brand-new source transmission signal and store it in the network signal configuration database.

[0117] When the demand type of the signal in this row is Add Tx&Rx or Add Rx, the signal short name, the sending network segment information, the receiving network segment information, and the recommended transmission frame ID information can be read. Then, traverse the network segment information in the network signal configuration database and determine whether there are all rows that are the same as the receiving network segment information of the signal in this row. If not, determine whether there are all rows that are the same as the recommended transmission frame ID information of the signal in this row.

[0118] Specifically, if it exists, it means that the frame signal has been forwarded, and then mark the forwarding method of the signal in this row as "whole-frame forwarding".

[0119] If it does not exist, traverse all rows in the network signal configuration database where the network segment information is the same as the sending network segment information of the signal in this row, and determine whether the recommended transmission frame ID of this signal exists in all the traversed rows:

[0120] If the recommended transmission frame ID does not exist, it means that this is the first time this signal appears during source forwarding, and by default, mark the forwarding method of this signal as "whole-frame forwarding" for the whole frame.

[0121] If the recommended transmission frame ID exists, traverse and compare the signal short names (signal names) of these rows with the same recommended transmission frame ID in the rows with the same receiving network segment information:

[0122] If there is a match in the signal short name, it means that this frame signal has been forwarded by unpacking and recombination before, and then the forwarding method of this frame signal in the future also needs to be unpacking and recombination, so mark the forwarding method of the signal in this row as "unpacking and recombination forwarding".

[0123] If no signal is matched, it means that this frame signal has not been forwarded by unpacking and recombination before. It is considered that this frame signal can be forwarded as a whole frame, and then mark the forwarding method of the signal in this row as "whole-frame forwarding".

[0124] After completing all the above sorting logics for each row of signal requirements, a brand-new source transmission signal table and a new routing signal table of this signal requirement table can be generated, so as to determine which signals are brand-new source transmission signals, which signals are new routing signals, and mark the corresponding forwarding methods for the corresponding signals.

[0125] The above are some specific implementation manners of the report inspection method provided by the embodiments of the present application. Based on this, the present application also provides a corresponding report inspection device. The report inspection device provided by the embodiments of the present application will be introduced below. This device can be correspondingly referred to the report inspection method described above.

[0126] Figure 2 It is a structural diagram of a report inspection device provided by an embodiment of the present application. As Figure 2 shown, the device may include:

[0127] A first acquisition unit 210, configured to acquire a signal requirement report required for developing a CAN communication matrix;

[0128] A first traversal unit 220, configured to traverse each row of the signal requirement report, and check the corresponding signal attributes in the signal requirement table according to various attribute check logics preset in the signal requirement table;

[0129] A first determination unit 230, configured to determine a corresponding label for the signal attribute when it is determined that the signal attribute does not meet the preset format condition, so as to complete the inspection of the signal requirement report.

[0130] Optionally, the first determination unit is specifically configured to:

[0131] When it is determined that the required type of the signal does not belong to one of adding the sending and receiving node information of the signal, adding the receiving node information of the signal, deleting the sending and receiving node information of the signal, deleting the receiving node information of the signal, and signal change, determine that the label of the signal attribute is an incorrect required type.

[0132] Optionally, the first determination unit is specifically configured to:

[0133] When it is determined that the signal length of the signal is empty, determine that the label of the signal attribute is a missing signal length.

[0134] Optionally, the first determination unit is specifically configured to:

[0135] When it is determined that the signal type of the signal is empty, determine that the label of the signal attribute is a missing signal type;

[0136] When it is determined that the signal type of the signal does not belong to one of the preset types, determine that the label of the signal attribute is an invalid signal type;

[0137] When it is determined that the signal type of the signal does not match the preset coding format, determine that the label of the signal attribute is that the signal type does not match the preset coding format.

[0138] Optionally, the first determination unit is specifically configured to:

[0139] When it is determined that the signal initial value of the signal is empty, determine that the label of the signal attribute is a missing signal initial value;

[0140] When it is determined that the signal initial value of the signal does not belong to hexadecimal digits, determine that the label of the signal attribute is an incorrect initial value format.

[0141] Optionally, the first determining unit is specifically configured to:

[0142] When it is determined that the signal range value of the signal does not belong to a decimal integer, determine that the label of the signal attribute is an incorrect signal value range.

[0143] Optionally, the device further includes:

[0144] A second traversing unit, configured to traverse all rows in the network signal configuration database where the segment information is consistent with the sending segment information in the signal when the required type of the signal is to add the sending and receiving node information of the signal;

[0145] A storage unit, configured to determine that the signal is a source sending signal that appears for the first time and store it in the network signal configuration database when the signal short name does not exist in these rows.

[0146] Optionally, the device further includes:

[0147] A first marking unit, configured to mark the forwarding mode of the signal as frame-by-frame forwarding when the required type of the signal is to add the sending and receiving node information of the signal or add the receiving node information of the signal and the recommended sending frame ID information of the signal exists in all rows consistent with the receiving segment information of the signal;

[0148] Or,

[0149] A second marking unit, configured to mark the forwarding mode of the signal as frame-by-frame forwarding when the required type of the signal is to add the sending and receiving node information of the signal or add the receiving node information of the signal and the recommended sending frame ID information of the signal does not exist in all rows consistent with the receiving segment information of the signal and the recommended sending frame ID information of the signal does not exist in all rows consistent with the sending segment information of the signal;

[0150] Or,

[0151] A third annotation unit, configured to annotate that the forwarding mode of the signal is frame-by-frame forwarding when the required type of the signal is to add the sending and receiving node information of the signal or add the receiving node information of the signal, the recommended transmission frame ID information of the signal does not exist in all rows consistent with the receiving network segment information of the signal, the recommended transmission frame ID information of the signal exists in all rows consistent with the sending network segment information of the signal, and the short name of the signal does not exist in all rows the same as the receiving network segment information of the signal.

[0152] Optionally, the device further includes:

[0153] A fourth annotation unit, configured to annotate that the forwarding mode of the signal is unpacking and recombination when the required type of the signal is to add the sending and receiving node information of the signal or add the receiving node information of the signal, the recommended transmission frame ID information of the signal does not exist in all rows consistent with the receiving network segment information of the signal, the recommended transmission frame ID information of the signal exists in all rows consistent with the sending network segment information of the signal, and the short name of the signal exists in all rows consistent with the receiving network segment information of the signal.

[0154] The embodiments of the present application further provide corresponding devices and computer storage media for implementing the solutions provided by the embodiments of the present application.

[0155] Among them, the device includes a memory and a processor. The memory is used to store instructions or codes, and the processor is used to execute the instructions or codes so that the device executes the method described in any embodiment of the present application.

[0156] The computer storage medium stores codes. When the codes are run, the device running the codes implements the method described in any embodiment of the present application.

[0157] In the embodiments of the present application, the "first", "second" (if any) in the names such as "first" and "second" are only used as name identifiers and do not represent the first and second in order.

[0158] From the description of the above embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as read-only memory (ROM) / RAM, magnetic disk, optical disk, etc., including several instructions for causing a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in various embodiments or some parts of the embodiments of the present application.

[0159] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the apparatus embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For the relevant parts, reference can be made to the corresponding descriptions in the method embodiments. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative efforts.

[0160] The above description is only an exemplary implementation manner of this application and is not used to limit the protection scope of this application.

Claims

1. A report verification method, applied to electronic equipment, characterized in that: include: Obtain the signal requirement report required to develop the CAN communication matrix; Traversing each row of the signal demand report, and checking the corresponding signal attributes in the signal demand table according to various attribute checking logics preset in the signal demand table; When it is determined that the signal attribute does not meet the preset format condition, a corresponding label is determined for the signal attribute to complete the inspection of the signal requirement report.

2. The method according to claim 1, characterized in that When it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes: When it is determined that the requirement type of the signal does not belong to one of adding the sending and receiving node information of the signal, adding the receiving node information of the signal, deleting the sending and receiving node information of the signal, deleting the receiving node information of the signal, and changing the signal, the label of the signal attribute is determined to be a requirement type error.

3. The method according to claim 1, characterized in that When it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes: When it is determined that the signal length of the signal is empty, the label of the signal attribute is determined to be missing signal length.

4. The method according to claim 1, wherein When it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes: When it is determined that the signal type of the signal is empty, determining the label of the signal attribute as a missing signal type; When it is determined that the signal type of the signal does not belong to one of the preset types, determining the label of the signal attribute as an invalid signal type; When it is determined that the signal type of the signal does not match the preset coding format, the label of the signal attribute is determined to be that the signal type does not match the preset coding format.

5. The method according to claim 1, wherein When it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes: When it is determined that the signal initial value of the signal is empty, determining the label of the signal attribute to be missing signal initial value; When it is determined that the initial signal value of the signal is not a hexadecimal number, it is determined that the label of the signal attribute is an initial value format error.

6. The method according to claim 1, characterized in that When it is determined that the signal attribute does not meet the preset format condition, determining a corresponding label for the signal attribute includes: When it is determined that the signal range value of the signal does not belong to a decimal integer, a label of the signal attribute is determined to be a signal value range error.

7. The method according to claim 1, characterized in that The method further comprises: When the signal requirement type is to add the signal sending and receiving node information, traverse all rows in the network signal configuration database whose network segment information is consistent with the sending network segment information in the signal; When the signal short name does not exist in all the rows, the signal is determined to be a source sending signal that appears for the first time and is stored in the network signal configuration database.

8. The method according to claim 1, characterized in that The method further comprises: When the signal requirement type is to add the signal sending and receiving node information or to add the signal receiving node information and the recommended sending frame ID information of the signal exists in all rows that are consistent with the receiving network segment information of the signal, the forwarding mode of the signal is marked as whole frame forwarding; or, When the signal requirement type is to add the signal sending and receiving node information or to add the signal receiving node information and the recommended sending frame ID information of the signal does not exist in all rows that are consistent with the signal receiving network segment information and the recommended sending frame ID information of the signal does not exist in all rows that are consistent with the signal sending network segment information, the forwarding mode of the signal is marked as whole frame forwarding; or, When the signal requirement type is to add the signal's sending and receiving node information or to add the signal's receiving node information and the recommended sending frame ID information of the signal does not exist in all rows that are consistent with the signal's receiving network segment information, the recommended sending frame ID information of the signal exists in all rows that are consistent with the signal's sending network segment information and the short name of the signal does not exist in all rows that are the same as the signal's receiving network segment information, the forwarding mode of the signal is marked as whole frame forwarding.

9. The method according to claim 1, characterized in that The method further comprises: When the signal requirement type is to add the signal's sending and receiving node information or to add the signal's receiving node information and the signal's recommended sending frame ID information does not exist in all rows that are consistent with the signal's receiving network segment information, the signal's recommended sending frame ID information exists in all rows that are consistent with the signal's sending network segment information, and the signal's short name exists in all rows that are consistent with the signal's receiving network segment information, the signal's forwarding mode is marked as unpacking and reassembly.

10. A report verification device, characterized in that: include: The first acquisition unit is used to obtain a signal requirement report required for developing a CAN communication matrix; A first traversal unit is used to traverse each row of the signal demand report and check the corresponding signal attributes in the signal demand table according to various attribute checking logics preset in the signal demand table; The first determining unit is configured to determine a corresponding label for the signal attribute when it is determined that the signal attribute does not meet a preset format condition, so as to complete the inspection of the signal requirement report.

Citation Information

Patent Citations

  • Error detection method for CAN communication matrix of automobile

    CN112468369A

  • CAN communication matrix error correction method

    CN115333893A

  • DBC file generation method and device, processor and electronic equipment

    CN115617758A

  • Dual controller area network (CAN) starter

    US20180245561A1