Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2020-04-07
SUZHOU JK ENERGY LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiment of the present invention provides a method and device for changing the communication protocol to solve the problem of cumbersome and error-prone process when the software of the controller is upgraded one by one when changing the communication protocol in the existing method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for changing communication protocol
  • Method and device for changing communication protocol
  • Method and device for changing communication protocol

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for changing a communication protocol. One method is executed by a first controller connected to a target CAN bus, and the first controller is also used for continuously sending a communication message to the target CAN bus. The method comprises the following steps of obtaining a change instruction of a communication protocol of a target CAN bus network, wherein the change instruction is used for changing the communication protocol of the target CAN bus network; obtaining an operation type identifier and a target message identifier in the change instruction; determining an operation type of the communication protocol according to the operation type identifier and determining a to-be-changed communication message according to the target message identifier; and changing the to-be-changed communication message according to the operation type. According to the method and the device, when the change of the communication protocol of the target CAN bus network is needed, software of the controller in the CAN bus network is not upgraded one by one, and the change instruction is sent to the first controller only, and a process of changing the communication protocol is simple and is less error-prone.

Description

technical field [0001] The invention relates to the technical field of battery management systems, in particular to a method and device for changing a communication protocol. Background technique [0002] The communication protocol refers to the rules and agreements that both entities must follow to complete the communication or service. The communication protocol is mainly composed of three elements: syntax, semantics and timing rules (timing). Syntax refers to how to communicate, including data format, coding, and signal level (level), etc.; semantics refers to communication content, including data content, meaning, and control information; timing rules refer to when to communicate, including the order and rate of communication matching and sorting etc. [0003] The pre-established communication protocol is often written into the controller software in the communication network, so that the message sent by controller A to controller B can be successfully parsed by control...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/40H04L29/06H02J7/00
CPCH02J7/007H04L12/40006H04L69/08H04L69/22H04L2012/40215
Inventor 施敏捷王中照蔡乾宋久福
Owner SUZHOU JK ENERGY LTD