A signal checking method, device, equipment, medium, program product and vehicle

By determining the signal group to be verified from the dbc file and using a preset verification function to verify the signal, the tediousness and errors caused by manually writing code in the existing technology are solved, thus simplifying the verification process and improving the verification success rate.

CN115774837BActive Publication Date: 2026-07-03HUIZHOU DESAY SV AUTOMOTIVE

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUIZHOU DESAY SV AUTOMOTIVE
Filing Date
2022-06-29
Publication Date
2026-07-03

Smart Images

  • Figure CN115774837B_ABST
    Figure CN115774837B_ABST
Patent Text Reader

Abstract

A signal checking method, device, equipment, medium, program product and vehicle are disclosed. The method comprises: determining a to-be-checked signal group from a plurality of signal groups; acquiring a variable value corresponding to the to-be-checked signal group according to a name of the to-be-checked signal group, and storing the variable value in a temporary data array; after entering a use mode corresponding to a dbc file, checking a to-be-checked signal included in the to-be-checked signal group based on a name of the to-be-checked signal and the temporary data array through a preset checking function. The method can check different signals, and the checking process is simple, and the checking accuracy is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of vehicle technology, and in particular to a signal verification method, apparatus, device, medium, program product, and vehicle. Background Technology

[0002] With the popularization of Advanced Driving Assistance Systems (ADAS), the promotion and application of autonomous driving technology, and the rapid development of automotive electronics, more Electronic Control Units (ECUs) are installed in automobiles to provide users with intelligent driving solutions in a variety of scenarios. As a result, the communication and interaction between the modules in the ECU has become more complex, which in turn places higher demands on the communication security of CAN bus signal transmission and reception.

[0003] The traditional approach involves manually writing verification code for each signal, one by one. Since there are thousands upon thousands of signals in a project, the traditional approach requires a lot of manpower to write the code, which is tedious and prone to errors. Summary of the Invention

[0004] This invention provides a signal verification method, apparatus, device, medium, program product, and vehicle to solve the problem of slow verification speed in the prior art.

[0005] According to one aspect of the present invention, a signal verification method is provided, comprising:

[0006] The signal group to be verified is determined from multiple signal groups;

[0007] Obtain the corresponding system variable value according to the name of the signal group to be verified, and store the variable value in a temporary data array;

[0008] After entering the usage mode corresponding to the dbc file, the signal group to be verified is verified based on the name of the signal to be verified in the signal group to be verified and the temporary data array, using a preset verification function.

[0009] According to another aspect of the present invention, a signal verification device is provided, comprising:

[0010] The determination module is used to identify the signal group to be verified from multiple signal groups;

[0011] The acquisition module is used to obtain the variable value of the corresponding system according to the name of the signal group to be verified, and store the variable value in a temporary data array;

[0012] The verification module is used to verify the signal group to be verified based on the name of the signal to be verified in the signal group to be verified and the temporary data array after entering the usage mode corresponding to the dbc file, using a preset verification function.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] At least one processor; and

[0015] A memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the signal verification method according to any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer

[0018] The readable storage medium stores computer instructions that are used to cause a processor to execute the signal verification method described in any embodiment of the present invention.

[0019] The technical solution of this invention directly enters the dbc file by calling the encapsulated interface, which solves the problem that the existing technology requires manual verification code writing one by one, which is cumbersome and prone to errors. It achieves the beneficial effects of simplifying the verification process and improving the verification success rate.

[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 This is a flowchart illustrating a signal verification method provided in Embodiment 1 of the present invention;

[0023] Figure 2 This is a flowchart illustrating a signal verification method provided in Embodiment 2 of the present invention;

[0024] Figure 3 This is a schematic diagram of the structure of a signal verification device provided in Embodiment 3 of the present invention;

[0025] Figure 4 This is a schematic diagram of the structure of a vehicle provided in Embodiment 4 of the present invention;

[0026] Figure 5 This is a schematic diagram of the structure of the vehicle-mounted computer in the signal verification method of this invention. Detailed Implementation

[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention. It should be understood that the various steps described in the method embodiments of the present invention can be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0028] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] It should be noted that the terms "a" and "a plurality of" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0031] The names of the messages or information exchanged between the multiple devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of these messages or information.

[0032] Example 1

[0033] Figure 1 This is a flowchart illustrating a signal verification method provided in Embodiment 1 of the present invention. This method is applicable to verifying signals during communication, and is particularly suitable for verifying bus signals. This method can be executed by a signal verification device, which can be implemented by software and / or hardware, and is generally integrated into an on-board computer. In this embodiment, the on-board computer includes, but is not limited to, an ECU device.

[0034] like Figure 1 As shown, the signal verification method provided in Embodiment 1 of the present invention includes the following steps:

[0035] S110. Determine the signal group to be verified from multiple signal groups.

[0036] In this embodiment, the signal group can be a group of signals, and the signal group to be verified can be a group of signals that need to be verified. The signals can be bus signals, which can be understood as signals transmitted and received on the CAN bus.

[0037] In this embodiment, the signal group to be verified can be determined by: obtaining the dbc file by calling the encapsulation interface, and determining the signal group to be verified based on the parameters in the dbc file.

[0038] The dbc file refers to the CAN database file. It is a core file used to describe the data communication between CAN network nodes. The dbc file describes what message information is on the CAN network, what signal information is carried in these messages, which node sends the message, and which node receives it.

[0039] Specifically, determining the signal group to be verified from multiple signal groups includes: obtaining the identity identifiers of the messages corresponding to the multiple signal groups from the dbc file by calling the encapsulation interface; and filtering out the signal group to be verified from the multiple signal groups based on the identity identifiers of the messages.

[0040] Specifically, the identity identifier of each signal group can be directly obtained from the dbc file by calling the encapsulation interface, and the signal group to be verified can be filtered out based on the identity identifier of the message.

[0041] S120. Obtain the variable value of the corresponding system according to the name of the signal group to be verified, and store the variable value in a temporary data array.

[0042] Temporary data arrays can be understood as arrays that temporarily store data.

[0043] In this embodiment, the dbc file can be obtained by calling the encapsulation interface. Based on the dbc file, the corresponding variable values ​​of the system can be obtained and stored in a temporary data array for convenient subsequent use.

[0044] S130. After entering the usage mode corresponding to the dbc file, the signal group to be verified is verified by a preset verification function based on the name of the signal to be verified in the signal group to be verified and the temporary data array.

[0045] The preset verification function can be a pre-set function that can verify the signal. The preset verification function can be provided by the manufacturer, and different manufacturers can provide different verification functions.

[0046] It should be noted that before entering a dbc file, the corresponding usage mode of the dbc file needs to be determined. In this embodiment, the usage mode of the dbc file can be determined. Common usage modes for dbc files include Motorala mode and Intel mode. The signal encoding formats corresponding to Motorala mode and Intel mode are different. For example, it can be determined whether the dbc file is in Motorala mode or Intel mode. If the dbc file's usage mode is Motorala mode, then Motorala mode can be entered; if the dbc file's usage mode is Intel mode, then Intel mode can be entered.

[0047] In this embodiment, the verification signal group may include multiple signals to be verified, and the byte index and signal offset of each signal to be verified need to be determined. Taking a single signal to be verified as an example, the byte index and signal offset of a signal to be verified can be determined as follows: based on the name of the signal to be verified, the start bit value and bit length value of the signal can be determined; based on the bit length value and the start bit value, the byte index and offset of the signal to be verified in the message can be calculated.

[0048] Each signal to be verified can be calculated with a byte index and a signal offset. Adding the calculated byte index and signal offset of each signal to a temporary data array yields the data array to be verified. Inputting the data array to be verified into a preset verification function yields the verification value. Adding the verification value to the data array to be verified results in a data array containing the verification value.

[0049] The signal verification method provided in Embodiment 1 of this invention first identifies the signal group to be verified from multiple signal groups; then, it obtains the corresponding system variable value based on the name of the signal group to be verified and stores the variable value in a temporary data array; finally, after entering the usage mode corresponding to the dbc file, it verifies the signal group to be verified based on the name of the signal to be verified in the signal group and the temporary data array using a preset verification function. This method calls the dbc file by invoking a wrapped interface, greatly reducing the amount of code required. Only one set of code is needed to verify all signals, simplifying the verification process and improving verification accuracy.

[0050] Example 2

[0051] Figure 2 This is a flowchart illustrating a signal verification method provided in Embodiment 2 of the present invention. Embodiment 2 optimizes the methods described above. In this embodiment, verifying the signal to be verified based on the name of the signal to be verified in the signal group to be verified and the temporary data array using a preset verification function is further specified as follows: Based on the name of the signal to be verified in the signal group to be verified and the dbc file, the byte index and byte offset of the signal to be verified in the message are determined; the byte index and byte offset are added to the temporary data array to obtain the data array to be verified; the data array to be verified is input into the preset verification function to obtain the verified data array. For details not covered in this embodiment, please refer to Embodiment 1.

[0052] like Figure 2 As shown, the signal verification method provided in Embodiment 2 of the present invention includes the following steps:

[0053] S210. Determine the signal group to be verified from multiple signal groups.

[0054] S220. Obtain the variable value of the corresponding system according to the name of the signal group to be verified, and store the variable value in a temporary data array.

[0055] S230. Based on the name of the signal to be verified in the signal to be verified group and the dbc file, determine the byte index of the signal to be verified in the message and the byte offset of the signal to be verified in the message.

[0056] In this embodiment, the start bit value and bit length value of the signal to be verified are obtained from the dbc file according to the name of the signal to be verified in the signal to be verified group. The byte index and byte offset of the signal to be verified in the message are obtained by taking the quotient and the remainder.

[0057] Specifically, determining the byte index and signal offset of the signal to be verified in the message based on the names of the signals to be verified included in the signal group to be verified includes: obtaining the start bit value and bit length value of the signal to be verified from the dbc file according to the names of the signals to be verified included in the signal group to be verified; using the quotient obtained by dividing the start bit value by the bit length value as the byte index of the signal to be verified in the message; and using the remainder obtained by dividing the start bit value by the bit length value as the byte offset of the signal to be verified in the message.

[0058] In this embodiment, the quotient of the start bit value and the bit length value can be used as the byte index of the signal to be verified in the message, and the remainder obtained by dividing the start bit value by the bit length value can be used as the byte offset of the signal to be verified in the message.

[0059] It is understandable that the above method can be used to obtain the byte index of all the signals to be verified in the message, as well as the byte offset of all the signals to be verified in the message.

[0060] Furthermore, during the process of obtaining the start bit value and bit length value of the signal to be verified from the dbc file according to the name of the signal to be verified included in the verification signal group, a round-robin flag is set to count the number of the signals to be verified.

[0061] The name of the signal to be verified is obtained by polling. When a signal to be verified is reached, the polling flag is incremented by 1.

[0062] S240. Add the byte index and the byte offset to the temporary data array to obtain the data array to be verified.

[0063] It is understandable that step S230 can obtain the byte index of all the signals to be verified in the message and the byte offset of all the signals to be verified in the message. Adding the obtained byte index of all the signals to be verified in the message and the byte offset of all the signals to be verified in the message to a temporary data array can result in a data array to be verified.

[0064] S250. Input the data array to be verified into a preset verification function to obtain the verified data array.

[0065] In this embodiment, inputting the array of data to be verified into a preset verification function can yield an array of data with verification values.

[0066] Specifically, the step of inputting the data array to be verified into the preset verification to obtain the verified data array includes: inputting the data array to be verified into the preset verification to output a verification value; and adding the verification value to the data array to be verified to obtain the verified data array.

[0067] The verified data array can be a frame of message data that has been verified.

[0068] Embodiment 2 of this invention provides a signal verification method, which specifies the process of verifying the signal group to be verified based on the name of the signal to be verified in the signal group to be verified and the temporary data array, using a preset verification function. Using this method, the start bit value and the bit length value of the signal can be directly obtained from the dbc file, solving the problems of heavy workload and high error rate caused by manually searching for the start bit value and bit length value of the signal in the prior art, thus improving the verification speed and success rate.

[0069] Example 3

[0070] Figure 3 This is a schematic diagram of a signal verification device provided in Embodiment 3 of the present invention. The device is applicable to verifying signals during communication, and is particularly suitable for verifying bus signals. The device can be implemented by software and / or hardware, and is generally integrated into an on-board computer.

[0071] like Figure 3 As shown, the device includes: a determination module 110, an acquisition module 120, and a verification module 130.

[0072] The determination module 110 is used to determine the signal group to be verified from multiple signal groups;

[0073] The acquisition module 120 is used to obtain the variable value of the corresponding system according to the name of the signal group to be verified, and store the variable value in a temporary data array;

[0074] The verification module 130 is used to verify the signal group to be verified based on the name of the signal to be verified in the signal group to be verified and the temporary data array after entering the usage mode corresponding to the dbc file, by means of a preset verification function.

[0075] In this embodiment, the device first determines the signal group to be verified from multiple signal groups through the determining module 110; then, the acquiring module 120 obtains the corresponding system variable value according to the name of the signal group to be verified and stores the variable value in a temporary data array; finally, the verification module 130, after entering the usage mode corresponding to the dbc file, verifies the signal group to be verified based on the name of the signal to be verified in the signal group to be verified and the temporary data array through a preset verification function.

[0076] This embodiment provides a signal verification device that can improve verification speed and accuracy.

[0077] Furthermore, the determination module 110 is specifically used to: obtain the identity identifiers of the messages corresponding to multiple signal groups from the dbc file by calling the encapsulation interface; and filter out the signal groups to be verified from the multiple signal groups based on the identity identifiers of the messages.

[0078] Furthermore, the verification module 130 is specifically used to: determine the byte index of the signal to be verified in the message and the byte offset of the signal to be verified in the message based on the name of the signal to be verified in the signal group to be verified and the dbc file; add the byte index and the byte offset to the temporary data array to obtain the data array to be verified; and input the data array to be verified into a preset verification function to obtain the verified data array.

[0079] Based on the above optimization, determining the byte index and byte offset of the signal to be verified in the message based on the name of the signal to be verified included in the signal to be verified group includes: obtaining the start bit value and bit length value of the signal to be verified from the dbc file according to the name of the signal to be verified included in the signal to be verified group; using the quotient obtained by dividing the start bit value by the bit length value as the byte index of the signal to be verified in the message; and using the remainder obtained by dividing the start bit value by the bit length value as the byte offset of the signal to be verified in the message.

[0080] Based on the above technical solution, the step of inputting the data array to be verified into the preset verification function to obtain the verified data array includes: inputting the data array to be verified into the preset verification function to output a verification value; and adding the verification value to the data array to be verified to obtain the verified data array.

[0081] Furthermore, during the process of obtaining the start bit value and bit length value of the signal to be verified from the dbc file based on the name of the signal to be verified included in the verification signal group, a round-robin flag is set to count the number of signals to be verified.

[0082] The above-described signal verification device can execute the signal verification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method.

[0083] Example 4

[0084] Figure 4 This is a schematic diagram of the structure of a vehicle provided in Embodiment 4 of the present invention, as shown below. Figure 4 As shown, the vehicle includes an on-board computer, which can be an ECU. The on-board computer can be used to execute the signal verification method described in any embodiment of the present invention, the method including:

[0085] The signal group to be verified is determined from multiple signal groups; the variable value of the corresponding system is obtained according to the name of the signal group to be verified, and the variable value is stored in a temporary data array; after entering the usage mode corresponding to the dbc file, the signal group to be verified is verified by a preset verification function based on the name of the signal to be verified in the signal group to be verified and the temporary data array.

[0086] The present invention provides a vehicle in which an on-board computer installed on the vehicle can execute a signal verification algorithm. By executing the signal verification algorithm, the CAN bus signal can be verified, thereby ensuring the security of CAN bus transmission and reception communication.

[0087] Example 5

[0088] Figure 5 A schematic diagram of the structure of an in-vehicle computer 10 that can be used to implement embodiments of the present invention is shown. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the invention described and / or claimed herein.

[0089] like Figure 5As shown, the vehicle-mounted computer 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer programs stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the vehicle-mounted computer 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0090] Multiple components in the vehicle-mounted computer 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, optical disk, etc.; and a communication unit 19, such as a network card, modem, wireless transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0091] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as signal verification methods.

[0092] In some embodiments, the signal verification method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the signal verification method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the signal verification method by any other suitable means (e.g., by means of firmware).

[0093] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0094] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0095] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0096] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0097] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0098] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0099] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0100] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A signal verification method, characterized in that, The method includes: The signal group to be verified is determined from multiple signal groups; Obtain the corresponding system variable value according to the name of the signal group to be verified, and store the variable value in a temporary data array; After entering the usage mode corresponding to the dbc file, the signal group to be verified is verified by a preset verification function based on the name of the signal to be verified in the signal group to be verified and the temporary data array. The signal encoding format is different for different usage modes. The step of verifying the signal group to be verified using a preset verification function based on the name of the signal to be verified in the signal group to be verified and the temporary data array includes: determining the byte index and byte offset of the signal to be verified in the message based on the name of the signal to be verified in the signal group to be verified and the dbc file; adding the byte index and the byte offset to the temporary data array to obtain the data array to be verified; and inputting the data array to be verified into the preset verification function to obtain the verified data array. The step of determining the byte index and byte offset of the signal to be verified in the message based on the name of the signal to be verified in the signal to be verified group and the dbc file includes: obtaining the start bit value and bit length value of the signal to be verified from the dbc file according to the name of the signal to be verified in the signal to be verified group; using the quotient obtained by dividing the start bit value by the bit length value as the byte index of the signal to be verified in the message; and using the remainder obtained by dividing the start bit value by the bit length value as the byte offset of the signal to be verified in the message.

2. The method according to claim 1, characterized in that, The step of determining the signal group to be verified from multiple signal groups includes: The identity identifiers of the messages corresponding to multiple signal groups are obtained from the dbc file by calling the encapsulation interface; The signal group to be verified is filtered out from multiple signal groups based on the identity identifier of the message.

3. The method according to claim 1, characterized in that, The step of inputting the data array to be verified into a preset verification function to obtain the verified data array includes: The array of data to be verified is input into a preset verification function, which outputs the verification value. The verification value is added to the data array to be verified to obtain the verified data array.

4. The method according to claim 1, characterized in that, During the process of obtaining the start bit value and bit length value of the signal to be verified from the dbc file according to the name of the signal to be verified included in the signal to be verified group, a round-robin flag is set to count the number of the signals to be verified.

5. A signal verification device, characterized in that, The device includes: The determination module is used to identify the signal group to be verified from multiple signal groups; The acquisition module is used to obtain the variable value of the corresponding system according to the name of the signal group to be verified, and store the variable value in a temporary data array; The verification module is used to verify the signal group to be verified based on the name of the signal to be verified in the signal group to be verified and the temporary data array after entering the usage mode corresponding to the dbc file, by means of a preset verification function. The signal encoding format is different for different usage modes. Specifically, the verification module is used to: obtain the start bit value and bit length value of the signal to be verified from the dbc file according to the name of the signal to be verified in the signal to be verified group; use the quotient obtained by dividing the start bit value by the bit length value as the byte index of the signal to be verified in the message; use the remainder obtained by dividing the start bit value by the bit length value as the byte offset of the signal to be verified in the message; add the byte index and the byte offset to the temporary data array to obtain the data array to be verified; and input the data array to be verified into a preset verification function to obtain the verified data array.

6. A vehicle-mounted computer, characterized in that, The vehicle-mounted computer includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the signal verification method according to any one of claims 1-4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the signal verification method according to any one of claims 1-4.

8. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the signal verification method according to any one of claims 1-4.

9. A vehicle, characterized in that, The vehicle includes the on-board computer as described in claim 6.