Upgrade method, device, equipment and storage medium
The method and device streamline the CAN upgrade process for digital key systems by obtaining identification information and determining a target upgrade mode, addressing complexity and security issues, thereby improving efficiency and protecting source code.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2026-03-04
AI Technical Summary
The existing CAN upgrade projects for digital key systems in vehicles have complex operating interfaces, require additional software installation, and cannot be easily operated, leading to low upgrade efficiency and the inclusion of source code that cannot be shared with organizations other than R&D.
A method and device that utilize a target terminal connected to a CAN hardware device to obtain identification information and determine a target upgrade mode, allowing for efficient upgrades of the digital key system without additional software installation, protecting the source code and improving upgrade efficiency.
The solution simplifies the upgrade process, enhances efficiency, and ensures that the source code remains secure by eliminating the need for additional software installation and sharing, while maintaining the integrity of the upgrade process.
Smart Images

Figure 0007823983000001 
Figure 0007823983000002 
Figure 0007823983000003
Abstract
Description
[Technical Field]
[0001] This application claims priority to a Chinese patent application bearing application number 202310276888.0, filed with the State Intellectual Property Office of the People's Republic of China on March 20, 2023, the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD The present application relates to the field of computer technology, for example, to an upgrade method, an apparatus, a device, and a storage medium. [Background technology]
[0003] When developing the upgrade function for each ECU in a digital key system, OEMs require that the digital key system ECU be upgraded via the vehicle's CAN (Controller Area Network) using either a diagnostic tester or the on-board infotainment navigation system. The total time for the digital key system upgrade must not exceed 10 minutes. During the development process, CAN upgrade projects are developed using CAN OE tools or Zhou Ligong's (Baidu) CAN box. However, the operating interface for CAN upgrade projects is complicated, and additional software must be installed and configured, resulting in low upgrade efficiency. The developed CAN upgrade projects include source code and cannot be provided for use by customers or organizations or teams other than R&D. Summary of the Invention [Problem to be solved by the invention]
[0004] The embodiments of the present application provide an upgrade method, device, equipment, and storage medium, which do not require the installation of other software, are easy to operate, further improve upgrade efficiency, do not require upgrading based on source code, and further protect the source code from disclosure. [Means for solving the problem]
[0005] According to one aspect of the present application, An upgrade method performed by a target terminal connected to a CAN hardware device and a digital key system, respectively, comprising: Obtaining identification information and target upgrade mode of a CAN hardware device; determining a target upgrade node according to the target upgrade mode; upgrading the digital key system based on an upgrade file corresponding to the target upgrade node and identification information of the CAN hardware device; Provide an upgrade method.
[0006] According to another aspect of the present application, an acquisition module for acquiring the identification information and target upgrade mode of the CAN hardware device; a determining module for determining a target upgrade node according to the target upgrade mode; an upgrade module for upgrading the digital key system based on an upgrade file corresponding to the target upgrade node and the identification information of the CAN hardware device; Provides upgrade equipment.
[0007] According to another aspect of the present application, at least one processor; a memory communicatively coupled to the at least one processor, the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor such that the at least one processor can perform an upgrade method described in any of the embodiments of the present application; Provide electronic devices.
[0008] According to another aspect of the present application, storing computer instructions that, when executed by a processor, implement the upgrade method described in any of the embodiments of the present application; A computer-readable storage medium is provided. [Effects of the Invention]
[0009] The embodiment of the present application obtains the identification information and target upgrade mode of the CAN hardware device, determines the target upgrade node based on the target upgrade mode, and upgrades the digital key system based on the upgrade file corresponding to the target upgrade node and the identification information of the CAN hardware device. This solves the problems that the operation interface of the CAN upgrade project is complicated, requires the installation and configuration of other software, reduces the upgrade efficiency, and the CAN upgrade project includes source code, which cannot be provided to organizations and teams other than customers or research and development for use. It does not require the installation of other software, is easy to operate, further improves the upgrade efficiency, does not require the upgrade based on the source code, and protects the source code from disclosure. [Brief explanation of the drawings]
[0010] [Figure 1] 1 is a flowchart of an upgrade method according to a first embodiment of the present application; [Figure 2] FIG. 10 is a structural schematic diagram of an upgrade device according to a second embodiment of the present invention. [Figure 3] FIG. 10 is a structural schematic diagram of an electronic device according to a third embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0011] It should be noted that the terms "first," "second," and the like in the present specification, claims, and drawings are used to distinguish between similar objects and are not necessarily used to describe a particular order or priority. It should be understood that the terms used in this specification, claims, and drawings may be interchanged under appropriate circumstances, such that the embodiments of the present invention described herein can be performed in orders other than those illustrated or described herein. Furthermore, the terms "comprise," "have," and any variations thereof are intended to cover non-exclusive inclusions; for example, a process, method, system, product, or apparatus comprising a series of steps or units need not be limited to the explicitly recited steps or units, but may include other steps or units not explicitly recited or inherent to such process, method, product, or apparatus.
[0012] It is understood that before using any of the technical solutions disclosed in each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the personal information related to the present disclosure should be informed to the user in an appropriate manner in accordance with relevant laws and regulations, and the user's permission should be obtained.
[0013] [Example 1] FIG. 1 is a flowchart of an upgrade method in a first embodiment of the present application, which is applicable to upgrading a digital key system. The method can be performed by an upgrade device in the first embodiment of the present application, which can be implemented in software and / or hardware. As shown in FIG. 1, the method is performed by a target terminal connected to a CAN hardware device and a digital key system, respectively. Specifically, the method includes the following steps:
[0014] In S110, the identification information of the CAN hardware device and the target upgrade mode are obtained.
[0015] The target terminal may be an operating terminal connected to the CAN hardware device and the digital key system, for example, a computer. The digital key system may be divided into a master module and a module to be upgraded, and there may be multiple modules to be upgraded. The master module includes a pre-processing node and a master controller node, and the module to be upgraded includes a slave controller node. The target terminal is connected to the CAN hardware device and the digital key system, respectively, and upgrades the digital key system based on the CAN hardware device. The master module in the digital key system and the target terminal communicate via a CAN channel. The target terminal can receive an upgrade file in the digital key system to upgrade the master module and / or the module to be upgraded. The module to be upgraded in the digital key system can be regarded as the flash partition of the master module and can perform the upgrade operation. The CAN hardware device and the master module in the digital key system can communicate using the CAN UDS protocol.
[0016] The CAN hardware device can be a CAN OE or a Zhou Ligong CAN box. The identification information of the CAN hardware device can be used to determine the CAN hardware device required for the digital key system upgrade. Organizations or teams that do not have the means to purchase CAN OE hardware can upgrade their digital key system with a Zhou Ligong CAN box to reduce upgrade costs.
[0017] Here, the target upgrade mode can be divided into two modes: the first upgrade mode can upgrade both the master module and the upgrade target module, and the second upgrade mode can upgrade only the upgrade target module. For example, the first upgrade mode can be a stage upgrade mode, and the second upgrade mode can be a single-antenna upgrade mode.
[0018] Specifically, the method for obtaining the identification information of the CAN hardware device and the target upgrade mode may be such that the target terminal polls and searches for the CAN hardware device currently connected to the target terminal, obtains the identification information of the CAN hardware device, and determines the target upgrade mode.
[0019] Preferably, obtaining the identification information and the target upgrade mode of the CAN hardware device comprises: displaying a list of CAN hardware devices in response to detecting a user touching a load device control in the upgrade interface; In response to detecting a user's touch operation on a CAN hardware device in the CAN hardware device list, acquiring identification information of the CAN hardware device; In response to detecting a user touching a target upgrade mode control in the upgrade interface, obtaining the target upgrade mode.
[0020] Here, the upgrade interface may include contents such as load device control, upgrade mode, master module, upgrade target module, pre-processing node, master controller node, slave controller node, version inquiry, and upgrade progress display frame, etc. The CAN hardware device list may include identification information corresponding to at least one CAN hardware device.
[0021] Specifically, the method of displaying the CAN hardware device list in response to detecting a user's touch operation on a load device control in the upgrade interface may be a method of polling and searching for CAN hardware devices connected to the target terminal in response to detecting a user's tap on a load device control in the upgrade interface, and displaying the CAN hardware device list.
[0022] Specifically, a method for acquiring identification information of a CAN hardware device in response to detection of a user's touch operation on a CAN hardware device in a CAN hardware device list may be a method for selecting the required CAN hardware from the displayed CAN hardware device list, and acquiring identification information of the CAN hardware device corresponding to the selected CAN hardware in response to detection that the user has tapped to select the required CAN hardware device.
[0023] Specifically, the method of obtaining the target upgrade mode in response to detecting a user touch operation on a target upgrade mode control in the upgrade interface may be a method in which the user taps the target upgrade mode control in the upgrade interface to confirm the target upgrade mode.
[0024] In S120, a target upgrade node is determined based on the target upgrade mode.
[0025] Here, the target upgrade node is a node that needs to be upgraded in the master module and / or the upgrade target module in the digital key system selected according to actual needs, where the master module includes a pre-processing node and a master controller node, and the upgrade target module includes a slave controller node.
[0026] Specifically, the method for determining the target upgrade node based on the target upgrade mode may be as follows: after determining the target upgrade mode, select a master module that needs to be upgraded and / or a module to be upgraded; the master module that needs to be upgraded selects a pre-processing node and a master controller node that needs to be upgraded; the module to be upgraded selects a slave controller node that needs to be upgraded; and the pre-processing node, the master controller node that needs to be upgraded, and the slave controller node that needs to be upgraded are all regarded as the target upgrade node. The method for determining the target upgrade node based on the target upgrade mode may further be as follows: determine a corresponding set of nodes to be upgraded based on the target upgrade mode, update the set of nodes to be upgraded based on the nodes to be upgraded selected by the user, and determine the target upgrade node based on the updated set of nodes to be upgraded.
[0027] Preferably, determining the target upgrade node based on the target upgrade mode includes: If the target upgrade mode is a first upgrade mode, generate a first set of upgrade target nodes according to the pre-processing node, the master controller node and the slave controller node, and determine a target upgrade node according to the first set of upgrade target nodes; If the target upgrade mode is a second upgrade mode, generating a second set of nodes to be upgraded based on the slave controller node, and determining the target upgrade node based on the second set of nodes to be upgraded.
[0028] Here, the master controller node may include a BOOT upgrade node, an APP upgrade node, and a BLE upgrade node, and the slave controller node may include a BOOT upgrade node, an MCU upgrade node, and a BLE upgrade node, where the APP upgrade node may represent the application software of the master module MCU, and the BLE upgrade node may represent BLE and BLE&UWB. When selecting and upgrading the BOOT upgrade node among the slave controller nodes, the MCU upgrade node among the master controller node and the slave controller node, and the BLE upgrade node among the slave controller nodes, cannot be upgraded. When upgrading the MCU upgrade node among the master controller node and the slave controller node, and the BLE upgrade node among the slave controller nodes, the BOOT upgrade node among the slave controller nodes cannot be upgraded. Note that only when upgrading the master module in the digital key system, a pre-processing node needs to be selected. That is, in the first upgrade mode, when a user selects the first upgrade node of the master controller of the master module, a pre-processing node needs to be selected and a CAN upgrade protocol service suitable for different vehicle manufacturers needs to be selected based on the pre-processing node to pre-process the digital key system.
[0029] Here, the first set of upgrade target nodes is all nodes when the target upgrade mode is the first upgrade mode, i.e., the pre-processing node, the master controller node and all slave controller nodes, and the second set of upgrade target nodes is all slave controller nodes when the target upgrade mode is the second upgrade mode.
[0030] Specifically, when the target upgrade mode is a first upgrade mode, a first set of upgrade target nodes is generated based on the pre-processing node, the master controller node and the slave controller node, and the target upgrade node is determined based on the first set of upgrade target nodes; in response to detecting a user's touch operation on the first upgrade mode control, a first set of upgrade target nodes is generated based on the pre-processing node, the master controller node and the slave controller node, and the upgrade target nodes that need to be upgraded according to actual needs are selected, and the target upgrade node is determined based on the first set of upgrade target nodes and the upgrade target nodes that need to be upgraded.
[0031] Specifically, when the target upgrade mode is the second upgrade mode, the method of generating a second set of upgrade target nodes based on slave controller nodes and determining the target upgrade nodes based on the second set of upgrade target nodes may be: in response to detecting a user's touch operation on the second upgrade mode control, generating a second set of upgrade target nodes based on all slave controller nodes, selecting upgrade target nodes that need to be upgraded according to actual needs, and determining the target upgrade nodes based on the second set of upgrade target nodes and the upgrade target nodes that need to be upgraded.
[0032] Preferably, determining the target upgrade node based on the first set of upgrade target nodes includes: In response to detecting a touch operation by a user on a first upgrade target node among the master controller nodes, remove a second upgrade target node among the slave controller nodes from a first upgrade target node set, and determine a target upgrade node based on the first upgrade target node; In response to detecting a user's touch operation on a third upgrade target node among the slave controller nodes, removing a second upgrade target node among the slave controller nodes from the first upgrade target node set, and determining a target upgrade node based on the third upgrade target node; In response to detecting a user's touch operation on a second upgrade target node among the slave controller nodes, clearing the first upgrade target node set and determining a target upgrade node based on the second upgrade target node.
[0033] Here, the first upgrade target node may be at least one of the BOOT upgrade node, the APP upgrade node, and the BLE upgrade node in the master controller, the second upgrade target node may be the BOOT upgrade node in the slave controller, and the third upgrade target node may be at least one of the MCU upgrade node and the BLE upgrade node in the slave controller.
[0034] Specifically, the method of removing a second upgrade target node among the slave controller nodes from a first upgrade target node set in response to detecting a user's touch operation on a first upgrade target node among the master controller nodes and determining a target upgrade node based on the first upgrade target node may be, when the target upgrade mode is the first upgrade mode, removing all second upgrade target nodes among the slave controller nodes from the first upgrade target node set upon detecting that the user has selected and upgraded the first upgrade target node among the master controller nodes. The method of determining a target upgrade node based on the first upgrade target node may further be, based on the first upgrade target node selected by the user and a third upgrade target node selected by the user among the slave controller nodes in the upgrade target module selected by the user. The method of determining a target upgrade node based on the first upgrade target node may further be, based on the first upgrade target node selected by the user and a third upgrade target node selected by the user among the slave controller nodes in the upgrade target module selected by the user.For example, when the target upgrade mode is a stage upgrade mode, if the user selects to upgrade the BOOT upgrade node and the APP upgrade node in the master controller, the BOOT upgrade node in the slave controller is deleted from the first set of nodes to be upgraded, that is, the BOOT upgrade node in the slave controller cannot be selected for upgrade, and the pre-processing node, the BOOT upgrade node and the APP upgrade node in the master controller are determined as the target upgrade nodes.
[0035] Specifically, the method of removing the second upgrade target node among the slave controller nodes from the first set of upgrade target nodes in response to detecting a user's touch operation on a third upgrade target node among the slave controller nodes and determining the target upgrade node based on the third upgrade target node may be: if the target upgrade mode is the first upgrade mode, when it is detected that the user has selected a third upgrade target node among the slave controller nodes to be upgraded, the second upgrade target node among all slave controller nodes is removed from the first set of upgrade target nodes and the target upgrade node is determined based on the third upgrade target node selected by the user. The method of determining the target upgrade node based on the third upgrade target node may further be: determining the target upgrade node based on the third upgrade target node selected by the user and the first upgrade target node selected by the user. For example, if the target upgrade mode is the stage upgrade mode, when the user selects an MCU upgrade node in the slave controller to be upgraded, the BOOT upgrade node in the slave controller is removed from the first set of upgrade target nodes, i.e., the BOOT upgrade node in the slave controller cannot be selected for upgrade, and the pre-processing node, the MCU upgrade node in the slave controller, may be determined as the target upgrade node.
[0036] Specifically, the manner of clearing the first set of upgraded nodes and determining the target upgrade node based on the second upgraded node in response to detecting a user's touch operation on a second upgraded node among the slave controller nodes may be as follows: if the target upgrade mode is the first upgrade mode, when it is detected that the user selects a second upgraded node among the slave controller nodes to be upgraded, the first set of upgraded nodes may be directly cleared and the second upgraded node among the slave controller nodes may be determined as the target upgrade node. For example, if the target upgrade mode is the stage upgrade mode, when the user selects a BOOT upgrade node in the slave controller to be upgraded, the BOOT upgrade node in the slave controller may be the target upgrade node.
[0037] Preferably, determining the target upgrade node based on the first set of upgrade target nodes includes: Obtaining a target upgrade target module; determining a target upgrade node based on the target upgrade target module and the first set of upgrade target nodes.
[0038] Here, the target upgrade module may be a default upgrade module or a target upgrade module selected by a user according to actual needs. For example, there may be multiple upgrade modules, and the target upgrade module may be determined based on the identification information corresponding to the upgrade module, and the identification information corresponding to the upgrade module may be the number of the upgrade module.
[0039] Specifically, the method for acquiring the target upgrade target module may be to display a list of upgrade target modules in response to detection of a user's touch operation on an upgrade target module control in an upgrade interface, and to acquire the target upgrade target module in response to detection of a user's touch operation on identification information corresponding to the target upgrade target module in the upgrade target module list.
[0040] Specifically, the method for determining the target upgrade node based on the target upgrade target module and the first set of upgrade target nodes may be as follows: determine the target upgrade target module; determine the upgrade target node corresponding to the target upgrade target module based on the target upgrade target module; if a second upgrade target node in the slave controller of the target upgrade target module is selected, clear the first set of upgrade target nodes and determine the second upgrade target node in the slave controller of the target upgrade target module as the target upgrade node; if a third upgrade target node in the slave controller of the target upgrade target module is selected, delete the second upgrade target node in the slave controller of the target upgrade target module from the first set of upgrade target nodes; and determine the first upgrade target node, pre-processing node and third upgrade target node in the master controller of the master module selected by the user as the target upgrade nodes.For example, if the target upgrade mode is stage upgrade mode, the selected target upgrade module is the third upgrade module, and the BOOT upgrade node of the third upgrade module is selected, the BOOT upgrade node of the third upgrade module is the target upgrade node; if the target upgrade mode is stage upgrade mode, the selected target upgrade module is the third upgrade module, and the BOOT upgrade node and APP upgrade node of the master controller are selected, and the MCU upgrade node and BLE upgrade node of the slave controller of the third upgrade module are selected, the pre-processing node, the BOOT upgrade node and APP upgrade node of the master controller, the MCU upgrade node of the third upgrade module, and the BLE upgrade node of the third upgrade module may be the target upgrade node.
[0041] Preferably, determining the target upgrade node based on the second set of upgraded nodes includes: In response to detecting a user's touch operation on a second upgrade target node among the slave controller nodes, clearing the second upgrade target node set and determining a target upgrade node based on the second upgrade target node; In response to detecting a user's touch operation on a third upgrade target node among the slave controller nodes, deleting the second upgrade target node among the slave controller nodes from the second upgrade target node set, and determining a target upgrade node based on the third upgrade target node.
[0042] Specifically, the manner of clearing the second set of upgrade target nodes and determining the target upgrade node based on the second upgrade target node in response to detecting a user's touch operation on a second upgrade target node among the slave controller nodes may be: if the target upgrade mode is the second upgrade mode, upon detecting that the user selects a second upgrade target node among the slave controller nodes to be upgraded, the second set of upgrade target nodes may be cleared and the second upgrade target node among the slave controller nodes selected by the user may be directly determined as the target upgrade node. For example, if the target upgrade mode is a single-antenna upgrade mode and the user selects a BOOT upgrade node in the slave controller to be upgraded, the second set of upgrade target nodes may be cleared and the BOOT upgrade node in the slave controller selected by the user may be determined as the target upgrade node.
[0043] Specifically, the manner of removing the second upgrade target node among the slave controller nodes from the second set of upgrade target nodes in response to detecting a user's touch operation on a third upgrade target node among the slave controller nodes and determining the target upgrade node based on the third upgrade target node may be as follows: when the target upgrade mode is the second upgrade mode, if it is detected that a user selects a third upgrade target node among the slave controller nodes to be upgraded, the second upgrade target node among the slave controller nodes is removed from the second set of upgrade target nodes, and the third upgrade target node among the slave controller nodes selected by the user is determined as the target upgrade node. For example, when the target upgrade mode is a single-antenna upgrade mode and a user selects an MCU upgrade node in the slave controller to be upgraded, the BOOT upgrade node in the slave controller may be removed from the second set of upgrade target nodes, and the MCU upgrade node in the slave controller selected by the user is determined as the target upgrade node.
[0044] In addition, in the second upgrade mode, if the target upgrade module is not selected and the second or third upgrade target node of the slave controller is directly selected, the second or third upgrade target node of the slave controller will be upgraded in the default upgrade module, and if the target upgrade module is confirmed, the second or third upgrade target node of the slave controller will be upgraded in the target upgrade module.
[0045] In S130, the digital key system is upgraded based on the upgrade file corresponding to the target upgrade node and the identification information of the CAN hardware device.
[0046] Specifically, the method for upgrading the digital key system based on the upgrade file corresponding to the target upgrade node and the identification information of the CAN hardware device may be to determine the identification information of the CAN hardware device, and then load the upgrade file corresponding to the target upgrade node based on the target upgrade node to upgrade the digital key system. Furthermore, when the upgrade file is loaded, it needs to be checked, including determining whether the upgrade file is complete, whether it has been tampered with, and whether a loading error occurs. If the check is successful, the digital key system is upgraded; if the check is unsuccessful, the digital key system upgrade is stopped, and the upgrade interface can display the upgrade file check process and the digital key system upgrade progress.
[0047] The technical solution of this embodiment obtains the identification information and target upgrade mode of the CAN hardware device, determines the target upgrade node based on the target upgrade mode, and upgrades the digital key system based on the upgrade file corresponding to the target upgrade node and the identification information of the CAN hardware device. This solves the problems that the operation interface of the CAN upgrade project is complicated, additional software needs to be installed and configured, resulting in low upgrade efficiency, and the CAN upgrade project includes source code and cannot be provided to organizations and teams other than customers or research and development for use. It does not require the installation of additional software, is easy to operate, further improves upgrade efficiency, does not require upgrading based on source code, and further protects the source code from disclosure.
[0048] [Example 2] 2 is a structural schematic diagram of an upgrade device in Example 2 of the present application. This example is applied to upgrading a digital key system, and the device can be implemented in software and / or hardware, and can be integrated into any device that provides upgrade functions. As shown in FIG. 2, the upgrade device specifically includes an acquisition module 210, a determination module 220, and an upgrade module 230.
[0049] Wherein, the acquisition module 210 is used to acquire the identification information and target upgrade mode of the CAN hardware device; The determining module 220 is used for determining a target upgrade node according to the target upgrade mode; The upgrade module 230 is used to upgrade the digital key system according to the upgrade file corresponding to the target upgrade node and the identification information of the CAN hardware device.
[0050] Preferably, the acquisition module specifically: In response to detecting a user touching a load device control in the upgrade interface, displaying a list of CAN hardware devices; In response to detecting a user touch operation on a CAN hardware device in the CAN hardware device list, obtain identification information of the CAN hardware device; This is used to obtain the target upgrade mode in response to detecting a user's touch operation on the target upgrade mode control in the upgrade interface.
[0051] Preferably, the determination module specifically: If the target upgrade mode is a first upgrade mode, generate a first set of upgrade target nodes according to the pre-processing node, the master controller node and the slave controller node, and determine the target upgrade node according to the first set of upgrade target nodes; When the target upgrade mode is the second upgrade mode, a second set of nodes to be upgraded is generated based on the pre-processing node and the slave controller node, and a target upgrade node is determined based on the second set of nodes to be upgraded.
[0052] Preferably, the determination module specifically: In response to detecting a user's touch operation on a first upgrade target node among the master controller nodes, remove a second upgrade target node among the slave controller nodes from a first upgrade target node set, and determine a target upgrade node based on the first upgrade target node; In response to detecting a user's touch operation on a third upgrade target node among the slave controller nodes, remove a second upgrade target node among the slave controller nodes from the first upgrade target node set, and determine a target upgrade node based on the third upgrade target node; In response to detecting a user's touch operation on a second upgrade target node among the slave controller nodes, the first upgrade target node set is cleared and a target upgrade node is determined based on the second upgrade target node.
[0053] Preferably, the determination module specifically: In response to detecting a user's touch operation on a second upgrade target node among the slave controller nodes, clear the second upgrade target node set and determine a target upgrade node based on the second upgrade target node; In response to detecting a user's touch operation on a third upgrade target node among the slave controller nodes, the touch operation is used to delete the second upgrade target node among the slave controller nodes from the second upgrade target node set, and determine a target upgrade node based on the third upgrade target node.
[0054] Preferably, the determination module specifically: Get the target upgrade target module, The target upgrade node is determined based on the target upgrade module and the first set of upgrade nodes.
[0055] The product can perform the method according to any of the embodiments of the present application, and includes functional modules and beneficial effects corresponding to the implementation of the method.
[0056] [Example 3] 3 is a structural schematic diagram of an electronic device in Example 3 of the present application. The electronic device is intended to represent various types of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various types of mobile devices, such as personal digital assistants, mobile phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components, their connections, relationships, and their functions shown herein are merely exemplary and do not limit the implementation of the present application as described and / or claimed herein.
[0057] 3, electronic device 10 includes at least one processor 11 and a memory communicatively coupled to at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., where the memory stores computer programs executable by the at least one processor, and processor 11 can perform various appropriate operations and processes based on the computer programs stored in read-only memory (ROM) 12 or loaded from storage unit 18 into random access memory (RAM) 13. RAM 13 may store various programs and data necessary for the operation of electronic device 10. Processor 11, ROM 12, and RAM 13 are connected to one another via bus 14. An input / output (I / O) interface 15 is also connected to bus 14.
[0058] The components in the electronic device 10 are connected to an I / O interface 15, which comprises an input unit 16 such as a keyboard, a mouse, etc., an output unit 17 such as various displays, speakers, etc., a storage unit 18 such as a magnetic disk, an optical disk, etc., and a communication unit 19 such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0059] The processor 11 may be a general-purpose and / or dedicated processing assembly having processing and computing capabilities. Some examples of the processor 11 may include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, processors that execute machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, for example, the upgrade method.
[0060] In some embodiments, the upgrade method may be implemented as a computer software program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed into electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, it may perform one or more steps of the upgrade method. Alternatively, in other embodiments, processor 11 may be configured to perform the upgrade method in any other suitable manner (e.g., via firmware).
[0061] Various embodiments of the systems and techniques described herein may be realized in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard components (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: Implemented in one or more computer programs that can be executed and / or interpreted by a programmable system including at least one programmable processor, which may be a special purpose or general purpose programmable processor, capable of receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
[0062] Computer programs for implementing the methods of the present application can be coded in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that, when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are performed. The computer program can be executed entirely on the device, partly on the device, or as a separate software package partly on the device and partly on a remote device, or entirely on a remote device or server.
[0063] In this specification, a computer-readable storage medium may be a tangible medium capable of containing or storing a computer program for use in or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. Further specific examples of machine-readable storage media include an electrical connection of one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk-read-only disk (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0064] To provide for user interaction, the systems and techniques described herein can be implemented in an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user, and a keyboard and pointing device (e.g., a mouse or trackball) by which the user can provide input to the electronic device. Other types of devices can be used to provide further user interaction. For example, the feedback provided to the user can be any form of sensing feedback (e.g., visual feedback, auditory feedback, or haptic feedback), and can receive input from the user in any form (including sound input, speech input, or tactile input).
[0065] The systems and techniques described herein can be implemented in a computing system that includes a background component (e.g., a data server), or an intermediate component (e.g., an application server), or a front-end component (e.g., a user computer having a graphical user interface or network browser through which a user can interact with embodiments of the systems and techniques described herein), or any combination of such background, intermediate, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0066] A computing system may include a client and a server. The client and server are generally remote from each other and typically interact via a communication network. The relationship between the client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system and is used to solve the shortcomings of traditional physical hosts and VPS services, such as difficulty in management and poor traffic scalability.
[0067] It should be understood that steps can be rearranged, added, or deleted using the various types of flows shown above. For example, the steps described herein may be performed in parallel, sequentially, or in a different order, and this application is not limited thereto as long as the desired results of the technical solution disclosed herein can be achieved.
[0068] The above specific embodiments do not limit the scope of protection of the present application. Those skilled in the art will understand that various modifications, combinations, sub-combinations and substitutions are possible based on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present application should be included within the scope of protection of the present application.
Claims
1. An upgrade method performed by a target terminal connected to a CAN hardware device and a digital key system, respectively, comprising: Obtaining identification information and a target upgrade mode of a CAN hardware device; determining a target upgrade node according to the target upgrade mode; upgrading the digital key system based on an upgrade file corresponding to the target upgrade node and identification information of the CAN hardware device; determining a target upgrade node based on the target upgrade mode; If the target upgrade mode is a first upgrade mode, generate a first set of upgrade target nodes according to a pre-processing node, a master controller node and a slave controller node, and determine a target upgrade node according to the first set of upgrade target nodes; If the target upgrade mode is a second upgrade mode, generating a second set of upgrade target nodes based on slave controller nodes, and determining a target upgrade node based on the second set of upgrade target nodes; How to upgrade.
2. Obtaining the identification information and target upgrade mode of the CAN hardware device includes: displaying a list of CAN hardware devices in response to detecting a user touching a load device control in the upgrade interface; acquiring identification information of a CAN hardware device in response to detection of a touch operation by a user on a CAN hardware device in the CAN hardware device list; and obtaining a target upgrade mode in response to detecting a user touching a target upgrade mode control in the upgrade interface. The method of claim 1.
3. Determining a target upgrade node based on the first set of upgraded nodes includes: In response to detecting a touch operation by a user on a first upgrade target node among the master controller nodes, deleting a second upgrade target node among the slave controller nodes from a first upgrade target node set, and determining a target upgrade node based on the first upgrade target node; In response to detecting a touch operation by a user on a third upgrade target node among the slave controller nodes, deleting a second upgrade target node among the slave controller nodes from the first upgrade target node set, and determining a target upgrade node based on the third upgrade target node; In response to detecting a touch operation by a user on a second upgrade target node among the slave controller nodes, clearing the first upgrade target node set and determining a target upgrade node based on the second upgrade target node; The method of claim 1.
4. Determining a target upgrade node based on the second set of nodes to be upgraded includes: In response to detecting a touch operation by a user on a second upgrade target node among the slave controller nodes, clearing the second upgrade target node set and determining a target upgrade node based on the second upgrade target node; In response to detecting a touch operation by a user on a third upgrade target node among the slave controller nodes, deleting the second upgrade target node among the slave controller nodes from the second upgrade target node set, and determining a target upgrade node based on the third upgrade target node; The method of claim 1.
5. Determining a target upgrade node based on the first set of upgraded nodes includes: Obtaining a target upgrade target module; determining a target upgrade node based on the target upgrade target module and the first set of upgrade target nodes; The method of claim 1.
6. an acquisition module for acquiring the identification information and target upgrade mode of the CAN hardware device; a determining module for determining a target upgrade node according to the target upgrade mode; an upgrade module for upgrading a digital key system based on an upgrade file corresponding to the target upgrade node and the identification information of the CAN hardware device; The determination module: If the target upgrade mode is a first upgrade mode, generate a first set of upgraded nodes according to a pre-processing node, a master controller node and a slave controller node, and determine a target upgrade node according to the first set of upgraded nodes; If the target upgrade mode is a second upgrade mode, generate a second set of nodes to be upgraded based on the slave controller node, and determine the target upgrade node based on the second set of nodes to be upgraded; Upgrade equipment.
7. The acquisition module: displaying a list of CAN hardware devices in response to detecting a user touching a load device control in the upgrade interface; In response to detecting a touch operation by a user on a CAN hardware device in the CAN hardware device list, acquiring identification information of the CAN hardware device; and detecting a user touch operation on a target upgrade mode control in the upgrade interface, the target upgrade mode being acquired; 7. The apparatus of claim 6.
8. at least one processor; a memory communicatively coupled to the at least one processor, the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor such that the at least one processor can perform the upgrade method according to any one of claims 1 to 5; electronic equipment.
9. storing computer instructions for, when executed by a processor, implementing the upgrade method of any one of claims 1 to 5; A computer-readable storage medium.
Citation Information
Patent Citations
System and method for quickly upgrading vehicle-mounted electronic controller through CAN (Controller Area Network) transmission
CN113655737A
Vehicle upgrading method and device, electronic equipment, medium and automatic driving vehicle
CN114546444A
Remote control system for pieces of on-vehicle equipment
JP2014069599A
Program updating system, program updating server, and vehicle
JP2020021142A
vehicle
JP2022054891A