[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114968827B - Vehicle bus signal information verification method and system - Google Patents

Vehicle bus signal information verification method and system Download PDF

Info

Publication number
CN114968827B
CN114968827B CN202210915195.7A CN202210915195A CN114968827B CN 114968827 B CN114968827 B CN 114968827B CN 202210915195 A CN202210915195 A CN 202210915195A CN 114968827 B CN114968827 B CN 114968827B
Authority
CN
China
Prior art keywords
signal
initial value
target
information
value information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210915195.7A
Other languages
Chinese (zh)
Other versions
CN114968827A (en
Inventor
夏永强
赵能卿
刘钦
陈江波
周帆
吴皓源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangling Motors Corp Ltd
Original Assignee
Jiangling Motors Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangling Motors Corp Ltd filed Critical Jiangling Motors Corp Ltd
Priority to CN202210915195.7A priority Critical patent/CN114968827B/en
Publication of CN114968827A publication Critical patent/CN114968827A/en
Application granted granted Critical
Publication of CN114968827B publication Critical patent/CN114968827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a vehicle bus signal information verification method and system, the method includes collecting target message ID attribute value, target signal name and corresponding target signal initial value information of a vehicle power-on initialization bus signal; traversing to obtain original signal initial value information corresponding to the target message ID attribute value and the target signal name based on an initial value mapping relation, wherein the initial value mapping relation comprises corresponding relations among a plurality of message ID attribute values, signal names and the original signal initial value information; and checking the initial value information of the target signal with the initial value information of the original signal, and if the initial value information of the target signal is judged to have errors, generating a verification report and correcting. According to the invention, the initial value information of the target signal at the moment of vehicle power-on is acquired, the initial value mapping relation is called to automatically acquire the initial value information of the original signal, and the initial value information of the target signal and the initial value information of the original signal are compared and verified, so that the test comparison verification efficiency can be improved.

Description

Vehicle bus signal information verification method and system
Technical Field
The invention relates to the technical field of vehicles, in particular to a vehicle bus signal information verification method and system.
Background
Along with the continuous upgrading of the automobile electronic architecture, the functions of automobile products are more and more intelligent, the controller nodes of the automobile CAN network bus are more and more, the signals interacted with the functions of the controller nodes are also increased, and the number of the signals sent by the whole automobile bus is counted to be as many as thousands. In the whole vehicle controller software development process, because the controller node is electrified and needs to be initialized by a network at the moment, the value of a transmitted signal is not acquired and is transmitted to a bus according to the actual vehicle information state, the bus signal initialization process can transmit a signal to transmit an initial value to replace the actual signal state, and if the initial value is selected unreasonably, the state displayed by the display module can be in a jump condition. The initial value of the design needs to meet the functional requirement, otherwise, the customer experience is directly affected. Therefore, the test of the actual initial value of the bus signal transmission at the power-up initialization moment is particularly important for function development application.
The power-on initial value of the automobile bus signal sends actual value and design value verification which is indispensable to function acceptance. The traditional method needs to manually collect the message and check whether the actual value and the design value are the same by checking the power-on initial value of the signal according to the design document. The method is low in checking efficiency, heavy in checking task and easy to make mistakes. Therefore, an automatic test method is needed to complete the test work of checking the actual initial value of the bus signal transmission at the power-up initialization moment.
Disclosure of Invention
The invention aims to solve the defects in the prior art, and provides a vehicle bus signal information verification method and system, which specifically adopts the following technical scheme:
the invention provides a vehicle bus signal information verification method, which comprises the following steps:
acquiring first signal attribute information of a vehicle bus signal by using an established test engineering, wherein the first signal attribute information comprises a first message ID attribute value, a first signal name and first signal initial value information;
traversing first signal initial value information corresponding to the first signal name under each first message ID attribute value, and judging whether the first signal initial value information is missing or not;
if yes, the signal name which lacks the initial value information of the first signal is used as a second signal name, and the signal name which is the same as the second signal name in the target signal name is cleared according to the second signal name;
collecting target attribute information of a vehicle power-on initialization bus signal, wherein the target attribute information comprises a target message ID attribute value, a target signal name and corresponding target signal initial value information;
traversing to obtain original signal initial value information corresponding to the target message ID attribute value and the target signal name based on an initial value mapping relation, wherein the initial value mapping relation comprises a plurality of message ID attribute values, a plurality of signal names and a plurality of corresponding relations among the original signal initial value information;
checking the initial value information of the target signal with the initial value information of the original signal one by one to judge whether the initial value information of the target signal has error information or not;
if yes, generating a verification report, and correcting error information of the initial value information of the target signal according to the verification report.
The vehicle bus signal information verification method provided by the invention has the following beneficial effects: according to the invention, the target message ID attribute value and the target signal initial value information corresponding to the target signal name at the moment of vehicle power-on are accurately acquired, the original signal initial value information is rapidly and automatically acquired based on the initial value mapping relation, the target signal initial value information and the original signal initial value information are subjected to comparison analysis to judge whether the target signal initial value information is consistent with the original signal initial value information, and the error initial value information is corrected, so that the manual test comparison verification efficiency is improved, and the software development test verification is supported.
Before verification, screening and removing the first signal names without the initial value information of the signals, taking the signal names without the initial value information after removal as the second signal names, and removing the second signal names without the initial value information from a target signal name list, so that only the signal names with the initial value information are required to be tested, and the verification rate is improved.
In addition, the vehicle bus signal information verification method provided by the invention can also have the following additional technical characteristics:
further, based on the initial value mapping relationship, the step of traversing to obtain the initial value information of the original signal corresponding to the target message ID attribute value and the target signal name specifically includes:
inquiring an original message ID attribute value which is the same as the target message ID attribute value;
inquiring an original signal name under the original message ID attribute value according to the original message ID attribute value based on the initial value mapping relation;
and inquiring the original signal name which is the same as the target signal name based on the initial value mapping relation, and inquiring corresponding original signal initial value information based on the original signal name.
From the above description, the beneficial effects are as follows: the invention firstly screens the original message ID attribute value which is the same as the original message ID attribute value through the target message ID attribute value, invokes the initial value mapping relation, searches the original signal name under the original message ID attribute value according to the original message ID attribute value, screens the original signal name which is the same as the original signal name through the target signal name, finally obtains the original signal initial value information corresponding to the target signal name, and gradually searches the original signal initial value information through the message ID attribute value and the signal name, thereby improving the testing accuracy.
Further, if yes, the step of generating the verification report specifically includes:
if the target signal initial value information has error information, generating a verification report, wherein the verification report comprises a target message ID attribute value, a target signal name, target signal initial value information, an original message ID attribute value, an original signal name and original signal initial value information, and the error target signal initial value information is marked by color.
From the above description, the beneficial effects are as follows: the invention highlights and marks the error information through the color, and can more quickly find the error information and correct the error information.
Further, the step of checking the initial value information of the target signal with the initial value information of the original signal one by one to determine whether the initial value information of the target signal has error information specifically includes:
checking the initial value information of the target signal with the initial value information of the original signal one by one;
and if the initial value information of the target signal is inconsistent with the initial value information of the original signal, judging that the initial value information of the target signal has error information.
The invention also provides a vehicle bus signal information verification system, which comprises:
the rejecting module is used for acquiring first signal attribute information of the bus signal of the vehicle by using the established test engineering, wherein the first signal attribute information comprises a first message ID attribute value, a first signal name and first signal initial value information;
traversing first signal initial value information corresponding to the first signal name under each first message ID attribute value, and judging whether the first signal initial value information is missing or not;
if yes, the signal name which lacks the initial value information of the first signal is used as a second signal name, and the signal name which is the same as the second signal name in the target signal name is cleared according to the second signal name;
the acquisition module is used for acquiring target attribute information of the vehicle power-on initialization bus signal, wherein the target attribute information comprises a target message ID attribute value, a target signal name and corresponding target signal initial value information;
the traversing module is used for traversing and obtaining original signal initial value information corresponding to the target message ID attribute value and the target signal name based on an initial value mapping relation, wherein the initial value mapping relation comprises a corresponding relation among a plurality of message ID attribute values, a plurality of signal names and a plurality of original signal initial value information;
the checking module is used for checking the initial value information of the target signal with the initial value information of the original signal one by one to judge whether the initial value information of the target signal has error information or not;
and the correction module is used for generating a verification report if the target signal initial value information is the target signal initial value information, and correcting the error information of the target signal initial value information according to the verification report.
Further, the traversing module further comprises:
the inquiring unit is used for inquiring the original message ID attribute value which is the same as the target message ID attribute value;
inquiring an original signal name under the original message ID attribute value according to the original message ID attribute value based on the initial value mapping relation;
and inquiring the original signal name which is the same as the target signal name based on the initial value mapping relation, and inquiring corresponding original signal initial value information based on the original signal name.
Further, the correction module further includes:
and the marking unit is used for generating a verification report if the target signal initial value information has error information, wherein the verification report comprises a target message ID attribute value, a target signal name, target signal initial value information, an original message ID attribute value, an original signal name and original signal initial value information, and the error target signal initial value information is marked by color.
Further, the collation module further includes:
the judging unit is used for checking the initial value information of the target signal with the initial value information of the original signal one by one;
and if the initial value information of the target signal is inconsistent with the initial value information of the original signal, judging that the initial value information of the target signal has error information.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a flow chart of a method for checking vehicle bus signal information according to a first embodiment of the present invention;
fig. 2 is a block diagram showing a configuration of a vehicle bus signal information verification system according to a second embodiment of the present invention.
Detailed Description
The conception, specific structure, and technical effects produced by the present invention will be clearly and completely described below with reference to the embodiments and the drawings to fully understand the objects, aspects, and effects of the present invention. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The same reference numbers will be used throughout the drawings to refer to the same or like parts.
The whole vehicle network test needs to test whether the actual target signal initial value sent by the signal power-on instant is consistent with the designed original signal initial value, and manual checking of consistency needs to consume a great deal of time and energy, and the checking task is heavy.
In the whole vehicle controller software development process, because the controller node is electrified and needs to be initialized by a network at the moment, the signal transmitting value is not acquired according to the actual vehicle information state and is transmitted to the bus, and the initial value of the design needs to meet the function requirement because the bus signal initializing process can transmit the signal to replace the actual signal state, and if the initial value is selected unreasonably, the state displayed by the display module can be in a jumping condition. Directly affecting the customer experience.
Based on the above, the invention provides a vehicle bus signal information verification method, which can automatically test whether initial value information sent at the moment of powering on a vehicle bus signal meets the design requirement or not.
Referring to fig. 1, a first embodiment of the present invention provides a vehicle bus signal information checking method, which includes the following steps:
step S101, acquiring first signal attribute information of a bus signal of a vehicle by using an established test engineering, wherein the first signal attribute information comprises a first message ID attribute value, a first signal name and first signal initial value information;
step S102, traversing first signal initial value information corresponding to the first signal name under each first message ID attribute value, and judging whether the first signal initial value information is missing or not;
step S103, if yes, the signal name which lacks the first signal initial value information is used as a second signal name, and the signal name which is the same as the second signal name in the target signal name is cleared according to the second signal name;
before verification, a test platform is built in advance, test engineering establishment is completed through CAPL language programming, CANOE equipment is connected to an automobile OBD terminal, normal collection of messages is guaranteed, a DBC file of CAN signals is identified by the aid of the established test engineering, first message ID attribute values, first signal names and first signal initial value information of all network segments are obtained, second signal names without the signal initial value information are screened and removed, only signal names with the initial value information are recorded, and only signal names with the initial value information are checked one by one during testing, so that verification speed is improved.
For example, before a specific test verification is performed, two signal names checksum, rollingCounter, which are no signal initial values, are found, and the two signal names are removed, so that the two names do not need to be compared and analyzed during the verification.
Step S104, collecting target attribute information of a vehicle power-on initialization bus signal, wherein the target attribute information comprises a target message ID attribute value, a target signal name and corresponding target signal initial value information;
the method comprises the steps of monitoring the vehicle power-on moment to ensure that first frame signal initial values of different messages of the vehicle are collected at the power-on moment, and acquiring target attribute information from the received messages, wherein the target attribute information comprises a target message ID attribute value, target signal names and corresponding target signal initial value information, one frame of message corresponds to one target message ID attribute value, a plurality of target signal names can be arranged under one target message ID attribute value, and corresponding target signal initial value information can be arranged under each target signal name.
Step 105, traversing to obtain original signal initial value information corresponding to the target message ID attribute value and the target signal name based on an initial value mapping relationship, wherein the initial value mapping relationship comprises a correspondence relationship among a plurality of message ID attribute values, a plurality of signal names and a plurality of original signal initial value information;
the initial value mapping relation of the message ID attribute values, the signal names and the initial value of the original signal is pre-stored in the CANOE program, and the initial value mapping relation can be directly called when the vehicle is confirmed to be in use.
Traversing each target message ID attribute value and the target signal name based on the initial value mapping relation, and directly inquiring the corresponding development definition initial value information of the original signal.
Step S106, the initial value information of the target signal and the initial value information of the original signal are checked one by one to judge whether the initial value information of the target signal has error information or not;
the method and the device have the advantages that the initial value of each target signal obtained at the moment of power-on and the initial value information of the original signal defined by development are subjected to one-to-one comparison analysis, so that the problem points of the initial value information of the target signal and the initial value information of the original signal on the message signal can be checked, and compared with manual test comparison verification, the initial value mapping relation is directly and automatically called through the obtained attribute information of the target signal, the initial value information of the original signal can be quickly found, and the improvement of the test efficiency is facilitated.
And step S107, if yes, generating a verification report, and correcting error information of the initial value information of the target signal according to the verification report.
If the initial value information of the target signal is inconsistent with the original initial value information, generating a verification report, and correcting the erroneous initial value information of the target signal according to the verification report.
For example, the key start controller transmits a key state signal at the moment of power-up, and the initial value information of the target signal transmitted at the moment of power-up is 0x1 (the key state cannot be found), but the initial value information of the original signal is 0x0 (the key signal effective signal), and when the initial value information of the target signal is inconsistent with the initial value information of the original signal, a verification report is generated at this time, and the initial value information of the target signal is modified to the initial value information of the original signal 0x0.
In the first embodiment, the step of traversing to obtain the original signal initial value information corresponding to the target message ID attribute value and the target signal name based on the initial value mapping relationship specifically includes:
inquiring an original message ID attribute value which is the same as the target message ID attribute value;
inquiring an original signal name under the original message ID attribute value according to the original message ID attribute value based on the initial value mapping relation;
and inquiring the original signal name which is the same as the target signal name based on the initial value mapping relation, and inquiring corresponding original signal initial value information based on the original signal name.
In this embodiment, the method and the device firstly screen the same original message ID attribute value through the target message ID attribute value, call the initial value mapping relation, find the original signal name under the original message ID attribute value according to the original message ID attribute value, screen the target signal name to obtain the original signal name with the same name, finally obtain the original signal initial value information corresponding to the target signal name, and find the original signal initial value information step by step through the message ID attribute value and the signal name, thereby improving the test accuracy.
In a first embodiment, if so, the step of generating the verification report specifically includes:
if the target signal initial value information has error information, generating a verification report, wherein the verification report comprises a target message ID attribute value, a target signal name, target signal initial value information, an original message ID attribute value, an original signal name and original signal initial value information, and the error target signal initial value information is marked by color. The invention highlights and marks the error information through the color, and can more quickly find the error information and correct the error information.
Referring to fig. 2, a second embodiment of the present invention further provides a vehicle bus signal information verification system, including:
the rejecting module 10 is configured to obtain first signal attribute information of a bus signal of a vehicle by using an established test engineering, where the first signal attribute information includes a first message ID attribute value, a first signal name, and first signal initial value information;
traversing first signal initial value information corresponding to the first signal name under each first message ID attribute value, and judging whether the first signal initial value information is missing or not;
if yes, the signal name which lacks the initial value information of the first signal is used as a second signal name, and the signal name which is the same as the second signal name in the target signal name is cleared according to the second signal name;
the acquisition module 20 is configured to initialize target attribute information of a bus signal during power-on of a vehicle, where the target attribute information includes a target message ID attribute value, a target signal name, and corresponding target signal initial value information;
the traversing module 30 is configured to traverse and obtain initial value information of an original signal corresponding to the target message ID attribute value and the target signal name based on an initial value mapping relationship, where the initial value mapping relationship includes a correspondence relationship among a plurality of message ID attribute values, a plurality of signal names, and a plurality of initial value information of the original signal;
a checking module 40, configured to check the initial value information of the target signal with the initial value information of the original signal one by one to determine whether the initial value information of the target signal has error information;
and the correction module 50 is used for generating a verification report if yes, and correcting the error information of the initial value information of the target signal according to the verification report.
In this embodiment, the traversal module further includes:
the inquiring unit is used for inquiring the original message ID attribute value which is the same as the target message ID attribute value;
inquiring an original signal name under the original message ID attribute value according to the original message ID attribute value based on the initial value mapping relation;
and inquiring an original signal name which is the same as the target signal name based on the initial value mapping relation, and inquiring corresponding initial value information of the original signal based on the original signal name.
The correction module further includes:
and the marking unit is used for generating a verification report if the target signal initial value information has error information, wherein the verification report comprises a target message ID attribute value, a target signal name, target signal initial value information, an original message ID attribute value, an original signal name and original signal initial value information, and the error target signal initial value information is marked by color.
The collation module further includes:
the judging unit is used for checking the initial value information of the target signal with the initial value information of the original signal one by one;
and if the initial value information of the target signal is inconsistent with the initial value information of the original signal, judging that the initial value information of the target signal has error information.
In summary, the present invention provides a method and a system for checking vehicle bus signal information, which accurately collect a target message ID attribute value at the moment of vehicle power-on and target signal initial value information corresponding to a target signal name, quickly and automatically obtain original signal initial value information based on an initial value mapping relationship, compare and analyze whether the target signal initial value information and the original signal initial value information are consistent, and correct erroneous initial value information, thereby being beneficial to improving manual test comparison verification efficiency and supporting software development test verification.
Before verification, screening and removing the first signal names without the initial value information of the signals, taking the signal names without the initial value information after removal as the second signal names, and removing the second signal names without the initial value information from a target signal name list, so that only the signal names with the initial value information are required to be tested, and the verification rate is improved.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While the present invention has been described in considerable detail and with particularity with respect to several described embodiments, it is not intended to be limited to any such detail or embodiments or any particular embodiment, but is to be construed as providing broad interpretation of such claims by reference to the appended claims in view of the prior art so as to effectively encompass the intended scope of the invention. Furthermore, the foregoing description of the invention has been presented in its embodiments contemplated by the inventors for the purpose of providing a useful description, and for the purposes of providing a non-essential modification of the invention that may not be presently contemplated, may represent an equivalent modification of the invention.

Claims (4)

1. A vehicle bus signal information verification method, comprising:
acquiring first signal attribute information of a vehicle bus signal by using an established test engineering, wherein the first signal attribute information comprises a first message ID attribute value, a first signal name and first signal initial value information;
traversing first signal initial value information corresponding to the first signal name under each first message ID attribute value, and judging whether the first signal initial value information is missing or not;
if yes, the signal name which lacks the initial value information of the first signal is used as a second signal name, and the signal name which is the same as the second signal name in the target signal name is cleared according to the second signal name;
at the moment of vehicle power-on initialization, collecting target attribute information of a vehicle power-on initialization bus signal, wherein the target attribute information comprises a target message ID attribute value, a target signal name and corresponding target signal initial value information;
traversing to obtain original signal initial value information corresponding to the target message ID attribute value and the target signal name based on an initial value mapping relation, wherein the initial value mapping relation comprises a plurality of message ID attribute values, a plurality of signal names and a plurality of corresponding relations among the original signal initial value information;
checking the initial value information of the target signal with the initial value information of the original signal one by one to judge whether the initial value information of the target signal has error information,
if the initial value information of the target signal is inconsistent with the initial value information of the original signal, judging that error information exists in the initial value information of the target signal;
if yes, generating a verification report, and correcting error information of the initial value information of the target signal according to the verification report, wherein the verification report comprises an attribute value of the target message ID, a name of the target signal, the initial value information of the target signal, an attribute value of the original message ID, an original signal name and the initial value information of the original signal, and the error initial value information of the target signal is marked by using color.
2. The method according to claim 1, wherein the step of traversing to obtain the original signal initial value information corresponding to the target message ID attribute value and the target signal name based on an initial value map relation specifically includes:
inquiring an original message ID attribute value which is the same as the target message ID attribute value;
inquiring an original signal name under the original message ID attribute value according to the original message ID attribute value based on the initial value mapping relation;
and inquiring the original signal name which is the same as the target signal name based on the initial value mapping relation, and inquiring corresponding original signal initial value information based on the original signal name.
3. A vehicle bus signal information verification system, comprising:
the rejecting module is used for acquiring first signal attribute information of the bus signal of the vehicle by using the established test engineering, wherein the first signal attribute information comprises a first message ID attribute value, a first signal name and first signal initial value information;
traversing first signal initial value information corresponding to the first signal name under each first message ID attribute value, and judging whether the first signal initial value information is missing or not;
if yes, the signal name which lacks the initial value information of the first signal is used as a second signal name, and the signal name which is the same as the second signal name in the target signal name is cleared according to the second signal name;
the acquisition module is used for acquiring target attribute information of the vehicle power-on initialization bus signal, wherein the target attribute information comprises a target message ID attribute value, a target signal name and corresponding target signal initial value information;
the traversing module is used for traversing and obtaining original signal initial value information corresponding to the target message ID attribute value and the target signal name based on an initial value mapping relation at the power-on initialization moment of the vehicle, wherein the initial value mapping relation comprises a corresponding relation among a plurality of message ID attribute values, a plurality of signal names and a plurality of original signal initial value information;
the checking module is configured to check the target signal initial value information with the original signal initial value information one by one to determine whether the target signal initial value information has error information, and the checking module further includes:
the judging unit is used for checking the initial value information of the target signal with the initial value information of the original signal one by one;
if the initial value information of the target signal is inconsistent with the initial value information of the original signal, judging that error information exists in the initial value information of the target signal;
the correction module is used for generating a verification report if yes, correcting the error information of the initial value information of the target signal according to the verification report, and the correction module further comprises:
and the marking unit is used for generating a verification report if the target signal initial value information has error information, wherein the verification report comprises a target message ID attribute value, a target signal name, target signal initial value information, an original message ID attribute value, an original signal name and original signal initial value information, and the error target signal initial value information is marked by color.
4. The vehicle bus signal information verification system of claim 3, wherein the traversal module further comprises: the inquiring unit is used for inquiring the original message ID attribute value which is the same as the target message ID attribute value;
inquiring an original signal name under the original message ID attribute value according to the original message ID attribute value based on the initial value mapping relation;
and inquiring the original signal name which is the same as the target signal name based on the initial value mapping relation, and inquiring corresponding original signal initial value information based on the original signal name.
CN202210915195.7A 2022-08-01 2022-08-01 Vehicle bus signal information verification method and system Active CN114968827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210915195.7A CN114968827B (en) 2022-08-01 2022-08-01 Vehicle bus signal information verification method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210915195.7A CN114968827B (en) 2022-08-01 2022-08-01 Vehicle bus signal information verification method and system

Publications (2)

Publication Number Publication Date
CN114968827A CN114968827A (en) 2022-08-30
CN114968827B true CN114968827B (en) 2023-06-02

Family

ID=82970474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210915195.7A Active CN114968827B (en) 2022-08-01 2022-08-01 Vehicle bus signal information verification method and system

Country Status (1)

Country Link
CN (1) CN114968827B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016122055A1 (en) * 2016-11-16 2018-05-17 Borgward Trademark Holdings Gmbh Method for numbering slaveboards in a vehicle control device and vehicle control device
CN111930656A (en) * 2020-08-11 2020-11-13 东风电子科技股份有限公司 System and method for realizing vehicle VIN code flash verification based on Labview
WO2022056894A1 (en) * 2020-09-21 2022-03-24 华为技术有限公司 Vehicle communication method and vehicle communication device
CN114257986A (en) * 2022-01-28 2022-03-29 北京经纬恒润科技股份有限公司 Vehicle CAN network attack identification method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001007804A (en) * 1999-06-18 2001-01-12 Yamaha Corp Communication terminal and communication method between communication terminals
CN109254969A (en) * 2018-08-31 2019-01-22 平安科技(深圳)有限公司 Tables of data processing method, device, equipment and storage medium
CN109827781A (en) * 2018-12-29 2019-05-31 中国汽车技术研究中心有限公司 A kind of vehicle testing data processing method, apparatus and system
CN109947752A (en) * 2019-01-28 2019-06-28 西南民族大学 A kind of automaticdata cleaning method based on DeepDive
CN113743200A (en) * 2021-07-27 2021-12-03 江铃汽车股份有限公司 Method and system for checking target network segment signal information
CN113805916A (en) * 2021-08-16 2021-12-17 江铃汽车股份有限公司 Upgrading method, system, readable storage medium and vehicle
CN114549052A (en) * 2022-01-20 2022-05-27 深圳市宝视佳科技有限公司 Data-based accurate marketing method, device, equipment and storage medium
CN114443503B (en) * 2022-02-22 2024-07-09 一汽解放汽车有限公司 Method and device for generating test cases, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016122055A1 (en) * 2016-11-16 2018-05-17 Borgward Trademark Holdings Gmbh Method for numbering slaveboards in a vehicle control device and vehicle control device
CN111930656A (en) * 2020-08-11 2020-11-13 东风电子科技股份有限公司 System and method for realizing vehicle VIN code flash verification based on Labview
WO2022056894A1 (en) * 2020-09-21 2022-03-24 华为技术有限公司 Vehicle communication method and vehicle communication device
CN114257986A (en) * 2022-01-28 2022-03-29 北京经纬恒润科技股份有限公司 Vehicle CAN network attack identification method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RS232/CAN智能协议转换器及其通信网络;赵志军;王建英;;中国铁道科学(03);全文 *

Also Published As

Publication number Publication date
CN114968827A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN108563214B (en) Vehicle diagnosis method, device and equipment
CN110908888B (en) Server testing method and device
CN113758514A (en) Automobile instrument automatic testing method and system, readable storage medium and vehicle
CN107450510A (en) A kind of signal resolution method using diagnostic signal fast positioning CAN signal
CN111539754A (en) Vehicle component detection method and device and server
CN110825073A (en) Engine remote calibration system and method
CN114326659A (en) Fault diagnosis system and method for automobile electronic control unit
CN113608518A (en) Data generation method, device, terminal equipment and medium
CN112765199A (en) Vehicle detection method and system and readable storage medium
CN114968827B (en) Vehicle bus signal information verification method and system
CN115269384A (en) Integration test method, system, electronic device and storage medium
CN111857103B (en) Vehicle diagnosis method, device, equipment and storage medium
CN110532146B (en) Data acquisition monitoring method and device
CN116016254B (en) Data testing method and device based on communication matrix protocol
CN116257437A (en) ADAS system defect verification method and device based on real vehicle data reinjection
CN115470100A (en) Signal scene testing method and device for automobile parts
CN115480944A (en) Black screen fault analysis method and device of vehicle-mounted entertainment terminal, vehicle and medium
CN115118577A (en) Method and device for determining remote upgrade abnormal reason, electronic equipment and storage medium
CN112327800A (en) Vehicle detection method and device and diagnosis equipment
CN114625106A (en) Vehicle diagnosis method and device, electronic equipment and storage medium
US6188938B1 (en) Closed loop customer vibration screening and resolution process
CN116629663A (en) Module part assembly detection method, system, computer and readable storage medium
CN112319495B (en) Method, device and equipment for determining automobile system model and storage medium
CN111198774A (en) Unmanned vehicle simulation abnormity tracking method, device, equipment and computer readable medium
CN115408335A (en) Frozen frame data dynamic analysis method and system

Legal Events

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