Signal processing method and device, processor, electric control system, equipment and medium
By analyzing and storing the signals in the message in the vehicle body control system, the accuracy of signal reorganization is ensured, and the problem of signal reorganization chaos caused by the large number of messages in the prior art is solved, and more efficient signal processing is achieved.
Patent Information
- Application Number
- CN202311099241.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2025-02-28
AI Technical Summary
In the vehicle body control system, the prior art can easily cause confusion when recombining signals in multiple messages, affecting the accuracy of recombination messages, especially when there are many messages and multiple signals per message.
By receiving at least one message, the first target message is parsed, its signal value and storage location are obtained, and the signal value is stored at this location. When the packet group operation is triggered, the signal value is obtained from the storage location to group packets to ensure accuracy.
By setting the storage location in advance, chaos caused by the large number of messages is avoided, and the accuracy and efficiency of signal reorganization are improved.
Smart Images

Figure CN119544832A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of computer technology, and specifically relates to a signal processing method, device, processor, electronic control system, equipment and medium. Background Art
[0002] In the current automobile body control system, the interface between sensors and controllers is mainly based on the Controller Area Network (CAN), or CAN with flexible data rate (CAN-FD), Local Interconnect Network (LIN) and other buses. With the rapid development of smart cars, the vehicle electronic control system has become more and more complex, and the number of sensors and controllers has increased exponentially. There is an application scenario of signal routing in the vehicle electronic control system: some signals from multiple messages are recombined to generate new messages.
[0003] At present, when a new message is generated after some signals from multiple messages are recombined, each message is parsed separately to obtain each signal in each message, and then the signal is recombined according to the signal to be recombined. The above method can be easily implemented when the number of messages is small, but when the number of messages is large and there are multiple signals in each message, it is easy to cause confusion when the signals are recombined, thereby affecting the accuracy of the recombined message. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a signal processing method, apparatus, processor, electronic control system, device and medium to achieve the effect of accurately reorganizing the signals in the message.
[0005] The technical solution of this application is as follows:
[0006] In a first aspect, a signal processing method is provided, the method comprising:
[0007] Receive at least one message, and parse a first target message to obtain a signal value of a first target signal in the first target message and a first storage position of the first target signal in a storage table; wherein the first target message is any one of the at least one message, and the first target signal is any one of a plurality of signals in the first target message;
[0008] storing the signal value in the first storage location;
[0009] In the case where it is determined that a packetization operation is triggered on the first target signal, a signal value of the first target signal is obtained from the first storage location, and the first target signal is packetized based on the signal value to obtain a target message.
[0010] In a second aspect, a signal processing device is provided, the device comprising:
[0011] A signal extraction module, used to receive at least one message and parse a first target message to obtain a signal value of a first target signal in the first target message and a first storage position of the first target signal in a storage table; wherein the first target message is any one of the at least one message, and the first target signal is any one of a plurality of signals in the first target message;
[0012] A signal storage module, used for storing the signal value in the first storage location;
[0013] A signal packaging module is used to obtain the signal value of the first target signal from the first storage location when it is determined that a packaging operation on the first target signal is triggered, and to package the first target signal based on the signal value to obtain a target message.
[0014] In a second aspect, a processor is provided, the processor being used to execute the signal processing method described in the first aspect.
[0015] In a third aspect, an electric control system is provided, the electric control system comprising:
[0016] A processor, wherein the processor is the processor described in the second aspect;
[0017] At least one hardware device, each hardware device is connected to the processor based on a controller area network (CAN) bus;
[0018] The central processing unit is connected with the processor based on a high-speed bus.
[0019] In a fourth aspect, an embodiment of the present application provides a signal processing device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the signal processing method described in any one of the embodiments of the present application.
[0020] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the signal processing method described in any one of the embodiments of the present application are implemented.
[0021] In a sixth aspect, an embodiment of the present application provides a vehicle, the vehicle comprising at least one of the following:
[0022] The signal processing device according to the third aspect;
[0023] The signal processing device according to the fourth aspect;
[0024] A computer-readable storage medium as described in the fifth aspect.
[0025] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0026] In an embodiment of the present application, by parsing the first target message in at least one received message, the signal value of the first target signal in the first target message and the first storage position of the first target signal in the storage table are obtained, and then the signal value is stored in the first storage position. When it is determined that the packet grouping operation on the first target signal is triggered, the signal value of the first target signal is obtained from the first storage position, and the first target signal is packetized based on the signal value to obtain the target message. In this way, since the storage position of the first target signal is set in the storage table in advance, after the first target message is parsed, the signal value of the first target signal in the first target message can be directly stored in the storage position, and in the subsequent packet grouping, the signal value of the first target signal can be obtained from the storage position for packet grouping. In this way, confusion will not be caused by too many messages, thereby improving the accuracy of packet grouping.
[0027] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0029] Figure 1 It is one of the structural diagrams of the processor provided in the second aspect of the embodiment of the present application;
[0030] Figure 2 This is the second structural diagram of the processor provided in the second aspect of the present application;
[0031] Figure 3 It is a schematic diagram of the structure of the electric control system of the prior art;
[0032] Figure 4 It is a flowchart of a signal processing method provided by an embodiment of the first aspect of the present application;
[0033] Figure 5 is a schematic diagram of a signal storage rule involved in an embodiment of the first aspect of the present application;
[0034] Figure 6 It is a schematic diagram of the relationship between periodic triggering and event triggering involved in the embodiment of the first aspect of the present application;
[0035] Figure 7 It is one of the structural schematic diagrams of the electric control system involved in the embodiment of the third aspect of the present application;
[0036] Figure 8 This is the second structural diagram of the electric control system involved in the embodiment of the third aspect of the present application;
[0037] Fig. 9 It is a structural schematic diagram of a signal processing device provided in an embodiment of the fourth aspect of the present application. DETAILED DESCRIPTION
[0038] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0039] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0040] As described in the background technology section, there is a problem of low accuracy of packet assembly in the prior art. In order to solve the above problem, the embodiments of the present application provide a signal processing method, an apparatus, a processor, an electronic control system, a device and a medium. By parsing the first target message in at least one received message, the signal value of the first target signal in the first target message and the first storage position of the first target signal in the storage table are obtained, and then the signal value is stored in the first storage position. When it is determined that the packet assembly operation on the first target signal is triggered, the signal value of the first target signal is obtained from the first storage position, and the first target signal is packetized based on the signal value to obtain the target message. In this way, since the storage position of the first target signal is set in the storage table in advance, after parsing the first target message, the signal value of the first target signal in the first target message can be directly stored in the storage position, and then in the subsequent packet assembly, the signal value of the first target signal can be obtained from the storage position for packet assembly, so that confusion will not be caused by too many messages, thereby improving the accuracy of packet assembly.
[0041] Before introducing the signal processing method of the embodiment of the present application, a processor for implementing the signal processing method is first introduced. Figure 1 is a schematic diagram of the structure of a processor provided in an embodiment of the present application, such as Figure 1 As shown, the processor 100 may include a signal extraction module 110, a signal storage module 120 and a signal packaging module 130. The specific functions of the signal extraction module 110, the signal storage module 120 and the signal packaging module 130 will be introduced in detail in the following embodiments of the signal processing method.
[0042] In some embodiments of the present application, Figure 2 is a schematic diagram of the structure of another processor provided in an embodiment of the present application, such as Figure 2 As shown, Figure 2 As shown, the message is input from the signal extraction module, and then after the packetization is completed, the packetized message is output from the signal packetization module. Figure 2 The signal extraction module 110 includes a signal table, an invalidation table, etc.; the signal storage module includes a storage table, an initial value table, an invalidation mark, a filling table, a timer, etc.; the signal package module includes a message table and a periodic table, etc. The specific uses of each table will be introduced in detail in the following embodiments of the signal processing method.
[0043] In the prior art, when processing and packaging the signal, it is processed by the central processing unit (CPU). Figure 3 The communication architecture of the traditional vehicle electronic control system is to directly connect the CAN, CANFD, LIN and other buses to the CPU. The CPU receives the message information sent by each sensor, recombine the signals in the message information to generate new message information. In this way, since the CPU processes the code information corresponding to the message information when processing the message information, the code needs to be processed line by line, and the processing speed is slow. Therefore, when extracting and forwarding the message information, the efficiency is low, and the CPU has to process a large number of signal routes, which increases the CPU load rate.
[0044] In order to solve the above problems, the processor in the embodiment of the present application may be an application-specific integrated circuit ASIC chip, and the structure of the ASIC chip is as follows: Figure 2 The ASIC chip has parallel processing capabilities, so in the embodiment of the present application, the ASIC chip replaces the traditional central processing unit (CPU) to process multiple messages, thereby improving the message processing efficiency, reducing the transmission link delay of the signal routing, reducing the CPU load rate, and supplementing the saved computing power to other functions to achieve the effect of hardware acceleration.
[0045] In some embodiments of the present application, the number of ASIC chips can be at least one, and each application-specific integrated circuit ASIC chip is connected through a network, which greatly increases the number of internal and external devices mounted in the system. Compared with the communication architecture of the traditional vehicle-mounted electronic control system, in which there is only one CPU, in the embodiments of the present application, multiple ASIC chips can be connected to different sensors respectively, with simple lines, which simplifies the complexity of the vehicle body control network and increases the flexibility of the design of the vehicle-mounted electronic control system communication network.
[0046] In some embodiments of the present application, when the ASIC chip is set up, it can be connected to the sensors corresponding to the edge nodes of the vehicle respectively, for example, it can be connected to the sensors corresponding to the windows, wipers, lights, etc., so as to enhance the hardware acceleration of the edge nodes of the vehicle and effectively reduce the CPU load rate.
[0047] The signal processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0048] Figure 4 is a flow chart of a signal processing method provided in an embodiment of the present application, such as Figure 4 As shown, the signal processing method can be applied to the above Figure 1 The signal processing method may specifically include steps 410 to 430.
[0049] Step 410: Receive at least one message, and parse the first target message to obtain a signal value of a first target signal in the first target message and a first storage position of the first target signal in a storage table.
[0050] The first target message may be any one of the at least one message, and the first target signal may be any one of the multiple signals in the first target message.
[0051] In some embodiments of the present application, a message may contain multiple signals, and the first target signal may be any one signal in the first target message, or any multiple signals.
[0052] The first storage location may be a storage location of the first target signal in the storage table.
[0053] It should be noted that the signal storage module may include a storage table, and the position of each signal to be stored in the storage table can be preset. The signal extraction module may have a signal table, which stores the identity code of each message, the signal contained in each message, and the storage position of each signal in the storage table. Therefore, after receiving the message, the signal table can be queried according to the identity code of the message to determine which signals are contained in the message and the storage positions of these signals in the storage table.
[0054] In some embodiments of the present application, in order to accurately obtain the signal value of the first target signal and the first storage position of the first target signal in the storage, step 410 may specifically include:
[0055] Parsing the first target message to obtain a signal value of a first target signal in the first target message;
[0056] Using the identity identification code of the first target message as a keyword to search in the signal table, and obtaining at least one signal contained in the first target message;
[0057] According to the first target signal and the correspondence between the signals pre-stored in the signal table and their storage positions in the storage table, the first storage position of the first target signal in the storage table is obtained.
[0058] In some embodiments of the present application, the first target message is parsed to obtain which signals are in the first target message, and then the signal value of each signal is obtained. Then, the identity code of the first target message can be used to query the signal table, and the storage position of each signal in the first target message in the storage table can be queried from the signal table.
[0059] In an embodiment of the present application, the signal extraction module can obtain the signal value of the first target signal by parsing the first target message, and can use the identity identification code of the first target message to query in the signal table, and can query the first storage position of the first target signal in the storage table from the signal table, so that the signal value of the first target signal and the first storage position of the first target signal in the storage table can be accurately obtained.
[0060] Step 420: Store the signal value in a first storage location.
[0061] In some embodiments of the present application, after receiving the signal value of the first target signal, the signal storage module stores the signal value in the first storage location.
[0062] Step 430: When it is determined that the packetization operation on the first target signal is triggered, the signal value of the first target signal is obtained from the first storage location, and the first target signal is packetized based on the signal value to obtain a target message.
[0063] The target message is a message formed after packetizing the first target signal.
[0064] In an example, an ASIC receives two messages, message A and message B, wherein message A contains five signals, signal 1, signal 2, signal 3, signal 4, and signal 5, and message B contains six signals, signal 6, signal 7, signal 8, signal 9, signal 10, and signal 11. If signals 1, signal 2, and signal 3 in message A, and signals 8 and signal 9 in message B are to be repackaged at this time, the message formed after repackaging signals 1, signal 2, signal 3, and signals 8 and signal 9 is used as the target message.
[0065] In some embodiments of the present application, when it is determined that a packetization operation on the first target signal is triggered, the signal value of the first target signal may be acquired from the first storage location.
[0066] In some embodiments of the present application, determining the triggering of the packetization operation on the first target signal may be determined in different ways according to different types of the first target signal. Specifically, when the first target signal is an event trigger signal, the first target signal is transmitted to the signal packetization module to determine that the packetization operation on the first target signal is triggered. When the first target signal is a periodic trigger signal, when the time reaches the periodic trigger time of the first target signal, it is determined that the packetization operation on the first target signal is triggered.
[0067] In some embodiments of the present application, Figure 2 As shown, the signal storage module also includes a timer, a failure table and a failure management unit, and the failure table contains the failure time of the first target signal.
[0068] In order to effectively manage the first target signal, after step 420, the above method may further include:
[0069] When the time of the timer reaches the expiration time of the first target signal, generating an expiration start signal;
[0070] Based on the failure start signal, poll each signal in the signal table to obtain a first storage position of the first target signal in the storage table;
[0071] A first target signal at a first storage location is managed.
[0072] The failure initiation signal may be a signal generated by the failure management unit when the first target signal fails.
[0073] In some embodiments of the present application, when the timer reaches the expiration time of the first target signal, it means that the first target signal has failed. Then, a failure start signal can be generated based on the failure management unit, and the failure start signal can be sent to the signal extraction module. In response to the failure start signal, the signal extraction module can poll each signal in the signal table to obtain the first storage position of the first target signal in the storage table, and then manage the first target signal at the first storage position based on the signal storage module. Specifically, it can be based on Figure 2 The signal management unit in the signal management unit manages it, for example, the signal value of the first target signal at the first storage location may be deleted, so that when the first target signal is subsequently packaged, the signal value of the first target signal is not obtained, thereby avoiding errors in the re-packaged target message.
[0074] In an embodiment of the present application, when the timer reaches the expiration time of the first target signal, a failure start signal is generated, and based on the failure start signal, each signal in the signal table is polled to obtain the first storage position of the first target signal in the storage table, and the first target signal at the first storage position is managed. In this way, the signal that has expired can be managed to avoid errors in the subsequent re-packaged target message.
[0075] In some embodiments of the present application, Figure 2 As shown, the signal storage module may further include an initial value table, in which the initial value table includes the initial time when the processor is started, and correspondingly, the failure table may also include the failure value of the first target signal.
[0076] In order to further improve the accuracy of the packaged target message, after step 420, the above method may further include:
[0077] Outside the initial time, when the packetization operation on the first target signal is not triggered or the first target signal fails, the failure value of the first target signal is obtained from the failure table, and the first target signal is packetized based on the failure value to obtain the target message.
[0078] The initial time here may be the startup time of the processor.
[0079] In some embodiments of the present application, after the processor is started, that is, outside the initial time, if the package operation of the first target signal is not triggered, that is, the first target signal does not reach the signal package module, that is, the first target signal is not transmitted to the signal package module, or the first target signal fails, the failure value of the first target signal in the failure table can be fed back to the signal package module based on the signal storage module, so that the signal package module packages the first target signal based on the failure value of the first target signal.
[0080] In one example, sensor A has a signal value of a certain signal before 10 o'clock. After 10 o'clock, the bus responsible for transmitting the signal fails, and the ASIC chip cannot receive the signal value of the signal. The expiration time of the signal value can be set in advance. For example, the expiration time is 1 hour. If the signal value is needed for calculation or packaging between 10-11 o'clock, the signal value of the signal at the current time can be directly obtained for calculation. If the signal value is needed for calculation or packaging after 11 o'clock, the signal value of the signal collected before 10 o'clock can be obtained from the failure table (since the signal before 10 o'clock has failed, it is called a failure value) for calculation or packaging.
[0081] In an embodiment of the present application, outside the initial time of processor startup, the packetization operation on the first target signal is not triggered, or the first target signal fails, the failure value of the first target signal is obtained from the failure table, and the first target signal is packetized based on the failure value to obtain the target message. In this way, when the signal value fails, the failure value can continue to be used for packetization, thereby avoiding the situation where the signal value of a signal cannot be obtained in real time when the bus corresponding to a signal fails, thereby affecting the packetization.
[0082] In some embodiments of the present application, the initial value table may also include an initial value of the first target signal.
[0083] In order to further improve the accuracy of the packaged target message, after step 420, the above method may further include:
[0084] During the initial time, if the packetization operation on the first target signal is not triggered or the first target signal fails, the initial value of the first target signal is obtained from the initial value table, and the first target signal is packetized based on the initial value to obtain a target message.
[0085] The initial value table stores the initial value of each signal.
[0086] In some embodiments of the present application, within the initial time, that is, during the startup of the processor, if the package assembly operation of the first target signal is not triggered, that is, the first target signal does not reach the signal package assembly module, or the first target signal fails, the initial value of the first target signal can be fed back to the signal package assembly module based on the signal storage module, so that the signal package assembly module packages the first target signal based on the initial value of the first target signal.
[0087] In an embodiment of the present application, within the initial time, when the packaging operation on the first target signal is not triggered, or the first target signal fails, the initial value of the first target signal is obtained from the initial value table, and the first target signal is packaged based on the initial value to obtain the target message. In this way, at the initial stage of processor startup, the initial value of the first target signal can be used for packaging, thereby ensuring the smooth packaging of the first target signal.
[0088] In some embodiments of the present application, step 430 may specifically include:
[0089] When it is determined that a packetization operation is triggered on the first target signal and the first target signal is not invalid, a signal value of the first target signal is obtained from a first storage position in the storage table.
[0090] In some embodiments of the present application, if the first target signal reaches the signal packaging module, that is, triggering a packaging operation on the first target signal, and the first target signal is not invalid, that is, the first target signal is transmitted normally, then the signal value of the first target signal stored at the first storage position in the storage table can be fed back to the signal packaging module based on the signal storage module, and the signal packaging module can package the first target signal based on the signal value.
[0091] In an embodiment of the present application, when it is determined that a package grouping operation is triggered for the first target signal and the first target signal is not invalid, the signal value of the first target signal is obtained from the first storage position in the storage table. In this way, the real-time valid signal value of the first target signal can be used for package grouping, thereby ensuring the accuracy of package grouping.
[0092] In some embodiments of the present application, reference Figure 5 , Figure 5 The storage format of the signal in the storage table, initial value table and failure table is Figure 5 In the figure, the storage rules of signals are explained by taking signal A and signal B as examples. For example, the bit width of signal A is 50, and the bit width of signal B is 80. Taking into account the signal storage attribute information, signal A occupies 3 storage units and signal B occupies 4 storage units.
[0093] It should be noted that Figure 5 The data area format arrangement of the storage table, initial value table and failure table in the table remains consistent.
[0094] In some embodiments of the present application, Figure 2 As shown, the signal packaging module includes a message table, which includes the signals to be packaged and the storage location of the signals to be packaged in the storage table. The signals to be packaged may include the first target signal.
[0095] In an example, an ASIC receives two messages, message A and message B, wherein message A contains five signals, signal 1, signal 2, signal 3, signal 4, and signal 5, and message B contains six signals, signal 6, signal 7, signal 8, signal 9, signal 10, and signal 11. If signals 1, signal 2, and signal 3 in message A and signals 8 and signal 9 in message B are to be repackaged, then signals 1, signal 2, signal 3, and signals 8 and signal 9 are the signals to be packaged, and signals 1, signal 2, and signal 3 here can be the first target signals.
[0096] In order to accurately obtain the target message, the above step 430 may specifically include:
[0097] When it is determined that a packetization operation is triggered on the first target signal, the first storage position of the first target signal in the message table in the storage table is read, and an extraction instruction of the first target signal is generated based on the first storage position, and based on the extraction instruction, the signal value of the first target signal is obtained from the first storage position.
[0098] The message table includes a signal to be packaged that is to be packaged, and the signal to be packaged includes a first target signal.
[0099] In some embodiments of the present application, when it is determined that the first target signal is triggered to perform a packetization operation, the signal packetization module can read the first storage position of the first target signal in the message table in the storage table, and then generate an extraction instruction for the first target signal based on the first storage position, and send the extraction instruction to the signal storage module. According to the extraction instruction, the signal storage module can obtain the signal value of the first target signal from the first storage position and send it to the signal packetization module. The signal packetization module receives the signal value of the first target signal and packets the first target signal according to the signal value. In other words, regardless of whether the first target signal is an event trigger signal or a periodic trigger signal, the signal packetization module can determine which signals are included in the packetized message and which positions of these signals in the storage table by reading the message table, and then read the storage table to obtain the signals for packetization.
[0100] In an embodiment of the present application, when it is determined that a packetization operation is triggered on the first target signal, the first storage position of the first target signal in the message table in the storage table is read, and an extraction instruction for the first target signal is generated based on the first storage position. Based on the extraction instruction, the signal value of the first target signal is obtained from the first storage position, so that the signal to be packetized can be accurately determined, and the signal value of the signal to be packetized can be accurately determined, thereby obtaining an accurate target message.
[0101] In some embodiments of the present application, when the first target signal is an event trigger signal, the signal package module may further include a periodic table, which includes the sending time and number of sending of the first target signal, and a protection time, wherein the protection time is a preset minimum interval time between adjacent period trigger signals and event trigger signals. The protection time here can be set according to user needs and is not limited in the embodiments of the present application.
[0102] like Figure 6 As shown, Figure 6 Figure 1 is a schematic diagram of the relationship between the periodic trigger signal and the event trigger signal. The interval between a periodic trigger and an event trigger is the protection time.
[0103] In order to further improve the accuracy of the target message, when the first target signal is an event trigger signal, step 430 may specifically include:
[0104] When it is determined that a packetization operation is triggered on the first target signal, and the event trigger of the first target signal is valid, and the timer time reaches the sending time, and the protection time of the first target signal is 0, and the number of times the first target signal is sent is not 0, the signal value of the first target signal is obtained from the first storage location.
[0105] In some embodiments of the present application, when it is determined that the packetization operation on the first target signal is triggered, other conditions need to be met before the signal value of the first target signal can be obtained from the first storage location. Specifically, if the event trigger of the first target signal is valid, and the timer time reaches the sending time of the event trigger signal, and the protection time is 0, and the number of transmissions is not 0, the signal value of the first target signal can be obtained from the first storage location.
[0106] In some embodiments of the present application, the event trigger validity of the first target signal may specifically be whether the event trigger identification bit of the first target signal is valid. Each signal has its corresponding trigger identification bit, which can be pre-set. If the identification bit is "1", it proves that the triggering of the signal is valid. If the trigger identification bit is "0", it proves that the triggering of the signal is invalid. Therefore, when it is detected that the trigger identification bit of the event trigger of the first target signal is valid, it proves that the event triggering of the first target signal is valid.
[0107] In an embodiment of the present application, when it is determined that a packetization operation is triggered on the first target signal, and the event trigger of the first target signal is valid, and when the timer time reaches the sending time, and the protection time of the first target signal is 0, and the number of times the first target signal is sent is not 0, the signal value of the first target signal is obtained from the first storage location, so that the signal value of the first target signal can be accurately obtained.
[0108] In some embodiments of the present application, when the first target signal is a periodic trigger signal, the periodic table may also include the sending time of the next period of the first target signal, that is, the periodic table includes the time for sending the first target signal in the next period.
[0109] In order to further improve the accuracy of the target message, when the first target signal is a periodic trigger signal, step 430 may specifically include:
[0110] When it is determined that a trigger is provided to perform a packet operation on the first target signal, based on a periodic trigger signal, when the periodic trigger of the first target signal is valid, the sending time in the periodic table is traversed, and when it is determined that the sending time of the next period of the first target signal in the periodic table is the same as the timing trigger time and the protection time is 0, the signal value of the first target signal is obtained from the first storage location.
[0111] Among them, the periodic trigger signal is generated in response to the timing trigger time pre-set by the user in the timer, that is, if the user pre-sets the timing trigger time in the timer, a periodic trigger signal can be generated, and the periodic trigger signal can include the timing trigger time pre-set in the timer.
[0112] In some embodiments of the present application, when it is determined that the signal packaging module receives a periodic trigger signal, other conditions need to be met before the signal value of the first target signal can be obtained from the first storage location. Specifically, when the periodic trigger of the first target signal is valid, the sending time in the periodic table is traversed, and the sending time of the next period of the first target signal in the periodic table is determined to be the same as the timing trigger time, that is, when the timer time reaches the periodic sending time of the periodic trigger signal, and the protection time is 0, the signal value of the first target signal can be obtained from the first storage location.
[0113] In some embodiments of the present application, the validity of the periodic trigger of the first target signal may specifically be whether the periodic trigger identification bit of the first target signal is valid. Each signal has its corresponding trigger identification bit, which can be pre-set. If the identification bit is "1", it proves that the triggering of the signal is valid. If the identification bit is "0", it proves that the triggering of the signal is invalid. Therefore, when it is detected that the trigger identification bit of the periodic trigger of the periodic trigger signal is valid, it proves that the periodic triggering of the periodic trigger signal is valid.
[0114] In an embodiment of the present application, when it is determined that a trigger is provided to perform a packet operation on the first target signal, based on a periodic trigger signal, when the periodic trigger of the first target signal is valid, the sending time in the periodic table is traversed, and when it is determined that the sending time of the next period of the first target signal in the periodic table is the same as the timing trigger time, and the protection time is 0, the signal value of the first target signal is obtained from the first storage location, so that the signal value of the first target signal can be accurately obtained.
[0115] It should be noted that each signal has its corresponding trigger identifier, which can be obtained by the signal extraction module when parsing the message, and then transmitted to the signal packaging module along with the transmission of the signal. The signal packaging module can then determine whether the signal is an event trigger signal or a periodic trigger signal based on the trigger identifier.
[0116] In some embodiments of the present application, when the first target signal is a periodic trigger signal, after step 430, the method further includes:
[0117] The sending time of the next period of the first target signal in the periodic table and the protection time are updated.
[0118] In some embodiments of the present application, after obtaining the target message, the sending time of the next period of the first target signal in the periodic table and the protection time can be re-updated based on the signal packaging module, so as to facilitate the next packaging of the first target signal.
[0119] In some embodiments of the present application, when the first target signal is an event trigger signal, after step 430, the above method may further include:
[0120] The sending time and the sending number of the first target signal in the periodic table are reset.
[0121] In some embodiments of the present application, the signal packaging module may also reset the sending time and the number of sending times of the first target signal in the periodic table so as to package the first target signal according to the sending time and the number of sending times next time.
[0122] In some embodiments of the present application, the signal to be packaged may further include a second target signal. After the first target message is parsed, the above method may further include:
[0123] extracting attribute information of the first target signal and attribute information of the second target signal, and a signal value of the second target signal;
[0124] Step 430 may specifically include:
[0125] The first target signal and the second target signal are concatenated according to the attribute information of the first target signal and the attribute information of the second target signal, and the signal value of the first target signal and the signal value of the second target signal to obtain a target message.
[0126] Among them, for the first target signal or the second target signal, the attribute information may include the big and small ends, length, etc. of the target signal.
[0127] In some embodiments of the present application, when the first target signal and the second target signal are packaged, not only the signal value of the first target signal and the signal value of the second target signal are required, but also the attribute information of the first target signal and the attribute information of the second target signal are required, so that the first target signal and the second target signal can be packaged accurately to form an accurate target message. For example, for the first target signal, the first target signal has 5 bytes, each byte has 8 bits, and how these 8 bits are sorted needs to be known, so that the first target signal can be packaged completely when the package is subsequently packaged.
[0128] In an example, in an example, an ASIC receives two messages, message A and message B, wherein message A contains five signals, signal 1, signal 2, signal 3, signal 4, and signal 5, and message B contains six signals, signal 6, signal 7, signal 8, signal 9, signal 10, and signal 11. If signals 1, signal 2, and signal 3 in message A and signals 8 and signal 9 in message B are to be repackaged, then signals 1, signal 2, and signal 3, as well as signals 8 and signal 9 are the signals to be packaged, signals 1, signal 2, and signal 3 can be the first target signals, and signals 8 and signal 9 can be the second target signals. Then, attribute information of signals 1, signal 2, and signal 3, as well as attribute information of signals 8 and signal 9 can be obtained, and then based on the attribute information of each signal to be packaged, these signals to be packaged are packaged to obtain the target message.
[0129] In an embodiment of the present application, by extracting attribute information of the first target signal and the attribute information of the second target signal, as well as the signal value of the second target signal, and then splicing the first target signal and the second target signal according to the attribute information of the first target signal and the attribute information of the second target signal, as well as the signal value of the first target signal and the signal value of the second target signal, to obtain a target message, thereby obtaining an accurate target message composed of the first target signal and the second target signal.
[0130] It should be noted that the signal processing method provided in the embodiments of the present application may be executed by a signal processing device, or a control module in the signal processing device for executing the signal processing method.
[0131] Based on the same inventive concept as the above-mentioned signal processing method, the present application also provides a signal processing device. The structure of the signal processing device is as follows: Figure 1 The structural diagram of the processor shown in the figure, the signal processing device includes:
[0132] A signal extraction module, used to receive at least one message and parse a first target message to obtain a signal value of a first target signal in the first target message and a first storage position of the first target signal in a storage table; wherein the first target message is any one of the at least one message, and the first target signal is any one of a plurality of signals in the first target message;
[0133] A signal storage module, used for storing the signal value in the first storage location;
[0134] A signal packaging module is used to obtain the signal value of the first target signal from the first storage location when it is determined that a packaging operation on the first target signal is triggered, and to package the first target signal based on the signal value to obtain a target message.
[0135] In an embodiment of the present application, by parsing the first target message in at least one received message, the signal value of the first target signal in the first target message and the first storage position of the first target signal in the storage table are obtained, and then the signal value is stored in the first storage position. When it is determined that the package assembly operation on the first target signal is triggered, the signal value of the first target signal is obtained from the first storage position, and the first target signal is packaged based on the signal value to obtain the target message. In this way, since the storage position of the first target signal is set in the storage table in advance, after the first target message is parsed, the signal value of the first target signal in the first target message can be directly stored in the storage position, and in the subsequent package assembly, the signal value of the first target signal can be obtained from the storage position for package assembly. In this way, confusion will not be caused by too many messages, thereby improving the accuracy of package assembly.
[0136] In some embodiments of the present application, the signal extraction module is specifically used to:
[0137] Parsing the first target message to obtain a signal value of the first target signal in the first target message;
[0138] Using the identity identification code of the first target message as a keyword to search in the signal table, and obtaining at least one signal included in the first target message;
[0139] According to the first target signal and the correspondence between the signals pre-stored in the signal table and their storage positions in the storage table, the first storage position of the first target signal in the storage table is obtained, wherein the signal table stores the identity identification code of each message, the signal contained in each message, and the storage position of each signal in the storage table, and the first target signal is any one of the at least one signal contained in the first target message.
[0140] In some embodiments of the present application, the signal storage module is specifically used to: generate a failure start signal when the time of the timer reaches the failure time of the first target signal;
[0141] The signal extraction module is further used to poll each signal in the signal table based on the failure start signal to obtain a first storage position of the first target signal in the storage table;
[0142] The signal storage module is further used to manage the first target signal at the first storage location.
[0143] In some embodiments of the present application, the signal packaging module is also used to obtain the failure value of the first target signal from the failure table when the packaging operation on the first target signal is not triggered outside the initial time or the first target signal fails, and to package the first target signal based on the failure value to obtain a target message, wherein the initial time is the startup time of the processor.
[0144] In some embodiments of the present application, the signal packaging module is also used to obtain the initial value of the first target signal from the initial value table when the packaging operation on the first target signal is not triggered within the initial time or the first target signal fails, and to package the first target signal based on the initial value to obtain a target message, wherein the initial value of each signal is stored in the initial value table.
[0145] In some embodiments of the present application, the signal packaging module is specifically used to obtain the signal value of the first target signal from the first storage position in the storage table when it is determined that a packaging operation on the first target signal is triggered and the first target signal is not invalid.
[0146] In some embodiments of the present application, the signal packetization module is specifically used to: when it is determined that a packetization operation is triggered for the first target signal, read the first storage position of the first target signal in the message table in the storage table, and generate an extraction instruction for the first target signal based on the first storage position, and based on the extraction instruction, obtain the signal value of the first target signal from the first storage position; wherein the message table includes the signal to be packetized to be packetized, and the storage position of the signal to be packetized in the storage table, and the signal to be packetized includes the first target signal.
[0147] In some embodiments of the present application, the first target signal is an event trigger signal, and the signal packaging module is specifically used to: when it is determined that a packaging operation is triggered on the first target signal, and the event trigger of the first target signal is valid, and the time of the timer reaches the sending time, and the protection time of the first target signal is 0, and the number of times the first target signal is sent is not 0, obtain the signal value of the first target signal from the first storage location; wherein the protection time and the number of times of sending are stored in a periodic table, and the protection time is a preset minimum interval time between adjacent period trigger signals and event trigger signals.
[0148] In some embodiments of the present application, the first target signal is a periodic trigger signal, and the periodic table also has the sending time of the next cycle of the first target signal. The signal packaging module is specifically used to: when it is determined that the first target signal is triggered to perform a packaging operation, based on the periodic trigger signal, when the periodic trigger of the first target signal is valid, traverse the sending time in the periodic table, and when it is determined that the sending time of the next cycle of the first target signal in the periodic table is the same as the timing trigger time, and the protection time is 0, obtain the signal value of the first target signal from the first storage location; wherein, the periodic trigger signal is generated in response to the timing trigger time pre-set by the user in the timer, and the periodic trigger signal includes the timing trigger time pre-set in the timer.
[0149] In some embodiments of the present application, when the first target signal is a periodic trigger signal, the signal packaging module is further used to: update the sending time of the next period of the first target signal in the periodic table and the protection time.
[0150] In some embodiments of the present application, when the first target signal is an event trigger signal, the signal packaging module is further used to: reset the sending time and number of sending times of the first target signal in the periodic table.
[0151] In some embodiments of the present application, the signal to be packaged further includes a second target signal; the signal extraction module is further used to extract attribute information of the first target signal and attribute information of the second target signal, and a signal value of the second target signal;
[0152] The signal packaging module is specifically used to: splice the first target signal and the second target signal according to the attribute information of the first target signal and the attribute information of the second target signal, and the signal value of the first target signal and the signal value of the second target signal to obtain a target message.
[0153] In some embodiments of the present application, reference Figure 7 The embodiment of the present application further provides an electric control system, and the electric control system 700 may include:
[0154] A processor 710, which is the processor in the above embodiment and can implement the signal processing method in the above embodiment;
[0155] At least one hardware device 720, each hardware device is connected to the processor based on a controller area network (CAN) bus;
[0156] The central processing unit 730 is connected to the processor based on a high-speed bus.
[0157] In the examples of this application, refer to Figure 8 ASIC chips can be replaced Figure 3 The CPU in the system directly connects the CAN, CANFD, LIN and other buses to the ASIC chip. In this way, the signals transmitted by each sensor can be directly processed by the ASIC chip without the need for CPU processing, which effectively reduces the CPU load rate and improves the transmission efficiency of signal routing.
[0158] Continue to refer Figure 8 ASIC chip is connected to CPU through high-speed bus, so CPU and routing chip only need to access one high-speed bus to realize access to all peripherals and improve the data processing performance of communication system.
[0159] Based on the same inventive concept, an embodiment of the present application also provides a signal processing device.
[0160] Fig. 9 Schematic diagram of a signal processing device provided in an embodiment of the present application. Fig. 9 As shown, the signal processing device may include a processor 801 and a memory 802 storing computer programs or instructions.
[0161] Specifically, the processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0162] The memory 802 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 802 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 802 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 802 is a non-volatile solid-state memory. The memory may include a read-only memory (ROM), a random access memory (RAM), a disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described in the signal processing methods provided in the above-mentioned embodiments.
[0163] The processor 801 implements any one of the signal processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 802 .
[0164] In one example, the signal processing device may further include a communication interface 803 and a bus 810. Fig. 9 As shown, the processor 801, the memory 802, and the communication interface 803 are connected via a bus 810 and communicate with each other.
[0165] The communication interface 803 is mainly used to implement the communication between the modules, devices, units and / or devices in the embodiment of the present invention.
[0166] Bus 810 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 810 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0167] The signal processing device can execute the signal processing method in the embodiment of the present invention, thereby realizing the signal processing method described in the above embodiment.
[0168] In addition, in combination with the signal processing method in the above embodiments, the present invention can provide a readable storage medium to implement the signal processing method in the above embodiments. The readable storage medium stores program instructions, and when the program instructions are executed by a processor, any one of the signal processing methods in the above embodiments is implemented.
[0169] In addition, in combination with the signal processing method in the above embodiment, the embodiment of the present invention can provide a vehicle for implementation. The vehicle includes the signal processing device in the above embodiment and a computer-readable storage medium.
[0170] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0171] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0172] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0173] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0174] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0175] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A signal processing method, characterized in that: The method comprises: Receive at least one message, and parse a first target message to obtain a signal value of a first target signal in the first target message and a first storage position of the first target signal in a storage table; wherein the first target message is any one of the at least one message, and the first target signal is any one of a plurality of signals in the first target message; storing the signal value in the first storage location; In the case where it is determined that a packetization operation is triggered on the first target signal, a signal value of the first target signal is obtained from the first storage location, and the first target signal is packetized based on the signal value to obtain a target message.
2. The method according to claim 1, characterized in that The parsing of the first target message to obtain a signal value of a first target signal in the first target message and a first storage position of the first target signal in a storage table includes: Parsing the first target message to obtain a signal value of the first target signal in the first target message; Using the identity identification code of the first target message as a keyword to search in the signal table, and obtaining at least one signal included in the first target message; According to the first target signal and the correspondence between the signals pre-stored in the signal table and their storage positions in the storage table, the first storage position of the first target signal in the storage table is obtained, wherein the signal table stores the identity identification code of each message, the signal contained in each message, and the storage position of each signal in the storage table, and the first target signal is any one of the at least one signal contained in the first target message.
3. The method according to claim 2, characterized in that After storing the signal value in the first storage location, the method further comprises: When the time of the timer reaches the expiration time of the first target signal, generating an expiration start signal; Based on the failure start signal, poll each signal in the signal table to obtain a first storage position of the first target signal in the storage table; The first target signal at the first storage location is managed.
4. The method according to claim 3, characterized in that After storing the signal value in the first storage location, the method further comprises: Outside the initial time, when the packetization operation of the first target signal is not triggered or the first target signal fails, the failure value of the first target signal is obtained from the failure table, and the first target signal is packetized based on the failure value to obtain a target message, wherein the initial time is the startup time of the processor.
5. The method according to claim 4, characterized in that After storing the signal value in the first storage location, the method further comprises: During the initial time, if the packetization operation on the first target signal is not triggered or the first target signal fails, the initial value of the first target signal is obtained from the initial value table, and the first target signal is packetized based on the initial value to obtain a target message, wherein the initial value of each signal is stored in the initial value table.
6. The method according to claim 3, characterized in that The acquiring the signal value of the first target signal from the first storage location when it is determined that the packetization operation on the first target signal is triggered includes: In the case of determining that a packetization operation is triggered on the first target signal, reading a first storage position of the first target signal in the storage table in the message table, generating an extraction instruction of the first target signal based on the first storage position, and acquiring a signal value of the first target signal from the first storage position based on the extraction instruction; The message table includes signals to be packaged that are to be packaged and storage locations of the signals to be packaged in the storage table, and the signals to be packaged include the first target signal.
7. The method according to claim 6, characterized in that The first target signal is an event trigger signal, and when it is determined that the first target signal is triggered to perform a packetization operation, obtaining the signal value of the first target signal from the first storage location includes: When it is determined that a packetization operation is triggered for the first target signal, and the event trigger of the first target signal is valid, and the time of the timer reaches the sending time, and the protection time of the first target signal is 0, and the number of times the first target signal is sent is not 0, the signal value of the first target signal is obtained from the first storage location; The protection time and the number of transmissions are stored in a periodic table, and the protection time is a preset minimum interval between adjacent periodic trigger signals and event trigger signals.
8. The method according to claim 7, characterized in that The first target signal is a periodic trigger signal, and the periodic table also includes a sending time of the next period of the first target signal; The acquiring the signal value of the first target signal from the first storage location when it is determined that the packetization operation on the first target signal is triggered includes: In the case of determining that a packetization operation is triggered for the first target signal, based on a periodic trigger signal, when the periodic trigger of the first target signal is valid, traversing the sending time in the periodic table, and when it is determined that the sending time of the next cycle of the first target signal in the periodic table is the same as the timing trigger time, and the protection time is 0, obtaining the signal value of the first target signal from the first storage location; The periodic trigger signal is generated in response to a timing trigger time pre-set in the timer by a user, and the periodic trigger signal includes the timing trigger time pre-set in the timer.
9. The method according to claim 8, characterized in that In the case where the first target signal is a periodic trigger signal, after the first target signal is packaged based on the signal value to obtain a target message, the method further includes: The sending time of the next period of the first target signal in the periodic table and the protection time are updated.
10. The method according to claim 7, characterized in that In the case where the first target signal is an event trigger signal, after the first target signal is packaged based on the signal value to obtain a target message, the method further includes: The sending time and the sending number of the first target signal in the periodic table are reset.
11. The method according to claim 6, characterized in that The signal to be packaged further includes a second target signal; after parsing the first target message, the method further includes: extracting attribute information of the first target signal and attribute information of the second target signal, and a signal value of the second target signal; The step of packaging the first target signal based on the signal value to obtain a target message includes: The first target signal and the second target signal are concatenated according to the attribute information of the first target signal and the attribute information of the second target signal, and the signal value of the first target signal and the signal value of the second target signal to obtain a target message.
12. The method according to claim 1, characterized in that The acquiring the signal value of the first target signal from the first storage location when it is determined that the packetization operation on the first target signal is triggered includes: When it is determined that a packetization operation is triggered on the first target signal and the first target signal is not invalid, a signal value of the first target signal is obtained from the first storage position in the storage table.
13. A signal processing device, characterized in that: The device comprises: A signal extraction module, used to receive at least one message and parse a first target message to obtain a signal value of a first target signal in the first target message and a first storage position of the first target signal in a storage table; wherein the first target message is any one of the at least one message, and the first target signal is any one of a plurality of signals in the first target message; A signal storage module, used for storing the signal value in the first storage location; A signal packaging module is used to obtain the signal value of the first target signal from the first storage location when it is determined that a packaging operation on the first target signal is triggered, and to package the first target signal based on the signal value to obtain a target message.
14. A processor, characterized in that: The processor is used to execute the signal processing method described in any one of claims 1-12.
15. The processor according to claim 14, characterized in that The processor is an application specific integrated circuit ASIC chip, the number of the ASIC chip is at least one, and each of the application specific integrated circuit ASIC chips is connected via a network.
16. An electric control system, characterized in that: The electronic control system comprises: A processor, wherein the processor is the processor according to any one of claims 14-15; At least one hardware device, each hardware device is connected to the processor based on a controller area network (CAN) bus; The central processing unit is connected with the processor based on a high-speed bus.
17. A signal processing device, characterized in that: The signal processing device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the signal processing method according to any one of claims 1 to 12 is implemented.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the signal processing method according to any one of claims 1 to 12 is implemented.
19. A vehicle, characterized in that: The vehicle includes at least one of the following: The signal processing device as claimed in claim 13; The processor of claim 14; The electronic control system as claimed in claim 16; The signal processing device according to claim 17; The computer readable storage medium of claim 18.