WO2019047371A1 - 通信方法和通信装置 - Google Patents

通信方法和通信装置 Download PDF

Info

Publication number
WO2019047371A1
WO2019047371A1 PCT/CN2017/111403 CN2017111403W WO2019047371A1 WO 2019047371 A1 WO2019047371 A1 WO 2019047371A1 CN 2017111403 W CN2017111403 W CN 2017111403W WO 2019047371 A1 WO2019047371 A1 WO 2019047371A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
vehicle system
communication
control module
canbus
Prior art date
Application number
PCT/CN2017/111403
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 WO2019047371A1 publication Critical patent/WO2019047371A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks

Definitions

  • the present invention relates to the field of in-vehicle technology, and in particular, to a communication method and a communication device.
  • In-vehicle equipment mainly includes an in-vehicle system and a Micro Controller Unit (MCU), and the vehicle system passes a Universal Asynchronous Transmitter (Universal Asynchronous).
  • MCU Micro Controller Unit
  • Universal Asynchronous Transmitter Universal Asynchronous
  • the Receiver/Transmitter, UART) interface is connected to the MCU and communicates with the MCU via the UART interface.
  • the MCU obtains communication information such as a reverse signal, a headlight signal, an ACC signal, a handbrake signal, and transmits the communication information to the in-vehicle system, and the in-vehicle system receives the communication information sent by the MCU, and performs corresponding operations according to the communication information.
  • CANBUS Controller Area Network-BUS
  • TPMS Tire Pressure Monitoring System
  • a main object of the present invention is to provide a communication method and a communication device, which are directed to solving a technical problem that a function of an in-vehicle device cannot be expanded due to a shortage of a U ART interface of an in-vehicle system.
  • an embodiment of the present invention provides a communication method, where the method includes the following steps: [0007] The control module receives a communication f ⁇ message sent by a controller local area network bus CANBUS and/or a tire pressure monitoring system TPMS. ; [0008] The control module sends the communication information to an in-vehicle system.
  • the method further includes:
  • control module classifies the communication information according to the information source, so that the in-vehicle system recognizes the communication information as CANBUS information or TPMS information.
  • the method further includes: determining whether the feedback information of the in-vehicle system is received in the first preset time;
  • the method further includes:
  • the method further includes:
  • Embodiments of the present invention also provide a communication device, where the device includes an in-vehicle system, a control module, a controller LAN bus CANBUS, and a tire pressure monitoring system TPMS, and the in-vehicle system is connected to the control module,
  • the control module is connected to the CANBUS and/or the TPMS, and the control module includes:
  • a receiving unit configured to receive communication information sent by the CANBUS and/or the TPMS;
  • a sending unit configured to send the communication information to the in-vehicle system.
  • control module further includes a numbering unit, where the numbering unit is respectively connected to the receiving unit and the sending unit, and is configured to: classify the communication information according to an information source, so that The in-vehicle system recognizes that the communication information is CANBUS information or TPMS information.
  • control module further includes: [0025] a first determining unit, configured to determine whether the feedback information of the in-vehicle system is received in the first preset time zone;
  • a first processing unit configured to: when the feedback information of the in-vehicle system is not received in the first preset time, determine that the in-vehicle system is abnormal, and store the communication information.
  • control module further includes:
  • a second determining unit configured to determine whether the in-vehicle system returns to normal in the second preset time
  • a second processing unit configured to: when the in-vehicle system is in the second preset time Returning to normal, the stored communication information is transmitted to the in-vehicle system.
  • control module further includes:
  • a deleting unit configured to delete the instant information in the stored communication information when the in-vehicle system does not return to normal in the second preset time
  • the third processing unit is configured to: when the in-vehicle system returns to normal after the second preset time, send the stored communication information to the in-vehicle system.
  • a communication method provided by an embodiment of the present invention receives the communication information sent by the CANBUS and/or the TPMS through the control module and forwards the communication information to the in-vehicle system, so that the in-vehicle system with limited UART interface can also receive the CANBUS information and
  • the TPMS information expands more functions for the in-vehicle device, solves the technical problem that the in-vehicle device cannot be expanded due to the lack of the UART interface of the in-vehicle system, enriches the functions of the in-vehicle device, and ensures the diversity of functions of the in-vehicle device. Improved user experience.
  • FIG. 1 is a flowchart of a first embodiment of a communication method of the present invention
  • FIG. 2 is a flowchart of a second embodiment of a communication method of the present invention.
  • FIG. 3 is a flowchart of a third embodiment of a communication method of the present invention.
  • FIG. 4 is a block diagram showing a first embodiment of a communication device of the present invention.
  • FIG. 5 is a block diagram of the control module of FIG. 4;
  • FIG. 6 is a block diagram of still another module of the control module of FIG. 4;
  • 7 is a block diagram of still another module of the control module of FIG. 4;
  • FIG. 8 is a block diagram of still another module of the control module of FIG. 4;
  • FIG. 9 is a block diagram showing a second embodiment of a communication device of the present invention.
  • FIG. 10 is a block diagram showing a third embodiment of a communication device of the present invention.
  • the communication method and the communication device of the present invention are mainly applied to the in-vehicle device, and can of course be applied to other terminal devices, which is not limited by the present invention.
  • a first embodiment of a communication method according to the present invention is proposed. The method includes the following steps:
  • the control module receives the communication information sent by the CANBUS and/or the TPMS.
  • control module sends the communication information to the in-vehicle system.
  • the in-vehicle system is connected to the control module through a UART interface
  • the control module can be connected to the CAN bus or the TPMS through a UART interface, or can be connected to the C ANBUS and the TPMS through two UART interfaces respectively.
  • the control module is connected between the onboard system and the CANBUS and / or TP MS.
  • the control module is only connected to one of CANBUS and TPMS, the in-vehicle system is directly connected to the other. This solution is suitable for the case where the in-vehicle system has two UART interfaces.
  • the control module is preferably an MCU, and of course other control chips.
  • the car system is preferably Android
  • step S11 the CANBUS and/or the TPMS send communication information to the control module, and the control module receives the communication information sent by the CA NBUS and/or the TPMS.
  • the communication information sent by CANBUS is CANBUS information
  • the communication information sent by TPMS is TPMS information.
  • step S13 the control module directly forwards the received CANBUS information and/or TPMS information to the vehicle system, and the in-vehicle system parses the CANBUS information and/or the TPMS information to obtain specific information data.
  • the control module only receives and forwards one of the CANBUS information and the TPMS information, the in-vehicle system directly receives another information.
  • the control module forwards only the TPMS information and the CANB US information, and does not perform any processing. That is, the control module directly packs and transmits the serial port data received from CANBUS and/or TPMS to the in-vehicle system.
  • the vehicle system After receiving the data, the vehicle system first analyzes the original CANBUS information and/or TPMS information by using the communication protocol of the control module, and then uses the CANBUS communication protocol to analyze the CANBUS information to obtain the specific CANBUS information data, and uses the T PMS communication protocol.
  • the TPMS information is parsed to obtain specific TPMS information data.
  • the in-vehicle system can receive CANBUS information and TPMS information at the same time, even if the in-vehicle system has only one UART interface, can receive CANBUS information and TPMS information without adding a UAR T interface, thereby ensuring the integrity of the in-vehicle device function. Sex and diversity enhance the user experience.
  • step S11 step S11
  • step S13 step S13
  • the control module classifies the communication information according to the information source.
  • the control module divides the communication information from the CANBUS into one class, and/or numbers the communication information from the TPMS into one class, and transmits communication information from other unit modules. Divided into one category for numbering. Therefore, the subsequent in-vehicle system receives the communication information sent by the control module, and can identify the communication information as CANBUS information or TPMS information according to the number, and quickly parse the communication information by using the corresponding communication protocol, without requiring trial and error.
  • a communication protocol performs tentative analysis to improve the efficiency of information analysis.
  • the control module receives the information such as the reverse signal, the headlight signal, the ACC signal, etc., and packs the information into the data with the number AA551 as the header; after receiving the CANBUS information, the information is packaged as The number AA552 is used as the data of the header; after receiving the TPMS information, the information is packed into the data with the number AA553 as the header. This distinguishes communication information from each interface.
  • CANBUS converts the luminous flux value into the luminous flux data with AA551 as the boring head. Assuming the luminous flux is 3000Lm, the converted luminous flux data is AA5513. CANBUS transmits the luminous flux data to the control module, which converts the luminous flux data into data in the AA552AA5513 header.
  • the vehicle system After receiving the data, the vehicle system analyzes the data by using the communication protocol of the control module, and determines that the data is CANBUS information transmitted by the control module according to the first five characters AA552 of the data; and then parses the data by using the CANBUS communication protocol, according to The data 6th to 11th character AA5513 recognizes that the CANBUS information is luminous flux data, and the current luminous flux is 3000; finally, the information of the luminous flux 3000 is formed into a text and/or graphic display on the display screen, or a voice is formed for broadcasting.
  • step S13 further includes the following steps:
  • the control module determines whether the feedback information of the in-vehicle system is received in the first preset time. When the feedback information of the in-vehicle system is not received in the first preset time, the process proceeds to step S15; when the feedback information of the in-vehicle system is received in the first preset time, the flow is terminated.
  • the first preset time can be set according to actual needs, such as setting the value range to 2-5 seconds.
  • control module receives the feedback information of the in-vehicle system within 2 seconds, which is AA552AA55136, and identifies When the 12th character of the feedback information is 6, it is determined that the in-vehicle system has received the communication information sent by it, and the information transmission is successful.
  • the control module determines that the vehicle system is abnormal, and stores communication information.
  • the control module determines that the in-vehicle system is abnormal (such as the in-vehicle system crashes), the information transmission fails, in order to save valid data, prevent data loss. , the communication information of this transmission failure is stored.
  • step S15 the following steps are further included:
  • step S16 The control module determines whether the in-vehicle system returns to normal within the second preset time. When the in-vehicle system returns to normal within the second preset time, the process proceeds to step S17.
  • the second preset time can be set according to actual needs, for example, the setting value ranges from 1-3 seconds.
  • control module can determine whether the control module returns to normal by receiving a feedback signal from the in-vehicle system. For example, the control module determines whether the feedback signal of the in-vehicle system is received within 1 second after storing the communication information, and if so, it determines that the in-vehicle system returns to normal within 1 second.
  • control module sends the stored communication information to the in-vehicle system.
  • control module retransmits the stored communication information to the in-vehicle system, thereby preventing data loss.
  • step S16 when the in-vehicle system does not return to normal in the second preset time, the following steps are performed:
  • control module deletes the instant information in the stored communication information.
  • the communication information includes two types of instant information and setting information, that is, the information is effective, and is constantly changing. When the time exceeds a certain time, the information is invalid. Therefore, when the in-vehicle system does not return to normal within the second preset time, the control module deletes the stored information that has expired.
  • control module sends the stored communication information to the in-vehicle system.
  • the control module resends the stored communication information to the in-vehicle system, and only the setting information is included in the communication information, and there is no immediate information, so that is Letter The information has expired, and the instant information that avoids failure misleads the user.
  • the communication method of the embodiment of the present invention receives the communication information sent by the CANBUS and/or the TPMS through the control module and forwards the communication information to the in-vehicle system, so that the in-vehicle system with limited UART interface can also receive the CAN BUS information and the TPMS information. It has expanded more functions for the in-vehicle device, solved the technical problem that the U ART interface of the in-vehicle system is insufficient to expand the function of the in-vehicle device, enriched the functions of the in-vehicle device, and ensured the diversity of functions of the in-vehicle device and improved the function. user experience.
  • the device includes an in-vehicle system 10, a control module 20, a CANBUS 30, and a TPMS 40.
  • the in-vehicle system 10 is connected to the control module 20 through a UART interface, and the control module 20 is connected to CANBUS30 and TPMS40 through two UART interfaces. That is, the control module 20 is connected between the in-vehicle system 10 and the CANBUS 30 and the TPMS 40.
  • the control module 20 is preferably an MCU, and of course may be other control chips.
  • the in-vehicle system 10 is preferably an Android system, and of course other intelligent systems.
  • the control module 20 includes a receiving unit 201 and a sending unit 203, where: a receiving unit 201 is configured to receive communication information sent by the CANBUS 30 and the TPMS 40, and a sending unit 203 is configured to receive the received communication information.
  • a receiving unit 201 is configured to receive communication information sent by the CANBUS 30 and the TPMS 40
  • a sending unit 203 is configured to receive the received communication information.
  • the communication information sent by CANBUS30 is CANBU S information
  • the communication information sent by TPMS 40 is TPMS information.
  • the in-vehicle system 10 After receiving the communication information sent by the control module 20, the in-vehicle system 10 analyzes the CANBUS information and the TPMS information in the communication information to obtain specific information data.
  • the control module 20 forwards only the TPMS information and the CANBUS information without any processing. That is, the control module 20 directly packs and transmits the serial port data received from the CANBUS 30 and the T PMS 40 to the in-vehicle system 10.
  • the in-vehicle system 10 After receiving the data, the in-vehicle system 10 first analyzes the original CANBUS information and T PMS information by using the communication protocol of the control module 20, and then analyzes the CANBUS information by using the CANBUS30 communication protocol to obtain specific CANB US information data, and uses the communication of the TPMS 40.
  • the protocol parses the TPMS information to obtain specific TPMS information data.
  • the in-vehicle system 10 can receive CANBUS information and TPMS information simultaneously, and even if the in-vehicle system 10 has only one UART interface, it can receive CANBUS information and TPMS information without adding any additional information.
  • the UART interface ensures the integrity and diversity of the functions of the in-vehicle device and enhances the user experience.
  • control module 20 further includes a numbering unit 202, which is respectively connected to the receiving unit 201 and the sending unit 203, and is configured to: classify and serialize the communication information according to the information source, The in-vehicle system 10 is caused to recognize that the communication information is CANBUS information or TPMS information.
  • the numbering unit 202 classifies the communication information from the CANBUS 30 into one class, and numbers the communication information from the TP MS 40 into one class, and numbers the communication information from other unit modules into one class. . Therefore, the subsequent in-vehicle system 10 receives the communication information sent by the control module 20, and can identify the communication information as CANBUS information or TPMS information according to the number, and quickly parse the communication information by using the corresponding communication protocol without trial and error. Optional one communication protocol for tentative analysis improves the efficiency of information analysis.
  • the receiving unit 201 receives the information such as the reverse signal, the headlight signal, the ACC signal, etc., and the numbering unit 202 packs the information into the data with the number AA551 as the header; the receiving unit 201 receives the CA NBUS information.
  • the numbering unit 202 packs the class information into the data with the number AA552 as the header; the receiving unit 201 receives the TPMS information, and the numbering unit 202 packs the class information into the data with the number AA553 as the header. This distinguishes communication information from each interface.
  • the CANBUS 30 converts the luminous flux value into the luminous flux data with the AA551 as the hoe. Assuming the luminous flux is 3000 Lm, the converted luminous flux data is AA5513.
  • the CANBUS 30 transmits the luminous flux data to the control module 20, which converts the luminous flux data into data in the AA552AA5513 header.
  • the in-vehicle system 10 parses the data by using the communication protocol of the control module 20, and determines that the data is the CANBUS information transmitted by the control module 20 according to the first five characters AA 552 of the data; and then uses the communication protocol of the CANBUS 30 to analyze The data, according to the 6th to 11th characters AA5513 of the data, recognizes that the CANBUS information is luminous flux data, and the current luminous flux is 3000; finally, the information of the luminous flux 3000 is formed into a display and/or graphic display on the display screen, or forms a voice. Broadcast.
  • control module 20 further includes a first determining unit 204, a first processing unit 205, and a storage unit 206, where: the first determining unit 204 is configured to determine whether the first pre- The first processing unit 205 is configured to: when the feedback information of the in-vehicle system 10 is not received in the first preset time, determine that the in-vehicle system 10 is abnormal, and store the communication information. To storage Unit 206.
  • the first preset time can be set according to actual needs, such as setting the value range to 2-5 seconds.
  • the first determining unit 204 receives the feedback information of the in-vehicle system 10 as AA552AA55136 within 2 seconds, and recognizes that the 12th character of the feedback information is 6, determining that the in-vehicle system 10 has received the communication information sent by the in-vehicle system 10, The secondary information transmission was successful.
  • the first processing unit 205 determines that the in-vehicle system 10 is abnormal (eg, the in-vehicle system 10 is dead), the information transmission fails, in order to save Valid data, to prevent data loss, store the communication information that this transmission failed.
  • control module 20 further includes a second determining unit 207 and a second processing unit 208, wherein: the second determining unit 207 is configured to determine whether the in-vehicle system 10 is in the second preset.
  • the second processing unit 208 is configured to send the communication information stored in the storage unit 206 to the in-vehicle system 10 when the in-vehicle system 10 returns to normal in the second preset time.
  • the second preset time can be set according to actual needs, such as setting the value range to 1-3 seconds.
  • the second determining unit 207 may determine the control module by receiving a feedback signal of the in-vehicle system 10. 20 is back to normal. For example, the second judging unit 207 judges whether or not the feedback signal of the in-vehicle system 10 is received within 1 second after storing the communication information, and if so, it is determined that the in-vehicle system 10 returns to normal within 1 second.
  • the second processing unit 208 retransmits the stored communication information to the in-vehicle system 10, thereby preventing data loss.
  • control module 20 further includes a deleting unit 209 and a third processing unit 210, wherein: the deleting unit 209 is configured to delete the storage unit 20 when the in-vehicle system 10 does not return to the normal state in the second preset time.
  • the instant processing information in the communication information stored in the sixth processing unit 210 is configured to: when the in-vehicle system 10 returns to normal after the second preset time, send the communication information stored in the storage unit 206 to the in-vehicle system 10
  • the communication information includes two types of instant information and setting information, that is, the information is effective, and is constantly changing. When the time exceeds a certain time, the information is invalid. Therefore, when the in-vehicle system 10 does not return to normal within the second preset time, the deleting unit 209 deletes the stored communication information that has expired. That is, information.
  • the third processing module resends the stored communication information to the in-vehicle system 10, and only the setting information is included in the communication information, and there is no immediate information. Because the information is invalid, the instant information that avoids failure misleads the user.
  • control module 20 can only be connected to one of the CA NBUS 30 and the TPMS 40, and the in-vehicle system 10 is directly connected to the other.
  • the in-vehicle system 10 is connected to the control module 20 and the CANBUS 30 via two UART interfaces, and the control module 20 is connected to the TPMS 40. Thereafter, the control module 20 receives the TPMS information transmitted by the TPMS 40 and forwards the TPMS information to the in-vehicle system 10. The in-vehicle system 10 receives the TPMS information forwarded by the control module 20 and directly receives the C ANBUS information sent by the CANBUS 30.
  • the in-vehicle system 10 is connected to the control module 20 and the TPMS 40 via two UAR T interfaces, respectively, and the control module 20 is connected to the CANBUS 30. Thereafter, the control module 20 receives the CANBUS information sent by the CANBUS 30 and forwards the CANBUS information to the in-vehicle system 10. The in-vehicle system 10 receives the CANBUS information forwarded by the control module 20 and directly receives the TPMS information sent by the TP MS 40.
  • the communication device of the embodiment of the present invention connects the CANBUS 30 and/or the TPMS 40 through the control module 20, receives the communication information sent by the CANBUS 30 and/or the TPMS 40, and forwards the communication information to the in-vehicle system 10, so that the in-vehicle system 10 with limited UART interface can also be the same.
  • Receiving CANBUS information and TPMS information expanding more functions for the in-vehicle device, solving the technical problem that the in-vehicle device 10 cannot be extended to the in-vehicle device due to insufficient UART interface of the in-vehicle system 10, enriching the functions of the in-vehicle device, and ensuring The diversity of on-board device features enhances the user experience.
  • control module in addition to the CANBUS 30 and the TPMS 40, can also connect other functional modules to expand other functions for the in-vehicle device. It is also possible to set more UART interfaces for the control module 20, so that the control module 20 is connected with more functional modules, and forwards the communication information sent by the function modules to the in-vehicle system, thereby expanding more functions for the in-vehicle device.
  • the present invention includes apparatus that is directed to performing one or more of the operations described herein.
  • These devices can be specially designed and manufactured for the required purpose, or they can Includes known devices in a general purpose computer.
  • These devices have computer programs stored therein that are selectively activated or reconfigured.
  • Such computer programs may be stored in a device (eg, computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus, including but not limited to any Types of disks (including floppy disks, hard disks, CDs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only)
  • a readable medium includes any medium that is stored or transmitted by a device (e.g., a computer) in a readable form.
  • each block of the block diagrams and/or block diagrams and/or flow diagrams can be implemented by computer program instructions, and/or in the block diagrams and/or block diagrams and/or flow diagrams. The combination of boxes.
  • these computer program instructions can be implemented by a general purpose computer, a professional computer, or a processor of other programmable data processing methods, such that the processor is executed by a computer or other programmable data processing method.
  • the block diagrams and/or block diagrams of the invention and/or the schemes specified in the blocks or blocks of the flow diagram are invented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明揭示了一种通信方法和通信装置,所述方法包括以下步骤:控制模块接收控制器局域网总线CANBUS和/或胎压监测系统TPMS发送的通讯信息;所述控制模块将所述通讯信息发送给车载系统。本发明实施例的通信方法,通过控制模块接收CANBUS和/或TPMS发送的通讯信息并转发给车载系统,使得UART接口有限的车载系统也可以同时接收到CANBUS信息和TPMS信息,为车载设备扩展了更多的功能,解决了因车载系统的UART接口不足而无法对车载设备进行功能扩展的技术问题,丰富了车载设备的功能,保证了车载设备功能的多样性,提升了用户体验。

Description

通信方法和通信装置
技术领域
[0001] 本发明涉及车载技术领域, 特别是涉及到一种通信方法和通信装置。
背景技术
[0002] 车载设备主要包括车载系统和微控制单元 (Micro Controller Unit, MCU) , 车载 系统通过通用异步收发传输器 (Universal Asynchronous
Receiver/Transmitter, UART)接口与 MCU连接, 通过 UART接口与 MCU进行通 信。 MCU获取倒车信号、 大灯信号、 ACC信号、 手刹信号等通讯信息, 并将通 讯信息发送给车载系统, 车载系统接收 MCU发送的通讯信息, 并根据通讯信息 执行相应的操作。
[0003] 为了扩展更多的功能, 提升用户体验, 有的车载设备还增设了控制器局域网总 线 (Controller Area Network-BUS, CANBUS) 和胎压监测系统 (Tire Pressure Monitoring System, TPMS) 。 此吋, 车载系统需要有三个 UART接口, 通过三 个 UART接口分别与控制模块、 CANBUS和 TPMS连接, 以从 CANBUS和 TPMS 获取 CANBUS信息和 TPMS信息等通讯信息, 从而实现相应的扩展功能。
[0004] 然而, 有些车载系统的 ARM芯片上的 UART接口有限, 只有两个甚至一个 UAR T接口, 导致车载系统无法同吋连接 CANBUS和 TPMS , 甚至两个都无法连接, 从而无法对车载设备进行功能扩展。
技术问题
[0005] 本发明的主要目的为提供一种通信方法和通信装置, 旨在解决因车载系统的 U ART接口不足而无法对车载设备进行功能扩展的技术问题。
问题的解决方案
技术解决方案
[0006] 为达以上目的, 本发明实施例提出一种通信方法, 所述方法包括以下步骤: [0007] 控制模块接收控制器局域网总线 CANBUS和 /或胎压监测系统 TPMS发送的通讯 f π息; [0008] 所述控制模块将所述通讯信息发送给车载系统。
[0009] 可选地, 所述控制模块接收控制器局域网总线和 /或胎压监测系统发送的通讯 信息的步骤之后还包括:
[0010] 所述控制模块按信息来源对所述通讯信息进行分类编号, 以使所述车载系统识 别出所述通讯信息为 CANBUS信息或 TPMS信息。
[0011] 可选地, 所述控制模块将所述通讯信息发送给车载系统的步骤之后还包括: [0012] 判断是否在第一预设吋间内接收到所述车载系统的反馈信息;
[0013] 当没有在第一预设吋间内接收到所述车载系统的反馈信息吋, 判定所述车载系 统异常, 存储所述通讯信息。
[0014] 可选地, 所述存储所述通讯信息的步骤之后还包括:
[0015] 判断所述车载系统是否在第二预设吋间内恢复正常;
[0016] 当所述车载系统在第二预设吋间内恢复正常吋, 将存储的所述通讯信息发送给 所述车载系统。
[0017] 可选地, 所述判断所述车载系统是否在第二预设吋间内恢复正常的步骤之后还 包括:
[0018] 当所述车载系统没有在第二预设吋间内恢复正常吋, 刪除存储的所述通讯信息 中的即吋信息;
[0019] 当所述车载系统在第二预设吋间后恢复正常吋, 将存储的所述通讯信息发送给 所述车载系统。
[0020] 本发明实施例同吋提出一种通信装置, 所述装置包括车载系统、 控制模块、 控 制器局域网总线 CANBUS和胎压监测系统 TPMS, 所述车载系统与所述控制模块 连接, 所述控制模块与所述 CANBUS和 /或 TPMS连接, 所述控制模块包括:
[0021] 接收单元, 用于接收所述 CANBUS和 /或所述 TPMS发送的通讯信息;
[0022] 发送单元, 用于将所述通讯信息发送给所述车载系统。
[0023] 可选地, 所述控制模块还包括编号单元, 所述编号单元分别连接所述接收单元 和所述发送单元, 其用于: 按信息来源对所述通讯信息进行分类编号, 以使所 述车载系统识别出所述通讯信息为 CANBUS信息或 TPMS信息。
[0024] 可选地, 所述控制模块还包括: [0025] 第一判断单元, 用于判断是否在第一预设吋间内接收到所述车载系统的反馈信 息;
[0026] 第一处理单元, 用于当没有在第一预设吋间内接收到所述车载系统的反馈信息 吋, 判定所述车载系统异常, 存储所述通讯信息。
[0027] 可选地, 所述控制模块还包括:
[0028] 第二判断单元, 用于判断所述车载系统是否在第二预设吋间内恢复正常; [0029] 第二处理单元, 用于当所述车载系统在第二预设吋间内恢复正常吋, 将存储的 所述通讯信息发送给所述车载系统。
[0030] 可选地, 所述控制模块还包括:
[0031] 刪除单元, 用于当所述车载系统没有在第二预设吋间内恢复正常吋, 刪除存储 的所述通讯信息中的即吋信息;
[0032] 第三处理单元, 用于当所述车载系统在第二预设吋间后恢复正常吋, 将存储的 所述通讯信息发送给所述车载系统。
发明的有益效果
有益效果
[0033] 本发明实施例所提供的一种通信方法, 通过控制模块接收 CANBUS和 /或 TPMS 发送的通讯信息并转发给车载系统, 使得 UART接口有限的车载系统也可以同吋 接收到 CANBUS信息和 TPMS信息, 为车载设备扩展了更多的功能, 解决了因车 载系统的 UART接口不足而无法对车载设备进行功能扩展的技术问题, 丰富了车 载设备的功能, 保证了车载设备功能的多样性, 提升了用户体验。
对附图的简要说明
附图说明
[0034] 图 1是本发明的通信方法第一实施例的流程图;
[0035] 图 2是本发明的通信方法第二实施例的流程图;
[0036] 图 3是本发明的通信方法第三实施例的流程图;
[0037] 图 4是本发明的通信装置第一实施例的模块示意图;
[0038] 图 5是图 4中的控制模块的模块示意图;
[0039] 图 6是图 4中的控制模块的又一模块示意图; [0040] 图 7是图 4中的控制模块的又一模块示意图;
[0041] 图 8是图 4中的控制模块的又一模块示意图;
[0042] 图 9是本发明的通信装置第二实施例的模块示意图;
[0043] 图 10是本发明的通信装置第三实施例的模块示意图。
[0044] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。
实施该发明的最佳实施例
本发明的最佳实施方式
[0045] 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发 明。
[0046] 下面详细描述本发明的实施例, 所述实施例的示例在附图中示出, 其中自始至 终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。 下 面通过参考附图描述的实施例是示例性的, 仅用于解释本发明, 而不能解释为 对本发明的限制。
[0047] 本技术领域技术人员可以理解, 除非特意声明, 这里使用的单数形式"一"、 " 一个"、 "所述 "和"该"也可包括复数形式。 应该进一步理解的是, 本发明的说明 书中使用的措辞"包括"是指存在所述特征、 整数、 步骤、 操作、 元件和 /或组件 , 但是并不排除存在或添加一个或多个其他特征、 整数、 步骤、 操作、 元件、 组件和 /或它们的组。 应该理解, 当我们称元件被"连接"或"耦接"到另一元件吋 , 它可以直接连接或耦接到其他元件, 或者也可以存在中间元件。 此外, 这里 使用的"连接"或"耦接"可以包括无线连接或无线耦接。 这里使用的措辞 "和 /或"包 括一个或更多个相关联的列出项的全部或任一单元和全部组合。
[0048] 本技术领域技术人员可以理解, 除非另外定义, 这里使用的所有术语 (包括技 术术语和科学术语) , 具有与本发明所属领域中的普通技术人员的一般理解相 同的意义。 还应该理解的是, 诸如通用字典中定义的那些术语, 应该被理解为 具有与现有技术的上下文中的意义一致的意义, 并且除非像这里一样被特定定 义, 否则不会用理想化或过于正式的含义来解释。
[0049] 本发明的通信方法和通信装置主要应用于车载设备, 当然也可以应用于其它的 终端设备, 本发明对此不作限定。 [0050] 参照图 1, 提出本发明的通信方法第一实施例, 所述方法包括以下步骤:
[0051] S 11、 控制模块接收 CANBUS和 /或 TPMS发送的通讯信息。
[0052] S13、 控制模块将通讯信息发送给车载系统。
[0053] 本发明实施例中, 车载系统通过一个 UART接口与控制模块连接, 控制模块可 以通过一个 UART接口与 CANBUS或 TPMS, 也可以通过两个 UART接口分别与 C ANBUS和 TPMS连接。 也就是说, 控制模块连接于车载系统与 CANBUS和 /或 TP MS之间。 当控制模块只与 CANBUS和 TPMS中的其中一个连接吋, 车载系统则 直接与另一个连接, 这种方案适用于车载系统具有两个 UART接口的情形。
[0054] 控制模块优选为 MCU, 当然也可以是其他的控制芯片。 车载系统优选为安卓
(Android) 系统, 当然也可以是其他智能系统。
[0055] 步骤 S11中, CANBUS和 /或 TPMS向控制模块发送通讯信息, 控制模块接收 CA NBUS和 /或 TPMS发送的通讯信息。 其中, CANBUS发送的通讯信息为 CANBUS 信息, TPMS发送的通讯信息为 TPMS信息。
[0056] 步骤 S13中, 控制模块直接将接收到的 CANBUS信息和 /或 TPMS信息转发给车 载系统, 车载系统解析该 CANBUS信息和 /或 TPMS信息, 得到具体的信息数据。 当控制模块只接收并转发 CANBUS信息和 TPMS信息中的其中一种吋, 车载系统 则直接接收另一种信息。
[0057] 由于 TPMS、 CANBUS以及控制模块各自的通讯协议不一样, 尤其 CANBUS的 协议, 每个车型的差别也很大。 故本实施例中控制模块只对 TPMS信息和 CANB US信息进行转发, 不做任何处理。 即控制模块把从 CANBUS和 /或 TPMS接收的 串口数据, 直接进行打包并发送给车载系统。 车载系统接收到数据后, 先利用 控制模块的通讯协议进行解析得到原始的 CANBUS信息和 /或 TPMS信息, 再利用 CANBUS的通讯协议解析 CANBUS信息, 得到具体的 CANBUS信息数据, 利用 T PMS的通讯协议解析 TPMS信息, 得到具体的 TPMS信息数据。
[0058] 从而, 使得车载系统可以同吋接收到 CANBUS信息和 TPMS信息, 即使车载系 统只有一个 UART接口, 也能接收 CANBUS信息和 TPMS信息, 而无需增设 UAR T接口, 保证了车载设备功能的完整性和多样性, 提升了用户体验。
[0059] 进一步地, 如图 2所示, 在本发明的通信方法第二实施例中, 步骤 S11之后、 步 骤 S13之前还包括以下步骤:
[0060] S12、 控制模块按信息来源对通讯信息进行分类编号。
[0061] 本步骤 S12中, 控制模块对来自于 CANBUS的通讯信息分为一类进行编号, 和 / 或对来自于 TPMS的通讯信息分为一类进行编号, 对来自于其它单元模块的通讯 信息分为一类进行编号。 从而使得后续车载系统接收到控制模块发送的通讯信 息吋, 能够根据编号识别出该通讯信息为 CANBUS信息或 TPMS信息, 快速利用 对应的通讯协议解析该通讯信息, 而无需以试错的方式任选一个通讯协议进行 尝试性解析, 提高了信息解析效率。
[0062] 例如, 控制模块接收到倒车信号、 大灯信号、 ACC信号等信息吋, 将该类信息 打包为以编号 AA551作为幵头的数据; 接收到 CANBUS信息吋, 将该类信息打 包为以编号 AA552作为幵头的数据; 接收到 TPMS信息吋, 将该类信息打包为以 编号 AA553作为幵头的数据。 以此区分来自于各个接口的通讯信息。
[0063] 举例而言, 当光电传感器检测到光线吋分析计算出光通量, CANBUS将光通量 的数值转换为以 AA551作为幵头的光通量数据, 假设光通量为 3000Lm, 则转换 后的光通量数据则为 AA5513。 CANBUS将光通量数据传输给控制模块, 控制模 块将光通量数据转换为以 AA552AA5513幵头的数据。 车载系统接收到数据后, 利用控制模块的通讯协议解析该数据, 根据该数据的前 5位字符 AA552, 判定该 数据是控制模块传输过来的 CANBUS信息; 再利用 CANBUS的通讯协议解析该 数据, 根据该数据第 6到 11位字符 AA5513 , 识别出该 CANBUS信息为光通量数 据, 且当前的光通量是 3000; 最后将光通量 3000的信息形成文字和 /或图形显示 于显示屏, 或形成语音进行播报。
[0064] 进一步地, 如图 3所示, 在本发明的通信方法第三实施例中, 步骤 S13之后还包 括以下步骤:
[0065] S14、 控制模块判断是否在第一预设吋间内接收到车载系统的反馈信息。 当没 有在第一预设吋间内接收到车载系统的反馈信息吋, 进入步骤 S15; 当在第一预 设吋间内接收到车载系统的反馈信息吋, 结束流程。
[0066] 第一预设吋间可以根据实际需要设定, 如设定取值范围为 2-5秒。
[0067] 例如, 控制模块在 2秒内接收到车载系统的反馈信息为 AA552AA55136, 识别 到反馈信息的第 12位字符是 6, 则判定车载系统已接收到其发过去的通讯信息, 本次信息传输成功。
[0068] S15、 控制模块判定车载系统异常, 存储通讯信息。
[0069] 当没有在第一预设吋间内接收到车载系统的反馈信息吋, 控制模块则判定车载 系统异常 (如车载系统死机) , 本次信息传输失败, 为了保存有效数据, 防止 数据丢失, 则存储本次传输失败的通讯信息。
[0070] 进一步地, 步骤 S15之后还包括以下步骤:
[0071] S16、 控制模块判断车载系统是否在第二预设吋间内恢复正常。 当车载系统在 第二预设吋间内恢复正常吋, 进入步骤 S17。
[0072] 第二预设吋间可以根据实际需要设定, 如设定取值范围为 1-3秒。
[0073] 可选地, 由于车载系统在恢复正常吋 (如重启后) 会向控制模块发送反馈信号
, 因此控制模块可以通过是否接收到车载系统的反馈信号来判断控制模块是否 恢复正常。 例如, 控制模块判断是否在存储通讯信息后的 1秒内接收到车载系统 的反馈信号, 若是, 则判定车载系统在 1秒内恢复正常。
[0074] S17、 控制模块将存储的通讯信息发送给车载系统。
[0075] 当车载系统在第二预设吋间内恢复正常吋, 控制模块则将存储的通讯信息重新 传输给车载系统, 从而防止了数据的丢失。
[0076] 进一步地, 步骤 S16中, 当车载系统没有在第二预设吋间内恢复正常吋, 进入 以下步骤:
[0077] S18、 控制模块刪除存储的通讯信息中的即吋信息。
[0078] 通讯信息包括即吋信息和设置信息两种类型, 即吋信息具有吋效性, 是在不停 变化的, 当超过一定吋间后, 即吋信息则失效了。 因此, 当车载系统没有在第 二预设吋间内恢复正常吋, 控制模块则刪除存储的通讯信息中已经失效的即吋 f π息。
[0079] S19、 当车载系统在第二预设吋间后恢复正常吋, 控制模块将存储的通讯信息 发送给车载系统。
[0080] 当车载系统在第二预设吋间后恢复了正常吋, 控制模块则将存储的通讯信息重 新发送给车载系统, 此吋通讯信息中只有设置信息, 没有即吋信息, 因即吋信 息已失效, 避免失效的即吋信息误导用户。
[0081] 本发明实施例的通信方法, 通过控制模块接收 CANBUS和 /或 TPMS发送的通讯 信息并转发给车载系统, 使得 UART接口有限的车载系统也可以同吋接收到 CAN BUS信息和 TPMS信息, 为车载设备扩展了更多的功能, 解决了因车载系统的 U ART接口不足而无法对车载设备进行功能扩展的技术问题, 丰富了车载设备的 功能, 保证了车载设备功能的多样性, 提升了用户体验。
[0082] 参照图 4, 提出本发明的通信装置第一实施例, 所述装置包括车载系统 10、 控 制模块 20、 CANBUS30和 TPMS40, 车载系统 10通过一个 UART接口与控制模块 2 0连接, 控制模块 20通过两个 UART接口分别与 CANBUS30和 TPMS40连接。 也就 是说, 控制模块 20连接于车载系统 10与 CANBUS30和 TPMS40之间。
[0083] 控制模块 20优选为 MCU, 当然也可以是其他的控制芯片。 车载系统 10优选为 安卓 (Android) 系统, 当然也可以是其他智能系统。
[0084] 如图 5所示, 控制模块 20包括接收单元 201和发送单元 203, 其中: 接收单元 201 , 用于接收 CANBUS30和 TPMS40发送的通讯信息; 发送单元 203, 用于将接收 到的通讯信息发送给车载系统 10。 其中, CANBUS30发送的通讯信息为 CANBU S信息, TPMS40发送的通讯信息为 TPMS信息。
[0085] 车载系统 10接收到控制模块 20发送的通讯信息后, 解析通讯信息中的 CANBUS 信息和 TPMS信息, 得到具体的信息数据。
[0086] 由于 TPMS40、 CANBUS30以及控制模块 20各自的通讯协议不一样, 尤其 CAN BUS30的协议, 每个车型的差别也很大。 故本实施例中控制模块 20只对 TPMS信 息和 CANBUS信息进行转发, 不做任何处理。 即控制模块 20把从 CANBUS30和 T PMS40接收的串口数据, 直接进行打包并发送给车载系统 10。 车载系统 10接收 到数据后, 先利用控制模块 20的通讯协议进行解析得到原始的 CANBUS信息和 T PMS信息, 再利用 CANBUS30的通讯协议解析 CANBUS信息, 得到具体的 CANB US信息数据, 利用 TPMS40的通讯协议解析 TPMS信息, 得到具体的 TPMS信息 数据。
[0087] 从而, 使得车载系统 10可以同吋接收到 CANBUS信息和 TPMS信息, 即使车载 系统 10只有一个 UART接口, 也能接收 CANBUS信息和 TPMS信息, 而无需增设 UART接口, 保证了车载设备功能的完整性和多样性, 提升了用户体验。
[0088] 进一步地, 如图 6所示, 控制模块 20还包括编号单元 202, 该编号单元 202分别 连接接收单元 201和发送单元 203, 其用于: 按信息来源对通讯信息进行分类编 号, 以使车载系统 10识别出通讯信息为 CANBUS信息或 TPMS信息。
[0089] 编号单元 202对来自于 CANBUS30的通讯信息分为一类进行编号, 对来自于 TP MS40的通讯信息分为一类进行编号, 对来自于其它单元模块的通讯信息分为一 类进行编号。 从而使得后续车载系统 10接收到控制模块 20发送的通讯信息吋, 能够根据编号识别出该通讯信息为 CANBUS信息或 TPMS信息, 快速利用对应的 通讯协议解析该通讯信息, 而无需以试错的方式任选一个通讯协议进行尝试性 解析, 提高了信息解析效率。
[0090] 例如, 接收单元 201接收到倒车信号、 大灯信号、 ACC信号等信息吋, 编号单 元 202将该类信息打包为以编号 AA551作为幵头的数据; 接收单元 201接收到 CA NBUS信息吋, 编号单元 202将该类信息打包为以编号 AA552作为幵头的数据; 接收单元 201接收到 TPMS信息吋, 编号单元 202将该类信息打包为以编号 AA553 作为幵头的数据。 以此区分来自于各个接口的通讯信息。
[0091] 举例而言, 当光电传感器检测到光线吋分析计算出光通量, CANBUS30将光通 量的数值转换为以 AA551作为幵头的光通量数据, 假设光通量为 3000Lm, 则转 换后的光通量数据则为 AA5513。 CANBUS30将光通量数据传输给控制模块 20, 控制模块 20将光通量数据转换为以 AA552AA5513幵头的数据。 车载系统 10接收 到数据后, 利用控制模块 20的通讯协议解析该数据, 根据该数据的前 5位字符 AA 552, 判定该数据是控制模块 20传输过来的 CANBUS信息; 再利用 CANBUS30的 通讯协议解析该数据, 根据该数据第 6到 11位字符 AA5513 , 识别出该 CANBUS 信息为光通量数据, 且当前的光通量是 3000; 最后将光通量 3000的信息形成文 字和 /或图形显示于显示屏, 或形成语音进行播报。
[0092] 进一步地, 如图 7所示, 控制模块 20还包括第一判断单元 204、 第一处理单元 20 5和存储单元 206, 其中: 第一判断单元 204, 用于判断是否在第一预设吋间内接 收到车载系统 10的反馈信息; 第一处理单元 205, 用于当没有在第一预设吋间内 接收到车载系统 10的反馈信息吋, 判定车载系统 10异常, 存储通讯信息至存储 单元 206。
[0093] 第一预设吋间可以根据实际需要设定, 如设定取值范围为 2-5秒。 例如, 第一 判断单元 204在 2秒内接收到车载系统 10的反馈信息为 AA552AA55136, 识别到反 馈信息的第 12位字符是 6, 则判定车载系统 10已接收到其发过去的通讯信息, 本 次信息传输成功。
[0094] 当没有在第一预设吋间内接收到车载系统 10的反馈信息吋, 第一处理单元 205 则判定车载系统 10异常 (如车载系统 10死机) , 本次信息传输失败, 为了保存 有效数据, 防止数据丢失, 则存储本次传输失败的通讯信息。
[0095] 进一步地, 如图 8所示, 控制模块 20还包括第二判断单元 207和第二处理单元 20 8, 其中: 第二判断单元 207, 用于判断车载系统 10是否在第二预设吋间内恢复 正常; 第二处理单元 208, 用于当车载系统 10在第二预设吋间内恢复正常吋, 将 存储单元 206中存储的通讯信息发送给车载系统 10。
[0096] 第二预设吋间可以根据实际需要设定, 如设定取值范围为 1-3秒。
[0097] 可选地, 由于车载系统 10在恢复正常吋 (如重启后) 会向控制模块 20发送反馈 信号, 因此第二判断单元 207可以通过是否接收到车载系统 10的反馈信号来判断 控制模块 20是否恢复正常。 例如, 第二判断单元 207判断是否在存储通讯信息后 的 1秒内接收到车载系统 10的反馈信号, 若是, 则判定车载系统 10在 1秒内恢复 正常。
[0098] 当车载系统 10在第二预设吋间内恢复正常吋, 第二处理单元 208则将存储的通 讯信息重新传输给车载系统 10, 从而防止了数据的丢失。
[0099] 进一步地, 控制模块 20还包括刪除单元 209和第三处理单元 210, 其中: 刪除单 元 209, 用于当车载系统 10没有在第二预设吋间内恢复正常吋, 刪除存储单元 20 6中存储的通讯信息中的即吋信息; 第三处理单元 210, 用于当车载系统 10在第 二预设吋间后恢复正常吋, 将存储单元 206中存储的通讯信息发送给车载系统 10
[0100] 通讯信息包括即吋信息和设置信息两种类型, 即吋信息具有吋效性, 是在不停 变化的, 当超过一定吋间后, 即吋信息则失效了。 因此, 当车载系统 10没有在 第二预设吋间内恢复正常吋, 刪除单元 209则刪除存储的通讯信息中已经失效的 即吋信息。
[0101] 当车载系统 10在第二预设吋间后恢复了正常吋, 第三处理模块则将存储的通讯 信息重新发送给车载系统 10, 此吋通讯信息中只有设置信息, 没有即吋信息, 因即吋信息已失效, 避免失效的即吋信息误导用户。
[0102] 在其它实施例中, 当车载系统 10有两个 UART接口吋, 控制模块 20可以只与 CA NBUS30和 TPMS40中的其中一个连接吋, 车载系统 10则直接与另一个连接。
[0103] 如图 9所示, 在本发明的通信装置的第二实施例中, 车载系统 10通过两个 UART 接口分别与控制模块 20和 CANBUS30连接, 控制模块 20与 TPMS40连接。 此吋, 控制模块 20接收 TPMS40发送的 TPMS信息, 并将 TPMS信息转发给车载系统 10。 车载系统 10接收控制模块 20转发的 TPMS信息, 并直接接收 CANBUS30发送的 C ANBUS信息。
[0104] 如图 10所示, 在本发明的通信装置的第三实施例中, 车载系统 10通过两个 UAR T接口分别与控制模块 20和 TPMS40连接, 控制模块 20与 CANBUS30连接。 此吋 , 控制模块 20接收 CANBUS30发送的 CANBUS信息, 并将 CANBUS信息转发给 车载系统 10。 车载系统 10接收控制模块 20转发的 CANBUS信息, 并直接接收 TP MS40发送的 TPMS信息。
[0105] 本发明实施例的通信装置, 通过控制模块 20连接 CANBUS30和 /或 TPMS40, 接 收 CANBUS30和 /或 TPMS40发送的通讯信息并转发给车载系统 10, 使得 UART接 口有限的车载系统 10也可以同吋接收到 CANBUS信息和 TPMS信息, 为车载设备 扩展了更多的功能, 解决了因车载系统 10的 UART接口不足而无法对车载设备进 行功能扩展的技术问题, 丰富了车载设备的功能, 保证了车载设备功能的多样 性, 提升了用户体验。
[0106] 本发明实施例中, 控制模块除了可以连接 CANBUS30和 TPMS40外, 还可以连 接其它的功能模块, 为车载设备扩展其它的功能。 还可以为控制模块 20设置更 多的 UART接口, 使得控制模块 20与更多的功能模块连接, 并将功能模块发送的 通讯信息转发给车载系统, 从而为车载设备扩展更多的功能。
[0107] 本领域技术人员可以理解, 本发明包括涉及用于执行本申请中所述操作中的一 项或多项的设备。 这些设备可以为所需的目的而专门设计和制造, 或者也可以 包括通用计算机中的已知设备。 这些设备具有存储在其内的计算机程序, 这些 计算机程序选择性地激活或重构。 这样的计算机程序可以被存储在设备 (例如 , 计算机) 可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何 类型的介质中, 所述计算机可读介质包括但不限于任何类型的盘 (包括软盘、 硬盘、 光盘、 CD-ROM、 和磁光盘) 、 ROM (Read-Only Memory , 只读存储器 ) 、 RAM (Random Access Memory , 随机存储器) 、 EPROM (Erasable Programmable Read-Only
Memory , 可擦写可编程只读存储器) 、 EEPROM (Electrically Erasable Programmable Read-Only Memory , 电可擦可编程只读存储器) 、 闪存、 磁性卡 片或光线卡片。 也就是, 可读介质包括由设备 (例如, 计算机) 以能够读的形 式存储或传输信息的任何介质。
[0108] 本技术领域技术人员可以理解, 可以用计算机程序指令来实现这些结构图和 / 或框图和 /或流图中的每个框以及这些结构图和 /或框图和 /或流图中的框的组合。 本技术领域技术人员可以理解, 可以将这些计算机程序指令提供给通用计算机 、 专业计算机或其他可编程数据处理方法的处理器来实现, 从而通过计算机或 其他可编程数据处理方法的处理器来执行本发明公幵的结构图和 /或框图和 /或流 图的框或多个框中指定的方案。
[0109] 本技术领域技术人员可以理解, 本发明中已经讨论过的各种操作、 方法、 流程 中的步骤、 措施、 方案可以被交替、 更改、 组合或刪除。 进一步地, 具有本发 明中已经讨论过的各种操作、 方法、 流程中的其他步骤、 措施、 方案也可以被 交替、 更改、 重排、 分解、 组合或刪除。 进一步地, 现有技术中的具有与本发 明中公幵的各种操作、 方法、 流程中的步骤、 措施、 方案也可以被交替、 更改 、 重排、 分解、 组合或刪除。
[0110] 以上参照附图说明了本发明的优选实施例, 并非因此局限本发明的权利范围。
本领域技术人员不脱离本发明的范围和实质, 可以有多种变型方案实现本发明 , 比如作为一个实施例的特征可用于另一实施例而得到又一实施例。 凡在运用 本发明的技术构思之内所作的任何修改、 等同替换和改进, 均应在本发明的权 利范围之内。

Claims

权利要求书
[权利要求 1] 一种通信方法, 其特征在于, 包括以下步骤:
控制模块接收控制器局域网总线 CANBUS和 /或胎压监测系统 TPMS发 送的通讯信息;
所述控制模块将所述通讯信息发送给车载系统。
[权利要求 2] 根据权利要求 1所述的通信方法, 其特征在于, 所述控制模块接收控 制器局域网总线和 /或胎压监测系统发送的通讯信息的步骤之后还包 括:
所述控制模块按信息来源对所述通讯信息进行分类编号, 以使所述车 载系统识别出所述通讯信息为 CANBUS信息或 TPMS信息。
[权利要求 3] 根据权利要求 1或 2所述的通信方法, 其特征在于, 所述控制模块将所 述通讯信息发送给车载系统的步骤之后还包括: 判断是否在第一预设吋间内接收到所述车载系统的反馈信息; 当没有在第一预设吋间内接收到所述车载系统的反馈信息吋, 判定所 述车载系统异常, 存储所述通讯信息。
[权利要求 4] 根据权利要求 3所述的通信方法, 其特征在于, 所述存储所述通讯信 息的步骤之后还包括:
判断所述车载系统是否在第二预设吋间内恢复正常; 当所述车载系统在第二预设吋间内恢复正常吋, 将存储的所述通讯信 息发送给所述车载系统。
[权利要求 5] 根据权利要求 4所述的通信方法, 其特征在于, 所述判断所述车载系 统是否在第二预设吋间内恢复正常的步骤之后还包括:
当所述车载系统没有在第二预设吋间内恢复正常吋, 刪除存储的所述 通讯信息中的即吋信息;
当所述车载系统在第二预设吋间后恢复正常吋, 将存储的所述通讯信 息发送给所述车载系统。
[权利要求 6] —种通信装置, 其特征在于, 包括车载系统、 控制模块、 控制器局域 网总线 CANBUS和胎压监测系统 TPMS, 所述车载系统与所述控制模 块连接, 所述控制模块与所述 CANBUS和 /或 TPMS连接, 所述控制模 块包括:
接收单元, 用于接收所述 CANBUS和 /或所述 TPMS发送的通讯信息; 发送单元, 用于将所述通讯信息发送给所述车载系统。
根据权利要求 6所述的通信装置, 其特征在于, 所述控制模块还包括 编号单元, 所述编号单元分别连接所述接收单元和所述发送单元, 其 用于: 按信息来源对所述通讯信息进行分类编号, 以使所述车载系统 识别出所述通讯信息为 CANBUS信息或 TPMS信息。
根据权利要求 6或 7所述的通信装置, 其特征在于, 所述控制模块还包 括:
第一判断单元, 用于判断是否在第一预设吋间内接收到所述车载系统 的反馈信息;
第一处理单元, 用于当没有在第一预设吋间内接收到所述车载系统的 反馈信息吋, 判定所述车载系统异常, 存储所述通讯信息。
根据权利要求 8所述的通信装置, 其特征在于, 所述控制模块还包括 第二判断单元, 用于判断所述车载系统是否在第二预设吋间内恢复正 常;
第二处理单元, 用于当所述车载系统在第二预设吋间内恢复正常吋, 将存储的所述通讯信息发送给所述车载系统。
根据权利要求 9所述的通信装置, 其特征在于, 所述控制模块还包括 刪除单元, 用于当所述车载系统没有在第二预设吋间内恢复正常吋, 刪除存储的所述通讯信息中的即吋信息;
第三处理单元, 用于当所述车载系统在第二预设吋间后恢复正常吋, 将存储的所述通讯信息发送给所述车载系统。
PCT/CN2017/111403 2017-09-05 2017-11-16 通信方法和通信装置 WO2019047371A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710792635.3A CN107634890B (zh) 2017-09-05 2017-09-05 通信方法和通信装置
CN201710792635.3 2017-09-05

Publications (1)

Publication Number Publication Date
WO2019047371A1 true WO2019047371A1 (zh) 2019-03-14

Family

ID=61100463

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/111403 WO2019047371A1 (zh) 2017-09-05 2017-11-16 通信方法和通信装置

Country Status (2)

Country Link
CN (1) CN107634890B (zh)
WO (1) WO2019047371A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108638764A (zh) * 2018-04-10 2018-10-12 深圳市沃特沃德股份有限公司 胎压设备交互方法及车载终端

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
CN103312741A (zh) * 2012-03-09 2013-09-18 镁骅科技有限公司 行车资讯通报系统
CN103685669A (zh) * 2013-12-06 2014-03-26 深圳酷派技术有限公司 短信处理方法和终端
CN105067831A (zh) * 2015-07-17 2015-11-18 恒信大友(北京)科技有限公司 Can总线转速传感器和基于can总线的数据处理方法
CN105223949A (zh) * 2015-10-23 2016-01-06 珠海格力电器股份有限公司 电器设备及其通讯故障诊断方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262657B (zh) * 2015-09-24 2018-07-10 河南科技大学 汽车智能网络实时通信设备及其通信方法

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
CN103312741A (zh) * 2012-03-09 2013-09-18 镁骅科技有限公司 行车资讯通报系统
CN103685669A (zh) * 2013-12-06 2014-03-26 深圳酷派技术有限公司 短信处理方法和终端
CN105067831A (zh) * 2015-07-17 2015-11-18 恒信大友(北京)科技有限公司 Can总线转速传感器和基于can总线的数据处理方法
CN105223949A (zh) * 2015-10-23 2016-01-06 珠海格力电器股份有限公司 电器设备及其通讯故障诊断方法和装置

Also Published As

Publication number Publication date
CN107634890A (zh) 2018-01-26
CN107634890B (zh) 2020-10-09

Similar Documents

Publication Publication Date Title
US11529914B2 (en) Gateway device, vehicle network system, and transfer method
US8605631B2 (en) Communication method
US7991351B2 (en) Extension of wired controller area networks to wireless personal area networks
US8306004B2 (en) Communication network system having high-ranking network and low-ranking networks, interchange terminal connecting high-ranking network and low-ranking network, microcomputer controlling connection between transmission line of low-ranking network and transmission line of high-ranking network, and communication transmitter-receiver connected with transmission line of low-ranking network and transmission line of high-ranking network
WO2018049877A1 (zh) 用于处理无人机信息的方法、装置和系统
CN109379264B (zh) 一种基于can2.0的多板卡通信设备、方法及系统
WO2014090131A1 (zh) 基于车载网络的安全信息传输方法
CN105530686B (zh) 一种基于udp协议实现智能车载终端的接入方法
WO2019006938A1 (zh) 车载控制系统及其数据处理方法
CN104271412B (zh) 用于在交通工具中接收信号的装置和方法
WO2019047371A1 (zh) 通信方法和通信装置
CN106851198A (zh) 网络摄像机运行方法及网络摄像机
WO2019071718A1 (zh) 数据传输方法、装置和车载系统
JP4923780B2 (ja) 通信装置、通信システム、および通信方法
CN104219178A (zh) 基于Openflow控制报文处理方法、发送装置、接收装置和系统
JP7151931B2 (ja) 中継装置、通信ネットワークシステム及び通信制御方法
CN107040483A (zh) 一种汽车通信系统和汽车通信系统的信息发送方法
US8429714B2 (en) Methods and apparatuses for introducing devices with simple user interfaces into a secure network community
JP2000358276A (ja) 移動体通信装置および固定局通信装置ならびに移動体通信装置の通信方法
CN109951535B (zh) 基于key-value机制的设备中各个模块间可靠通信方法
CN115022081B (zh) 一种基于双向密钥链的车载以太网消息认证方法
CN112087410B (zh) 基于控制器区域网络的多协定确认方法
TWI774288B (zh) 訊息轉換方法及其系統
JPH01289339A (ja) 通信制御装置
CN209358540U (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: 17924687

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

Country of ref document: EP

Kind code of ref document: A1