Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Vehicle communication data packaging method and device

A data encapsulation and vehicle communication technology, applied in the field of communication, can solve problems such as uneven signal status, inaccurate processing timing, and inability to meet various needs of vehicle-mounted projects, achieving the effect of improving stability and simplifying complexity

Pending Publication Date: 2021-11-19
FORYOU GENERAL ELECTRONICS
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the existing technology, the encapsulation of the vehicle protocol for APP and ECU communication is handled by each APP itself. The different encapsulation methods of each APP lead to uneven signal status and inaccurate processing timing, which cannot meet the needs of vehicle-mounted projects. various needs

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
  • Vehicle communication data packaging method and device
  • Vehicle communication data packaging method and device
  • Vehicle communication data packaging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] Such as figure 1 As shown, this embodiment provides a vehicle communication data encapsulation method, including:

[0061] Step 1. Receive setting data.

[0062]In this embodiment, the setting data is a setting initiated by the user to set a certain vehicle state, such as setting the temperature of the air conditioner to 20.5°C.

[0063] Step 2, converting the setting data into a standard protocol.

[0064] In this embodiment, the frame format of the standard protocol is as figure 2 shown, including:

[0065] 1) Protocol ID: used to identify each function protocol, including protocol header, function type identifier, and protocol index.

[0066] For example, the standard protocol ID for air conditioner temperature setting is PROP_HVAC_TEMPERATURE (0x1140 08 01), where the 3rd and 4th digits from the right (08) indicate the function type identifier.

[0067] It is easy to understand, the protocol ID (PROP_HVAC_TEMPERATURE) in string form and the protocol ID in hex...

Embodiment 2

[0087] This embodiment provides a specific method for step 3, including:

[0088] Step 301. Determine the function type of the standard protocol according to the protocol ID of the standard protocol.

[0089] For example, the user starts the air conditioner APP, clicks to set the temperature of the air conditioner to 20.5°C, and the type of the standard protocol issued at this time is HVACFunc.

[0090] Step 302. Determine corresponding encapsulation configuration information according to the function type.

[0091] The method for determining the encapsulation configuration information is: intercepting the function type identifier bits in the protocol ID, and then comparing the function type identifier bits in Table 1 to obtain matching encapsulation configuration information (StandardProtocolConfigs).

[0092] For example, the air conditioner temperature setting protocol ID is PROP_HVAC_TEMPERATURE (0x11400801), and the function type identifier bit is 08. Through the compari...

Embodiment 3

[0114] This embodiment provides a specific method of step 301, including:

[0115] Step A1. Obtain a protocol packet with the same protocol ID as the protocol ID in the encapsulation configuration information.

[0116] For example, the protocol ID in the encapsulation configuration information of the air conditioner temperature setting is 0x11400801, so the found pre-stored protocol package for the air conditioner temperature setting is protocol package A.

[0117] Step A2, judging whether the protocol field in the protocol packet is the same as the protocol field in the encapsulation configuration information, if yes, set the protocol packet as a matching protocol packet, otherwise return to step A1.

[0118] For example, the protocol area in the encapsulation configuration information for air conditioner temperature setting is the entire vehicle area, which is the same as the protocol area in protocol package A, so protocol package A is selected as the matching protocol pack...

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 provides a vehicle communication data encapsulation method and device. The method comprises the following steps: receiving setting data; converting the set data into a standard protocol; packaging the standard protocol into a vehicle protocol according to a pre-stored protocol packaging strategy; performing secondary packaging on the vehicle protocol to obtain a final ECU protocol; and sending the final ECU protocol to a corresponding vehicle ECU. According to the invention, unified packaging of the data sent to the vehicle by the application program is realized, the complexity of the application program is simplified, and the stability of the application program is improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for encapsulating vehicle communication data. Background technique [0002] With the development of the vehicle industry, the Android system on vehicle equipment is becoming the main development direction in the future. The Android system has a good openness feature, and a variety of application programs (APP) can bring more control experience to users. The APP sends data with the electronic control unit (ECU) of the vehicle through certain communication protocols for control, and also receives various data sent by the ECU for display. [0003] However, in the existing technology, the encapsulation of the vehicle protocol for APP and ECU communication is handled by each APP itself. The different encapsulation methods of each APP lead to uneven signal status and inaccurate processing timing, which cannot meet the needs of vehicle-mounted projects. Vari...

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
IPC IPC(8): H04L29/06H04L12/953H04L47/43
CPCH04L69/08H04L69/26H04L49/9057Y02D30/70
Inventor 孙天虹
Owner FORYOU GENERAL ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products