the multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfs.c....

55
The multi-facets of building dependable applications over connected physical objects S.C. Cheung Director of RFID Center Department of Computer Science and Engineering The Hong Kong University of Science and Technology http://www.cse.ust.hk/~scc International Symposium on High Confidence Software, Beijing, Dec 2011

Upload: others

Post on 14-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

The multi-facets of building dependable applications over connected physical objects

S.C. Cheung Director of RFID Center

Department of Computer Science and Engineering

The Hong Kong University of Science and Technology

http://www.cse.ust.hk/~scc

International Symposium on High

Confidence Software, Beijing, Dec 2011

Page 2: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Due to my own experience, I will draw examples from RFID applications

for illustration.

Yet, the concepts and issues discussed should be generalizable to the

physical objects connected using other wireless technologies, such as

wifi, zigbee, bluetooth and so on.

2 S.C. Cheung (HKUST) 2011

Page 3: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Where are the needs for connected physical objects?

3 S.C. Cheung (HKUST) 2011

Page 4: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

To meet the demands on high confidence applications

Page 5: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

WHO Guidelines for Safe Surgery 2009

• Objective 7: The team will prevent inadvertent

retention of instruments or sponges in surgical wounds.

– Need to systematically track/count the sponges used in an

operation.

5 S.C. Cheung (HKUST) 2011

Page 6: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

RFID-enabled sponges

• Real-time tracking and counting sponges

used in an operation

6 S.C. Cheung (HKUST) 2011

RFID-enabled sponge

Page 7: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Connected physical objects (CPO)

• Stay connected.

– Multiple networking technologies: Wifi, Zigbee,

Bluetooth, RFID, …

• Identify themselves actively.

• Feature tight combination of

computational and physical elements.

• Tight integration of computation and

physical processes.

7 S.C. Cheung (HKUST) 2011

Loading bay Storage bay

An RFID gate that consists of four antennas

Page 8: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Connected physical objects (CPO)

Call for interdisciplinary efforts: – Algorithm

– Database

– Pervasive computing

– Logistics management

– …

– Software engineering

Page 9: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Are there any fundamental differences between CPO systems and conventional software systems?

Question 1

9 S.C. Cheung (HKUST) 2011

Page 10: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

In which way CPO systems induce new challenges to high confidence software?

Question 2

10 S.C. Cheung (HKUST) 2011

Page 11: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

By being physical in nature, CPOs are subject to physical laws and able to sense or interact with their physical environment

Observation

11 S.C. Cheung (HKUST) 2011

Page 12: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Physical law

HKUST Digital Life with RFID

12

tag

antenna reader

computer

reader

output data

processing

data

sensing circuitry

Page 13: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Physical law

13

tag

antenna reader

computer

reader

output data

processing

data

sensing circuitry

r

Page 14: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Object tracking

14 S.C. Cheung (HKUST) 2011

Compute object’s location by

its distance from each reader

based on reception power,

e.g., RSSI.

Page 15: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Finding directions

15 S.C. Cheung (HKUST) 2011

Page 16: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Sensing environment

16 S.C. Cheung (HKUST) 2011

About 35 percent of people

over age 65 fall in their homes

at least once each year.

That figure increases to 50

percent for those with age 75

and over. -- Havard Health Letters 2009

accelerometer

Page 17: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Adaptive actions

17 S.C. Cheung (HKUST) 2011

- Raise an alarm

- Call her relatives

- Call her neighbors

- Call emergency services

- Contact her nearest hospital

- Call her family doctor

- Record the frequency

accelerometer

Page 18: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Adaptive actions

18 S.C. Cheung (HKUST) 2011

- Raise an alarm

- Call her relatives

- Call her neighbors

- Call emergency services

- Contact her nearest hospital

- Call her family doctor

- Record the frequency

accelerometer

Page 19: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Subject to physical laws

19 S.C. Cheung (HKUST) 2011

Multi-path Effect

Page 20: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Subject to physical laws

• Induces noise to data signals.

20 S.C. Cheung (HKUST) 2011

Multipath effect dominates

Page 21: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Subject to physical laws

• Leads to inaccuracy in object tracking.

• Jumping on the map when using GPS 21 S.C. Cheung (HKUST) 2011

Multipath effect dominates

Page 22: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Induces engineering problem

22 S.C. Cheung (HKUST) 2011

Page 23: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Induces engineering problem

23 S.C. Cheung (HKUST) 2011

Page 24: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

24 S.C. Cheung (HKUST) 2011

Is the problem common?

• For RFID data, the observed read rate (i.e., the

percentage of tags in a reader’s vicinity that are actually

reported) in real-life deployment may drop down to the

range of 60-70% [1]

[1] Jeffery, S.R., Garofalakis, M., and Frankin, M.J. Adaptive Cleaning for RFID Data

Streams. In Proceedings of the 32nd International Conference on Very Large Data

Bases, Seoul, Korea, September 2006, 163-174.

Page 25: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

New challenges

• Data level

– Ubiquitous sensing noises are not under full control.

– Natural constraints on physical objects cannot be fully and precisely

modeled.

• Logic level

– Hardly able to consider adequately the real-life complexity of

physical objects that are evolvable.

– Unanticipated exceptions occur.

25

Page 26: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Complexities arise from CPO

• Data level

– Ubiquitous sensing noises are not under full control.

– Natural constraints on physical objects cannot be modeled

completely and precisely.

• Logic level

– Hardly able to consider adequately the real-life complexity of

physical objects that are evolvable.

– Unanticipated exceptions occur.

26

Page 27: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Complexities arise from CPO

• Data level

– Ubiquitous sensing noises are not under full control.

– Natural constraints on physical objects cannot be modeled

completely and precisely.

• Logic level

– Hardly able to consider adequately the real-life complexity of

physical objects that are evolvable and noisy.

– Unanticipated exceptions occur.

27

Sensing defects

Page 28: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Complexities arise from CPO

• Data level

– Ubiquitous sensing noises are not under full control.

– Natural constraints on physical objects cannot be modeled

completely and precisely.

• Logic level

– Hardly able to consider adequately the real-life complexity of

physical objects that are evolvable and noisy.

– Unanticipated exceptions occur.

28

Adaptation defects

Sensing defects

Page 29: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Sensing and adaptation defects are common to CPO systems.

29 S.C. Cheung (HKUST) 2011

Page 30: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Sensing defects

• Tasker is a popular Android app that

performs user-defined tasks based

on its environment changes (or

situations).

30

An early bug (in v.20b):

- Due to a sensing error on wifi.

- Kept trying to establish connection.

- Drained battery power quickly.

Page 31: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Adaptation defects

• Locale is an award-winning Android

app that changes phone’s settings

based on pre-defined conditions.

31

An early bug (in v1.0):

- Mistake in condition evaluation.

- May bounced rapidly between adapted

settings and default settings occasionally.

- Drained most of the phone processing

power.

- Failed to respond to user inputs.

Page 32: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Defect detection and management

32 S.C. Cheung (HKUST) 2011

Page 33: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Defect detection

• In most cases, we don’t have the ground truth.

• We are not able to tell if a sensed datum (or context) is

correct.

– The meaning of “correct” is unclear.

– We often live with some errors.

• CPO are subject to physical rules.

• Extract constraints that cover context changes from

these rules.

• Catch context inconsistency upon rule violation.

33 S.C. Cheung (HKUST) 2011

Page 34: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Illustrative Example

34 S.C. Cheung (HKUST) 2011

Page 35: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Illustrative Example

35

d1 d2

d3

d4 d5

It is hard to tell which of the five

contexts is/are incorrect

S.C. Cheung (HKUST) 2011

The minicar reports that it

has visited five locations

unless we know the ground truth.

Page 36: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Illustrative Example

36

d1 d2

d3

d4 d5

Constraint: The walking speed estimated from location changes should be less than 150% v

S.C. Cheung (HKUST) 2011

The average speed

obtained from the

sensed contexts

Two context inconsistencies

found

Context changes (d2, d3), (d3, d4)

violate the constraint

Page 37: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Illustrative Example

37

d1 d2

d3

d4 d5

Constraint: The walking speed estimated from location changes should be less than 150% v

S.C. Cheung (HKUST) 2011

Useful constraints are those that can

affect the adaptive behavior of

connected physical objects

The average speed

obtained from the

sensed contexts

Page 38: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Research questions

• How to identify useful constraints?

• How to formulate constraints?

• How to model contexts?

• Do we have a time window on the contexts?

• How to evaluate constraints in view of new contexts?

• May multiple context changes be evaluated in different order?

• Can the evaluation be incrementally done?

• What if constraints are changed dynamically?

• May context inconsistencies be resolved?

38 S.C. Cheung (HKUST) 2011

[Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008, TOSEM 2010]

Page 39: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

What if adaptation defects?

39

d1 d2

d3

d4 d5

Likely induce transient bugs

S.C. Cheung (HKUST) 2011

Hard to catch without a test oracle

The minicar reports that it

has visited five locations

Page 40: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Interval-based analysis

• Partition context streams into intervals

• Cluster these intervals based on their physical and logical features

• Intervals that appear as outliners likely contain transient bugs

40 S.C. Cheung (HKUST) 2011

d1 d2

d3

d4 d5

[Ngai et al. Ad Hoc Networks 2010; Zhou et al. ICDCS 2010]

d1d2d3d4d5d6………..dndn+1

|d1d2d3d4d5| |d6…d12| … |...dndn+1|

The minicar reports that it

has visited five locations

Page 41: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Fault detection of adaptation logic

• How to model adaptation logic at design stage?

• Can we detect adaptation logic at design stage?

• What are adaptation design faults?

• What are the causes of adaptation design faults?

• Do these faults have patterns?

• Can we statically check adaptation design faults?

• Can we generate test cases for CPO systems from their design?

• Do we have new test coverage criteria for CPO systems?

41 S.C. Cheung (HKUST) 2011

[Lai et al. FSE 2008; Sama et al. TSE 2010, JSS 2010; Wang et al. ICSE 2007]

Page 42: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Conclusion

• Physical objects are no longer static, passive data; they

are intelligent agents that interact with each other and

our traditional software artifacts

– The data of physical things (e.g., states, properties) are from

everywhere, with noisy nature

– The logics of physical things (e.g., how to interact with each other)

are distributed everywhere

• There is an inevitable impact on application

development, software testing, and fault localization

– E.g., application code is distributed anywhere, composed at

runtime, and subject to change 42

Page 43: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

More research challenges

• How to update adaptive components dynamically?

• How to model such requirements?

• What is the role of middleware?

• Can middleware be dynamically updated as well?

• What if exceptions occur?

• Can new programming methodology help?

• What is a test case?

• How to define test oracles in a cyber-physical world?

43 S.C. Cheung (HKUST) 2011

[Ma, Baresi, Ghezzi et al. ESEC/FSE 2011]

Page 44: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

More research challenges

• How to update adaptive components dynamically?

• How to model such requirements?

• What is the role of middleware?

• Can middleware be dynamically updated as well?

• What if exceptions occur?

• Can new programming methodology help?

• What is a test case?

• How to define test oracles in a cyber-physical world?

44 S.C. Cheung (HKUST) 2011

The list is by no means

exhaustive

Page 45: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

More research challenges

• How to update adaptive components dynamically?

• How to model such requirements?

• What is the role of middleware?

• Can middleware be dynamically updated as well?

• What if exceptions occur?

• Can aspect-oriented development help?

• What is a test case?

• How to define test oracles in a cyber-physical world?

45 S.C. Cheung (HKUST) 2011

Solutions to these challenges

likely involve knowledge beyond

software engineering and even

computer science

Page 46: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Preliminary work at HKUST

video

Page 47: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Our RFID Test Labs

• Clear Water Bay (HKUST) Lab

• Nansha (HKUST) Lab

• Founding member of the Global RF Lab Alliance

(www.grfla.org) with other 7 international research labs

Page 48: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

RFID Test Lab (Clear Water Bay)

Page 49: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

RFID Test Lab (Clear Water Bay)

Page 50: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

RFID Test Lab (Clear Water Bay)

Page 51: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

RFID Test Lab (Clear Water Bay)

Page 52: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Test Lab (Nansha)

Page 53: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

Thank you

53 S.C. Cheung (HKUST) 2011

Page 54: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

54 S.C. Cheung (HKUST) 2011

Abstract

The advances of wireless and device technologies have led to seamless integration of

physical objects that are connected using wireless networks. Examples of physical objects

include sensors, Radio Frequency Identification tags, and transceivers that obtain

geographical location information. Physical computing systems are applications that built

upon these physical objects which intercepts real-time information of their environment.

The information can be used by physical computing systems to adapt their behavior.

However, construction of dependable physical computing systems poses new challenges

such as sensing ranges, power-awareness, computational models, and object mobility.

These challenges bring interesting research opportunities to program analysis, testing,

modeling and verification. In this talk, we will introduce several emerging physical

computing systems, review major challenges and discuss preliminary efforts.

Page 55: The multi-facets of building dependable …sei.pku.edu.cn/conference/ishcs/2011/cpo-ishcs11.pdfS.C. Cheung (HKUST) 2011 38 [Xu et al. ESEC/FSE 2005, ICSE 2006, SEAMS 2007, ICDCS 2008,

55 S.C. Cheung (HKUST) 2011

Biography

Dr. Shing-chi (S.C.) Cheung received his BEng degree in Electrical Engineering from The University of Hong Kong, and his Ph.D degree in Computing from the Imperial College London. In 1994 he joined The Hong Kong University of Science and Technology (HKUST) where he is a full professor in the Department of Computer Science and Engineering, and the director of RFID Center. He participates actively in the program and organizing committees of major international conferences on software engineering. He was an editorial board member of the IEEE Transactions on Software Engineering (TSE, 2006-9).

He is interested in studying software engineering issues related to program analysis, testing and debugging, services computing, cyber-physical systems, internet of things, and mining software repository.