Signal processing method and device, medium, vehicle communication system and vehicle

By introducing a signal processing device into the vehicle communication system, the signal of the second node is converted into a signal that conforms to the first communication protocol, the problem of low signal processing efficiency of the vehicle communication system in the prior art is solved, and lower communication delay and higher data processing efficiency are achieved.

CN119766833APending Publication Date: 2025-04-04BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When the existing vehicle communication system dispatches remote nodes in the subnet, the signal processing efficiency is low, resulting in a longer communication delay and affecting the data processing efficiency.

Method used

By receiving the first signal from the second node in the signal processing device and converting it into a second signal that conforms to the first communication protocol, logical direct communication between the first node and the second node in the first network is achieved.

Benefits of technology

The communication delay within the vehicle communication system is reduced, data processing efficiency is improved, and logical direct communication between the remote control node and the vehicle equipment is realized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766833A_ABST
    Figure CN119766833A_ABST
Patent Text Reader

Abstract

The invention discloses a signal processing method and device, a medium, a vehicle communication system and a vehicle, the signal processing method is applied to the vehicle communication system, and the vehicle communication system comprises a first network based on a first communication protocol, the signal processing device and a first node accessing the first network. The method comprises the following steps: the signal processing device receives a first signal from a second node, wherein the protocol type of the first signal is different from a first communication protocol; converting the first signal into a second signal conforming to a first communication protocol; and sending the second signal to the first node. According to the signal processing method, logic direct communication between the first node accessing the first network in the vehicle communication system and the second node accessing the signal processing device can be realized, so that the communication time delay in the vehicle communication system is reduced to a certain extent, and the data processing efficiency of the vehicle communication system is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing, and in particular to a signal processing method, device, medium, vehicle communication system and vehicle. Background Art

[0002] With the development of vehicle intelligence, the internal communication system of the vehicle usually uses the subnet controller and gateway of each subnet to realize the data interaction between the subnet and the backbone network. Specifically, when the control node of the internal backbone network of the vehicle needs to schedule the remote nodes (for example, a sensor / actuator) under other subnets, the scheduling signal needs to be encapsulated by layers of protocols.

[0003] However, based on the above signal processing method, it will take too long for the internal control node of the vehicle communication system to schedule other internal nodes of the vehicle communication system, resulting in low signal processing efficiency of the existing vehicle communication system.

[0004] Therefore, the low signal processing efficiency of the vehicle communication system has become a problem that needs to be solved. Summary of the invention

[0005] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide a signal processing method, device, medium, vehicle communication system and vehicle. The signal processing method can realize logical direct communication between a first node connected to a first network within the vehicle communication system and a second node connected to the signal processing device, thereby reducing the communication delay within the vehicle communication system to a certain extent and further improving the data processing efficiency of the vehicle communication system.

[0006] In a first aspect, the present invention provides a signal processing method, which is applied to a vehicle communication system, wherein the vehicle communication system includes a first network of a first communication protocol, and the vehicle communication system also includes a signal processing device and a first node accessing the first network. The method includes:

[0007] The signal processing device receives a first signal from the second node, the protocol type of the first signal being different from the first communication protocol;

[0008] The signal processing device converts the first signal into a second signal that complies with the first communication protocol;

[0009] The signal processing device sends a second signal to the first node.

[0010] In a second aspect, the present invention provides a signal processing device, which is applied to a vehicle communication system. The vehicle communication system includes a first network based on a first communication protocol, a signal processing device, and a first node connected to the first network. The device includes: a receiving unit, a processing unit, and a sending unit.

[0011] A receiving unit, configured to receive a first signal from a second node, wherein a protocol type of the first signal is different from the first communication protocol;

[0012] A processing unit, configured to convert the first signal into a second signal conforming to the first communication protocol;

[0013] A sending unit is used to send a second signal to the first node.

[0014] In a third aspect, the present invention provides a signal processing device, including a processor, the processor is connected to a memory, the memory stores a computer program that can be run on the processor, and when the processor executes the program, it implements the signal processing method described in the first aspect.

[0015] In a fourth aspect, the present invention provides a vehicle communication system, the vehicle communication system comprising the signal processing device of the third aspect or the fourth aspect;

[0016] The vehicle communication system also includes a first node accessing the first network.

[0017] In a fifth aspect, a vehicle is provided, which includes the signal processing device of the second aspect, the third aspect, or the vehicle communication system of the fourth aspect.

[0018] In a sixth aspect, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the program is executed by a processor, the method described in the first aspect is implemented.

[0019] The signal processing method, device, medium, vehicle communication system and vehicle provided in the embodiments of the present application are compared with the prior art that uses the subnet controllers and gateways of each subnet in the vehicle communication system to realize data interaction between the subnet and the backbone network. The signal processing device in the embodiments of the present application can receive and process the first signal of the second node to convert the first signal into a second signal that complies with the first network protocol, thereby realizing communication between the second node and the first node by sending the second signal to the first node connected to the first network in the vehicle communication system, wherein the first network protocol is the communication protocol of the first network of the vehicle communication system, thereby realizing logical direct communication between the remote control node connected to the main network of the vehicle communication system and each vehicle device under the subnet of the vehicle communication system, shortening the data processing time of the vehicle communication system, while reducing the communication delay within the vehicle communication system to a certain extent, and further improving the data processing efficiency of the vehicle communication system. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0021] Figure 1 A schematic diagram of an architecture of a vehicle communication system provided in an embodiment of the present application;

[0022] Figure 2 A schematic diagram of a flow chart of a signal processing method provided in an embodiment of the present application;

[0023] Figure 3 is another flowchart of the signal processing method provided by an embodiment of the present application;

[0024] Figure 4 is another schematic diagram of the architecture of the vehicle communication system provided by an embodiment of the present application;

[0025] Figure 5 is another flowchart of the signal processing method provided by an embodiment of the present application;

[0026] Figure 6 is a block diagram of a signal processing device provided in an embodiment of the present application;

[0027] Figure 7 A schematic diagram of the structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0029] It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. In addition, the term "and / or" herein is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects.

[0030] With the development of intelligent vehicles, the internal communication system of the vehicle usually uses the subnet controller and gateway of each subnet to realize the data interaction between the subnet and the backbone network. Specifically, when the control node of the internal backbone network of the vehicle needs to schedule remote nodes (for example, a sensor / actuator) under other subnets, the scheduling signal needs to be encapsulated by layers of protocols to achieve indirect control of other network nodes by the control node. Based on the above signal processing method, the control delay will be longer when the internal control node of the vehicle communication system schedules other nodes in the vehicle communication system, resulting in low signal processing efficiency of the existing vehicle communication system, and is also not conducive to the development of delay-sensitive services.

[0031] Based on this, an embodiment of the present application provides a signal processing method, device, medium, vehicle communication system and vehicle, and its technical principle is: the signal processing device receives a first signal from a second node, and converts the communication protocol of the first signal (that is, accesses the first communication protocol of the first network in the vehicle communication system) to generate a second signal, and then sends the second signal to the first node, thereby realizing communication between the first node and the second node in the first network.

[0032] Figure 1 The signal processing method provided in the embodiment of the present application can be applied to the vehicle communication system 100. Figure 1 The vehicle communication system 100 may include a first network 101 based on a first communication protocol, a first node 102 connected to the first network 101, a signal processing device 103, and a second node 104 connected to the signal processing device 103. The second node 104 may be, for example, a vehicle device; and the first node 102 may be, for example, a remote control node of the vehicle device.

[0033] Exemplarily, the signal processing device 103 is responsible for receiving the original data sent by the second node 104 and performing communication protocol processing, and then sending the processed data to the first node 102; on the other hand, it is responsible for receiving data sent by other signal processing devices 103 forwarded through the first node 102, and sending the data to the corresponding second node 104.

[0034] Exemplarily, the first node 102 is responsible for receiving and forwarding data sent by the signal processing device 103 on the one hand; on the other hand, when the second node 104 that sends data to the signal processing device 103 and the remote control node of the second node 104 do not belong to the same subnet, it is responsible for performing communication protocol processing on the received data and then forwarding the processed data.

[0035] In some embodiments, the signal processing device 103 includes a communication interface for communicating with the first node 102. For example, when the first network 101 is an Ethernet protocol, the signal processing device 103 can use a reduced gigabit media independent interface (RGMII) interface to communicate with the first node 102.

[0036] The first node 102 and the signal processing device 103 can both be independent physical servers, or a server cluster or distributed system composed of multiple physical servers. They can also be cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), as well as big data and artificial intelligence platforms.

[0037] The second node 104 may be a controller, a sensor, an actuator, etc. installed on the vehicle, which is not limited in this embodiment of the present application.

[0038] It should be noted that although the operations of the method of the present invention are described in a particular order in the drawings, this does not require or imply that the operations must be performed in this particular order or that all illustrated operations must be performed to achieve desired results.

[0039] The following will be combined Figure 1 The technical solution of the present application and how the technical solution of the present application solves the above technical problems are described in detail with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0040] The present invention provides a signal processing method which can be applied to Figure 1 A vehicle communication system 100 is shown. Figure 2 is a flow chart of a signal processing method provided in an embodiment of the present application, such as Figure 2 As shown, the method specifically comprises the following steps:

[0041] Step 201: A signal processing device receives a first signal from a second node, wherein a protocol type of the first signal is different from a first communication protocol.

[0042] In an embodiment of the present application, the signal processing device may include a receiving unit, a processing unit, and a sending unit. Exemplarily, the receiving unit may be used to receive an original signal sent from a second node to determine the first signal. The second node may be, for example, a vehicle device.

[0043] For example, the receiving unit may be an independent Controller Area Network (CAN) controller or an independent Local Interconnect Network (LIN) controller.

[0044] In a possible implementation, the signal processing device may receive multiple received signals from the second node, and screen the multiple received signals to determine the first signal from the multiple received signals, wherein the protocol types of the multiple received signals are all different from the first communication protocol.

[0045] In the embodiment of the present application, unnecessary processing and forwarding of received signals can be avoided by screening the received signals, thereby reducing the consumption of network resources and ensuring the processing efficiency of necessary signals in the vehicle communication system.

[0046] Exemplarily, the signal processing device may receive multiple reception signals from at least one vehicle device based on the connection with the vehicle device (i.e., the second node), wherein the reception signal may be a control signal sent by the vehicle device to other vehicle devices or other network nodes in the vehicle communication system.

[0047] Exemplarily, the signal processing device may receive a received signal from the vehicle device in any time period. For example, the signal processing device may receive a received signal from the vehicle device during the screening of the received signal, during the determination of the first signal, or after the first signal is determined, without specific limitation herein.

[0048] Exemplarily, the receiving unit of the signal processing device may receive a received signal from the vehicle device. For example, when a CAN controller and a LIN controller exist in the receiving unit, the CAN controller and the LIN controller may receive a CAN signal or a LIN signal sent by the vehicle device, and the CAN controller and the LIN controller may respectively filter the received signal sent by the vehicle device based on their own communication protocols, so that different types of received signals can enter the corresponding control node. Specifically, the CAN controller and the LIN controller may determine the signal type of the received signal based on the identifier of the received signal.

[0049] Exemplarily, the signal processing device may screen the received signals based on the priorities of the received signals to determine the received signal with the highest priority as the first signal.

[0050] It should be noted that the priority of the above-mentioned received signal may be related to at least one of the signal importance corresponding to the received signal, the signal reception time, and the signal protocol type.

[0051] Optionally, the signal processing device may screen a plurality of received signals based on current service demands of the vehicle to determine a received signal matching the current service demands of the vehicle as the first signal.

[0052] Step 202: The signal processing device converts the first signal into a second signal that complies with the first communication protocol.

[0053] In the embodiment of the present application, the processing unit of the signal processing device can be used to process the first signal to convert the first signal into a second signal that complies with the first communication protocol. Specifically, the receiving unit of the signal processing device is interactively connected to the processing unit of the signal processing device.

[0054] For example, the processing unit may be an Application-Specific Integrated Circuit (ASIC) or a Field-Programmable Gate Array (FPGA) chip for signal processing.

[0055] Compared with the prior art of using the subnet controllers and gateways of each subnet in the vehicle communication system to realize data interaction between the subnet and the backbone network, the above-mentioned processing unit can process the received first signal so that the communication protocol of the generated second signal is consistent with the communication protocol of the first node (i.e., the remote control node of the vehicle equipment) connected to the first network in the vehicle communication system, so that the remote control node can directly deframe the second signal when receiving the second signal, thereby realizing logical direct communication between the remote control node in the vehicle and the various vehicle equipment under the subnet.

[0056] In a possible implementation, the signal processing device may generate the second signal based on the first communication protocol and the first signal.

[0057] Exemplarily, the signal processing device may obtain valid data from the first signal, and encapsulate the valid data based on the first communication protocol to obtain the second signal.

[0058] Optionally, the signal processing device may encapsulate the first signal based on the first communication protocol to obtain the second signal.

[0059] For example, taking the example of the signal processing device encapsulating the first signal, the signal processing device can add an identifier corresponding to the first communication protocol at the beginning or end of the first signal data, and add header information at the beginning of the first signal data, so that the remote control node connected to the switching device can correctly parse the data.

[0060] It should be noted that after the identifier and header information are successfully added to the first signal data, when there is a byte identical to the identifier or special character in the data, the byte is escaped to obtain the second signal. The escape process may be to replace a specific byte sequence with an escape sequence, and perform a reverse escape operation when the remote control node receives the second signal.

[0061] It should be noted that the reason why the communication protocol of the second signal is kept consistent with the first communication protocol is to facilitate the remote control node to directly parse the second signal, thereby shortening the signal processing time of the remote control node.

[0062] Step 203: The signal processing device sends a second signal to the first node.

[0063] In a possible implementation, the signal processing device may send the second signal to the first node through its own output terminal, wherein the output terminal of the signal processing device is related to the communication protocol of the first node. Specifically, the signal processing device may send the second signal to the first node using its own sending unit.

[0064] Exemplarily, the communication type of the output terminal of the signal processing device may be consistent with the communication protocol of the first node. For example, when the communication protocol of the first node is the Ethernet protocol, the output terminal of the signal processing device connected to the first node may be an Ethernet output terminal.

[0065] It should be noted that the above-mentioned vehicle communication system 100 can be divided into multiple subnet areas. Therefore, the signal processing method in the embodiment of the present application is applicable to data interaction between the second node 104 under a certain subnet (for example, the above-mentioned subnet 1 / subnet 2) and the first node 102 of the second node 104 connected to the first network 101; it is also applicable to data interaction between different subnets (for example, the above-mentioned subnet 1 and subnet 2).

[0066] In a possible implementation, when the signal processing method is applied to data interaction between subnets, the remote control node of another subnet can be replaced by a signal processing device in the subnet.

[0067] Exemplarily, when the second node that sends the first signal and the first node that receives the second signal are in different subnets within the vehicle communication system, the second signal needs to be received by a regional central controller in the vehicle communication system, and the second signal needs to be encapsulated and processed based on the communication protocol of the subnet where the remote control node is located, so that the second signal can be received and parsed by a signal processing device in the subnet corresponding to the remote control node.

[0068] Compared with the prior art that uses the subnet controllers and gateways of each subnet in the vehicle communication system to realize data interaction between the subnet and the backbone network, the signal processing method provided in the embodiment of the present application can receive and process the first signal of the second node to convert the first signal into a second signal that complies with the first network protocol, thereby sending the second signal to the first node connected to the first network in the vehicle communication system to realize communication between the second node and the first node, wherein the first network protocol is the communication protocol of the first network of the vehicle communication system, thereby realizing logical direct communication between the remote control node connected to the main network of the vehicle communication system and each vehicle device under the subnet of the vehicle communication system, shortening the data processing time of the vehicle communication system, while reducing the communication delay within the vehicle communication system to a certain extent, and further improving the data processing efficiency of the vehicle communication system.

[0069] In another embodiment of the present application, an implementation of generating a second signal is also provided. Exemplarily, the signal processing device obtains valid data from the first signal based on the protocol type of the first signal, and encapsulates the valid data based on the first communication protocol to obtain the second signal.

[0070] In the embodiment of the present application, by intercepting valid data in the first signal, network bandwidth can be saved during the processing of the first signal, thereby reducing the network resource consumption of the vehicle communication system.

[0071] In a possible implementation, the signal processing device may encapsulate valid data in the first signal based on the first communication protocol to obtain the second signal.

[0072] Exemplarily, the signal processing device may obtain valid data in the first signal based on the protocol type of the first signal. Specifically, there is a corresponding relationship between the protocol type of the first signal and the valid data of the first signal. The embodiment of the present application does not specifically limit the protocol type of the first signal.

[0073] For example, when the protocol type of the first signal is a two-wire serial bus transmission protocol, the valid data of the first signal is the identifier bit, extended identifier bit, data segment, cyclic redundancy check (CRC) segment and acknowledgement (ACK) segment of the first signal; when the protocol type of the first signal is a single-wire serial bus transmission protocol, the valid data of the first signal is the protected identity segment, data segment, checksum segment and frame interval of the first signal.

[0074] Specifically, the signal processing device may first determine the protocol type of the first signal based on the frame header information of the first signal, and then intercept the valid data of the first signal based on the protocol type and data length of the first signal.

[0075] It should be noted that the valid data of the first signal can be intercepted by the processing unit (i.e., ASIC or FPGA chip) in the signal processing device; and since the data length of each valid data segment in the first signal is fixed, the processing unit can directly intercept the valid data according to the data length.

[0076] Exemplarily, after acquiring valid data of the first signal, the signal processing device may encapsulate the valid data based on the first communication protocol to obtain the second signal.

[0077] For example, when the first communication protocol is the Ethernet protocol, the processing unit in the signal processing device can have all the functions of the Ethernet data link layer (Media Access Control, abbreviated as MAC layer), so the signal processing device can encapsulate the valid data of the first signal into the Ethernet payload to obtain a second signal whose communication protocol is the Ethernet protocol.

[0078] In another embodiment of the present application, another implementation of generating the second signal is provided. Exemplarily, the signal processing device encapsulates the first signal based on the first communication protocol to obtain the second signal.

[0079] Exemplarily, the signal processing device may directly encapsulate the first signal based on the first communication protocol to obtain the second signal.

[0080] For example, when the first communication protocol is the Ethernet protocol, the signal processing device may directly encapsulate the first signal into the Ethernet payload to obtain a second signal whose communication protocol is the Ethernet protocol.

[0081] In another embodiment of the present application, a specific implementation method of screening the first signal based on the current business needs of the vehicle is also provided.

[0082] Exemplarily, the signal processing device may perform flow adjustment on the received signal according to the preset information to implement the screening of the received signal. The preset information may be a registration table for characterizing the correspondence between the vehicle service demand and the vehicle equipment.

[0083] It should be noted that the preset information can be pre-stored in the control node, and the preset information can be updated in real time according to changes in vehicle business requirements.

[0084] For example, when the current business needs of the vehicle correspond to vehicle devices A and B, and received signal 1, received signal 2 and received signal 3 correspond to vehicle devices A, B and C respectively, the flow of each received signal can be adjusted to screen out received signal 1 and received signal 2 that match the current business needs of the vehicle.

[0085] In a possible implementation, when multiple received signals are determined, the signal processing device may determine the signal with the highest priority among the multiple received signals as the first signal.

[0086] Exemplarily, the importance of each received signal may be determined according to the current service demand of the vehicle, and the received signals may be sorted according to their importance, so that the received signal with the highest importance may be determined as the first signal.

[0087] Optionally, the received signals may be sorted according to their receiving time, so as to determine the received signal with the earliest receiving time as the first signal. It should be noted that, when there are no multiple received signals, the received signal with the earliest receiving time may be determined as the first signal.

[0088] Optionally, the received signals may be sorted according to the protocol types of the received signals, so as to determine the received signals conforming to a preset protocol type as the first signals.

[0089] In another embodiment of the present application, a specific implementation of the signal processing process is also provided. Exemplarily, the method also includes: the signal processing device receives a third signal from the second node, and when the priority of the third signal is higher than the first signal, the signal processing device interrupts the sending of the second signal and sends a fourth signal; the fourth signal is the signal processing device converting the third signal into a signal that complies with the first communication protocol.

[0090] In an embodiment of the present application, when the signal processing device receives a third signal having a higher priority than the current first signal, the third signal may be processed preferentially to ensure that the signal corresponding to the current vehicle demand can be processed preferentially.

[0091] It should be noted that the receiving unit of the signal processing device continuously inputs the first signal with the highest priority to the processing unit of the signal processing device, so other first signals can be received in any period when the processing unit processes the current first signal.

[0092] In one possible implementation, when the processing unit generates a second signal according to a first communication protocol and a first signal, when the priority of the first signal output by the receiving unit is higher than the priority of the first signal currently being processed, the processing unit interrupts the processing of the current first signal and generates a fourth signal based on the new first signal and the first communication protocol.

[0093] Exemplarily, when the processing unit is in the process of generating a second signal based on the first communication protocol and the current first signal, when the receiving unit outputs a third signal having a higher priority than the current first signal, the processing unit directly generates a fourth signal based on the third signal and the first communication protocol.

[0094] Optionally, after the processing unit has generated a second signal based on the first communication protocol and the current first signal, when the receiving unit outputs a third signal with a higher priority than the first signal currently being processed, the processing unit discards the generated second signal and generates a fourth signal based on the third signal and the first communication protocol.

[0095] In another embodiment of the present application, another specific implementation of the signal processing process is provided. Exemplarily, the method further includes: if the number of interruptions in sending the second signal is greater than a preset value, the signal processing device sends the second signal.

[0096] In an embodiment of the present application, when the number of interruptions of a processing process of a first signal within a period of time is greater than a preset value, a third signal with a higher priority than the first signal is not considered at this time. Instead, a second signal is generated based on the first communication protocol and the first signal, thereby avoiding the situation where the signal is not transmitted.

[0097] Exemplarily, the priority of a signal can be increased based on the number of interruptions of a signal processing process. For example, when the processing process of a certain avoidance signal is interrupted multiple times, the priority level of the avoidance signal can be accumulated multiple times until the number of interruptions of the avoidance signal processing process exceeds a preset value, and the processing process of the avoidance signal is executed preferentially.

[0098] It should be noted that, similar to the processing process of the third signal with a higher priority, the processing unit may also preferentially execute the processing process of the avoidance signal at any processing stage.

[0099] In another embodiment of the present application, a specific communication protocol of the second node is also introduced. Exemplarily, the communication protocols supported by the second node include a two-wire serial bus transmission protocol and a single-wire serial bus transmission protocol.

[0100] In an embodiment of the present application, the second node may include a first vehicle device supporting a two-wire serial bus transmission protocol (ie, CAN protocol) and a second vehicle device supporting a single-wire serial bus transmission protocol (ie, LIN protocol).

[0101] Exemplarily, the receiving unit of the signal processing device may set a corresponding control node according to the protocol type of the signal sent by the vehicle device. For example, when the protocol type of the received signal sent by the vehicle device includes a two-wire serial bus transmission protocol and a single-wire serial bus transmission protocol, the receiving unit of the signal processing device may include a CAN controller and a LIN controller.

[0102] In the foregoing embodiment of the present application, an implementation of a signal processing method is provided. In another embodiment of the present application, another implementation of a signal processing method is provided.

[0103] Figure 3 is another flowchart of the signal processing method provided in the embodiment of the present application. Figure 3 As shown, the method specifically comprises the following steps:

[0104] Step 301: a signal processing device receives an original signal from a vehicle device.

[0105] In a possible implementation, the receiving unit of the signal processing device may receive a reception signal from the vehicle device within any time period based on the connection with the vehicle device.

[0106] Exemplarily, the receiving unit may include a CAN controller and a LIN controller, so that the CAN controller and the LIN controller receive a CAN signal or a LIN signal sent by the vehicle equipment.

[0107] For example, the CAN controller and the LIN controller can respectively screen the received signals sent by the vehicle equipment based on their own communication protocols, so that different types of received signals can enter the corresponding control nodes (ie, the CAN controller / LIN controller).

[0108] Step 302: The signal processing device screens a plurality of different received signals based on the current service demand of the vehicle, and determines a plurality of candidate received signals that match the current service demand of the vehicle.

[0109] In a possible implementation, after the receiving unit of the signal processing device completes the primary screening of the above-mentioned received signals, the processing unit of the signal processing device may perform a secondary screening on the different received signals after the primary screening based on the current service requirements of the vehicle to determine a plurality of candidate received signals.

[0110] Exemplarily, the processing unit may adjust the flow of the received signal according to the preset information to achieve secondary screening of the received signal. The preset information may be a registration table for characterizing the correspondence between vehicle service requirements and vehicle equipment.

[0111] Step 303: The signal processing device determines the signal with the highest priority among the multiple candidate received signals as the first signal.

[0112] In a possible implementation, when a processing unit in the signal processing device determines multiple candidate received signals, the processing unit may determine the signal with the highest priority among the multiple received signals as the first signal. The processing unit may be an ASIC or FPGA chip.

[0113] Exemplarily, the priority of the received signal may be related to at least one of the importance of the signal corresponding to the received signal, the signal reception time, and the signal protocol type.

[0114] Step 304: The signal processing device parses the first signal and determines the protocol type of the first signal; obtains valid data from the first signal based on the protocol type, and encapsulates the valid data based on the first communication protocol to obtain a second signal.

[0115] Exemplarily, the processing unit in the signal processing device may first determine the protocol type of the first signal based on the frame header information of the first signal, and then intercept the valid data of the first signal based on the protocol type and data length of the first signal.

[0116] For example, when the protocol type of the first signal is a two-wire serial bus transmission protocol (i.e., CAN protocol), the valid data of the first signal is the identifier bit, extended identifier bit, data segment, cyclic check (CyclicRedundancy Check, abbreviated as CRC) segment and acknowledgement (Acknowledgement, abbreviated as ACK) segment of the first signal; when the protocol type of the first signal is a single-wire serial bus transmission protocol (i.e., LIN protocol), the valid data of the first signal is the protected identity segment, data segment, checksum segment and frame interval of the first signal.

[0117] Exemplarily, after acquiring valid data of the first signal, the processing unit may encapsulate the valid data based on the first communication protocol to obtain the second signal.

[0118] For example, when the first communication protocol is the Ethernet protocol, the processing module may encapsulate the valid data of the first signal into the payload of the Ethernet to obtain the second signal whose communication protocol is the Ethernet protocol.

[0119] Step 305: The signal processing device sends a second signal to the first node.

[0120] Figure 4 is another schematic diagram of the architecture of the vehicle communication system provided in the embodiment of the present application, with reference to Figure 4The vehicle communication system 400 includes a signal processing device 401 and a switching device 402. The signal processing device 401 includes a CAN controller, a LIN controller, and an ASIC or FPGA chip; the switching device 402 includes an Ethernet switching chip.

[0121] Specifically, the second signal sent by the signal processing device 401 may be received by the switching device 402 , so as to send the second signal to the second node through the switching device 402 .

[0122] It should be noted that the CAN controller and the LIN controller may correspond to the receiving unit of the signal processing device in the above embodiment; the ASIC or FPGA chip may correspond to the processing unit of the signal processing device in the above embodiment.

[0123] Figure 5 FIG. 4 is another flow chart of a signal processing method provided in an embodiment of the present application, and the signal processing method can be applied to the vehicle communication system 400. Figure 5 As shown, the method comprises the following steps:

[0124] Step 501: CAN signal / LIN signal enters CAN controller / LIN controller respectively.

[0125] Exemplarily, the CAN controller and the LIN controller may respectively filter the original signals sent by the vehicle equipment based on their own communication protocols, so that different types of original signals can enter the corresponding control modules.

[0126] Step 502: Perform priority arbitration on the CAN signal / LIN signal entering the CAN controller / LIN controller respectively.

[0127] For example, the CAN controller and the LIN controller can adjust the flow of the original CAN signal / LIN signal according to the preset information to achieve priority arbitration of the CAN signal / LIN signal and enable the signal with the highest priority to enter the ASIC or FPGA chip. The preset information can be a registration table used to characterize the corresponding relationship between vehicle business requirements and vehicle equipment.

[0128] It should be noted that, after the flow rate of the above-mentioned CAN signal / LIN signal is adjusted, the allowed signal can enter the ASIC or FPGA chip.

[0129] Step 503: Use the queuing arbitration submodule in the ASIC or FPGA chip to perform data arbitration and queuing on the CAN signal / LIN signal entering the queuing arbitration submodule.

[0130] Exemplarily, the CAN signal / LIN signal entering the queuing arbitration submodule may correspond to the first signal in the above embodiment.

[0131] Step 504: Determine the protocol type of the signal using the signal processing submodule in the ASIC or FPGA chip.

[0132] Step 505: utilize the signal processing submodule in the ASIC or FPGA chip to intercept the valid data of the signal and perform packaging processing on the valid data.

[0133] Exemplarily, the encapsulated signal corresponds to the second signal in the above embodiment.

[0134] Step 506: gather and encapsulate the processed signals according to the first-in-first-out principle.

[0135] Step 507: The Ethernet interface outputs the encapsulated signal.

[0136] Figure 6 Schematic diagram of a signal processing device provided in an embodiment of the present application. Figure 6 As shown, the signal processing device 600 includes: a receiving unit 601, a processing unit 602 and a sending unit 603, wherein:

[0137] The receiving unit 601 is configured to receive a first signal from a second node, where a protocol type of the first signal is different from the first communication protocol.

[0138] The processing unit 602 is configured to convert the first signal into a second signal conforming to the first communication protocol.

[0139] The sending unit 603 is configured to send a second signal to the first node.

[0140] In another embodiment of the present application, a vehicle is provided. The vehicle includes the vehicle communication system 400 described in the above embodiment.

[0141] Reference below Figure 7 , Figure 7 A schematic diagram of the structure of a computer device suitable for implementing the embodiments of the present application is shown. Figure 7 As shown, computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. Various programs and data required for the operation instructions of the system are also stored in RAM 703. CPU 701, ROM 702 and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to bus 704.

[0142] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 706, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.

[0143] In particular, according to an embodiment of the present application, the above reference flow chart Figure 2 The described process can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present application are executed.

[0144] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium such as a computer-readable storage medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0145] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operating instructions of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the aforementioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, the boxes represented by two connections can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operating instruction, or can be implemented with a combination of dedicated hardware and computer instructions.

[0146] The units or modules involved in the embodiments described in the present application may be implemented by software or by hardware. The described units or modules may also be provided in a processor, for example, may be described as: a processor including a semantic extraction unit, a weight allocation unit, and a determination unit. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves.

[0147] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the computer device described in the above embodiment, or may exist independently without being installed in the computer device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the method described in the present application. For example, it can be executed Figure 2 The individual steps of the method are shown.

[0148] The present application embodiment provides a computer program product, which includes instructions. When the instructions are executed, the method described in the present application embodiment is executed. For example, Figure 2 The individual steps of the method are shown.

[0149] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.

Claims

1. A signal processing method, characterized in that: Applied to a vehicle communication system, the vehicle communication system includes a first network based on a first communication protocol, the vehicle communication system also includes a signal processing device and a first node accessing the first network, the method includes: The signal processing device receives a first signal from a second node, wherein a protocol type of the first signal is different from the first communication protocol; The signal processing device converts the first signal into a second signal that complies with the first communication protocol; The signal processing device sends the second signal to the first node.

2. The signal processing method according to claim 1, characterized in that: The priority of the first signal is higher than other signals among the multiple received signals except the first signal, or the first signal is a signal among the multiple received signals that matches the current business needs of the vehicle; the multiple received signals are signals from the second node, and the protocol type of the multiple received signals is different from the first communication protocol.

3. The signal processing method according to claim 2, characterized in that: The priority is related to at least one of signal importance, signal reception time, and signal protocol type.

4. The signal processing method according to claim 1, characterized in that: The method further comprises: The signal processing device receives a third signal from the second node. When the priority of the third signal is higher than that of the first signal, the signal processing device interrupts the sending of the second signal and sends a fourth signal; the fourth signal is a signal that complies with the first communication protocol after the signal processing device converts the third signal.

5. The signal processing method according to claim 4, characterized in that: The method further comprises: If the number of interruptions in sending the second signal is greater than a preset value, the signal processing device sends the second signal.

6. The signal processing method according to claim 1, characterized in that: The second signal includes valid data of the first signal; the valid data is obtained by the signal processing device from the first signal according to the protocol type of the first signal.

7. The signal processing method according to claim 1, characterized in that: The communication protocol supported by the second node includes at least one of a two-wire serial bus transmission protocol and a single-wire serial bus transmission protocol.

8. The signal processing method according to claim 1, characterized in that: The first communication protocol includes an Ethernet protocol.

9. A signal processing device, characterized in that: Applied to a vehicle communication system, the vehicle communication system includes a first network based on a first communication protocol, a signal processing device and a first node accessing the first network, the signal processing device includes: a receiving unit, a processing unit and a sending unit, The receiving unit is configured to receive a first signal from a second node, wherein a protocol type of the first signal is different from the first communication protocol; The processing unit is used to convert the first signal into a second signal that complies with the first communication protocol; The sending unit is configured to send the second signal to the first node.

10. The signal processing device according to claim 9, characterized in that: The priority of the first signal is higher than that of multiple received signals, or the first signal is a signal that matches the current business needs of the vehicle; the multiple received signals are signals from the second node, and the protocol type of the multiple received signals is different from the first communication protocol.

11. A signal processing device, comprising a processor, the processor being connected to a memory, the memory storing a computer program that can be run on the processor, characterized in that: When the processor executes the program, the signal processing method according to any one of claims 1 to 8 is implemented.

12. A vehicle communication system, characterized in that: A signal processing device comprising any one of claims 9 to 11; The vehicle communication system also includes a first node accessing the first network.

13. A vehicle, characterized in that: A signal processing device comprising any one of claims 9 to 11; or Includes the vehicle communication system as claimed in claim 12.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the signal processing method according to any one of claims 1 to 8 is implemented.