CN101996088A - Problem location method in development process of automobile electronic software - Google Patents

Problem location method in development process of automobile electronic software Download PDF

Info

Publication number
CN101996088A
CN101996088A CN2010105342346A CN201010534234A CN101996088A CN 101996088 A CN101996088 A CN 101996088A CN 2010105342346 A CN2010105342346 A CN 2010105342346A CN 201010534234 A CN201010534234 A CN 201010534234A CN 101996088 A CN101996088 A CN 101996088A
Authority
CN
China
Prior art keywords
state
controller
development process
status
software development
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
CN2010105342346A
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.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
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 Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN2010105342346A priority Critical patent/CN101996088A/en
Publication of CN101996088A publication Critical patent/CN101996088A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a problem location method in the development process of automobile electronic software, comprising the following steps of: S101, determining state information which is to be recorded; S102, mapping the state information into a state table; S103, adding a state change record module; S104, adding a record uploading mechanism; S105, establishing a query mechanism; and S106, querying and analyzing reasons. The method of the invention carries out location correctly and shortens the software development time.

Description

The positioning problems method of automotive electronics software development process
Technical field
The present invention relates to a kind of positioning problems method of automotive electronics software development process.
Background technology
All used diagnosis in various industry and automobile industry, but the object of diagnosis is peripheral components substantially, prerequisite also must be that this controller software itself is normal, and purpose is for preparing after sale.Whether the software of controller itself is normally but had no idea to determine.
Along with the domestic brand automotive development is drive on boldly to the middle and high end from low-end product, Vehicle Controller is more and more, and its control content is also more and more, and corresponding control logic is complicated greatly, and also can frequently get up alternately between system makes development difficulty strengthen.Usually find that in product development process some Vehicle Controller basic functions can meet the demands for a long time, various tests are also all passed through, but have such-and-such minor issue.Some problem can be reappeared, and analyzes easily to solve; The other problem but can't be reappeared, and the litigant also can't carefully describe situation at that time, perhaps what can't be explained, gives to analyze to improve and brings great being stranded so, causes the product development progress to delay again and again.Study carefully its cause, still because there is bug in its design software, therefore as can be seen, the main bottleneck of domestic automobile electronic development still is software design.Because the problem of structure, hardware aspect through several take turns test and improve after can both meet the demands, as long as agree work hard, can give funds, make great efforts to do; And the problem of software aspect does not agree just make great efforts to pay and can deal with problems.Though many SDK (Software Development Kit) are arranged now, but these instruments mainly play a part to reduce the people rudimentary error probability, reduce some repetitive operations, concrete controller function software design idea still will be done by the people, these design philosophys, strategy just minor issue may occur when being converted into software code, on the present product function of final body.
Product goes wrong not fearful on stream, and fearful is not know to have occurred what problem, how to analyze and deal with problems.Such problem occurring will bring uncontrollable risk to product and project management, perhaps arrive the volume production stage and all fail to solve.It is reported that there is 5/95 phenomenon in software development industry time schedule, promptly the time of construction cycle 5% can be finished 95% software code work, and the time of 5% remaining software code need of work 95% goes to finish.The most of the time of software development all is to analyze, search, dealing with problems as can be seen, if can improve problem the location, search, analysis ability, will shorten dramatically product software development time and Products Development cycle.
Summary of the invention
The present invention seeks to provides a kind of at the defective that prior art exists
The present invention adopts following technical scheme for achieving the above object:
The positioning problems method of automotive electronics software development process of the present invention comprises the steps:
S101, definite status information that will write down
Described status information comprises the internal state information that input state, output state and the controller of controller will be used;
S102, status information are mapped to state table
Having qualitatively that status information is mapped to a tabulation with unique identity described in the step S101, described list storage be the numerical value after the mapping in the tabulation;
S103, increase state variation logging modle
What parameter when a certain parameter (is specially?) when arbitrary mapped state changes, numerical value after described state variation logging modle is shone upon this parameter state is given to store among the EEPROM and is gone, and this state changes the internal state and the output state change that cause and also is recorded storage, and these all state variation are according to the time order and function journal storage that takes place;
Communication mechanism uploaded in S104, increase record
Described controller is provided with PORT COM, by this PORT COM to record data read and write, deletion action;
S105, set up inquiry mechanism
By the inquiry mechanism connection corresponding with the controller PORT COM, come to the state variation sequence of storing in the controller read and write, deletion action, and show state change sequence;
S106, query analysis reason
When running into doubt problem, obtain the state variation sequence by inquiry mechanism, this sequence and functional specification are compared, see whether meet the functional specification requirement, if undesirable, the corresponding code of incongruent local contrast is positioned.
Preferably, the input state of controller comprises the state of opening of switch and the signal condition that off status, the location status of firing key, supply voltage, sensor feedback state, bus pass over.
Preferably, the output state of controller comprises the signal condition that motor status, display message state, bus send.
Preferably, internal state information comprise power on, reset, the park mode state.
The invention has the beneficial effects as follows, when doubt problem occurring, can determine it specifically is the problem of which aspect fast, avoiding all is to guess rather than going to deal with problems, the present invention simultaneously also can apply in the software development of all embedded systems and go, and shortens the software development time.
Description of drawings
Fig. 1: the method flow diagram of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, will be described in detail preferred embodiment of the present invention.
The core that the present invention is used for positioning problems analysis that the automotive electronics software development process is found is at first to be to confirm that this controller may need the status information of using when analyzing, and they are mapped to the state table with uniqueness; Communication mechanism uploaded in increase state variation logging modle and record in the controller software design then, and set up an inquiry mechanism; When running into query, obtain the state variation record by inquiry mechanism, whether normal in order to analyze.
Be illustrated in figure 1 as the method flow diagram of a preferred embodiment of the present invention, be described in detail as follows in conjunction with car body controller:
S101, definite status information that will write down
For enough information can be arranged issuable suspicious problem is analyzed, need to confirm which state controller will write down, to enumerate out the state of being used possibly for this reason, various input states (state of opening and the off status of switch as car body controller, the location status of firing key, supply voltage, the sensor feedback state, the signal condition that bus passes over etc.), various output state (motor status, the display message state, the signal condition that bus sends etc.), and the internal state information that controller will be used (powers on, reset, or the like park modes etc.), these have influence on the existing parameter of the concrete menu of controller.
For quantitative state such as the picture speed of a motor vehicle etc., can not all give each value and note, according to the request for utilization of controller, vehicle speed signal is treated as signal qualitatively vehicle speed signal.Can be not warning as the speed of a motor vehicle to securing band during greater than 10km/h, can automatically lock during greater than 20km/h, and other place does not require vehicle speed signal, so can vehicle speed signal qualitative be three states: less than 10km/h, greater than 20km/h and between between this.
S102, status information are mapped to state table
After all controller states that need are all determined, just have qualitatively that state is mapped to a tabulation with unique identity to these, partial status and mapping situation are as shown in the table so long, and what store is numerical value after shining upon in tabulating.Just know the state variation situation of controller from the sequence of values of storage.
Sequence number Need recording status Mapping value Sequence number Need recording status Mapping value
1 The main door of driving is opened 0xF0 12 The speed of a motor vehicle<10km/h 0XfB
2 A main pass of driving 0xF1 13 10km/h<speed of a motor vehicle<20km/h 0XfC
3 Its excess-three door is opened 0xF2 14 The speed of a motor vehicle〉20km/h 0xFD
4 Its excess-three door closes 0xF3 15 Cell voltage〉9V 0xFE
5 Key is extracted 0xF4 16 Cell voltage<9V 0xE0
6 Key inserts 0xF5 17 Release output 0XE1
7 Key is positioned at ACC 0xF6 18 Locking output 0xE2
8 Key is positioned at ON 0xF7 19 Power on 0xE3
9 Key is positioned at CRANK 0xF8 20 Reset 0xE4
10 Unlock switch is opened 0xF9 21 Enter dormancy 0xE5
11 Latch switch is opened 0xFA 22 Withdraw from dormancy 0xE6.
S103, increase state variation logging modle
In the software design of controller, increase the code of state variation record, when arbitrary mapped state changes, numerical value after controller shines upon this parameter state is given to store among the EEPROM and is gone, and this state changes the internal state and the output state change that cause also will be recorded storage, and these all state variation are according to the time order and function journal storage that takes place.As key when the OFF position is got in the ON position, key can pass through the ACC position, controller will journal under 0xF6 and these two mapping value of 0xF5, along with key is closed, door lock meeting automatic unlocking, controller also can write down release output 0xE1, these three mapping value by sequential storage in EEPROM.
Communication mechanism uploaded in S104, increase record
Controller needs PORT COM, and increases the bitcom module, can by this PORT COM to record data read and write, operation such as deletion.
S105, set up inquiry mechanism
Design a query interface at host computer, making can be by the connection corresponding with the controller PORT COM, come to the state variation sequence of storing in the controller read and write, operation such as deletion, and the state variation sequence shown.As read 0xF6,0xF5, this sequence of 0xE1, just know it is key to take place close closed procedure.
S106, query analysis reason
When running into doubt problem, obtain the state variation sequence by query interface, this sequence and functional specification are compared, see and whether meet the functional specification requirement, if undesirable words are analyzed the corresponding code of incongruent local contrast, but with regard to the quick positioning question place.

Claims (4)

1. the positioning problems method of an automotive electronics software development process is characterized in that comprising the steps:
S101, definite status information that will write down
Described status information comprises the internal state information that input state, output state and the controller of controller will be used;
S102, status information are mapped to state table
Having qualitatively that status information is mapped to a tabulation with unique identity described in the step S101, described list storage be the numerical value after the mapping in the tabulation;
S103, increase state variation logging modle
When arbitrary mapped state changes, numerical value after described state variation logging modle is shone upon this parameter state is given to store among the EEPROM and is gone, and this state changes the internal state and the output state change that cause and also is recorded storage, and these all state variation are according to the time order and function journal storage that takes place;
Communication mechanism uploaded in S104, increase record
Described controller is provided with PORT COM, by this PORT COM to record data read and write, deletion action;
S105, set up inquiry mechanism
By the inquiry mechanism connection corresponding with the controller PORT COM, come to the state variation sequence of storing in the controller read and write, deletion action, and show state change sequence;
S106, query analysis reason
When running into doubt problem, obtain the state variation sequence by inquiry mechanism, this sequence and functional specification are compared, see whether meet the functional specification requirement, if undesirable, the corresponding code of incongruent local contrast is positioned.
2. according to the positioning problems method of claim 1 described automotive electronics software development process, it is characterized in that the input state of controller comprises the state of opening of switch and the signal condition that off status, the location status of firing key, supply voltage, sensor feedback state, bus pass over.
3. according to the positioning problems method of claim 1 described automotive electronics software development process, it is characterized in that the output state of controller comprises the signal condition that motor status, display message state, bus send.
4. according to the positioning problems method of claim 1 described automotive electronics software development process, it is characterized in that internal state information comprise power on, reset, the park mode state.
CN2010105342346A 2010-11-05 2010-11-05 Problem location method in development process of automobile electronic software Pending CN101996088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105342346A CN101996088A (en) 2010-11-05 2010-11-05 Problem location method in development process of automobile electronic software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105342346A CN101996088A (en) 2010-11-05 2010-11-05 Problem location method in development process of automobile electronic software

Publications (1)

Publication Number Publication Date
CN101996088A true CN101996088A (en) 2011-03-30

Family

ID=43786274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105342346A Pending CN101996088A (en) 2010-11-05 2010-11-05 Problem location method in development process of automobile electronic software

Country Status (1)

Country Link
CN (1) CN101996088A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155899A (en) * 2015-04-17 2016-11-23 比亚迪股份有限公司 The localization method of Multimedia Program defect and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212414A1 (en) * 1999-08-27 2006-09-21 Osborne Glenn F Artificial intelligence system for genetic analysis
CN1908895A (en) * 2005-08-02 2007-02-07 国际商业机器公司 System and method for application program globalization problem verification and computer products

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212414A1 (en) * 1999-08-27 2006-09-21 Osborne Glenn F Artificial intelligence system for genetic analysis
CN1908895A (en) * 2005-08-02 2007-02-07 国际商业机器公司 System and method for application program globalization problem verification and computer products

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
付景枝等: "汽车电子开发过程问题定位技术", 《江苏省汽车工程学会第九届学术年会论文集》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155899A (en) * 2015-04-17 2016-11-23 比亚迪股份有限公司 The localization method of Multimedia Program defect and system
CN106155899B (en) * 2015-04-17 2019-02-26 比亚迪股份有限公司 The localization method and system of Multimedia Program defect

Similar Documents

Publication Publication Date Title
CN106910369B (en) Roadside Parking management method and system
CN110515366B (en) Fault diagnosis method and device
CN101826259A (en) Method for building embedded information management system of parking lot
EP1582961A1 (en) Controlling data access to electronic control units in vehicles
US6535802B1 (en) Quick check vehicle diagnostics
CN101458525A (en) Automatic identification method for electric-controlled unit collocation
CN102129783B (en) Intelligent induction system and method used for parking lot
CN104488004A (en) Methods and systems for providing vehicle repair information
CN110233768B (en) UDS-based CAN bus test system and CAN bus test method
CN107153413A (en) A kind of automobile power back door integrated diagnostic system
CN102183945A (en) Multifunctional remote fault diagnosis system for electric control automobile
US20090306849A1 (en) System for diagnosis of motor vehicles, and for reception of vehicles at a repair facility
CN104160428B (en) For providing the system and method for tracing trouble information
JP2008546083A (en) Method for model-based diagnosis of mechatronic systems
CN105955240A (en) Vehicle electric control system fault quick retrieval method
CN103676659B (en) It is a kind of to have the diagnostic equipment intelligently recorded and its recording method
CN101936815A (en) Computer type vehicle fault diagnostic system and method
CN106200440B (en) Intelligent watch vehicle control system
CN106557773A (en) A kind of method and system of car fault diagnosis
JP2007528067A (en) Updating and / or extending the functionality of the process control means of at least one control device
CN101996088A (en) Problem location method in development process of automobile electronic software
CN106775819A (en) System and method is updated under novel on-vehicle device data line
CN204440127U (en) The entire car controller of the pure electric automobile of integrated gateway function
Heumesser et al. Experiences in managing an automotive requirements engineering process
CN109146303A (en) Car operation control method, device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110330