CN110391852A - A kind of binary coded data transmission method and system - Google Patents

A kind of binary coded data transmission method and system Download PDF

Info

Publication number
CN110391852A
CN110391852A CN201910641534.5A CN201910641534A CN110391852A CN 110391852 A CN110391852 A CN 110391852A CN 201910641534 A CN201910641534 A CN 201910641534A CN 110391852 A CN110391852 A CN 110391852A
Authority
CN
China
Prior art keywords
voltage
coded data
binary coded
value
voltage value
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.)
Pending
Application number
CN201910641534.5A
Other languages
Chinese (zh)
Inventor
黄宾
李润朝
戴清明
尹志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Blueway Electronic Co Ltd
Original Assignee
Huizhou Blueway Electronic Co Ltd
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 Huizhou Blueway Electronic Co Ltd filed Critical Huizhou Blueway Electronic Co Ltd
Priority to CN201910641534.5A priority Critical patent/CN110391852A/en
Publication of CN110391852A publication Critical patent/CN110391852A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B14/00Transmission systems not characterised by the medium used for transmission
    • H04B14/02Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation
    • H04B14/023Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation using pulse amplitude modulation

Abstract

This application discloses a kind of binary coded data transmission method and systems, which comprises the first device obtains binary coded data, and the binary coded data is converted into corresponding voltage value;The first device generates target voltage according to the voltage value, and the target voltage is transferred to the second device;The second device detects the voltage value of the target voltage;The voltage value of the target voltage is parsed into corresponding binary coded data by the second device, and is handled the binary coded data.This application can not only be compatible with existing binary encoding protocols, but also efficiency of transmission can be improved, and communication time-delay is effectively reduced.

Description

A kind of binary coded data transmission method and system
Technical field
This application involves domain of communication equipment, in particular to a kind of binary coded data transmission method and system.
Background technique
Data transfer mode of today, either picture, text or it is relatively simple signal data, generally by data After being converted into binary coded data, binary coded data is passed by way of electric signal either fiber-optic signal It is defeated.
During transmitting the binary coded data, need the binary coded data root in each communication frame It is transmitted by turn according to communication timing.In some cases, if the frame length of the communication frame is longer namely binary coded data Digit it is more, then may the time needed for transmission process it is also corresponding longer, cause to generate biggish communication delay, to it is certain when It will cause large effect for the effect property high system of demand.
Summary of the invention
The application provides a kind of binary coded data transmission method and system, can reduce logical in data transmission procedure Believe time delay.
The embodiment of the present application provides a kind of binary coded data transmission method, is applied to first device and the second dress It sets, which comprises
The first device obtains binary coded data, and the binary coded data is converted into corresponding voltage value;
The first device generates target voltage according to the voltage value, and the target voltage is transferred to the second device;
The second device detects the voltage value of the target voltage;
The voltage value of the target voltage is parsed into corresponding binary coded data by the second device, and to described two into Coded data processed is handled.
Optionally, the binary coded data and the voltage value of target voltage are uniquely corresponding, and the binary coding Corresponding numerical value is directly proportional to the size of the voltage value or inverse ratio.
It is optionally, described that the binary coded data is converted into corresponding voltage value, comprising:
Preset first parameter mapping table is obtained, the first parameter mapping table includes multiple binary coded datas and multiple institutes The mapping relations between voltage value are stated, the numerical value between multiple voltage values in the first parameter mapping table is different;
The binary coded data is matched with the voltage value of the first parameter mapping table, to obtain corresponding voltage Value.
Optionally, the voltage value of the target voltage is parsed into corresponding binary coded data by the second device, Include:
Obtain preset second parameter mapping table, the second parameter mapping table includes between multiple voltage regions with multiple described two Mapping relations between scale coding data, between multiple voltage regions in the second parameter mapping table between be not overlapped;
It will be matched between the voltage value of the target voltage and the voltage region of the second parameter mapping table, described in determination Target voltage values section corresponding to the voltage value of target voltage;
Obtain the corresponding binary coded data in the target voltage values section.
Optionally, the voltage value of the target voltage is parsed into corresponding binary coded data in the second device Before, further includes:
Maximum voltage value between marking off multiple voltage regions in a predetermined voltage range, between each the multiple voltage region Numerical difference between minimum amount of voltage that is a preset interval value.
Optionally, the voltage value of the target voltage is parsed into corresponding binary coded data in the second device Before, further includes:
Voltage reference value is set, using the intermediate value between the voltage region as voltage reference value;
It configures and to be formed between voltage region based on the reference value and the interval value.
Optionally, the voltage value of the target voltage is parsed into corresponding binary coded data in the second device Before, further includes:
Calibration section will be used as between voltage region where the intermediate value of the predetermined voltage range.
Optionally, the first device obtains binary coded data, and the binary coded data is converted into corresponding to Voltage value, comprising:
The binary coded data is split into multistage coded data section by predetermined manner;
Corresponding voltage value is converted into the multistage coded data section respectively, obtains multiple voltage values;
It is described that target voltage is generated according to the voltage value, the target voltage is transferred to the second device, comprising:
The multiple voltage value is generated into multiple target voltages;
According to precedence of the coded data section in the binary coded data, successively the multiple target voltage is carried out Transmission;
The voltage value of the target voltage is parsed into corresponding binary coded data by the second device, comprising:
Multiple target voltages are parsed into corresponding multiple coded data sections respectively, and are spliced to form a binary coded data.
It is described disclosed herein as well is a kind of binary coded data Transmission system, including first device and second device First device and second device communication connection, in which:
The binary coded data is converted into corresponding voltage for obtaining binary coded data by the first device Value;Target voltage is generated according to the voltage value, the target voltage is transferred to the second device;
The second device, for detecting the voltage value of the target voltage;The voltage value of the target voltage is parsed into pair The binary coded data answered, and the binary coded data is handled.
Optionally, the first device includes D/A conversion circuit, and the D/A conversion circuit is for exporting the target electricity Pressure;
The second device includes A/D conversion circuit, and the A/D conversion circuit is used to detect the voltage value of target voltage;Or
The second device includes multiple comparators, and the multiple comparator is used to detect the voltage value of target voltage.
From the foregoing, it will be observed that binary coded data transmission method and system in the application, by the way that different binary systems is compiled Code data are converted into different voltage values and are transmitted, because voltage value is single one physical amount, so that system is without considering binary system The length of coded data will affect the problem of communication time-delay of system, as long as receiving end passes through the voltage value of the detection target voltage And it can be obtained corresponding binary coded data using preset corresponding relationship.It so can not only be compatible with existing two Scale coding agreement, but also efficiency of transmission can be improved, communication time-delay is effectively reduced.
Detailed description of the invention
Fig. 1 is the implementation flow chart of binary coded data transmission method provided by the embodiments of the present application.
Fig. 2 is the implementation flow chart of voltage value provided by the embodiments of the present application conversion.
Fig. 3 is the application scenario diagram of binary coded data Transmission system provided by the embodiments of the present application.
Fig. 4 is the implementation flow chart of binary coded data provided by the embodiments of the present application conversion.
Fig. 5 is the implementation flow chart of data transmission procedure provided by the embodiments of the present application.
Fig. 6 is the structural schematic diagram of binary coded data Transmission system provided by the embodiments of the present application.
Fig. 7 is another structural schematic diagram of binary coded data Transmission system provided by the embodiments of the present application.
Specific embodiment
The preferred embodiment of the application is described in detail with reference to the accompanying drawing so that the advantages of the application and feature more It is easily readily appreciated by one skilled in the art, to make apparent define to the protection scope of the application.
Referring to Fig. 1, showing the implementation process of data transmission method provided by the embodiments of the present application in figure.
The data transmission method is applied to first device and second device.Wherein, lead between first device and second device It crosses general communication channel to be attached, such as conducting wire, covers copper etc..
The first device can be two parts communicated in same equipment with second device, such as two circuits Or between two modules, it is also possible to distinct device, the embodiment of the present application is not construed as limiting this.
As shown in Figure 1, the binary coded data transmission method includes:
101, first device obtains binary coded data, and binary coded data is converted into corresponding voltage value.
Wherein, the numerical value of the binary coded data can be multiple, which can also compile simultaneously according to binary system Code data different numerical value and be provided with multiple corresponding numerical value.
It in one embodiment, is preset mapping relations between the binary coded data and voltage value, if such as current Binary coded data be 101, and the corresponding voltage value of the binary coded data be 3.5V, then when first device receives Binary coded data be 101 when, then can be with corresponding conversion at the voltage value of 3.5V.
Certainly, above-described embodiment is only used for illustrating, the size and its corresponding pass of the binary coded data and voltage value System can be set according to the actual situation.
102, first device generates target voltage according to voltage value, and target voltage is transferred to second device.
Wherein, target voltage is generated, can be realized and be converted by D/A converter, which can be by first device Control unit control, target voltage and transmitted with being generated according to identified voltage value.
After generating target voltage, target voltage values can be passed by the channel between first device and second device It is defeated to arrive second device.
103, the voltage value of second device detection target voltage.
Wherein, the voltage value of the target voltage can detect to obtain by voltage detecting circuit, the voltage detecting circuit Way of realization can be a variety of.
In some embodiments, which can be converted into phase for the voltage value of target voltage by A/D converter The digital signal answered, and the mapping relations between the voltage value and binary coded data for passing through preset target voltage obtain The corresponding binary coded data of the target voltage.
In further embodiments, which can be by being arranged multiple comparators, to realize to different voltages value Detection, and realized by comparator corresponding with binary coded data.
It should be understood that voltage detecting circuit used by the second device can be selected according to the actual situation, The application is not limited thereto.
104, the voltage value of target voltage is parsed into corresponding binary coded data by second device, and is compiled to binary system Code data are handled.
Wherein, the voltage value of target voltage is parsed into corresponding binary coded data, can by be arranged it is preset, List of matches including mapping relations between different voltages value and different binary coded datas is realized.
For example, if the corresponding binary coded data of voltage value 3.5V is 101, if the voltage value detected is 3.5V then learns that the corresponding binary coded data of the voltage value is 101 by tabling look-up, to complete the parsing to voltage value.
After obtaining binary coded data by parsing, which can be carried out based on the binary coded data Execute corresponding processing movement.
Wherein, the binary coded data and the voltage value of target voltage are uniquely corresponding, and the corresponding number of binary coding It is worth or inverse ratio directly proportional to the size of voltage value.It is possible thereby to directly determine corresponding binary coding according to corresponding relationship Data either target voltage.
Specifically, the second device is by being somebody's turn to do after the binary coded data in the first device is converted into target voltage Binary coded data made of target voltage conversion should also be as corresponding to, and so may insure that the information in transmission process is accurate Property.
In addition, other execution modules of first device and second device can still be compiled using binary system during realization Code data carry out execution processing, and only using the specific of the binary data transmission method between first device and second device Content allows the binary data transmission method to be compatible with existing binary coded data processing technique.
From the foregoing, it will be observed that the binary coded data transmission method in the application, by by different binary coded datas It is converted into different voltage values to be transmitted, because voltage value is single one physical amount, so that system is without considering binary coded number According to length will affect the communication time-delay of system the problem of, as long as receiving end by detect the target voltage voltage value and benefit It can be obtained corresponding binary coded data with preset corresponding relationship.Existing binary system so can be not only compatible with to compile Code agreement, but also efficiency of transmission can be improved, communication time-delay is effectively reduced.
Referring to Fig. 2, showing the implementation process of voltage value conversion provided by the embodiments of the present application in figure.
As shown in Fig. 2, binary coded data is converted into corresponding voltage value by this, comprising:
201, preset first parameter mapping table is obtained, the first parameter mapping table includes multiple binary coded datas and multiple electricity Mapping relations between pressure value.
Wherein, the numerical value between multiple voltage values in the first parameter mapping table is different.It should be understood that multiple voltages Value can respectively correspond different binary coded datas.The first parameter mapping table can store in memory, work as needs It is called again when acquisition.
202, binary coded data is matched with the voltage value of the first parameter mapping table, to obtain corresponding voltage Value.
Referring to Fig. 3, showing the applied field of binary coded data transmission method provided by the embodiments of the present application in figure Scape.
In the application scenarios, the voltage value including 0-5V, and different voltage values corresponds to different binary coded numbers According to.For example, it is binary coded data 101 that 3.5V is corresponding, and it is binary coded data 011 that 2.5V is corresponding, when two into After coded data processed determines, then corresponding voltage value can be found according to the corresponding relationship.
Certainly, the form of the first parameter mapping table can there are many, e.g. exist in the form of a list or its Its implementation, the quantity and binary coded data of the voltage value, corresponding relationship etc. can carry out according to the actual situation Setting.
By above-mentioned conversion process, after determining binary coded data, which can be with It can be converted between binary coded data and voltage value quickly, to realize high-speed traffic.
Referring to Fig. 4, showing the realization step of binary coded data conversion provided by the embodiments of the present application in figure.
As shown in figure 4, the voltage value of the target voltage is parsed into corresponding binary coded data by the second device, May include:
301, obtain preset second parameter mapping table, the second parameter mapping table include between multiple voltage regions with multiple binary systems Mapping relations between coded data.
Wherein, between multiple voltage regions in the second parameter mapping table between be not overlapped.The second parameter mapping table can To store in memory, it is called again when needing to obtain.
Also, the mapping relations between the voltage and binary coded data in the second parameter mapping table can be with first Mapping relations in parameter mapping table are corresponding, to ensure that binary coded data can be transmitted correctly.
302, it will be matched between the voltage value of target voltage and the voltage region of the second parameter mapping table, to determine target Target voltage values section corresponding to the voltage value of voltage.
As shown in figure 3, disclosing the range of voltage values of 0-5V in the figure, and different voltage values corresponds to different binary systems Coded data.For example, it is binary coded data 101 that 3.5V is corresponding, and it is binary coded data 011 that 2.5V is corresponding.
Also, between different voltages value corresponds to different voltage regions, if such as being set as a voltage every certain voltage value It is worth section, then when confirming interval range of the 3.7V between 3.25V-3.75V, corresponding binary coded data is 101。
It should be understood that the voltage value at interval can be set according to the resolution ratio of voltage detection module, such as 0.5V, 1V etc., specific numerical value can according to the actual situation depending on.
303, the corresponding binary coded data in target voltage values section is obtained.
The acquisition process can be converted to by A/D converter, and specific implementation refers to the prior art.
In some embodiments, the voltage value of the target voltage is parsed into corresponding binary coding in second device Before data, can also include:
Between marking off multiple voltage regions in a predetermined voltage range, maximum voltage value between each multiple voltage regions with most Numerical difference between small voltage value is a preset interval value.
Wherein, as shown in figure 3, the predetermined voltage range is 5V, wherein using every 0.5V as an interval value to the voltage model It encloses and is divided, formed between 9 voltage regions.
Certainly, the predetermined voltage range and interval value can according to the actual situation depending on, if such as binary coded number According to type it is more, then can reduce division spacing, to be arranged between more voltage regions, the size of the interval value can root It is realized according to hardware identification condition, the application is not construed as limiting this.
By the resolution ratio (namely size of interval value) being rationally arranged between voltage region, can make voltage value with Conversion between binary coded data is more accurate, quick.
Specifically, the voltage value of target voltage is parsed into second device in order to improve the accuracy of voltage value detection Before corresponding binary coded data, may include:
Voltage reference value is set, using the intermediate value between voltage region as voltage reference value;Matched based on voltage reference value and interval value It sets to be formed between voltage region.
Wherein, when the intermediate value between the voltage region is set as voltage reference value, and the voltage reference value and section are utilized The matching to voltage value is realized in value cooperation, hardware realization can be allowed to be more easier.
In some embodiments, calibration areas can also will be used as between the voltage region where the intermediate value of predetermined voltage range Between.As shown in figure 3, the calibration section is formed by voltage region in 2.5V, so that 0V is equivalent to -2.5V, and 5V then phase When in order to calibrate, improving the matching accuracy between the voltage value and binary coded data in+2.5V.
In some embodiments, when the length of the binary coded data is longer, number of types may be more, only logical Single voltage value is crossed to be difficult to realize the transmission to the binary coded data by matching relationship.
Referring to Fig. 5, the implementation of data transmission procedure provided by the embodiments of the present application is shown in figure, this method packet It includes:
401, binary coded data is split into multistage coded data section by predetermined manner by first device.
Wherein, the length of multistage coded data section can be consistent, can also be inconsistent, and split process can be based on default Mode.
For example, by every 3 one section of fractionation mode, can be split if a certain binary coded data is 110010011 At 110,010,011 totally three coded data section.
Certainly, specifically splitting mode can be based on depending on actual conditions.
402, first device is converted into corresponding voltage value to multistage coded data section respectively, obtains multiple voltage values.
For example, if a certain binary coded data is 110010011, and split into 110,010,011 totally three sections of coded numbers According to section, then this 110,010,011 can respectively correspond to form tri- voltage values of 4V, 2V, 2.5V based on the corresponding relationship of Fig. 3.
403, multiple voltage values are generated multiple target voltages by first device;
According to the three of above-mentioned formation voltage values, three target voltages 4V, 2V, 2.5V can be obtained.
404, precedence of the first device according to coded data section in binary coded data, successively to multiple target voltages It is transmitted.
In example as above, 4V, 2V, 2.5V can be pressed into its precedence of coded data section in binary coded data successively It sends.
Specifically, can be sent based on preset timing planning, for example, the first timing send 4V voltage value signal, Second timing sends 2V voltage value signal, third timing sends the voltage value signal of 2.5V.
405, multiple target voltages are parsed into corresponding multiple coded data sections by second device respectively, and are spliced to form one Binary coded data.
In example as above, tri- voltage signals of 4V, 2V, 2.5V can be detected based on the preset timing planning, be based on The voltage signal, which can correspond to, resolves to 110,010,011 3 coded data sections, then above-mentioned coded data section is spliced to form Binary coded data is 110010011, so that the binary coded data and first device binary coded number obtained According to consistent.
It should be understood that specific resolving and cataloged procedure, can be designed according to the actual situation, such as plus Enter corresponding check code to ensure the correctness of transmission process.
As can seen above, which can be converted into binary coded data several coded data sections, then lead to Cross and be converted into corresponding target voltage and transmitted, can effectively solve binary coded data it is too long when voltage value can not be one by one Corresponding problem, so as to be applied in the longer binary coded data of length.
Referring to Fig. 6, showing the structure of binary coded data Transmission system provided by the embodiments of the present application in figure.
As shown in fig. 6, the binary coded data Transmission system includes first device 510 and second device 520, the first dress Set 510 and 520 communication connection of second device, in which:
Binary coded data is converted into corresponding voltage value for obtaining binary coded data by first device 510;Root Target voltage is generated according to voltage value, target voltage is transferred to second device 520;
Second device 520, for detecting the voltage value of target voltage;The voltage value of target voltage is parsed into corresponding binary system Coded data, and binary coded data is handled.
Wherein, the numerical value of the binary coded data can be multiple, which can also compile simultaneously according to binary system Code data different numerical value and be provided with multiple corresponding numerical value.
It in one embodiment, is preset mapping relations between the binary coded data and voltage value, if such as current Binary coded data be 101, and the corresponding voltage value of the binary coded data be 3.5V, then when first device 510 connects It, then can be with corresponding conversion at the voltage value of 3.5V when the binary coded data received is 101.
Certainly, above-described embodiment is only used for illustrating, the size and its corresponding pass of the binary coded data and voltage value System can be set according to the actual situation.
As shown in fig. 7, generating target voltage, it can be realized and be converted by D/A converter 511, which can It is controlled with the control unit by first device 510, to generate target voltage according to identified voltage value and be transmitted.
It, can be electric by target by the channel between first device 510 and second device 520 after generating target voltage Pressure value is transferred to second device 520.
Wherein, the voltage value of the target voltage can detect to obtain by voltage detecting circuit, the voltage detecting circuit Way of realization can be a variety of.
In some embodiments, as shown in fig. 7, the second device 520 can be by A/D converter 521 by target voltage The voltage value voltage value and binary coded data that are converted into corresponding digital signal, and pass through preset target voltage between Mapping relations, obtain the corresponding binary coded data of the target voltage.
In further embodiments, which can be by being arranged multiple comparators, to realize to different voltages The detection of value, and realized by comparator corresponding with binary coded data.
It should be understood that voltage detecting circuit used by the second device 520 can be selected according to the actual situation Fixed, the application is not limited thereto.
Wherein, the voltage value of target voltage is parsed into corresponding binary coded data, can by be arranged it is preset, List of matches including mapping relations between different voltages value and different binary coded datas is realized.
For example, if the corresponding binary coded data of voltage value 3.5V is 101, if the voltage value detected is 3.5V then learns that the corresponding binary coded data of the voltage value is 101 by tabling look-up, to complete the parsing to voltage value.
After obtaining binary coded data by parsing, which can be based on the binary coded data It carries out executing corresponding processing movement.
Wherein, the binary coded data and the voltage value of target voltage are uniquely corresponding, and the corresponding number of binary coding It is worth or inverse ratio directly proportional to the size of voltage value.Specifically, the binary coded data in the first device 510 is converted into target After voltage, binary coded data made of which is converted by the target voltage should also be as corresponding to, so can be with Ensure the information accuracy in transmission process.
In addition, other execution modules of first device 510 and second device 520 can still use two during realization Scale coding data carry out execution processing, and only pass between first device 510 and second device 520 using the binary data The particular content of transmission method allows the binary data transmission method to be compatible with existing binary coded data processing skill Art.
In the embodiment of the present application, the binary coding in the binary coded data Transmission system and foregoing embodiments Data transmission method belongs to same design, and binary coded data transmission can be run in binary coded data Transmission system Either offer method step in embodiment of the method, specific implementation process are detailed in the implementation of binary coded data transmission method Example, and the alternative embodiment of the application can be formed using any combination, details are not described herein again.
From the foregoing, it will be observed that the binary coded data Transmission system in the application, by by different binary coded datas It is converted into different voltage values to be transmitted, because voltage value is single one physical amount, so that system is without considering binary coded number According to length will affect the communication time-delay of system the problem of, as long as receiving end by detect the target voltage voltage value and benefit It can be obtained corresponding binary coded data with preset corresponding relationship.Existing binary system so can be not only compatible with to compile Code agreement, but also efficiency of transmission can be improved, communication time-delay is effectively reduced.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Presently filed embodiment is explained in detail above in conjunction with attached drawing, but the application is not limited to above-mentioned implementation Mode within the knowledge of a person skilled in the art can also be under the premise of not departing from the application objective Various changes can be made.

Claims (10)

1. a kind of binary coded data transmission method is applied to first device and second device, the first device and second Device communication connection, which is characterized in that the described method includes:
The first device obtains binary coded data, and the binary coded data is converted into corresponding voltage value;
The first device generates target voltage according to the voltage value, and the target voltage is transferred to the second device;
The second device detects the voltage value of the target voltage;
The voltage value of the target voltage is parsed into corresponding binary coded data by the second device, and to described two into Coded data processed is handled.
2. binary coded data transmission method as described in claim 1, which is characterized in that the binary coded data with The voltage value of target voltage uniquely corresponds to, and the corresponding numerical value of the binary coding it is directly proportional to the size of the voltage value or Inverse ratio.
3. binary coded data transmission method as claimed in claim 2, which is characterized in that described by the binary coding Data conversion is at corresponding voltage value, comprising:
Preset first parameter mapping table is obtained, the first parameter mapping table includes multiple binary coded datas and multiple institutes The mapping relations between voltage value are stated, the numerical value between multiple voltage values in the first parameter mapping table is different;
The binary coded data is matched with the voltage value of the first parameter mapping table, to obtain corresponding voltage Value.
4. binary coded data transmission method as claimed in claim 2, which is characterized in that the second device is by the mesh The voltage value of mark voltage is parsed into corresponding binary coded data, comprising:
Obtain preset second parameter mapping table, the second parameter mapping table includes between multiple voltage regions with multiple described two Mapping relations between scale coding data, between multiple voltage regions in the second parameter mapping table between be not overlapped;
It will be matched between the voltage value of the target voltage and the voltage region of the second parameter mapping table, described in determination Target voltage values section corresponding to the voltage value of target voltage;
Obtain the corresponding binary coded data in the target voltage values section.
5. binary coded data transmission method as claimed in claim 4, which is characterized in that the second device will be described The voltage value of target voltage is parsed into before corresponding binary coded data, further includes:
Maximum voltage value between marking off multiple voltage regions in a predetermined voltage range, between each the multiple voltage region Numerical difference between minimum amount of voltage that is a preset interval value.
6. binary coded data transmission method as claimed in claim 5, which is characterized in that the second device will be described The voltage value of target voltage is parsed into before corresponding binary coded data, further includes:
Voltage reference value is set, using the intermediate value between the voltage region as voltage reference value;
It configures and to be formed between voltage region based on the reference value and the interval value.
7. binary coded data transmission method as claimed in claim 5, which is characterized in that the second device will be described The voltage value of target voltage is parsed into before corresponding binary coded data, further includes:
Calibration section will be used as between voltage region where the intermediate value of the predetermined voltage range.
8. binary coded data transmission method as described in claim 1, it is characterised in that:
The first device obtains binary coded data, and the binary coded data is converted into corresponding voltage value, wraps It includes:
The binary coded data is split into multistage coded data section by predetermined manner;
Corresponding voltage value is converted into the multistage coded data section respectively, obtains multiple voltage values;
It is described that target voltage is generated according to the voltage value, the target voltage is transferred to the second device, comprising:
The multiple voltage value is generated into multiple target voltages;
According to precedence of the coded data section in the binary coded data, successively the multiple target voltage is carried out Transmission;
The voltage value of the target voltage is parsed into corresponding binary coded data by the second device, comprising:
Multiple target voltages are parsed into corresponding multiple coded data sections respectively, and are spliced to form a binary coded data.
9. a kind of binary coded data Transmission system, which is characterized in that including first device and second device, first dress It sets and second device communication connection, in which:
The binary coded data is converted into corresponding voltage for obtaining binary coded data by the first device Value;Target voltage is generated according to the voltage value, the target voltage is transferred to the second device;
The second device, for detecting the voltage value of the target voltage;The voltage value of the target voltage is parsed into pair The binary coded data answered, and the binary coded data is handled.
10. binary coded data Transmission system as claimed in claim 9, it is characterised in that:
The first device includes D/A conversion circuit, and the D/A conversion circuit is for exporting the target voltage;
The second device includes A/D conversion circuit, and the A/D conversion circuit is used to detect the voltage value of target voltage;Or
The second device includes multiple comparators, and the multiple comparator is used to detect the voltage value of target voltage.
CN201910641534.5A 2019-07-16 2019-07-16 A kind of binary coded data transmission method and system Pending CN110391852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910641534.5A CN110391852A (en) 2019-07-16 2019-07-16 A kind of binary coded data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910641534.5A CN110391852A (en) 2019-07-16 2019-07-16 A kind of binary coded data transmission method and system

Publications (1)

Publication Number Publication Date
CN110391852A true CN110391852A (en) 2019-10-29

Family

ID=68286609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910641534.5A Pending CN110391852A (en) 2019-07-16 2019-07-16 A kind of binary coded data transmission method and system

Country Status (1)

Country Link
CN (1) CN110391852A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120082465A1 (en) * 2005-05-23 2012-04-05 Fujitsu Limited Optical transmitting apparatus, optical receiving apparatus, and optical communication system comprising them
CN105243809A (en) * 2015-10-10 2016-01-13 南京理工大学 Time measuring instrument USB flash disk storage wireless transmission system
CN107645336A (en) * 2017-10-19 2018-01-30 维沃移动通信有限公司 A kind of data transmission method for uplink, data receiver method, transmitting terminal and receiving terminal
CN109597569A (en) * 2017-10-02 2019-04-09 美光科技公司 Phase xor signal is multiplexed on the single pin of memory device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120082465A1 (en) * 2005-05-23 2012-04-05 Fujitsu Limited Optical transmitting apparatus, optical receiving apparatus, and optical communication system comprising them
CN105243809A (en) * 2015-10-10 2016-01-13 南京理工大学 Time measuring instrument USB flash disk storage wireless transmission system
CN109597569A (en) * 2017-10-02 2019-04-09 美光科技公司 Phase xor signal is multiplexed on the single pin of memory device
CN107645336A (en) * 2017-10-19 2018-01-30 维沃移动通信有限公司 A kind of data transmission method for uplink, data receiver method, transmitting terminal and receiving terminal

Similar Documents

Publication Publication Date Title
CN107295039B (en) Data access processing method and device
CN102096410B (en) Dynamic function test method of high-speed train operation control system
CN104991135A (en) Transformer area recognition method and device
CN106257854B (en) Single-side nibble transmission error generator
CN105515893A (en) Method for determining location of sample point
CN104820653A (en) Digital bus system and slave device physical position automatic recognition method thereof
CN109861795B (en) CANFD bus system sampling point configuration and test method and corresponding data transmission method
WO2016165091A1 (en) Apparatus and method for processing signal of absolute value encoder
CN105262644A (en) General test system based on protocol configuration and method
CN109088780B (en) Signal detection method and detection device
CN110391852A (en) A kind of binary coded data transmission method and system
CN109327354B (en) Method, device and test system for generating signal forwarding test case
CN111726260B (en) Method, device and system for testing format conversion of network request reply information
CN104270155A (en) Manchester code stream reception and anti-interference analysis method
CN105320593A (en) Multi-channel random frame data verification processing method and device
CN103368786B (en) The method of testing of CAN bus data and device
CN103259628B (en) Based on method for estimating error rate and the device of Model Matching
CN109855667A (en) A kind of error calibrating method suitable for different tables tool
CN110784330A (en) Method and device for generating application recognition model
CN110262459B (en) Fault information output control method and system
CN107179044A (en) The determination method and apparatus of electric automobile and efp start bit
CN113099430B (en) Micrometer measurement data acquisition method, system, device and storage medium
CN109802761B (en) Fault identification method and device
CN112702303A (en) Train real-time data analysis method, device, equipment and storage medium
KR20210003552A (en) Method for obtaining effective peak of resolver sensor and apparatus thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191029

RJ01 Rejection of invention patent application after publication