Message monitoring updating method and device, equipment and storage medium

By obtaining message information in the on-board gateway system, loading the controller boot program, and updating the message routing policy based on the device information, the complex problem of the on-board gateway update process is solved, and more efficient communication and system stability is achieved.

CN119172247AActive Publication Date: 2024-12-20DONGFENG MOTOR GRP

Patent Information

Application Number
CN202411234900.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-20
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

The signal routing functions of existing vehicle gateways are complex and the update process is cumbersome, resulting in high development costs and increased system stability and security risks. A simplified method of message monitoring and update is urgently needed to improve communication efficiency.

Method used

By obtaining message information, sending instructions to the controller to load the controller boot program, obtaining device information, performing routing policy update processing of message information according to the working mode, generating updated messages, and dynamically updating the on-board gateway to optimize routing and equipment monitor.

Benefits of technology

It simplifies the update process, reduces development costs, improves communication efficiency, enhances the stability and flexibility of the on-board gateway system, and reduces risks during the update process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172247A_ABST
    Figure CN119172247A_ABST
Patent Text Reader

Abstract

The invention discloses a message monitoring updating method and device, equipment and a storage medium, and relates to the technical field of vehicle communication, and the method comprises the steps: obtaining message information, sending an instruction to a controller, enabling the controller to load and execute a controller bootstrap program, obtaining equipment information, carrying out the monitoring according to the equipment information, obtaining a working mode, and carrying out the monitoring according to the working mode. And updating the message information according to the routing policy based on the working mode to obtain an updated message. By dynamically updating the vehicle-mounted gateway and optimizing message routing and equipment monitoring, the communication efficiency is improved, and the stability and flexibility of the vehicle-mounted gateway system are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle communication technology, and in particular to a message monitoring and updating method, device, equipment and storage medium. Background Art

[0002] With the development of automobile electronics and intelligence, the in-vehicle network system has become more and more complex. The number of electronic control units in the car is increasing, and they need to exchange data and work together through an efficient communication network. As a router between various buses in the car, the in-vehicle gateway plays an important role in the communication between different domain controllers. The in-vehicle communication network is usually composed of communication nodes such as CAN (Controller Area Network Bus), Ethernet, and LIN (Serial Communication Network), which together constitute the neural network of the car.

[0003] The existing reading of message information is achieved through the message routing function in the software to realize the routing of messages of the same protocol node. Signal routing between different buses requires adding specific signal routing function code in the software to achieve it. This function-based gateway design enables different domain controllers in the car to communicate and exchange data with each other.

[0004] However, every time the routing service is updated, developers need to use the compiler to update the software of the entire controller, which is a complicated and cumbersome process. The signal routing function of traditional gateways is usually limited to simple signal filling. For scenarios that require more complex operations such as signal calculation and offset, developers need to redevelop the signal operation function. In addition, the function-based gateway design requires development tools to intervene in each update, which increases the continuous investment in development tools. Each update involves the update of the entire controller software, which not only increases the development cost, but also increases the software risk, which may affect the stability and security of the system. There is an urgent need for a service-oriented vehicle gateway message information reading method to reduce the complexity of the update process and reduce the risk during the update process. Summary of the invention

[0005] The main purpose of this application is to provide a message monitoring and updating method, device, equipment and storage medium, aiming to solve the technical problem of how to shorten the update process and thus improve communication efficiency.

[0006] To achieve the above-mentioned purpose, the present application proposes a message monitoring and updating method, which is applied to a vehicle gateway system, wherein the vehicle gateway system includes a controller and a service configuration device, wherein the controller includes a controller boot program and a routing strategy, and the method includes:

[0007] Get message information;

[0008] Sending instructions to the controller so that the controller loads and executes the controller boot program to obtain device information;

[0009] Monitor according to the device information to obtain the working mode;

[0010] Based on the working mode, the message information is updated according to the routing strategy to obtain an updated message.

[0011] In one embodiment, the step of sending an instruction to the controller so that the controller loads and executes the controller boot program to obtain device information includes:

[0012] Sending an initialization instruction to the controller so that the controller triggers power-on and enters an initialization phase;

[0013] After detecting that the controller enters the initialization phase, sending a control instruction to enable the controller to execute a controller boot program;

[0014] Identify the signal of the controller boot program and obtain device information.

[0015] In one embodiment, the step of identifying the signal of the controller boot program and obtaining device information includes:

[0016] After the controller executes the controller boot program, it enters the monitoring mode;

[0017] Identify the signal of the controller boot program to monitor and identify the device status and communication request to obtain an identification signal;

[0018] The identification signal is parsed to obtain device information, where the device information includes device identification, version information, network address, and functional status.

[0019] In one embodiment, the step of monitoring according to the device information to obtain the working mode includes:

[0020] Monitoring and analyzing the device information to obtain processed device information;

[0021] Processing is performed according to the processed device information to obtain monitoring results;

[0022] The monitoring results are analyzed according to preset conditions to determine the working mode.

[0023] In one embodiment, the step of analyzing the monitoring results according to preset conditions to determine the working mode includes:

[0024] When the monitoring result indicates that there is a connection request for the service configuration device, the working mode is determined to be the service update mode, and the routing table data of the routing policy is updated and saved;

[0025] When the monitoring result indicates that there is no connection request for the service configuration device, the working mode is determined to be a normal working mode, and the routing table data storing the routing policy is read and applied.

[0026] In one embodiment, the step of updating the message information according to the routing policy based on the working mode to obtain an updated message includes:

[0027] Determining a routing strategy for the message information according to the working mode;

[0028] Based on the routing strategy, message parameters are adjusted according to message information for updating to generate an updated message.

[0029] In one embodiment, after the step of updating the message information according to the routing policy based on the working mode to obtain an updated message, the method further comprises:

[0030] When the updated message indicates that the device performance indicator is abnormal, the fault diagnosis mechanism is executed;

[0031] Adjust the packet routing strategy or service package configuration to optimize network communication and system response.

[0032] In addition, to achieve the above purpose, the present application also proposes a message monitoring and updating device, the message monitoring and updating device comprising:

[0033] An acquisition module, used to obtain message information;

[0034] The acquisition module is further used to send instructions to the controller so that the controller loads and executes the controller boot program to obtain device information;

[0035] A monitoring module, used to monitor according to the device information to obtain a working mode;

[0036] An execution module is used to update the message information according to the routing strategy based on the working mode to obtain an updated message.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a message monitoring and updating device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the message monitoring and updating method described above.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the message monitoring and updating method described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the message monitoring and updating method described above are implemented.

[0040] This application obtains message information and sends instructions to the controller so that the controller loads the controller boot program and executes it, obtains device information, monitors according to the device information, obtains the working mode, and updates the message information according to the routing strategy based on the working mode to obtain the updated message. By dynamically updating the vehicle gateway, the message routing and device monitoring are optimized, the communication efficiency is improved, and the stability and flexibility of the vehicle gateway system are enhanced. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0042] Figure 1 This is a flow chart of the first embodiment of the message monitoring and updating method of the present application;

[0043] Figure 2 This is a structural block diagram of the vehicle gateway system of this application;

[0044] Figure 3 A schematic diagram of the configuration interface of the first embodiment of the message monitoring and updating method of the present application;

[0045] Figure 4 A routing table template diagram of the first embodiment of the message monitoring and updating method of the present application;

[0046] Figure 5 This is a service editing interface diagram of the first embodiment of the message monitoring and updating method of this application;

[0047] Figure 6 This is a flow chart of the second embodiment of the message monitoring and updating method of the present application;

[0048] Figure 7 This is a schematic diagram of the module structure of the message monitoring and updating device according to an embodiment of the present application;

[0049] Figure 8A schematic diagram of the device structure of the hardware operating environment involved in the message monitoring and updating method in the embodiment of the present application.

[0050] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0052] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0053] The main solution of the embodiment of the present application is: by acquiring message information, sending instructions to the controller so that the controller loads the controller boot program and executes it, obtaining device information, monitoring according to the device information, obtaining the working mode, and updating and processing the message information according to the routing strategy based on the working mode to obtain an updated message.

[0054] The existing reading of message information is achieved through the message routing function in the software to realize the routing of messages of the same protocol node. Signal routing between different buses requires adding specific signal routing function code in the software to achieve this. This function-based gateway design enables different domain controllers in the car to communicate with each other and exchange data. However, every time the routing service is updated, developers need to use the compiler to update the software of the entire controller, which is a complicated and cumbersome process. The signal routing function of traditional gateways is usually limited to simple signal filling. For scenarios that require more complex operations such as signal calculation and offset, developers need to redevelop the signal operation function, and the function-based gateway design requires development tools to intervene for each update, which increases the continuous investment in development tools. Each update involves the update of the entire software of the controller, which not only increases the development cost, but also increases the risk of software, which may affect the stability and security of the system.

[0055] Based on this, the present application embodiment provides a message monitoring and updating method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the message monitoring and updating method of the present application.

[0056] In this embodiment, the message monitoring and updating method is applied to the vehicle gateway system, referring to Figure 2 , Figure 2It is a structural block diagram of a vehicle gateway system, the vehicle gateway system includes a controller 101 and a service configuration device 102, the controller 101 includes a controller boot program area 201 and a routing strategy area 202, the controller boot program area S201 is used to update the controller running program, and the routing strategy area 202 is used to update the routing table service data and store the routing information table. The method includes steps S10 to S40:

[0057] Step S10, obtaining message information.

[0058] It should be noted that the system first receives message information from different electronic control units (ECUs) through various communication interfaces. These messages contain vehicle status, control instructions and other important data. Subsequently, the system parses and preprocesses these messages to ensure the integrity and accuracy of the information.

[0059] Step S20, sending instructions to the controller so that the controller loads and executes the controller boot program to obtain device information.

[0060] It should be noted that sending instructions to the controller is a key operation in the vehicle gateway system, which triggers the entire communication and information processing process. When the instruction is sent and the controller receives the signal, it will load and execute its built-in controller boot program. This boot program is the core of system initialization and configuration, responsible for starting system services, checking system integrity, and loading the necessary runtime environment. During execution, the controller boot program will perform a series of self-test and configuration steps to ensure that the system is in the best startup state, and then collect device information from each ECU inside the vehicle after executing the controller boot program. This information may include key data such as the ECU model, firmware version, current working status, and their location in the network.

[0061] Further, an initialization command is sent to the controller so that the controller triggers power-on and enters the initialization phase. Sending an initialization command to the controller is the first step in starting the vehicle gateway system. This command is crucial because it triggers the power-on process of the controller and guides the system into the initialization phase. In this phase, the controller executes a series of predefined startup procedures, including hardware detection, memory allocation, system service loading, etc., to ensure that all components can work together and are ready. During the initialization process, the controller also performs self-diagnosis to verify whether the key hardware and software components function properly and detect whether there are any potential configuration problems or faults in the system. This self-diagnosis not only includes the inspection of internal components, but may also involve the evaluation of connected external devices and network status. In addition, the sending of the initialization command activates the system's security mechanism to ensure that the necessary security standards are met during the system startup and operation. This includes the initialization of encrypted communications, the setting of access control, and preventive measures for any security vulnerabilities.

[0062] Further, after detecting that the controller enters the initialization phase, a control instruction is sent to enable the controller to execute the controller boot program. As the controller completes execution and enters the normal working mode, the vehicle gateway system begins to perform its core functions, such as message routing, signal processing, and device monitoring.

[0063] Further, the controller boot program signals are identified to obtain device information. Specifically, after the controller executes the controller boot program, it enters the listening mode. After the controller executes the controller boot program and successfully initializes, the system automatically switches to the listening mode. This stage is critical to ensure the smooth operation of the vehicle network and the accurate management of the device. In the listening mode, the controller continuously monitors the network traffic, identifies and responds to specific signals from the controller boot program. These signals may include diagnostic requests, device status updates, or communication requirements.

[0064] Identify the signals of the controller boot program to monitor and identify the device status and communication requests to obtain identification signals. Through real-time monitoring of these signals, the system can quickly identify the current status of each device in the network and any communication requests, and then obtain identification signals. These signals not only reflect the online status of the device, but may also indicate the interaction requirements or potential configuration problems between devices.

[0065] Based on the identification signal, the system performs parsing to obtain device information, including device identification, version information, network address, and functional status. Based on the identified signal, the system further performs parsing operations, which involves in-depth analysis of the signal content to extract valuable device information. The parsed device information is extremely detailed, including the device's identification, software or hardware version information, address in the network, and their respective functional status. This information is critical to understanding the architecture and dynamics of the entire vehicle network.

[0066] Step S30, monitoring is performed according to the device information to obtain the working mode.

[0067] It should be noted that the vehicle gateway system will monitor the device information after power-on to determine its working mode. When the ECU is powered on, it will first enter the controller boot program area and stay there for 20 milliseconds, during which the ECU will listen to the information of the bus device. If the ECU does not receive an instruction to stay in the boot program area during this period, the ECU will operate in normal working mode. Conversely, if the ECU receives an instruction to stay in the controller boot program area within the preset time, it will enter the service update mode, which means that the ECU will stay in the controller boot program area and prepare to accept update operations, such as updating routing data or the boot program itself.

[0068] In normal working mode, the ECU reads the information in the routing information table at startup and performs error detection. Once initialized, the ECU will periodically call the lower-level routing strategy to process received messages. Messages may include signals from different on-board buses, such as CAN, LIN, or Ethernet. Through the message mirroring function, the received message is copied and sent to the lower-level routing strategy for processing. The strategy determines the message type based on the routing table information in memory - whether it is a routing message, a service message, or an invalid message, and takes corresponding actions, such as routing valid messages to the correct bus or performing signal processing.

[0069] When the routing table or ECU firmware needs to be updated, the service configuration device can enter the service update mode by connecting to the ECU. In this mode, the user can edit the service package through the service configuration device, update the routing information, and then download the new service package to the routing information table through the boot program. This method simplifies the update process and reduces the risks caused by updating the entire controller software.

[0070] Step S40: Based on the working mode, the message information is updated according to the routing strategy to obtain an updated message.

[0071] It should be noted that updating the message information according to different working modes is an important function. When the ECU is in normal working mode, its main task is to process the received message according to the routing strategy. This process includes message routing, message identifier modification, message period modification, and data field length modification. For signal processing, the system supports signal offset, linear calculation, replacement, logical "and", "or" and other operations to meet the needs of different application scenarios.

[0072] Furthermore, according to the working mode, the routing strategy of the message information is determined, and the message parameters are adjusted according to the message information based on the routing strategy for update, thereby generating an updated message. When it is necessary to update the routing information table or add a new service, it will switch to the service update mode. In this mode, the service configuration device can connect to the ECU, and by updating the data in the routing information table, the service configuration device can import the routing table, create a new service package, edit the service package, export the service package, and issue the service package, etc. These functions make the management of the service package more convenient. The service package includes message services and signal services, and each service package is independent and can be updated separately without affecting other services. In this embodiment, the service configuration device is a host computer, such as Figure 3 As shown in the configuration interface diagram, the interface is mainly divided into 8 areas. Area 1 is the toolbar, area 2 is the user information, area 3 is the routing package data display area, area 4 is the advanced settings area, area 5 is the connection settings area, area 6 is the start key distribution area, area 7 is the print output area, and area 8 is the upper computer status bar. Area 1 includes the following functions: New, Data Import, Data Export, Reset, Download Template, Device Detection, Device Connection, Device Disconnection, Search, Filter, Delete Conditions, Select All, Inverse Selection, Generate Executable Program, Help and Suggestions. Among them, New is used to open a new window; Data import is divided into routing table import and service package reading. The routing table is a table that only contains routing services. The service package is in XML format and includes routing services and signal services; Data export exports the service package to the local hard disk for the next editing; The reset function is to restore the service data after editing; The download template function is used to save a file such as Figure 4 The routing table template is shown in the figure. Users can edit routing data in this template and directly import it into the host computer through the data import function; the device detection, device connection and device disconnection functions are used by the host computer to communicate with the gateway host computer; the search, filter, delete conditions, select all and reverse selection functions are general operations on the service data of area 3; the generate executable program function is used by the host computer to convert the service data into hexadecimal data for the service delivery function.

[0073] Area 2 is the user information area, which displays the current user information and hardware environment. When the device detection function in area 1 is turned on, area 2 displays the hardware environment that can be used to connect to the lower computer.

[0074] Area 3 is the routing packet data display area. When the data import function in area 1 is turned on and the table file shown in the figure is selected, the host computer background algorithm automatically parses the routing table file and displays it in area 3. Or right-click in area 3 to pop up the following Figure 5 The service editing interface is shown in Figure 1. The service editing interface is divided into three functional areas: functional area 1 is the message routing editing area, functional area 2 is the signal service editing interface, and functional area 3 is the button area.

[0075] Area 4 is the advanced setting function area, where you can set the corresponding advanced functions, including the following function settings: key algorithm import, executable program format, data stream file save location, lower computer routing table data storage location setting and channel mapping function. The channel mapping function maps the virtual channel to the actual channel of the vehicle gateway system. If you directly create a new routing package data, you need to set the channel mapping first.

[0076] Area 5 is the connection setting, including: ECU selection, device transmission channel setting, device baud rate setting, service delivery process setting and host computer identity flag setting.

[0077] Area 6 is a special area for the start / stop menu, area 7 is a print output area, and area 8 is a status bar. The status display in area 8 is related to the settings in area 1.

[0078] Once the update is complete, the ECU returns to normal working mode, and the system will process the message information according to the latest routing strategy. Specifically, the ECU will first detect the data in the routing table information area to ensure that all valid routing services are loaded into the memory. Subsequently, whenever a new message is received, the system will use the message mirroring function to send the message to the lower computer routing strategy for processing. The routing strategy will filter the received message according to the routing information table in the memory. If it is a message that needs to be routed, it will be copied to the specified memory area and signal processed as needed before the message is packaged and sent. When the updated message indicates that the device performance indicators are abnormal, the fault diagnosis mechanism is executed to adjust the message routing strategy or service package configuration to optimize network communication and system response. In this way, the updated message can be forwarded according to the latest routing rules. The specific forwarding process is to click "Download Template" in area 1 to download the template in the first step, and edit the routing table data in the table in the second step and then import the routing table data table into the upper computer. After the import is completed, the successfully imported routing data is displayed in area 3. Optionally, create new service package data. After the service package data is created, the newly created routing data will also be displayed in area 3. After the service package data is added, perform channel mapping to link the virtual channel with the actual channel of the lower computer. Step 3: Edit the service data and filter invalid service report data. Step 4: Generate a lower computer executable program from the service package data. Step 5: Scan the device. The upper computer scans the connected devices. After the device scanning is completed, the scanned devices are displayed in area 2. Step 6: In the connection settings in area 5, pull down and select the lower computer ECU, select the device channel, and connect the connected lower computer ECU. Step 7: Click the start button in area 6 to start the service delivery process. Step 8: After the service is delivered, export the current service package data to the local or server for next use, thereby ensuring the efficiency and flexibility of the vehicle communication network.

[0079] This embodiment provides a message monitoring and updating method, which obtains message information, sends instructions to the controller, and causes the controller to load and execute the controller boot program, obtains device information, monitors according to the device information, obtains the working mode, and updates the message information according to the routing strategy based on the working mode to obtain the updated message. By dynamically updating the vehicle gateway, the message routing and device monitoring are optimized, the communication efficiency is improved, and the stability and flexibility of the vehicle gateway system are enhanced.

[0080] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 6 The message monitoring and updating method step S30 also includes steps S301 to S302:

[0081] Step S301, monitor and analyze device information to obtain processed device information.

[0082] It should be noted that during this process, the system actively monitors ECUs in the network through advanced diagnostic tools and communication protocols, and collects key data such as operating parameters, error codes, performance indicators, etc. The system not only collects data, but also uses built-in algorithms and models to parse these raw device information. The parsing process involves data cleaning, format conversion, and semantic understanding to ensure the accuracy and availability of information.

[0083] The processed device information provides powerful insights to the system, enabling it to make more informed decisions. For example, if the system detects that a certain ECU is degraded or at risk of potential failure, it can provide early warning and take preventive measures, such as rerouting messages, adjusting resource allocation, or scheduling maintenance. The processed device information is richer and more structured, including but not limited to the ECU's health status, software version, hardware specifications, real-time performance data, and possible failure predictions.

[0084] In addition, the processed device information can also be used to optimize the vehicle's energy management, improve ride comfort and enhance driving safety. The system can dynamically adjust the vehicle's operating strategy based on the actual working status of the ECU, such as adjusting engine control, transmission logic or suspension system settings to adapt to different driving conditions and passenger needs.

[0085] Step S302, performing processing according to the processed device information to obtain monitoring results.

[0086] It should be noted that the monitoring results are obtained by comprehensively considering multiple dimensions such as the ECU's response time, error rate, data processing capability, and communication efficiency. The system evaluates the operating parameters of each ECU, such as CPU load, memory usage, and I / O performance, to determine whether they are working within the normal range. In addition, the system also monitors the communication quality of the network, including the transmission delay, packet loss rate, and conflict rate of the message, to evaluate the stability and reliability of the network. Using these monitoring results, the vehicle gateway system can perform a series of automated tasks, such as dynamically adjusting the routing path of the message, optimizing the priority of data transmission, reallocating system resources, or triggering remote diagnosis and repair procedures. For example, if a certain ECU is detected to have frequent errors or response delays, the system can automatically route its messages to an alternative path to avoid affecting the normal operation of the vehicle.

[0087] Step S303, analyzing the monitoring results according to preset conditions and determining the working mode.

[0088] It should be noted that this analysis process involves real-time processing and evaluation of large amounts of collected data to identify various patterns and trends in the vehicle network.

[0089] The system's built-in analysis engine conducts a comprehensive evaluation of the monitoring results based on a series of preset conditions, such as vehicle speed, engine status, battery power, network traffic and other key parameters. These preset conditions are designed as trigger points. When the monitoring results meet or exceed these conditions, the system automatically adjusts its working mode to optimize resource allocation, improve communication efficiency, and ensure task priority and response time. For example, if the system detects that the vehicle is traveling at high speed, it may automatically switch to a working mode that prioritizes critical safety information to ensure communication priority for the braking system, stability control and collision prevention system. On the contrary, if the vehicle is stationary, the system may enter an energy-saving mode to reduce non-essential communications to extend the battery life of the vehicle.

[0090] Furthermore, when the monitoring results indicate that there is a connection request from the service configuration device, the working mode is determined to be the service update mode, and the routing table data of the routing strategy is updated and saved. When the monitoring results of the vehicle gateway system indicate that the service configuration device (such as a host computer or a diagnostic tool) has initiated a connection request, the system will intelligently switch the working mode to the service update mode. This mode is designed for system upgrades, maintenance, and configuration changes, ensuring that the vehicle network can adapt to the latest service requirements and technical standards. In service update mode, the system receives update instructions from the service configuration device, which may include new routing rules, optimized signal processing algorithms, or software patches. Based on these instructions, the system will update the routing table data in the routing strategy to reflect the latest configuration and communication requirements of the devices in the network. The updated routing table data will be verified and saved to ensure that the latest routing settings are maintained even after the system is restarted.

[0091] Furthermore, when the monitoring results indicate that there is no connection request from the service configuration device, the working mode is determined to be the normal working mode, and the routing table data storing the routing strategy is read and applied. When the monitoring results of the vehicle gateway system do not find a connection request from the service configuration device (such as a host computer or a diagnostic tool), the system will automatically determine and maintain the normal working mode. In this mode, the system focuses on performing daily communication tasks, including message routing, signal processing, and device status monitoring, to ensure efficient and stable operation of the vehicle network. In the normal working mode, the system reads the pre-configured and stored routing strategy information, which defines the flow path of data in the vehicle's internal network. The system will apply these routing table data to guide the data packets to be transmitted between different electronic control units (ECUs) according to the established routing rules, thereby realizing the vehicle's control functions and information exchange.

[0092] In addition, the system continuously monitors network status and device performance to respond to any emergencies or potential communication problems in real time. For example, if a communication delay or failure occurs in an ECU, the system will dynamically reroute based on the alternative paths in the routing table data to ensure that the transmission of critical information is not interrupted. In addition, the system can automatically adjust to diagnosis or repair mode based on abnormal conditions found in the monitoring results, such as performance degradation of an ECU or increased network latency, to ensure that the problem can be identified and resolved in a timely manner.

[0093] This embodiment monitors and analyzes device information to obtain processed device information, performs processing based on the processed device information to obtain monitoring results, analyzes the monitoring results based on preset conditions, and determines the working mode. Through in-depth analysis of device information and intelligent decision-making, the vehicle gateway system can achieve refined management of the vehicle network and provide drivers and passengers with a safer, more comfortable and efficient driving experience.

[0094] This application also provides a message monitoring and updating device, please refer to Figure 7 , the device comprises:

[0095] The acquisition module 10 is used to acquire message information.

[0096] The acquisition module 10 is also used to send instructions to the controller so that the controller loads and executes the controller boot program to obtain device information.

[0097] The monitoring module 20 is used to monitor according to the device information and obtain the working mode.

[0098] The execution module 30 is used to update the message information according to the routing strategy based on the working mode to obtain an updated message.

[0099] The message monitoring and updating device provided by the present application adopts the message monitoring and updating method in the above embodiment, which can solve the technical problem of how to reduce the update process and thus improve the communication efficiency. Compared with the prior art, the beneficial effects of the message monitoring and updating device provided by the present application are the same as the beneficial effects of the message monitoring and updating method provided by the above embodiment, and the other technical features in the message monitoring and updating device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0100] In one embodiment, the acquisition module 10 is also used to send an initialization instruction to the controller so that the controller triggers power-on and enters the initialization phase; after detecting that the controller enters the initialization phase, a control instruction is sent to enable the controller to execute a controller boot program; and the signal of the controller boot program is identified to obtain device information.

[0101] In one embodiment, the acquisition module 10 is also used to enter the listening mode after the controller executes the controller boot program; identify the signal of the controller boot program to monitor and identify the device status and communication request to obtain the identification signal; parse based on the identification signal to obtain the device information, the device information includes device identification, version information, network address and functional status.

[0102] In one embodiment, the acquisition module 10 is further used to monitor and analyze device information to obtain processed device information; perform processing based on the processed device information to obtain monitoring results; and analyze the monitoring results based on preset conditions to determine the working mode.

[0103] In one embodiment, the acquisition module 10 is also used to determine that the working mode is a service update mode when the monitoring result indicates that the service configuration device has a connection request, update the routing table data of the routing policy and save it; when the monitoring result indicates that the service configuration device does not have a connection request, determine that the working mode is a normal working mode, read and apply the routing table data of the stored routing policy.

[0104] In one embodiment, the acquisition module 10 is further used to determine a routing strategy for the message information according to the working mode; and to adjust the message parameters according to the message information based on the routing strategy to update and generate an updated message.

[0105] In one embodiment, the execution module 30 is further used to execute a fault diagnosis mechanism when the updated message indicates that the device performance indicator is abnormal; and adjust the message routing strategy or service package configuration to optimize network communication and system response.

[0106] The present application provides a message monitoring and updating device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the message monitoring and updating method in the above-mentioned embodiment one.

[0107] Reference below Figure 8 , which shows a schematic diagram of the structure of a message monitoring and updating device suitable for implementing the embodiment of the present application. The message monitoring and updating device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The message monitoring and updating device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0108] like Figure 8 As shown, the message monitoring and updating device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the xxx device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the message monitoring and updating device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a message monitoring and updating device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0109] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0110] The message monitoring and updating device provided by the present application adopts the message monitoring and updating method in the above embodiment, which can solve the technical problem of how to reduce the update process and thus improve the communication efficiency. Compared with the prior art, the beneficial effects of the message monitoring and updating device provided by the present application are the same as the beneficial effects of the message monitoring and updating method provided by the above embodiment, and the other technical features in the message monitoring and updating device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0111] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0112] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0113] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the message monitoring and updating method in the above-mentioned embodiment.

[0114] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0115] The computer-readable storage medium may be included in the message monitoring and updating device; or may exist independently without being assembled into the message monitoring and updating device.

[0116] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the message monitoring and updating device, the message monitoring and updating device can be written in one or more programming languages ​​or a combination thereof to write a computer program code for performing the operation of the present application. The programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and a conventional procedural programming language, such as "C" language or a similar programming language. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0117] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0118] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0119] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned message monitoring and updating method, and can solve the technical problem of how to reduce the update process and thus improve communication efficiency. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the message monitoring and updating method provided by the above-mentioned embodiment, and will not be elaborated here.

[0120] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned message monitoring and updating method when executed by a processor.

[0121] The computer program product provided by the present application can solve the technical problem of how to reduce the update process and thus improve communication efficiency. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the message monitoring and updating method provided by the above embodiment, which will not be described in detail here.

[0122] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A message monitoring and updating method, characterized in that: The method is applied to a vehicle gateway system, the vehicle gateway system includes a controller and a service configuration device, the controller includes a controller boot program and a routing strategy, and the method includes: Get message information; Sending instructions to the controller so that the controller loads and executes the controller boot program to obtain device information; Monitor according to the device information to obtain the working mode; Based on the working mode, the message information is updated according to the routing strategy to obtain an updated message.

2. The method according to claim 1, characterized in that The step of sending an instruction to the controller so that the controller loads and executes the controller boot program to obtain device information includes: Sending an initialization instruction to the controller so that the controller triggers power-on and enters an initialization phase; After detecting that the controller enters the initialization phase, sending a control instruction to enable the controller to execute a controller boot program; Identify the signal of the controller boot program and obtain device information.

3. The method according to claim 2, characterized in that The step of identifying the signal of the controller boot program and obtaining device information includes: After the controller executes the controller boot program, it enters the monitoring mode; Identify the signal of the controller boot program to monitor and identify the device status and communication request to obtain an identification signal; The identification signal is parsed to obtain device information, where the device information includes device identification, version information, network address, and functional status.

4. The method according to claim 1, characterized in that The step of monitoring according to the device information to obtain the working mode includes: Monitoring and analyzing the device information to obtain processed device information; Processing is performed according to the processed device information to obtain monitoring results; The monitoring results are analyzed according to preset conditions to determine the working mode.

5. The method according to claim 4, characterized in that The step of analyzing the monitoring results according to the preset conditions and determining the working mode includes: When the monitoring result indicates that there is a connection request for the service configuration device, the working mode is determined to be the service update mode, and the routing table data of the routing policy is updated and saved; When the monitoring result indicates that there is no connection request for the service configuration device, the working mode is determined to be a normal working mode, and the routing table data storing the routing policy is read and applied.

6. The method according to claim 1, characterized in that The step of updating the message information according to the routing strategy based on the working mode to obtain an updated message includes: Determining a routing strategy for the message information according to the working mode; Based on the routing strategy, message parameters are adjusted according to message information for updating to generate an updated message.

7. The method according to claim 1, characterized in that After the step of updating the message information according to the routing strategy based on the working mode to obtain an updated message, the method further comprises: When the updated message indicates that the device performance indicator is abnormal, the fault diagnosis mechanism is executed; Adjust the packet routing strategy or service package configuration to optimize network communication and system response.

8. A message monitoring and updating device, characterized in that: The device comprises: An acquisition module, used to obtain message information; The acquisition module is further used to send instructions to the controller so that the controller loads and executes the controller boot program to obtain device information; A monitoring module, used to monitor according to the device information to obtain a working mode; An execution module is used to update the message information according to the routing strategy based on the working mode to obtain an updated message.

9. A message monitoring and updating device, characterized in that: The device comprises: a memory, a processor, and a message monitoring and updating program stored in the memory and executable on the processor, wherein the message monitoring and updating program is configured to implement the steps of the message monitoring and updating method according to any one of claims 1 to 7.

10. A medium, characterized in that The medium stores a message monitoring and updating program, and when the message monitoring and updating program is executed by the processor, the steps of the message monitoring and updating method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Vehicle-mounted gateway-based method for improving vehicle-mounted network reliability

    CN104125152A

  • Vehicle fault detection method and system

    CN111176262A

  • Device and method for online flashing and configuration of vehicle-mounted gateway

    CN111475174A

  • Intelligent gateway service issuing method and system

    CN113949602A

  • Vehicle-mounted service gateway, vehicle-mounted service method and vehicle

    CN116248740A

Cited By

  • Vehicle diagnosis method and device, electronic equipment and storage medium

    CN121028746A