Vehicle controller remote debugging device and method

By building a communication channel through the cloud server and using different data transmission protocols to synchronously transmit debugging data, the low efficiency problem of remote debugging of vehicle controllers is solved, and the on-site experience and teaching effect of remote debugging are achieved.

CN119342075BActive Publication Date: 2025-09-30DALA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411355794.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-09-30
Estimated Expiration
2044-09-27

AI Technical Summary

Technical Problem

Existing technologies cannot achieve remote debugging of vehicle controllers, resulting in low communication efficiency and inability to view the status of on-site equipment, affecting debugging efficiency and teaching effectiveness.

Method used

A communication channel is established between the user end and the debugging end through the cloud server, and different data transmission protocols are used to synchronously transmit debugging data, including controller parameters, operation data, and audio and video data, to achieve synchronization of remote debugging operation steps and results.

Benefits of technology

It improves the debugging efficiency of controller manufacturers and host manufacturers, enhances the user experience, and achieves on-site debugging experience and teaching effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342075B_ABST
    Figure CN119342075B_ABST
Patent Text Reader

Abstract

The present invention provides a vehicle controller remote debugging device and method, relating to the field of remote debugging technology; the device comprises: a cloud server generates an authorization token according to device information and user information, the vehicle controller filters out controller parameters according to the authorization token, and sends the controller parameters to the user end through a control parameter transmission protocol to reconstruct a controller parameter table; the cloud server generates an auxiliary authorization code according to the authorization token and user information, the debugging end uses the auxiliary authorization code to perform communication matching with the user end, and debugs the controller parameter table, and for different categories of data generated during the debugging process, uses the corresponding data transmission protocol on the channel after communication matching to synchronously transmit them, so that on-site personnel can be synchronously guided on the basis of targeted debugging of the vehicle controller, and can intuitively view the controller operation status, so as to improve the debugging efficiency of the controller manufacturer and the host manufacturer and enhance the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the technical field of remote debugging, and in particular to a vehicle controller remote debugging device and method. Background Art

[0002] Energy conservation and emission reduction have become inevitable requirements for socioeconomic development, driving a significant increase in the production of new energy vehicles. With the global export of new energy vehicles, suppliers are required to individually perform vehicle commissioning, maintenance, and training for customers in different regions. If suppliers cannot be physically present on-site, they must rely on traditional communication methods such as phone and video calls, which are inefficient and result in a poor customer experience.

[0003] Because the controller is a core component of the vehicle, it must be frequently used to debug and troubleshoot the vehicle. This process is complex and challenging for staff to teach. Currently, vehicle debugging tools rely solely on computers or dedicated debuggers. While these tools can debug parameters and upgrade controllers, they lack remote control and cannot provide simultaneous audio and video guidance to on-site personnel. This results in inefficient communication and prevents debuggers from viewing on-site equipment status, defeating the purpose of teaching. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a vehicle controller remote debugging device and method in view of the deficiencies in the prior art.

[0005] The technical solution of the present invention to solve the above technical problems is as follows:

[0006] A vehicle controller remote debugging device, comprising a vehicle controller, a user terminal, a cloud server, and a debugging terminal;

[0007] The vehicle controller is associated with the user information of the user terminal through the device information, and is connected to the user terminal and the cloud server respectively; the cloud server is associated with the user terminal and the debugging terminal based on the corresponding user information, and is connected to the user terminal and the debugging terminal respectively;

[0008] The cloud server is used to generate an authorization token corresponding to the parameter level according to the device information and the corresponding user information, and send the authorization token to the vehicle controller;

[0009] The vehicle controller is used to filter out corresponding controller parameters according to the authorization token, and send the corresponding controller parameters to the user terminal through a control parameter transmission protocol;

[0010] The user terminal is used to reconstruct the corresponding controller parameters according to the parameter characteristics to obtain a controller parameter table;

[0011] The cloud server is further configured to generate an assistance authorization code according to the authorization token and corresponding user information, and send the assistance authorization code to the debugging terminal;

[0012] The debugging terminal is used to use the assistance authorization code to communicate with the user terminal, debug the controller parameter table, perform category detection on the debugging data, and generate diversified debugging instructions to send to the cloud server;

[0013] The cloud server is further configured to send corresponding debugging data from the debugging terminal to the user terminal using a corresponding data transmission protocol according to a corresponding debugging instruction;

[0014] The vehicle controller is further configured to modify corresponding controller parameters according to the debugging data for new controller parameters received by the user end, thereby completing the debugging of the vehicle controller.

[0015] Furthermore, in the vehicle controller, corresponding controller parameters are screened out according to the authorization token, including:

[0016] The authorization token is parsed to obtain a parameter access level, and all controller parameters are screened according to the parameter access level to obtain corresponding controller parameters.

[0017] Furthermore, in the vehicle controller, before the step of sending the corresponding controller parameters to the user terminal through the control parameter transmission protocol, the step includes:

[0018] The byte header of the set byte number, the corresponding controller parameters and the check code of the set byte number are encapsulated into a data packet in the order of the byte header, the controller parameters and the check code to obtain data packets corresponding to the multiple controller parameters.

[0019] Furthermore, in the vehicle controller, sending corresponding controller parameters to the user terminal through a control parameter transmission protocol includes:

[0020] Multiple data packets are read in blocks according to the set offset address and the preset reading amount to obtain multiple data blocks, and the data packets corresponding to each data block are parsed respectively, and the parsed data packets are converted into readable data respectively, and each readable data is encapsulated into a new data packet in a binary serialized format according to the set data packet header, and sent to the user end.

[0021] Furthermore, the vehicle controller parses the data packets corresponding to each data block, including:

[0022] When the parameter access level is the encryption level, the data packet of the corresponding data block is parsed using the DES encryption algorithm; when the parameter access level is the non-encryption level, the data packet of the corresponding data block is parsed using a preset parsing format.

[0023] Furthermore, the debugging end uses the assistance authorization code to perform communication matching with the user end, including:

[0024] An assistance request is generated based on the assistance authorization code, and the assistance request is sent to a cloud server; the cloud server matches the assistance authorization code with each user information to a corresponding user terminal, and sends the assistance request to the corresponding user terminal; the user terminal sends feedback information of the assistance request to the cloud server, and the cloud server sends the feedback information to the debugging terminal.

[0025] Furthermore, the debugging data includes new controller parameters, operation data and audio and video data;

[0026] In the cloud server, according to the corresponding debugging instruction, using the corresponding data transmission protocol to send the corresponding debugging data from the debugging end to the user end includes:

[0027] When the debugging instruction is to forward controller parameter data, the new controller parameters are synchronously forwarded to the user end through a control parameter transmission protocol;

[0028] When the debugging instruction is to forward operation data, the operation data is synchronously forwarded to the display interface of the user terminal for display through the operation transmission protocol;

[0029] When the debugging instruction is to forward audio and video data, the audio and video data are synchronously forwarded to the user terminal through an audio and video transmission protocol.

[0030] Furthermore, in the cloud server, synchronously forwarding the operation data to the display interface of the user terminal for display through the operation transmission protocol includes:

[0031] The operation data is packaged according to the set data packet header through a data serialization tool, and the packaged operation data is forwarded to the user terminal. After the user terminal parses the packaged operation data, it performs synchronization operations according to the parsing results and displays them on the display interface.

[0032] Another technical solution of the present invention to solve the above technical problems is as follows:

[0033] A vehicle controller remote debugging method, applied to the vehicle controller remote debugging device, comprising:

[0034] The cloud server generates an authorization token corresponding to the parameter level based on the device information and the corresponding user information, and sends the authorization token to the vehicle controller. The vehicle controller selects the corresponding controller parameters according to the authorization token and sends the corresponding controller parameters to the user terminal through the control parameter transmission protocol. The user terminal reconstructs the corresponding controller parameters according to the parameter characteristics to obtain a controller parameter table.

[0035] The cloud server generates an assistance authorization code according to the authorization token and the corresponding user information, and sends the assistance authorization code to the debugging terminal. The debugging terminal uses the assistance authorization code to communicate with the user terminal, debugs the controller parameter table, performs category detection on the debugging data, and generates diversified debugging instructions and sends them to the cloud server.

[0036] The cloud server sends the corresponding debugging data from the debugging end to the user end using the corresponding data transmission protocol according to the corresponding debugging instructions. The vehicle controller modifies the corresponding controller parameters according to the debugging data of the new controller parameters received by the user end to complete the debugging of the vehicle controller.

[0037] The beneficial effects of the present invention are: building a communication channel between the user end and the debugging end through the cloud server, and using the corresponding data transmission protocol on the communication channel to synchronize the different data generated during the debugging process; using the control parameter transmission protocol to transmit new controller parameters, with low communication delay, thereby achieving a debugging experience as if on the scene; using the operation transmission protocol to transmit operation data, realizing remote debugging operation steps and result synchronization, synchronizing the synchronization operation and results to the user end, thereby conducting debugging teaching, so that on-site personnel can be synchronously guided based on the targeted debugging of the vehicle controller; using the audio and video transmission protocol to transmit audio and video data, the controller operation status can be intuitively viewed, so as to improve the debugging efficiency of controller manufacturers and host manufacturers, and enhance user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A module block diagram of a vehicle controller remote debugging device provided by an embodiment of the present invention;

[0039] Figure 2 A schematic diagram of a user terminal accessing a cloud server according to an embodiment of the present invention;

[0040] Figure 3 A schematic diagram of Bluetooth communication transmission provided by an embodiment of the present invention;

[0041] Figure 4 A schematic diagram of mobile communication transmission provided by an embodiment of the present invention;

[0042] Figure 5A schematic diagram of multi-terminal communication transmission provided by an embodiment of the present invention;

[0043] Figure 6 A schematic diagram of serial port communication of a vehicle controller provided by an embodiment of the present invention;

[0044] Figure 7 A schematic diagram of communication matching between a user terminal and a debugging terminal provided by an embodiment of the present invention;

[0045] Figure 8 A schematic diagram of data transmission during the debugging process provided by an embodiment of the present invention;

[0046] Figure 9 This is a flowchart of a vehicle controller remote debugging method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The principles and features of the present invention are described below with reference to the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0048] like Figure 1 As shown, an embodiment of the present invention provides a vehicle controller remote debugging device, including a vehicle controller, a user terminal, a cloud server and a debugging terminal;

[0049] The vehicle controller is associated with the user information of the user terminal through the device information, and is connected to the user terminal and the cloud server respectively; the cloud server is associated with the user terminal and the debugging terminal based on the corresponding user information, and is connected to the user terminal and the debugging terminal respectively;

[0050] The cloud server is used to match the device information with the corresponding user information, generate an authorization token corresponding to the parameter level according to the matching result, and send the authorization token to the vehicle controller;

[0051] The vehicle controller is used to filter out corresponding controller parameters according to the authorization token, and send the corresponding controller parameters to the user terminal through a control parameter transmission protocol;

[0052] The user terminal is used to reconstruct the corresponding controller parameters according to parameter characteristics (such as parameter nodes and parameter types) to obtain a controller parameter table;

[0053] The cloud server is further configured to generate an assistance authorization code according to the authorization token and corresponding user information, and send the assistance authorization code to the debugging terminal;

[0054] The debugging terminal is used to use the assistance authorization code to communicate with the user terminal, debug the controller parameter table, perform category detection on the debugging data, and generate diversified debugging instructions to send to the cloud server;

[0055] The cloud server is further configured to send corresponding debugging data from the debugging terminal to the user terminal using a corresponding data transmission protocol according to a corresponding debugging instruction;

[0056] The vehicle controller is further configured to modify corresponding controller parameters according to the debugging data for new controller parameters received by the user end, thereby completing the debugging of the vehicle controller.

[0057] In an embodiment of the present invention, a communication channel between the user end and the debugging end is established through a cloud server, and corresponding data transmission protocols are used on the communication channel for synchronous transmission of different data generated during the debugging process; a control parameter transmission protocol is used to transmit new controller parameters, and communication delay is low, thereby achieving an on-site debugging experience; an operation transmission protocol is used to transmit operation data, and remote debugging operation steps and results are synchronized, and the synchronization operations and results are synchronized to the user end, so as to carry out debugging teaching, so that on-site personnel can be synchronously guided based on targeted debugging of the vehicle controller; an audio and video transmission protocol is used to transmit audio and video data, so that the controller operation status can be intuitively viewed, so as to improve the debugging efficiency of controller manufacturers and host manufacturers and enhance user experience.

[0058] Preferably, if Figure 2-Figure 4 As shown, the vehicle controller primarily transmits data via a built-in or external debugging module. The debugging module communicates via Bluetooth low energy or 4G / 5G mobile communications. When multiple controllers are on the CAN bus, the user (i.e., the user debugging terminal) can switch the controller connected to the debugging module based on device information to obtain different authorization tokens and controller parameters. When the debugging module transmits controller parameters via Bluetooth communication, the parameters are directly transmitted to the user via the control parameter transmission protocol. When the debugging module transmits controller parameters via mobile communication, the parameters are transmitted to the cloud server via the control parameter transmission protocol, which then forwards the parameters to the user.

[0059] It should be understood that device information refers to the basic data of the debugging module, including the hardware version, hardware identification code, debugger type, software version, etc. When a user accesses the cloud server, the cloud server obtains the user information (i.e., basic data, such as user ID and other registered information) and the basic data of the debugging module when the user logs in. The data processing process of the debugging module can be integrated into the chip, and the chip can be connected to the vehicle controller via a CAN or UART serial port to complete the data communication bridge between the vehicle controller and the chip.

[0060] In this embodiment of the present invention, user information is matched with vehicle controller information to assign corresponding authorization tokens based on the user's permission level. Data communication with the user end can be directly carried out via low-power Bluetooth communication, while data forwarding is required by the cloud server via mobile communication.

[0061] Preferably, if Figure 5 As shown, in the cloud server, sending the authorization token to the vehicle controller includes:

[0062] The authorization token is sent to the user terminal by using a mobile communication method, and the user terminal sends the authorization token to the debugging module of the vehicle controller by using a Bluetooth communication method;

[0063] Or the authorization token is sent to the user terminal by mobile communication, and the user terminal sends the authorization token to the cloud server by mobile communication, and the authorization token is sent to the debugging module of the vehicle controller through the cloud server; the authorization token is parsed by the debugging module to obtain the parameter access level.

[0064] It should be understood that Bluetooth communication or mobile communication is used between the vehicle controller (i.e., the vehicle to be debugged) and the user end (i.e., the client terminal), mobile communication is used between the vehicle controller and the cloud server, mobile communication is used between the user end and the cloud server, and mobile communication is used between the debugging end (i.e., the technical support terminal) and the cloud server, where mobile communication includes 4G, 5G, WiFi, and wired networks, etc.

[0065] Preferably, in the vehicle controller, corresponding controller parameters are screened out according to the authorization token, including:

[0066] The authorization token is parsed to obtain a parameter access level, and all controller parameters are screened according to the parameter access level to obtain corresponding controller parameters.

[0067] In an embodiment of the present invention, the parameter permission level that the user terminal can access is determined based on the authorization token issued by the cloud server, and the parameter data of the corresponding level is presented to the user terminal for subsequent parameter debugging by debugging technicians.

[0068] Preferably, if Figure 6 As shown, in the vehicle controller, before the step of sending the corresponding controller parameters to the user terminal through the control parameter transmission protocol, the step includes:

[0069] The byte header of the set byte number, the corresponding controller parameters and the check code of the set byte number are encapsulated into a data packet in the order of the byte header, the controller parameters and the check code to obtain data packets corresponding to the multiple controller parameters.

[0070] Specifically, the controller parameter system data of the controller is obtained through CAN or UART communication, and a custom binary data protocol is used for encapsulation, including:

[0071] A mechanism that maintains communication connections and detects the status of other devices through heartbeat requests and replies is typically used to ensure that the communication link between two devices or systems is active and that the other party remains online and responsive. Read requests are completed in a single communication; because memory chips such as the controller's EEPROM require pre-processing, writing data requires two communications: writing the request and writing the data. Obtaining controller parameter system data primarily involves reading basic system information, reading DCF raw data files, reading parameters, and writing parameters. To add additional access types, the message header can be expanded to add additional categories.

[0072] It should be understood that the settings for the encapsulated binary data protocol are:

[0073] Heartbeat request: 0x24; Heartbeat reply: 0xAA; Read request: 1-byte message header, 2-byte read / write data length, 2-byte starting offset address, and 2-byte checksum; Read reply: 1-byte message header, N-byte data, and 2-byte checksum; Write request: 1-byte message header, 2-byte read / write data length, 2-byte starting offset address, and 2-byte checksum; Write reply: 1-byte status (because the controller's EEPROM and other storage chips require data preparation, it is necessary to first tell the controller to prepare for the write action before the controller prepares the resources and returns the readiness status); Write data: N-byte data and 2-byte checksum; Write reply: 1-byte status.

[0074] Preferably, in the vehicle controller, sending the corresponding controller parameters to the user terminal via a control parameter transmission protocol includes:

[0075] Multiple data packets are read in blocks according to the set offset address and the preset reading amount to obtain multiple data blocks, and the data packets corresponding to each data block are parsed respectively, and the parsed data packets are converted into readable data respectively, and each readable data is encapsulated into a new data packet in a binary serialization format (such as MessagePack format) according to the set data packet header (such as "%") and sent to the user end.

[0076] In an embodiment of the present invention, the original data file of the controller parameter system (i.e., the DCF data file) is read in small blocks. During the reading process, the data is parsed and human-readable data is escaped. The data is packaged into a Bluetooth and network transmittable format via MessagePack, and low-power Bluetooth communication is used to transmit the packaged data to the user end, or mobile communication is used to transmit the packaged data to the cloud server, which is then forwarded to the user end by the cloud server.

[0077] Preferably, the vehicle controller parses the data packets corresponding to each data block separately, including:

[0078] When the parameter access level is the encryption level, the data packet of the corresponding data block is parsed using the DES encryption algorithm; when the parameter access level is the non-encryption level, the data packet of the corresponding data block is parsed using a preset parsing format.

[0079] Preferably, if Figure 7 As shown, the debugging end uses the assistance authorization code to communicate with the user end, including:

[0080] generating an assistance request based on the assistance authorization code and sending the assistance request to a cloud server; the cloud server matching the assistance authorization code with each user's information to a corresponding user terminal and sending the assistance request to the corresponding user terminal; the user terminal sending feedback information about the assistance request to the cloud server, and the cloud server sending the feedback information to the debugging terminal;

[0081] If the feedback information is acceptance, the communication matching is successful; if the feedback information is rejection, the communication matching fails.

[0082] Specifically, the user logs in to the cloud server from the user end (i.e., the assisted debugging terminal), enters the remote assistance page to automatically obtain the assistance authorization code generated by the cloud server, copies the assistance authorization code and shares it with the debugger (you can use phone calls, text messages, etc.); the debugging end (i.e., the debugger's debugging terminal) sends the assisted authorization code to the cloud server; the cloud server forwards the debugging request and carries the debugger's information to the assisted debugging terminal; after receiving the debugging request, the assisted debugging terminal sends the processing result (accept or reject) to the cloud server; the cloud server sends the processing result to the debugger's debugging terminal.

[0083] It should be understood that the assistance authorization code is a unique identification code for the user. It automatically expires and is released after the user exits the remote assistance communication channel for a period of time. After the debugger enters the user's assistance authorization code and clicks Start Assistance, the cloud server verifies the legitimacy of both the debugger and the user's assistance authorization code. If valid, the assistance request is pushed to the user. Once the user receives and agrees to the request, the two parties complete the matching session. The cloud server records the match and handles subsequent message forwarding, disconnection reconnection, and other related recovery tasks.

[0084] Preferably, the debugging data includes new controller parameters, operating data and audio and video data;

[0085] In the cloud server, according to the corresponding debugging instruction, using the corresponding data transmission protocol to send the corresponding debugging data from the debugging end to the user end includes:

[0086] When the debugging instruction is to forward controller parameter data, the new controller parameters are synchronously forwarded to the user end through a control parameter transmission protocol;

[0087] When the debugging instruction is to forward operation data, the operation data is synchronously forwarded to the display interface of the user terminal for display through the operation transmission protocol;

[0088] When the debugging instruction is to forward audio and video data, the audio and video data are synchronously forwarded to the user terminal through an audio and video transmission protocol.

[0089] Preferably, the user terminal is also used to detect new audio and video data and generate debugging instructions for forwarding the new audio and video data; the cloud server is also used to send the new audio and video data from the user terminal to the debugging terminal using an audio and video transmission protocol according to the debugging instructions for forwarding the new audio and video data.

[0090] In an embodiment of the present invention, a control parameter transmission protocol is used to transmit new controller parameters, with low communication delay, thereby achieving an on-site debugging experience; an operation transmission protocol is used to transmit operation data, thereby achieving remote debugging operation steps and result synchronization, and the synchronization operation and results are synchronized to the user end, so as to carry out debugging teaching, so that on-site personnel can be synchronously guided based on the targeted debugging of the vehicle controller; an audio and video transmission protocol is used to transmit audio and video data, so that the controller operation status can be intuitively viewed, thereby improving the debugging efficiency of controller manufacturers and host manufacturers, and enhancing user experience.

[0091] Preferably, in the cloud server, synchronously forwarding the operation data to the display interface of the user terminal for display through the operation transmission protocol includes:

[0092] The operation data is packaged according to the set data packet header (such as "@") through a data serialization tool, and the packaged operation data is forwarded to the user terminal. After the user terminal parses the packaged operation data, it performs synchronization operations according to the parsing results and displays them on the display interface.

[0093] Specifically, the debugging action is packaged on the debugging end according to the set data packet header through a data serialization tool, and forwarded to the user end through the cloud server, which is then parsed by the user end and displayed on the display interface. Among them, the packaging uses data serialization tools such as MessagePack or JSON / Protobuff, which makes the data volume extremely small and has low network bandwidth requirements, thereby achieving fast response. For example, the debugging end clicks on the parameter folder "A", and the local display is "Folder A" expanded; the debugging end sends a click action to the cloud server (JSON serialization is used as an example here): {"action":"click","target":" / config / A"}, and the cloud server forwards this data to the matching user end after receiving it; the user end parses the data after receiving it, and obtains the operation data as a click action, the target path is config / A, and it is parsed into the "Configuration Parameters" page, the parameter node is "A", the type is a folder, and the corresponding click action is to expand, and the action of jumping to the page, locating the folder, and expanding the folder is performed.

[0094] It should be understood that debugging actions can be understood as operations (clicks, input, output, etc.) and interface elements (original paths). Once the communication session is matched, the debugger can capture the operation actions (i.e., operation data) and encapsulate them using MessagePack or JSON / Protobuff, sending them to the cloud server. The cloud server then forwards them to the assisted client (i.e., the user client). Upon receiving the forwarded operation synchronization message, the assisted client parses the message, identifies the interface and interface elements, and synchronizes the display based on the operation.

[0095] In the embodiments of the present invention, the specificities of the physical resolution, system, and program implementation of the terminal operating device can be completely ignored, and the synchronous display of the debugging end and the user end is completely consistent. This shields the difference in end-to-end display, transmits minimal data, responds quickly, and is simple to implement.

[0096] like Figure 8 As shown, after the communication channel between the user end and the debugging end is established, the controller parameter table is synchronously forwarded to the debugging end based on the cloud server through the control parameter transmission protocol (i.e., DCF parameter protocol), and displayed on the display interface of the debugging end for the debugging personnel to view.

[0097] The debugging personnel perform debugging on the debugging end, such as reading, writing, importing, exporting, firmware upgrading and fault diagnosis of the controller parameters. When the controller parameters are changed (i.e., writing, importing and firmware upgrading), the new controller parameters are transmitted from the debugging end to the user end through the cloud server using the control parameter transmission protocol and displayed on the display interface of the user end. The new controller parameters are transmitted to the vehicle controller through the user end using the control parameter transmission protocol, and the new controller parameters are written to the vehicle controller according to the set binary data protocol and the write request format to complete the controller parameter debugging.

[0098] When the debugging personnel perform debugging operations on the controller at the debugging end, the operation data is synchronously forwarded to the user end for real-time display through the cloud server using the operation transmission protocol (i.e., operation synchronization protocol).

[0099] When the user end generates audio data and video data, the audio and video transmission protocol (RTC protocol) is used through the cloud server to synchronously forward the audio data and video data to the debugging end, so that the debugging personnel can intuitively view the operating status of the controller; when the debugging end generates audio data and video data, the audio data and video data are used through the cloud server to synchronously forward the audio data and video data to the user end, so that the user can clearly understand the debugging plan and thus conduct debugging teaching.

[0100] Among them, different data generated during the debugging process (i.e., controller parameter data, audio and video data, and operation data) are encapsulated using different data packet headers, and each data transmission protocol uses different cloud server ports or different physical servers for data forwarding; the data packet header is set to a special character or string, for example, the controller parameter data and interaction header is "%", the user-side negotiation with the server (such as authentication, matching interaction, matching data, disconnection notification, reconnection notification, etc.) is "!", and the operation synchronization data is "@". The controller parameter data and operation data are forwarded by the same cloud server, so the encapsulated data packet header is distinguished, and audio and video interactions are forwarded using different cloud servers. The cloud server can be horizontally expanded according to the number of users and can be dynamically increased or decreased.

[0101] like Figure 9 As shown, a vehicle controller remote debugging method provided by an embodiment of the present invention is applied to the vehicle controller remote debugging device, comprising the following steps:

[0102] The cloud server generates an authorization token corresponding to the parameter level based on the device information and the corresponding user information, and sends the authorization token to the vehicle controller. The vehicle controller selects the corresponding controller parameters according to the authorization token and sends the corresponding controller parameters to the user terminal through the control parameter transmission protocol. The user terminal reconstructs the corresponding controller parameters according to the parameter characteristics to obtain a controller parameter table.

[0103] The cloud server generates an assistance authorization code according to the authorization token and the corresponding user information, and sends the assistance authorization code to the debugging terminal. The debugging terminal uses the assistance authorization code to communicate with the user terminal, debugs the controller parameter table, performs category detection on the debugging data, and generates diversified debugging instructions and sends them to the cloud server.

[0104] The cloud server sends the corresponding debugging data from the debugging end to the user end using the corresponding data transmission protocol according to the corresponding debugging instructions. The vehicle controller modifies the corresponding controller parameters according to the debugging data of the new controller parameters received by the user end to complete the debugging of the vehicle controller.

[0105] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus.

[0106] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is merely a logical functional division. In actual implementation, other division methods may be used, such as combining or integrating multiple units or components into another system, or ignoring or not implementing certain features.

[0107] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected based on actual needs to achieve the objectives of the embodiments of the present invention.

[0108] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A vehicle controller remote debugging device, characterized in that: Including vehicle controller, user terminal, cloud server and debugging terminal; The vehicle controller is associated with the user information of the user terminal through the device information, and is connected to the user terminal and the cloud server respectively; the cloud server is associated with the user terminal and the debugging terminal based on the corresponding user information, and is connected to the user terminal and the debugging terminal respectively; The cloud server is used to generate an authorization token corresponding to the parameter level according to the device information and the corresponding user information, and send the authorization token to the vehicle controller; The vehicle controller is used to filter out corresponding controller parameters according to the authorization token, and send the corresponding controller parameters to the user terminal through a control parameter transmission protocol; The user terminal is used to reconstruct the corresponding controller parameters according to the parameter characteristics to obtain a controller parameter table; The cloud server is further configured to generate an assistance authorization code according to the authorization token and corresponding user information, and send the assistance authorization code to the debugging terminal; The debugging terminal is used to use the assistance authorization code to communicate with the user terminal, debug the controller parameter table, perform category detection on the debugging data, and generate diversified debugging instructions to send to the cloud server; The cloud server is further configured to send corresponding debugging data from the debugging terminal to the user terminal using a corresponding data transmission protocol according to a corresponding debugging instruction; The vehicle controller is further configured to modify corresponding controller parameters according to the debugging data for new controller parameters received by the user end, thereby completing the debugging of the vehicle controller.

2. The vehicle controller remote debugging device according to claim 1, characterized in that: In the vehicle controller, corresponding controller parameters are screened out according to the authorization token, including: The authorization token is parsed to obtain a parameter access level, and all controller parameters are screened according to the parameter access level to obtain corresponding controller parameters.

3. The vehicle controller remote debugging device according to claim 2, characterized in that: In the vehicle controller, before the step of sending the corresponding controller parameters to the user terminal through the control parameter transmission protocol, the method includes: The byte header of the set byte number, the corresponding controller parameters and the check code of the set byte number are encapsulated into a data packet in the order of the byte header, the controller parameters and the check code to obtain data packets corresponding to the multiple controller parameters.

4. The vehicle controller remote debugging device according to claim 3, characterized in that: In the vehicle controller, sending corresponding controller parameters to the user terminal through a control parameter transmission protocol includes: Multiple data packets are read in blocks according to the set offset address and the preset reading amount to obtain multiple data blocks, and the data packets corresponding to each data block are parsed respectively, and the parsed data packets are converted into readable data respectively, and each readable data is encapsulated into a new data packet in a binary serialized format according to the set data packet header, and sent to the user end.

5. The vehicle controller remote debugging device according to claim 4, characterized in that: In the vehicle controller, the data packets corresponding to each data block are parsed separately, including: When the parameter access level is the encryption level, the data packet of the corresponding data block is parsed using the DES encryption algorithm; when the parameter access level is the non-encryption level, the data packet of the corresponding data block is parsed using a preset parsing format.

6. The vehicle controller remote debugging device according to claim 1, characterized in that: The debugging end uses the assistance authorization code to perform communication matching with the user end, including: An assistance request is generated based on the assistance authorization code, and the assistance request is sent to a cloud server; the cloud server matches the assistance authorization code with each user information to a corresponding user terminal, and sends the assistance request to the corresponding user terminal; the user terminal sends feedback information of the assistance request to the cloud server, and the cloud server sends the feedback information to the debugging terminal.

7. The vehicle controller remote debugging device according to claim 1, characterized in that: The debugging data includes new controller parameters, operation data and audio and video data; In the cloud server, according to the corresponding debugging instruction, using the corresponding data transmission protocol to send the corresponding debugging data from the debugging end to the user end includes: When the debugging instruction is to forward controller parameter data, synchronously forwarding the new controller parameters to the user end through a control parameter transmission protocol; When the debugging instruction is to forward operation data, the operation data is synchronously forwarded to the display interface of the user terminal for display through the operation transmission protocol; When the debugging instruction is to forward audio and video data, the audio and video data are synchronously forwarded to the user terminal through an audio and video transmission protocol.

8. The vehicle controller remote debugging device according to claim 7, characterized in that: In the cloud server, synchronously forwarding the operation data to the display interface of the user terminal for display through the operation transmission protocol includes: The operation data is packaged according to the set data packet header through a data serialization tool, and the packaged operation data is forwarded to the user terminal. After the user terminal parses the packaged operation data, it performs synchronization operations according to the parsing results and displays them on the display interface.

9. A vehicle controller remote debugging method, applied to the vehicle controller remote debugging device, characterized in that: include: The cloud server generates an authorization token corresponding to the parameter level based on the device information and the corresponding user information, and sends the authorization token to the vehicle controller. The vehicle controller selects the corresponding controller parameters according to the authorization token and sends the corresponding controller parameters to the user end through the control parameter transmission protocol. The user end reconstructs the corresponding controller parameters according to the parameter characteristics to obtain a controller parameter table. The cloud server generates an assistance authorization code according to the authorization token and the corresponding user information, and sends the assistance authorization code to the debugging terminal. The debugging terminal uses the assistance authorization code to communicate with the user terminal, debugs the controller parameter table, performs category detection on the debugging data, and generates diversified debugging instructions and sends them to the cloud server. The cloud server sends the corresponding debugging data from the debugging end to the user end using the corresponding data transmission protocol according to the corresponding debugging instructions. The vehicle controller modifies the corresponding controller parameters according to the debugging data of the new controller parameters received by the user end to complete the debugging of the vehicle controller.

10. The vehicle controller remote debugging method according to claim 9, characterized in that: The vehicle controller filters out corresponding controller parameters according to the authorization token, including: The vehicle controller parses the authorization token to obtain a parameter access level, and filters all controller parameters according to the parameter access level to obtain corresponding controller parameters.