WO2020001249A1 - 轮胎压力检测系统tpms诊断工具的升级方法及设备 - Google Patents

轮胎压力检测系统tpms诊断工具的升级方法及设备 Download PDF

Info

Publication number
WO2020001249A1
WO2020001249A1 PCT/CN2019/090104 CN2019090104W WO2020001249A1 WO 2020001249 A1 WO2020001249 A1 WO 2020001249A1 CN 2019090104 W CN2019090104 W CN 2019090104W WO 2020001249 A1 WO2020001249 A1 WO 2020001249A1
Authority
WO
WIPO (PCT)
Prior art keywords
diagnostic tool
latest version
upgrade
tpms diagnostic
version number
Prior art date
Application number
PCT/CN2019/090104
Other languages
English (en)
French (fr)
Inventor
王涛
Original Assignee
深圳市道通科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市道通科技股份有限公司 filed Critical 深圳市道通科技股份有限公司
Publication of WO2020001249A1 publication Critical patent/WO2020001249A1/zh
Priority to US17/130,766 priority Critical patent/US20210107325A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60CVEHICLE TYRES; TYRE INFLATION; TYRE CHANGING; CONNECTING VALVES TO INFLATABLE ELASTIC BODIES IN GENERAL; DEVICES OR ARRANGEMENTS RELATED TO TYRES
    • B60C23/00Devices for measuring, signalling, controlling, or distributing tyre pressure or temperature, specially adapted for mounting on vehicles; Arrangement of tyre inflating devices on vehicles, e.g. of pumps or of tanks; Tyre cooling arrangements
    • B60C23/02Signalling devices actuated by tyre pressure
    • B60C23/04Signalling devices actuated by tyre pressure mounted on the wheel or tyre
    • B60C23/0408Signalling devices actuated by tyre pressure mounted on the wheel or tyre transmitting the signals by non-mechanical means from the wheel or tyre to a vehicle body mounted receiver
    • B60C23/0471System initialisation, e.g. upload or calibration of operating parameters
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60CVEHICLE TYRES; TYRE INFLATION; TYRE CHANGING; CONNECTING VALVES TO INFLATABLE ELASTIC BODIES IN GENERAL; DEVICES OR ARRANGEMENTS RELATED TO TYRES
    • B60C23/00Devices for measuring, signalling, controlling, or distributing tyre pressure or temperature, specially adapted for mounting on vehicles; Arrangement of tyre inflating devices on vehicles, e.g. of pumps or of tanks; Tyre cooling arrangements
    • B60C23/02Signalling devices actuated by tyre pressure
    • B60C23/04Signalling devices actuated by tyre pressure mounted on the wheel or tyre
    • B60C23/0408Signalling devices actuated by tyre pressure mounted on the wheel or tyre transmitting the signals by non-mechanical means from the wheel or tyre to a vehicle body mounted receiver
    • B60C23/0481System diagnostic, e.g. monitoring battery voltage, detecting hardware detachments or identifying wireless transmission failures
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60CVEHICLE TYRES; TYRE INFLATION; TYRE CHANGING; CONNECTING VALVES TO INFLATABLE ELASTIC BODIES IN GENERAL; DEVICES OR ARRANGEMENTS RELATED TO TYRES
    • B60C23/00Devices for measuring, signalling, controlling, or distributing tyre pressure or temperature, specially adapted for mounting on vehicles; Arrangement of tyre inflating devices on vehicles, e.g. of pumps or of tanks; Tyre cooling arrangements
    • B60C23/02Signalling devices actuated by tyre pressure
    • B60C23/04Signalling devices actuated by tyre pressure mounted on the wheel or tyre
    • B60C23/0408Signalling devices actuated by tyre pressure mounted on the wheel or tyre transmitting the signals by non-mechanical means from the wheel or tyre to a vehicle body mounted receiver
    • B60C23/0479Communicating with external units being not part of the vehicle, e.g. tools for diagnostic, mobile phones, electronic keys or service stations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method and a device for upgrading a tire pressure detection system TPMS diagnostic tool.
  • TPMS Tire Pressure Monitoring System
  • a TPMS diagnostic tool can be used to diagnose the TPMS provided in the vehicle to ensure that the TPMS in the vehicle can work normally.
  • the TPMS diagnostic tool is usually upgraded by a computer. Specifically, software for upgrading the TPMS diagnostic tool is installed in the computer, and the TPMS is updated through a Universal Serial Bus (Universal Serial Bus, USB) interface.
  • the diagnostic tool is connected to the computer, and the TPMS diagnostic tool is upgraded by software in the computer.
  • Embodiments of the present invention provide a method and equipment for upgrading a TPMS diagnostic tool of a tire pressure detection system, which can not only upgrade the TPMS diagnostic tool in time, but also simplify the process of upgrading the TPMS diagnostic tool.
  • an embodiment of the present invention provides a method for upgrading a TPMS diagnostic tool.
  • the TPMS diagnostic tool is provided with a wireless communication interface, and the method includes:
  • the latest version information of the TPMS diagnostic tool from the server through the wireless communication interface, where the latest version information includes the latest version number and an upgrade path, and the upgrade path is used to indicate that the upgrade package of the TPMS diagnostic tool is available at all locations.
  • obtaining the latest version information of the TPMS diagnostic tool from a server through the wireless communication interface includes:
  • the latest version information of the TPMS diagnostic tool is obtained from the server through the wireless communication interface.
  • the method before the obtaining an upgrade package corresponding to the upgrade path from the server through the wireless communication interface, the method further includes:
  • the method before the acquiring the current version number of the TPMS diagnostic tool, the method further includes:
  • the obtaining the current version number of the TPMS diagnostic tool includes:
  • determining whether the latest version information is valid includes:
  • the method further includes:
  • the obtaining the current version number of the TPMS diagnostic tool includes:
  • the current version number of the TPMS diagnostic tool is obtained.
  • the method further includes:
  • the obtaining the current version number of the TPMS diagnostic tool includes:
  • the current version number of the TPMS diagnostic tool is obtained.
  • the upgrading the TPMS diagnostic tool according to the upgrade package includes:
  • the TPMS diagnostic tool is upgraded according to the upgrade package.
  • an embodiment of the present invention provides an upgrade device for a tire pressure detection system TPMS diagnostic tool, including a wireless communication interface, a processor, a memory, and a communication bus, where the communication bus is used to implement connections between components
  • the memory is used to store program instructions
  • the processor is used to read the program instructions in the memory, and perform the following steps according to the program instructions in the memory:
  • the latest version information of the TPMS diagnostic tool from the server through the wireless communication interface, where the latest version information includes the latest version number and an upgrade path, and the upgrade path is used to indicate that the upgrade package of the TPMS diagnostic tool is available at all locations.
  • the processor is specifically configured to:
  • the latest version information of the TPMS diagnostic tool is obtained from the server through the wireless communication interface.
  • the processor is further configured to:
  • the processor Before the processor obtains an upgrade package corresponding to the upgrade path from the server through the wireless communication interface, generating upgrade instruction information and receiving upgrade confirmation information input by a user according to the upgrade instruction information.
  • the processor is further configured to:
  • the processor is specifically configured to obtain the current version number of the TPMS diagnostic tool if the latest version information is determined to be valid.
  • the processor is specifically configured to:
  • the processor is further configured to:
  • the processor is specifically configured to obtain the current version number of the TPMS diagnostic tool when the number of invalid times is less than a preset number of times threshold and the newly acquired latest version information is valid.
  • the processor is further configured to:
  • the processor is specifically configured to obtain the current version number of the TPMS diagnostic tool when the duration is less than a preset duration threshold and the newly acquired latest version information is valid.
  • the processor is specifically configured to:
  • the TPMS diagnostic tool is upgraded according to the upgrade package.
  • an embodiment of the present invention provides an upgrade device for a tire pressure detection system TPMS diagnostic tool.
  • the TPMS diagnostic tool is provided with a wireless communication interface.
  • the device includes an acquisition module and an upgrade module.
  • the obtaining module is configured to obtain the latest version information of the TPMS diagnostic tool from a server through the wireless communication interface, where the latest version information includes a latest version number and an upgrade path, and the upgrade path is used to indicate the TPMS The storage location of the upgrade package of the diagnostic tool in the server;
  • the obtaining module is further configured to obtain a current version number of the TPMS diagnostic tool
  • the obtaining module is further configured to obtain an upgrade package corresponding to the upgrade path from the server through the wireless communication interface when it is determined that the latest version number and the current version number are different;
  • the upgrade module is configured to upgrade the TPMS diagnostic tool according to the upgrade package.
  • the obtaining module is specifically configured to:
  • the latest version information of the TPMS diagnostic tool is obtained from the server through the wireless communication interface.
  • the apparatus further includes a generating module and a receiving module, where:
  • the generating module is configured to generate upgrade instruction information before the obtaining module obtains an upgrade package corresponding to the upgrade path from the server through the wireless communication interface;
  • the receiving module is configured to receive upgrade confirmation information input by a user according to the upgrade instruction information.
  • the apparatus further includes a verification module, wherein:
  • the verification module is configured to determine whether the latest version information is valid before the acquisition module obtains the current version number of the TPMS diagnostic tool;
  • the obtaining module is specifically configured to obtain the current version number of the TPMS diagnostic tool if it is determined that the latest version information is valid.
  • the verification module is specifically configured to:
  • the obtaining module is further configured to:
  • the current version number of the TPMS diagnostic tool is obtained.
  • the obtaining module is further configured to:
  • the current version number of the TPMS diagnostic tool is obtained.
  • the upgrade module is specifically configured to:
  • the TPMS diagnostic tool is upgraded according to the upgrade package.
  • an embodiment of the present invention provides a readable storage medium including a program or an instruction.
  • the program or the instruction is run on a computer, the method according to any one of the foregoing first aspects is executed.
  • a wireless communication interface is provided in the TPMS diagnostic tool, and the wireless network can be accessed through the wireless communication interface. After accessing the wireless network, the server can be accessed from the server through the wireless communication interface. Obtain the latest version information of the TPMS diagnostic tool and the current version number of the TPMS diagnostic tool; when it is determined that the latest version number is different from the current version number, obtain an upgrade package from the server through the wireless communication interface according to the upgrade path, and upgrade TPMS according to the upgrade package Diagnostic tools.
  • the TPMS diagnostic tool can automatically determine whether the TPMS diagnostic tool needs to be upgraded. When it is determined that the TPMS diagnostic tool needs to be upgraded, it can automatically download the upgrade package and upgrade the diagnostic tool according to the upgrade package. Upgrading the TPMS diagnostic tool also simplifies the process of upgrading the TPMS diagnostic tool.
  • FIG. 1 is an architecture diagram of a TPMS diagnostic tool upgrade provided by an embodiment of the present invention
  • FIG. 2 is a first flowchart of a method for upgrading a TPMS diagnostic tool according to an embodiment of the present invention
  • FIG. 3 is a second flowchart of a method for upgrading a TPMS diagnostic tool according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an upgrade device of a TPMS diagnostic tool according to an embodiment of the present invention.
  • FIG. 5 is a first schematic structural diagram of an upgrade device of a TPMS diagnostic tool according to an embodiment of the present invention.
  • FIG. 6 is a second schematic diagram of a structure of an upgrading device for a TPMS diagnostic tool according to an embodiment of the present invention.
  • FIG. 1 is an architecture diagram of a TPMS diagnostic tool upgrade provided by an embodiment of the present invention. Please refer to FIG. 1, which includes a vehicle 101, a TPMS diagnostic tool 102, and a server 103.
  • the vehicle 101 is provided with a TPMS, which is used to detect parameters such as the tire pressure of the vehicle and generate an alarm message when the parameters such as the tire pressure of the vehicle do not meet the conditions.
  • TPMS TPMS
  • the TPMS diagnostic tool 102 includes at least a function module, an upgrade module, and a wireless communication interface.
  • the TPMS diagnostic tool 102 can establish a wireless connection with the server 103 through a wireless communication interface, and interact with the server 103 through a wireless communication interface.
  • the server 103 includes the latest version information of the TPMS diagnostic tool, an upgrade package, and the like.
  • the functional modules in the TPMS diagnostic tool 102 can obtain the latest version information from the server 103 through the wireless communication interface, and determine whether the TPMS diagnostic tool 102 needs to be upgraded based on the latest version information.
  • the function module may send a notification message to the upgrade module, so that the upgrade module obtains the upgrade package from the server 103 through the wireless communication interface, and upgrades the TPMS diagnostic tool according to the upgrade package.
  • the TPMS diagnostic tool can access the wireless network through the wireless communication interface.
  • the TPMS diagnostic tool can interact with the server through the wireless network to obtain the TPMS from the server.
  • the latest version number of the diagnostic tool and determine whether the TPMS diagnostic tool needs to be upgraded based on the latest version number.
  • the TPMS diagnostic tool can obtain an upgrade package from the server through the wireless network and use the upgrade package according Upgrade the TPMS diagnostic tool.
  • the TPMS diagnostic tool can automatically determine whether the TPMS diagnostic tool needs to be upgraded.
  • it can automatically download the upgrade package and upgrade the diagnostic tool according to the upgrade package. Upgrading the TPMS diagnostic tool also simplifies the process of upgrading the TPMS diagnostic tool.
  • FIG. 1 is only a schematic diagram illustrating the upgrade of a TPMS diagnostic tool in the form of an example, and is not a limitation on the architecture. In actual application, other feasible architectures may also be adopted. For example, the function module and the upgrade module in the TPMS diagnostic tool can also be combined into one module.
  • FIG. 2 is a first flowchart of a method for upgrading a TPMS diagnostic tool according to an embodiment of the present invention.
  • the method may include:
  • the latest version information includes the latest version number and the upgrade path.
  • the upgrade path is used to indicate the storage location of the upgrade package of the TPMS diagnostic tool in the server.
  • the TPMS diagnostic tool generally includes a software part and a hardware part.
  • the upgrade of the TPMS diagnostic tool referred to in the embodiment of the present invention refers to upgrading the software part of the TPMS diagnostic tool.
  • the execution subject of the embodiment of the present invention may be a TPMS diagnostic tool, or may be an upgrade device provided in the TPMS diagnostic tool.
  • the upgrading device may be implemented by software, or by a combination of software and hardware.
  • a wireless communication interface is provided in the TPMS diagnostic tool.
  • the wireless communication interface may be a Wireless Fidelity (WIFI) module or a General Packet Radio Service (GPRS) module.
  • WIFI Wireless Fidelity
  • GPRS General Packet Radio Service
  • the wireless communication interface may also be other, as long as the TPMS diagnostic tool can access the wireless network through the wireless communication interface, this embodiment of the present invention does not specifically limit this.
  • a wireless network can be accessed through a wireless communication interface.
  • a wireless connection with the server needs to be established through a wireless communication interface.
  • the latest version information of the TPMS diagnostic tool may be obtained from the server through the wireless communication interface when it is determined that the wireless network is accessed through the wireless communication interface, or when an upgrade query instruction input by a user is received.
  • the latest version information is obtained under other conditions, which is not specifically limited in the embodiment of the present invention.
  • the user may enter an upgrade query instruction in the TPMS diagnostic tool, and the upgrade query instruction is used to request whether or not the TPMS diagnostic tool needs to be upgraded.
  • a version information acquisition request may be sent to the server through a wireless communication interface, and the version information acquisition request is used to request to obtain the latest version information.
  • the server After the server receives the version information acquisition request, the server obtains the latest version number and upgrade path of the TPMS, and sends a version information acquisition response to the TPMS diagnostic tool, and carries the latest version number and upgrade path in the version information acquisition response.
  • the latest version information After obtaining the latest version information, it can be determined whether the latest version information is valid.
  • the format of the latest version number and the format of the upgrade path can be obtained, and the latest version information can be verified according to the format of the latest version number and the format of the upgrade path.
  • the current version number of the TPMS diagnostic tool can be obtained locally on the TPMS diagnostic tool.
  • the current version number of the TPMS diagnostic tool may be stored in a local preset file of the TPMS diagnostic tool.
  • the current version number of the TPMS diagnostic tool can be obtained directly in the preset file.
  • the version number of the TPMS diagnostic tool usually meets the preset format requirements.
  • the latest version number and the current version number can be compared bit by bit. When the characters on the corresponding bit in the latest version number and the current version number are different, it is determined that the latest version number and the current version number are different.
  • the latest version number of the TPMS diagnostic tool on the server is usually the same as the current version number of the TPMS diagnostic tool or higher than the current version number of the TPMS diagnostic tool. Therefore, when the latest version number is different from the current version number , It means that the TPMS diagnostic tool needs to be upgraded.
  • an upgrade package acquisition request may be sent to the server through a wireless communication interface, and the upgrade package acquisition request includes an upgrade path.
  • the server After the server receives the upgrade package acquisition request, it can obtain the upgrade package from the server according to the upgrade path, and send an upgrade package acquisition response, and the upgrade package acquisition response carries the upgrade package.
  • upgrade instruction information may be generated, and the upgrade instruction information is used to prompt the user whether to upgrade the TPMS diagnostic tool. If the user does not need to upgrade the TPMS diagnostic tool, the upgrade cancellation information can be entered in the TPMS diagnostic tool, and the TPMS can end the process according to the upgrade cancellation information. If the user needs to upgrade the TPMS diagnostic tool, the user can enter the upgrade confirmation information in the TPMS diagnostic tool, and the TPMS diagnostic tool can obtain an upgrade package from the server according to the upgrade confirmation information.
  • the upgrade package may be verified, and after the upgrade package is verified, the TPMS diagnostic tool is upgraded according to the upgrade package.
  • the method for upgrading the TPMS diagnostic tool includes a wireless communication interface in the TPMS diagnostic tool, which can access the wireless network through the wireless communication interface, and after accessing the wireless network, the TPMS can be obtained from the server through the wireless communication interface.
  • Obtain the latest version information of the diagnostic tool to obtain the current version number of the TPMS diagnostic tool; when it is determined that the latest version number is different from the current version number, obtain the upgrade package from the server through the wireless communication interface according to the upgrade path, and upgrade the TPMS diagnostic tool according to the upgrade package .
  • the TPMS diagnostic tool can automatically determine whether the TPMS diagnostic tool needs to be upgraded. When it is determined that the TPMS diagnostic tool needs to be upgraded, it can automatically download the upgrade package and upgrade the diagnostic tool according to the upgrade package. Upgrading the TPMS diagnostic tool also simplifies the process of upgrading the TPMS diagnostic tool.
  • the method for upgrading the TPMS diagnostic tool is further described in detail through the embodiment shown in FIG. 3 below.
  • FIG. 3 is a second flowchart of a method for upgrading a TPMS diagnostic tool according to an embodiment of the present invention.
  • the method may include:
  • S301 Access a wireless network through a wireless communication interface.
  • the wireless network after requesting access to the wireless network once, it can be determined whether the wireless network is successfully accessed. If yes, perform S302, and if not, continue to request wireless access. The network terminates the process until the access to the wireless network is successful or the number of requests to access the wireless network is greater than a preset number.
  • a wireless connection establishment request may be sent to the server through a wireless communication interface, and a wireless connection establishment response sent by the server may be accepted.
  • a wireless connection establishment response sent by the server may be accepted.
  • the process ends when the number of times of requesting to establish a wireless connection with the server is greater than a preset number.
  • the latest version information includes the latest version number and the upgrade path.
  • the latest version information can be verified.
  • S302 is continued. Otherwise, the latest version information is obtained again until the latest version information is obtained.
  • the verification is successful, or the process ends when the number of obtaining the latest version is greater than a preset number.
  • the number of invalid times is 0 at the beginning.
  • S306 Determine whether the number of invalid times is greater than a preset number of times threshold.
  • the verification of the upgrade package fails, obtain the upgrade package again and perform the verification until the verification of the obtained upgrade package passes or the process of downloading the upgrade package is greater than a preset number of times.
  • the upgrade package will be transmitted in sub-packages, and each sub-package will be verified separately. If each sub-package is verified, the upgrade will be performed. Packet verification passed.
  • the upgraded data can be verified according to the agreed algorithm. If the verification passes, the upgrade is complete. Otherwise, the upgrade operation is performed again until the verification passes, or
  • the TPMS diagnostic tool can access the wireless network through the wireless communication interface. After accessing the wireless network, the latest version information of the TPMS diagnostic tool can be obtained from the server through the wireless communication interface and the TPMS diagnostic tool can be obtained. When it is determined that the latest version number is different from the current version number, the upgrade package is obtained from the server through the wireless communication interface according to the upgrade path, and the TPMS diagnostic tool is upgraded according to the upgrade package. In the above process, the TPMS diagnostic tool can automatically determine whether the TPMS diagnostic tool needs to be upgraded. When it is determined that the TPMS diagnostic tool needs to be upgraded, it can automatically download the upgrade package and upgrade the diagnostic tool according to the upgrade package. Upgrading the TPMS diagnostic tool also simplifies the process of upgrading the TPMS diagnostic tool.
  • FIG. 4 is a schematic structural diagram of an upgrade device of a TPMS diagnostic tool according to an embodiment of the present invention. Please refer to FIG. 4, which includes a wireless communication interface 11, a processor 12, a memory 13, and a communication bus 14.
  • the communication bus 14 is used to implement connections between various components.
  • the memory 13 is used to store program instructions.
  • the processor 12 is configured to read the program instructions in the memory 13 and execute the following steps according to the program instructions in the memory 13:
  • the latest version information of the TPMS diagnostic tool is obtained from the server through the wireless communication interface 11.
  • the latest version information includes the latest version number and an upgrade path, and the upgrade path is used to indicate that the upgrade package of the TPMS diagnostic tool is in A storage location in the server;
  • the upgrade device of the TPMS diagnostic tool provided by the embodiment of the present invention can execute the technical solution shown in the foregoing method embodiment, and its implementation principles and beneficial effects are similar, and will not be repeated here.
  • the processor 12 is specifically configured to:
  • the latest version information of the TPMS diagnostic tool is obtained from the server through the wireless communication interface 11.
  • processor 12 is further configured to:
  • the processor Before the processor obtains the upgrade package corresponding to the upgrade path from the server through the wireless communication interface 11, generating the upgrade instruction information, and receiving the upgrade confirmation information input by the user according to the upgrade instruction information.
  • processor 12 is further configured to:
  • the processor 12 is specifically configured to obtain the current version number of the TPMS diagnostic tool if the latest version information is determined to be valid.
  • processor 12 is specifically configured to:
  • processor 12 is further configured to:
  • the processor 12 is specifically configured to obtain the current version number of the TPMS diagnostic tool when the number of invalid times is less than a preset number of times threshold and the newly acquired latest version information is valid.
  • processor 12 is further configured to:
  • the processor is specifically configured to obtain the current version number of the TPMS diagnostic tool when the duration is less than a preset duration threshold and the newly acquired latest version information is valid.
  • processor 12 is specifically configured to:
  • the TPMS diagnostic tool is upgraded according to the upgrade package.
  • the upgrade device of the TPMS diagnostic tool provided by the embodiment of the present invention can execute the technical solution shown in the foregoing method embodiment, and its implementation principles and beneficial effects are similar, and will not be repeated here.
  • FIG. 5 is a first schematic structural diagram of an upgrade device for a TPMS diagnostic tool according to an embodiment of the present invention.
  • the TPMS diagnostic tool is provided with a wireless communication interface, as shown in FIG. 5.
  • the device includes an acquisition module 21 and an upgrade module 22. Among them,
  • the obtaining module 21 is configured to obtain the latest version information of the TPMS diagnostic tool from a server through the wireless communication interface, where the latest version information includes a latest version number and an upgrade path, and the upgrade path is used to indicate the The storage location of the upgrade package of the TPMS diagnostic tool in the server;
  • the obtaining module 21 is further configured to obtain a current version number of the TPMS diagnostic tool
  • the obtaining module 21 is further configured to obtain an upgrade package corresponding to the upgrade path from the server through the wireless communication interface when it is determined that the latest version number is different from the current version number;
  • the upgrade module 22 is configured to upgrade the TPMS diagnostic tool according to the upgrade package.
  • the device for upgrading the TPMS diagnostic tool provided by the embodiment of the present invention can execute the technical solution shown in the foregoing method embodiment, and its implementation principles and beneficial effects are similar, and will not be repeated here.
  • the obtaining module 21 is specifically configured to:
  • the latest version information of the TPMS diagnostic tool is obtained from the server through the wireless communication interface.
  • FIG. 6 is a second schematic structural diagram of an upgrade device for a TPMS diagnostic tool according to an embodiment of the present invention. Based on the embodiment shown in FIG. 5, referring to FIG. 6, the device further includes a generating module 23 and a receiving module 24, where ,
  • the generating module 23 is configured to generate upgrade instruction information before the obtaining module 21 obtains an upgrade package corresponding to the upgrade path from the server through the wireless communication interface;
  • the receiving module 24 is configured to receive upgrade confirmation information input by a user according to the upgrade instruction information.
  • the apparatus further includes a verification module 25, wherein:
  • the verification module 25 is configured to determine whether the latest version information is valid before the acquisition module obtains the current version number of the TPMS diagnostic tool;
  • the obtaining module 21 is specifically configured to obtain the current version number of the TPMS diagnostic tool if it is determined that the latest version information is valid.
  • the verification module 25 is specifically configured to:
  • the obtaining module 21 is further configured to:
  • the current version number of the TPMS diagnostic tool is obtained.
  • the obtaining module 21 is further configured to:
  • the current version number of the TPMS diagnostic tool is obtained.
  • the upgrade module 22 is specifically configured to:
  • the TPMS diagnostic tool is upgraded according to the upgrade package.
  • the device for upgrading the TPMS diagnostic tool provided by the embodiment of the present invention can execute the technical solution shown in the foregoing method embodiment, and its implementation principles and beneficial effects are similar, and will not be repeated here.
  • An embodiment of the present invention further provides a readable storage medium including a program or an instruction.
  • a program or an instruction When the program or the instruction is run on a computer, the technical solution shown in any of the foregoing method embodiments is executed.
  • a person of ordinary skill in the art may understand that all or part of the steps of implementing the foregoing method embodiments may be implemented by a program instructing related hardware.
  • the aforementioned program may be stored in a computer-readable storage medium.
  • the steps including the foregoing method embodiments are performed; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disc.

Abstract

一种轮胎压力检测系统TPMS诊断工具(102)的升级方法及设备,TPMS诊断工具(102)中设置有无线通信接口(11),该方法包括:通过无线通信接口(11)从服务器(103)获取TPMS诊断工具(102)的最新版本信息,最新版本信息中包括最新版本号和升级路径,升级路径用于指示TPMS诊断工具(102)的升级包在服务器(103)中的存储位置;获取TPMS诊断工具(102)的当前版本号;在确定最新版本号和当前版本号不同时,通过无线通信接口(11)从服务器(103)获取升级路径对应的升级包;根据升级包升级TPMS诊断工具(102)。

Description

轮胎压力检测系统TPMS诊断工具的升级方法及设备
本申请要求于2018年6月29日提交中国专利局、申请号为201810695090.9、申请名称为“轮胎压力检测系统TPMS诊断工具的升级方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种轮胎压力检测系统TPMS诊断工具的升级方法及设备。
背景技术
目前,多数车辆中设置有轮胎压力监测系统(Tire Pressure Monitoring System,简称TPMS),TPMS用于对车辆的轮胎压力进行检测,在确定轮胎压力不满足预设条件时,生成报警信息。
为了确保车辆的安全性,可以通过TPMS诊断工具对设置在车辆中的TPMS进行诊断,以确保车辆中的TPMS可以正常工作。在实际应用过程中,为了保证TPMS诊断工具的可靠性和稳定性,需要不定期的对TPMS诊断工具进行升级。在现有技术中,通常通过电脑对TPMS诊断工具进行升级,具体的,在电脑中安装用于对TPMS诊断工具进行升级的软件,通过通用串行总线(Universal Serial Bus,简称USB)接口将TPMS诊断工具和电脑连接,并通过电脑中软件对TPMS诊断工具进行升级。
然而,在实际应用过程中,只有将TPMS诊断工具与电脑连接之后,通过电脑中的软件对TPMS诊断工具进行检测,用户才能知道是否需要对TPMS诊断工具进行升级,且需要用户手动在电脑中对TPMS诊断工具进行升级。由上可知,在现有技术中,无法及时对TPMS诊断工具进行升级,且对TPMS诊断工具的升级过程复杂。
发明内容
本发明实施例提供一种轮胎压力检测系统TPMS诊断工具的升级方法及设备,不但可以及时对TPMS诊断工具进行升级,还简化了对TPMS诊断工具的升级过程。
第一方面,本发明实施例提供一种TPMS诊断工具的升级方法,所述TPMS诊断工具中设置有无线通信接口,所述方法包括:
通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息,所述最新版本信息中包括最新版本号和升级路径,所述升级路径用于指示所述TPMS诊断工具的升级包在所述服务器中的存储位置;
获取所述TPMS诊断工具的当前版本号;
在确定所述最新版本号和所述当前版本号不同时,通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包;
根据所述升级包升级所述TPMS诊断工具。
在一种可能的实施方式中,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息,包括:
在确定通过所述无线通信接口接入无线网络时,或者,接收到用户输入的升级查询指令时,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息。
在另一种可能的实施方式中,在所述通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包之前,还包括:
生成升级指示信息;
接收用户根据所述升级指示信息输入的升级确认信息。
在另一种可能的实施方式中,在所述获取所述TPMS诊断工具的当前版本号之前,还包括:
判断所述最新版本信息是否有效;
所述获取所述TPMS诊断工具的当前版本号,包括:
若判断所述最新版本信息有效,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,判断所述最新版本信息是否有效,包括:
获取所述最新版本号的格式和所述升级路径的格式;
根据所述最新版本号的格式和所述升级路径的格式,判断所述最新版本信息是否有效。
在另一种可能的实施方式中,若判断所述最新版本号无效,所述方法还包括:
重新获取所述最新版本信息,并累计获取所述最新版本信息的无效次数;
所述获取所述TPMS诊断工具的当前版本号,包括:
当所述无效次数小于预设的次数阈值,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,若判断所述最新版本号无效,所述方法还包括:
重新获取所述最新版本信息,并记录重新获取所述最新版本信息的时长;
所述获取所述TPMS诊断工具的当前版本号,包括:
当所述时长小于预设的时长阈值时,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述根据所述升级包升级所述TPMS诊断工具,包括:
对所述升级包进行校验;
对所述升级包校验通过之后,根据所述升级包升级所述TPMS诊断工具。
第二方面,本发明实施例提供一种轮胎压力检测系统TPMS诊断工具的升 级设备,包括无线通信接口、处理器、存储器及通信总线,所述通信总线用于实现各元器件之间的连接,所述存储器用于存储程序指令,所述处理器用于读取所述存储器中的程序指令,并根据所述存储器中的程序指令执行如下步骤:
通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息,所述最新版本信息中包括最新版本号和升级路径,所述升级路径用于指示所述TPMS诊断工具的升级包在所述服务器中的存储位置;
获取所述TPMS诊断工具的当前版本号;
在确定所述最新版本号和所述当前版本号不同时,通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包;
根据所述升级包升级所述TPMS诊断工具。
在一种可能的实施方式中,所述处理器具体用于:
在确定通过所述无线通信接口接入无线网络时,或者,接收到用户输入的升级查询指令时,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息。
在另一种可能的实施方式中,所述处理器还用于:
在所述处理器通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包之前,生成升级指示信息,并接收用户根据所述升级指示信息输入的升级确认信息。
在另一种可能的实施方式中,所述处理器还用于:
在所述处理器获取所述TPMS诊断工具的当前版本号之前,判断所述最新版本信息是否有效;
相应的,所述处理器具体用于,若判断所述最新版本信息有效,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述处理器具体用于:
获取所述最新版本号的格式和所述升级路径的格式;
根据所述最新版本号的格式和所述升级路径的格式,判断所述最新版本信息是否有效。
在另一种可能的实施方式中,所述处理器还用于:
在所述处理器判断所述最新版本号无效时,重新获取所述最新版本信息,并累计获取所述最新版本信息的无效次数;
相应的,所述处理器具体用于,当所述无效次数小于预设的次数阈值,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述处理器还用于:
在所述处理器判断所述最新版本号无效时,重新获取所述最新版本信息,并记录重新获取所述最新版本信息的时长;
相应的,所述处理器具体用于,当所述时长小于预设的时长阈值时,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述处理器具体用于:
对所述升级包进行校验;
对所述升级包校验通过之后,根据所述升级包升级所述TPMS诊断工具。
第三方面,本发明实施例提供一种轮胎压力检测系统TPMS诊断工具的升级装置,所述TPMS诊断工具中设置有无线通信接口,所述装置包括获取模块和升级模块,其中,
所述获取模块用于,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息,所述最新版本信息中包括最新版本号和升级路径,所述升级路径用于指示所述TPMS诊断工具的升级包在所述服务器中的存储位置;
所述获取模块还用于,获取所述TPMS诊断工具的当前版本号;
所述获取模块还用于,在确定所述最新版本号和所述当前版本号不同时,通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包;
所述升级模块用于,根据所述升级包升级所述TPMS诊断工具。
在一种可能的实施方式中,所述获取模块具体用于:
在确定通过所述无线通信接口接入无线网络时,或者,接收到用户输入的升级查询指令时,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息。
在另一种可能的实施方式中,所述装置还包括生成模块和接收模块,其中,
所述生成模块用于,在所述获取模块通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包之前,生成升级指示信息;
所述接收模块用于,接收用户根据所述升级指示信息输入的升级确认信息。
在另一种可能的实施方式中,所述装置还包括验证模块,其中,
所述验证模块用于,在所述获取模块获取所述TPMS诊断工具的当前版本号之前,判断所述最新版本信息是否有效;
相应的,所述获取模块具体用于,若判断所述最新版本信息有效,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述验证模块具体用于:
获取所述最新版本号的格式和所述升级路径的格式;
根据所述最新版本号的格式和所述升级路径的格式,判断所述最新版本信息是否有效。
在另一种可能的实施方式中,所述获取模块还用于:
若判断所述最新版本号无效,重新获取所述最新版本信息,并累计获取所述最新版本信息的无效次数;
当所述无效次数小于预设的次数阈值,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述获取模块还用于:
若判断所述最新版本号无效,重新获取所述最新版本信息,并记录重新获取所述最新版本信息的时长;
当所述时长小于预设的时长阈值时,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述升级模块具体用于:
对所述升级包进行校验;
对所述升级包校验通过之后,根据所述升级包升级所述TPMS诊断工具。
第四方面,本发明实施例提供一种可读存储介质,包括程序或指令,当所述程序或指令在计算机上运行时,如上述第一方面任意一项所述的方法被执行。
本发明实施例提供的TPMS诊断工具的升级方法及设备,在TPMS诊断工具中设置有无线通信接口,可以通过无线通信接口接入无线网络,在接入无线网络之后,可以通过无线通信接口从服务器获取TPMS诊断工具的最新版本信息,获取TPMS诊断工具的当前版本号;在确定最新版本号和当前版本号不同时,根据升级路径,通过无线通信接口从服务器获取升级包,并根据升级包升级TPMS诊断工具。在上述过程中,TPMS诊断工具可以自动判断是否需要对TPMS诊断工具进行升级,在确定需要对TPMS诊断工具进行升级时,可以自动下载升级包,并根据升级包对诊断工具进行升级,不但可以及时对TPMS诊断工具进行升级,还简化了对TPMS诊断工具的升级过程。
附图说明
图1为本发明实施例提供的TPMS诊断工具升级的架构图;
图2为本发明实施例提供的TPMS诊断工具的升级方法的流程示意图一;
图3为本发明实施例提供的TPMS诊断工具的升级方法的流程示意图二;
图4为本发明实施例提供的TPMS诊断工具的升级设备的结构示意图;
图5为本发明实施例提供的TPMS诊断工具的升级装置的结构示意图一;
图6为本发明实施例提供的TPMS诊断工具的升级装置的结构示意图二。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明实施例提供的TPMS诊断工具升级的架构图。请参见图1,包括车辆101、TPMS诊断工具102和服务器103。
在车辆101中设置有TPMS,TPMS用于对车辆的轮胎压力等参数进行检测,并在车辆的轮胎压力等参数不符合条件时生成报警信息。
TPMS诊断工具102中至少包括功能模块、升级模块和无线通信接口。TPMS 诊断工具102可以通过无线通信接口与服务器103建立无线连接,并通过无线通信接口与服务器103进行交互。
服务器103中包括TPMS诊断工具的最新版本信息、升级包等。TPMS诊断工具102中的功能模块可以通过无线通信接口从服务器103中获取最新版本信息,并根据最新版本信息确定是否需要对TPMS诊断工具102进行升级,当确定需要对TPMS诊断工具102进行升级时,功能模块可以向升级模块发送通知消息,以使升级模块通过无线通信接口从服务器103获取升级包,并根据升级包对TPMS诊断工具进行升级。
在本申请中,通过在TPMS诊断工具中设置无线通信接口,使得TPMS诊断工具可以通过无线通信接口接入无线网络,这样,TPMS诊断工具可以通过无线网络与服务器进行交互,以从服务器中获取TPMS诊断工具的最新版本号,并根据最新版本号判断是否需要对TPMS诊断工具进行升级,在确定需要对TPMS诊断工具进行升级时,TPMS诊断工具可以通过无线网络从服务器获取升级包,并根据升级包对TPMS诊断工具进行升级。在上述过程中,TPMS诊断工具可以自动判断是否需要对TPMS诊断工具进行升级,在确定需要对TPMS诊断工具进行升级时,可以自动下载升级包,并根据升级包对诊断工具进行升级,不但可以及时对TPMS诊断工具进行升级,还简化了对TPMS诊断工具的升级过程。
需要说明的是,图1只是以示例的形式示意一种TPMS诊断工具升级的架构图,并非对架构进行的限定,在实际应用过程中,还可以采用其它可行的架构。例如,TPMS诊断工具中的功能模块和升级模块还可以合并为一个模块。
下面,通过具体实施例对本申请所示的技术方案进行详细说明。需要说明的是,下面几个具体实施例可以相互结合,对于相同或相似的内容,在不同的实施例中不再进行重复说明。
图2为本发明实施例提供的TPMS诊断工具的升级方法的流程示意图一。请参见图2,该方法可以包括:
S201、通过无线通信接口从服务器获取TPMS诊断工具的最新版本信息,最新版本信息中包括最新版本号和升级路径。
其中,升级路径用于指示TPMS诊断工具的升级包在服务器中的存储位置。
需要说明的是,TPMS诊断工具通常包括软件部分和硬件部分,本发明实施例所指的TPMS诊断工具的升级是指对TPMS诊断工具的软件部分进行升级。
本发明实施例的执行主体可以为TPMS诊断工具,也可以为设置在TPMS诊断工具中的升级装置。可选的,该升级装置可以通过软件实现,也可以通过软件和硬件的结合实现。
在本发明实施例中,TPMS诊断工具中设置有无线通信接口。可选的,无线通信接口可以为无线保真(Wireless-Fidelity,简称WIFI)模块或通用分组无线服务(General Packet Radio Service,简称GPRS)模块。当然,无线通信接口还可以为其它,只要TPMS诊断工具通过无线通信接口可以接入无 线网络即可,本发明实施例对此不作具体限定。
可选的,在S201之前,可以先通过无线通信接口接入无线网络。
需要说明的是,在通过无线通信接口接入无线网络的过程中,可以尝试多次通过无线通信接口接入无线网络,若尝试多次之后均无法接入无线网络,则流程结束。
可选的,在S201之前,还需要通过无线通信接口与服务器建立无线连接。
需要说明的是,在通过无线通信接口与服务器建立无线连接的过程中,可以尝试多次通过无线通信接口与服务器建立无线连接,若尝试多次之后均无法与服务器建立无线连接,则流程结束。
可选的,可以在确定通过无线通信接口接入无线网络时,或者,接收到用户输入的升级查询指令时,通过无线通信接口从服务器获取TPMS诊断工具的最新版本信息。当然,在实际应用的过程中,在还有在其它条件下获取最新版本信息,本发明实施例对此不作具体限定。
可选的,在TPMS诊断工具接入无线网络之后,用户可以在TPMS诊断工具中输入升级查询指令,升级查询指令用于请求查询是否需要对TPMS诊断工具进行升级。
可选的,可以通过无线通信接口向服务器发送版本信息获取请求,版本信息获取请求用于请求获取最新版本信息。在服务器接收到版本信息获取请求之后,服务器获取TPMS的最新版本号和升级路径,并向TPMS诊断工具发送版本信息获取响应,并在版本信息获取响应中携带最新版本号和升级路径。
可选的,在获取得到最新版本信息之后,可以判断最新版本信息是否有效。
可选的,可以通过如下可行的实现方式判断最新版本信息是否有效:判断最新版本信息中是否同时包括最新版本号和升级路径,若否,则说明获取得到的最新版本信息有误,则需重新获取最新版本信息。若是,则继续验证获取得到的最新版本号和升级路径是否正确。可选的,可以获取最新版本号的格式和升级路径的格式,根据最新版本号的格式和升级路径的格式,验证最新版本信息。
可选的,若验证最新版本信息失败,则重新获取最新版本信息,并累计获取最新版本信息的无效次数,当无效次数小于预设的次数阈值,且重新获取的最新版本信息有效时,再执行S202。
可选的,若验证最新版本信息失败,则重新获取最新版本信息,并记录重新获取最新版本信息的时长,当时长小于预设的时长阈值时,且重新获取的最新版本信息有效时,再执行S202。
在上述过程中,当对最新版本信息验证通过时,才继续执行S202,若连续多次均对最新版本信息验证失败,或者在预设时长内均对最新版本信息验证失败,则流程结束。这样,可以避免根据错误的最新版本信息对TPMS诊断工具进行升级。
S202、获取TPMS诊断工具的当前版本号。
可选的,可以在TPMS诊断工具本地获取TPMS诊断工具的当前版本号。
例如,可以在TPMS诊断工具的本地的预设文件中存储TPMS诊断工具的当前版本号。相应的,直接在预设文件中获取TPMS诊断工具的当前版本号即可。
S203、在确定最新版本号和当前版本号不同时,通过无线通信接口从服务器获取升级路径对应的升级包。
可选的,TPMS诊断工具的版本号通常满足预设格式要求。可以将最新版本号和当前版本号进行逐位比较,当最新版本号和当前版本号中对应位上的字符不同时,则确定最新版本号和当前版本号不同。
需要说明的是,服务器上的TPMS诊断工具的最新版本号通常与TPMS诊断工具的当前版本号相同,或者,比TPMS诊断工具的当前版本号高,因此,当最新版本号与当前版本号不同时,则说明TPMS诊断工具需要升级。
可选的,可以通过无线通信接口向服务器发送升级包获取请求,升级包获取请求中包括升级路径。在服务器接收到升级包获取请求之后,可以根据升级路径在服务器中获取升级包,并发送升级包获取响应,升级包获取响应中携带升级包。
可选的,在确定最新版本号和当前版本号不同时,可以生成升级指示信息,升级指示信息用于提示用户是否对TPMS诊断工具进行升级。若用户不需要对TPMS诊断工具进行升级,则可以在TPMS诊断工具中输入升级取消信息,则TPMS可以根据该升级取消信息结束流程。若用户需要对TPMS诊断工具进行升级,则用户可以在TPMS诊断工具中输入升级确认信息,则TPMS诊断工具可以根据该升级确认信息从服务器获取升级包。
S204、根据升级包升级TPMS诊断工具。
可选的,在从服务器获取得到升级包之后,可以对升级包进行校验,在对升级包校验通过之后,再根据升级包升级TPMS诊断工具。
本发明实施例提供的TPMS诊断工具的升级方法,在TPMS诊断工具中设置有无线通信接口,可以通过无线通信接口接入无线网络,在接入无线网络之后,可以通过无线通信接口从服务器获取TPMS诊断工具的最新版本信息,获取TPMS诊断工具的当前版本号;在确定最新版本号和当前版本号不同时,根据升级路径,通过无线通信接口从服务器获取升级包,并根据升级包升级TPMS诊断工具。在上述过程中,TPMS诊断工具可以自动判断是否需要对TPMS诊断工具进行升级,在确定需要对TPMS诊断工具进行升级时,可以自动下载升级包,并根据升级包对诊断工具进行升级,不但可以及时对TPMS诊断工具进行升级,还简化了对TPMS诊断工具的升级过程。
在上述任意一个实施例的基础上,下面,通过图3所示的实施例对TPMS诊断工具的升级方法进行进一步详细说明。
图3为本发明实施例提供的TPMS诊断工具的升级方法的流程示意图二。请参见图3,该方法可以包括:
S301、通过无线通信接口接入无线网络。
可选的,在通过无线通信接口接入无线网络的过程中,在请求一次接入无线网络之后,可以判断是否成功接入无线网络,若是,则执行S302,若否,则继续请求接入无线网络,直至接入无线网络成功,或者,请求接入无线网络的次数大于预设次数时结束流程。
S302、通过无线通信接口与服务器建立无线连接。
可选的,可以通过无线通信接口向服务器发送无线连接建立请求,并接受服务器发送的无线连接建立响应。在接收到无线连接建立响应之后,根据无线连接建立响应判断是否成功与服务器建立无线连接,若是,则继续执行S303,若否,则继续请求与服务器建立无线连接,直至成功与服务器建立无线连接,或者,请求与服务器建立无线连接的次数大于预设次数时结束流程。
S303、通过无线通信接口向服务器请求获取TPMS诊断工具的最新版本信息,最新版本信息中包括最新版本号和升级路径。
可选的,在获取得到最新版本信息之后,可以对最新版本信息进行验证,当对最新版本信息验证成功时,则继续执行S302,否则,重新获取最新版本信息,直至对获取得到的最新版本信息验证成功,或者,获取最新版本的次数大于预设次数时结束流程。
需要说明的是,对最新版本信息的验证过程可以参见S201,此处不再进行赘述。
S304、判断最新版本信息是否有效。
若是,则执行S307。
若否,则执行S305。
S305、将获取最新版本信息的无效次数加1。
其中,初始时,无效次数为0。
S306、判断无效次数是否大于预设的次数阈值。
若是,则执行S311。
若否,则执行S303。
S307、获取TPMS诊断工具的当前版本号。
需要说明的是,S304的执行过程可以参见S202,此次不再进行赘述。
S308、判断最新版本号和当前版本号是否相同。
若是,则执行S311。
若否,则执行S309。
S309、通过无线通信接口,从服务器获取升级路径对应的升级包。
在获取得到升级包之后,可以对升级包进行校验。
可选的,若对升级包校验失败,则重新获取升级包,并进行校验,直至对获取得到的升级包校验通过,或者下载升级包的次数大于预设次数时结束流程。
可选的,若升级包较大,则在下载升级包的过程中,升级包会分包传输,且对每个分包分别校验,若对每一个分包都校验通过,则对升级包校验通过。
S310、根据升级包对TPMS诊断工具进行升级。
可选的,在升级结束时,可以对升级的数据按约定的算法进行校验,校验通过,则标志升级完成,否则,重新执行升级操作,直至校验通过,或者,执行
S311、流程结束。
在图3所示的实施例中,TPMS诊断工具可以通过无线通信接口接入无线网络,在接入无线网络之后,可以通过无线通信接口从服务器获取TPMS诊断工具的最新版本信息,获取TPMS诊断工具的当前版本号;在确定最新版本号和当前版本号不同时,根据升级路径,通过无线通信接口从服务器获取升级包,并根据升级包升级TPMS诊断工具。在上述过程中,TPMS诊断工具可以自动判断是否需要对TPMS诊断工具进行升级,在确定需要对TPMS诊断工具进行升级时,可以自动下载升级包,并根据升级包对诊断工具进行升级,不但可以及时对TPMS诊断工具进行升级,还简化了对TPMS诊断工具的升级过程。
图4为本发明实施例提供的TPMS诊断工具的升级设备的结构示意图。请参见图4,包括无线通信接口11、处理器12、存储器13及通信总线14,所述通信总线14用于实现各元器件之间的连接,所述存储器13用于存储程序指令,所述处理器12用于读取所述存储器13中的程序指令,并根据所述存储器13中的程序指令执行如下步骤:
通过所述无线通信接口11从服务器获取所述TPMS诊断工具的最新版本信息,所述最新版本信息中包括最新版本号和升级路径,所述升级路径用于指示所述TPMS诊断工具的升级包在所述服务器中的存储位置;
获取所述TPMS诊断工具的当前版本号;
在确定所述最新版本号和所述当前版本号不同时,通过所述无线通信接口11从所述服务器获取所述升级路径对应的升级包;
根据所述升级包升级所述TPMS诊断工具。
本发明实施例提供的TPMS诊断工具的升级设备可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
在一种可能的实施方式中,所述处理器12具体用于:
在确定通过所述无线通信接口11接入无线网络时,或者,接收到用户输入的升级查询指令时,通过所述无线通信接口11从服务器获取所述TPMS诊断工具的最新版本信息。
在另一种可能的实施方式中,所述处理器12还用于:
在所述处理器通过所述无线通信接口11从所述服务器获取所述升级路径对应的升级包之前,生成升级指示信息,并接收用户根据所述升级指示信息输入的升级确认信息。
在另一种可能的实施方式中,所述处理器12还用于:
在所述处理器获取所述TPMS诊断工具的当前版本号之前,判断所述最新版本信息是否有效;
相应的,所述处理器12具体用于,若判断所述最新版本信息有效,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述处理器12具体用于:
获取所述最新版本号的格式和所述升级路径的格式;
根据所述最新版本号的格式和所述升级路径的格式,判断所述最新版本信息是否有效。
在另一种可能的实施方式中,所述处理器12还用于:
在所述处理器判断所述最新版本号无效时,重新获取所述最新版本信息,并累计获取所述最新版本信息的无效次数;
相应的,所述处理器12具体用于,当所述无效次数小于预设的次数阈值,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述处理器12还用于:
在所述处理器判断所述最新版本号无效时,重新获取所述最新版本信息,并记录重新获取所述最新版本信息的时长;
相应的,所述处理器具体用于,当所述时长小于预设的时长阈值时,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述处理器12具体用于:
对所述升级包进行校验;
对所述升级包校验通过之后,根据所述升级包升级所述TPMS诊断工具。
本发明实施例提供的TPMS诊断工具的升级设备可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
图5为本发明实施例提供的TPMS诊断工具的升级装置的结构示意图一。所述TPMS诊断工具中设置有无线通信接口,请参见图5,所述装置包括获取模块21和升级模块22,其中,
所述获取模块21用于,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息,所述最新版本信息中包括最新版本号和升级路径,所述升级路径用于指示所述TPMS诊断工具的升级包在所述服务器中的存储位置;
所述获取模块21还用于,获取所述TPMS诊断工具的当前版本号;
所述获取模块21还用于,在确定所述最新版本号和所述当前版本号不同时,通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包;
所述升级模块22用于,根据所述升级包升级所述TPMS诊断工具。
本发明实施例提供的TPMS诊断工具的升级装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
在一种可能的实施方式中,所述获取模块21具体用于:
在确定通过所述无线通信接口接入无线网络时,或者,接收到用户输入的升级查询指令时,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息。
图6为本发明实施例提供的TPMS诊断工具的升级装置的结构示意图二,在图5所示实施例的基础上,请参见图6,所述装置还包括生成模块23和接收模块24,其中,
所述生成模块23用于,在所述获取模块21通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包之前,生成升级指示信息;
所述接收模块24用于,接收用户根据所述升级指示信息输入的升级确认信息。
在另一种可能的实施方式中,所述装置还包括验证模块25,其中,
所述验证模块25用于,在所述获取模块获取所述TPMS诊断工具的当前版本号之前,判断所述最新版本信息是否有效;
相应的,所述获取模块21具体用于,若判断所述最新版本信息有效,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述验证模块25具体用于:
获取所述最新版本号的格式和所述升级路径的格式;
根据所述最新版本号的格式和所述升级路径的格式,判断所述最新版本信息是否有效。
在另一种可能的实施方式中,所述获取模块21还用于:
若判断所述最新版本号无效,重新获取所述最新版本信息,并累计获取所述最新版本信息的无效次数;
当所述无效次数小于预设的次数阈值,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述获取模块21还用于:
若判断所述最新版本号无效,重新获取所述最新版本信息,并记录重新获取所述最新版本信息的时长;
当所述时长小于预设的时长阈值时,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
在另一种可能的实施方式中,所述升级模块22具体用于:
对所述升级包进行校验;
对所述升级包校验通过之后,根据所述升级包升级所述TPMS诊断工具。
本发明实施例提供的TPMS诊断工具的升级装置可以执行上述方法实施例所示的技术方案,其实现原理以及有益效果类似,此处不再进行赘述。
本发明实施例还提供一种可读存储介质,包括程序或指令,当所述程序或指令在计算机上运行时,如上述任意方法实施例所示的技术方案被执行。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明实施例的技术方案,而 非对其限制;尽管参照前述各实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例方案的范围。

Claims (16)

  1. 一种轮胎压力检测系统TPMS诊断工具的升级方法,其特征在于,所述TPMS诊断工具中设置有无线通信接口,所述方法包括:
    通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息,所述最新版本信息中包括最新版本号和升级路径,所述升级路径用于指示所述TPMS诊断工具的升级包在所述服务器中的存储位置;
    获取所述TPMS诊断工具的当前版本号;
    在确定所述最新版本号和所述当前版本号不同时,通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包;
    根据所述升级包升级所述TPMS诊断工具。
  2. 根据权利要求1所述的方法,其特征在于,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息,包括:
    在确定通过所述无线通信接口接入无线网络时,或者,接收到用户输入的升级查询指令时,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息。
  3. 根据权利要求1或2所述的方法,其特征在于,在所述通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包之前,还包括:
    生成升级指示信息;
    接收用户根据所述升级指示信息输入的升级确认信息。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,在所述获取所述TPMS诊断工具的当前版本号之前,还包括:
    判断所述最新版本信息是否有效;
    所述获取所述TPMS诊断工具的当前版本号,包括:
    若判断所述最新版本信息有效,获取所述TPMS诊断工具的当前版本号。
  5. 根据权利要求4所述的方法,其特征在于,判断所述最新版本信息是否有效,包括:
    获取所述最新版本号的格式和所述升级路径的格式;
    根据所述最新版本号的格式和所述升级路径的格式,判断所述最新版本信 息是否有效。
  6. 根据权利要求4或5所述的方法,其特征在于,若判断所述最新版本号无效,所述方法还包括:
    重新获取所述最新版本信息,并累计获取所述最新版本信息的无效次数;
    所述获取所述TPMS诊断工具的当前版本号,包括:
    当所述无效次数小于预设的次数阈值,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
  7. 根据权利要求4或5所述的方法,其特征在于,若判断所述最新版本号无效,所述方法还包括:
    重新获取所述最新版本信息,并记录重新获取所述最新版本信息的时长;
    所述获取所述TPMS诊断工具的当前版本号,包括:
    当所述时长小于预设的时长阈值时,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述根据所述升级包升级所述TPMS诊断工具,包括:
    对所述升级包进行校验;
    对所述升级包校验通过之后,根据所述升级包升级所述TPMS诊断工具。
  9. 一种轮胎压力检测系统TPMS诊断工具的升级设备,其特征在于,包括无线通信接口、处理器、存储器及通信总线,所述通信总线用于实现各元器件之间的连接,所述存储器用于存储程序指令,所述处理器用于读取所述存储器中的程序指令,并根据所述存储器中的程序指令执行如下步骤:
    通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息,所述最新版本信息中包括最新版本号和升级路径,所述升级路径用于指示所述TPMS诊断工具的升级包在所述服务器中的存储位置;
    获取所述TPMS诊断工具的当前版本号;
    在确定所述最新版本号和所述当前版本号不同时,通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包;
    根据所述升级包升级所述TPMS诊断工具。
  10. 根据权利要求9所述的设备,其特征在于,所述处理器具体用于:
    在确定通过所述无线通信接口接入无线网络时,或者,接收到用户输入的升级查询指令时,通过所述无线通信接口从服务器获取所述TPMS诊断工具的最新版本信息。
  11. 根据权利要求9或10所述的设备,其特征在于,所述处理器还用于:
    在所述处理器通过所述无线通信接口从所述服务器获取所述升级路径对应的升级包之前,生成升级指示信息,并接收用户根据所述升级指示信息输入的升级确认信息。
  12. 根据权利要求9-11任一项所述的设备,其特征在于,所述处理器还用于:
    在所述处理器获取所述TPMS诊断工具的当前版本号之前,判断所述最新版本信息是否有效;
    相应的,所述处理器具体用于,若判断所述最新版本信息有效,获取所述TPMS诊断工具的当前版本号。
  13. 根据权利要求12所述的设备,其特征在于,所述处理器具体用于:
    获取所述最新版本号的格式和所述升级路径的格式;
    根据所述最新版本号的格式和所述升级路径的格式,判断所述最新版本信息是否有效。
  14. 根据权利要求12或13所述的设备,其特征在于,所述处理器还用于:
    在所述处理器判断所述最新版本号无效时,重新获取所述最新版本信息,并累计获取所述最新版本信息的无效次数;
    相应的,所述处理器具体用于,当所述无效次数小于预设的次数阈值,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
  15. 根据权利要求12或13所述的设备,其特征在于,所述处理器还用于:
    在所述处理器判断所述最新版本号无效时,重新获取所述最新版本信息,并记录重新获取所述最新版本信息的时长;
    相应的,所述处理器具体用于,当所述时长小于预设的时长阈值时,且重新获取的最新版本信息有效时,获取所述TPMS诊断工具的当前版本号。
  16. 根据权利要求9-15任一项所述的设备,其特征在于,所述处理器具体用于:
    对所述升级包进行校验;
    对所述升级包校验通过之后,根据所述升级包升级所述TPMS诊断工具。
PCT/CN2019/090104 2018-06-29 2019-06-05 轮胎压力检测系统tpms诊断工具的升级方法及设备 WO2020001249A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/130,766 US20210107325A1 (en) 2018-06-29 2020-12-22 Method and device for upgrading tpms diagnostic tool

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810695090.9A CN108973542B (zh) 2018-06-29 2018-06-29 轮胎压力检测系统tpms诊断工具的升级方法及设备
CN201810695090.9 2018-06-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/130,766 Continuation US20210107325A1 (en) 2018-06-29 2020-12-22 Method and device for upgrading tpms diagnostic tool

Publications (1)

Publication Number Publication Date
WO2020001249A1 true WO2020001249A1 (zh) 2020-01-02

Family

ID=64539004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090104 WO2020001249A1 (zh) 2018-06-29 2019-06-05 轮胎压力检测系统tpms诊断工具的升级方法及设备

Country Status (3)

Country Link
US (1) US20210107325A1 (zh)
CN (1) CN108973542B (zh)
WO (1) WO2020001249A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308185A (zh) * 2017-07-25 2019-02-05 深圳市道通科技股份有限公司 胎压监测模块的升级方法及其装置、胎压传感器
CN108973542B (zh) * 2018-06-29 2020-07-07 深圳市道通科技股份有限公司 轮胎压力检测系统tpms诊断工具的升级方法及设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2043054A1 (en) * 2007-09-25 2009-04-01 Continental Automotive GmbH Wireless flashable remote control
CN102862450A (zh) * 2012-08-21 2013-01-09 深圳市元征科技股份有限公司 一种基于无线通讯连接实现通用tpms发射终端升级的系统及方法
CN103587357A (zh) * 2013-11-08 2014-02-19 深圳市道通科技有限公司 一种tpms传感器升级系统、升级方法及装置
CN106802818A (zh) * 2016-12-31 2017-06-06 智车优行科技(北京)有限公司 车载设备的升级方法、业务处理装置和系统、车辆
CN108973542A (zh) * 2018-06-29 2018-12-11 深圳市道通科技股份有限公司 轮胎压力检测系统tpms诊断工具的升级方法及设备

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7592903B2 (en) * 2006-10-30 2009-09-22 Spx Corporation Tire pressure monitor system tool with re-learn and diagnostic procedures
US8638207B2 (en) * 2007-08-09 2014-01-28 Drew Technologies Modular vehicular diagnostic tool
US20090119657A1 (en) * 2007-10-24 2009-05-07 Link Ii Charles M Methods and systems for software upgrades
US20120101855A1 (en) * 2010-05-17 2012-04-26 The Travelers Indemnity Company Monitoring client-selected vehicle parameters in accordance with client preferences
CN103513998B (zh) * 2012-06-25 2018-05-04 中兴通讯股份有限公司 升级包生成方法和装置、动态文件差分升级的方法和终端
CN103532922B (zh) * 2012-09-29 2016-12-21 深圳友讯达科技股份有限公司 一种软件版本升级方法、装置及系统
CN102963219B (zh) * 2012-10-19 2016-01-20 深圳市元征科技股份有限公司 一种带诊断的tpms装置及控制方法
CN103419577B (zh) * 2013-08-20 2016-06-15 深圳市道通科技股份有限公司 一种可升级通用型胎压感测装置、系统及系统实现方法
CN107225918A (zh) * 2016-03-24 2017-10-03 苏州驶安特汽车电子有限公司 一种胎压传感器系统及通信协议调配方法
EP3441876B1 (en) * 2016-04-27 2023-02-15 Honor Device Co., Ltd. Patch upgrade-based file processing method and device, terminal, and storage medium
CN107160954A (zh) * 2017-05-25 2017-09-15 深圳市晟达科技有限公司 基于云平台的胎压监测方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2043054A1 (en) * 2007-09-25 2009-04-01 Continental Automotive GmbH Wireless flashable remote control
CN102862450A (zh) * 2012-08-21 2013-01-09 深圳市元征科技股份有限公司 一种基于无线通讯连接实现通用tpms发射终端升级的系统及方法
CN103587357A (zh) * 2013-11-08 2014-02-19 深圳市道通科技有限公司 一种tpms传感器升级系统、升级方法及装置
CN106802818A (zh) * 2016-12-31 2017-06-06 智车优行科技(北京)有限公司 车载设备的升级方法、业务处理装置和系统、车辆
CN108973542A (zh) * 2018-06-29 2018-12-11 深圳市道通科技股份有限公司 轮胎压力检测系统tpms诊断工具的升级方法及设备

Also Published As

Publication number Publication date
CN108973542B (zh) 2020-07-07
US20210107325A1 (en) 2021-04-15
CN108973542A (zh) 2018-12-11

Similar Documents

Publication Publication Date Title
US20190057214A1 (en) Update control device, terminal, and method of controlling
KR101600460B1 (ko) 보안기능을 갖는 ecu 업그레이드시스템 및 그 방법
CN105278994A (zh) 车载ecu软件的更新方法及更新系统
WO2020001249A1 (zh) 轮胎压力检测系统tpms诊断工具的升级方法及设备
CN108241498B (zh) 一种车载设备升级方法、装置及车辆
CN110687888B (zh) 一种应用于机车的自动升级测试装置及系统
CN111742354A (zh) 一种车辆诊断方法、系统、设备及服务器
CN111722864A (zh) 一种ecu数据刷写方法及相关装置
CN112311892A (zh) 一种汽车钥匙匹配的方法、装置以及汽车通信接口设备
CN104991800A (zh) 一种未联网设备固件升级方法、装置和系统
CN110795124A (zh) 汽车安全件的远程升级方法、装置、设备及存储介质
CN113645590A (zh) 基于加密算法的远程控制车辆的方法、装置、设备及介质
CN110855318B (zh) 一种胎压传感器升级方法、装置、设备及介质
CN113608763A (zh) 车载ota升级方法、装置、设备及作业机械
CN115002168A (zh) 一种车辆远程控制的安全检测方法及车载系统
CN105786636A (zh) 一种系统修复方法及装置
CN107957877A (zh) 设备固件升级方法及装置、计算机可读存储介质、终端
CN105045671A (zh) 一种智能终端的系统升级方法及装置
CN113037850A (zh) 一种应用程序升级方法、装置、电子设备及存储介质
CN112181449B (zh) 车载软件升级方法、装置、系统及存储介质
CN105549995A (zh) 一种音频设备升级方法及装置
CN112650510A (zh) 一种仪表控制系统软件升级的方法、装置和汽车
CN112667301A (zh) 车载操作系统的扩展坞实现方法和系统、电子设备
CN116257270A (zh) 一种车辆、车辆的升级方法和装置
CN111835504B (zh) 识别码生成方法及服务器

Legal Events

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

Ref document number: 19825189

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19825189

Country of ref document: EP

Kind code of ref document: A1