CN107302361A - General TPMS data encoding formaies conversion method and device - Google Patents
General TPMS data encoding formaies conversion method and device Download PDFInfo
- Publication number
- CN107302361A CN107302361A CN201710528572.0A CN201710528572A CN107302361A CN 107302361 A CN107302361 A CN 107302361A CN 201710528572 A CN201710528572 A CN 201710528572A CN 107302361 A CN107302361 A CN 107302361A
- Authority
- CN
- China
- Prior art keywords
- data
- tpms
- coded
- format
- tpms data
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M5/00—Conversion of the form of the representation of individual digits
- H03M5/02—Conversion to or from representation by pulses
- H03M5/04—Conversion to or from representation by pulses the pulses having two levels
- H03M5/06—Code representation, e.g. transition, for a given bit cell depending only on the information in that bit cell
Abstract
The present invention is applied to automobile technical field there is provided a kind of general TPMS data encoding formaies conversion method and device, and methods described comprises the following steps:Gather TPMS data;The TPMS data of the collection are converted into default standard coding format, and sent.The method and device that the present invention is provided can support a variety of data encoding formaies.
Description
Technical field
The invention belongs to automobile technical field, more particularly to a kind of general TPMS data encoding formaies conversion method and dress
Put.
Background technology
Automotive tire pressure real-time monitoring system (Tire Pressure Monitoring System, TPMS) is mainly used
Tire pressure is monitored automatically in real time when in running car, to having a flat tire and low pressure is alarmed, to ensure
Traffic safety, is the life security guarantee early warning system of motorist, rider.There are hundreds of TPMS associations on current world market
View, these agreements cover thousands of kinds of vehicles of not the same year money, and the coded system that different types of agreement is used is often different.
And may also include such as Manchester's code of a variety of coded systems (hereinafter referred to as simultaneously inside the data frame of same type agreement
Graceful code), anti-graceful code, the graceful code of difference, not coded format (NRZ) etc., per frame data typically all containing specific frame head, frame data,
The structures such as postamble, and they typically use different coded systems, in some instances it may even be possible to there are the spies such as the PWM that chip is not supported in itself
Different coded system.Obviously the demand of application can not be fully met using single coded system.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of general TPMS data encoding formaies conversion method and device, purport
Solving the problem of existing TPMS can not support a variety of data encoding formaies.
The embodiment of the present invention is achieved in that a kind of general TPMS data encoding format conversion methods, methods described
Comprise the following steps:
Gather TPMS data;
The TPMS data of the collection are converted into default standard coding format, and sent.
Further, the normal data coded format is nrz encoding form.
Further, it is described the TPMS data of collection are converted into default normal data coded format to include:
According to the corresponding relation between TPMS data encodings position and normal data bits of coded, by TPMS data from a high position
Changed by turn to low level or from low to high.
Further, it is described the TPMS data of collection are converted into default normal data coded format also to include:
The maximum data bit of baud rate in a frame TPMS data is taken as basic transcoding units, to make the data of other data bit
Bit wide is the integral multiple of the basic transcoding units.
Further, the coded format that the TPMS data of collection are converted into default normal data also includes:
Buffer size according to data are sent is stored in conversion, and directly transmitting data register is operated.
The present invention also provides a kind of general TPMS data encoding format conversion equipments, and described device includes:
Acquisition module, for gathering TPMS data;
Modular converter, for the TPMS data of the collection to be converted into default standard coding format, and sends.
Further, the normal data coded format is nrz encoding form.
Further, the modular converter includes:
Corresponding unit, for according to the corresponding relation between TPMS data encodings position and normal data bits of coded, inciting somebody to action
TPMS data are changed by turn from a high position to low level or from low to high.
Further, the modular converter also includes:
The wide unit of fetch bit, for taking the maximum data bit of baud rate in a frame TPMS data as basic transcoding units, to make
The data bit width of other data bit is the integral multiple of the basic transcoding units.
Further, the modular converter also includes
Memory cell, for being stored according to the buffer size for sending data in conversion, directly to sending data register
Device is operated.
The embodiments of the invention provide a kind of general transcoding implementation method that can be cross-platform, using standard coding format such as
Nrz encoding form substitutes original any encoding format data fully equivalently.The general code-transferring method of the embodiment of the present invention was both
Comprising general transcoding inside single certain class agreement, also include the general transcoding of compatible all agreements, that is, allow programmer according to
The flexible solving practical problems of combination of selection any two or multiple transcoding modules are needed, or transcoding is made into user's built-in function
Form to save application code space.Compared to existing TPMS, the general code-transferring method of the embodiment of the present invention is portable
It is good, practical, very easily it can be transplanted under different platform, can be very if there is the new coded system to occur
Easily add on the basis of original new basic transcoding module as needed and extend transcoding function, the embodiment of the present invention it is logical
It is simple to operate with code-transferring method, good reliability, because all coded systems are all finally real by standard coding formats such as NRZ
It is existing, therefore this method can realize the coding of arbitrary data frame in TPMS.Further, the general code-transferring method of the embodiment of the present invention can
The big little endian mode that buffer data is stored is sent with reference to chip, directly transmitting data register is operated, stored in transcoding,
Execution efficiency is higher.
Brief description of the drawings
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys
The element with same reference numbers label is expressed as similar element in the bright restriction not constituted to embodiment, accompanying drawing, removes
Composition is not limited the non-figure having in special statement, accompanying drawing.
Fig. 1 is the flow chart for the general transcoding implementation method that can be cross-platform that the embodiment of the present invention one is provided;
Fig. 2 is the structure chart that the general transcoding that can be cross-platform that the embodiment of the present invention two is provided realizes device;
Fig. 3 is the structure that the general transcoding that can be cross-platform that the embodiment of the present invention two is provided realizes modular converter in device
Figure.
Specific embodiment
What is be described below is some in multiple possible embodiments of the invention, it is desirable to provide to the basic of the present invention
Solution, it is no intended to confirm the crucial or conclusive key element of the present invention or limit the scope of desired protection.It is easily understood that
Technique according to the invention scheme, in the case where not changing the connotation of the present invention, those of ordinary skill in the art can be proposed
Other implementations mutually replaced.Therefore, specific examples below and accompanying drawing are only that technical scheme is shown
Example property explanation, and be not to be construed as the whole of the present invention or be considered as to define or limit technical solution of the present invention.
In following description, for the clear and simplicity of description, do not own again in accompanying drawing to air-conditioner control system
Part shows that emphasis shows that those of ordinary skill in the art are the multiple portions for being fully able to realize the present invention in accompanying drawing one by one
Part, and to those skilled in the art, perhaps multipart operation is all to be familiar with and obvious.
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Embodiment one
The embodiment of the present invention one proposes a kind of general transcoding implementation method that can be cross-platform.As shown in figure 1, the present invention is implemented
The method of example one comprises the following steps:
S1, collection TPMS data.The TPMS of the embodiment of the present invention one can gather TPMS data by tyre pressure sensor.
S2, the TPMS data of collection are converted into default standard coding format, and sent.
The TPMS data of collection in step S1 are completed to the basic processing of group bag and transcoding processing.The embodiment of the present invention one
Using nrz encoding form as standard coding format, with other non-for example graceful codes of nrz encoding form/anti-graceful code, difference/contrast demal,
PWM codes etc. exemplified by non-standard coded format as illustrating.
The method of the embodiment of the present invention one initially sets up pair between standard coding format and other non-standard coded formats
It should be related to, i.e. corresponding relation between the single encoded position of standard coding format and the single encoded position of non-standard coded format.
As a graceful code bit " 1 " corresponds to NRZ " 1 ", " 0 ";And one PWM " 1 " corresponds to NRZ " 1 ", " 1 ", " 0 ".Preferably
Embodiment is as standard coding format, no matter being that other arbitrary coded systems need to not needed using nrz encoding form
Changing baud rate can be substituted with nrz encoding form, and nrz encoding form will not lose any information, and fully equivalent
Other codings are substituted, therefore it is to realize the reliable side of general transcoding that can substitute other coded systems using nrz encoding form
Method.
During transcoding, can with the data bit (bit) of some byte be unit, it then follows from a high position to low level or from low level to
High-order order, is carried out by turn.
In order to obtain more excellent transcoding effect, when being considered as the matching problem, i.e. transcoding of coded system and baud rate in order to
Processing is convenient and ensures versatility, it should take baud rate maximum (sending out level width in data most short) in a frame data
Data bit is used as a basic transcoding units, it is ensured that the data bit width of other data bit is the integral multiple of basic transcoding units.
Further, in order to improve operational efficiency during transcoding, the size that chip sends buffer data storage can be combined
End pattern is stored in transcoding, and directly transmitting data register is operated.
The embodiment of the present invention one provides a kind of general transcoding implementation method that can be cross-platform, using standard coding format such as
Nrz encoding form substitutes original any encoding format data fully equivalently.Compared to existing TPMS, the embodiment of the present invention
One general code-transferring method portability is good, practical, very easily can be transplanted under different platform, if having new
When coded system occurs, then it easily can add new basic transcoding module extension on the basis of original as needed and turn
Code function, the general code-transferring method of the embodiment of the present invention one is simple to operate, good reliability, because all coded systems are final all
It is to be realized by standard coding formats such as NRZ, therefore this method can realize the coding of arbitrary data frame in TPMS.Further, originally
The general code-transferring method of inventive embodiments can combine the big little endian mode that chip sends buffer data storage, directly to sending number
According to register manipulation, stored in transcoding, execution efficiency is higher.
Embodiment two
The embodiment of the present invention two provides a kind of TPMS data encoding formaies conversion equipment.As shown in Fig. 2 the present invention is implemented
The device of example two includes acquisition module 10 and modular converter 20, wherein:
Acquisition module 10 is used to gather TPMS data.
Modular converter 20 is used to the TPMS data of collection being converted to default standard coding format, and sends.
As shown in figure 3, modular converter 20 includes:
Corresponding unit 21, for according to the corresponding relation between TPMS data encodings position and normal data bits of coded, inciting somebody to action
TPMS data are changed by turn from a high position to low level or from low to high.
The wide unit 22 of fetch bit, for taking the maximum data bit of baud rate in a frame TPMS data as basic transcoding units,
The data bit width for making other data bit is the integral multiple of the basic transcoding units.
Memory cell 23, for being stored according to the buffer size for sending data in conversion, is directly posted sending data
Storage is operated.
Modular converter 20 completes the TPMS data of collection the basic processing of group bag and transcoding processing.The embodiment of the present invention two
Using nrz encoding form as standard coding format, with other non-for example graceful codes of nrz encoding form/anti-graceful code, difference/contrast demal,
PWM codes etc. exemplified by non-standard coded format as illustrating.
The embodiment of the present invention two initially sets up the corresponding relation between standard coding format and other non-standard coded formats,
Corresponding relation i.e. between the single encoded position of standard coding format and the single encoded position of non-standard coded format.Such as one graceful
Code bit " 1 " corresponds to NRZ " 1 ", " 0 ";And one PWM " 1 " corresponds to NRZ " 1 ", " 1 ", " 0 ".Preferably embodiment
To use nrz encoding form as standard coding format, no matter being that other arbitrary coded systems need to need not change baud
Rate can be substituted with nrz encoding form, and nrz encoding form will not lose any information, and fully equivalent replacement other
Coding, therefore it is to realize the reliable method of general transcoding that can substitute other coded systems using nrz encoding form.
During transcoding, corresponding unit 21 can with the data bit (bit) of some byte be unit, it then follows from a high position to low level or
Person is carried out by turn from low level to high-order order.
In order to obtain more excellent transcoding effect, when being considered as the matching problem, i.e. transcoding of coded system and baud rate in order to
Processing is convenient and ensures versatility, and the wide unit 22 of fetch bit takes baud rate maximum in a frame data (to send out level width in data
It is most short) data bit be used as a basic transcoding units, it is ensured that the data bit width of other data bit be basic transcoding units
Integral multiple.
Further, in order to improve operational efficiency during transcoding, memory cell 23 can combine chip and send buffer data
The big little endian mode of storage is stored in transcoding, and directly transmitting data register is operated.
The embodiment of the present invention two using standard coding format such as nrz encoding form it is fully equivalent substitute it is original it is any compile
Code formatted data.Compared to existing TPMS, the device portability of the embodiment of the present invention two is good, practical, can be very square
Being transplanted under different platform just, can be easily as needed original if having the new coded system to occur
On the basis of add new basic transcoding module extension transcoding function, the device of the embodiment of the present invention two is simple to operate, reliability
Good, because all coded systems are realized by standard coding formats such as NRZ, therefore this method can be realized in TPMS and appointed
The coding of meaning data frame.Further, the device of the embodiment of the present invention two can combine chip and send the big of buffer data storage
Little endian mode, directly operates to transmitting data register, is stored in transcoding, execution efficiency is higher.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.
Claims (4)
1. a kind of general TPMS data encoding format conversion methods, it is characterised in that methods described comprises the following steps:
Gather TPMS data;
The corresponding relation set up between the single bits of coded of TPMS data and the single encoded position of normal data coded format;
It is determined that basic transcoding units, so that the data bit width of each data bit is the integral multiple of the basic transcoding units;
The TPMS data of the collection are converted to according to the corresponding relation from a high position to low level or from low to high default
Normal data coded format and send, wherein, the normal data coded format be nrz encoding form.
2. the method as described in claim 1, it is characterised in that described that the TPMS data of collection are converted into default criterion numeral
According to coded format also include:
Buffer size according to data are sent is stored in conversion, and directly transmitting data register is operated.
3. a kind of general TPMS data encoding format conversion equipments, it is characterised in that described device includes:
Acquisition module, for gathering TPMS data;
Modular converter, it is default for being converted to by turn by the TPMS data of the collection from a high position to low level or from low to high
Normal data coded format and send, wherein, the normal data coded format be nrz encoding form;The modular converter
Including for setting up the corresponding relation between the single bits of coded of TPMS data and the single encoded position of normal data coded format
Corresponding unit and determine basic transcoding units so that the data bit width of each data bit is the whole of the basic transcoding units
The wide unit of fetch bit of several times.
4. device as claimed in claim 3, it is characterised in that the modular converter also includes memory cell, for according to hair
Send the buffer size of data to be stored in conversion, directly transmitting data register is operated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710528572.0A CN107302361B (en) | 2014-03-06 | 2014-03-06 | Universal TPMS data coding format conversion method and device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710528572.0A CN107302361B (en) | 2014-03-06 | 2014-03-06 | Universal TPMS data coding format conversion method and device |
CN201410081130.2A CN103840834B (en) | 2014-03-06 | 2014-03-06 | General TPMS data encoding formaies conversion method and device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410081130.2A Division CN103840834B (en) | 2014-03-06 | 2014-03-06 | General TPMS data encoding formaies conversion method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107302361A true CN107302361A (en) | 2017-10-27 |
CN107302361B CN107302361B (en) | 2021-01-05 |
Family
ID=50804032
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710528572.0A Active CN107302361B (en) | 2014-03-06 | 2014-03-06 | Universal TPMS data coding format conversion method and device |
CN201410081130.2A Active CN103840834B (en) | 2014-03-06 | 2014-03-06 | General TPMS data encoding formaies conversion method and device |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410081130.2A Active CN103840834B (en) | 2014-03-06 | 2014-03-06 | General TPMS data encoding formaies conversion method and device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107302361B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702068A (en) * | 2020-12-25 | 2021-04-23 | 深圳市元征科技股份有限公司 | Coded data processing method, device, equipment and storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108215674B (en) * | 2016-12-13 | 2019-09-13 | 比亚迪股份有限公司 | The transmission of tire pressure and processing method and processing device, TPMS |
CN112650448B (en) * | 2020-12-21 | 2024-04-05 | 中国航天科工集团八五一一研究所 | FPGA-based large-data-volume storage file management method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010008083A1 (en) * | 1999-08-16 | 2001-07-19 | Brown Robert Walter | Monitoring pneumatic tire conditions |
CN1553867A (en) * | 2001-10-31 | 2004-12-08 | ��������ķ������ | Tire pressure monitoring system |
CN101094208A (en) * | 2006-06-21 | 2007-12-26 | 株式会社电装 | Receiving unit of vehicle communication system |
CN201009689Y (en) * | 2006-12-21 | 2008-01-23 | 沈德才 | Monitoring device for vehicle tyre pressure |
CN101269615A (en) * | 2007-03-20 | 2008-09-24 | 福特环球技术公司 | Device and method for wireless vehicle communication |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571413A (en) * | 2003-07-17 | 2005-01-26 | 深圳市中兴通讯股份有限公司 | A method and coder for baseband channel NRZ code stream to unipolar code stream conversion |
CN100568738C (en) * | 2008-03-28 | 2009-12-09 | 南京航空航天大学 | The pulse-width modulation type optical fiber communication coding coding/decoding method and the circuit of band synchronised clock |
-
2014
- 2014-03-06 CN CN201710528572.0A patent/CN107302361B/en active Active
- 2014-03-06 CN CN201410081130.2A patent/CN103840834B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010008083A1 (en) * | 1999-08-16 | 2001-07-19 | Brown Robert Walter | Monitoring pneumatic tire conditions |
CN1553867A (en) * | 2001-10-31 | 2004-12-08 | ��������ķ������ | Tire pressure monitoring system |
CN101094208A (en) * | 2006-06-21 | 2007-12-26 | 株式会社电装 | Receiving unit of vehicle communication system |
CN201009689Y (en) * | 2006-12-21 | 2008-01-23 | 沈德才 | Monitoring device for vehicle tyre pressure |
CN101269615A (en) * | 2007-03-20 | 2008-09-24 | 福特环球技术公司 | Device and method for wireless vehicle communication |
Non-Patent Citations (2)
Title |
---|
曹丙霞: "《车载多媒体信息系统中信息管理模块的研制》", 《中国优秀博硕士学位论文全文数据库 (硕士) 工程科技Ⅱ辑》 * |
陶晓玲: "《基于CAN总线的重型卡车轮胎压力监测系统_TPMS_设计》", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702068A (en) * | 2020-12-25 | 2021-04-23 | 深圳市元征科技股份有限公司 | Coded data processing method, device, equipment and storage medium |
CN112702068B (en) * | 2020-12-25 | 2024-04-02 | 深圳市元征科技股份有限公司 | Method, device, equipment and storage medium for processing coded data |
Also Published As
Publication number | Publication date |
---|---|
CN103840834B (en) | 2017-08-29 |
CN107302361B (en) | 2021-01-05 |
CN103840834A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106364424B (en) | A kind of vehicle abnormality information transmission system, method and intelligent vehicle-carried box | |
CN103587357B (en) | TPMS (Tire Pressure Monitor System) sensor upgrade method and device | |
CN105099843B (en) | Method for compressing the operating time of a vehicle communication bus | |
WO2013127273A1 (en) | Method of setting sensor of motor vehicle tyre pressure monitoring system, sensor and setting device for sensor | |
CN102752237B (en) | A kind of general-purpose gateway devices and Internet of things system | |
CN106611955A (en) | Communications for power delivery solutions | |
CN103840834B (en) | General TPMS data encoding formaies conversion method and device | |
CN105049151A (en) | Method for controlling serial port communication and communication serial port | |
WO2016014914A1 (en) | Multi-reliability regenerating codes for distributed storage systems | |
CN106608231A (en) | Controller for electric vehicle | |
CN103209044B (en) | Transmission method, device and system of messages with data to be transmitted | |
CN103530986B (en) | Based on brain wave and the driver fatigue monitor system of Zigbee | |
CN104717036B (en) | A kind of Difference Manchester decoding circuit and decoding system | |
CN104852951A (en) | Grain depot safety monitoring system work flow | |
CN106494253A (en) | A kind of battery bag location recognition and the system and method for status information monitoring | |
CN103731241B (en) | Encoding system and method for improving spectrum efficiency of communication system | |
CN103812610B (en) | A kind of data communications method, terminal and information safety devices | |
CN106612160A (en) | Controller | |
CN106549921B (en) | Data transmission method and device | |
CN106033377B (en) | Data disaster tolerance method and Disaster Recovery Service | |
CN104639242B (en) | Road lamp identifies acquisition system and method | |
CN102420675A (en) | Methods and devices for transmitting and receiving using state information of buffer of data message | |
CN102868881B (en) | Video encoding system and method | |
CN201403101Y (en) | E1/Ethernet data conversion unit | |
CN204305087U (en) | A kind of cloud of new type auto backup data information stores all-in-one |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |