CN105134395A - Matching control method and system for oil-gas change-over switch and oil-gas change-over switch - Google Patents

Matching control method and system for oil-gas change-over switch and oil-gas change-over switch Download PDF

Info

Publication number
CN105134395A
CN105134395A CN201510579342.8A CN201510579342A CN105134395A CN 105134395 A CN105134395 A CN 105134395A CN 201510579342 A CN201510579342 A CN 201510579342A CN 105134395 A CN105134395 A CN 105134395A
Authority
CN
China
Prior art keywords
oil
data
over switch
gas change
control unit
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
CN201510579342.8A
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.)
BEIJING BMD AUTO TECHNOLOGY Co Ltd
Original Assignee
BEIJING BMD AUTO TECHNOLOGY 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 BEIJING BMD AUTO TECHNOLOGY Co Ltd filed Critical BEIJING BMD AUTO TECHNOLOGY Co Ltd
Priority to CN201510579342.8A priority Critical patent/CN105134395A/en
Publication of CN105134395A publication Critical patent/CN105134395A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/30Use of alternative fuels, e.g. biofuels

Landscapes

  • Control Of Transmission Device (AREA)

Abstract

The invention discloses a matching control method and system for an oil-gas change-over switch and the oil-gas change-over switch. The matching control method is applied to an electronic control unit of a dual-fuel automobile. The method includes the steps that firstly, handshake data are transmitted to the oil-gas change-over switch connected with the electronic control unit, then enciphered data, enciphered according to a preset encryption algorithm, transmitted by the oil-gas change-over switch are decrypted to obtain anti-handshake data, finally the anti-handshake data are compared with the handshake data, if the anti-handshake data and the handshake data are the same, it shows that the preset encryption algorithm is matched with a preset decryption algorithm, it can be indicated that the oil-gas change-over switch is matched with the electronic control unit if the encryption algorithm and the decryption algorithm are matched, or otherwise the oil-gas change-over switch and the electronic control unit are not matched. The oil-gas change-over switch achieves no affect after it is judged that the oil-gas change-over switch and the electronic control unit are not matched, and therefore the oil-gas change-over switch not matched with the electronic control unit can be prevented from being applied to the dual-fuel automobile.

Description

A kind of match control method of oil-gas change-over switch, system and oil-gas change-over switch
Technical field
The application relates to automobile technical field, more particularly, relates to a kind of match control method of oil-gas change-over switch, system and oil-gas change-over switch.
Background technique
The oil-gas switch switch of dual-fuel automobile is generally arranged in operator cabin, operates on it to facilitate driver.Along with the development of automotive engineering, dual-fuel automobile also applies a large amount of hyundai electronicses and computer technology without any exception, accordingly, also be not only transmit simple switching signal between oil-gas switch switch and the electronic control unit of automobile, also need to transmit corresponding control command and status command by certain communication protocol, therefore mutually should mate between both, otherwise bring certain potential safety hazard will to the operation of dual-fuel automobile.
Summary of the invention
In view of this, the application provides a kind of match control method of oil-gas change-over switch, system and oil-gas change-over switch, be applied to the electronic control unit of dual-fuel automobile, be applied to this dual-fuel automobile to avoid the oil-gas change-over switch do not matched with this electronic control unit.
To achieve these goals, the existing scheme proposed is as follows:
A match control method for oil-gas change-over switch, is applied to the electronic control unit of dual-fuel automobile, comprises:
Handshake data is sent to described oil-gas change-over switch by preset data transmission rule;
The enciphered data obtained after described oil-gas change-over switch carries out computing according to predetermined encryption algorithm to described handshake data is received by described preset data transmission rule;
According to the default decipherment algorithm corresponding with described predetermined encryption algorithm, computing is carried out to described enciphered data, obtain anti-handshake data;
Described anti-handshake data and described handshake data are compared, if described handshake data is identical with described anti-handshake data, judge that described oil-gas change-over switch and described electronic control unit match, otherwise then judge that described oil-gas change-over switch and above-mentioned electronic control unit do not match.
Optionally, described preset rules comprises and presets the square wave of dutycycle with first and represent logical zero, represent logical one with the second square wave presetting dutycycle.
Optionally, the described first square wave presetting dutycycle comprises the low level of 3 milliseconds and the high level of 2 milliseconds;
Described second square wave presetting dutycycle comprises the low level of 3 milliseconds and the high level of 4 milliseconds.
Optionally, described handshake data comprises multiple pseudo noise code.
Optionally, also comprise:
Oil gas conversion instruction or the state of transmission indicator is received by described preset data transmission rule when described oil-gas change-over switch and described electronic control unit match.
A matching control system for oil-gas change-over switch, is applied to the electronic control unit of dual-fuel automobile, comprises handshake data transmitting module, encrypted data reception module, deciphering computing module and multilevel iudge module, wherein:
Described handshake data transmitting module is used for sending handshake data by preset data transmission rule to described oil-gas change-over switch;
Described encrypted data reception module is used for receiving by described preset data transmission rule the enciphered data obtained after described oil-gas change-over switch carries out computing according to predetermined encryption algorithm to described handshake data;
Deciphering computing module is used for carrying out computing according to the default decipherment algorithm corresponding with described predetermined encryption algorithm to described enciphered data, obtains anti-handshake data;
Multilevel iudge module is used for described anti-handshake data and described handshake data to compare, if described handshake data is identical with described anti-handshake data, judge that described oil-gas change-over switch and described electronic control unit match, otherwise then judge that described oil-gas change-over switch and above-mentioned electronic control unit do not match.
Optionally, described handshake data comprises multiple pseudo noise code.
Optionally, also comprise data transmit-receive module, wherein:
Described data transmit-receive module is used for receiving oil gas conversion instruction when described oil-gas change-over switch and described electronic control unit match by described preset data transmission rule or sending state indicator by predetermined period.
A kind of oil-gas change-over switch, is applied to dual-fuel automobile, and for connecting the electronic control unit including matching control system described above, comprises handshake data receiving circuit, computations circuit, enciphered data transtation mission circuit and data transmit-receive circuit, wherein:
The handshake data that described handshake data receiving circuit sends for receiving described handshake data transmitting module;
Described computations circuit is used for being encrypted described handshake data according to described predetermined encryption algorithm, obtains described enciphered data;
Described enciphered data transtation mission circuit is used for sending described enciphered data to described encrypted data reception module;
Described data transmit-receive circuit is used for when described oil-gas change-over switch matches, and the operation according to driver sends oil gas conversion instruction, also for receiving the state indicator that described electronic control unit sends by predetermined period to described electronic control unit.
Optionally, also comprise multiple status indicator lamp, wherein:
Described multiple status indicator lamp is used for the current state showing described dual-fuel automobile according to described state indicator, the mode that combined by different display to described driver.
As can be seen from above-mentioned technological scheme, this application discloses a kind of match control method of oil-gas change-over switch, system and oil-gas change-over switch, this match control method is applied on the electronic control unit of dual-fuel automobile, first the method sends handshake data to the oil-gas change-over switch be connected with this electronic control unit, then anti-handshake data is obtained to being decrypted by the enciphered data after predetermined encryption algorithm for encryption of oil-gas change-over switch transmission, finally anti-handshake data and handshake data are compared, if both are identical, illustrate that this predetermined encryption algorithm and default decipherment algorithm match, enciphering and deciphering algorithm matches and just can show that this oil-gas change-over switch and electronic control unit match, otherwise then show that both do not mate.Corresponding measure can be taked according to result of determination after this oil-gas change-over switch of judgement does not mate with electronic control unit, such as, if both couplings, carry out proper communication with this oil-gas change-over switch, if both do not mate, do not communicate with this oil-gas change-over switch, make this oil-gas change-over switch inoperative, thus this unmatched oil-gas change-over switch can be avoided to be applied to this dual-fuel automobile, and then ensure that the safety of dual-fuel automobile.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technological scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of the match control method of a kind of oil-gas change-over switch that Fig. 1 provides for the embodiment of the present application;
The schematic diagram of the logical zero that Fig. 2 provides for the application;
The schematic diagram of the logical one that Fig. 3 provides for the application;
The flow chart of the match control method of a kind of oil-gas change-over switch that Fig. 4 provides for another embodiment of the application;
The schematic diagram of the matching control system of a kind of oil-gas change-over switch that Fig. 5 provides for the another embodiment of the application;
The schematic diagram of the matching control system of a kind of oil-gas change-over switch that Fig. 6 provides for the another embodiment of the application;
The schematic diagram of a kind of oil-gas change-over switch that Fig. 7 provides for the another embodiment of the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technological scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
Embodiment one
The flow chart of the match control method of a kind of oil gas switch that Fig. 1 provides for the embodiment of the present application.
The match control method that the present embodiment provides is applied to the electronic control unit of dual-fuel automobile, and its concrete steps as shown in Figure 1.
S101: send handshake data to oil-gas change-over switch.
When powering up to the oil-gas change-over switch mutually effectively connected and electronic control unit, handshake data is sent to oil-gas change-over switch by preset data transmission rule, so-called handshake data, can adopt the random one group of pseudo noise code produced, the application adopts 6 pseudo noise codes as handshake data.
S102: receive the enciphered data that oil-gas change-over switch sends.
Namely receive its enciphered data sent from oil-gas change-over switch, to be related circuit in oil-gas change-over switch or module according to its preset predetermined encryption algorithm be encrypted handshake data this enciphered data calculates.
The application's preferred predetermined encryption algorithm is negate after the multiple pseudo noise codes in the handshake data received being sued for peace respectively, then obtaining a check code to the budget carrying out certain rule, then this check code is attached to after negate with rear as enciphered data.The application is 6 pseudo noise codes preferably.
S103: calculating is decrypted to enciphered data.
By the default decipherment algorithm corresponding with this budget AES, computing is decrypted to the enciphered data received, this handshake data is reduced, in order to the handshake data distinguished with send, the data after deciphering are designated as anti-handshake data.
S104: judge whether oil-gas change-over switch mates with electronic control unit.
Anti-handshake data after the handshake data of transmission and deciphering is compared, if both are identical, judge that oil-gas change-over switch and electronic control unit match, namely this oil-gas change-over switch is the genuine product of this dual-fuel automobile or the product of authorized rear production, represent this oil-gas change-over switch can safety applications in this dual-fuel automobile, potential safety hazard can not be caused to automobile itself.
If both are different, then judge that this oil-gas change-over switch and electronic control unit do not match.After making this judgement, do not accept any instruction that it sends, do not send any state indicator to it yet, thus this oil-gas change-over switch is cut little ice on this dual-fuel automobile.
As can be seen from technique scheme, present embodiments provide a kind of match control method of oil-gas change-over switch, this match control method is applied on the electronic control unit of dual-fuel automobile, first the method sends handshake data to the oil-gas change-over switch be connected with this electronic control unit, then anti-handshake data is obtained to being decrypted by the enciphered data after predetermined encryption algorithm for encryption of oil-gas change-over switch transmission, finally anti-handshake data and handshake data are compared, if both are identical, illustrate that this predetermined encryption algorithm and default decipherment algorithm match, enciphering and deciphering algorithm matches and just can show that this oil-gas change-over switch and electronic control unit match, otherwise then show that both do not mate.Corresponding measure can be taked according to result of determination after this oil-gas change-over switch of judgement does not mate with electronic control unit, such as, if both couplings, carry out proper communication with this oil-gas change-over switch, if both do not mate, do not communicate with this oil-gas change-over switch, make this oil-gas change-over switch inoperative, thus this unmatched oil-gas change-over switch can be avoided to be applied to this dual-fuel automobile, and then ensure that the safety of dual-fuel automobile.
In addition, the application also proposed a kind of comparatively special data transmission rule, this data transmission rule utilizes a datawire, carry out data transmission by the mode transmitting the different square wave of dutycycle, namely utilize the first square wave presetting dutycycle to represent logical zero, utilize the second square wave presetting dutycycle to represent logical one.Wherein first to preset the square wave of dutycycle be first export the low level of 3 milliseconds, then draws high high level and continue 2 milliseconds, in detail as shown in Figure 2; Second to preset the square wave of dutycycle be first export the low level of 3 milliseconds, then draws high high level and continue 4 milliseconds, in detail as shown in Figure 3.
Embodiment two
The flow chart of the match control method of a kind of oil-gas change-over switch that Fig. 4 provides for another embodiment of the application.
As shown in Figure 4, the match control method being applied to the electronic control unit of dual-fuel automobile that the present embodiment provides comprises the steps:
S201: send handshake data to oil-gas change-over switch.
When powering up to the oil-gas change-over switch mutually effectively connected and electronic control unit, handshake data is sent to oil-gas change-over switch by preset data transmission rule, so-called handshake data, can adopt the random one group of pseudo noise code produced, the application adopts 6 pseudo noise codes as handshake data.
S202: receive the enciphered data that oil-gas change-over switch sends.
Namely receive its enciphered data sent from oil-gas change-over switch, to be related circuit in oil-gas change-over switch or module according to its preset predetermined encryption algorithm be encrypted handshake data this enciphered data calculates.
The application's preferred predetermined encryption algorithm is negate after the multiple pseudo noise codes in the handshake data received being sued for peace respectively, then obtaining a check code to the budget carrying out certain rule, then this check code is attached to after negate with rear as enciphered data.The application is 6 pseudo noise codes preferably.
S203: calculating is decrypted to enciphered data.
By the default decipherment algorithm corresponding with this budget AES, computing is decrypted to the enciphered data received, this handshake data is reduced, in order to the handshake data distinguished with send, the data after deciphering are designated as anti-handshake data.
S204: judge whether oil-gas change-over switch mates with electronic control unit.
Anti-handshake data after the handshake data of transmission and deciphering is compared, if both are identical, judge that oil-gas change-over switch and electronic control unit match, if both differences, judge that this oil-gas change-over switch and electronic control unit do not match.
S205: with oil-gas change-over switch exchange instruction.
After this oil-gas change-over switch of judgement and this electronic control unit match, electronic control unit can receive the oil gas conversion instruction that this oil-gas change-over switch sends, this electronic control unit also sends corresponding state indicator according to predetermined period to this electronic commutator, thus the tutorial light be arranged on oil-gas change-over switch can be made to be the current state of driver's display automobile.
Embodiment three
The schematic diagram of the matching control system of a kind of oil-gas change-over switch that Fig. 5 provides for the another embodiment of the application.
As shown in Figure 5, the matching control system that provides of the present embodiment comprise data transmission blocks 10, encrypted data reception module 20, deciphering computing module 30 and multilevel iudge module 40.
When powering up to the oil-gas change-over switch mutually effectively connected and electronic control unit, this data transmission blocks 10 is for sending handshake data by preset data transmission rule to oil-gas change-over switch, so-called handshake data, can adopt the random one group of pseudo noise code produced, the application adopts 6 pseudo noise codes as handshake data.
The enciphered data that encrypted data reception module 20 sends for receiving it from oil-gas change-over switch, to be related circuit in oil-gas change-over switch or module according to its preset predetermined encryption algorithm be encrypted handshake data this enciphered data calculates.
The application's preferred predetermined encryption algorithm is negate after the multiple pseudo noise codes in the handshake data received being sued for peace respectively, then a check code is being obtained to the budget carrying out certain rule, again this check code is attached to after negate with rear as enciphered data, the application is 6 pseudo noise codes preferably.
This handshake data, for being decrypted computing to the enciphered data received by the default decipherment algorithm corresponding with this budget AES, is reduced by deciphering computing module 30, and the anti-handshake data obtained after exporting decrypt operation.
Multilevel iudge module 40 compares for the anti-handshake data after handshake data and deciphering, if both are identical, output matching signal, namely the output of this matched signal show that this oil-gas change-over switch is the genuine product of this dual-fuel automobile or the product of authorized rear production, represent this oil-gas change-over switch can safety applications in this dual-fuel automobile, potential safety hazard can not be caused to automobile itself.
If both are different, then judge that this oil-gas change-over switch and electronic control unit do not match.After making this judgement, do not accept any instruction that it sends, do not send any state indicator to it yet, thus this oil-gas change-over switch is cut little ice on this dual-fuel automobile.
As can be seen from technique scheme, present embodiments provide a kind of matching control system of oil-gas change-over switch, this matching control system is applied on the electronic control unit of dual-fuel automobile, first this system sends handshake data to the oil-gas change-over switch be connected with this electronic control unit, then anti-handshake data is obtained to being decrypted by the enciphered data after predetermined encryption algorithm for encryption of oil-gas change-over switch transmission, finally anti-handshake data and handshake data are compared, if both are identical, illustrate that this predetermined encryption algorithm and default decipherment algorithm match, because optional encryption-decryption algorithm is numerous, enciphering and deciphering algorithm matches and just can show that this oil-gas change-over switch and electronic control unit match, otherwise then show that both do not mate.Can take appropriate measures according to result of determination after this oil-gas change-over switch of judgement does not mate with electronic control unit, such as, if both couplings, carry out proper communication with this oil-gas change-over switch, if both do not mate, do not communicate with this oil-gas change-over switch, make this oil-gas change-over switch inoperative, thus this unmatched oil-gas change-over switch can be avoided to be applied to this dual-fuel automobile, and then ensure that the safety of dual-fuel automobile.
In addition, the electronic control unit comprising the matching control system that the application provides can utilize a datawire to be connected with oil-gas change-over switch, this datawire carries out data transmission by the mode transmitting the different square wave of dutycycle between electronic control unit and oil-gas change-over switch, and the first square wave presetting dutycycle mentioned above namely utilizing represents logical zero, the second square wave presetting dutycycle represents logical one and carry out data transmission between electronic control unit and oil-gas change-over switch.
Embodiment four
The schematic diagram of the matching control system of a kind of oil-gas change-over switch that Fig. 6 provides for the another embodiment of the application.
As shown in Figure 6, the matching control system that the present embodiment provides has set up data transmit-receive module 50 on the basis of a upper embodiment.
The oil gas conversion instruction that this data transmit-receive module 50 sends for the matched signal reception oil-gas change-over switch exported according to multilevel iudge module 40, or predetermined period sends state indicator.Actual be notebook data send receive module 50 for when oil-gas change-over switch and electronic control unit match, start communicate with this oil-gas change-over switch, as both do not mate, do not carry out the transmitting-receiving of any signal.
Embodiment five
The schematic diagram of a kind of oil-gas change-over switch that Fig. 7 provides for the another embodiment of the application.
As shown in Figure 7, present embodiments provide a kind of oil-gas change-over switch 200, this oil-gas change-over switch 200 is for being arranged in the operator cabin of dual-fuel automobile, and this dual-fuel automobile is provided with the matching control system 100 that embodiment above provides.This oil-gas change-over switch 200 comprises handshake data receiving circuit 201, computations circuit 202, enciphered data transtation mission circuit 203 and data transmit-receive circuit 204.
The handshake data that handshake data receiving circuit 201 sends for receiving handshake data transmitting module 10; Computations circuit 202, for being encrypted computing according to predetermined encryption algorithm to handshake data, obtains corresponding enciphered data; Enciphered data transtation mission circuit 203 is for being sent to the encrypted data reception module 20 of electronic control unit 100 by this enciphered data.
This data transmit-receive circuit 204 is for when oil-gas change-over switch and electronic control match, and the operation according to driver sends oil gas conversion instruction, also for receiving the state indicator that electronic control unit sends by predetermined period to electronic control unit.
In addition, this oil-gas change-over switch 200 is provided with multiple status indicator lamp, shows the current state of dual-fuel automobile for the mode that combined by different display according to the state indicator that receives to driver.
The command word of oil-gas change-over switch adopts the data of 16 to realize.Specific data bit represents different functions, and concrete definition is as shown in table 1:
Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8
Initial Invalid Invalid Invalid Encryption feedback Encryption feedback Invalid Mode-control bit
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Mode-control bit Mode-control bit Mode-control bit LED control bit LED control bit LED control bit Invalid Invalid
Table 1
In mentioned order word, data 15 are start bit, and data 11 and data 10 are used for enciphered data identification when sending enciphered data, and data 5 ~ 8 are mode-control bit, and data 2 ~ 4 are tutorial light control bits.
Mode-control bit takies 4, and totally 16 kinds of control combinations, combine as shown in table 2.The multiple situation received can be included by these combinations, when electronic control unit needs oil-gas change-over switch to indicate corresponding state, only needs to send corresponding state control data and just can realize.
Table 2
Tutorial light controls to take 3, and as shown in table 3, different control commands achieves different LED status, and LED status is in table 3.
Value State
000 When red
001 1 lamp is bright
010 1,2 lamps are bright
011 1,2,3 lamps are bright
100 1,2,3,4 lamps are bright
101 Red light goes out, and 1,2,3,4 lamps go out
Table 3
After oil-gas change-over switch receives command adapted thereto, can resolve the position corresponding to command word, then perform corresponding operation according to analysis result.
As can be seen from technique scheme, present embodiments provide a kind of oil-gas change-over switch, this oil-gas change-over switch is applied on dual-fuel automobile, comprise handshake data receiving circuit, computations circuit, enciphered data transtation mission circuit and data transmit-receive circuit, the handshake data that the matching control system that this oil-gas change-over switch can receive above-described embodiment to be provided sends, then handshake data is encrypted by predetermined encryption algorithm, finally the enciphered data obtained is sent to electronic control unit, this enciphered data is decrypted computing by the default decipherment algorithm corresponding with this predetermined encryption algorithm by the deciphering computing module of electronic control unit, obtain anti-handshake data, after by the mode anti-handshake data and handshake data compared, the multilevel iudge module of matching control system judges that this oil-gas change-over switch and this electronic control unit match, this oil-gas change-over switch could carry out proper communication with this electronic control unit, if both do not mate, oil-gas change-over switch can not communicate with electronic control unit, even if namely this unmatched oil-gas change-over switch is effectively connected with this electronic control unit and also can not works, thus this unmatched oil-gas change-over switch can be avoided to be applied to this dual-fuel automobile, and then ensure that the safety of dual-fuel automobile.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a match control method for oil-gas change-over switch, is applied to the electronic control unit of dual-fuel automobile, it is characterized in that, comprising:
Handshake data is sent to described oil-gas change-over switch by preset data transmission rule;
The enciphered data obtained after described oil-gas change-over switch carries out computing according to predetermined encryption algorithm to described handshake data is received by described preset data transmission rule;
According to the default decipherment algorithm corresponding with described predetermined encryption algorithm, computing is carried out to described enciphered data, obtain anti-handshake data;
Described anti-handshake data and described handshake data are compared, if described handshake data is identical with described anti-handshake data, judge that described oil-gas change-over switch and described electronic control unit match, otherwise then judge that described oil-gas change-over switch and above-mentioned electronic control unit do not match.
2. match control method as claimed in claim 1, is characterized in that, described preset rules comprises and represents logical zero with the first square wave presetting dutycycle, represent logical one with the second square wave presetting dutycycle.
3. match control method as claimed in claim 2, is characterized in that, the described first square wave presetting dutycycle comprises the low level of 3 milliseconds and the high level of 2 milliseconds;
Described second square wave presetting dutycycle comprises the low level of 3 milliseconds and the high level of 4 milliseconds.
4. match control method as claimed in claim 1, it is characterized in that, described handshake data comprises multiple pseudo noise code.
5. the match control method as described in any one of Claims 1 to 4, is characterized in that, also comprises:
Oil gas conversion instruction or the state of transmission indicator is received by described preset data transmission rule when described oil-gas change-over switch and described electronic control unit match.
6. a matching control system for oil-gas change-over switch, is applied to the electronic control unit of dual-fuel automobile, it is characterized in that, comprises handshake data transmitting module, encrypted data reception module, deciphering computing module and multilevel iudge module, wherein:
Described handshake data transmitting module is used for sending handshake data by preset data transmission rule to described oil-gas change-over switch;
Described encrypted data reception module is used for receiving by described preset data transmission rule the enciphered data obtained after described oil-gas change-over switch carries out computing according to predetermined encryption algorithm to described handshake data;
Deciphering computing module is used for carrying out computing according to the default decipherment algorithm corresponding with described predetermined encryption algorithm to described enciphered data, obtains anti-handshake data;
Multilevel iudge module is used for described anti-handshake data and described handshake data to compare, if described handshake data is identical with described anti-handshake data, judge that described oil-gas change-over switch and described electronic control unit match, otherwise then judge that described oil-gas change-over switch and above-mentioned electronic control unit do not match.
7. matching control system as claimed in claim 6, it is characterized in that, described handshake data comprises multiple pseudo noise code.
8. matching control system as claimed in claims 6 or 7, is characterized in that, also comprise data transmit-receive module, wherein:
Described data transmit-receive module is used for receiving oil gas conversion instruction when described oil-gas change-over switch and described electronic control unit match by described preset data transmission rule or sending state indicator by predetermined period.
9. an oil-gas change-over switch, be applied to dual-fuel automobile, and for connecting the electronic control unit including matching control system as described in any one of claim 6 ~ 8, it is characterized in that, comprise handshake data receiving circuit, computations circuit, enciphered data transtation mission circuit and data transmit-receive circuit, wherein:
The handshake data that described handshake data receiving circuit sends for receiving described handshake data transmitting module;
Described computations circuit is used for being encrypted described handshake data according to described predetermined encryption algorithm, obtains described enciphered data;
Described enciphered data transtation mission circuit is used for sending described enciphered data to described encrypted data reception module;
Described data transmit-receive circuit is used for when described oil-gas change-over switch matches, and the operation according to driver sends oil gas conversion instruction, also for receiving the state indicator that described electronic control unit sends by predetermined period to described electronic control unit.
10. oil-gas change-over switch as claimed in claim 9, is characterized in that, also comprise multiple status indicator lamp, wherein:
Described multiple status indicator lamp is used for the current state showing described dual-fuel automobile according to described state indicator, the mode that combined by different display to described driver.
CN201510579342.8A 2015-09-11 2015-09-11 Matching control method and system for oil-gas change-over switch and oil-gas change-over switch Pending CN105134395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510579342.8A CN105134395A (en) 2015-09-11 2015-09-11 Matching control method and system for oil-gas change-over switch and oil-gas change-over switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510579342.8A CN105134395A (en) 2015-09-11 2015-09-11 Matching control method and system for oil-gas change-over switch and oil-gas change-over switch

Publications (1)

Publication Number Publication Date
CN105134395A true CN105134395A (en) 2015-12-09

Family

ID=54719918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510579342.8A Pending CN105134395A (en) 2015-09-11 2015-09-11 Matching control method and system for oil-gas change-over switch and oil-gas change-over switch

Country Status (1)

Country Link
CN (1) CN105134395A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769524A (en) * 2012-06-29 2012-11-07 深圳光启创新技术有限公司 Method and system capable of synchronously restoring handshake
CN103507730A (en) * 2013-09-30 2014-01-15 奇瑞汽车股份有限公司 Automobile control device, system and method and mobile terminal
AU2012205151B2 (en) * 2010-10-29 2014-09-04 Gastech Engine & Equipment Pty. Ltd. Dual fuel engine control
CN204536901U (en) * 2015-04-29 2015-08-05 陕西中交天健车联网信息技术有限公司 The device of automatic test engine of heavy-duty car ECU software version

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2012205151B2 (en) * 2010-10-29 2014-09-04 Gastech Engine & Equipment Pty. Ltd. Dual fuel engine control
CN102769524A (en) * 2012-06-29 2012-11-07 深圳光启创新技术有限公司 Method and system capable of synchronously restoring handshake
CN103507730A (en) * 2013-09-30 2014-01-15 奇瑞汽车股份有限公司 Automobile control device, system and method and mobile terminal
CN204536901U (en) * 2015-04-29 2015-08-05 陕西中交天健车联网信息技术有限公司 The device of automatic test engine of heavy-duty car ECU software version

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹云鹏等: "双燃料汽车ECU控制参数标定系统研究", 《内燃机工程》 *

Similar Documents

Publication Publication Date Title
US7518495B2 (en) Universal tire pressure monitor
KR20010011667A (en) Keyboard having secure function and system using the same
MX2007006167A (en) Method and system for securing wireless communications.
CN104104414A (en) Communication method for multiple bluetooth devices and forwarding method for bluetooth device matching information
CA2610499A1 (en) Multimode traffic priority/preemption vehicle arrangement
US20170041139A1 (en) Burning method and burning system
US20070126552A1 (en) Secure spread spectrum-facilitated remote control signaling method and apparatus
EP1089488A4 (en) Information processing system, information processing method, and information processing device
CN102833737A (en) Computer to vehicle wireless link
CN103422737B (en) A kind of motor central lock remote control thereof based on rolling code
CN105134395A (en) Matching control method and system for oil-gas change-over switch and oil-gas change-over switch
CA2421720A1 (en) Shared data refining device and shared data refining method
CN103888160A (en) High-penetrability wireless communication control device and working method thereof
CN105015490A (en) Authentication method for antitheft unit of engine
US10057244B2 (en) Utilizing vehicle information as a security pin/passkey
AU2001276872A1 (en) Communicating information via a frame check sequence having an information block associated therewith
CN102833065B (en) Transmitting device and method and receiving device and method based on multi-user asynchronous encryption
CN102817499A (en) Remote-control key for car door
CN114039771B (en) Data processing method, device and system, electronic equipment and storage medium
CN104243140A (en) Safety communication system on basis of random segmental encryption
CN103818342A (en) Method and system for vehicle anti-theft matching operation authority authentication
JP2005319870A (en) Tire air pressure detecting device
CN107342815B (en) Pairing system and method for visible light communication equipment
US20080137715A1 (en) Secure spread spectrum-facilitated remote control signaling method and apparatus
US10171236B2 (en) Method for operating a primary unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20190726