CN104898500A - Address distribution method and device of vehicle body control modules - Google Patents

Address distribution method and device of vehicle body control modules Download PDF

Info

Publication number
CN104898500A
CN104898500A CN201510201831.XA CN201510201831A CN104898500A CN 104898500 A CN104898500 A CN 104898500A CN 201510201831 A CN201510201831 A CN 201510201831A CN 104898500 A CN104898500 A CN 104898500A
Authority
CN
China
Prior art keywords
submodule
address
control module
key
geocoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510201831.XA
Other languages
Chinese (zh)
Other versions
CN104898500B (en
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.)
Aerospace Hi Tech Holding Group Co Ltd
Original Assignee
Aerospace Hi Tech Holding Group 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 Aerospace Hi Tech Holding Group Co Ltd filed Critical Aerospace Hi Tech Holding Group Co Ltd
Priority to CN201510201831.XA priority Critical patent/CN104898500B/en
Publication of CN104898500A publication Critical patent/CN104898500A/en
Application granted granted Critical
Publication of CN104898500B publication Critical patent/CN104898500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention relates to an address distribution method and device of vehicle body control modules, belongs to the technical field of address distribution, and aims at solving the problem that the versatility of vehicle body control modules is low. All of the N vehicle body control modules related to address distribution are connected via a CAN bus to form a distributive network, the Nth vehicle body control module serves as a master control module, and residual N-1 vehicle body control module serve as sub modules. The address distribution method comprises that sub modules are unlocked; and the master control module configures the address for the sub modules by configuring the address for the first sub module, and configuring the address for the ith sub module, and i is greater than 1 and lower than n. The address distribution method and device are applied to the vehicle body control modules of buses or trucks.

Description

Car body control module address distribution method and device
Technical field
The invention belongs to address assignment techniques field.
Background technology
Along with CAN popularizing on automobile, the application of car body control module on automobile gets more and more, and car body control module Main Function is switching value and the analog quantity of Gather and input, drives car light and motor, is communicated simultaneously by modes such as CAN.Car body control module many employings distributed frame in passenger vehicle or truck, each car all can be equipped with multiple module, and because of modules function substantially identical, just steering logic relation has large difference, so generally all the hardware circuit design of car body control module can be become identical in the design process, design different logical relations by program software and perform different functions, this just occurs that each module hardware is identical, the situation that software is different, causes the poor universality of car body control module.
Summary of the invention
The object of the invention is the problem in order to solve car body control module poor universality, the invention provides a kind of car body control module address distribution method and device.
Car body control module address distribution method of the present invention,
All N number of car body control module that described address distribution method relates to all is connected to form distributed formula network by CAN, and the N number of car body control module in described N number of car body control module is main control module, and remaining N-1 car body control module is submodule; Described address distribution method comprises the steps:
To the unlocked step that each submodule unlocks;
For the address configuration step of each submodule configuration address.
In the unlocked step that each submodule is unlocked, the process that any one submodule unlocks is comprised the steps:
Main control module sends configuring request to the step of submodule by CAN;
Main control module calculates according to the unblock seed received and obtains corresponding key, and this key and initial address seed is fed back to the step of corresponding submodule;
Main control module, after receiving unblock failure information, sends the step of configuring request information again to corresponding submodule;
After submodule receives configuring request, send to main control module and unlock seed, calculate the step of the key obtaining self simultaneously according to this unblock seed;
Submodule receive main control module feedback key, simultaneously by this key with the key self obtained compared with, if difference, feed back to main control module unlock failure information, otherwise to main control module feed back unblock successful information unblock feedback step.
Described address configuration step comprises the steps: further
The address configuration step of the 1st submodule;
The address configuration step of i-th submodule, 1<i<N;
Main control module is to the step of submodule configuration address.
Main control module comprises the steps: further to the step of submodule configuration address
Main control module sends the step of configuration information to the 1st submodule, and described configuration information comprises the step of initial address seed and address number;
Main control module contrasts two of continuous feedback keys, if identical, then judges the submodule configuration successful that the double secret key first fed back is answered, the step that the address of the submodule that the double secret key of rear feedback is answered is correct;
Primary module judges the number of the submodule of configuration successful, when number is N-1 time, has judged the step of address configuration.
The address configuration step of described 1st submodule comprises the steps: further
1st submodule receives configuration information, and the address key producing this submodule is calculated according to the initial address seed in described configuration information, determine the geocoding of self according to geocoding, and described address key and geocoding are fed back to the step of main control module;
1st submodule, initial address coding is added the new geocoding of 1 formation, and this new geocoding and address key form the step that configuration information sends to the 2nd submodule;
1st submodule, after determining the geocoding of self, is determined the program function of self, and is started the step of corresponding program according to this geocoding.
The address configuration step of described i-th submodule comprises the steps: further
I-th submodule receives the configuration information of the i-th-1 module, and calculate according to geocoding in described configuration information with from the initial address seed of main control module the check key producing this submodule, the address key of this check key and the i-th-1 module compares, if identical, the geocoding of self is determined according to geocoding, after geocoding is determined, calculate the address key producing this submodule again according to initial address seed according to fixing algorithm, and described address key and geocoding are fed back to the step of main control module;
If check key is not identical with the address key of the i-th-1 module, return the step of the address configuration of a submodule;
Geocoding adds after 1 by i-th submodule, forms with address key the step that configuration information sends to the i-th+1 submodule;
I-th submodule, after determining the geocoding of self, determines the program function of self according to this geocoding, and starts the step of corresponding program.
Car body control module address distributing device, all N number of car body control module that described address distributing device relates to all is connected to form distributed formula network by CAN, N number of car body control module in described N number of car body control module is main control module, and remaining N-1 car body control module is submodule; Described address distributing device comprises as lower device:
To the tripper that each submodule unlocks;
For the address configuration means of each submodule configuration address;
Described address configuration means comprises further as lower device:
The address configuration means of the 1st submodule;
The address configuration means of i-th submodule, 1<i<N;
Main control module is to the device of submodule configuration address.
In the tripper that each submodule is unlocked, comprise as lower device to the process that any one submodule unlocks:
Main control module sends configuring request to the device of submodule by CAN;
Main control module calculates according to the unblock seed received and obtains corresponding key, and this key and initial address seed is fed back to the device of corresponding submodule;
Main control module, after receiving unblock failure information, sends the device of configuring request information again to corresponding submodule;
After submodule receives configuring request, send to main control module and unlock seed, calculate the device of the key obtaining self simultaneously according to this unblock seed;
Submodule receive main control module feedback key, simultaneously by this key with the key self obtained compared with, if difference, feed back to main control module unlock failure information, otherwise to main control module feed back unblock successful information unblock feedback assembly.
Main control module comprises as lower device further to the device of submodule configuration address:
Main control module sends the device of configuration information to the 1st submodule, and described configuration information comprises the device of initial address seed and address number;
Main control module contrasts two of continuous feedback keys, if identical, then judges the submodule configuration successful that the double secret key first fed back is answered, the device that the address of the submodule that the double secret key of rear feedback is answered is correct;
Primary module judges the number of the submodule of configuration successful, when number is N-1 time, has judged the device of address configuration.
The address configuration means of described 1st submodule comprises further as lower device:
1st submodule receives configuration information, and the address key producing this submodule is calculated according to the initial address seed in described configuration information, determine the geocoding of self according to geocoding, and described address key and geocoding are fed back to the device of main control module;
1st submodule, initial address coding is added the new geocoding of 1 formation, and this new geocoding and address key form the device that configuration information sends to the 2nd submodule;
1st submodule, after determining the geocoding of self, is determined the program function of self, and is started the device of corresponding program according to this geocoding.
The address configuration means of described i-th submodule comprises further as lower device:
I-th submodule receives the configuration information of the i-th-1 module, and calculate according to geocoding in described configuration information with from the initial address seed of main control module the check key producing this submodule, the address key of this check key and the i-th-1 module compares, if identical, the geocoding of self is determined according to geocoding, after geocoding is determined, calculate the address key producing this submodule again according to initial address seed according to fixing algorithm, and described address key and geocoding are fed back to the device of main control module;
If check key is not identical with the address key of the i-th-1 module, return the device of the address configuration of a submodule;
Geocoding adds after 1 by i-th submodule, forms with address key the device that configuration information sends to the i-th+1 submodule;
I-th submodule, after determining the geocoding of self, determines the program function of self according to this geocoding, and starts the device of corresponding program.
Beneficial effect of the present invention is, the software of each module is also designed to identical by the present invention, the function of configuration module is carried out by the mode of address assignment, the hardware-software so just reaching module is all general, when dispatching from the factory, each module can be duplicate, the laggard row address configuration of entrucking, after address assignment, submodule is just defined as 1#, 2#, 3#, ... .., each submodule performs the function of corresponding numbering and has oneself independently CAN message ID, in vehicle use procedure, the position of each module also can exchange, as long as carry out primary address configuration again after exchanging, just can normally work.
Accompanying drawing explanation
Fig. 1 is the principle schematic that main control module and each submodule are undertaken by CAN parallel communication unlocking.
Fig. 2 is the principle schematic that main control module and each submodule carry out address configuration.
Embodiment
Embodiment one: composition graphs 1 and Fig. 2 illustrate present embodiment, the car body control module address distribution method described in present embodiment,
All N number of car body control module that described address distribution method relates to all is connected to form distributed formula network by CAN, and the N number of car body control module in described N number of car body control module is main control module, and remaining N-1 car body control module is submodule; Described address distribution method comprises the steps:
To the unlocked step that each submodule unlocks;
For the address configuration step of each submodule configuration address.
In the unlocked step that each submodule is unlocked, the process that any one submodule unlocks is comprised the steps:
Main control module sends configuring request to the step of submodule by CAN;
Main control module calculates according to the unblock seed received and obtains corresponding key, and this key and initial address seed is fed back to the step of corresponding submodule;
Main control module, after receiving unblock failure information, sends the step of configuring request information again to corresponding submodule;
After submodule receives configuring request, send to main control module and unlock seed, calculate the step of the key obtaining self simultaneously according to this unblock seed;
Submodule receive main control module feedback key, simultaneously by this key with the key self obtained compared with, if difference, feed back to main control module unlock failure information, otherwise to main control module feed back unblock successful information unblock feedback step.
As shown in Figure 1, unlocked by CAN parallel communication.Main control module sends configuring request, after each submodule receives request, send and unlock seed, this seed is the random number of two bytes, main control module returns a key according to the seed received after fixing algorithm calculates, main control module also issues an initial address seed together with key simultaneously, initial address seed is two the byte random numbers produced by main control module, use when being mainly used in address assignment, each submodule also according to the unblock seed self sent according to fixing algorithm computation key value, then the key value returned with main control module compares, if the same think and unlock successfully, enter address configuration pattern, return to main control module one simultaneously and unlock successful confirmation message.Main control module unlocks according to confirming the quantity that pass signal counts out submodule, if conformed to quantity during design just can carry out address configuration.
Described address configuration step comprises the steps: further
The address configuration step of the 1st submodule;
The address configuration step of i-th submodule, 1<i<N;
Main control module is to the step of submodule configuration address.
Main control module comprises the steps: further to the step of submodule configuration address
Main control module sends the step of configuration information to the 1st submodule, and described configuration information comprises the step of initial address seed and address number;
Main control module contrasts two of continuous feedback keys, if identical, then judges the submodule configuration successful that the double secret key first fed back is answered, the step that the address of the submodule that the double secret key of rear feedback is answered is correct;
Primary module judges the number of the submodule of configuration successful, when number is N-1 time, has judged the step of address configuration.
The address configuration step of described 1st submodule comprises the steps: further
1st submodule receives configuration information, and the address key producing this submodule is calculated according to the initial address seed in described configuration information, determine the geocoding of self according to geocoding, and described address key and geocoding are fed back to the step of main control module;
1st submodule, initial address coding is added the new geocoding of 1 formation, and this new geocoding and address key form the step that configuration information sends to the 2nd submodule;
1st submodule, after determining the geocoding of self, is determined the program function of self, and is started the step of corresponding program according to this geocoding.
The address configuration step of described i-th submodule comprises the steps: further
I-th submodule receives the i-th-1 module configuration information, and according to geocoding in described configuration information and from main control module initial address seed calculate and produce the check key of this submodule, the address key of this check key and the i-th-1 module compares, if identical, illustrate that the address number of the i-th-1 module received is correct, after verification, the geocoding of self is determined according to geocoding, after geocoding is determined, calculate the address key producing this submodule again according to fixing algorithm according to initial address seed, and described address key and geocoding are fed back to the step of main control module,
If check key is not identical with the address key of the i-th-1 module, return the step of the address configuration of a submodule;
Geocoding adds after 1 by i-th submodule, forms with address key the step that configuration information sends to the i-th+1 submodule;
I-th submodule, after determining the geocoding of self, determines the program function of self according to this geocoding, and starts the step of corresponding program.
As shown in Figure 2, carried out the transmission step by step of address configuration information by the series system of serial ports, main control module is according to CAN parallel communication Real-Time Monitoring configuration result.After each submodule unlocks and enters address configuration pattern, main control module sends address configuration information by serial ports, and configuration information is made up of two parts, a part is initial address seed, be made up of two bytes, another part is address number, by a byte for forming.Main control module transmission initial address seed and address number are to first submodule, and the initial address seed being handed down to each module when initial address seed is herein main control module unblock is identical, and address number is 0x00, after first submodule receives configuration information, main variety is fixed algorithm calculating over the ground, produce submodule 1# address key, and geocoding is added 1, confirm oneself to be submodule 1#, will the program function of implementation sub-module 1# after all configuring, then address key and geocoding are issued submodule 2# by serial ports, issue main control module by CAN simultaneously, main control module and submodule 2# carry out calculation check key according to address number value and initial address seed, compared with the address key sent with submodule 1#, as identical, the success of submodule 1# address configuration is described, the address number that submodule 2# module receives also is correct, submodule 2# will be fixed algorithm to initial address seed and calculate, produce the address key of submodule 2#, and geocoding 0x01 is added 1, confirm oneself to be submodule 2# simultaneously, will the program function of implementation sub-module 2# after all configuring, then address key and geocoding are issued submodule 3# by serial ports, issue main control module by CAN simultaneously.Submodule 3# also performs the flow process identical with submodule 2#, the like, a to the last module's address configuration terminates.Main control module monitors the layoutprocedure of modules in real time, calculate the module number of configuration successful simultaneously, finally configure module number identical with the quantity of unblock time, configuration successful is described, after configuration successful, main control module sends configuration ending request, each submodule receives configuration ending request backed off after random address configuration pattern, enter normal mode of operation, in layoutprocedure, if which block configuration unsuccessfully causes configure interrupt, main control module can be identified by the address key of CAN real-time reception and coded message, which undertaken pointing out module to have fault by display terminal, also the eliminating of fault is conducive to.
The present invention adopts the mode combined of connecting in parallel to realize, and main control module carries out parallel communication by CAN and submodule, is configured unblock, monitors in real time in layoutprocedure, and last transmission configures ending request, and configuration is terminated.Main control module carries out the specifying information of address configuration by serial ports transmission and submodule.Unlocking function has two effects, one is unlock to make each module enter into address configuration pattern from mode of operation, another effect is the quantity carrying out each module in certainty annuity by unlocking successful confirmation message, then compared with the module number of Car design, if not identical, illustrate that the module of series connection has cisco unity malfunction, that follow-up arranged in series cannot normally realize, and needs to confirm that each submodule connects and intactly could continue this work.
Embodiment two: composition graphs 1 and Fig. 2 illustrate present embodiment, car body control module address distributing device described in present embodiment, all N number of car body control module that described address distributing device relates to all is connected to form distributed formula network by CAN, N number of car body control module in described N number of car body control module is main control module, and remaining N-1 car body control module is submodule; Described address distributing device comprises as lower device:
To the tripper that each submodule unlocks;
For the address configuration means of each submodule configuration address;
Described address configuration means comprises further as lower device:
The address configuration means of the 1st submodule;
The address configuration means of i-th submodule, 1<i<N;
Main control module is to the device of submodule configuration address.
In the tripper that each submodule is unlocked, comprise as lower device to the process that any one submodule unlocks:
Main control module sends configuring request to the device of submodule by CAN;
Main control module calculates according to the unblock seed received and obtains corresponding key, and this key and initial address seed is fed back to the device of corresponding submodule;
Main control module, after receiving unblock failure information, sends the device of configuring request information again to corresponding submodule;
After submodule receives configuring request, send to main control module and unlock seed, calculate the device of the key obtaining self simultaneously according to this unblock seed;
Submodule receive main control module feedback key, simultaneously by this key with the key self obtained compared with, if difference, feed back to main control module unlock failure information, otherwise to main control module feed back unblock successful information unblock feedback assembly.
Main control module comprises as lower device further to the device of submodule configuration address:
Main control module sends the device of configuration information to the 1st submodule, and described configuration information comprises the device of initial address seed and address number;
Main control module contrasts two of continuous feedback keys, if identical, then judges the submodule configuration successful that the double secret key first fed back is answered, the device that the address of the submodule that the double secret key of rear feedback is answered is correct;
Primary module judges the number of the submodule of configuration successful, when number is N-1 time, has judged the device of address configuration.
The address configuration means of described 1st submodule comprises further as lower device:
1st submodule receives configuration information, and the address key producing this submodule is calculated according to the initial address seed in described configuration information, determine the geocoding of self according to geocoding, and described address key and geocoding are fed back to the device of main control module;
1st submodule, initial address coding is added the new geocoding of 1 formation, and this new geocoding and address key form the device that configuration information sends to the 2nd submodule;
1st submodule, after determining the geocoding of self, is determined the program function of self, and is started the device of corresponding program according to this geocoding.
The address configuration means of described i-th submodule comprises further as lower device:
I-th submodule receives the configuration information of the i-th-1 module, and calculate according to geocoding in described configuration information with from the initial address seed of main control module the check key producing this submodule, the address key of this check key and the i-th-1 module compares, if identical, the geocoding of self is determined according to geocoding, after geocoding is determined, calculate the address key producing this submodule again according to initial address seed according to fixing algorithm, and described address key and geocoding are fed back to the device of main control module;
If check key is not identical with the address key of the i-th-1 module, return the device of the address configuration of a submodule;
Geocoding adds after 1 by i-th submodule, forms with address key the device that configuration information sends to the i-th+1 submodule;
I-th submodule, after determining the geocoding of self, determines the program function of self according to this geocoding, and starts the device of corresponding program.

Claims (10)

1. car body control module address distribution method, it is characterized in that, all N number of car body control module that described address distribution method relates to all is connected to form distributed formula network by CAN, N number of car body control module in described N number of car body control module is main control module, and remaining N-1 car body control module is submodule; Described address distribution method comprises the steps:
To the unlocked step that each submodule unlocks;
For the address configuration step of each submodule configuration address;
Described address configuration step comprises the steps: further
The address configuration step of the 1st submodule;
The address configuration step of i-th submodule, 1<i<N;
Main control module is to the step of submodule configuration address.
2. car body control module address distribution method according to claim 1, is characterized in that, in the unlocked step unlock, comprises the steps: the process that any one submodule unlocks each submodule
Main control module sends configuring request to the step of submodule by CAN;
Main control module calculates according to the unblock seed received and obtains corresponding key, and this key and initial address seed is fed back to the step of corresponding submodule;
Main control module, after receiving unblock failure information, sends the step of configuring request information again to corresponding submodule;
After submodule receives configuring request, send to main control module and unlock seed, calculate the step of the key obtaining self simultaneously according to this unblock seed;
Submodule receive main control module feedback key, simultaneously by this key with the key self obtained compared with, if difference, feed back to main control module unlock failure information, otherwise to main control module feed back unblock successful information unblock feedback step.
3. car body control module address distribution method according to claim 2, is characterized in that, main control module comprises the steps: further to the step of submodule configuration address
Main control module sends the step of configuration information to the 1st submodule, and described configuration information comprises the step of initial address seed and address number;
Main control module contrasts two of continuous feedback keys, if identical, then judges the submodule configuration successful that the double secret key first fed back is answered, the step that the address of the submodule that the double secret key of rear feedback is answered is correct;
Primary module judges the number of the submodule of configuration successful, when number is N-1 time, has judged the step of address configuration.
4. car body control module address distribution method according to claim 3, is characterized in that, the address configuration step of described 1st submodule comprises the steps: further
1st submodule receives configuration information, and the address key producing this submodule is calculated according to the initial address seed in described configuration information, determine the geocoding of self according to geocoding, and described address key and geocoding are fed back to the step of main control module;
1st submodule, initial address coding is added the new geocoding of 1 formation, and this new geocoding and address key form the step that configuration information sends to the 2nd submodule;
1st submodule, after determining the geocoding of self, is determined the program function of self, and is started the step of corresponding program according to this geocoding.
5. car body control module address distribution method according to claim 4, is characterized in that,
The address configuration step of described i-th submodule comprises the steps: further
I-th submodule receives the configuration information of the i-th-1 module, and calculate according to geocoding in described configuration information with from the initial address seed of main control module the check key producing this submodule, the address key of this check key and the i-th-1 module compares, if identical, the geocoding of self is determined according to geocoding, after geocoding is determined, calculate the address key producing this submodule again according to initial address seed according to fixing algorithm, and described address key and geocoding are fed back to the step of main control module;
If check key is not identical with the address key of the i-th-1 module, return the step of the address configuration of a submodule;
Geocoding adds after 1 by i-th submodule, forms with address key the step that configuration information sends to the i-th+1 submodule;
I-th submodule, after determining the geocoding of self, determines the program function of self according to this geocoding, and starts the step of corresponding program.
6. car body control module address distributing device, it is characterized in that, all N number of car body control module that described address distributing device relates to all is connected to form distributed formula network by CAN, N number of car body control module in described N number of car body control module is main control module, and remaining N-1 car body control module is submodule; Described address distributing device comprises as lower device:
To the tripper that each submodule unlocks;
For the address configuration means of each submodule configuration address;
Described address configuration means comprises further as lower device:
The address configuration means of the 1st submodule;
The address configuration means of i-th submodule, 1<i<N;
Main control module is to the device of submodule configuration address.
7. car body control module address distributing device according to claim 6, is characterized in that, in the tripper unlock, comprises as lower device to the process that any one submodule unlocks to each submodule:
Main control module sends configuring request to the device of submodule by CAN;
Main control module calculates according to the unblock seed received and obtains corresponding key, and this key and initial address seed is fed back to the device of corresponding submodule;
Main control module, after receiving unblock failure information, sends the device of configuring request information again to corresponding submodule;
After submodule receives configuring request, send to main control module and unlock seed, calculate the device of the key obtaining self simultaneously according to this unblock seed;
Submodule receive main control module feedback key, simultaneously by this key with the key self obtained compared with, if difference, feed back to main control module unlock failure information, otherwise to main control module feed back unblock successful information unblock feedback assembly.
8. car body control module address distributing device according to claim 7, is characterized in that, main control module comprises as lower device further to the device of submodule configuration address:
Main control module sends the device of configuration information to the 1st submodule, and described configuration information comprises the device of initial address seed and address number;
Main control module contrasts two of continuous feedback keys, if identical, then judges the submodule configuration successful that the double secret key first fed back is answered, the device that the address of the submodule that the double secret key of rear feedback is answered is correct;
Primary module judges the number of the submodule of configuration successful, when number is N-1 time, has judged the device of address configuration.
9. car body control module address distributing device according to claim 8, is characterized in that, the address configuration means of described 1st submodule comprises further as lower device:
1st submodule receives configuration information, and the address key producing this submodule is calculated according to the initial address seed in described configuration information, determine the geocoding of self according to geocoding, and described address key and geocoding are fed back to the device of main control module;
1st submodule, initial address coding is added the new geocoding of 1 formation, and this new geocoding and address key form the device that configuration information sends to the 2nd submodule;
1st submodule, after determining the geocoding of self, is determined the program function of self, and is started the device of corresponding program according to this geocoding.
10. car body control module address distributing device according to claim 9, is characterized in that,
The address configuration means of described i-th submodule comprises further as lower device:
I-th submodule receives the configuration information of the i-th-1 module, and calculate according to geocoding in described configuration information with from the initial address seed of main control module the check key producing this submodule, the address key of this check key and the i-th-1 module compares, if identical, the geocoding of self is determined according to geocoding, after geocoding is determined, calculate the address key producing this submodule again according to initial address seed according to fixing algorithm, and described address key and geocoding are fed back to the device of main control module;
If check key is not identical with the address key of the i-th-1 module, return the device of the address configuration of a submodule;
Geocoding adds after 1 by i-th submodule, forms with address key the device that configuration information sends to the i-th+1 submodule;
I-th submodule, after determining the geocoding of self, determines the program function of self according to this geocoding, and starts the device of corresponding program.
CN201510201831.XA 2015-04-25 2015-04-25 Car body control module address distribution method and device Active CN104898500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510201831.XA CN104898500B (en) 2015-04-25 2015-04-25 Car body control module address distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510201831.XA CN104898500B (en) 2015-04-25 2015-04-25 Car body control module address distribution method and device

Publications (2)

Publication Number Publication Date
CN104898500A true CN104898500A (en) 2015-09-09
CN104898500B CN104898500B (en) 2017-07-07

Family

ID=54031218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510201831.XA Active CN104898500B (en) 2015-04-25 2015-04-25 Car body control module address distribution method and device

Country Status (1)

Country Link
CN (1) CN104898500B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131240A (en) * 2016-08-09 2016-11-16 郑州市茂辰电子科技有限公司 A kind of CAN address distribution method based on daisy chaining and communication system
CN108170117A (en) * 2017-11-24 2018-06-15 宁波兴为汽车电子有限公司 A kind of method and system of vehicle module parameter automatic identification distribution

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007312131A (en) * 2006-05-18 2007-11-29 Sanyo Electric Co Ltd Wireless data communication circuit and electronic key
CN102340432A (en) * 2010-07-21 2012-02-01 浙江吉利汽车研究院有限公司 Identifier allocation strategy for vehicle-mounted CAN (Controller Area Network) bus
CN103023786A (en) * 2012-12-29 2013-04-03 北京兴科迪科技有限公司 Car bus gateway dynamic priority route management method and car bus gateway dynamic-priority route management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007312131A (en) * 2006-05-18 2007-11-29 Sanyo Electric Co Ltd Wireless data communication circuit and electronic key
CN102340432A (en) * 2010-07-21 2012-02-01 浙江吉利汽车研究院有限公司 Identifier allocation strategy for vehicle-mounted CAN (Controller Area Network) bus
CN103023786A (en) * 2012-12-29 2013-04-03 北京兴科迪科技有限公司 Car bus gateway dynamic priority route management method and car bus gateway dynamic-priority route management system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131240A (en) * 2016-08-09 2016-11-16 郑州市茂辰电子科技有限公司 A kind of CAN address distribution method based on daisy chaining and communication system
CN106131240B (en) * 2016-08-09 2024-01-09 郑州市茂辰电子科技有限公司 CAN address allocation method and communication system based on sequential chain
CN108170117A (en) * 2017-11-24 2018-06-15 宁波兴为汽车电子有限公司 A kind of method and system of vehicle module parameter automatic identification distribution

Also Published As

Publication number Publication date
CN104898500B (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN106375072B (en) Redundancy control method for locomotive communication network
CN102320318B (en) MVB (multifunction vehicle bus) dual-redundancy car door network system
CN105844749A (en) Mobile phone unlocking system and unlocking method for automobile
CN102346472A (en) CAN (Controller Area Network) and LIN (Local Interconnect Network) bus network based vehicle control system
CN103809476A (en) Dynamic management method for IDs of module control units of distributed battery management system
EP3407566A1 (en) Automobile electrical system and isolation system for automobile electrical system
CN102658801A (en) Controller area network (CAN) system network management method for new energy vehicle
CN103529823A (en) Security access control method for vehicle diagnosis system
KR20120062089A (en) Vehicle mobile gateway for controling charging of electric vehicle using mobile terminal, electric vehicle having the same, and method for controling charging of electric vehicle using mobile terminal
CN103809574A (en) Method for improving security of remote control vehicle
CN103336486A (en) Method for battery module address assignment of battery energy storage system
CN106383757A (en) Vehicle-mounted software updating method and device
CN204605424U (en) A kind of Intelligent Matching instrument of tire pressure monitoring system
CN106656570A (en) Vehicle redundancy heterogeneous line transmission network and data transmission method thereof
CN103822539A (en) Rocket ground test control system based on redundant structure
US9045095B2 (en) Security for a wireless ECU vehicle system
CN106774255A (en) A kind of remote reflash method and system based on VIN verifications
CN106560372A (en) Obturation mode adaptive control system based on vehicle controller
CN104898500A (en) Address distribution method and device of vehicle body control modules
WO2021041292A1 (en) Method and system for auto-addressing nodes on a communication bus
CN110562275B (en) Multichannel dual-redundancy rail transit vehicle reconnection system and method
CN202783013U (en) Distributed vehicle body control system based on CAN (controller area network) bus
CN106990772A (en) OBD diagnostic devices and Vehicular diagnostic method
CN114389914A (en) Redundant network architecture and communication method of vehicle ring network communication based on regional controller
CN210793064U (en) Central gateway controller and automobile

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Wang Dawei

Inventor after: Li Hongmei

Inventor after: Zhao Lujian

Inventor after: Wang Jing

Inventor after: Li Tianfang

Inventor after: Wang Zhao

Inventor after: Huang Mingsen

Inventor before: Wang Dawei

Inventor before: Li Hongmei

Inventor before: Wang Jing

Inventor before: Li Tianfang

Inventor before: Wang Zhao

Inventor before: Huang Mingsen

GR01 Patent grant
GR01 Patent grant