WO2019137345A1 - 与轮胎压力监测系统建立通信连接的方法、其装置及电子设备 - Google Patents

与轮胎压力监测系统建立通信连接的方法、其装置及电子设备 Download PDF

Info

Publication number
WO2019137345A1
WO2019137345A1 PCT/CN2019/070753 CN2019070753W WO2019137345A1 WO 2019137345 A1 WO2019137345 A1 WO 2019137345A1 CN 2019070753 W CN2019070753 W CN 2019070753W WO 2019137345 A1 WO2019137345 A1 WO 2019137345A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
communication connection
protocol
tire pressure
monitoring system
Prior art date
Application number
PCT/CN2019/070753
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 WO2019137345A1 publication Critical patent/WO2019137345A1/zh
Priority to US16/924,363 priority Critical patent/US12087099B2/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • 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
    • 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/0479Communicating with external units being not part of the vehicle, e.g. tools for diagnostic, mobile phones, electronic keys or service stations
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0816Indicating performance data, e.g. occurrence of a malfunction
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring

Definitions

  • the present application relates to the field of vehicle diagnostic technology, and in particular, to a method, a device and an electronic device for establishing a communication connection with a tire pressure monitoring system.
  • Tire pressure monitoring system refers to the real-time automatic monitoring of the tire pressure of the car during the running of the car, and alarms when the tire leaks or the tire pressure is insufficient, so as to ensure the safety of driving safety through hardware and software equipment. system. As people's safety requirements for automobiles continue to increase, more and more cars are equipped with such tire pressure monitoring systems.
  • the tire pressure monitoring system needs to be repaired, and the corresponding diagnostic device is used to communicate with the tire pressure monitoring system via a specific interface (such as an OBD interface) provided in the vehicle to acquire fault information generated by the system or to repair the system fault.
  • a specific interface such as an OBD interface
  • Today's vehicle diagnostic equipment typically establishes communication with the vehicle controller using a one-to-one, uniquely determined protocol based on the vehicle's brand, model, and vehicle information.
  • the inventors have found that the prior art has at least the following problems: since the model of the existing automobile changes and the replacement speed is too fast, it is difficult to change the protocol correspondence in time. Therefore, when establishing a communication connection with the tire pressure detecting system, the correspondence between the default protocol and the actual protocol of the tire monitoring system in the prior art is not completely accurate.
  • an embodiment of the present invention provides a method, apparatus, and electronic device capable of adaptively changing a protocol correspondence relationship for use, establishing communication with a tire pressure detecting system.
  • the embodiment of the present invention provides the following technical solutions:
  • a method of establishing a communication connection with a tire pressure monitoring system includes the steps of: determining a plurality of candidate protocol configurations; loading the candidate protocol configurations one by one until determining at least one available configuration; the available configuration being a protocol configuration capable of establishing a communication connection with the tire pressure monitoring system Establishing a communication connection with the tire pressure detection system based on the available configuration.
  • the determining a number of candidate protocol configurations includes: calculating a configuration to be loaded and generating a corresponding configuration flag; the number of configurations to be loaded is N, N is a positive integer; The configuration flags load configuration, obtain corresponding configuration information, and save the configuration information as the candidate protocol configuration.
  • the loading the configuration according to the N configuration flags to obtain the corresponding configuration information specifically: loading the nth configuration flag of the N configuration flags, where n is a positive integer. And n is less than N; determining whether the nth configuration flag is valid; if yes, acquiring configuration information corresponding to the nth configuration flag, and stopping loading; if not, continuing to load the nth of the N configuration flags +1 configuration flags.
  • the loading the candidate protocol configuration one by one until determining at least one available configuration comprises: loading one of the candidate protocol configurations; and based on the protocol configuration, the tire pressure monitoring system Sending a communication connection request; determining that the communication connection is available, and determining to stop the loading; when the communication connection cannot be established, determining that the configuration is unavailable, and continuing to load the next candidate protocol configuration.
  • the method further comprises adding a data check for the candidate protocol configuration.
  • the loading the candidate protocol configuration one by one until determining at least one available configuration includes:
  • Loading one of the candidate protocol configurations performing verification using an algorithm corresponding to the data check to determine whether the loaded configuration protocol is valid; if yes, transmitting to the tire pressure monitoring system based on the protocol configuration a communication connection request; if not, continuing to load the next candidate protocol configuration; determining that the configuration is available and stopping loading when the communication connection can be established; and determining that the communication connection is not available when the communication connection cannot be established, And continue to load the next candidate protocol configuration.
  • the embodiment of the present invention further provides the following technical solutions:
  • a device that establishes a communication connection with a tire pressure monitoring system includes:
  • a configuration obtaining module configured to determine a plurality of candidate protocol configurations, and a function execution module for loading the candidate protocol configurations one by one until determining at least one available configuration and establishing and the tire pressure detecting system based on the available configurations Establish a communication connection;
  • the available configuration is a protocol configuration that is capable of establishing a communication connection with the tire pressure monitoring system.
  • the configuration obtaining module specifically includes: a calculating unit and a configuration information acquiring unit; the calculating unit is configured to calculate a configuration that needs to be loaded and generate a corresponding configuration flag; the number of configurations to be loaded is N, N is a positive integer; the configuration information acquiring unit is configured to sequentially load the configuration according to the N configuration flags to obtain corresponding configuration information; and save the configuration information as the candidate protocol configuration.
  • the configuration information acquiring unit is specifically configured to load an nth configuration flag of the N configuration flags, where n is a positive integer and n is less than N; determining the nth configuration flag Whether it is valid; if yes, obtain corresponding configuration information, and stop loading; if not, continue to load the n+1th configuration flag of the N configuration flags.
  • the function execution module is specifically configured to: load one of the candidate protocol configurations; send a communication connection request to the tire pressure monitoring system based on the protocol configuration; and enable the communication connection to be established When it is determined that the configuration is available and the loading is stopped; when the communication connection cannot be established, it is determined to be an unavailable configuration, and the next candidate protocol configuration is continued to be loaded.
  • the diagnostic device further includes a verification module for adding a data check for the candidate protocol configuration.
  • the function execution module is specifically configured to: load one of the candidate protocol configurations; perform verification by using an algorithm corresponding to the data check, and determine whether the loaded configuration protocol is valid; Transmitting, according to the protocol configuration, a communication connection request to the tire pressure monitoring system; if not, continuing to load the next candidate protocol configuration; when the communication connection can be established, determining that the configuration is available and stopping loading; When the communication connection cannot be established, it is determined to be an unavailable configuration, and the next candidate protocol configuration continues to be loaded.
  • the embodiment of the present invention further provides the following technical solutions:
  • the electronic device includes at least one processor and a memory communicatively coupled to the at least one processor; wherein the memory stores an instruction program executable by the at least one processor, the instruction program being A processor is operative to enable the at least one processor to perform the method of establishing a communication connection with the tire pressure monitoring system as described above.
  • the method for establishing a communication connection with the tire pressure monitoring system in the embodiment of the present invention adopts multiple candidate protocol configurations to try to establish a communication connection one by one, which reduces the mismatch of protocol configuration when the communication connection is established.
  • the method can improve the success rate of establishing a communication connection with the tire pressure monitoring system without increasing the cost of the hardware equipment, and does not frequently have connection errors and has a better user experience.
  • FIG. 1 is a schematic diagram of an application environment according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a method for establishing a communication connection with a tire pressure monitoring system according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for determining a candidate protocol configuration according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for determining an available configuration according to an embodiment of the present invention.
  • FIG. 5 is a functional block diagram of establishing a communication connection device with a tire pressure monitoring system according to an embodiment of the present invention
  • FIG. 6 is a functional block diagram of the configuration obtaining module shown in FIG. 5 according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 1 is an application environment according to an embodiment of the present invention. As shown in FIG. 1, the application environment includes a car 10 and a diagnostic device 20.
  • the automobile 10 is a vehicle equipped with a tire pressure monitoring system, which may specifically be any type of motor vehicle such as a truck, a car, or the like.
  • the automobile 10 has a plurality of tires (such as four, six, etc.), and the air pressure state of the automobile tire is monitored in real time by the tire pressure monitoring system, and correspondingly occurs in an abnormal state (such as low pressure, puncture, etc.). Warning signal.
  • the car 10 has at least one hardware communication interface (such as an OBD interface) for providing a corresponding hardware interface for establishing an external communication connection.
  • the diagnostic device 20 is a data information reading device used during vehicle fault repair or overhaul.
  • the diagnostic device 20 can establish communication with the automobile 10 through the communication interface provided by the automobile 10 to acquire related data information of the automobile 10.
  • the diagnostic device 20 in addition to establishing a hardware connection with the car 10, it is also necessary to load a suitable or paired protocol configuration in order to correctly enter the corresponding functional system of the car and read the data.
  • the diagnostic device 20 can enter the tire pressure monitoring system of the automobile 10 only after loading the protocol configuration corresponding to the automobile 10, acquire fault information generated by the system, or reset the system, repair the system fault, etc. .
  • Applying the method for establishing a communication connection with the tire pressure monitoring system provided by the embodiment of the present invention can make the diagnostic device 20 more easily loaded into the protocol configuration corresponding to the tire pressure monitoring system, and establish a communication connection with the tire pressure monitoring system.
  • FIG. 2 is a diagram of a method of establishing a communication connection with a tire pressure monitoring system according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
  • the candidate protocol configuration refers to the protocol configuration that may be used according to actual conditions or requirements.
  • the candidate protocol configuration may be any number, for example, five, ten, etc., depending on the model of the automobile 10, etc., and the screening conditions set by the technician.
  • the number of candidate protocol configurations is small, which is convenient for reducing the number of attempts of the diagnostic device 20.
  • the number of candidate protocol configurations is large, which can expand the coverage range and reduce the possibility that the diagnostic device 20 cannot establish communication with the tire pressure monitoring system. Therefore, based on different actual needs, it is possible to adjust the use of appropriate screening conditions to obtain an appropriate number of protocol configurations.
  • the available configuration refers to a protocol configuration that is capable of establishing a communication connection with the tire pressure monitoring system. Loading one by one means that the diagnostic device 20 looks for an available configuration in a manner that loads one protocol configuration at a time and then makes a determination.
  • the candidate multiple protocol configurations may form a configuration set, and the protocol configuration may be selected from the configuration set in any suitable manner for attempting.
  • the candidate protocol configurations may be randomly numbered and then tried sequentially according to the sort number.
  • the corresponding protocol configuration may be selected and tried in a manner randomly selected in the set.
  • a corresponding selection strategy can be used to increase the speed at which the available configuration is determined, depending on actual needs.
  • the diagnostic device 20 can quickly establish communication with the vehicle tire pressure monitoring system using the available configuration to perform a corresponding diagnostic operation on the tire pressure monitoring system.
  • the diagnostic operation includes any suitable type of operation for the vehicle tire pressure monitoring system, such as obtaining information to troubleshoot the cause of the failure, repairing the system failure, or resetting one or more functional modules.
  • the diagnostic device 20 no longer uses the one-to-one correspondence correspondence, but uses one by one to scan the possible protocol configurations and find a communication capable of establishing communication. Available configuration.
  • Such a configuration loading mode can well reduce the probability of a connection error between the diagnostic device 20 and the vehicle tire pressure monitoring system, enabling the diagnostic device 20 to smoothly establish a communication connection with the tire monitoring system.
  • such a change does not require an increase in the product cost of the diagnostic device 20, and has a good application prospect.
  • the user connects the diagnostic device 20 to the car 10 via the OBD interface provided in the car 10 during daily use.
  • the user can input corresponding vehicle type information (including brand, year, model) in the diagnostic device 20.
  • the diagnostic device 20 will actively load all of the brand's protocol configurations as candidate protocol configurations. Then use scanning, one by one to try to establish communication, find or determine the available configuration, and load the available configuration, communicate with the tire pressure monitoring system to achieve the corresponding diagnostic operation.
  • the diagnostic device 20 is not prone to incorrect protocol correspondence, resulting in failure of the tire pressure monitoring system, which improves the user experience.
  • the candidate protocol configuration can be determined by:
  • a configuration flag is a unique tag used to distinguish each configuration, such as a configuration-specific name or code name.
  • the diagnostic device 20 is operative to determine a particular configuration based on these configuration flags.
  • the configuration is loaded according to the N configuration flags in turn, the corresponding configuration information is obtained, and the configuration information is saved as the candidate protocol configuration.
  • the diagnostic device 20 After the screening is performed to determine the required usage configuration flag, the diagnostic device 20 sequentially loads or acquires the configuration information corresponding to the configuration flag, as a candidate protocol configuration, and provides the subsequent steps for use.
  • the configuration information is the configured content.
  • the protocol configuration refers to a complete communication protocol in which configuration information such as a specified data format is provided. Only when the diagnostic device 20 uses the correct protocol configuration that matches the tire pressure monitoring system can the data be read correctly and the data information obtained to complete the diagnostic operation.
  • FIG. 3 is a flowchart of a method for determining a protocol configuration of a candidate according to an embodiment of the present invention. As shown in FIG. 3, the method specifically includes:
  • n is a positive integer and n is less than N.
  • the nth configuration flag is one of all N configuration flags. In some embodiments, n can be selected to be selected from the first configuration flag.
  • step 330 Determine whether the nth configuration flag is valid. If yes, go to step 340; if no, go to step 350.
  • the validity of the configuration flag may be first determined. When the configuration flag is invalid, you can skip the configuration flag directly to avoid errors. If the configuration flag is invalid, the configuration flag cannot obtain the corresponding configuration information, indicating that the configuration represented by the configuration flag cannot be loaded and used by the diagnostic device 20 in the current environment. The specificity may be that the configuration flag is expired or illegal.
  • step 340 Acquire configuration information corresponding to the nth configuration flag, and stop loading. After obtaining the configuration information, the diagnostic device proceeds to step 350 to determine whether it is necessary to continue loading the new configuration flag.
  • the configuration information can be recorded as one of the candidate protocol configurations, so as to continue to determine whether it is an available configuration in the next step.
  • these candidate protocol configurations can be filtered one by one until one available configuration is obtained.
  • the diagnostic device 20 is brought into the tire pressure monitoring system of the automobile 10 by this available configuration to complete a diagnostic or fault repair task.
  • the method of determining an available configuration may specifically include the step of first loading one of the candidate protocol configurations. A communication connection request is then sent to the tire pressure monitoring system based on the protocol configuration.
  • the diagnostic device When the diagnostic device is able to establish the communication connection, it is determined to be available and stops loading.
  • the diagnostic device can stop scanning for the candidate protocol configuration and use the available configuration to obtain information about the tire pressure monitoring system (eg, fault code, etc.).
  • the configuration is determined to be unavailable, and the diagnostic device 20 continues to load the next candidate protocol configuration until an available configuration can be found.
  • a data check may be added for the candidate protocol configuration.
  • a predetermined data check is added for each configuration information. Then, during the loading process, the verification is performed according to the corresponding algorithm, and it is judged whether the acquired configuration information is valid.
  • the data check may specifically adopt any suitable form of verification, such as CRC32 or other similar verification methods.
  • FIG. 4 is a flowchart of a method for determining an available configuration in a method according to an embodiment of the present invention. As shown in FIG. 4, the method flowchart specifically includes the following steps:
  • step 420 Perform verification by using an algorithm corresponding to the data check, and determine whether the loaded protocol configuration is valid. If yes, go to step 430; if no, go to step 450.
  • the loaded protocol configuration is first checked to see if it is consistent with the saved configuration information. If the configuration of the next candidate protocol is directly performed, the configuration information of the current load is discarded.
  • step 440 Determine whether the communication connection can be established. If yes, go to step 460; if no, go to step 450.
  • the diagnostic device 20 can pop up corresponding prompt information to display to the user, for example, information matching errors, and cannot enter information such as the tire pressure monitoring system.
  • the diagnostic device 20 can stop the connection attempt and directly use the available configuration to complete the corresponding diagnostic or troubleshooting task.
  • the diagnostic device when attempting to establish a connection with the tire pressure monitoring system, the diagnostic device first determines the required number of configurations and the corresponding configuration flags according to actual requirements, some screening criteria, and the like. Then, the configuration flags are checked one by one, the corresponding configuration information is obtained and saved, and the candidate protocol configuration is determined.
  • the candidate protocol configuration is loaded one by one by scanning, and the appropriate available configuration is found by verifying the validity and whether the test can establish communication with the tire pressure monitoring system, and completing the tire based on the available configuration. Operation of fault information reading of the pressure monitoring system.
  • a diagnostic device applying the method of establishing a communication connection with a tire pressure monitoring system provided by an embodiment of the present invention has a better user experience.
  • FIG. 5 is a functional block diagram of an apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes: a configuration acquisition module 510 and a function execution module 520.
  • the configuration obtaining module 510 is configured to determine a number of candidate protocol configurations.
  • the function execution module 520 is configured to load the candidate protocol configurations one by one until determining at least one available configuration and establishing a communication connection with the tire pressure monitoring system based on the available configurations.
  • the available configuration is a protocol configuration that is capable of establishing a communication connection with the tire pressure monitoring system.
  • the function execution module 520 may still not find an available configuration after all protocol configurations have been tried. At this point, directly exit the diagnostic operation and display the corresponding prompt information, such as unable to establish communication or system connection error.
  • the diagnostic device may further include a verification device in order to increase the security of the acquired data and ensure that the acquired or loaded configuration information is valid.
  • the verification module can be configured to add a data check for the candidate protocol configuration.
  • the data can be verified by any suitable algorithm.
  • the configuration acquisition module 510 includes a calculation unit 511 and a configuration information acquisition unit 512.
  • the calculation unit 511 is configured to calculate a configuration to be loaded and generate a corresponding configuration flag; the number of configurations to be loaded is N, and N is a positive integer.
  • the configuration information acquiring unit 512 is configured to sequentially load the configuration according to the N configuration flags, obtain corresponding configuration information, and save the configuration information as the candidate protocol configuration.
  • the configuration information acquiring unit 512 is specifically configured to load an nth configuration flag of the N configuration flags, determine whether the nth configuration flag is valid, and if yes, obtain the nth configuration flag Corresponding configuration information, and stop loading; if not, loading the n+1th configuration flag of the N configuration identifiers.
  • the function execution module 520 is specifically configured to: load one of the candidate protocol configurations; perform verification using an algorithm corresponding to the data check, and determine the Whether the loaded configuration protocol is valid; if yes, sending a communication connection request to the tire pressure monitoring system based on the protocol configuration; if not, continuing to load another candidate protocol configuration; when the communication connection can be established, determining The configuration can be configured and the loading stopped; when the communication connection cannot be established, the next candidate protocol configuration continues to be loaded.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 7, the device 70 includes one or more processors 701 and a memory 702. Wherein, one processor 701 is taken as an example in FIG.
  • the electronic device that performs the above method of establishing a communication connection with the tire pressure monitoring system may further include an input device 703 and an output device 704.
  • an input device 703 may further include an input device 703 and an output device 704.
  • other suitable device modules can also be added or subtracted according to actual needs.
  • the processor 701, the memory 702, the input device 703, and the output device 704 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 702 is a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as establishing communication with a tire pressure monitoring system in an embodiment of the present invention.
  • the program instructions or modules corresponding to the method of connection for example, the configuration acquisition module 510 and the function execution module 520 shown in FIG.
  • the processor 701 executes various functional applications and data processing of the server by running non-volatile software programs, instructions and modules stored in the memory 702, that is, the method for establishing a communication connection with the tire pressure monitoring system of the above method embodiment .
  • the memory 702 can include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function; and the storage data area can be stored by using a device that establishes a communication connection with the tire pressure monitoring system. Data, etc.
  • memory 702 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 702 can optionally include a memory remotely located relative to processor 701, examples of which include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • Input device 703 can receive input numeric or character information, as well as key signal inputs related to user settings and function control of the device that establishes a communication connection with the tire pressure monitoring system.
  • Output device 704 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 702, and when executed by the one or more processors 701, perform the diagnostic method in any of the above method embodiments.
  • the computer software can be stored in a computer readable storage medium, which, when executed, can include the flow of an embodiment of the methods described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only storage memory, or a random storage memory.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

本发明涉及一种与轮胎压力监测系统建立通信连接的方法、其装置及电子设备。该方法包括:确定若干个候选的协议配置;逐一加载所述候选的协议配置,直至确定至少一个可用配置;所述可用配置为能够与所述轮胎压力监测系统建立通信连接的协议配置;基于所述可用配置与所述轮胎压力监测系统建立通信连接。应用与轮胎压力监测系统建立通信连接的方法,能够在不增加硬件设备成本的前提下,提高诊断设备进入轮胎压力监测系统的成功率,不会频繁出现连接错误,具有更好的用户体验。

Description

与轮胎压力监测系统建立通信连接的方法、其装置及电子设备
本申请要求于2018年1月9日提交中国专利局、申请号为201810019782.1、申请名称为“与轮胎压力监测系统建立通信连接的方法、其装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及车辆诊断技术领域,尤其涉及一种与轮胎压力监测系统建立通信连接的方法、其装置及电子设备。
背景技术
轮胎压力监测系统是指在汽车行驶过程中,用于对汽车的轮胎气压进行实时自动监测,并在轮胎漏气或者轮胎气压不足时进行报警,从而确保行车安全的通过软硬件设备实现的安全保障系统。随着人们对于汽车安全要求的不断提高,越来越多的汽车安装有这样的轮胎压力监测系统。
对于轮胎压力监测系统而言,因各个可能的原因,可能会发生软件或者硬件故障,导致系统无法正常运行。此时需要对轮胎压力监测系统进行维修,通过相应的诊断设备,经由车辆中提供的特定的接口(如OBD接口)与轮胎压力监测系统进行通信,获取系统产生的故障信息或者修复系统故障等。
现在的车辆诊断设备通常根据汽车的品牌、车型以及年款等车辆信息,采用一一对应的,唯一确定的协议与车辆控制器之间建立通信。
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:由于现有汽车的车型变化和更新换代速度太快,协议对应关系很难及时的变更。因此,在与轮胎压力检测系统建立通信连接时,现有技术中默认使用一种协议的方式与轮胎监测系统实际的协议对应关系并不完全准确。
这样容易出现因协议对应关系出现错误而无法与轮胎压力检测系统之间建立通信连接的问题。
发明内容
为了解决上述技术问题,本发明实施例提供一种能够自适应改变使用的协 议对应关系,与轮胎压力检测系统建立通信的方法、其装置及电子设备。
为解决上述技术问题,本发明实施例提供以下技术方案:
一种与轮胎压力监测系统建立通信连接的方法。所述方法包括如下步骤:确定若干个候选的协议配置;逐一加载所述候选的协议配置,直至确定至少一个可用配置;所述可用配置为能够与所述轮胎压力监测系统建立通信连接的协议配置;基于所述可用配置与所述轮胎压力检测系统建立通信连接。
在一些实施例中,所述确定若干个候选的协议配置,具体包括:计算需要加载的配置并生成对应的配置标志;所述需要加载的配置的数量为N,N为正整数;依次根据N个所述配置标志加载配置,获得对应的配置信息并保存所述配置信息,作为所述候选的协议配置。
在一些实施例中,所述依次根据N个所述配置标志加载配置,获得对应的配置信息,具体包括:加载所述N个配置标志中的第n个配置标志,其中,n为正整数,并且n小于N;判断所述第n个配置标志是否有效;若是,获取所述第n个配置标志对应的配置信息,并停止加载;若否,继续加载所述N个配置标志中的第n+1个配置标志。
在一些实施例中,所述逐一加载所述候选的协议配置,直至确定至少一个可用配置,具体包括:加载其中一个所述候选的协议配置;基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;在能够建立所述通信连接时,确定为可用配置,并停止加载;在不能建立所述通信连接时,确定为不可用配置,并继续加载下一个候选的协议配置。
在一些实施例中,所述方法还包括:为所述候选的协议配置添加数据校验。
在一些实施例中,所述逐一加载所述候选的协议配置,直至确定至少一个可用配置,具体包括:
加载其中一个所述候选的协议配置;使用与所述数据校验对应的算法进行校验,判断所述加载的配置协议是否有效;若是,基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;若否,则继续加载下一个候选的协议配置;在能够建立所述通信连接时,确定为可用配置,并停止加载;在不能建立所述通信连接时,确定为不可用配置,并继续加载下一个候选的协议配置。
为解决上述技术问题,本发明实施例还提供以下技术方案:
一种与轮胎压力监测系统建立通信连接的装置。所述装置包括:
配置获取模块,用于确定若干个候选的协议配置,以及功能执行模块,用于逐一加载所述候选的协议配置,直至确定至少一个可用配置以及基于所述可用配置建立与所述轮胎压力检测系统建立通信连接;
所述可用配置为能够与所述轮胎压力监测系统建立通信连接的协议配置。
在一些实施例中,所述配置获取模块具体包括:计算单元以及配置信息获取单元;所述计算单元用于,计算需要加载的配置并生成对应的配置标志;所述需要加载的配置的数量为N,N为正整数;所述配置信息获取单元用于,依次根据N个所述配置标志加载配置,获得对应的配置信息;并保存所述配置信息,作为所述候选的协议配置。
在一些实施例中,所述配置信息获取单元具体用于,加载所述N个配置标志中的第n个配置标志,其中,n为正整数并且n小于N;判断所述第n个配置标志是否有效;若是,获取对应的配置信息,并停止加载;若否,则继续加载所述N个配置标志中的第n+1个配置标志。
在一些实施例中,所述功能执行模块具体用于:加载其中一个所述候选的协议配置;基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;在能够建立所述通信连接时,确定为可用配置并停止加载;在不能建立所述通信连接时,确定为不可用配置,继续加载下一个候选的协议配置。
在一些实施例中,所述诊断装置还包括校验模块,所述校验模块用于为所述候选的协议配置添加数据校验。
在一些实施例中,所述功能执行模块具体用于:加载其中一个所述候选的协议配置;使用与所述数据校验对应的算法进行校验,判断所述加载的配置协议是否有效;若是,基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;若否,则继续加载下一个候选的协议配置;在能够建立所述通信连接时,确定为可用配置并停止加载;在不能建立所述通信连接时,确定为不可用配置,并继续加载下一个候选的协议配置。
为解决上述技术问题,本发明实施例还提供以下技术方案:
一种电子设备。所述电子设备包括至少一个处理器以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令程序,所述指令程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的与轮胎压力监测系统建立通信连接的方法。
与现有技术相比较,本发明实施例的与轮胎压力监测系统建立通信连接的方法采用多个候选的协议配置逐一尝试建立通信连接的方式,减少了建立通信连接时,协议配置不匹配导致无法与轮胎压力监测系统建立通信连接,进入系统进行诊断和维修的可能性。该方法在不增加硬件设备成本的前提下,能够提高与轮胎压力监测系统建立通信连接的成功率,不会频繁出现连接错误,具有更好的用户体验。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本发明实施例的应用环境示意图;
图2为本发明其中一个实施例提供的与轮胎压力监测系统建立通信连接的方法流程图;
图3为本发明其中一个实施例提供的确定候选的协议配置的方法流程图;
图4为本发明其中一个实施例提供的确定可用配置的方法流程图;
图5为本发明其中一个实施例提供的与轮胎压力监测系统建立通信连接装置的功能框图;
图6为本发明其中一个实施例提供的图5所示的配置获取模块的功能框图;
图7为本发明其中一个实施例提供的电子设备的结构框图。
具体实施方式
为了便于理解本发明,下面结合附图和具体实施例,对本发明进行更详细的说明。需要说明的是,当元件被表述“固定于”另一个元件,它可以直接在另一个元件上、或者其间可以存在一个或多个居中的元件。当一个元件被表述“连接”另一个元件,它可以是直接连接到另一个元件、或者其间可以存在一个或多个居中的元件。本说明书所使用的术语“上”、“下”、“内”、“外”、“底部”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定 的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”“第三”等仅用于描述目的,而不能理解为指示或暗示相对重要性。
除非另有定义,本说明书所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本说明书中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是用于限制本发明。本说明书所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。
此外,下面所描述的本发明不同实施例中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
图1为本发明实施例提供的应用环境。如图1所示,所述应用环境包括汽车10以及诊断设备20。
汽车10是装有轮胎压力监测系统的车辆,其具体可以是任何类型的机动车辆,例如货车、小汽车等。惯常的,汽车10具有多个轮胎(如4个、6个等),汽车轮胎的气压状态由轮胎压力监测系统进行实时监测,并在出现异常状态(如低压、爆胎等)下发出相应的警报信号。汽车10具有至少一个硬件通信接口(如OBD接口),用于为外部设备建立通信连接提供相应的硬件接口。
诊断设备20是在汽车故障维修或者检修过程中使用的数据信息读取设备。诊断设备20可以通过汽车10提供的通信接口,与汽车10建立通信,获取汽车10的相关数据信息。诊断设备20在使用过程中,除了需要与汽车10之间建立硬件上的连接以外,还需要加载有合适或者配对的协议配置,才能正确的进入汽车相应的功能系统,读取数据。
在本实施例中,诊断设备20只有在加载了与汽车10相对应的协议配置后,才能进入到汽车10的胎压监测系统,获取系统产生的故障信息或者对系统进行复位,修复系统故障等。应用本发明实施例提供的与轮胎压力监测系统建立通信连接的方法,可以令诊断设备20更容易加载到与胎压监测系统对应的协议配置,建立与胎压监测系统的通信连接。
图2为本发明一实施例提供的与轮胎压力监测系统建立通信连接的方法。如图2所示,所述方法可以包括如下步骤:
210、确定若干个候选的协议配置。
候选的协议配置是指根据实际情况或者需求所确定的,可能使用到的协议配置。该候选的协议配置可以为任意数量,例如5个、10个等,其具体取决于汽车10的车型等,由技术人员设置的筛选条件。
在设置较为严格的筛选条件时,候选的协议配置数量较少,便于降低诊断设备20的尝试次数。而在设置较为宽松的筛选条件时,候选的协议配置数量较多,能够扩大覆盖的范围,降低诊断设备20无法与轮胎压力监测系统建立通信的可能性。因此,基于不同的实际需求,可以调整使用合适的筛选条件,获得合适数量的协议配置。
220、逐一加载所述候选的协议配置,直至确定至少一个可用配置。
在本实施例中,所述可用配置是指能够与所述轮胎压力监测系统建立通信连接的协议配置。逐一加载是指诊断设备20以每次加载一个协议配置,然后进行判断的方式来寻找可用配置。
候选的多个协议配置可以组成一个配置集合,可以通过任何合适的方式从该配置集合中挑选协议配置进行尝试。例如,可以对候选的协议配置进行随机编号排序,然后依据排序编号依次的进行尝试。或者是,可以采用在集合中随机选择的方式,挑选相应的协议配置进行尝试。在一些实施例中,可以根据实际需求,使用相应的选择策略来提高确定可用配置的速度。
230、基于所述可用配置,与所述轮胎压力监测系统建立通信连接。
在确定了可用配置以后,诊断设备20便可以快捷使用该可用配置与车辆轮胎压力监测系统建立通信,对轮胎压力监测系统进行相应的诊断操作。在本实施例中,该诊断操作包括针对车辆轮胎压力监测系统的,任何合适类型的操作,例如获取信息排查故障原因、修复系统故障或者重置一个或者多个功能模块。
通过本发明实施例提供的与轮胎压力监测系统建立通信连接的方法,诊断设备20不再使用一一对应的协议对应关系,而采用逐一尝试,对可能的协议配置进行扫描,找到能够建立通信的可用配置的方式。这样的配置加载方式能够很好的降低诊断设备20与车辆轮胎压力监测系统之间的连接错误的概率,使诊断设备20能够顺利的与轮胎监测系统建立通信连接。而且,这样的改变不需要增加诊断设备20的产品成本,具有良好的应用前景。
以下结合具体实例,详细描述上述与轮胎压力监测系统建立通信连接的方 法在实际诊断设备中的应用。对于某个特定的诊断设备20而言,在日常使用时,用户通过汽车10中设置的OBD接口连接诊断设备20与汽车10。根据指示信息,用户可以在诊断设备20中输入相应的车型信息(包括品牌、年款、车型)。
此时,诊断设备20会主动的加载所有该品牌的协议配置作为候选的协议配置。然后采用扫描、逐一加载尝试建立通信的方式,找到或者确定其中的可用配置,并加载该可用配置,与轮胎压力监测系统通信,实现相应的诊断操作。
与惯常使用的一对一确定协议的方式相比,诊断设备20不容易出现协议对应关系不正确,导致进入轮胎压力监测系统失败的问题,很好的提高了用户体验。
在一些实施例中,该候选的协议配置可以通过如下方法确定:
首先,计算需要加载的配置并生成对应的配置标志。在本实施例中,假设所述需要加载的配置的数量为N个,N为正整数。配置标志是指用于区分每个配置的独特标记,例如配置特定的名称或者代号等。诊断设备20用于根据这些配置标志来确定特定的配置。
然后,依次根据N个所述配置标志加载配置,获得对应的配置信息并保存所述配置信息,作为所述候选的协议配置。
在经过筛选,确定需要的使用的配置标志以后,诊断设备20则依次加载或者获取与配置标志相对应的配置信息,作为候选的协议配置,提供给后续步骤使用。
配置信息即为配置的内容。在本实施例中,协议配置是指一个完整的通信协议,其中具有规定数据格式等配置信息。只有当诊断设备20使用正确的,与轮胎压力监测系统相匹配的协议配置时,才能正确的读取数据,获得数据信息完成诊断操作。
图3为本发明一实施例提供的确定候选的协议配置的方法流程图。如图3所示,所述方法具体包括:
310、计算需要加载的配置并生成对应的配置标志。
320、加载所述N个配置标志中的第n个配置标志。其中,n为正整数并且,n小于N。
第n个配置标志是所有N个配置标志中的其中一个。在一些实施例中, 可以选择n为1,从第一个配置标志开始选择。
330、判断所述第n个配置标志是否有效。若是,则执行步骤340;若否,则执行步骤350。
在本实施例中,获取配置标志对应的配置信息前,可以首先判断配置标志的有效性。当配置标志无效时,可以直接跳过该配置标志,避免出现错误。配置标志无效是指配置标志无法获取到对应的配置信息的情况,表明该配置标志代表的配置在当前环境下,无法被诊断设备20加载使用。其具体可以是配置标志过期或者不合法等。
340、获取所述第n个配置标志所对应的配置信息,并停止加载。在获取到配置信息以后,诊断设备则继续执行步骤350,从而判断是否需要继续加载新的的配置标志。该配置信息可以作为其中一个候选的协议配置被记录,从而在下一步骤中继续判断是否为可用配置。
350、加载所述N个配置标志中的第n+1个配置标志。
通过上述依次判断的方式,所有被诊断设备确定的配置标志都需要进行判断和加载,获取相应的配置信息,确定最终的候选的协议配置。
在确定了若干个候选的协议配置后,可以采用逐一尝试的方式对这些候选的协议配置进行筛选,直至获得一个可用配置。通过该可用配置使诊断设备20进入到汽车10的轮胎压力监测系统,完成诊断或者故障修复任务。
在一些实施例中,确定可用配置的方法具体可以包括如下步骤:首先,加载其中一个所述候选的协议配置。然后,基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求。
当诊断设备能够建立所述通信连接时,确定为可用配置,并停止加载。诊断设备可以停止对候选的协议配置的扫描工作,使用该可用配置,获取轮胎气压监测系统的相关信息(如故障代码等)。而在不能建立所述通信连接时,确定为不可用配置,诊断设备20会继续加载下一个候选的协议配置,直至能够找到一个可用配置为止。
在另一些实施例中,为了确保获取的配置信息的准确性,可以为候选的协议配置添加数据校验。
例如,在保存配置信息时,为每个配置信息都添加预定的数据校验。然后,在加载过程中,按照相应的算法进行校验,据此判断获取的配置信息是否有效。 具体的,该数据校验具体可以采用任何合适形式的校验,例如CRC32或者其它类似的校验方式。
图4为本发明一实施例提供的方法中确定可用配置的方法流程图。如图4所示,所述方法流程图具体包括如下步骤:
410、加载其中一个所述候选的协议配置。
420、使用与所述数据校验对应的算法进行校验,判断所述加载的协议配置是否有效。若是,则执行步骤430;若否,则执行步骤450。
在本实施例中,首先对加载的协议配置进行校验,是否与已经保存的配置信息是否一致。在不一致时直接进行下一个候选的协议配置的尝试,丢弃本次加载的配置信息。
430、基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求。
440、判断能否建立所述通信连接。若是,则执行步骤460;若否,则执行步骤450。
450、继续加载下一个候选的协议配置。
当某一个候选的协议配置不能建立通信时,即重新尝试其它的候选的协议配置是否能够建立通信,进入系统直到所有候选的协议配置均被加载和尝试为止。
当然,也有可能在尝试了所有的候选协议配置以后,仍然无法获得可用配置。此时,诊断设备20可以弹出相应的提示信息,向用户显示例如信息匹配错误,无法进入轮胎压力监测系统等信息。
460、确定为可用配置并停止加载。在寻找一个可用配置后,诊断设备20即可停止连接尝试,直接使用该可用配置,完成相应的诊断或者故障维修任务。
在本实施例中,诊断设备在尝试与轮胎压力监测系统建立连接时,首先根据现实需求,设定的一些筛选标准等,确定所需要的配置数量以及对应的配置标志。然后,逐个的对这些配置标志进行检验,获取相应的配置信息并保存,确定候选的协议配置。
最后,采用扫描的方式,逐一的加载候选的协议配置,并通过校验有效性以及测试能否与轮胎压力监测系统建立通信的方式,找到合适的可用配置,并基于该可用配置来完成对轮胎压力监测系统的故障信息读取等操作。
相较于传统的一对一的协议对应方式,能够有效的提高诊断设备进入轮胎 压力监测系统的成功率,避免因汽车车型变化较快而导致的协议对应关系无法及时跟上变化的问题。应用本发明实施例提供的与轮胎压力监测系统建立通信连接的方法的诊断设备具有更好的用户体验。
本发明实施例还进一步提供一种与轮胎压力监测系统建立通信连接的装置。图5为本发明一实施例提供的装置的功能框图。如图5所示,所述装置包括:配置获取模块510和功能执行模块520。
其中,所述配置获取模块510用于确定若干个候选的协议配置。所述功能执行模块520用于逐一加载所述候选的协议配置,直至确定至少一个可用配置以及基于所述可用配置,与所述轮胎压力监测系统建立通信连接。所述可用配置为能够与所述轮胎压力监测系统建立通信连接的协议配置。
当然,所述功能执行模块520可能在已经尝试过全部的协议配置以后,仍然不能找到一个可用配置。此时,直接退出诊断操作,显示对应的提示信息,如无法建立通信或者系统连接错误。
在一些实施例中,为了增加获取数据的保障,保证获取或者加载的配置信息有效,该诊断装置还可以包括校验装置。该校验模块可以用于为所述候选的协议配置添加数据校验。当然,具体可以采用任何合适的算法进行数据校验。
在另一些实施例中,如图6所示,所述配置获取模块510包括计算单元511以及配置信息获取单元512。
其中,所述计算单元511用于计算需要加载的配置并生成对应的配置标志;所述需要加载的配置的数量为N,N为正整数。所述配置信息获取单元512用于依次根据N个所述配置标志加载配置,获得对应的配置信息并保存所述配置信息,作为所述候选的协议配置。
具体的,所述配置信息获取单元512具体用于加载所述N个配置标志中的第n个配置标志;判断所述第n个配置标志是否有效;若是,获取所述第n个配置标志所对应的配置信息,并停止加载;若否,则加载所述N个配置标识中的第n+1个配置标志。
相对应地,在具有数据校验的情况下,所述功能执行模块520具体用于:加载其中一个所述候选的协议配置;使用与所述数据校验对应的算法进行校验,判断所述加载的配置协议是否有效;若是,基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;若否,继续加载另一个候选的协议配置; 在能够建立所述通信连接时,确定为可用配置并停止加载;在不能建立所述通信连接时,继续加载下一个候选的协议配置。
图7是本发明一实施例提供的电子设备的结构示意图,如图7所示,该设备70包括一个或多个处理器701以及存储器702。其中,图7中以一个处理器701为例。
执行上述与轮胎压力监测系统建立通信连接的方法的电子设备还可以包括输入装置703和输出装置704。当然,也可以根据实际情况需要,添加或者减省其它合适的装置模块。
处理器701、存储器702、输入装置703和输出装置704可以通过总线或者其他方式连接,图7中以通过总线连接为例。
存储器702作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的与轮胎压力监测系统建立通信连接的方法对应的程序指令或模块,例如,附图5所示的配置获取模块510和功能执行模块520。处理器701通过运行存储在存储器702中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例的与轮胎压力监测系统建立通信连接方法。
存储器702可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储与轮胎压力监测系统建立通信连接的装置使用所创建的数据等。此外,存储器702可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器702可选包括相对于处理器701远程设置的存储器,上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置703可接收输入的数字或字符信息,以及产生与轮胎压力监测系统建立通信连接的装置的用户设置以及功能控制有关的键信号输入。输出装置704可包括显示屏等显示设备。所述一个或者多个模块存储在所述存储器702中,当被所述一个或者多个处理器701执行时,执行上述任意方法实施例中的诊断方法。
本领域技术人员应该还可以进一步意识到,结合本文中所公开的实施例描 述的示例性的软件代码的烧录方法的各个步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。
本领域技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。所述的计算机软件可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (13)

  1. 一种与轮胎压力监测系统建立通信连接的方法,其特征在于,包括:
    确定若干个候选的协议配置;
    逐一加载所述候选的协议配置,直至确定至少一个可用配置;所述可用配置为能够与所述轮胎压力监测系统建立通信连接的协议配置;
    基于所述可用配置与所述轮胎压力监测系统建立通信连接。
  2. 根据权利要求1所述的方法,其特征在于,所述确定若干个候选的协议配置,具体包括:
    计算需要加载的配置并生成对应的配置标志,所述需要加载的配置的数量为N,N为正整数;
    依次根据N个所述配置标志加载配置,获得对应的配置信息;
    保存所述配置信息,作为所述候选的协议配置。
  3. 根据权利要求2所述的方法,其特征在于,所述依次根据N个所述配置标志加载配置,获得对应的配置信息,具体包括:
    加载所述N个配置标志中的第n个配置标志,其中,n为正整数并且n小于N;
    判断所述第n个配置标志是否有效;
    若是,获取所述第n个配置标志所对应的配置信息,并停止加载;
    若否,则继续加载所述N个配置标志中的第n+1个配置标志。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述逐一加载所述候选的协议配置,直至确定至少一个可用配置,具体包括:
    加载其中一个所述候选的协议配置;
    基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;
    在能够建立所述通信连接时,确定为可用配置,并停止加载;
    在不能建立所述通信连接时,确定为不可用配置,并继续加载下一个候选的协议配置。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:为所述候选的协议配置添加数据校验。
  6. 根据权利要求5所述的方法,其特征在于,所述逐一加载所述候选的 协议配置,直至确定至少一个可用配置,具体包括:
    加载其中一个所述候选的协议配置;
    使用与所述数据校验对应的算法进行校验,判断所述加载的协议配置是否有效;
    若是,基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;
    若否,则继续加载下一个候选的协议配置;
    在能够建立所述通信连接时,确定为可用配置,并停止加载;
    在不能建立所述通信连接时,确定为不可用配置,并继续加载下一个候选的协议配置。
  7. 一种与轮胎压力监测系统建立通信连接的装置,其特征在于,包括:
    配置获取模块,用于确定若干个候选的协议配置;
    功能执行模块,用于逐一加载所述候选的协议配置,直至确定至少一个可用配置以及基于所述可用配置与所述轮胎压力检测系统建立通信连接;
    所述可用配置为能够与所述轮胎压力监测系统建立通信连接的协议配置。
  8. 根据权利要求7所述的装置,其特征在于,所述配置获取模块具体包括:计算单元以及配置信息获取单元;
    所述计算单元用于,计算需要加载的配置并生成对应的配置标志;所述需要加载的配置的数量为N,N为正整数;
    所述配置信息获取单元用于,依次根据N个所述配置标志加载配置,获得对应的配置信息;并保存所述配置信息,作为所述候选的协议配置。
  9. 根据权利要求8所述的装置,其特征在于,所述配置信息获取单元具体用于,加载所述N个配置标志中的第n个配置标志,其中,n为正整数并且n小于N;
    判断所述第n个配置标志是否有效;
    若是,获取所述第n个配置标识所对应的配置信息,并停止加载;
    若否,则继续加载所述N个配置标志中的第n+1个配置标志。
  10. 根据权利要求7-9任一项所述的装置,其特征在于,所述功能执行模块具体用于:
    加载其中一个所述候选的协议配置;
    基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;
    在能够建立所述通信连接时,确定为可用配置,并停止加载;
    在不能建立所述通信连接时,确定为不可用配置,继续加载下一个候选的协议配置。
  11. 根据权利要求7-9任一项所述的装置,其特征在于,还包括:校验模块,所述校验模块用于为所述候选的协议配置添加数据校验。
  12. 根据权利要求11所述的诊断装置,其特征在于,所述功能执行模块具体用于:
    加载其中一个所述候选的协议配置;
    使用与所述数据校验对应的算法进行校验,判断所述加载的配置协议是否有效;
    若是,基于所述协议配置,向所述轮胎压力监测系统发送通信连接请求;
    若否,则继续加载下一个候选的协议配置;
    在能够建立所述通信连接时,确定为可用配置,并停止加载;
    在不能建立所述通信连接时,确定为不可用配置,并继续加载下一个候选的协议配置。
  13. 一种电子设备,其特征在于,包括至少一个处理器以及与所述至少一个处理器通信连接的存储器;
    其中,所述存储器存储有可被所述至少一个处理器执行的指令程序,所述指令程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1-6任一所述的与轮胎压力监测系统建立通信连接的方法。
PCT/CN2019/070753 2018-01-09 2019-01-08 与轮胎压力监测系统建立通信连接的方法、其装置及电子设备 WO2019137345A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/924,363 US12087099B2 (en) 2018-01-09 2020-07-09 Method for establishing communicable connection with tire pressure monitoring system, apparatus thereof and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810019782.1 2018-01-09
CN201810019782.1A CN108566407B (zh) 2018-01-09 2018-01-09 与轮胎压力监测系统建立通信连接的方法、其装置及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/924,363 Continuation-In-Part US12087099B2 (en) 2018-01-09 2020-07-09 Method for establishing communicable connection with tire pressure monitoring system, apparatus thereof and electronic device

Publications (1)

Publication Number Publication Date
WO2019137345A1 true WO2019137345A1 (zh) 2019-07-18

Family

ID=63530692

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/070753 WO2019137345A1 (zh) 2018-01-09 2019-01-08 与轮胎压力监测系统建立通信连接的方法、其装置及电子设备

Country Status (3)

Country Link
US (1) US12087099B2 (zh)
CN (2) CN108566407B (zh)
WO (1) WO2019137345A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108566407B (zh) * 2018-01-09 2020-07-10 深圳市道通科技股份有限公司 与轮胎压力监测系统建立通信连接的方法、其装置及电子设备
TWI758573B (zh) * 2019-01-04 2022-03-21 車王電子股份有限公司 胎壓偵測器的燒錄方法
CN109774670A (zh) * 2019-01-28 2019-05-21 深圳市元征科技股份有限公司 一种车辆检修方法、系统及相关设备
GB2584853A (en) 2019-06-17 2020-12-23 Airbus Operations Ltd Initialisation of tyre monitoring devices
GB2584854A (en) 2019-06-17 2020-12-23 Airbus Operations Ltd Configuration mode entry for a tyre monitoring device
CN110395078A (zh) * 2019-07-17 2019-11-01 深圳市元征科技股份有限公司 胎压复位方法及相关设备
CN112248726B (zh) * 2020-10-28 2022-02-08 深圳市道通科技股份有限公司 一种汽车胎压监测系统的功能菜单界面的显示方法及装置
CN114801603A (zh) * 2022-04-26 2022-07-29 一汽奔腾轿车有限公司 一种汽车胎压信号丢失故障模拟测试方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101687447A (zh) * 2007-07-03 2010-03-31 欧陆汽车系统美国有限公司 通用轮胎压力监测传感器
CN103826879A (zh) * 2011-08-09 2014-05-28 大陆汽车系统公司 轮胎压力监控系统中的协议安排
US20140253311A1 (en) * 2013-03-07 2014-09-11 Orange Electronic Co., Ltd. Tire pressure monitoring device
CN107225918A (zh) * 2016-03-24 2017-10-03 苏州驶安特汽车电子有限公司 一种胎压传感器系统及通信协议调配方法
CN108566407A (zh) * 2018-01-09 2018-09-21 深圳市道通科技股份有限公司 与轮胎压力监测系统建立通信连接的方法、其装置及电子设备

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4484353B2 (ja) * 2000-10-31 2010-06-16 キヤノン株式会社 通信制御装置及びその制御方法及び通信システム
US7716180B2 (en) * 2005-12-29 2010-05-11 Amazon Technologies, Inc. Distributed storage system with web services client interface
CN101018236A (zh) * 2006-02-12 2007-08-15 刘恒春 基于多协议模块结构网络控制平台的自适应传感器网络
US8659412B2 (en) * 2009-12-10 2014-02-25 Continental Automotive Systems, Inc. Tire pressure monitoring apparatus and method
US8572304B2 (en) * 2010-09-28 2013-10-29 Wellala, Inc. Systems and methods for configuring mobile devices for printing to wireless printers
US8751092B2 (en) * 2011-01-13 2014-06-10 Continental Automotive Systems, Inc. Protocol protection
KR101599780B1 (ko) * 2011-08-09 2016-03-04 컨티넨탈 오토모티브 시스템즈 인코포레이티드 타이어 압력 모니터링 시스템을 위한 프로토콜 오해 회피 장치 및 방법
US8832830B2 (en) * 2011-11-28 2014-09-09 International Business Machines Corporation Securing network communications from blind attacks with checksum comparisons
CN102837569B (zh) * 2012-08-21 2016-01-20 深圳市元征科技股份有限公司 一种匹配不同tpms主机的发射终端及方法
US8912896B1 (en) * 2013-06-07 2014-12-16 Cub Elecparts Inc. TPMS setting tool
TW201505867A (zh) * 2013-08-08 2015-02-16 Orange Electronic Co Ltd 可轉發不同通訊協定的訊號轉傳器及其訊號轉傳方法
WO2016070069A1 (en) * 2014-10-31 2016-05-06 Wegmann Automotive Gmbh & Co. Kg Tire accessories identifying device and method
US20170195470A1 (en) * 2015-12-30 2017-07-06 Advanced-Connectek Inc. Encrypted wireless system with nfc function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101687447A (zh) * 2007-07-03 2010-03-31 欧陆汽车系统美国有限公司 通用轮胎压力监测传感器
CN103826879A (zh) * 2011-08-09 2014-05-28 大陆汽车系统公司 轮胎压力监控系统中的协议安排
US20140253311A1 (en) * 2013-03-07 2014-09-11 Orange Electronic Co., Ltd. Tire pressure monitoring device
CN107225918A (zh) * 2016-03-24 2017-10-03 苏州驶安特汽车电子有限公司 一种胎压传感器系统及通信协议调配方法
CN108566407A (zh) * 2018-01-09 2018-09-21 深圳市道通科技股份有限公司 与轮胎压力监测系统建立通信连接的方法、其装置及电子设备

Also Published As

Publication number Publication date
US12087099B2 (en) 2024-09-10
US20200342690A1 (en) 2020-10-29
CN111634160B (zh) 2022-06-10
CN108566407A (zh) 2018-09-21
CN108566407B (zh) 2020-07-10
CN111634160A (zh) 2020-09-08

Similar Documents

Publication Publication Date Title
WO2019137345A1 (zh) 与轮胎压力监测系统建立通信连接的方法、其装置及电子设备
US20190312892A1 (en) Onboard cybersecurity diagnostic system for vehicle, electronic control unit, and operating method thereof
WO2019109915A1 (zh) 汽车故障诊断方法、汽车故障诊断装置及电子设备
US10723361B2 (en) Monitoring apparatus, communication system, vehicle, monitoring method, and non-transitory storage medium
CN107678936B (zh) 业务系统预先稽查方法、服务器及计算机可读存储介质
WO2019141114A1 (zh) 车辆诊断方法和装置
US7734389B2 (en) Fault information management system and a method for implementing a fault information management system for a vehicle
CN113608518B (zh) 数据生成方法、装置、终端设备及介质
KR20190119514A (ko) 차량용 온보드 사이버보안진단 시스템, 전자 제어 장치 및 그것의 동작 방법
CN115080299A (zh) 软件故障反馈处理方法、装置、介质及设备
US20220284704A1 (en) Anomaly detection method and system for image signal processor
US20240140146A1 (en) Tire Pressure Sensor Information Processing Method and Apparatus, and Device
CN112298100A (zh) 车辆及车辆的控制方法、装置
CN113961386A (zh) 一种整车软件版本自动管理方法
CN109597389B (zh) 一种嵌入式控制系统的测试系统
JP6483461B2 (ja) 管理方法、管理プログラム、管理装置、管理システムおよび情報処理方法
CN113110390B (zh) 一种车辆故障识别方法、装置、电子设备及存储介质
US11726853B2 (en) Electronic control device
JP7205245B2 (ja) 電子制御装置
JP7081462B2 (ja) 車両電子制御装置及び診断システム
CN113867314A (zh) 故障码库的访问控制方法、装置、电子设备及存储介质
CN112306038A (zh) 一种检测方法、检测装置及诊断设备
CN116582464A (zh) 一种智能驾驶域控制器用以太网下线检测方法
JP2021143886A (ja) 故障診断プログラム更新システムおよび故障診断プログラム更新方法
CN117519108A (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: 19739072

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: 19739072

Country of ref document: EP

Kind code of ref document: A1