CN103840834B - General TPMS data encoding formaies conversion method and device - Google Patents
General TPMS data encoding formaies conversion method and device Download PDFInfo
- Publication number
- CN103840834B CN103840834B CN201410081130.2A CN201410081130A CN103840834B CN 103840834 B CN103840834 B CN 103840834B CN 201410081130 A CN201410081130 A CN 201410081130A CN 103840834 B CN103840834 B CN 103840834B
- Authority
- CN
- China
- Prior art keywords
- data
- tpms
- coded
- bit
- format
- 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.)
- Active
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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
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)It is main to use
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 such as Manchester's code of a variety of coded systems may also be included inside the data frame of same type agreement simultaneously(Hereinafter referred to as
Graceful code), anti-graceful code, the graceful code of difference, not coded format(NRZ)Deng, 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
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.
Embodiment
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.
, can be with the data bit of some byte during transcoding(bit)For 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 in a frame data maximum(Level width is most short in sent out data)'s
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 be with the data bit of some byte(bit)For 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 in a frame data maximum(Level width in sent out 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;
The data bit of baud rate maximum in a frame TMPS data is taken as basic transcoding units, so that the data bit of other data bit
The integral multiple of a width of 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 for taking the maximum data bit of baud rate in a frame TPMS data as basic transcoding units so that other
The data bit width of data bit is the wide unit of fetch bit of the integral multiple of the basic transcoding units.
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 (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410081130.2A CN103840834B (en) | 2014-03-06 | 2014-03-06 | General TPMS data encoding formaies conversion method and device |
CN201710528572.0A CN107302361B (en) | 2014-03-06 | 2014-03-06 | Universal TPMS data coding format conversion method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410081130.2A CN103840834B (en) | 2014-03-06 | 2014-03-06 | General TPMS data encoding formaies conversion method and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710528572.0A Division CN107302361B (en) | 2014-03-06 | 2014-03-06 | Universal TPMS data coding format conversion method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103840834A CN103840834A (en) | 2014-06-04 |
CN103840834B true CN103840834B (en) | 2017-08-29 |
Family
ID=50804032
Family Applications (2)
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 |
CN201710528572.0A Active CN107302361B (en) | 2014-03-06 | 2014-03-06 | Universal TPMS data coding format conversion method and device |
Family Applications After (1)
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 |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN103840834B (en) |
Families Citing this family (3)
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 |
CN112702068B (en) * | 2020-12-25 | 2024-04-02 | 深圳市元征科技股份有限公司 | Method, device, equipment and storage medium for processing coded data |
Citations (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 |
CN101247128A (en) * | 2008-03-28 | 2008-08-20 | 南京航空航天大学 | Pulse-width modulation type optical fiber communication coding/decoding method and circuit with synchronous clock |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6591671B2 (en) * | 1999-08-16 | 2003-07-15 | The Goodyear Tire & Rubber Company | Monitoring pneumatic tire conditions |
US20030080862A1 (en) * | 2001-10-31 | 2003-05-01 | Kranz Mark J. | Tire pressure monitoring system |
JP4887928B2 (en) * | 2006-06-21 | 2012-02-29 | 株式会社デンソー | Receiving device for vehicle communication system |
CN201009689Y (en) * | 2006-12-21 | 2008-01-23 | 沈德才 | Monitoring device for vehicle tyre pressure |
US7825782B2 (en) * | 2007-03-20 | 2010-11-02 | Ford Global Technologies, Llc | Device and method for wireless vehicle communication |
-
2014
- 2014-03-06 CN CN201410081130.2A patent/CN103840834B/en active Active
- 2014-03-06 CN CN201710528572.0A patent/CN107302361B/en active Active
Patent Citations (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 |
CN101247128A (en) * | 2008-03-28 | 2008-08-20 | 南京航空航天大学 | Pulse-width modulation type optical fiber communication coding/decoding method and circuit with synchronous clock |
Also Published As
Publication number | Publication date |
---|---|
CN107302361A (en) | 2017-10-27 |
CN107302361B (en) | 2021-01-05 |
CN103840834A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103489230B (en) | A kind of new-energy automobile CAN data wireless transmission vehicle flight recorder device | |
CN103840834B (en) | General TPMS data encoding formaies conversion method and device | |
CN103587357B (en) | TPMS (Tire Pressure Monitor System) sensor upgrade method and device | |
CN106364424B (en) | A kind of vehicle abnormality information transmission system, method and intelligent vehicle-carried box | |
CN110324222B (en) | Vehicle CAN bus data interaction system and interaction method thereof | |
CN102638397A (en) | USB (universal serial bus) device communication transmission method, device and system | |
WO2013127273A1 (en) | Method of setting sensor of motor vehicle tyre pressure monitoring system, sensor and setting device for sensor | |
CN106462528A (en) | Power-saving mode for USB power delivery sourcing device | |
BR112012002103B1 (en) | asset tracking system, mobile base station module and asset tracking method | |
CN104935527A (en) | Data packing method of audio communication | |
CN104935408B (en) | Data transmission method and device | |
CN204055554U (en) | Horn for vehicle sound-volume control system | |
CN102130930A (en) | Remote monitoring terminal for electric automobile | |
CN106494253A (en) | A kind of battery bag location recognition and the system and method for status information monitoring | |
CN201604599U (en) | Remote control terminal of electric automobile | |
CN103731241B (en) | Encoding system and method for improving spectrum efficiency of communication system | |
CN106549921B (en) | Data transmission method and device | |
CN106612160A (en) | Controller | |
CN103888108B (en) | A kind of data decoding method and device | |
CN202424739U (en) | Encryption module, service platform and vehicle-mounted communication system | |
CN204641281U (en) | A kind of OBD vehicle condition check implement with tire pressure monitoring function | |
CN103118071A (en) | Automobile maintenance method utilizing ZigBee wireless network for intelligent motorcade | |
CN106250066A (en) | A kind of forging rotation aluminium alloy wheel hub Product Data Management system | |
CN105760928A (en) | Intelligent VIN electronic tag applied to RFID of Internet of vehicles | |
CN204595600U (en) | A kind of device solving OBD equipment problem of mutual exclusion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent for invention or patent application | ||
CB02 | Change of applicant information |
Address after: 518057 Guangdong city of Shenzhen province Nanshan District Xili Street Xueyuan Road No. 1001 Chi Park B1 building 7 layer, 8 layer, 10 layer Applicant after: SHENZHEN AUTEL TECHNOLOGY CO., LTD. Address before: 518057 Guangdong city of Shenzhen province Nanshan District Xili town tea light road on the south side of Shenzhen integrated circuit design and application of Industrial Park 106, 107, 109, 114 Applicant before: Shenzhen Autel Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |