Method and device for changing communication protocol
A technology of communication protocol and communication message, which is applied in the field of communication protocol change method and device, and can solve problems such as error-prone and cumbersome upgrade process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] figure 2 A flow chart of a method for changing a communication protocol according to an embodiment of the present invention is shown. The method for changing the communication protocol is executed by the first controller connected to the target CAN bus, the first controller is connected with the host computer, and is also used to continuously send communication messages to the target CAN bus, for example figure 1 Controller A shown in . Multiple second controllers are also connected to the target CAN bus, such as figure 1 Controllers B, C, D, E shown in.
[0039] The second controller determines the operation it performs according to the received communication message, for example, the communication message a1 is used to inform the controller in the target CAN bus network: the maximum charging current is 1A, then the second controller will execute The program command with a maximum charging current of 1A, that is, when the maximum charging current is encountered, it...
Embodiment 2
[0070] image 3 A flow chart of a method for changing a communication protocol according to another embodiment of the present invention is shown. The method of changing the communication protocol is executed by the upper computer. The upper computer is used to figure 1 In the illustrated implementation environment (that is, in Embodiment 1), the first controller sends an instruction to change the communication protocol of the target CAN bus network. according to image 3 As shown, the method for changing the communication protocol includes the following steps:
[0071] S210: Obtain an operation type identifier and a target message identifier of the operation to be performed on the communication protocol of the target CAN bus network.
[0072] When the user needs to perform operations on the communication protocol of the target CAN bus network, operate the upper computer, select the operation type, and input or select the target message identifier. The upper computer recei...
Embodiment 3
[0086] Figure 4 A functional block diagram of an apparatus for changing a communication protocol according to an embodiment of the present invention is shown. The device for changing the communication protocol is used to implement the method for changing the communication protocol described in Embodiment 1, and is used for connecting the first controller on the target CAN bus, and the first controller is also used for continuously sending communication messages to the target CAN bus. arts. Multiple second controllers are also connected to the target CAN bus, and the second controllers determine the operations they perform according to the received communication messages. according to Figure 4 As shown, the device for changing the communication protocol includes a first acquiring unit 10 , a second acquiring unit 20 , a determining unit 30 and a changing unit 40 .
[0087] The first acquiring unit 10 is configured to acquire a change instruction of the communication protoc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


