WO2024001572A1 - 控制器功能更新方法、系统、车辆和服务器 - Google Patents

控制器功能更新方法、系统、车辆和服务器 Download PDF

Info

Publication number
WO2024001572A1
WO2024001572A1 PCT/CN2023/094109 CN2023094109W WO2024001572A1 WO 2024001572 A1 WO2024001572 A1 WO 2024001572A1 CN 2023094109 W CN2023094109 W CN 2023094109W WO 2024001572 A1 WO2024001572 A1 WO 2024001572A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
function
message
controller
vehicle
Prior art date
Application number
PCT/CN2023/094109
Other languages
English (en)
French (fr)
Inventor
金钊
郭宗宾
周幸达
陈威名
洪宇
孙宗姚
张赫
张文杰
Original Assignee
中国第一汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2024001572A1 publication Critical patent/WO2024001572A1/zh

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0262Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Definitions

  • This application relates to the field of vehicle technology, for example, to controller function update methods, systems, vehicles and servers.
  • This application provides a controller function update method, system, vehicle and server to realize dynamic update of controller functions and ensure the accuracy of function updates, while also improving the flexibility of controller function updates.
  • this application provides a controller function update method, which is applied to vehicles.
  • the method includes:
  • At least one target function message sent by the server is received, wherein the at least one target function message is at least one target of the server based on the preset message generation method and the function to be modified. Generated from the target function configuration information corresponding to the controller;
  • the received at least one target function message is parsed, and based on the parsed target vehicle function configuration information that matches the current vehicle controller, a function update is performed on the current vehicle controller.
  • this application also provides a controller function update method, which is applied to the server.
  • the method includes:
  • this application provides a controller function update system, which includes: a server and a vehicle;
  • the vehicle is configured to implement the above-mentioned controller function update method applied to the vehicle;
  • the server is configured to implement the above controller function update method applied to the server.
  • this application provides a vehicle, which includes: a gateway controller and multiple vehicle-mounted controllers;
  • the gateway controller is configured to: receive at least one target function message sent by the server, wherein the at least one target function message is at least one target of the server based on a preset message generation method and a function to be modified.
  • the target function configuration information corresponding to the controller is generated; broadcasting the received at least one target function message, so that at least one vehicle-mounted controller receives the at least one target function message;
  • Each vehicle-mounted controller is configured to: parse the received at least one target function message based on a preset message parsing method that matches the preset message generation method, and based on the parsed and current
  • the target vehicle function configuration information matched by the vehicle controller is used to update the functions of the current vehicle controller.
  • this application provides a server, which includes: at least one processor; and a memory communicatively connected to the at least one processor;
  • the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the above-mentioned control applied to the server.
  • Device function update method
  • Figure 1 is a flow chart of a controller function update method provided in Embodiment 1 of the present application.
  • Figure 2 is a flow chart of a controller function updating method provided in Embodiment 2 of the present application.
  • Figure 3 is a flow chart of a controller function update method provided in Embodiment 3 of the present application.
  • Figure 4 is a flow chart of a controller function update method provided in Embodiment 4 of the present application.
  • Figure 5 is a schematic structural diagram of a controller function update system provided in Embodiment 5 of the present application.
  • Figure 6 is a schematic structural diagram of a vehicle provided in Embodiment 6 of the present application.
  • Figure 7 is a schematic structural diagram of a server provided in Embodiment 7 of the application.
  • FIG 1 is a flow chart of a controller function update method provided in Embodiment 1 of the present application.
  • the controller function update method provided in this embodiment can be applied to dynamic updates of controller functions, and this method can be applied to vehicles.
  • the controller function update method can include:
  • At least one target function message sent by the server through the gateway controller in the vehicle where the at least one target function message may refer to at least one target controller of the server based on the preset message generation method and the function to be modified. Generated from the corresponding target function configuration information.
  • the gateway (GW) controller can refer to the vehicle that is set to automatically receive and control A device that broadcasts function messages.
  • a server is a device that can be set up to generate functional messages.
  • the preset packet generation method may refer to a method preset in the server for generating function packets.
  • the function to be modified may refer to the function that needs to be modified in the controller of the vehicle.
  • the target controller can be the controller whose functionality currently needs to be updated.
  • the number of target controllers can be one or more.
  • Target controllers may include gateway controllers and/or onboard controllers.
  • the onboard controller may include controllers in the vehicle other than the gateway controller.
  • the target function configuration information may refer to data information generated according to a preset message generation method and used to update the target controller function.
  • the gateway controller in the vehicle can receive at least one target function message sent by the server through Over-The-Air (OTA).
  • OTA Over-The-Air
  • the correspondence between the target function message and the target controller can be a one-to-many correspondence, that is, one target function message can update the functions of multiple target controllers, so that one target function message can be updated in batches. Multiple controllers with the same function improve function update efficiency.
  • the gateway controller can be connected to each vehicle controller through, but not limited to, the Controller Area Network (CAN) bus.
  • the gateway controller broadcast period can be 100ms.
  • the gateway controller may broadcast the received at least one target function message to at least one vehicle-mounted controller through the CAN bus, so that at least one vehicle-mounted controller in the vehicle receives at least one target function message.
  • the gateway controller in this embodiment can rebroadcast each received target function message a preset number of times to ensure that each vehicle-mounted controller can receive each target function message. Repeated broadcasting may refer to broadcasting at least one target function message in its entirety once and then performing the next broadcast to ensure that at least one target function message is fully broadcast and received by the vehicle-mounted controller.
  • each vehicle-mounted controller parse at least one target function message received based on the preset message parsing method that matches the preset message generation method, and based on the parsed and current vehicle-mounted controller Match the target vehicle function configuration information to update the function of the current vehicle controller.
  • the preset packet parsing method may refer to a preset method for parsing packets that is opposite to the preset packet generation method.
  • the current vehicle-mounted controller may refer to the vehicle-mounted controller currently performing a function update operation.
  • the target vehicle function configuration information may refer to information obtained by parsing the target function message received by the current vehicle controller and matching the current vehicle controller, and may be used to update the function of the current controller.
  • Each vehicle controller can be based on a preset message parsing method that matches the preset message generation method. Formula, parse at least one target function message received. If each vehicle-mounted controller can parse the corresponding target vehicle function configuration information, it indicates that the current vehicle-mounted controller needs to perform a function update operation. At this time, it can be based on the analysis The target vehicle-mounted function configuration information matching the current vehicle-mounted controller is obtained, and the current vehicle-mounted controller is functionally updated. If the current vehicle-mounted controller cannot parse the corresponding target vehicle-mounted function configuration information, it means that the current vehicle-mounted controller does not need to perform function update. At this time, the function update operation does not need to be performed, so that only the vehicle-mounted controller that needs function update can be performed. Update to avoid update errors, thereby ensuring the accuracy of function updates and improving the flexibility of controller function updates.
  • the server generates at least one target function message based on a preset message generation method and target function configuration information corresponding to at least one target controller of the function to be modified, and sends the at least one target function message.
  • the gateway controller in the vehicle receives at least one target function message sent by the server, and broadcasts the received at least one target function message to at least one vehicle-mounted controller, so that at least one vehicle-mounted controller in the vehicle
  • the server receives at least one target function message.
  • Each vehicle-mounted controller can parse at least one target function message received based on the preset message parsing method that matches the preset message generation method.
  • the target vehicle function configuration information indicates that the current vehicle controller needs to be updated.
  • the function of the current vehicle controller can be updated based on the target vehicle function configuration information, so that the functions of multiple controllers can be updated at the same time to realize the controller Dynamic update of functions, and the accuracy of function updates can be ensured through specific message generation methods and message parsing methods, while also improving the flexibility and update efficiency of controller function updates.
  • the gateway controller may also include: based on the preset message parsing method that matches the preset message generation method, The received at least one target function message is parsed, and based on the parsed target gateway function configuration information that matches the gateway controller, a function update is performed on the gateway controller.
  • the gateway controller may parse the received at least one target function message based on a preset message parsing method that matches the preset message generation method, And based on the parsed target gateway function configuration information that matches the gateway controller, the function of the gateway controller is updated, thereby realizing the dynamic update of the function of the gateway controller, so that the vehicle-mounted function can be updated later through the function-updated gateway controller.
  • the controller performs function updates to ensure the accuracy of function updates.
  • the process of the gateway controller parsing the received at least one target function message is the same as the process of each vehicle-mounted controller parsing the received at least one target function message. Please refer to the relevant descriptions of the following embodiments.
  • FIG. 2 is a flow chart of a controller function updating method provided in Embodiment 2 of the present application. Based on the above embodiment, this embodiment explains the step of "parsing at least one received target function message based on a preset message parsing method that matches the preset message generation method.” The explanations of terms that are the same as or corresponding to the above-mentioned embodiments of the present application will not be repeated here.
  • the controller function update method may include the following steps:
  • S210 Receive at least one target function message sent by the server through the gateway controller in the vehicle.
  • Table 1 gives an example of message information stored in a received target function message.
  • the CAN identifier is the broadcast address of the network communication message, that is, the default message broadcast address.
  • the CAN ID can be 0x500.
  • Serial Number is the message sequence number, which is the target message identification information.
  • Mask is the hexadecimal target mask byte value corresponding to the mask byte.
  • C1 to C6 are 6 function bytes in hexadecimal.
  • S220 Broadcast the received at least one target function message through the gateway controller, so that at least one vehicle-mounted controller in the vehicle receives at least one target function message.
  • the target packet identification information may refer to the unique identification information corresponding to the target function packet, so as to distinguish different target function packets.
  • the target message identification information may refer to information generated according to a preset message generation method and used for matching with the vehicle controller.
  • the target packet identification information can be characterized by numbers and/or letters.
  • the target message identification information SN ie, the message sequence number
  • the message parsing method corresponding to each vehicle-mounted controller is the same.
  • This embodiment uses the current vehicle-mounted controller's parsing method of function messages as an example to illustrate.
  • the current vehicle-mounted controller analyzes each target function message received and obtains the target message identification information in each target function message.
  • the preset requirement message identification information corresponding to the current vehicle-mounted controller may refer to the preset identification information corresponding to the function message required for function update of the current vehicle-mounted controller.
  • the number of preset requirement message identification information can be one or more.
  • the current vehicle-mounted controller matches the target message identification information in each target function message with the preset demand message identification information corresponding to the current vehicle-mounted controller. If a target message identification information matches any of the target message identification information corresponding to the current vehicle-mounted controller If the identification information of a preset demand message is successfully matched, it indicates that the target function message is required by the current vehicle controller. At this time, the target function message can be used as the target vehicle function message.
  • the target message identification information SN is 1, and the preset demand message identification information corresponding to the current vehicle controller includes SN 1, SN 3, etc., then the target function message with SN 1 can be used as the target vehicle function. message.
  • the number of determined target vehicle-mounted function messages may be one or more.
  • a target message identification information does not match all the preset requirement message identification information corresponding to the current vehicle-mounted controller, it means that the target function message corresponding to the target message identification information is not a function that the current vehicle-mounted controller needs to update. messages, so that the accuracy of function updates can be ensured through matching and filtering.
  • Mask bytes can be used to store mask byte values.
  • the mask byte can be Mask in Table 1.
  • the target mask byte value can be a hexadecimal value corresponding to the target mask byte.
  • the target mask byte value can be the value represented by Mask in Table 1.
  • the target mask byte value can be set to 0x08 (hexadecimal, the corresponding binary number is 00001000).
  • the target mask byte value can be used to characterize the target function byte in the valid state in the corresponding vehicle function message.
  • the valid state may refer to the enabled state.
  • the invalid state may refer to the disable state.
  • the target function byte can be used to store controller function update information. Each target function byte can correspond to a control function.
  • each function byte can be any one of C1 to C6 in Table 1. If there are more than a preset number of control functions that need to be updated, the target function bytes corresponding to the control functions need to be stored in at least one target vehicle function message. The number of valid target function bytes in the target vehicle function message can be one or multiple.
  • the target function byte in the valid state in the target vehicle function message can be determined , so that only the function bytes in the valid state are analyzed and processed, and there is no need to analyze and process the function bytes in the invalid state, that is, no matter the value of the function byte corresponding to the function byte is any value, as long as the function byte is determined to be in the invalid state , then the target vehicle controller will not perform function updates based on the target vehicle function configuration information corresponding to the function bytes in the invalid state, so that it can only focus on the target function bytes in the valid state, without paying attention to the target function bytes in the invalid state, and then it can avoid This avoids function update errors caused by incorrect function byte setting in an invalid state. It saves controller function update resources while improving the efficiency and accuracy of function updates.
  • the target function byte value can be a hexadecimal value corresponding to the preconfigured target mask byte.
  • the target function byte value can be a value represented by any one of C1 to C6 in Table 1.
  • the target function byte value can be set to 0x01 (hexadecimal, the corresponding binary number is 00000001).
  • the current vehicle-mounted controller can determine multiple vehicle-mounted function information to be configured based on the target function byte value corresponding to the target function byte in each target vehicle-mounted function message, and combine the multiple vehicle-mounted function information to obtain the current The vehicle controller matches the target vehicle function configuration information to ensure the accuracy of function updates.
  • the technical solution of the embodiment of the present application can determine the target function bytes in the valid state in the target vehicle function message based on the target mask byte value corresponding to the mask byte in the target vehicle function message, so that only The function bytes in the valid state are analyzed and processed, and there is no need to analyze and process the function bytes in the invalid state. That is, no matter the value of the function byte corresponding to the function byte is any value, as long as the function byte is determined to be in the invalid state, then The target vehicle-mounted controller will not perform function updates based on the target vehicle-mounted function configuration information corresponding to the function bytes in the invalid state, so that it can only focus on the target function bytes in the valid state without paying attention to the target function bytes in the invalid state. This can avoid In the case of function update errors caused by invalid function byte setting errors, it can improve the efficiency and accuracy of function updates while saving controller function update resources.
  • "based on the target mask byte value corresponding to the mask byte in the target vehicle function message, determine the target function byte in the valid state in the target vehicle function message" in S250 can Including: based on the target mask byte value corresponding to the mask byte in the target vehicle function message, obtaining the target binary value corresponding to each binary bit in the mask byte; based on each binary value in the mask byte The corresponding relationship between the binary value corresponding to the bit and the function byte status and the target binary value corresponding to each binary bit in the mask byte determines the target function byte in the valid state in the target vehicle function message.
  • the correspondence between the binary value and the function byte status may be configured in advance based on business requirements.
  • the corresponding relationship may be that a binary value of 1 corresponds to the valid state of the function byte; a binary value of 0 corresponds to the invalid state of the function byte.
  • Mask bytes can be used to store mask bytes numerical value.
  • the mask byte can be Mask in Table 1.
  • the target mask byte value can be a hexadecimal value corresponding to the target mask byte.
  • the target mask byte value can be the value represented by Mask in Table 1.
  • the target mask byte value can be set to 0x08 (hexadecimal, the corresponding binary number is 00001000).
  • the target mask byte value can be used to characterize the target function byte in the valid state in the corresponding vehicle function message.
  • the first two binary bits in the binary number corresponding to the target mask byte value can be reserved bits, and the remaining 6 binary bits can respectively indicate whether the corresponding function byte is in a valid state.
  • Table 2 gives an example of the correspondence between a binary value and a function byte status.
  • C1 to C6 in Table 2 may refer to 6 function bytes. If the target mask byte value is 0x08 (hexadecimal), you need to first convert the value from hexadecimal to an 8-digit binary number, that is, the converted binary number of 0x08 is 00001000 (bit 7 from left to right) to bit 0).
  • the target controller can obtain the binary value corresponding to each binary bit based on the converted binary number, and can determine the target in the valid state in the target vehicle function message based on the converted binary number and the binary value corresponding to each binary bit.
  • the function byte that is, C2 is valid, and the rest are invalid, so the controller only updates the data in its own C2.
  • the target mask byte value corresponding to the mask byte in the target vehicle function message Based on the target mask byte value corresponding to the mask byte in the target vehicle function message, obtain the target binary value corresponding to each binary bit in the mask byte, and based on each binary bit in the mask byte
  • the corresponding relationship between the corresponding binary value and the function byte status and the target binary value corresponding to each binary bit in the mask byte determines the target function byte in the valid state in the target vehicle function message. For example, you can The function byte corresponding to the target binary value of 1 is determined as the target function byte in a valid state, so that the validity of each function byte can be accurately controlled by using the mask byte value.
  • determining the target vehicle function configuration information matching the current vehicle controller based on the target function byte value corresponding to the target function byte in the target vehicle function message may include: Based on the target function byte value corresponding to the target function byte in the target vehicle function message, obtain the target binary value corresponding to each binary bit in the target function byte; if there are at least two preset requirement message identification information, Based on the corresponding relationship between the target message identification information and the binary value in the target function byte under each preset requirement message identification information and the functional status information, determine the target function byte under the target message identification information.
  • the target correspondence between the binary value and the functional status information based on the target correspondence between the binary value and the functional status information and the target binary value corresponding to each binary bit in the target function byte, determine the corresponding relationship with the current vehicle controller. Matching target vehicle function configuration information.
  • Table 3 gives an example of the target correspondence between the binary value corresponding to the first target function byte C1 and the function status information.
  • Table 4 gives an example of the target correspondence between the binary value corresponding to the second target function byte C2 and the functional status information.
  • the target function byte value corresponding to the target function byte C1 is 0x01 (hexadecimal)
  • the target function byte value corresponding to the target function byte C1 is converted into a binary value of 00000001, and corresponds to bit 1 in Table 3
  • the function status information in -0 is "1.8T”.
  • the target function byte C2 is also 0x01
  • the binary value corresponding to the target function byte C2 is also 00000001, but the corresponding function status information in bit 0 in Table 4 is "AQS on”.
  • the air conditioning controller defines the engine model to configure the calibration parameters of the cooling capacity and to configure the AQS function on and off.
  • the engine model defined by the steering controller in Table 3 is to configure the steering torque corresponding to engines with different displacements.
  • the preset air conditioning controller needs to receive four bytes of information such as SN (value 2), Mask, C1 (bit 1-0), and C2 (bit 0) of the function message in Table 1.
  • the steering controller needs Receive the SN (value is 2), Mask, C1 (bit 1-0) Three bytes of information.
  • the user wants to modify the engine displacement configuration separately and change the engine displacement to the 2.0 configuration, he only needs to set the Mask to 0x04 (hexadecimal, the corresponding bit 7-bit 0 value is 00000100 ), C2 is set to 0x02 (hexadecimal, the corresponding value of bit 7-bit 0 is 00000010, assuming other bits are reserved), so that the engine displacement parameters in the air-conditioning controller and steering controller can be modified at the same time Configuration is to realize the dynamic update of the controller, thereby ensuring the accuracy of the function update, and at the same time, it can also improve the flexibility of the controller function update.
  • SN can be defined from 1 to 255.
  • the target controller only implements target controller function updates based on the specified demand message identification information, the mapping relationship between the specified control function and the mask byte value, and the value corresponding to the actually sent mask byte. This ensures the accuracy of feature updates.
  • the current vehicle controller Based on the target function byte value 00000001 corresponding to the target function byte C2 in the target vehicle function message, the current vehicle controller obtains the target binary value corresponding to each binary bit in the target function byte C2, that is, 00000001 and bit 7 to Bit 0 corresponds to one-to-one, and the corresponding result is that bits 7 to 1 all correspond to 0, and only bit 0 corresponds to 1.
  • the target function configuration information matching the current vehicle controller is determined, so that multiple functions can be configured simultaneously.
  • Each controller performs function updates to realize dynamic updates of controller functions, and ensures the accuracy of function updates through specific message generation methods and message parsing methods, and improves the efficiency of controller function update.
  • FIG 3 is a flow chart of a controller function updating method provided in Embodiment 3 of the present application.
  • the controller function update method provided in this embodiment can be applied to the dynamic update of controller functions, and this method can be applied to servers.
  • the controller function update method may include:
  • the function to be modified may refer to the function that needs to be modified in the controller of the vehicle.
  • the target controller can be the controller whose functionality currently needs to be updated.
  • the number of target controllers can be one or more.
  • Target controllers may include gateway controllers and/or onboard controllers.
  • the target function configuration information may refer to data information generated according to a preset message generation method and used to update the target controller function.
  • the server can obtain the target function configuration information corresponding to at least one target controller of the function to be modified through the operation interface.
  • S320 Generate at least one target function message based on the preset message generation method and target function configuration information.
  • the preset packet generation method may refer to a method preset in the server for generating function packets.
  • the target function message may be message data generated by presetting the message generation method of the target function configuration information.
  • the server may generate at least one target function message based on the preset message generation method by obtaining the target function configuration information corresponding to at least one target controller whose function is to be modified on the operation interface.
  • S330 Send at least one target function message to the vehicle, so that the vehicle receives at least one target function message through the gateway controller, and broadcast the received at least one target function message, so that at least one of the vehicles
  • the on-board controller receives at least one target function message.
  • the gateway controller may refer to a device set on the vehicle to automatically receive and control the sending of function messages.
  • the gateway controller can be connected to each vehicle controller through, but not limited to, CAN bus.
  • the gateway controller broadcast period can be 100ms.
  • the onboard controller may include controllers in the vehicle other than the gateway controller.
  • the server can send at least one target function message to the vehicle through OTA technology, so that the vehicle receives at least one target function message through the gateway controller, and broadcasts the received at least one target function message so that the vehicle At least one on-board controller receives at least one target function message.
  • the gateway controller in this embodiment can rebroadcast the received at least one target function message a preset number of times to ensure that each vehicle-mounted controller can receive at least one target function message. Repeated broadcasting may refer to broadcasting at least one target function message in its entirety once and then performing the next broadcast to ensure that at least one target function message is fully broadcast and received by the vehicle-mounted controller.
  • S340 Through each vehicle-mounted controller, parse at least one target function message received based on the preset message parsing method that matches the preset message generation method, and based on the parsed message of the current vehicle-mounted controller Match the target vehicle function configuration information to update the function of the current vehicle controller.
  • the preset packet parsing method may refer to a preset packet generation method that is opposite to the preset packet generation method. How to parse the message.
  • the target vehicle function configuration information may refer to information obtained by parsing the target function message received by the current vehicle controller and matching the current vehicle controller, and may be used to update the function of the current controller.
  • Each vehicle-mounted controller can parse at least one target function message received based on the preset message parsing method that matches the preset message generation method. If each vehicle-mounted controller can parse the corresponding target
  • the vehicle-mounted function configuration information indicates that the current vehicle-mounted controller needs to perform a function update operation. At this time, the function of the current vehicle-mounted controller can be updated based on the parsed target vehicle-mounted function configuration information that matches the current vehicle-mounted controller. If the current vehicle-mounted controller cannot parse the corresponding target vehicle-mounted function configuration information, it means that the current vehicle-mounted controller does not need to perform function update. At this time, the function update operation does not need to be performed, so that only the vehicle-mounted controller that needs function update can be performed. Update to avoid update errors, thereby ensuring the accuracy of function updates and improving the flexibility of controller function updates.
  • the server generates at least one target function message based on the preset message generation method and the target function configuration information corresponding to at least one target controller of the function to be modified, and sends the at least one target function message.
  • the gateway controller in the vehicle receives at least one target function message sent by the server, and broadcasts the received at least one target function message to at least one vehicle-mounted controller, so that at least one vehicle-mounted controller in the vehicle
  • the server receives at least one target function message.
  • Each vehicle-mounted controller can parse at least one target function message received based on the preset message parsing method that matches the preset message generation method.
  • the target vehicle function configuration information indicates that the current vehicle controller needs to be updated.
  • the function of the current vehicle controller can be updated based on the target vehicle function configuration information, so that the functions of multiple controllers can be updated at the same time to realize the controller Dynamic update of functions, and the accuracy of function updates can be ensured through specific message generation methods and message parsing methods, while also improving the flexibility and update efficiency of controller function updates.
  • FIG. 4 is a flow chart of a controller function updating method provided in Embodiment 4 of the present application. Based on the above technical solution, the embodiment of the present application optimizes the step of "generating at least one target function message based on the preset message generation method and target function configuration information". The explanations of terms that are the same as or corresponding to the above-mentioned embodiments of the present application will not be repeated here.
  • the controller function update method may include:
  • the target controller identification information can be used to match information with the target message identification information.
  • the target function information may include target function identification information to be modified and modified target function status information.
  • the target function status information may be information preset by the user regarding whether the function is in an on or off state.
  • the server can obtain the target controller identification information and corresponding target function information corresponding to each target controller in the target function configuration information.
  • S430 Determine the target message identification information corresponding to each target controller based on the preset correspondence relationship between the controller identification information and the demand message identification information and the target controller identification information.
  • the identification information of the demand message may refer to the identification information corresponding to the function message required for function update of the vehicle controller.
  • the number of demand packet identification information can be one or more.
  • the server can, based on the corresponding relationship between the preset controller identification information and the demand message identification information, send the demand message corresponding to the target controller identification information.
  • the identification information is determined as the identification information of the target message corresponding to the target controller.
  • the function identification information may be information used to uniquely identify a function so as to distinguish different functions.
  • the function byte identification information may be information used to uniquely identify the corresponding byte of a function.
  • the function byte identification information corresponding to the target function identification information is determined to be corresponding to the target controller.
  • the target function byte identification information is determined to be the target function byte identification information corresponding to the target controller.
  • Mask bytes can be used to store mask byte values.
  • the mask byte can be Mask in Table 1.
  • the target mask byte value can be a hexadecimal value corresponding to the target mask byte.
  • the target mask byte value can be the value represented by Mask in Table 1.
  • the target mask byte value can be set to 0x08 (hexadecimal, the corresponding binary number is 00001000).
  • the target mask byte value can be used to characterize the target function byte in the valid state in the corresponding vehicle function message.
  • the target function byte can be used to store controller function update information.
  • Each target function byte can Corresponds to a control function.
  • each function byte can be any one of C1 to C6 in Table 1.
  • the target function byte value can be a hexadecimal value corresponding to the preconfigured target mask byte.
  • the target function byte value can be a value represented by any one of C1 to C6 in Table 1.
  • the target function byte value can be set to 0x01 (hexadecimal, the corresponding binary number is 00000001).
  • the server can generate the target mask byte value corresponding to the mask byte and the target function byte value corresponding to the target function byte based on the target function byte identification information and the target function status information, thereby ensuring accurate matching of the target function message. sex.
  • S460 Generate a target function message corresponding to the target controller based on the target message identification information, the target mask byte value, the target function byte value and the preset message broadcast address.
  • the preset message broadcast address may be a preset broadcast address used to transmit target function messages.
  • the preset message broadcast address may be 0x500.
  • the server can combine the target message identification information, target mask byte value, target function byte value and preset message broadcast address according to the message format to generate a target function message corresponding to the target controller.
  • the above method of generating the target function message corresponding to the target controller may be a preset message generation method. This preset message generation method corresponds to the preset message parsing method in the above embodiment.
  • S470 Send at least one target function message to the vehicle, so that the vehicle receives at least one target function message through the gateway controller, and broadcast the received at least one target function message, so that at least one of the vehicles
  • the on-board controller receives at least one target function message.
  • the multiple target function messages can be deduplicated, and the deduplicated target function messages can be sent to the vehicle to save equipment resources. If the same target function packets exist, the number of target function packets after deduplication is smaller than the number of target controllers, so that a small number of target function packets can be used to update functions of most target controllers.
  • S480 Through each vehicle-mounted controller, parse at least one target function message received based on the preset message parsing method that matches the preset message generation method, and based on the parsed and current vehicle-mounted controller Match the target vehicle function configuration information to update the function of the current vehicle controller.
  • the server can generate the target mask byte value corresponding to the mask byte and the target function byte value corresponding to the target function byte based on the target function byte identification information and the target function status information. This ensures the accuracy of target function packet matching.
  • the server can generate a target function message corresponding to the target controller based on the target message identification information, target mask byte value, target function byte value, and preset message broadcast address. If the same target exists Function-tagged packets can be merged to save broadcast resources.
  • S450 "based on the target function byte identification information and the target function status information, generate the target mask byte value corresponding to the mask byte and the target function byte value corresponding to the target function byte. ” may include: based on the target function byte identification information and the corresponding relationship between the binary value corresponding to each binary bit in the mask byte and the function byte status, determining the corresponding value of each binary bit in the mask byte.
  • Target binary value based on multiple target binary values corresponding to multiple binary bits in the mask byte, generate the target mask byte value corresponding to the mask byte; based on the binary value and functional status information in the target function byte determine the target binary value corresponding to each binary bit in the target function byte; based on the multiple target binary values corresponding to multiple binary bits in the target function byte, generate the target corresponding to the target function byte Function byte value.
  • This preset message generation method corresponds to the preset message parsing method in the above embodiment, and can be implemented through reverse derivation, so the details will not be repeated.
  • FIG. 5 is a schematic structural diagram of a controller function update system provided in Embodiment 5 of the present application.
  • the controller function update system may include: a server 510 and a vehicle 520 .
  • the vehicle 520 is configured to implement the controller function update method applied to the vehicle provided by any embodiment of this application
  • the server 510 is configured to implement the controller function update method applied to the server provided by any embodiment of this application.
  • the server generates at least one target function message based on a preset message generation method and target function configuration information corresponding to at least one target controller of the function to be modified, and sends the at least one target function message.
  • the gateway controller in the vehicle receives at least one target function message sent by the server, and broadcasts the received at least one target function message to at least one vehicle-mounted controller, so that at least one vehicle-mounted controller in the vehicle
  • the server receives at least one target function message.
  • Each vehicle-mounted controller can parse at least one target function message received based on the preset message parsing method that matches the preset message generation method.
  • the target vehicle function configuration information indicates that the current vehicle controller needs to be updated.
  • the function of the current vehicle controller can be updated based on the target vehicle function configuration information, so that the functions of multiple controllers can be updated at the same time to realize the controller Dynamic update of functions, and the accuracy of function updates can be ensured through specific message generation methods and message parsing methods, while also improving the flexibility and update efficiency of controller function updates.
  • FIG. 6 is a schematic structural diagram of a vehicle provided in Embodiment 6 of the present application.
  • the vehicle can include: Gateway controller 610 and multiple vehicle-mounted controllers 620.
  • the gateway controller 610 is configured to receive at least one target function message sent by the server.
  • At least one target function message is generated by the server based on the preset message generation method and the target function configuration information corresponding to at least one target controller of the function to be modified; the at least one target function message received is broadcast, so that at least An onboard controller 620 receives at least one target function message.
  • Each vehicle-mounted controller 620 is configured to: parse at least one target function message received based on a preset message parsing method that matches the preset message generation method, and based on the parsed and current vehicle-mounted controller 620 matches the target vehicle function configuration information, and performs function updates on the current vehicle controller 620.
  • the server generates at least one target function message based on a preset message generation method and target function configuration information corresponding to at least one target controller of the function to be modified, and sends the at least one target function message.
  • the gateway controller 610 in the vehicle receives at least one target function message sent by the server, and broadcasts the received at least one target function message to at least one vehicle-mounted controller 620, so that at least one in the vehicle
  • the on-board controller 620 receives at least one target function message.
  • Each vehicle-mounted controller 620 can parse at least one target function message received based on a preset message parsing method that matches the preset message generation method.
  • Matching target vehicle-mounted function configuration information indicates that the current vehicle-mounted controller 620 needs to be updated.
  • the current vehicle-mounted controller 620 can be functionally updated based on the target vehicle-mounted function configuration information, so that multiple controllers can be functionally updated at the same time. , realize the dynamic update of controller functions, and ensure the accuracy of function updates through specific message generation methods and message parsing methods, while also improving the flexibility and update efficiency of controller function updates.
  • the vehicle-mounted controller 620 may also be configured to: obtain the target message identification information in each target function message received; and compare the identification information of each target message with the preset requirements corresponding to the current vehicle-mounted controller 620 Match the message identification information, and use the target function message corresponding to the successfully matched target message identification information as the target vehicle function message; based on the target mask byte corresponding to the mask byte in the target vehicle function message value to determine the target function byte in the valid state in the target vehicle function message; based on the target function byte value corresponding to the target function byte in the target vehicle function message, determine the target vehicle that matches the current vehicle controller 620 Functional configuration information.
  • the vehicle controller 620 may also be configured to: based on the target mask byte value corresponding to the mask byte in the target vehicle function message, obtain the target binary value corresponding to each binary bit in the mask byte. ;Based on the correspondence between the binary value corresponding to each binary bit in the mask byte and the function byte status and the target binary number corresponding to each binary bit in the mask byte value to determine the target function byte in the valid state in the target vehicle function message.
  • the vehicle controller 620 may also be configured to: obtain the target binary value corresponding to each binary bit in the target function byte based on the target function byte value corresponding to the target function byte in the target vehicle function message; If there are at least two preset requirement message identification information, based on the target message identification information and the corresponding relationship between the binary value in the target function byte and the function status information under each preset requirement message identification information, determine The target correspondence between the binary value in the target function byte and the function status information under the target message identification information; based on the target correspondence between the binary value and the function status information and each binary bit in the target function byte The corresponding target binary value determines the target vehicle function configuration information that matches the current vehicle controller 620 .
  • the gateway controller 610 is configured to: parse at least one target function message received based on a preset message parsing method that matches the preset message generation method, and based on the parsed and gateway control
  • the target gateway function configuration information that matches the controller is used to update the function of the gateway controller.
  • FIG. 7 shows a schematic structural diagram of a server that can be used to implement embodiments of the present application.
  • Server 10 is intended to represent many forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, blade servers, mainframe computers, and other suitable computers.
  • Server 10 may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (eg, helmets, glasses, watches, etc.), and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are examples only and are not intended to limit the implementation of the present application as described and/or claimed herein.
  • the server 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (Read-Only Memory, ROM) 12, a random access memory (Random Access Memory, RAM). ) 13, etc., in which the memory stores a computer program that can be executed by at least one processor.
  • the processor 11 can execute multiple tasks according to the computer program stored in the ROM 12 or the computer program loaded from the storage unit 18 into the RAM 13. appropriate actions and treatments.
  • various programs and data required for the operation of the server 10 can also be stored.
  • the processor 11, the ROM 12 and the RAM 13 are connected to each other via the bus 14.
  • An input/output (I/O) interface 15 is also connected to the bus 14 .
  • the server 10 Multiple components in the server 10 are connected to the I/O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as magnetic disk, optical disk, etc. ; And communication unit 19, such as network card, modem, wireless communication transceiver, etc.
  • the communication unit 19 allows the server 10 to communicate via a computer network such as the Internet and/or or various telecommunications networks to exchange information/data with other devices.
  • Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (Central Processing Unit, CPU), a graphics processing unit (GPU), a variety of dedicated artificial intelligence (Artificial Intelligence, AI) computing chips, a variety of running Machine learning model algorithm processor, digital signal processor (Digital Signal Processor, DSP), and any appropriate processor, controller, microcontroller, etc.
  • the processor 11 executes multiple methods and processes described in the above embodiments, such as the controller function update method.
  • the controller function updating method may be implemented as a computer program, which is tangibly included in a computer-readable storage medium, such as the storage unit 18 .
  • part or all of the computer program may be loaded and/or installed on the server 10 via the ROM 12 and/or the communication unit 19.
  • the processor 11 may be configured to perform the controller function update method in any other suitable manner (eg, by means of firmware).
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSP Application Specific Standard Parts
  • SOC System on Chip
  • CPLD Complex Programming Logic Device
  • These various embodiments may include implementation in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor
  • the processor which may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • An output device may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • An output device may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • Computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that the computer program, when executed by the processor, causes the functions/operations specified in the flowcharts and/or block diagrams to be implemented.
  • a computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a computer-readable storage medium may be a tangible medium that may contain or be stored for use by or in connection with an instruction execution system, apparatus, or device.
  • Computer-readable storage media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
  • the computer-readable storage medium may be a machine-readable signal medium.
  • machine-readable storage media examples include one or more wire-based electrical connections, laptop disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM, or flash memory) ), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the systems and techniques described herein may be implemented on a server having a display device (e.g., a cathode ray tube (CRT)) or a liquid crystal display (e.g., a CRT) configured to display information to a user.
  • a display device e.g., a cathode ray tube (CRT)
  • a liquid crystal display e.g., a CRT
  • LCD Liquid Crystal Display
  • keyboard and pointing device e.g., a mouse or trackball
  • Other kinds of devices may also be configured to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and may be provided in any form, including Acoustic input, voice input or tactile input) to receive input from the user.
  • the systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., A user's computer having a graphical user interface or web browser through which the user can interact with implementations of the systems and technologies described herein), or including such backend components, middleware components, or any combination of front-end components in a computing system.
  • the components of the system may be interconnected by any form or medium of digital data communication (eg, a communications network). Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN), blockchain network, and the Internet.
  • Computing systems may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact over a communications network.
  • the relationship of client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other.
  • the server can be a cloud server, also known as cloud computing server or cloud host. It is a host product in the cloud computing service system to solve the problems existing in traditional physical host and virtual private server (VPS) services. It has the disadvantages of difficult management and weak business scalability. Steps can be reordered, added, or removed using various forms of the process shown above. For example, multiple steps described in this application can be executed in parallel, sequentially, or in different orders. As long as the desired results of the technical solution of this application can be achieved, there is no limitation here.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

一种控制器功能更新方法、系统、车辆和服务器,该方法应用于车辆,包括:通过车辆中的网关控制器,接收服务器发送的至少一个目标功能报文(S110);通过网关控制器,将接收到的至少一个目标功能报文进行广播,以使车辆中的各个车载控制器接收到至少一个目标功能报文(S120);通过每个车载控制器,基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新(S130),从而实现控制器功能的动态更新,并保证功能更新的准确性,同时也可以提高控制器功能更新的灵活性。

Description

控制器功能更新方法、系统、车辆和服务器
本申请要求在2022年06月30日提交中国专利局、申请号为202210771055.7的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本申请涉及车辆技术领域,例如涉及控制器功能更新方法、系统、车辆和服务器。
背景技术
随着汽车技术的不断发展,车辆上的控制器需要实现的功能也越来越复杂,同时车辆上的控制器所需要实现的功能也随着使用者的需求逐渐趋向个性化。
车辆上控制器功能更新需要通过(统一诊断服务Unified Diagnostic Services,UDS)的诊断命令将目标功能配置码一次性全部写入到车辆上对应的电子控制单元(Electronic Control Unit,ECU)中。在实际中整车一个功能的实现往往由多个ECU联合使用才能生效,即需要对多个ECU进行功能更新。但解决上述问题的方式只能先将一个ECU的功能更新完毕后,再对用于实现整车同一功能的其余ECU功能进行更新,不仅费时费力还容易在功能更新时出现错误。一旦一个功能更新出现错误,将直接造成车辆功能异常,从而无法有效保证控制器功能更新的准确性。
发明内容
本申请提供了控制器功能更新方法、系统、车辆和服务器,以实现控制器功能的动态更新,并保证功能更新的准确性,同时也可以提高控制器功能更新的灵活性。
第一方面,本申请提供了一种控制器功能更新方法,应用于车辆,所述方法包括:
通过所述车辆中的网关控制器,接收服务器发送的至少一个目标功能报文,其中,所述至少一个目标功能报文是所述服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成的;
通过所述网关控制器,将接收到的所述至少一个目标功能报文进行广播,以使车辆中的至少一个车载控制器接收到所述至少一个目标功能报文;
通过每个车载控制器,基于与所述预设报文生成方式相匹配的预设报文解 析方式,对接收到的所述至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
第二方面,本申请还提供了一种控制器功能更新方法,应用于服务器,所述方法包括:
获取待修改功能的至少一个目标控制器对应的目标功能配置信息;
基于预设报文生成方式和所述目标功能配置信息,生成至少一个目标功能报文;
将所述至少一个目标功能报文发送至车辆,以使所述车辆通过网关控制器接收到所述至少一个目标功能报文,并将接收到的所述至少一个目标功能报文进行广播,以使车辆中的至少一个车载控制器接收到所述至少一个目标功能报文;通过每个车载控制器,基于与所述预设报文生成方式相匹配的预设报文解析方式,对接收到的所述至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
第三方面,本申请提供了一种控制器功能更新系统,所述系统包括:服务器和车辆;
其中,所述车辆设置为实现上述的应用于车辆的控制器功能更新方法;
所述服务器设置为实现上述的应用于服务器的控制器功能更新方法。
第四方面,本申请提供了一种车辆,所述车辆包括:网关控制器和多个车载控制器;
其中,所述网关控制器设置为:接收服务器发送的至少一个目标功能报文,其中,所述至少一个目标功能报文是所述服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成的;将接收到的所述至少一个目标功能报文进行广播,以使至少一个车载控制器接收到所述至少一个目标功能报文;
每个车载控制器设置为:基于与所述预设报文生成方式相匹配的预设报文解析方式,对接收到的所述至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
第五方面,本申请提供了一种服务器,所述服务器包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;
其中,所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的应用于服务器的控制器功能更新方法。
附图说明
图1是本申请实施例一提供的一种控制器功能更新方法的流程图;
图2是本申请实施例二提供的一种控制器功能更新方法的流程图;
图3是本申请实施例三提供的一种控制器功能更新方法的流程图;
图4是本申请实施例四提供的一种控制器功能更新方法的流程图;
图5是本申请实施例五提供的一种控制器功能更新系统的结构示意图;
图6是本申请实施例六提供的一种车辆的结构示意图;
图7是申请实施例七提供的一种服务器的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,所描述的实施例仅仅是本申请一部分的实施例。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
实施例一
图1是本申请实施例一提供的一种控制器功能更新方法的流程图。本实施例提供的控制器功能更新方法可适用于对控制器功能的动态更新的情况,该方法可以应用于车辆中。如图1所示,控制器功能更新方法可以包括:
S110、通过车辆中的网关控制器,接收服务器发送的至少一个目标功能报文,其中,至少一个目标功能报文可以是指服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成的。
网关(Gateway,GW)控制器可以是指在车辆上设置为自动接收和控制 广播功能报文的设备。服务器是指可以设置为生成功能报文的设备。预设报文生成方式可以是指在服务器中预先设定的用于生成功能报文的方式。待修改功能可以是指车辆的控制器中需要进行修改的功能。目标控制器可以是当前需要更新功能的控制器。目标控制器的数量可以为一个或多个。目标控制器可以包括网关控制器和/或车载控制器。车载控制器可以包括车辆中除网关控制器之外的控制器。目标功能配置信息可以是指根据预设报文生成方式生成的用于更新目标控制器功能的数据信息。
车辆中的网关控制器可以接收服务器通过空中刷写(Over-The-Air,OTA)方式发送的至少一个目标功能报文。其中,目标功能报文与目标控制器之间的对应关系可以是一对多的对应关系,即一个目标功能报文可以更新多个目标控制器的功能,以便利用一个目标功能报文可以批量更新具有同一功能的多个控制器,提高功能更新效率。
S120、通过网关控制器,将接收到的至少一个目标功能报文进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。
网关控制器可以通过但不限于控制器局域网络(Controller Area Network,CAN)总线与每个车载控制器相连。网关控制器广播周期可以是100ms。
网关控制器可以将接收到的至少一个目标功能报文,通过CAN总线向至少一个车载控制器进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。本实施例中的网关控制器可以对接收到的每个目标功能报文进行重复广播预设次数,以便保证每个车载控制器可以接收到每个目标功能报文。重复广播可以是指将至少一个目标功能报文全部广播一次之后,再进行下次的广播,以保证将至少一个目标功能报文全部广播,并全部被车载控制器接收。
S130、通过每个车载控制器,基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
预设报文解析方式可以是指预先设定的与预设报文生成方式相反的用于解析报文的方式。当前车载控制器可以是指当前执行功能更新操作的车载控制器。目标车载功能配置信息可以是指通过当前车载控制器对接收到的目标功能报文进行解析并与当前车载控制器相匹配的信息,可以用于对当前控制器进行功能更新。
每个车载控制器可以基于与预设报文生成方式相匹配的预设报文解析方 式,对接收到的至少一个目标功能报文进行解析,若每个车载控制器可以解析出相对应的目标车载功能配置信息,则表明当前车载控制器需要执行功能更新操作,此时可以基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。若当前车载控制器无法解析出相对应的目标车载功能配置信息,则表明当前车载控制器不需要进行功能更新,此时可以不执行功能更新操作,从而可以仅对需要功能更新的车载控制器进行更新,避免产生更新错误的情况,从而可以保证功能更新的准确性,同时也可以提高控制器功能更新的灵活性。
本申请实施例的技术方案,通过服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成至少一个目标功能报文,并将至少一个目标功能报文发送至车辆,车辆中的网关控制器接收到服务器发送的至少一个目标功能报文,并将接收到的至少一个目标功能报文向至少一个车载控制器进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。每个车载控制器可以基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,若存在解析出的与当前车载控制器相匹配的目标车载功能配置信息,则表明需要对当前车载控制器进行更新,此时可以基于目标车载功能配置信息对当前车载控制器进行功能更新,从而可以同时对多个控制器进行功能更新,实现控制器功能的动态更新,并且通过特定的报文生成方式和报文解析方式可以保证功能更新的准确性,同时也提高了控制器功能更新的灵活性和更新效率。
在上述技术方案的基础上,在S120中的“将接收到的至少一个目标功能报文进行广播”之前,还可以包括:基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,并基于解析出的与网关控制器相匹配的目标网关功能配置信息,对网关控制器进行功能更新。
在将接收到的至少一个目标功能报文进行广播之前,网关控制器可以基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,并基于解析出的与网关控制器相匹配的目标网关功能配置信息,对网关控制器进行功能更新,从而实现了网关控制器功能的动态更新,以便后续通过功能更新后的网关控制器,对车载控制器进行功能更新,保证了功能更新的准确性。
网关控制器对接收到的至少一个目标功能报文进行解析的过程和每个车载控制器对接收到的至少一个目标功能报文进行解析的过程相同,可以参照下面实施例的相关描述。
实施例二
图2是本申请实施例二提供的一种控制器功能更新方法的流程图。本实施例在上述实施例的基础上,对步骤“基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析”进行了说明。其中与上述本申请实施例相同或相应的术语的解释在此不再赘述。如图2所示,控制器功能更新方法可以包括如下步骤:
S210、通过车辆中的网关控制器,接收服务器发送的至少一个目标功能报文。
例如,表1给出了一种接收到的目标功能报文中所存储的报文信息的示例。
表1 目标功能报文中所存储的报文信息
其中,CAN标识(Identifier,ID)是网络通信报文的广播地址,即预设报文广播地址,例如CAN ID可以是0x500。序列号(Serial Number,SN)为报文顺序号,也就是目标报文标识信息。Mask是掩码字节对应的十六进制的目标掩码字节数值。C1至C6是十六进制的6个功能字节。
S220、通过网关控制器,将接收到的至少一个目标功能报文进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。
S230、通过每个车载控制器,获取接收到的每个目标功能报文中的目标报文标识信息。
目标报文标识信息可以指目标功能报文对应的唯一标识信息,以便区分出不同的目标功能报文。目标报文标识信息可以是指根据预设报文生成方式生成的用于与车载控制器进行匹配的信息。目标报文标识信息可以利用数字和/或字母等方式进行表征。例如,目标报文标识信息SN(即报文顺序号)可以为1。
每个车载控制器对应的报文解析方式相同,本实施例以当前车载控制器对功能报文的解析方式为例进行说明。当前车载控制器对接收到的每个目标功能报文进行解析,获得每个目标功能报文中的目标报文标识信息。
S240、将每个目标报文标识信息与当前车载控制器对应的预设需求报文标识信息进行匹配,并将匹配成功的目标报文标识信息所对应的目标功能报文作为目标车载功能报文。
当前车载控制器对应的预设需求报文标识信息可以是指预先设定的当前车载控制器功能更新所需要的功能报文对应的标识信息。预设需求报文标识信息的数量可以为一个或多个。
当前车载控制器将每个目标功能报文中的目标报文标识信息与当前车载控制器对应的预设需求报文标识信息进行匹配,若一个目标报文标识信息与当前车载控制器对应的任意一个预设需求报文标识信息匹配成功,则表明该目标功能报文是当前车载控制器所需要的,此时可以将该目标功能报文作为目标车载功能报文。例如目标报文标识信息SN为1,且当前车载控制器对应的预设需求报文标识信息包括SN为1,SN为3等信息,则可以将SN为1的目标功能报文作为目标车载功能报文。其中,确定出的目标车载功能报文的数量可以为一个或多个。若一个目标报文标识信息与当前车载控制器对应的所有预设需求报文标识信息不匹配,则表明该目标报文标识信息所对应的目标功能报文不是当前车载控制器所需要更新的功能报文,从而通过匹配筛选可以保证功能更新的准确性。
S250、基于目标车载功能报文中的掩码字节对应的目标掩码字节数值,确定目标车载功能报文中处于有效状态的目标功能字节。
掩码字节可以用于存储掩码字节数值。例如掩码字节可以是表1中的Mask。目标掩码字节数值可以是目标掩码字节对应的一个十六进制的数值。例如目标掩码字节数值可以是表1中Mask所代表的数值。目标掩码字节数值可以设置为0x08(十六进制,对应的二进制数为00001000)。目标掩码字节数值可以用于表征所对应的车载功能报文中处于有效状态的目标功能字节。有效状态可以是指使能状态。反之无效状态可以是指不使能状态。目标功能字节可以用于存储控制器功能更新的信息。每个目标功能字节可以对应一个控制功能。例如每个功能字节可以是表1中C1至C6中的任意一个。若存在超过预设数量的控制功能需要更新,则控制功能对应的目标功能字节需要存储在至少一条目标车载功能报文中。目标车载功能报文中处于有效状态的目标功能字节的数量可以为一个,也可以为多个。
针对每个目标车载功能报文而言,基于该目标车载功能报文中的掩码字节对应的目标掩码字节数值,可以确定该目标车载功能报文中处于有效状态的目标功能字节,以便仅对有效状态的功能字节进行分析处理,无需对无效状态的功能字节进行分析处理,即无论功能字节对应的功能字节数值是任意值,只要功能字节被确定为无效状态,那么目标车载控制器不会基于无效状态的功能字节对应的目标车载功能配置信息进行功能更新,从而可以只关注有效状态的目标功能字节,无需关注无效状态的目标功能字节,进而可以避 免因无效状态的功能字节设置错误所导致的功能更新错误的情况,在节约控制器功能更新资源的同时,提高功能更新的效率和准确性。
S260、基于目标车载功能报文中的目标功能字节对应的目标功能字节数值,确定与当前车载控制器相匹配的目标车载功能配置信息。
目标功能字节数值可以是预先配置的目标掩码字节对应的一个十六进制的数值。例如目标功能字节数值可以是表1中C1至C6中任意一个所代表的数值。目标功能字节数值可以设置为0x01(十六进制,对应的二进制数为00000001)。
当前车载控制器基于每个目标车载功能报文中的目标功能字节对应的目标功能字节数值可以确定出待配置的多个车载功能信息,并对多个车载功能信息进行组合,获得与当前车载控制器相匹配的目标车载功能配置信息,从而保证功能更新的准确性。
S270、基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
本申请实施例的技术方案,基于该目标车载功能报文中的掩码字节对应的目标掩码字节数值,可以确定该目标车载功能报文中处于有效状态的目标功能字节,以便仅对有效状态的功能字节进行分析处理,无需对无效状态的功能字节进行分析处理,即无论功能字节对应的功能字节数值是任意值,只要功能字节为被确定为无效状态,那么目标车载控制器不会基于无效状态的功能字节对应的目标车载功能配置信息进行功能更新,从而可以只关注有效状态的目标功能字节,无需关注无效状态的目标功能字节,进而可以避免因无效状态的功能字节设置错误所导致的功能更新错误的情况,在节约控制器功能更新资源的同时,提高功能更新的效率和准确性。
在上述技术方案的基础上,S250中的“基于目标车载功能报文中的掩码字节对应的目标掩码字节数值,确定目标车载功能报文中处于有效状态的目标功能字节”可以包括:基于目标车载功能报文中的掩码字节对应的目标掩码字节数值,获取掩码字节中的每个二进制位对应的目标二进制数值;基于掩码字节中的每个二进制位对应的二进制数值与功能字节状态之间的对应关系以及掩码字节中的每个二进制位对应的目标二进制数值,确定目标车载功能报文中处于有效状态的目标功能字节。
二进制数值与功能字节状态之间的对应关系可以是预先基于业务需求进行配置获得的。该对应关系可以是二进制数值为1对应功能字节的有效状态;二进制数值为0对应功能字节的无效状态。掩码字节可以用于存储掩码字节 数值。例如掩码字节可以是表1中的Mask。目标掩码字节数值可以是目标掩码字节对应的一个十六进制的数值。例如目标掩码字节数值可以是表1中Mask所代表的数值。目标掩码字节数值可以设置为0x08(十六进制,对应的二进制数为00001000)。目标掩码字节数值可以用于表征所对应的车载功能报文中处于有效状态的目标功能字节。例如,目标掩码字节数值对应的二进制数中的前两个二进制位可以为预留位,其余的6个二进制位可以分别表示相应的功能字节是否为有效状态。例如,表2给出了一种二进制数值与功能字节状态之间的对应关系的示例。表2中的C1至C6可以是指6个功能字节。若目标掩码字节数值为0x08(十六进制),则需要先将数值从十六进制转化为8位二进制数,即0x08转化后的二进制数为00001000(从左至右为位7至位0)。目标控制器可以基于转化后得到的二进制数获得每个二进制位对应的二进制数值,并可以基于转化后的二进制数与每个二进制位对应的二进制数值确定目标车载功能报文中处于有效状态的目标功能字节,即C2为有效,其余均无效,故该控制器只对自身C2中数据进行更新。
表2 二进制数值与功能字节状态之间的对应关系

基于目标车载功能报文中的掩码字节对应的目标掩码字节数值,获取掩码字节中的每个二进制位对应的目标二进制数值,并基于掩码字节中的每个二进制位对应的二进制数值与功能字节状态之间的对应关系以及掩码字节中的每个二进制位对应的目标二进制数值,确定目标车载功能报文中处于有效状态的目标功能字节,例如,可以将目标二进制数值为1所对应的功能字节确定为处于有效状态的目标功能字节,从而利用掩码字节数值可以准确控制每个功能字节的有效性。
在上述技术方案的基础上,S260中的“基于目标车载功能报文中的目标功能字节对应的目标功能字节数值,确定与当前车载控制器相匹配的目标车载功能配置信息”可以包括:基于目标车载功能报文中的目标功能字节对应的目标功能字节数值,获取目标功能字节中的每个二进制位对应的目标二进制数值;若存在至少两个预设需求报文标识信息,基于目标报文标识信息和每个预设需求报文标识信息下的目标功能字节中的二进制数值与功能状态信息之间的对应关系,确定目标报文标识信息下的目标功能字节中的二进制数值与功能状态信息之间的目标对应关系;基于二进制数值与功能状态信息之间的目标对应关系以及目标功能字节中的每个二进制位对应的目标二进制数值,确定与当前车载控制器相匹配的目标车载功能配置信息。
例如,表3给出了第一个目标功能字节C1对应的二进制数值与功能状态信息之间的目标对应关系的示例。表4给出了第二个目标功能字节C2对应的二进制数值与功能状态信息之间的目标对应关系的示例。
表3 C1对应的二进制数值与功能状态信息之间的目标对应关系

表4 C2对应的二进制数值与功能状态信息之间的目标对应关系
若目标功能字节C1对应的目标功能字节数值为0x01(十六进制),则目标功能字节C1所对应的目标功能字节数值转化为二进制数值为00000001,并对应表3中位1-0中的功能状态信息为“1.8T”。若目标功能字节C2也为0x01,则目标功能字节C2所对应的二进制数值也为00000001,但对应表4中位0中的功能状态信息为“AQS开”。
例如,表4中空调控制器定义发动机型号是为了配置制冷能力的标定参数,同时配置AQS功能开闭。表3中转向控制器定义发动机型号是为了配置不同排量发动机对应的转向力矩。预先设定的空调控制器需要接收如表1中功能报文的SN(值为2)、Mask、C1(位1-0)、C2(位0)四个字节的信息,转向控制器需要接收如表1中功能报文的SN(值为2)、Mask、C1(位 1-0)三个字节的信息。若用户后续购买了AQS功能,那只需发送0x500的功能报文,其中,SN设置为2,Mask设置为0x08(十六进制,对应的位7-位0的值为00001000),C2设置为0x01(十六进制,对应的位7-位0的值为00000001,假设其他位是预留的),从而不论C1、C3-C6字节无论设置何值,即使C1中发动机排量不小心设置错误了,也不会影响单独修改AQS功能的开启。同样的,若用户要单独修改发动机排量的配置,并将发动机排量改到2.0的配置,则只需将Mask设置为0x04(十六进制,对应的位7-位0的值为00000100),C2设置为0x02(十六进制,对应的位7-位0的值为00000010,假设其他位是预留的),从而可以同时修改空调控制器和转向控制器中关于发动机排量的配置,即实现控制器的动态更新,进而保证功能更新的准确性,同时也可以提高控制器功能更新的灵活性。
由于车辆控制器配置功能非常多,SN可以从1定义到255。通过上述方案,目标控制器只基于指定的需求报文标识信息、指定的控制功能与掩码字节数值的映射关系以及实际发送的掩码字节对应的数值来是实现目标控制器功能更新,从而保证功能更新的准确性。
当前车载控制器基于目标车载功能报文中的目标功能字节C2对应的目标功能字节数值00000001,获取目标功能字节C2中的每个二进制位对应的目标二进制数值,即将00000001与位7至位0一一对应,对应结果为位7至位1都对应0,只有位0对应1。若存在至少两个预设需求报文标识信息,则表明当前控制器中可以存在至少两个与目标功能报文标识信息进行匹配的预设需求报文标识信息,并基于目标报文标识信息和每个预设需求报文标识信息下的目标功能字节中的二进制数值与功能状态信息之间的对应关系,确定目标报文标识信息下的目标功能字节中的二进制数值与功能状态信息之间的目标对应关系,比如表3和表4。基于二进制数值与功能状态信息之间的目标对应关系以及目标功能字节中的每个二进制位对应的目标二进制数值,确定与当前车载控制器相匹配的目标车载功能配置信息,从而可以同时对多个控制器进行功能更新,实现控制器功能的动态更新,并且通过特定的报文生成方式和报文解析方式保证功能更新的准确性,并提高了控制器功能更新效率。
实施例三
图3是本申请实施例三提供的一种控制器功能更新方法的流程图。本实施例提供的控制器功能更新方法可适用于控制器功能的动态更新的情况,该方法可以应用于服务器中。如图3所示,控制器功能更新方法可以包括:
S310、获取待修改功能的至少一个目标控制器对应的目标功能配置信息。
待修改功能可以是指车辆的控制器中需要进行修改的功能。目标控制器可以是当前需要更新功能的控制器。目标控制器的数量可以为一个或多个。目标控制器可以包括网关控制器和/或车载控制器。目标功能配置信息可以是指根据预设报文生成方式生成的用于更新目标控制器功能的数据信息。
服务器可以通过操作界面获取待修改功能的至少一个目标控制器对应的目标功能配置信息。
S320、基于预设报文生成方式和目标功能配置信息,生成至少一个目标功能报文。
预设报文生成方式可以是指在服务器中预先设定的用于生成功能报文的方式。目标功能报文可以是将目标功能配置信息预设报文生成方式进行生成的报文数据。
服务器可以基于预设报文生成方式将在操作界面获取待修改功能的至少一个目标控制器对应的目标功能配置信息生成至少一个目标功能报文。
S330、将至少一个目标功能报文发送至车辆,以使车辆通过网关控制器接收到至少一个目标功能报文,并将接收到的至少一个目标功能报文进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。
网关控制器可以是指在车辆上设置为自动接收和控制发送功能报文的设备。网关控制器可以通过但不限于CAN总线与每个车载控制器相连。网关控制器广播周期可以是100ms。车载控制器可以包括车辆中除网关控制器之外的控制器。
服务器可以通过OTA技术将至少一个目标功能报文发送至车辆,以使车辆通过网关控制器接收到至少一个目标功能报文,并将接收到的至少一个目标功能报文进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。本实施例中的网关控制器可以对接收到的至少一个目标功能报文进行重复广播预设次数,以便保证每个车载控制器可以接收到至少一个目标功能报文。重复广播可以是指将至少一个目标功能报文全部广播一次之后,再进行下次的广播,以保证将至少一个目标功能报文全部广播,并全部被车载控制器接收。
S340、通过每个车载控制器,基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
预设报文解析方式可以是指预先设定的与预设报文生成方式相反的用于 解析报文的方式。目标车载功能配置信息可以是指通过当前车载控制器对接收到的目标功能报文进行解析并与当前车载控制器相匹配的信息,可以用于对当前控制器进行功能更新。
每个车载控制器可以基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,若每个车载控制器可以解析出相对应的目标车载功能配置信息,则表明当前车载控制器需要执行功能更新操作,此时可以基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。若当前车载控制器无法解析出相对应的目标车载功能配置信息,则表明当前车载控制器不需要进行功能更新,此时可以不执行功能更新操作,从而可以仅对需要功能更新的车载控制器进行更新,避免产生更新错误的情况,从而可以保证功能更新的准确性,同时也可以提高控制器功能更新的灵活性。
本申请实施例的技术方案,通过服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成至少一个目标功能报文,并将至少一个目标功能报文发送至车辆,车辆中的网关控制器接收到服务器发送的至少一个目标功能报文,并将接收到的至少一个目标功能报文向至少一个车载控制器进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。每个车载控制器可以基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,若存在解析出的与当前车载控制器相匹配的目标车载功能配置信息,则表明需要对当前车载控制器进行更新,此时可以基于目标车载功能配置信息对当前车载控制器进行功能更新,从而可以同时对多个控制器进行功能更新,实现控制器功能的动态更新,并且通过特定的报文生成方式和报文解析方式可以保证功能更新的准确性,同时也提高了控制器功能更新的灵活性和更新效率。
实施例四
图4是本申请实施例四提供的一种控制器功能更新方法的流程图。本申请实施例在上述技术方案的基础上,对步骤“基于预设报文生成方式和目标功能配置信息,生成至少一个目标功能报文”进行了优化。其中与上述本申请实施例相同或相应的术语的解释在此不再赘述。如图4所示,控制器功能更新方法可以包括:
S410、获取待修改功能的至少一个目标控制器对应的目标功能配置信息。
S420、获取目标功能配置信息中的每个目标控制器对应的目标控制器标识信息和相应的目标功能信息。
目标控制器标识信息可以用于与目标报文标识信息进行匹配的信息。目标功能信息可以包括待修改的目标功能标识信息和修改后的目标功能状态信息。目标功能状态信息可以是用户预先设置的关于该功能是处于开启状态还是关闭状态的信息。
服务器可以获取目标功能配置信息中的每个目标控制器对应的目标控制器标识信息和相应的目标功能信息。
S430、基于预先设置的控制器标识信息与需求报文标识信息之间的对应关系和目标控制器标识信息,确定每个目标控制器对应的目标报文标识信息。
需求报文标识信息可以是指车载控制器功能更新所需要的功能报文对应的标识信息。需求报文标识信息的数量可以为一个或多个。
服务器可以针对每个目标控制器对应的目标控制器标识信息而言,基于预先设置的控制器标识信息与需求报文标识信息之间的对应关系,将该目标控制器标识信息对应的需求报文标识信息确定为该目标控制器对应的目标报文标识信息。
S440、基于每个目标控制器对应的功能标识信息与功能字节标识信息之间的对应关系和目标功能标识信息,确定每个目标控制器对应的目标功能字节标识信息。
功能标识信息可以是用于唯一标识一种功能的信息,以便区分不同的功能。功能字节标识信息可以是用于唯一标识一种功能对应字节的信息。
针对每个目标控制器而言,基于该目标控制器对应的功能标识信息与功能字节标识信息之间的对应关系,将目标功能标识信息对应的功能字节标识信息确定为该目标控制器对应的目标功能字节标识信息。基于该目标控制器对应的功能标识信息与功能字节标识信息之间的对应关系,将目标功能标识信息对应的功能字节标识信息确定为该目标控制器对应的目标功能字节标识信息。
S450、基于目标功能字节标识信息和目标功能状态信息,生成掩码字节对应的目标掩码字节数值和目标功能字节对应的目标功能字节数值。
掩码字节可以用于存储掩码字节数值。例如掩码字节可以是表1中的Mask。目标掩码字节数值可以是目标掩码字节对应的一个十六进制的数值。例如目标掩码字节数值可以是表1中Mask所代表的数值。目标掩码字节数值可以设置为0x08(十六进制,对应的二进制数为00001000)。目标掩码字节数值可以用于表征所对应的车载功能报文中处于有效状态的目标功能字节。目标功能字节可以用于存储控制器功能更新的信息。每个目标功能字节可以 对应一个控制功能。例如每个功能字节可以是表1中C1至C6中的任意一个。目标功能字节数值可以是预先配置的目标掩码字节对应的一个十六进制的数值。例如目标功能字节数值可以是表1中C1至C6中任意一个所代表的数值。目标功能字节数值可以设置为0x01(十六进制,对应的二进制数为00000001)。
服务器可以基于目标功能字节标识信息和目标功能状态信息,生成掩码字节对应的目标掩码字节数值和目标功能字节对应的目标功能字节数值,从而确保目标功能报文匹配的准确性。
S460、基于目标报文标识信息、目标掩码字节数值、目标功能字节数值和预设报文广播地址,生成目标控制器对应的目标功能报文。
预设报文广播地址可以是预先设定好的用于传输目标功能报文的广播地址,例如预设报文广播地址可以是0x500。
服务器可以按照报文格式,对目标报文标识信息、目标掩码字节数值、目标功能字节数值和预设报文广播地址进行组合,生成目标控制器对应的目标功能报文。上述生成目标控制器对应的目标功能报文的方式可以是预设报文生成方式。该预设报文生成方式与上述实施例中的预设报文解析方式是相对应的。
S470、将至少一个目标功能报文发送至车辆,以使车辆通过网关控制器接收到至少一个目标功能报文,并将接收到的至少一个目标功能报文进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。
在确定出至少一个目标控制器对应的多个目标功能报文后,可以对多个目标功能报文进行去重处理,并将去重后的目标功能报文发送至车辆,以便节省设备资源。若存在相同的目标功能报文,则去重后的目标功能报文的数量小于目标控制器的数量,从而可以利用少数的目标功能报文对多数的目标控制器进行功能更新。
S480、通过每个车载控制器,基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
本申请实施例的技术方案,通过服务器可以基于目标功能字节标识信息和目标功能状态信息,生成掩码字节对应的目标掩码字节数值和目标功能字节对应的目标功能字节数值,从而确保目标功能报文匹配的准确性。同时服务器可以基于目标报文标识信息、目标掩码字节数值、目标功能字节数值和预设报文广播地址,生成目标控制器对应的目标功能报文。若存在相同的目 标功能报文,可以进行合并,从而节约广播资源。
在上述技术方案的基础上,S450中的“基于目标功能字节标识信息和目标功能状态信息,生成掩码字节对应的目标掩码字节数值和目标功能字节对应的目标功能字节数值”可以包括:基于目标功能字节标识信息和掩码字节中的每个二进制位对应的二进制数值与功能字节状态之间的对应关系,确定掩码字节中的每个二进制位对应的目标二进制数值;基于掩码字节中的多个二进制位对应的多个目标二进制数值,生成掩码字节对应的目标掩码字节数值;基于目标功能字节中的二进制数值与功能状态信息之间的对应关系,确定目标功能字节中的每个二进制位对应的目标二进制数值;基于目标功能字节中的多个二进制位对应的多个目标二进制数值,生成目标功能字节对应的目标功能字节数值。
本预设报文生成方式与上述实施例中的预设报文解析方式是相对应的,可通过反向推导实现,故不进行重复赘述。
实施例五
图5是本申请实施例五提供的一种控制器功能更新系统的结构示意图。控制器功能更新系统可以包括:服务器510和车辆520。
其中,车辆520设置为实现本申请任意实施例所提供的应用于车辆的控制器功能更新方法,服务器510设置为实现本申请任意实施例所提供的应用于服务器的控制器功能更新方法。
本申请实施例的技术方案,通过服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成至少一个目标功能报文,并将至少一个目标功能报文发送至车辆,车辆中的网关控制器接收到服务器发送的至少一个目标功能报文,并将接收到的至少一个目标功能报文向至少一个车载控制器进行广播,以使车辆中的至少一个车载控制器接收到至少一个目标功能报文。每个车载控制器可以基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,若存在解析出的与当前车载控制器相匹配的目标车载功能配置信息,则表明需要对当前车载控制器进行更新,此时可以基于目标车载功能配置信息对当前车载控制器进行功能更新,从而可以同时对多个控制器进行功能更新,实现控制器功能的动态更新,并且通过特定的报文生成方式和报文解析方式可以保证功能更新的准确性,同时也提高了控制器功能更新的灵活性和更新效率。
实施例六
图6是本申请实施例六提供的一种车辆的结构示意图。该车辆可以包括: 网关控制器610和多个车载控制器620。
网关控制器610设置为:接收服务器发送的至少一个目标功能报文。
至少一个目标功能报文是服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成的;将接收到的至少一个目标功能报文进行广播,以使至少一个车载控制器620接收到至少一个目标功能报文。
每个车载控制器620设置为:基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器620相匹配的目标车载功能配置信息,对当前车载控制器620进行功能更新。
本申请实施例的技术方案,通过服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成至少一个目标功能报文,并将至少一个目标功能报文发送至车辆,车辆中的网关控制器610接收到服务器发送的至少一个目标功能报文,并将接收到的至少一个目标功能报文向至少一个车载控制器620进行广播,以使车辆中的至少一个车载控制器620接收到至少一个目标功能报文。每个车载控制器620可以基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,若存在解析出的与当前车载控制器620相匹配的目标车载功能配置信息,则表明需要对当前车载控制器620进行更新,此时可以基于目标车载功能配置信息对当前车载控制器620进行功能更新,从而可以同时对多个控制器进行功能更新,实现控制器功能的动态更新,并且通过特定的报文生成方式和报文解析方式可以保证功能更新的准确性,同时也提高了控制器功能更新的灵活性和更新效率。
可选地,车载控制器620还可以设置为:获取接收到的每个目标功能报文中的目标报文标识信息;将每个目标报文标识信息与当前车载控制器620对应的预设需求报文标识信息进行匹配,并将匹配成功的目标报文标识信息所对应的目标功能报文作为目标车载功能报文;基于目标车载功能报文中的掩码字节对应的目标掩码字节数值,确定目标车载功能报文中处于有效状态的目标功能字节;基于目标车载功能报文中的目标功能字节对应的目标功能字节数值,确定与当前车载控制器620相匹配的目标车载功能配置信息。
可选地,车载控制器620还可以设置为:基于目标车载功能报文中的掩码字节对应的目标掩码字节数值,获取掩码字节中的每个二进制位对应的目标二进制数值;基于掩码字节中的每个二进制位对应的二进制数值与功能字节状态之间的对应关系以及掩码字节中的每个二进制位对应的目标二进制数 值,确定目标车载功能报文中处于有效状态的目标功能字节。
可选地,车载控制器620还可以设置为:基于目标车载功能报文中的目标功能字节对应的目标功能字节数值,获取目标功能字节中的每个二进制位对应的目标二进制数值;若存在至少两个预设需求报文标识信息,基于目标报文标识信息和每个预设需求报文标识信息下的目标功能字节中的二进制数值与功能状态信息之间的对应关系,确定目标报文标识信息下的目标功能字节中的二进制数值与功能状态信息之间的目标对应关系;基于二进制数值与功能状态信息之间的目标对应关系以及目标功能字节中的每个二进制位对应的目标二进制数值,确定与当前车载控制器620相匹配的目标车载功能配置信息。
可选地,网关控制器610设置为:基于与预设报文生成方式相匹配的预设报文解析方式,对接收到的至少一个目标功能报文进行解析,并基于解析出的与网关控制器相匹配的目标网关功能配置信息,对网关控制器进行功能更新。
实施例七
图7示出了可以用来实施本申请的实施例的服务器的结构示意图。服务器10旨在表示多种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、刀片式服务器、大型计算机、和其它适合的计算机。服务器10还可以表示多种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备(如头盔、眼镜、手表等)和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。
如图7所示,服务器10包括至少一个处理器11,以及与至少一个处理器11通信连接的存储器,如只读存储器(Read-Only Memory,ROM)12、随机访问存储器(Random Access Memory,RAM)13等,其中,存储器存储有可被至少一个处理器执行的计算机程序,处理器11可以根据存储在ROM 12中的计算机程序或者从存储单元18加载到RAM 13中的计算机程序,来执行多种适当的动作和处理。在RAM 13中,还可存储服务器10操作所需的多种程序和数据。处理器11、ROM 12以及RAM 13通过总线14彼此相连。输入/输出(Input/Output,I/O)接口15也连接至总线14。
服务器10中的多个部件连接至I/O接口15,包括:输入单元16,例如键盘、鼠标等;输出单元17,例如多种类型的显示器、扬声器等;存储单元18,例如磁盘、光盘等;以及通信单元19,例如网卡、调制解调器、无线通信收发机等。通信单元19允许服务器10通过诸如因特网的计算机网络和/ 或多种电信网络与其他设备交换信息/数据。
处理器11可以是多种具有处理和计算能力的通用和/或专用处理组件。处理器11的一些示例包括但不限于中央处理单元(Central Processing Unit,CPU)、图形处理单元(Graphics Processing Unit,GPU)、多种专用的人工智能(Artificial Intelligence,AI)计算芯片、多种运行机器学习模型算法的处理器、数字信号处理器(Digital Signal Processor,DSP)、以及任何适当的处理器、控制器、微控制器等。处理器11执行上述实施例所描述的多个方法和处理,例如控制器功能更新方法。
在一些实施例中,控制器功能更新方法可被实现为计算机程序,其被有形地包含于计算机可读存储介质,例如存储单元18。在一些实施例中,计算机程序的部分或者全部可以经由ROM 12和/或通信单元19而被载入和/或安装到服务器10上。当计算机程序加载到RAM 13并由处理器11执行时,可以执行上文描述的控制器功能更新方法的一个或多个步骤。备选地,在其他实施例中,处理器11可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行控制器功能更新方法。
本文中以上描述的系统和技术的多种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、芯片上的系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programming Logic Device,CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些多种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。
用于实施本申请的方法的计算机程序可以采用一个或多个编程语言的任何组合来编写。这些计算机程序可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,使得计算机程序当由处理器执行时使流程图和/或框图中所规定的功能/操作被实施。计算机程序可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。
在本申请的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或 设备结合地使用的计算机程序。计算机可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质的示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
为了提供与用户的交互,可以在服务器上实施此处描述的系统和技术,该服务器具有:设置为向用户显示信息的显示装置(例如,阴极射线管(Cathode Ray Tube,CRT)或者液晶显示器(Liquid Crystal Display,LCD)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给服务器。其它种类的装置还可以设置为提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(Local Area Network,LAN)、广域网(Wide Area Network,WAN)、区块链网络和互联网。
计算系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与虚拟专用服务器(Virtual Private Server,VPS)服务中,存在的管理难度大,业务扩展性弱的缺陷。可以使用上面所示的多种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的多个步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请的技术方案所期望的结果,本文在此不进行限制。

Claims (12)

  1. 一种控制器功能更新方法,应用于车辆,包括:
    通过所述车辆中的网关控制器,接收服务器发送的至少一个目标功能报文,其中,所述至少一个目标功能报文是所述服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成的;
    通过所述网关控制器,将接收到的所述至少一个目标功能报文进行广播,以使所述车辆中的至少一个车载控制器接收到所述至少一个目标功能报文;
    通过每个车载控制器,基于与所述预设报文生成方式相匹配的预设报文解析方式,对接收到的所述至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
  2. 根据权利要求1所述的方法,其中,所述基于与所述预设报文生成方式相匹配的预设报文解析方式,对接收到的所述至少一个目标功能报文进行解析,包括:
    获取接收到的每个目标功能报文中的目标报文标识信息;
    将每个目标报文标识信息与当前车载控制器对应的预设需求报文标识信息进行匹配,并将匹配成功的目标报文标识信息所对应的目标功能报文作为目标车载功能报文;
    基于所述目标车载功能报文中的掩码字节对应的目标掩码字节数值,确定所述目标车载功能报文中处于有效状态的目标功能字节;
    基于所述目标车载功能报文中的所述目标功能字节对应的目标功能字节数值,确定与当前车载控制器相匹配的目标车载功能配置信息。
  3. 根据权利要求2所述的方法,其中,所述基于所述目标车载功能报文中的掩码字节对应的目标掩码字节数值,确定所述目标车载功能报文中处于有效状态的目标功能字节,包括:
    基于所述目标车载功能报文中的掩码字节对应的目标掩码字节数值,获取所述掩码字节中的每个二进制位对应的目标二进制数值;
    基于所述掩码字节中的每个二进制位对应的二进制数值与功能字节状态之间的对应关系以及所述掩码字节中的每个二进制位对应的目标二进制数值,确定所述目标车载功能报文中处于有效状态的目标功能字节。
  4. 根据权利要求2所述的方法,其中,所述基于所述目标车载功能报文中的所述目标功能字节对应的目标功能字节数值,确定与当前车载控制器相匹配 的目标车载功能配置信息,包括:
    基于所述目标车载功能报文中的所述目标功能字节对应的目标功能字节数值,获取所述目标功能字节中的每个二进制位对应的目标二进制数值;
    在存在至少两个预设需求报文标识信息的情况下,基于所述目标报文标识信息和每个预设需求报文标识信息下的目标功能字节中的二进制数值与功能状态信息之间的对应关系,确定所述目标报文标识信息下的目标功能字节中的二进制数值与功能状态信息之间的目标对应关系;
    基于所述二进制数值与功能状态信息之间的目标对应关系以及所述目标功能字节中的每个二进制位对应的目标二进制数值,确定与当前车载控制器相匹配的目标车载功能配置信息。
  5. 根据权利要求1-4任一项所述的方法,在所述将接收到的所述至少一个目标功能报文进行广播之前,还包括:
    基于与所述预设报文生成方式相匹配的预设报文解析方式,对接收到的所述至少一个目标功能报文进行解析,并基于解析出的与所述网关控制器相匹配的目标网关功能配置信息,对所述网关控制器进行功能更新。
  6. 一种控制器功能更新方法,应用于服务器,包括:
    获取待修改功能的至少一个目标控制器对应的目标功能配置信息;
    基于预设报文生成方式和所述目标功能配置信息,生成至少一个目标功能报文;
    将所述至少一个目标功能报文发送至车辆,以使所述车辆通过网关控制器接收到所述至少一个目标功能报文,并将接收到的所述至少一个目标功能报文进行广播,以使所述车辆中的至少一个车载控制器接收到所述至少一个目标功能报文;通过每个车载控制器,基于与所述预设报文生成方式相匹配的预设报文解析方式,对接收到的所述至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
  7. 根据权利要求6所述的方法,其中,所述至少一个目标控制器包括:所述车辆中的网关控制器和至少一个车载控制器中的至少之一。
  8. 根据权利要求6所述的方法,其中,所述基于预设报文生成方式和所述目标功能配置信息,生成至少一个目标功能报文,包括:
    获取所述目标功能配置信息中的每个目标控制器对应的目标控制器标识信息和相应的目标功能信息,其中,所述目标功能信息包括待修改的目标功能标 识信息和修改后的目标功能状态信息;
    基于预先设置的控制器标识信息与需求报文标识信息之间的对应关系和所述目标控制器标识信息,确定每个所述目标控制器对应的目标报文标识信息;
    基于每个所述目标控制器对应的功能标识信息与功能字节标识信息之间的对应关系和所述目标功能标识信息,确定每个目标控制器对应的目标功能字节标识信息;
    基于所述目标功能字节标识信息和所述目标功能状态信息,生成掩码字节对应的目标掩码字节数值和所述目标功能字节对应的目标功能字节数值;
    基于所述目标报文标识信息、所述目标掩码字节数值、所述目标功能字节数值和预设报文广播地址,生成所述目标控制器对应的目标功能报文。
  9. 根据权利要求8所述的方法,其中,所述基于所述目标功能字节标识信息和所述目标功能状态信息,生成掩码字节对应的目标掩码字节数值和所述目标功能字节对应的目标功能字节数值,包括:
    基于所述目标功能字节标识信息和掩码字节中的每个二进制位对应的二进制数值与功能字节状态之间的对应关系,确定所述掩码字节中的每个二进制位对应的目标二进制数值;
    基于所述掩码字节中的多个二进制位对应的多个目标二进制数值,生成所述掩码字节对应的目标掩码字节数值;
    基于所述目标功能字节中的二进制数值与功能状态信息之间的对应关系,确定所述目标功能字节中的每个二进制位对应的目标二进制数值;
    基于所述目标功能字节中的多个二进制位对应的多个目标二进制数值,生成所述目标功能字节对应的目标功能字节数值。
  10. 一种控制器功能更新系统,包括:服务器和车辆;其中,
    所述车辆设置为实现如权利要求1-5中任一项所述的控制器功能更新方法;
    所述服务器设置为实现如权利要求6-10中任一项所述的控制器功能更新方法。
  11. 一种车辆,包括:网关控制器和多个车载控制器;其中,
    所述网关控制器设置为:接收服务器发送的至少一个目标功能报文,其中,所述至少一个目标功能报文是所述服务器基于预设报文生成方式和待修改功能的至少一个目标控制器对应的目标功能配置信息生成的;将接收到的所述至少一个目标功能报文进行广播,以使至少一个车载控制器接收到所述至少一个目 标功能报文;
    每个车载控制器设置为:基于与所述预设报文生成方式相匹配的预设报文解析方式,对接收到的所述至少一个目标功能报文进行解析,并基于解析出的与当前车载控制器相匹配的目标车载功能配置信息,对当前车载控制器进行功能更新。
  12. 一种服务器,包括:
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求6-10中任一项所述的控制器功能更新方法。
PCT/CN2023/094109 2022-06-30 2023-05-15 控制器功能更新方法、系统、车辆和服务器 WO2024001572A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210771055.7 2022-06-30
CN202210771055.7A CN115167351A (zh) 2022-06-30 2022-06-30 一种控制器功能更新方法、系统、车辆和服务器

Publications (1)

Publication Number Publication Date
WO2024001572A1 true WO2024001572A1 (zh) 2024-01-04

Family

ID=83489783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/094109 WO2024001572A1 (zh) 2022-06-30 2023-05-15 控制器功能更新方法、系统、车辆和服务器

Country Status (2)

Country Link
CN (1) CN115167351A (zh)
WO (1) WO2024001572A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115167351A (zh) * 2022-06-30 2022-10-11 中国第一汽车股份有限公司 一种控制器功能更新方法、系统、车辆和服务器

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385420A (zh) * 2016-09-29 2017-02-08 中国联合网络通信集团有限公司 一种ecu软件下载方法及装置
CN106796538A (zh) * 2015-09-14 2017-05-31 松下电器(美国)知识产权公司 网关装置、车载网络系统以及固件更新方法
CN108153562A (zh) * 2017-12-26 2018-06-12 浙江中科正方电子技术有限公司 一种新能源汽车ecu远程程序更新管理系统及方法
CN108713187A (zh) * 2016-03-02 2018-10-26 住友电气工业株式会社 程序更新系统、程序更新方法和计算机程序
KR102122376B1 (ko) * 2019-01-09 2020-06-12 주식회사 지쓰리 커넥티드형 차량용 게이트웨이
KR20200075626A (ko) * 2018-12-18 2020-06-26 한국자동차연구원 차량의 ecu 업데이트가 가능한 무선 업데이트 시스템 및 방법
CN111917619A (zh) * 2020-07-29 2020-11-10 华人运通(江苏)技术有限公司 通信方法、装置、电子设备和可读存储介质
CN115167351A (zh) * 2022-06-30 2022-10-11 中国第一汽车股份有限公司 一种控制器功能更新方法、系统、车辆和服务器

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624600A (zh) * 2011-01-28 2012-08-01 深圳市恒扬科技有限公司 一种以太网报文匹配方法、装置及终端
CN108243042B (zh) * 2016-12-27 2021-02-23 比亚迪股份有限公司 重联网关配置方法、重联网关、控制器、列车车厢及列车
CN107465588B (zh) * 2017-07-27 2020-10-23 广州汽车集团股份有限公司 多路总线网络的状态控制方法、装置及网络管理系统
CN108848204B (zh) * 2018-07-10 2021-10-26 新华三信息安全技术有限公司 一种nat业务快速处理方法及装置
CN113472560B (zh) * 2020-03-31 2023-01-06 比亚迪股份有限公司 管理车辆局域网络的方法以及车辆和存储介质
CN113904922B (zh) * 2021-09-06 2024-04-19 东风柳州汽车有限公司 一种网关配置方法及装置
CN113612804B (zh) * 2021-10-08 2021-12-14 江铃汽车股份有限公司 车辆配置升级方法、系统、存储介质及智能网关
CN114500358B (zh) * 2022-02-14 2023-10-24 西藏创煌信息科技有限公司 网关报文分发方法、装置、设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106796538A (zh) * 2015-09-14 2017-05-31 松下电器(美国)知识产权公司 网关装置、车载网络系统以及固件更新方法
CN108713187A (zh) * 2016-03-02 2018-10-26 住友电气工业株式会社 程序更新系统、程序更新方法和计算机程序
CN106385420A (zh) * 2016-09-29 2017-02-08 中国联合网络通信集团有限公司 一种ecu软件下载方法及装置
CN108153562A (zh) * 2017-12-26 2018-06-12 浙江中科正方电子技术有限公司 一种新能源汽车ecu远程程序更新管理系统及方法
KR20200075626A (ko) * 2018-12-18 2020-06-26 한국자동차연구원 차량의 ecu 업데이트가 가능한 무선 업데이트 시스템 및 방법
KR102122376B1 (ko) * 2019-01-09 2020-06-12 주식회사 지쓰리 커넥티드형 차량용 게이트웨이
CN111917619A (zh) * 2020-07-29 2020-11-10 华人运通(江苏)技术有限公司 通信方法、装置、电子设备和可读存储介质
CN115167351A (zh) * 2022-06-30 2022-10-11 中国第一汽车股份有限公司 一种控制器功能更新方法、系统、车辆和服务器

Also Published As

Publication number Publication date
CN115167351A (zh) 2022-10-11

Similar Documents

Publication Publication Date Title
WO2020216235A1 (zh) 车载网关的通信方法、车载网关及智能车辆
US11050814B2 (en) Method, device and vehicle for message deduplication
WO2020134545A1 (zh) 配置更新方法及相关产品
EP2835938B1 (en) Message publishing and subscribing method and apparatus
WO2024001572A1 (zh) 控制器功能更新方法、系统、车辆和服务器
WO2021253910A1 (zh) 语音场景更新方法、装置、终端、服务器和系统
WO2020177734A1 (zh) 小程序触发方法、计算机设备及存储介质
WO2015101113A1 (zh) 处理报文的方法与设备
US10999357B1 (en) Data transmission system and data transmission method
CN110765195A (zh) 一种数据解析方法、装置、存储介质及电子设备
WO2023134412A1 (zh) 车辆控制方法及装置、软件配置方法及装置、电子设备、存储介质
WO2024051340A1 (zh) 整车全局配置方法、装置、设备及介质
US11228537B2 (en) Resource processing method and system, storage medium and electronic device
WO2020098347A1 (zh) 信息生成方法、装置和系统
CN113986135B (zh) 处理请求的方法、装置、设备以及存储介质
CN115685971A (zh) 一种车辆诊断方法及相关装置
CN112527453B (zh) 虚拟化信息仿真系统、方法及计算机可读存储介质
WO2021078176A1 (zh) 存储过程的运行方法、装置、数据库系统及存储介质
CN114547199A (zh) 数据库增量同步响应方法、装置及计算机可读存储介质
US9634987B2 (en) Obtaining a MAC address from an external source
CN110971716B (zh) 地址配置方法、装置、系统和计算机可读存储介质
US10516767B2 (en) Unifying realtime and static data for presenting over a web service
WO2023230797A1 (zh) 一种跨系统测试方法及装置
CN117271658A (zh) 数据同步方法、装置、设备、介质及自动驾驶车辆
CN112615932B (zh) 一种基于车辆总线的通讯方法和车辆网关设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23829758

Country of ref document: EP

Kind code of ref document: A1