Project Review P.Siva krishna 091fb08023. Under The guidence of  P SUBBARAO Assi Prof.
Problem Oriented Software Engineering: Solving The Package Router Control Problem
Agenda <ul><li>We present the basic elements of Problem Oriented Software Engineering (POSE), which aims at bringing both ...
Motivation <ul><li>The properties  are not necessarily expressible in any single linguistic system. </li></ul><ul><li>The ...
Justification <ul><li>A detailed and systematic POSE development of a software problem that of  designing the controller f...
 
SYSTEM REQUIREMENTS <ul><ul><ul><li>HARDWARE REQUIREMENTS  </li></ul></ul></ul><ul><ul><ul><li>  Hard disk : 40GB </li></u...
<ul><li>SOFTWARE REQUIREMENTS </li></ul><ul><li>Front end : java Swing </li></ul><ul><li>Tool  : JFrameBuilder </li></ul><...
DESIGN Data Flow Diagram On/off Conveyor Belt Reading Station Switch Misrouted Display Destination Yes No
Modules <ul><li>Controller </li></ul><ul><li>Conveyor Belt </li></ul><ul><li>Reading Station </li></ul><ul><li>Switch </li...
Module Description 1 <ul><li>Controller </li></ul><ul><li>It controls the on/off switch, based on the controller the contr...
<ul><li>Controller  </li></ul><ul><li>Given Input  Switch on the controller. </li></ul><ul><li>Given Output </li></ul><ul>...
Module Description 2 <ul><li>Conveyor Belt </li></ul><ul><li>The belt was activated by the controller and the packet is ge...
<ul><li>Module2   </li></ul>Conveyor Belt Reading Station Packets are sent to  reading  station
Module Description 3 <ul><li>Reading Station </li></ul><ul><li>Packet’s id and destination are noted by the reading statio...
Packets are checked in switch Reading station Switch Misrouted Display Destination yes
Module Description 4 <ul><li>Switch </li></ul><ul><li>Switch will control the loss and lossless packets and it will sent t...
Packets reached to the  Switch Dest1 Dest2
<ul><li>Use Case Diagram: </li></ul>
Activity Diagram:
Class Diagram:
CODE: <ul><li>Controller.java </li></ul><ul><li>public class Controller extends javax.swing.JFrame  </li></ul><ul><li>{ </...
<ul><li>jLabel2.setName(&quot;jLabel2&quot;);  </li></ul><ul><li>getContentPane().add(jLabel2);  </li></ul><ul><li>jLabel2...
<ul><li>} </li></ul><ul><li>}  </li></ul><ul><li>getContentPane().add(jButton2); </li></ul><ul><li>jButton2.setBounds(200,...
Advantages <ul><li>In this system they are considering both formal aspects and non-formal aspects, so we  can find the sol...
Upcoming SlideShare
Loading in …5
×

Problem oriented software engineering01

967 views

Published on

router control problem

Published in: Education, Technology, Business
2 Comments
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
967
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
21
Comments
2
Likes
0
Embeds 0
No embeds

No notes for slide

Problem oriented software engineering01

  1. 1. Project Review P.Siva krishna 091fb08023. Under The guidence of P SUBBARAO Assi Prof.
  2. 2. Problem Oriented Software Engineering: Solving The Package Router Control Problem
  3. 3. Agenda <ul><li>We present the basic elements of Problem Oriented Software Engineering (POSE), which aims at bringing both non formal and formal aspects of software development together in a single framework. </li></ul><ul><li>We provide an example of a detailed and systematic POSE development of a software problem: that of designing the controller for a package router. </li></ul>
  4. 4. Motivation <ul><li>The properties are not necessarily expressible in any single linguistic system. </li></ul><ul><li>The notion of mathematical (logical) proof does not apply to them. </li></ul><ul><li>Some approaches address only the formal concerns, usually in a single formal language. </li></ul><ul><li>others address only the non-formal concerns by using several languages, which often cannot be reconciled. </li></ul>
  5. 5. Justification <ul><li>A detailed and systematic POSE development of a software problem that of designing the controller for a package router. </li></ul><ul><li>POSE which aims at bringing both non-formal and formal aspects of software development together in a single framework. </li></ul><ul><li>POSE is intended to provide a structure within which the results of different development activities can be combined and reconciled. </li></ul>
  6. 7. SYSTEM REQUIREMENTS <ul><ul><ul><li>HARDWARE REQUIREMENTS </li></ul></ul></ul><ul><ul><ul><li> Hard disk : 40GB </li></ul></ul></ul><ul><ul><ul><li> Monitor : 15’ inches </li></ul></ul></ul><ul><ul><ul><li> RAM : 256 MB RAM </li></ul></ul></ul><ul><ul><ul><li> Processor : Pentium 4/2.4 GHZ </li></ul></ul></ul>
  7. 8. <ul><li>SOFTWARE REQUIREMENTS </li></ul><ul><li>Front end : java Swing </li></ul><ul><li>Tool : JFrameBuilder </li></ul><ul><li>Os : windows xp </li></ul>
  8. 9. DESIGN Data Flow Diagram On/off Conveyor Belt Reading Station Switch Misrouted Display Destination Yes No
  9. 10. Modules <ul><li>Controller </li></ul><ul><li>Conveyor Belt </li></ul><ul><li>Reading Station </li></ul><ul><li>Switch </li></ul>
  10. 11. Module Description 1 <ul><li>Controller </li></ul><ul><li>It controls the on/off switch, based on the controller the control goes to other modules. Controller controls all the process involved in Package router problem. </li></ul>
  11. 12. <ul><li>Controller </li></ul><ul><li>Given Input Switch on the controller. </li></ul><ul><li>Given Output </li></ul><ul><li>The control will pass to the other modules and the packets will sent to the particular destination. </li></ul><ul><li>Module1 </li></ul>On/off ConveyoR Belt Cocontroller
  12. 13. Module Description 2 <ul><li>Conveyor Belt </li></ul><ul><li>The belt was activated by the controller and the packet is generated from the conveyor belt. Datas and other jobs such as splitting packets those jobs are handled in Conveyor Belt </li></ul>
  13. 14. <ul><li>Module2 </li></ul>Conveyor Belt Reading Station Packets are sent to reading station
  14. 15. Module Description 3 <ul><li>Reading Station </li></ul><ul><li>Packet’s id and destination are noted by the reading station and the packets are sent to the other modules. </li></ul>
  15. 16. Packets are checked in switch Reading station Switch Misrouted Display Destination yes
  16. 17. Module Description 4 <ul><li>Switch </li></ul><ul><li>Switch will control the loss and lossless packets and it will sent the packets to the corresponding destination. </li></ul>
  17. 18. Packets reached to the Switch Dest1 Dest2
  18. 19. <ul><li>Use Case Diagram: </li></ul>
  19. 20. Activity Diagram:
  20. 21. Class Diagram:
  21. 22. CODE: <ul><li>Controller.java </li></ul><ul><li>public class Controller extends javax.swing.JFrame </li></ul><ul><li>{ </li></ul><ul><li>public Controller() </li></ul><ul><li>{ </li></ul><ul><li>initComponents(); </li></ul><ul><li>setSize(400,300); </li></ul><ul><li>setLocation(350,350); </li></ul><ul><li>} // <editor-fold defaultstate=&quot;collapsed&quot; desc=&quot;Generated Code&quot;>//GEN-BEGIN:initComponents </li></ul><ul><li>private void initComponents() </li></ul><ul><li>{ </li></ul><ul><li>jLabel1 = new javax.swing.JLabel(); </li></ul><ul><li>jLabel2 = new javax.swing.JLabel(); </li></ul><ul><li>jButton1 = new javax.swing.JButton(); </li></ul><ul><li>jButton2 = new javax.swing.JButton(); </li></ul><ul><li>setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); </li></ul><ul><li>getContentPane().setLayout(null); </li></ul><ul><li>jLabel1.setFont(new java.awt.Font(&quot;Comic Sans MS&quot;, 1, 18)); </li></ul><ul><li>jLabel1.setText(&quot;Package Router Control Problem&quot;); </li></ul><ul><li>jLabel1.setName(&quot;jLabel1&quot;); </li></ul><ul><li>getContentPane().add(jLabel1); </li></ul><ul><li>jLabel1.setBounds(60, 10, 290, 40); </li></ul>
  22. 23. <ul><li>jLabel2.setName(&quot;jLabel2&quot;); </li></ul><ul><li>getContentPane().add(jLabel2); </li></ul><ul><li>jLabel2.setBounds(160, 60, 80, 20); </li></ul><ul><li>jButton1.setFont(new java.awt.Font(&quot;Comic Sans MS&quot;, 1, 12)); </li></ul><ul><li>jButton1.setText(&quot;Start&quot;); </li></ul><ul><li>jButton1.setName(&quot;jButton1&quot;); </li></ul><ul><li>jButton1.addActionListener(new java.awt.event.ActionListener() </li></ul><ul><li>{ </li></ul><ul><li>public void actionPerformed(java.awt.event.ActionEvent evt) </li></ul><ul><li>{ </li></ul><ul><li>jButton1ActionPerformed(evt); </li></ul><ul><li>} </li></ul><ul><li>} </li></ul><ul><li>getContentPane().add(jButton1); </li></ul><ul><li>jButton1.setBounds(100, 140, 90, 27); </li></ul><ul><li>jButton2.setFont(new java.awt.Font(&quot;Comic Sans MS&quot;, 1, 12)); </li></ul><ul><li>jButton2.setText(&quot;Exit&quot;); </li></ul><ul><li>jButton2.setName(&quot;jButton2&quot;); </li></ul><ul><li>jButton2.addActionListener(new java.awt.event.ActionListener() </li></ul><ul><li>{ </li></ul><ul><li>public void actionPerformed(java.awt.event.ActionEvent evt) </li></ul><ul><li>{ jButton2ActionPerformed(evt); </li></ul>
  23. 24. <ul><li>} </li></ul><ul><li>} </li></ul><ul><li>getContentPane().add(jButton2); </li></ul><ul><li>jButton2.setBounds(200, 140, 90, 27); </li></ul><ul><li>pack(); </li></ul><ul><li>}p </li></ul><ul><li>rivate void jButton1ActionPerformed(java.awt.event.ActionEvent evt) </li></ul><ul><li>{ </li></ul><ul><li>GEN-FIRST:event_jButton1ActionPerformed </li></ul><ul><li>Conveyor con=new Conveyor(); </li></ul><ul><li>con.show(); </li></ul><ul><li>} </li></ul><ul><li>GEN-LAST:event_jButton1ActionPerformed </li></ul><ul><li>{ </li></ul><ul><li>public static void main(String args[]) </li></ul><ul><li>{ </li></ul><ul><li>java.awt.EventQueue.invokeLater(new Runnable() </li></ul><ul><li>{ public void run() </li></ul><ul><li>{ </li></ul><ul><li>new Controller().setVisible(true); </li></ul><ul><li>} </li></ul><ul><li>}); </li></ul><ul><li>} // Variables declaration - do not modify//GEN-BEGIN:variables </li></ul><ul><li>private javax.swing.JButton jButton1; </li></ul><ul><li>private javax.swing.JButton jButton2; </li></ul><ul><li>private javax.swing.JLabel jLabel1; </li></ul><ul><li>private javax.swing.JLabel jLabel2; </li></ul><ul><li>// End of variables declaration//GEN-END:variables </li></ul><ul><li>} </li></ul>
  24. 25. Advantages <ul><li>In this system they are considering both formal aspects and non-formal aspects, so we can find the solution of the given problem. </li></ul>

×