SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
2017-05-10
Alexander Much
“Legacy” Software
Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPIC | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
2Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
“Legacy” from Webster’s dictionary:
1. a gift by will especially of money or other personal property : BEQUEST She left us a legacy of a million dollars.
2. something transmitted by or received from an ancestor or predecessor or from the past the legacy of the ancient philosophers The
war left a legacy of pain and suffering.
„Legacy System“ from wikipedia (emphasis added):
In computing, a legacy system is an old method, technology, computer system, or application program, "of, relating to, or being a
previous or outdated computer system.“
Often a pejorative term, referencing a system as "legacy" means that it paved the way for the standards that would follow it.
This can also imply that the system is out of date or in need of replacement.
„Legacy“?
Gate4SPICE: Legacy Software
3Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
• Business models will change
• The SOP is not the central mile-stone anymore
• Being able to operate and maintain the system
is the key factor for business as well as quality
• New software eco-systems, SW platforms
• Security >> safety!
Consequences for quality and for processes
Weak points:
• PLC-like process models
• Missing service and operations in Automotive
SPICE (-> SPICE for DevOps?)
DevOps, OTA: from product to service
Gate4SPICE: Legacy Software
Future
Sensor
Actuator
Standard
ECU
Base Function
Services &
Operation
Updates
Critical Update
Content
Critical Update
@SOP
Features
OTA:
Over
Lifetime
Operator,
Mobility-Provider
Backend
InfrastructureAnalysis,
Data
collection
& Fleet
Management
4Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
Driving Forces behind OTA
Gate4SPICE: Legacy Software
Analysis,
Data
collection
& Fleet
Management
Future
Driving not possible when
data connection missing
Sensor
Actuator
Standard
ECU
Base Function
Services &
Operation
Updates
Critical Update
Content
Critical Update
@SOP
Features
OTA:
Over
Lifetime
Operator,
Mobility-Provider
(OEM or a service provider
without own vehicle
production like UBER)
Backend
Infrastructure
€€€
€
€
€
€
€€
Service Provider
(new services)
??
5Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
• Software in essence is the ”design of a machine abstracted from its physical
realization”1.
• The most complex systems ever built are all software systems.
• The design of software needs to be controlled. There is no process variability
in the manufacturing. We only have the construction.
• Software is often changed and adapted?  less rigor in control?
• The FDA: ”[i]n fact, the opposite is true. Because of its complexity the
development process for software should be even more tightly controlled
than for hardware”.2
Why software is special
Gate4SPICE: Legacy Software
Software
General-Purpose
Computer
Special-Purpose
Machine+ =
1Nancy Leveson, Engineering a Safer World:
Systems Thinking Applied to Safety, MIT Press, 2011
(free at https://mitpress.mit.edu/books/engineering-safer-world)
2CDRH, General principles of software validation.
FDA, 2002.
Controlling software evolution is key
A complex software system is planned from
maintaining it, not from creating it
 „Maintaining maintainability“
6Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
„Legacy Software“ comes in different forms:
1. You created a system without enough project or technical
control (or understanding)
2. You are faced with maintaining or operating a system that
has been created only with the SOP in mind
3. You „inherit“ a system, e.g. you bought another company
Such a software system is intangible:
• You don‘t know enough about it
• Process documents may be inaccurate or plainly false
Handling „Legacy“ Software in Practice
Gate4SPICE: Legacy Software
What to do?
• Don‘t believe process documents:
The code is in the vehicle, not the documents
• Build hypotheses and test them (documents + code):
– Top-down by testing (in the sense of learning)
– Buttom-up by architectural reconstruction
• Both at the same time!
• See e.g.:
„If your map doesn‘t match the terrain, it‘s not the terrain that‘s wrong“.
7Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
In file.h:
#define LOOP_END 0
In file.c:
int i;
for (i = MAX; i >= LOOP_END; i--)
{
/* … */
}
Beware: a „MISRA-fication“ in practice
Gate4SPICE: Legacy Software
• A (stupid) MISRA checker is used
• Warns about a signed literal, should be suffixed with ‚U‘
• Question: what happens if ‚U‘ is appended to LOOP_END?
• Remark: this happens in completely different files.
• Answer: usual arithmetic conversions turn the signed integer ‚i‘
into an unsigned integer, cannot be negative
 an endless loop
8Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
Background:
• AUTOSAR started ca. 15 years ago
• Millions of units on the road
• From QM to ASIL-D
• Complexity of the standard is increased rapidly with each
release
 ca 500 kLOC + > 20.000 configuration parameters
• OEM and Tier-1 quality demands evolved
• Standards evolved
-> anyone remembers MISRA 1998?
Example: AUTOSAR basic software
Gate4SPICE: Legacy Software
Approach:
• Strong focus on product quality instead of process quality
 everything that helps product quality helps the processes
• Daily measurement and build
– Code metrics
– V&V metrics
– Tracing metrics
• Permanent re-factoring, metrics are never violated
• Incremental approach:
– Each change-set is „complete“
– State of a component is „ok“ before and after the change
• Build number of the night build from today: 155597
9Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
Example: Process Metrics
Gate4SPICE: Legacy Software
Id Description Prototype Development Mass Production
PercReqImpl Percentage of implemented reqs n/a >= 0.85 == 1.0
PercReqTst Percentage of tested reqs n/a >= 0.75 == 1.0
NrReqNotImpl
Reqs that are not or partially
implemented
n/a n/a == 0
NrReqNotTst Reqs that are not or partially not tested n/a n/a == 0
NrTstNoReq
Specified tests that do not correctly trace
to a req
== 0 == 0 == 0
NrSpecNoReq
Sobjects that falsely claim coverage for a
req
== 0 == 0 == 0
NrTstNoSpec Implemented but not specified tests == 0 == 0 == 0
NrTstNotImpl Specified but not implemented tests n/a n/a == 0
NrRuleViolations
Number of static requirements rule
violations
n/a n/a == 0
10Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
Trends and Impacts on EE Architecture
Gate4SPICE: Legacy Software
Clean Mobility
Electrification
Safe Mobility
Autonomous Driving
Intelligent Mobility
Connected Car
Trends Impact on EE SW Architecture Impact on Economy
HW Complexity Decrease
Safety & Security Needs
Connectivity
SW Complexity Increase
System Availability
Embedded Smart Device
Security Needs
Lower barrier for new OEMs
focusing on e-cars,
Enabler for mobility.
Growing complexity,
Change in architecture and
value chain,
Entry point for IT companies.
New user centric mobility
services and business models,
change in value chain
11Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
The „system“ in the future
Gate4SPICE: Legacy Software
UI
Computing
Cluster
Central
Computing
Cluster
Smart Antenna
Gateway
Remote IO,
Actors, Sensors
Smart
Sensors
Smart
Sensors Steering
Braking Battery
Engine
Back-end
System
Gigabit
Ethernet
www.elektrobit.com
alexander.much@elektrobit.com
Get in touch!
Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPIC | Public | © Elektrobit Automotive GmbH 2017.
All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Contenu connexe

Tendances

Collaboration - Essential to Aviation MRO Innovation
Collaboration - Essential to Aviation MRO InnovationCollaboration - Essential to Aviation MRO Innovation
Collaboration - Essential to Aviation MRO InnovationMichael Denis
 
Cybersecurity in the Age of the Everynet
Cybersecurity in the Age of the Everynet   Cybersecurity in the Age of the Everynet
Cybersecurity in the Age of the Everynet Bill Harpley
 
Ibm innovate-2014 #2478-hammel_pub
Ibm innovate-2014 #2478-hammel_pubIbm innovate-2014 #2478-hammel_pub
Ibm innovate-2014 #2478-hammel_pubChristof Hammel
 
Lisbon MRO Summit - Collaboration in Big Data Analytics
Lisbon MRO Summit - Collaboration in Big Data AnalyticsLisbon MRO Summit - Collaboration in Big Data Analytics
Lisbon MRO Summit - Collaboration in Big Data AnalyticsMichael Denis
 
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...Scilab
 
AircraftIT MRO Journal Vol 3.2
AircraftIT MRO Journal Vol 3.2AircraftIT MRO Journal Vol 3.2
AircraftIT MRO Journal Vol 3.2Michael Denis
 
Aircraft IT MRO eJournal "Smart Aircraft Need Smart IT" How I See IT
Aircraft IT MRO eJournal "Smart Aircraft Need Smart IT" How I See ITAircraft IT MRO eJournal "Smart Aircraft Need Smart IT" How I See IT
Aircraft IT MRO eJournal "Smart Aircraft Need Smart IT" How I See ITMichael Denis
 
AircraftIT MRO Journal Vol 3.3 Paper or Plastic?
AircraftIT MRO Journal Vol 3.3 Paper or Plastic?AircraftIT MRO Journal Vol 3.3 Paper or Plastic?
AircraftIT MRO Journal Vol 3.3 Paper or Plastic?Michael Denis
 
Aircraft IT MRO eJournal "Aircraft MRO Business Networks" How I See IT
Aircraft IT MRO eJournal "Aircraft MRO Business Networks" How I See IT Aircraft IT MRO eJournal "Aircraft MRO Business Networks" How I See IT
Aircraft IT MRO eJournal "Aircraft MRO Business Networks" How I See IT Michael Denis
 
TWISummit 2019 - Embracing a Service Mesh
TWISummit 2019 - Embracing a Service MeshTWISummit 2019 - Embracing a Service Mesh
TWISummit 2019 - Embracing a Service MeshThoughtworks
 
TWISummit 2019 - Return of Reconfigurable Computing
TWISummit 2019 - Return of Reconfigurable ComputingTWISummit 2019 - Return of Reconfigurable Computing
TWISummit 2019 - Return of Reconfigurable ComputingThoughtworks
 
X2C -a tool for model-based control development and automated code generation...
X2C -a tool for model-based control development and automated code generation...X2C -a tool for model-based control development and automated code generation...
X2C -a tool for model-based control development and automated code generation...Scilab
 
New Aircraft - Trends & Technologies to Improve MRO
New Aircraft - Trends & Technologies to Improve MRONew Aircraft - Trends & Technologies to Improve MRO
New Aircraft - Trends & Technologies to Improve MROMichael Denis
 
Aviation Digital Disruption
Aviation Digital Disruption Aviation Digital Disruption
Aviation Digital Disruption Michael Denis
 
Digital Innovation in Aviation
Digital Innovation in AviationDigital Innovation in Aviation
Digital Innovation in AviationMichael Denis
 
Artificial Intelligence in Design Automation
Artificial Intelligence in Design AutomationArtificial Intelligence in Design Automation
Artificial Intelligence in Design Automations.rohit
 
Aviation MRO Big Data & Advanced Analytics Industry Survey
Aviation MRO Big Data & Advanced Analytics Industry SurveyAviation MRO Big Data & Advanced Analytics Industry Survey
Aviation MRO Big Data & Advanced Analytics Industry SurveyMichael Denis
 
Machine Intelligence for Design Automation
Machine Intelligence for Design AutomationMachine Intelligence for Design Automation
Machine Intelligence for Design Automations.rohit
 

Tendances (20)

Collaboration - Essential to Aviation MRO Innovation
Collaboration - Essential to Aviation MRO InnovationCollaboration - Essential to Aviation MRO Innovation
Collaboration - Essential to Aviation MRO Innovation
 
Cybersecurity in the Age of the Everynet
Cybersecurity in the Age of the Everynet   Cybersecurity in the Age of the Everynet
Cybersecurity in the Age of the Everynet
 
Ibm innovate-2014 #2478-hammel_pub
Ibm innovate-2014 #2478-hammel_pubIbm innovate-2014 #2478-hammel_pub
Ibm innovate-2014 #2478-hammel_pub
 
AI on the Edge
AI on the EdgeAI on the Edge
AI on the Edge
 
Lisbon MRO Summit - Collaboration in Big Data Analytics
Lisbon MRO Summit - Collaboration in Big Data AnalyticsLisbon MRO Summit - Collaboration in Big Data Analytics
Lisbon MRO Summit - Collaboration in Big Data Analytics
 
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
 
AircraftIT MRO Journal Vol 3.2
AircraftIT MRO Journal Vol 3.2AircraftIT MRO Journal Vol 3.2
AircraftIT MRO Journal Vol 3.2
 
Aircraft IT MRO eJournal "Smart Aircraft Need Smart IT" How I See IT
Aircraft IT MRO eJournal "Smart Aircraft Need Smart IT" How I See ITAircraft IT MRO eJournal "Smart Aircraft Need Smart IT" How I See IT
Aircraft IT MRO eJournal "Smart Aircraft Need Smart IT" How I See IT
 
AircraftIT MRO Journal Vol 3.3 Paper or Plastic?
AircraftIT MRO Journal Vol 3.3 Paper or Plastic?AircraftIT MRO Journal Vol 3.3 Paper or Plastic?
AircraftIT MRO Journal Vol 3.3 Paper or Plastic?
 
Aircraft IT MRO eJournal "Aircraft MRO Business Networks" How I See IT
Aircraft IT MRO eJournal "Aircraft MRO Business Networks" How I See IT Aircraft IT MRO eJournal "Aircraft MRO Business Networks" How I See IT
Aircraft IT MRO eJournal "Aircraft MRO Business Networks" How I See IT
 
AI in the enterprise
AI in the enterprise AI in the enterprise
AI in the enterprise
 
TWISummit 2019 - Embracing a Service Mesh
TWISummit 2019 - Embracing a Service MeshTWISummit 2019 - Embracing a Service Mesh
TWISummit 2019 - Embracing a Service Mesh
 
TWISummit 2019 - Return of Reconfigurable Computing
TWISummit 2019 - Return of Reconfigurable ComputingTWISummit 2019 - Return of Reconfigurable Computing
TWISummit 2019 - Return of Reconfigurable Computing
 
X2C -a tool for model-based control development and automated code generation...
X2C -a tool for model-based control development and automated code generation...X2C -a tool for model-based control development and automated code generation...
X2C -a tool for model-based control development and automated code generation...
 
New Aircraft - Trends & Technologies to Improve MRO
New Aircraft - Trends & Technologies to Improve MRONew Aircraft - Trends & Technologies to Improve MRO
New Aircraft - Trends & Technologies to Improve MRO
 
Aviation Digital Disruption
Aviation Digital Disruption Aviation Digital Disruption
Aviation Digital Disruption
 
Digital Innovation in Aviation
Digital Innovation in AviationDigital Innovation in Aviation
Digital Innovation in Aviation
 
Artificial Intelligence in Design Automation
Artificial Intelligence in Design AutomationArtificial Intelligence in Design Automation
Artificial Intelligence in Design Automation
 
Aviation MRO Big Data & Advanced Analytics Industry Survey
Aviation MRO Big Data & Advanced Analytics Industry SurveyAviation MRO Big Data & Advanced Analytics Industry Survey
Aviation MRO Big Data & Advanced Analytics Industry Survey
 
Machine Intelligence for Design Automation
Machine Intelligence for Design AutomationMachine Intelligence for Design Automation
Machine Intelligence for Design Automation
 

Similaire à 2017-05-10 Gate4SPICE: "Legacy Software"

EAS-SEC Project
EAS-SEC ProjectEAS-SEC Project
EAS-SEC ProjectERPScan
 
Machine Learning to Turbo-Charge the Ops Portion of DevOps
Machine Learning to Turbo-Charge the Ops Portion of DevOpsMachine Learning to Turbo-Charge the Ops Portion of DevOps
Machine Learning to Turbo-Charge the Ops Portion of DevOpsDeborah Schalm
 
Safety Verification and Software aspects of Automotive SoC
Safety Verification and Software aspects of Automotive SoCSafety Verification and Software aspects of Automotive SoC
Safety Verification and Software aspects of Automotive SoCPankaj Singh
 
Leverage Virtual Design to Build a Better System
Leverage Virtual Design to Build a Better SystemLeverage Virtual Design to Build a Better System
Leverage Virtual Design to Build a Better SystemRockwell Automation
 
Apeman masta midih-oc2_demo_day
Apeman masta midih-oc2_demo_dayApeman masta midih-oc2_demo_day
Apeman masta midih-oc2_demo_dayMIDIH_EU
 
On the Application of AI for Failure Management: Problems, Solutions and Algo...
On the Application of AI for Failure Management: Problems, Solutions and Algo...On the Application of AI for Failure Management: Problems, Solutions and Algo...
On the Application of AI for Failure Management: Problems, Solutions and Algo...Jorge Cardoso
 
Ovp Introduction Presentation (04 Feb 10)
Ovp Introduction Presentation (04 Feb 10)Ovp Introduction Presentation (04 Feb 10)
Ovp Introduction Presentation (04 Feb 10)simon56
 
From Duke of DevOps to Queen of Chaos - Api days 2018
From Duke of DevOps to Queen of Chaos - Api days 2018From Duke of DevOps to Queen of Chaos - Api days 2018
From Duke of DevOps to Queen of Chaos - Api days 2018Christophe Rochefolle
 
Continuous security: Bringing agility to the secure development lifecycle
Continuous security: Bringing agility to the secure development lifecycleContinuous security: Bringing agility to the secure development lifecycle
Continuous security: Bringing agility to the secure development lifecycleRogue Wave Software
 
Case Study: Datalink—Manage IT monitoring the MSP way
Case Study: Datalink—Manage IT monitoring the MSP wayCase Study: Datalink—Manage IT monitoring the MSP way
Case Study: Datalink—Manage IT monitoring the MSP wayCA Technologies
 
SCM Transformation Challenges and How to Overcome Them
SCM Transformation Challenges and How to Overcome ThemSCM Transformation Challenges and How to Overcome Them
SCM Transformation Challenges and How to Overcome ThemCompuware
 
Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Ori Bendet
 
IoT—Let’s Code Like It’s 1999!
IoT—Let’s Code Like It’s 1999!IoT—Let’s Code Like It’s 1999!
IoT—Let’s Code Like It’s 1999!TechWell
 
Top 5 .NET Challenges, Performance Monitoring Tips & Tricks
Top 5 .NET Challenges, Performance Monitoring Tips & TricksTop 5 .NET Challenges, Performance Monitoring Tips & Tricks
Top 5 .NET Challenges, Performance Monitoring Tips & TricksAppDynamics
 
Securing and automating your application infrastructure meetup 23112021 b
Securing and automating your application infrastructure meetup 23112021 bSecuring and automating your application infrastructure meetup 23112021 b
Securing and automating your application infrastructure meetup 23112021 blior mazor
 
How to Use Open Source Technologies in Safety-critical Medical Device Platforms
How to Use Open Source Technologies in Safety-critical Medical Device PlatformsHow to Use Open Source Technologies in Safety-critical Medical Device Platforms
How to Use Open Source Technologies in Safety-critical Medical Device PlatformsShahid Shah
 
Brighttalk understanding the promise of sde - final
Brighttalk   understanding the promise of sde - finalBrighttalk   understanding the promise of sde - final
Brighttalk understanding the promise of sde - finalAndrew White
 
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations Center
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations CenterAppSphere 15 - AppDynamics: Beyond APM - Building an Operations Center
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations CenterAppDynamics
 

Similaire à 2017-05-10 Gate4SPICE: "Legacy Software" (20)

EAS-SEC Project
EAS-SEC ProjectEAS-SEC Project
EAS-SEC Project
 
Machine Learning to Turbo-Charge the Ops Portion of DevOps
Machine Learning to Turbo-Charge the Ops Portion of DevOpsMachine Learning to Turbo-Charge the Ops Portion of DevOps
Machine Learning to Turbo-Charge the Ops Portion of DevOps
 
Safety Verification and Software aspects of Automotive SoC
Safety Verification and Software aspects of Automotive SoCSafety Verification and Software aspects of Automotive SoC
Safety Verification and Software aspects of Automotive SoC
 
Leverage Virtual Design to Build a Better System
Leverage Virtual Design to Build a Better SystemLeverage Virtual Design to Build a Better System
Leverage Virtual Design to Build a Better System
 
Apeman masta midih-oc2_demo_day
Apeman masta midih-oc2_demo_dayApeman masta midih-oc2_demo_day
Apeman masta midih-oc2_demo_day
 
Waseem Arfi Personal Profile
Waseem Arfi Personal ProfileWaseem Arfi Personal Profile
Waseem Arfi Personal Profile
 
On the Application of AI for Failure Management: Problems, Solutions and Algo...
On the Application of AI for Failure Management: Problems, Solutions and Algo...On the Application of AI for Failure Management: Problems, Solutions and Algo...
On the Application of AI for Failure Management: Problems, Solutions and Algo...
 
Ovp Introduction Presentation (04 Feb 10)
Ovp Introduction Presentation (04 Feb 10)Ovp Introduction Presentation (04 Feb 10)
Ovp Introduction Presentation (04 Feb 10)
 
From Duke of DevOps to Queen of Chaos - Api days 2018
From Duke of DevOps to Queen of Chaos - Api days 2018From Duke of DevOps to Queen of Chaos - Api days 2018
From Duke of DevOps to Queen of Chaos - Api days 2018
 
Continuous security: Bringing agility to the secure development lifecycle
Continuous security: Bringing agility to the secure development lifecycleContinuous security: Bringing agility to the secure development lifecycle
Continuous security: Bringing agility to the secure development lifecycle
 
Case Study: Datalink—Manage IT monitoring the MSP way
Case Study: Datalink—Manage IT monitoring the MSP wayCase Study: Datalink—Manage IT monitoring the MSP way
Case Study: Datalink—Manage IT monitoring the MSP way
 
SCM Transformation Challenges and How to Overcome Them
SCM Transformation Challenges and How to Overcome ThemSCM Transformation Challenges and How to Overcome Them
SCM Transformation Challenges and How to Overcome Them
 
Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...Solving the Automation Puzzle - how to select the right automation framework ...
Solving the Automation Puzzle - how to select the right automation framework ...
 
IoT—Let’s Code Like It’s 1999!
IoT—Let’s Code Like It’s 1999!IoT—Let’s Code Like It’s 1999!
IoT—Let’s Code Like It’s 1999!
 
Top 5 .NET Challenges, Performance Monitoring Tips & Tricks
Top 5 .NET Challenges, Performance Monitoring Tips & TricksTop 5 .NET Challenges, Performance Monitoring Tips & Tricks
Top 5 .NET Challenges, Performance Monitoring Tips & Tricks
 
Securing and automating your application infrastructure meetup 23112021 b
Securing and automating your application infrastructure meetup 23112021 bSecuring and automating your application infrastructure meetup 23112021 b
Securing and automating your application infrastructure meetup 23112021 b
 
How to Use Open Source Technologies in Safety-critical Medical Device Platforms
How to Use Open Source Technologies in Safety-critical Medical Device PlatformsHow to Use Open Source Technologies in Safety-critical Medical Device Platforms
How to Use Open Source Technologies in Safety-critical Medical Device Platforms
 
1 App,
1 App, 1 App,
1 App,
 
Brighttalk understanding the promise of sde - final
Brighttalk   understanding the promise of sde - finalBrighttalk   understanding the promise of sde - final
Brighttalk understanding the promise of sde - final
 
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations Center
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations CenterAppSphere 15 - AppDynamics: Beyond APM - Building an Operations Center
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations Center
 

Dernier

call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@vikas rana
 
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...漢銘 謝
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Escort Service
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxaryanv1753
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxJohnree4
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationNathan Young
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSebastiano Panichella
 
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.KathleenAnnCordero2
 
James Joyce, Dubliners and Ulysses.ppt !
James Joyce, Dubliners and Ulysses.ppt !James Joyce, Dubliners and Ulysses.ppt !
James Joyce, Dubliners and Ulysses.ppt !risocarla2016
 
Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸mathanramanathan2005
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxFamilyWorshipCenterD
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
 
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comSaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comsaastr
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSebastiano Panichella
 
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC  - NANOTECHNOLOGYPHYSICS PROJECT BY MSC  - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC - NANOTECHNOLOGYpruthirajnayak525
 
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxAnne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxnoorehahmad
 
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power
 
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...marjmae69
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 

Dernier (20)

call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@
 
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptx
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptx
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism Presentation
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation Track
 
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
 
James Joyce, Dubliners and Ulysses.ppt !
James Joyce, Dubliners and Ulysses.ppt !James Joyce, Dubliners and Ulysses.ppt !
James Joyce, Dubliners and Ulysses.ppt !
 
Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software Engineering
 
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comSaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
 
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC  - NANOTECHNOLOGYPHYSICS PROJECT BY MSC  - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
 
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxAnne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
 
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
 
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 

2017-05-10 Gate4SPICE: "Legacy Software"

  • 1. 2017-05-10 Alexander Much “Legacy” Software Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPIC | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
  • 2. 2Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. “Legacy” from Webster’s dictionary: 1. a gift by will especially of money or other personal property : BEQUEST She left us a legacy of a million dollars. 2. something transmitted by or received from an ancestor or predecessor or from the past the legacy of the ancient philosophers The war left a legacy of pain and suffering. „Legacy System“ from wikipedia (emphasis added): In computing, a legacy system is an old method, technology, computer system, or application program, "of, relating to, or being a previous or outdated computer system.“ Often a pejorative term, referencing a system as "legacy" means that it paved the way for the standards that would follow it. This can also imply that the system is out of date or in need of replacement. „Legacy“? Gate4SPICE: Legacy Software
  • 3. 3Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. • Business models will change • The SOP is not the central mile-stone anymore • Being able to operate and maintain the system is the key factor for business as well as quality • New software eco-systems, SW platforms • Security >> safety! Consequences for quality and for processes Weak points: • PLC-like process models • Missing service and operations in Automotive SPICE (-> SPICE for DevOps?) DevOps, OTA: from product to service Gate4SPICE: Legacy Software Future Sensor Actuator Standard ECU Base Function Services & Operation Updates Critical Update Content Critical Update @SOP Features OTA: Over Lifetime Operator, Mobility-Provider Backend InfrastructureAnalysis, Data collection & Fleet Management
  • 4. 4Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. Driving Forces behind OTA Gate4SPICE: Legacy Software Analysis, Data collection & Fleet Management Future Driving not possible when data connection missing Sensor Actuator Standard ECU Base Function Services & Operation Updates Critical Update Content Critical Update @SOP Features OTA: Over Lifetime Operator, Mobility-Provider (OEM or a service provider without own vehicle production like UBER) Backend Infrastructure €€€ € € € € €€ Service Provider (new services) ??
  • 5. 5Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. • Software in essence is the ”design of a machine abstracted from its physical realization”1. • The most complex systems ever built are all software systems. • The design of software needs to be controlled. There is no process variability in the manufacturing. We only have the construction. • Software is often changed and adapted?  less rigor in control? • The FDA: ”[i]n fact, the opposite is true. Because of its complexity the development process for software should be even more tightly controlled than for hardware”.2 Why software is special Gate4SPICE: Legacy Software Software General-Purpose Computer Special-Purpose Machine+ = 1Nancy Leveson, Engineering a Safer World: Systems Thinking Applied to Safety, MIT Press, 2011 (free at https://mitpress.mit.edu/books/engineering-safer-world) 2CDRH, General principles of software validation. FDA, 2002. Controlling software evolution is key A complex software system is planned from maintaining it, not from creating it  „Maintaining maintainability“
  • 6. 6Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. „Legacy Software“ comes in different forms: 1. You created a system without enough project or technical control (or understanding) 2. You are faced with maintaining or operating a system that has been created only with the SOP in mind 3. You „inherit“ a system, e.g. you bought another company Such a software system is intangible: • You don‘t know enough about it • Process documents may be inaccurate or plainly false Handling „Legacy“ Software in Practice Gate4SPICE: Legacy Software What to do? • Don‘t believe process documents: The code is in the vehicle, not the documents • Build hypotheses and test them (documents + code): – Top-down by testing (in the sense of learning) – Buttom-up by architectural reconstruction • Both at the same time! • See e.g.: „If your map doesn‘t match the terrain, it‘s not the terrain that‘s wrong“.
  • 7. 7Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. In file.h: #define LOOP_END 0 In file.c: int i; for (i = MAX; i >= LOOP_END; i--) { /* … */ } Beware: a „MISRA-fication“ in practice Gate4SPICE: Legacy Software • A (stupid) MISRA checker is used • Warns about a signed literal, should be suffixed with ‚U‘ • Question: what happens if ‚U‘ is appended to LOOP_END? • Remark: this happens in completely different files. • Answer: usual arithmetic conversions turn the signed integer ‚i‘ into an unsigned integer, cannot be negative  an endless loop
  • 8. 8Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. Background: • AUTOSAR started ca. 15 years ago • Millions of units on the road • From QM to ASIL-D • Complexity of the standard is increased rapidly with each release  ca 500 kLOC + > 20.000 configuration parameters • OEM and Tier-1 quality demands evolved • Standards evolved -> anyone remembers MISRA 1998? Example: AUTOSAR basic software Gate4SPICE: Legacy Software Approach: • Strong focus on product quality instead of process quality  everything that helps product quality helps the processes • Daily measurement and build – Code metrics – V&V metrics – Tracing metrics • Permanent re-factoring, metrics are never violated • Incremental approach: – Each change-set is „complete“ – State of a component is „ok“ before and after the change • Build number of the night build from today: 155597
  • 9. 9Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. Example: Process Metrics Gate4SPICE: Legacy Software Id Description Prototype Development Mass Production PercReqImpl Percentage of implemented reqs n/a >= 0.85 == 1.0 PercReqTst Percentage of tested reqs n/a >= 0.75 == 1.0 NrReqNotImpl Reqs that are not or partially implemented n/a n/a == 0 NrReqNotTst Reqs that are not or partially not tested n/a n/a == 0 NrTstNoReq Specified tests that do not correctly trace to a req == 0 == 0 == 0 NrSpecNoReq Sobjects that falsely claim coverage for a req == 0 == 0 == 0 NrTstNoSpec Implemented but not specified tests == 0 == 0 == 0 NrTstNotImpl Specified but not implemented tests n/a n/a == 0 NrRuleViolations Number of static requirements rule violations n/a n/a == 0
  • 10. 10Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. Trends and Impacts on EE Architecture Gate4SPICE: Legacy Software Clean Mobility Electrification Safe Mobility Autonomous Driving Intelligent Mobility Connected Car Trends Impact on EE SW Architecture Impact on Economy HW Complexity Decrease Safety & Security Needs Connectivity SW Complexity Increase System Availability Embedded Smart Device Security Needs Lower barrier for new OEMs focusing on e-cars, Enabler for mobility. Growing complexity, Change in architecture and value chain, Entry point for IT companies. New user centric mobility services and business models, change in value chain
  • 11. 11Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPICE | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. The „system“ in the future Gate4SPICE: Legacy Software UI Computing Cluster Central Computing Cluster Smart Antenna Gateway Remote IO, Actors, Sensors Smart Sensors Smart Sensors Steering Braking Battery Engine Back-end System Gigabit Ethernet
  • 12. www.elektrobit.com alexander.much@elektrobit.com Get in touch! Competence Centre Systems Engineering | Much | 2017-05-10 | Gate4SPIC | Public | © Elektrobit Automotive GmbH 2017. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.