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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com