[go: up one dir, main page]

CN105573209A - Function module monitoring and resetting method in vehicle electronic system - Google Patents

Function module monitoring and resetting method in vehicle electronic system Download PDF

Info

Publication number
CN105573209A
CN105573209A CN201511032067.4A CN201511032067A CN105573209A CN 105573209 A CN105573209 A CN 105573209A CN 201511032067 A CN201511032067 A CN 201511032067A CN 105573209 A CN105573209 A CN 105573209A
Authority
CN
China
Prior art keywords
control module
module
main control
monitor message
functional module
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
CN201511032067.4A
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 Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN201511032067.4A priority Critical patent/CN105573209A/en
Publication of CN105573209A publication Critical patent/CN105573209A/en
Pending legal-status Critical Current

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
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25314Modular structure, modules

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a function module monitoring and resetting method in a vehicle electronic system, comprising: a master control module obtaining the monitoring information used for identifying the work state of a function module; the master control module contrasting the monitoring information with a standard value, and determining whether the work state of the function module is normal; the master control module preserving the work data of the function module if the work state is abnormal; the master control module controlling the function module to perform resetting; and after the function module is reset, the master control module recovering the work of the function module based on the preserved work data of the function module. The method can automatically perform monitoring and resetting, preserve work progresses and improve user experiences.

Description

The monitoring of functional module and repositioning method in in-vehicle electronic system
Technical field
The present invention relates to vehicle electronics technical field, particularly relate to monitoring and the repositioning method of functional module in a kind of in-vehicle electronic system.
Background technology
In-vehicle electronic system is for increasing the electronic system of automobile function and product on automobile.Along with being showing improvement or progress day by day of electronic technology, the function achieved by in-vehicle electronic system becomes increasingly abundant.In-vehicle electronic system, generally includes main control module and functional module, and main control module and the communication mode of functional module by fixing, as the serial modes such as I2C, UART carry out information interaction.Main control module can form with the cpu chip of processing capacity and storage chip etc. by for calculating, and functional module can be such as the hardware IC realizing the such as function such as bluetooth telephone, CD broadcasting.
In conventional art, in-vehicle electronic system is after upper electric-opening, and main control module can be configured or initialization each functional module, and each functional module just can carry out work afterwards.Inventor finds under study for action, and the defect of conventional art is, after functional module work, main control module can not be monitored its duty.Because in-vehicle electronic system is a complicated electronic system, there is the impact of various electromagnetic interference (EMI) or electrostatic, easily there is exception in functional module, as disabler, long-time without response or card etc.User can only, in the process of using function module, oneself go perceptional function module whether exception to occur.And when user confirms that functional module occurs abnormal, restore funcitons module can only be gone by the mode of restarting in-vehicle electronic system, and do like this and also the job schedule of each functional module can be lost, affect the functional module that other normally works, and cause whole in-vehicle electronic system inefficiency, reduce Consumer's Experience.
Summary of the invention
Based on this, be necessary monitoring and repositioning method that functional module in a kind of in-vehicle electronic system is provided, main control module, after functional module work, monitors its duty, when generation is abnormal, reset with regard to controlling corresponding functional module, compared to conventional art, can automatic monitoring and reset, and preserve job schedule, do not affect other functional module, improve Consumer's Experience.
The monitoring of functional module and a repositioning method in in-vehicle electronic system, comprising:
Main control module obtains the monitor message in order to identification function module work state;
Described monitor message and standard value contrast by main control module, and whether the duty of arbitration functions module is abnormal;
If duty is abnormal, the operational data of main control module hold function module;
Master control module controls functional module resets;
Main control module after functional module resets, based on the operational data of functional module of preserving, the work of restore funcitons module.
Concrete, before described main control module obtains the step in order to the monitor message of identification function module work state, described method also comprises:
After in-vehicle electronic system electrifying startup, main control module initial configuration functional module, enters normal operating conditions.
Concrete, described main control module obtains the step in order to the monitor message of identification function module work state, comprising:
Main control module creates monitoring period;
The monitor message that main control module sends according to monitoring period read functions module.
Concrete, described monitor message and standard value contrast by described main control module, and the step of the duty of arbitration functions module whether exception, comprising:
Main control module utilizes built-in counter records monitor message and the inconsistent number of times of standard value, and when number of times reaches pre-set threshold value, then decision-making function module is in abnormal operation.
Concrete, described method also comprises: the monitor message that each monitoring period obtains by main control module and standard value contrast, if there is the number of times of continuous pre-set threshold value inconsistent, then decision-making function module is in abnormal operation.
Concrete, described method also comprises: when monitor message and standard value inconsistent, main control module upgrades described monitoring period.
Concrete, the step of the monitor message that described main control module sends according to monitoring period read functions module, comprising:
Main control module according to monitoring period read functions inside modules register in order to define the value of duty or mode of operation; Or
Whether master control module judges functional module time-out occurs does not respond.
Concrete, described master control module controls functional module carries out the step resetted, and comprising:
Main control module sends reset pulse to the reseting port of functional module; Or
Main control module sends reset instruction to functional module; Or
Switching circuit of power supply corresponding to master control module controls functional module is to closed condition.
Function module monitors and repositioning method in above-mentioned in-vehicle electronic system, main control module is after functional module work, monitor its duty, when generation is abnormal, reset, compared to conventional art with regard to controlling corresponding functional module, can automatic monitoring and reset, and preserve job schedule, do not affect other functional module, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is an application scenarios schematic diagram of the embodiment of the present invention;
Fig. 2 is the monitoring of functional module and the schematic flow sheet of repositioning method in the in-vehicle electronic system in an embodiment;
Fig. 3 is the circuit diagram that in an embodiment, master control module controls functional module resets;
Fig. 4 is the circuit diagram that in another embodiment, master control module controls functional module resets;
Fig. 5 is the circuit diagram that in another embodiment, master control module controls functional module resets.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
See Fig. 1, it is an application scenarios of the embodiment of the present invention.The present embodiment can be applied in in-vehicle electronic system.This in-vehicle electronic system comprises main control module and each functional module.In this application scene, main control module can be, but not limited to illustrate with MCU, and functional module is respectively CD playing module 2 and BT module 3.MCU and CD playing module is communicated by I2C, is communicated by UART with BT module.After in-vehicle electronic system powers on, MCU, by corresponding communication mode, carries out initial configuration to CD playing module and BT module, makes it enter normal mode of operation.
In this scene, monitoring and the repositioning method of functional module in a kind of in-vehicle electronic system is provided, comprises:
Main control module obtains the monitor message in order to identification function module work state;
Described monitor message and standard value contrast by main control module, and whether the duty of arbitration functions module is abnormal;
If duty is abnormal, the operational data of main control module hold function module;
Master control module controls functional module resets;
Main control module after functional module resets, based on the operational data of functional module of preserving, the work of restore funcitons module.
Concrete, see Fig. 2, be monitoring and the repositioning method of functional module in the in-vehicle electronic system in a specific embodiment, comprise:
Step 101, starts to power on.
Step 102, in-vehicle electronic system starts.
Step 103, main control module initial configuration functional module, makes each functional module enter normal mode of operation.
Step 104, main control module creates monitoring period Timer.
Step 105, whether master control module judges Timer is overtime.
If so, perform step 106, otherwise continue to judge.
Step 106, the monitor message that main control module sends according to monitoring period read functions module.
Concrete, main control module according to monitoring period read functions inside modules register in order to define the value of duty or mode of operation; Or whether master control module judges functional module time-out occurs does not respond.
Step 107, described monitor message and standard value contrast by main control module, and whether the duty of arbitration functions module is abnormal.
If so, step 108 is performed, otherwise by counter O reset.
Step 108, the abnormal counter produced cumulative 1.
Step 109, main control module utilizes built-in counter records monitor message and the inconsistent number of times of standard value, and when number of times reaches pre-set threshold value, then decision-making function module is in abnormal operation.
Concrete, the monitor message that each monitoring period obtains by main control module and standard value contrast, if there is the number of times of continuous pre-set threshold value inconsistent, then decision-making function module is in abnormal operation.
If occur abnormal, perform step 110, otherwise perform 114.
Step 110, the operational data of main control module writing function module.
Step 111, master control module controls functional module resets.
Step 112, main control module reinitializes configuration feature module.
Step 113, main control module based on the operational data of functional module of preserving, the work of restore funcitons module.
See Fig. 3 to Fig. 5, it is the schematic diagram that main control module resets to functional module.Concrete, described master control module controls functional module resets, and comprising:
Main control module sends reset pulse to the reseting port of functional module; Or
Main control module sends reset instruction to functional module; Or
Switching circuit of power supply corresponding to master control module controls functional module is to closed condition.
Function module monitors and repositioning method in in-vehicle electronic system in above-described embodiment, main control module is after functional module work, monitor its duty, when generation is abnormal, reset, compared to conventional art with regard to controlling corresponding functional module, can automatic monitoring and reset, and preserve job schedule, do not affect other functional module, improve Consumer's Experience.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (8)

1. the monitoring of functional module and a repositioning method in in-vehicle electronic system, it is characterized in that, described method comprises:
Main control module obtains the monitor message in order to identification function module work state;
Described monitor message and standard value contrast by main control module, and whether the duty of arbitration functions module is abnormal;
If duty is abnormal, the operational data of main control module hold function module;
Master control module controls functional module resets;
Main control module after functional module resets, based on the operational data of functional module of preserving, the work of restore funcitons module.
2. method according to claim 1, is characterized in that, before described main control module obtains the step in order to the monitor message of identification function module work state, described method also comprises:
After in-vehicle electronic system electrifying startup, main control module initial configuration functional module, enters normal operating conditions.
3. method according to claim 1 and 2, is characterized in that, described main control module obtains the step in order to the monitor message of identification function module work state, comprising:
Main control module creates monitoring period;
The monitor message that main control module sends according to monitoring period read functions module.
4. method according to claim 3, is characterized in that, described monitor message and standard value contrast by described main control module, the step whether duty of arbitration functions module is abnormal, comprising:
Main control module utilizes built-in counter records monitor message and the inconsistent number of times of standard value, and when number of times reaches pre-set threshold value, then decision-making function module is in abnormal operation.
5. method according to claim 4, it is characterized in that, described method also comprises: the monitor message that each monitoring period obtains by main control module and standard value contrast, if there is the number of times of continuous pre-set threshold value inconsistent, then decision-making function module is in abnormal operation.
6. method according to claim 5, is characterized in that, described method also comprises: when monitor message and standard value inconsistent, main control module upgrades described monitoring period.
7. method according to claim 3, is characterized in that, the step of the monitor message that described main control module sends according to monitoring period read functions module, comprising:
Main control module according to monitoring period read functions inside modules register in order to define the value of duty or mode of operation; Or
Whether master control module judges functional module time-out occurs does not respond.
8. method according to claim 1, is characterized in that, described master control module controls functional module carries out the step resetted, and comprising:
Main control module sends reset pulse to the reseting port of functional module; Or
Main control module sends reset instruction to functional module; Or
Switching circuit of power supply corresponding to master control module controls functional module is to closed condition.
CN201511032067.4A 2015-12-30 2015-12-30 Function module monitoring and resetting method in vehicle electronic system Pending CN105573209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511032067.4A CN105573209A (en) 2015-12-30 2015-12-30 Function module monitoring and resetting method in vehicle electronic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511032067.4A CN105573209A (en) 2015-12-30 2015-12-30 Function module monitoring and resetting method in vehicle electronic system

Publications (1)

Publication Number Publication Date
CN105573209A true CN105573209A (en) 2016-05-11

Family

ID=55883469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511032067.4A Pending CN105573209A (en) 2015-12-30 2015-12-30 Function module monitoring and resetting method in vehicle electronic system

Country Status (1)

Country Link
CN (1) CN105573209A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201825A (en) * 2016-07-13 2016-12-07 深圳市爱培科技术股份有限公司 A kind of intelligent back vision mirror running state monitoring method and system
CN107484078A (en) * 2017-09-29 2017-12-15 奇瑞汽车股份有限公司 Automobile sound system and starting control method thereof
CN108973704A (en) * 2017-06-01 2018-12-11 重庆无线绿洲通信技术有限公司 A kind of Vehicular battery is in position detecting method, Vehicular battery and vehicle-mounted main control unit
CN110221934A (en) * 2019-05-08 2019-09-10 惠州市德赛西威汽车电子股份有限公司 A kind of onboard system restoration methods
CN112787645A (en) * 2021-01-13 2021-05-11 拿森汽车科技(杭州)有限公司 Reset control circuit and vehicle

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828560A (en) * 2005-03-01 2006-09-06 三菱电机株式会社 Vehicle-mounted electronic control apparatus
CN101035402A (en) * 2006-11-09 2007-09-12 埃泰克汽车电子(芜湖)有限公司 Automobile instrument alarming lamp self-checking system and detection method
CN101221461A (en) * 2008-01-24 2008-07-16 三一重工股份有限公司 Reset circuit and reset method for embedded system
CN102722171A (en) * 2012-06-08 2012-10-10 广东好帮手电子科技股份有限公司 Method and system for detecting anomaly of automobile instrument
JP2013191130A (en) * 2012-03-15 2013-09-26 Omron Corp Control device of power source
CN104590243A (en) * 2015-01-05 2015-05-06 联合汽车电子有限公司 Whole vehicle functional safety monitoring system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828560A (en) * 2005-03-01 2006-09-06 三菱电机株式会社 Vehicle-mounted electronic control apparatus
CN101035402A (en) * 2006-11-09 2007-09-12 埃泰克汽车电子(芜湖)有限公司 Automobile instrument alarming lamp self-checking system and detection method
CN101221461A (en) * 2008-01-24 2008-07-16 三一重工股份有限公司 Reset circuit and reset method for embedded system
JP2013191130A (en) * 2012-03-15 2013-09-26 Omron Corp Control device of power source
CN102722171A (en) * 2012-06-08 2012-10-10 广东好帮手电子科技股份有限公司 Method and system for detecting anomaly of automobile instrument
CN104590243A (en) * 2015-01-05 2015-05-06 联合汽车电子有限公司 Whole vehicle functional safety monitoring system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201825A (en) * 2016-07-13 2016-12-07 深圳市爱培科技术股份有限公司 A kind of intelligent back vision mirror running state monitoring method and system
CN106201825B (en) * 2016-07-13 2019-03-08 深圳市爱培科技术股份有限公司 A kind of intelligent back vision mirror running state monitoring method and system
CN108973704A (en) * 2017-06-01 2018-12-11 重庆无线绿洲通信技术有限公司 A kind of Vehicular battery is in position detecting method, Vehicular battery and vehicle-mounted main control unit
CN107484078A (en) * 2017-09-29 2017-12-15 奇瑞汽车股份有限公司 Automobile sound system and starting control method thereof
CN110221934A (en) * 2019-05-08 2019-09-10 惠州市德赛西威汽车电子股份有限公司 A kind of onboard system restoration methods
CN110221934B (en) * 2019-05-08 2023-09-01 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted system recovery method
CN112787645A (en) * 2021-01-13 2021-05-11 拿森汽车科技(杭州)有限公司 Reset control circuit and vehicle

Similar Documents

Publication Publication Date Title
CN105573209A (en) Function module monitoring and resetting method in vehicle electronic system
CN107517127A (en) Processing method, mobile unit and the storage medium of communication abnormality
EP2824895B1 (en) Information backup method and apparatus, mobile terminal
CN110442386A (en) A kind of BMC starting method, system, electronic equipment and computer storage medium
US20140143477A1 (en) Computer system and data recovery method thereof
CN109738719B (en) Electrostatic discharge ESD detection method and related products
CN110341549A (en) Monitoring method, device and storage medium of automobile storage battery
CN107608705A (en) A kind of wireless WIFI video equipments and its firmware upgrade method
CN105786148A (en) Method and device for controlling power consumption of terminal, and terminal
CN104156050A (en) Task monitoring method and electronic device
CN104680091A (en) Mobile device protection system and method
CN113434915B (en) Chassis intrusion status detection device and method, and edge server
CN105468466A (en) Processor operating frequency processing method, apparatus and system
CN104460960A (en) Data processing method and electronic device
CN105807885A (en) Power down protection method and device
CN104270740B (en) A kind of detection method of neck T cards and SIM card altogether
CN103902011A (en) Electronic device controlling method and electronic device
US20140115378A1 (en) System and method for restoring network configuration parameters
CN108279936B (en) Shutdown method and device for all-in-one machine in operating system connection state
CN110764952A (en) Readable storage medium, front-mounted ETC electronic tag and anti-dismounting method thereof
CN103399811B (en) Current time date and battery electricity fast display method and system
CN111880968A (en) Positioning fault repairing method, system and related equipment
CN106293796B (en) A kind of information processing method and electronic equipment
CN108984330A (en) A kind of method, apparatus and electronic equipment of control storage equipment
CN117597844A (en) Display driving module, display device, exception handling method, device and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160511

RJ01 Rejection of invention patent application after publication