Vehicle controller remote debugging device and method
A communication channel is built through the cloud server, and different data transmission protocols are used to synchronously transmit controller parameters, operating data, and audio and video data, which solves the problem of low remote debugging efficiency of vehicle controllers and achieves efficient remote debugging and teaching guidance.
Patent Information
- Application Number
- CN202411355794.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-09-27
AI Technical Summary
The prior art cannot realize remote debugging of vehicle controllers, resulting in low debugging efficiency, low communication efficiency, and inability to synchronize on-site personnel.
Create a communication channel between the user end and the debugging terminal through the cloud server, use the control parameter transmission protocol to transmit the new controller parameters, operate the transmission protocol transmission operation data, audio and video transmission protocol transmission sound video data, to achieve synchronous transmission of remote debugging.
It achieves an on-site debugging experience, improves debugging efficiency, can simultaneously guide on-site personnel, and improves user experience.
Smart Images

Figure CN119342075A_ABST
Abstract
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 an inevitable choice for social and economic development, and the number of new energy vehicles produced has increased significantly. As new energy vehicles are exported to the world, suppliers need to debug, repair and teach vehicles for customers in different regions. If suppliers cannot be on site, they can only choose to solve it through traditional communication methods, such as telephone and video, but this is inefficient and the customer experience is poor.
[0003] Since the controller is the core component of the vehicle, it is necessary to frequently use the controller to debug the vehicle and troubleshoot vehicle problems. This process is relatively complicated and difficult for staff to teach the debugging process. At present, computers or special debuggers are used as vehicle debugging tools. Although they can debug corresponding parameters and upgrade controllers, they cannot be remotely controlled and cannot provide synchronous guidance to on-site personnel through audio and video, resulting in low communication efficiency. In addition, the debugger cannot view the status of on-site equipment, and the teaching purpose cannot be achieved. 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 end through a control parameter transmission protocol;
[0010] The user end is used to reconstruct the corresponding controller parameters according to the parameter characteristics to obtain a controller parameter table;
[0011] The cloud server is also used to generate an assistance authorization code according to the authorization token and the corresponding user information, and send the assistance authorization code to the debugging terminal;
[0012] The debugging end is used to use the assistance authorization code to communicate and match with the user end, 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 also used to send corresponding debugging data from the debugging terminal to the user terminal using a corresponding data transmission protocol according to the corresponding debugging instruction;
[0014] The vehicle controller is also used to modify the corresponding controller parameters according to the debugging data of the new controller parameters received by the user end, so as to complete 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 parameter and the check code of the set byte number are encapsulated into a data packet in the order of the byte header, the controller parameter and the check code to obtain a data packet corresponding to a plurality of controller parameters.
[0019] Furthermore, in the vehicle controller, sending corresponding controller parameters to the user end through a control parameter transmission protocol includes:
[0020] The plurality of data packets are read in blocks according to the set offset address and the preset reading amount to obtain a plurality of data blocks, the data packets corresponding to each data block are parsed respectively, 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 according to the set data packet header and sent to the user end.
[0021] Furthermore, in the vehicle controller, the data packets corresponding to each data block are parsed respectively, 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, in the debugging end, using the assistance authorization code to perform communication matching with the user end includes:
[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] Further, 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, synchronously forwarding the new controller parameters to the user end through a control parameter transmission protocol;
[0028] When the debugging instruction is to forward the 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 transfer audio and video data, the audio and video data are synchronously forwarded to the user end 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 end. When the user end parses the packaged operation data, a synchronization operation is performed according to the parsing result and displayed on a 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 of a corresponding parameter level according to 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 a control parameter transmission protocol. The user end 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 end. The debugging end uses the assistance authorization code to communicate with the user end, 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 as follows: 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 a debugging experience as if on the scene; an operation transmission protocol is used to transmit operation data, and remote debugging operation steps and result synchronization are achieved, 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 targeted debugging of vehicle controllers; an audio and video transmission protocol is used to transmit audio and video data, so that the operating status of the controller 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 provided by 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 a debugging process provided by an embodiment of the present invention;
[0046] Fig. 9 The present invention provides a flow chart of a remote debugging method for a vehicle controller. DETAILED DESCRIPTION
[0047] The principles and features of the present invention are described below in conjunction with 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, a vehicle controller remote debugging device provided by an embodiment of the present invention includes 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 end through a control parameter transmission protocol;
[0052] The user end 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 also used to generate an assistance authorization code according to the authorization token and the corresponding user information, and send the assistance authorization code to the debugging terminal;
[0054] The debugging end is used to use the assistance authorization code to communicate and match with the user end, 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 also used to send corresponding debugging data from the debugging terminal to the user terminal using a corresponding data transmission protocol according to the corresponding debugging instruction;
[0056] The vehicle controller is also used to modify the corresponding controller parameters according to the debugging data of the new controller parameters received by the user end, so as to complete the debugging of the vehicle controller.
[0057] In the 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 a debugging experience as if on the scene; an operation transmission protocol is used to transmit operation data, and remote debugging operation steps and result synchronization are achieved, 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 targeted debugging of the vehicle controller; an audio and video transmission protocol is used to transmit audio and video data, so that the operating status of the controller 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 mainly transmits data through the built-in debugging module or the external debugging module. The communication mode of the debugging module is low-power Bluetooth communication and 4G / 5G mobile communication. When there are multiple controllers on the CAN bus, the user end (i.e., the user debugging terminal) can switch the controller connected to the debugging module according to the device information to obtain different authorization tokens and different controller parameters. When the debugging module uses Bluetooth communication to transmit controller parameters, the controller parameters are directly transmitted to the user end through the control parameter transmission protocol; when the debugging module uses mobile communication to transmit controller parameters, the controller parameters are transmitted to the cloud server through the control parameter transmission protocol, and then the cloud server forwards the controller parameters to the user end.
[0059] It should be understood that the device information is the basic data of the debugging module, including the hardware version, hardware identification code, debugger type, software version, etc. When the user accesses the cloud server, the cloud server obtains the user information of the user (i.e., basic data, such as registered information such as user ID) 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 through a CAN or UART serial port to complete the construction of a data communication bridge between the vehicle controller and the chip.
[0060] In the embodiment of the present invention, the user information is matched with the vehicle controller information to allocate the corresponding acquisition authorization token according to the user authority level. Data communication with the user end can be directly carried out through low-power Bluetooth communication, and data forwarding is required by the cloud server through 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 a debugging module of a 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 a cloud server by mobile communication, and the authorization token is sent to a 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, the 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 the embodiment of the present invention, the parameter permission level that the user terminal can access is determined according to the authorization token issued by the cloud server, and the parameter data of the corresponding level is presented to the user terminal for subsequent debugging technicians to perform parameter debugging.
[0068] Preferably, if Figure 6 As shown, in the vehicle controller, before the step of sending the corresponding controller parameters to the user end through the control parameter transmission protocol, it includes:
[0069] The byte header of the set byte number, the corresponding controller parameter and the check code of the set byte number are encapsulated into a data packet in the order of the byte header, the controller parameter and the check code to obtain a data packet corresponding to a plurality of controller parameters.
[0070] Specifically, the data of the controller parameter system of the controller is obtained through CAN or UART communication, and a custom binary data protocol is used for encapsulation, including:
[0071] The mechanism of maintaining communication connection and detecting the status of the other party through heartbeat request and heartbeat reply is usually used to ensure that the communication link between two devices or systems is active and that the other party is continuously online and responsive. Read request is completed with one communication; because storage chips such as controller EEPROM need to be prepared in advance, data writing is completed with two communications, namely writing request and writing data. Obtaining the controller parameter system data of the controller mainly includes reading basic system information, reading DCF raw data files, reading parameters and writing parameters. If you need to increase the access type, you can expand the message header to increase the classification.
[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 and 2-byte read / write data length and 2-byte starting offset address and 2-byte checksum; Read reply: 1-byte message header and N-byte data and 2-byte checksum; Write request: 1-byte message header and 2-byte read / write data length and 2-byte starting offset address and 2-byte checksum; Write reply: 1-byte status (because the controller EEPROM and other storage chips require data preparation, here you need to tell the controller to prepare for the write action first, and the controller will prepare the resources and return the preparation status); Write data: N-byte data and 2-byte checksum; Write reply: 1-byte status.
[0074] Preferably, in the vehicle controller, sending corresponding controller parameters to the user terminal through 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 respectively converted into readable data, and each readable data is respectively encapsulated into a new data packet in a binary serialization format (such as MessagePack format) according to a 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, and during the reading process, the data is parsed and human-readable data is escaped, and the MessagePack package is converted into a Bluetooth and network transmittable format, and the package data is transmitted to the user end using low-power Bluetooth communication, or the package data is transmitted to the cloud server using mobile communication, and then forwarded to the user end by the cloud server.
[0077] Preferably, in the vehicle controller, parsing the data packets corresponding to each data block respectively includes:
[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, in the debugging end, using the assistance authorization code to communicate with the user end includes:
[0080] Generate an assistance request based on the assistance authorization code, and send the assistance request 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;
[0081] If the feedback information is acceptance, the communication matching is successful, and 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 debugging terminal of the assisted person), 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 (via phone calls, text messages, etc.); the debugging end (i.e., the debugging terminal of the debugger) sends the assisted person's authorization code to the cloud server; the cloud server forwards the debugging request and carries the debugging personnel information to the assisted debugging terminal; after receiving the debugging request, the assisted debugging terminal sends the processing result (acceptance or rejection) to the cloud server; the cloud server sends the processing result to the debugging terminal of the debugger.
[0083] It should be understood that the assistance authorization code is a unique identification code for the user, and it will automatically become invalid and be 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 will check the legitimacy of the debugger and the user's assistance authorization code. If it is legitimate, the assistance request will be pushed to the user. After the user receives the request and agrees, the two parties complete the matching session, and the cloud server will record the match, handle subsequent message forwarding, disconnection reconnection recovery, etc.
[0084] Preferably, the debugging data includes new controller parameters, operation 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, synchronously forwarding the new controller parameters to the user end through a control parameter transmission protocol;
[0087] When the debugging instruction is to forward the 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 transfer audio and video data, the audio and video data are synchronously forwarded to the user end 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 the embodiment of the present invention, a control parameter transmission protocol is used to transmit new controller parameters, and the communication delay is low, thereby realizing a debugging experience as if one is on site; an operation transmission protocol is used to transmit operation data, and remote debugging operation steps and result synchronization are realized, and the synchronization operation and result 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 operating status of the controller can be intuitively viewed, so as to improve the debugging efficiency of controller manufacturers and host manufacturers and enhance the 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 end. After the user end 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 end uses a data serialization tool to package the debugging action according to the set data packet header, and forwards it 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 requirements for network bandwidth, 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 (here taking JSON serialization as an example): {"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 as the "Configuration Parameters" page, the parameter node is "A", the type is a folder, and the corresponding click action is to expand, and the actions of jumping to the page, locating the folder, and expanding the folder are performed.
[0094] It should be understood that the actions during debugging can be understood as operations (clicks, input, output, etc.) and interface elements (original paths). When the communication session is matched, the debugging end can capture the operation action (i.e., operation data) and send it to the cloud server using MessagePack or JSON / Protobuff packages, which are then forwarded to the assisted party (i.e., the user end). After receiving the forwarded operation synchronization message, the assisted party parses the message, determines the interface and interface elements, and displays them synchronously according to the operation.
[0095] In the embodiment of the present invention, the physical resolution, system, and program implementation specificity of the terminal operation device can be completely ignored, so that the synchronous display of the debugging end and the user end is completely consistent. The difference in end-to-end display is shielded, the amount of transmitted data is extremely small, the response is fast, and the implementation is simple.
[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 through the control parameter transmission protocol (i.e., DCF parameter protocol) based on the cloud server, and displayed on the display interface of the debugging end for the debugging personnel to view.
[0097] The debugging personnel perform debugging such as parameter reading, writing, importing, exporting, firmware upgrading and fault diagnosis on the debugging end. 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 write request format according to the set binary data protocol 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 data are synchronously forwarded to the debugging end through the cloud server using the audio and video transmission protocol (RTC protocol), 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 and video data are synchronously forwarded to the user end through the cloud server using the audio and video transmission protocol, so that the user can clearly understand the debugging plan and 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 Fig. 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 of a corresponding parameter level according to 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 a control parameter transmission protocol. The user end 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 end. The debugging end uses the assistance authorization code to communicate with the user end, 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 article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[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 only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose 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 principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A vehicle controller remote debugging device, characterized in that: Includes vehicle controller, user end, cloud server and debugging end; 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 end through a control parameter transmission protocol; The user end is used to reconstruct the corresponding controller parameters according to the parameter characteristics to obtain a controller parameter table; The cloud server is also used to generate an assistance authorization code according to the authorization token and the corresponding user information, and send the assistance authorization code to the debugging terminal; The debugging end is used to use the assistance authorization code to communicate and match with the user end, 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 used to send corresponding debugging data from the debugging terminal to the user terminal using a corresponding data transmission protocol according to the corresponding debugging instruction; The vehicle controller is also used to modify the corresponding controller parameters according to the debugging data of the new controller parameters received by the user end, so as to complete 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 step includes: The byte header of the set byte number, the corresponding controller parameter and the check code of the set byte number are encapsulated into a data packet in the order of the byte header, the controller parameter and the check code to obtain a data packet corresponding to a plurality of 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 end through a control parameter transmission protocol includes: The plurality of data packets are read in blocks according to the set offset address and the preset reading amount to obtain a plurality of data blocks, the data packets corresponding to each data block are parsed respectively, 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 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 respectively, 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: In the debugging end, using the assistance authorization code to perform communication matching with the user end includes: 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 the 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 transfer audio and video data, the audio and video data are synchronously forwarded to the user end 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 end. When the user end parses the packaged operation data, a synchronization operation is performed according to the parsing result and displayed on a 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 of a corresponding parameter level according to 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 a 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 end. The debugging end uses the assistance authorization code to communicate with the user end, 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 selects corresponding controller parameters according to the authorization token, including: The vehicle controller parses the authorization token to obtain a parameter access level, and screens all controller parameters according to the parameter access level to obtain corresponding controller parameters.
Citation Information
Patent Citations
A parameter adaptation system and method based on a remote debugging technology
CN109729161A
Information processing method and device, storage medium, debugging equipment and vehicle
CN113726854A
Automobile ECU remote debugging method and system
CN116069001A
Vehicle remote debugging method and device, terminal equipment and storage medium
CN116149886A
Vehicle remote driving system established by primary and secondary wireless devices by means of internet of things connection
WO2020151468A1