Presentation is loading. Please wait.

Presentation is loading. Please wait.

VIDEO LECTURE FROM LONDON NGN CONCEPTS/ computer programming/practical example how to write computer program for cheque monitoring system/ computer networking.

Similar presentations


Presentation on theme: "VIDEO LECTURE FROM LONDON NGN CONCEPTS/ computer programming/practical example how to write computer program for cheque monitoring system/ computer networking."— Presentation transcript:

1 VIDEO LECTURE FROM LONDON NGN CONCEPTS/ computer programming/practical example how to write computer program for cheque monitoring system/ computer networking SAB NETWORKS ON CURRENT TOPICS 14/12/2011 vedio

2 Telecom Network in Summary LE Land line Local EXDomestic Transport International Transport AccessIEX

3 A house has 3 different Communication Types Voice VideoData Land Phone Mobile Free TV (Antenna) Cable TV Satellite TV Internet Radio IP/TV

4 Land Phone Mobile Free TV (Antenna) Cable TV Satellite TV Internet Radio Who are the service providers in Sri Lanka? IP/TV

5 Land Phone Mobile Free TV (Antenna) Cable TV Satellite TV Internet Radio Who are the service providers in Sri Lanka? IP/TV Total = 42 Total = 7 Total = 4

6 Land Phone Mobile Cable TV Satellite TV Internet Radio Who are the service providers? IP/TV Free TV (Antenna)

7 Land Phone Mobile Free TV (Antenna) Cable TV Internet Radio IP/TV Satellite TV Who are the service providers?

8 Communication Types Personal Communication Interactive Delayed Interactive Land Phone Mobile Internet You need Bi-Directional Transmission Domestic Transport Network Core Element Soft Switch / Switches MSAN International Transport Network International Gateway Studio / Service provision Sub-core Elements BroadBand Public Communication You need only uni-Directional Transmission Free TV Cable TV Satellite TV Radio IP/TV

9 A Converge Network

10 A house got 3 different Communication Types Voice VideoData Land Phone Mobile Free TV (Antenna) Cable TV Satellite TV Internet How it access home? Wire Wireless Wire Wireless Wire or Wireless Voice Video Data

11 IMPACT OF CONVERGENCE

12 STRUCTURE OF CONVERGED MEDIA & COMMUNICATION NETWORK

13 Overall benefits of NGN network to Sri Lanka Quicker we embark on NGN quicker Sri lanka become the hub of the South Asia

14 Passive optical fibre network architecture Apon has a point to multipoint FTTH passive architecture using optical splitters(generally 16 to 1024 terminals(ONT=Optical Network Terminations)

15 P2P-Point to point optical network architecture Each end user has its own dedicated fibre from the exchange with a very high speed and high cost

16 TechnologyTypical Bandwidth per user (Mbit/s) Existing copper Local Loop (baseline)2–5 Fibre to the cabinet (FTTC)30–50 Fibre To The Home (FTTH – PON)80–100 Fibre To The Home (FTTH – P2P)100 Different NGA architectures will result in different band width to the end user The average bandwidth we can expect from each type of NGA Archtecture is given below

17 Triple-play metro evolution

18 Peak theoretical bandwidth for mobile broadband technologies

19 COMPUTER LANGUAGE SAB CURRENT TOPICS

20 BASICS WHY WE NEED A LANGUAGE? LANGUAGE IN A COMPUTER? BASIC MESSAGE- INSTRUCTION + DATA ASSEMBLY LANGUAGE THE DIFFICULLTY OF LOW LEVEL LANGUAGES? HIGH LEVEL LANGUAGES & COMPILER?

21 HOW TO RESOLVE A PROBLEM WITH A COMPUTER? ALGORITHM TEXTUAL ILLUSTRATION GRAPHICAL ILLUSTRATION SELECTION OF THE CORRECT HIGH LEVEL LANGUAGE DESIGNING THE INTERFACE/ HOW TO FEED THE INFORMATION TO THE COMPUTER? HOW TO KEEP THE DATA(DATA BASE FORMATION)

22 Software consist of… InterfaceLogicDatabase

23 Interface Storage No: Bank Code: Amount: cheque Type: Account Number: Insert Cheque Print Cheque Deposit Form Customer Name: Description Insert Cheque Details A - Compulsory B – Optional C D – Logic will provide No E

24 SAFE GUARDS SOURCE CODE OBJECT CODE SOFTWARE DOCUMENTATION

25 Cheque Deposit Monitoring System

26 Problem 1.Design cheque revenue income monitoring system for any organization. 2.Points to consider -no of banks -format of the cheque(cheque no, account no) -bank code/bank branch -category of the cheque(cross or open) -cheque is return in favour(organization/cash) -amount of the cheque -cheque is physical damage -date of the cheque

27 Procedure for cheque deposit 1.Verification of no of cheques that has to be deposited for each banks. 2.Filling the cheque depositing form for each bank. 3.Once the cheques are deposited filing the bank slip and inform to the system.

28 Calculation of monthly revenue Monthly statement received. Period of the statement. Major Parameters of the statement. Verification of cheque deposited. Process of handling dishonest cheques. No of cheques not realised due to lack of money in the bank and the manual process that has to be handled.

29 Calculation of each day revenue No of cheques for that date realised. Calculation of daily revenue from each bank and grand total of the revenue from all the banks. Calculation of monthly revenue from all banks. Overall verification of (total cheque deposited with total chq realised, no of cheques not realised and the amount, cheques not realised due to no fund available in the accounts. No of cheques that not realised.

30 Calculation of the revenue lost due to dishonest cheques.

31 PROCESS that has to be followed. Form 2 groups. Each groups giving the same projects. How to handle the post dated cheques./ How to store the cheques and how to withdraw the cheques for deposited. Identify the banks by each member. Cheque format and the monthly revenue format. Method of informing by each bank for the return cheques. The process that has to be followed for the return cheques. Method of verification of the monthly statement with deposited cheques.

32 Consideration for cheque networking 1.Cheque depositing has to be decentralized. 2.Calculation of monthly 3.Monthly statement monitoring statement has to be centralized. 4.How do you propose to network.

33 Software language... What is the suitable software language to develop this process. Give reasons why?

34 Safeguards... 1.How to store source codes/ object codes. 2.How do You propose to have software documentation.

35 Cheque management System

36 Contents Cheque Received Module Cheque Monthly Revenue Monitoring Module Cheque Depositing Module Delayed Revenue Monitoring Module Management Reports Module Distributed Centralized

37 Cheque Received Module Cheques are received from the station Then the cheques are recorded in a system by using a scanner After a cheque is received system will provide storage number Manually verify whether cheque detail are correct, specially the total amount

38 CSNCheque NoBank Bank No Amount on Cheque Type of cheque Depositing bank details Customer Details Cheque Data Format CrossCash Deposit Name

39 Cheque Depositing Module Based on the bank a deposit form is filled, outputted automatically Cheques are deposited to the bank Cheque deposits are monitored Depositing Form Cheque Data(cheque no, bank no, branch no, amount, cheque date, deposit date) Total For Office use Confirmation on depositing EmployeeDate Hard copy

40 Monthly Revenue Monitoring Module At the end of a depositing cycle of a bank, bank statements are received at a central point(headquarters) Statements are scanned into the system All deposited cheques are verified and the monthly revenue is calculated Cheque NoDateAmount

41 Unrealized cheques brought forward for next month Cheque NoDateAmount

42 Delayed revenue Monitoring Module If the deposited cheques are not returned they are not added to the revenue and will be monitored at the next billing cycle

43 Management reports module Monthly revenue reports Unrealized cheques report Delayed revenue reports Daily number of cheques report

44 Data Location of each station Cheque depositing account details How to store the cheque in each station Depositing bank addresses at each location Policies – How long a dated cheque can be accepted? – The process of handling return cheques – Cheque revenue monitoring on monthly basis. If a cheque is deposited at the end of the month the maximum duration the revenue can be realized is one month – Special monitoring of large value cheques to see if deposited before the end of the month

45 Character Recognition System Instead of manual data entry a character recognition system could be used to directly scan cheques into the system, to increase efficiency of the system Also letters with regards to return cheques from banks can also be scanned into the system for recording and automatic un- realization.

46 Summary Cheque Received Module Cheque Depositing Module Cheque Monthly Revenue Monitoring Module Delayed Revenue Monitoring Module Management Reports Module Character Recognition

47 Cheque receipt Management

48 Cheque Deposit Management

49 Revenue Management Networking

50 Revenue Management

51 BREATHING EXCERCISE NUMBER OF BREATHS FOR A MINUTE? STAND BREATH TO FILL YOUR LUNG, THEN DEBREATH COUNT THE NUMBER OF ACTIONS FOR A MINUTE OUR OBSERVATION VARIES FROM ONE PERSON TO ANOTHER PERSON/ HOW THEY HAVE UNDERSTOOD THEN WE TRY TO DRAW THE FLOW CHART

52 Start Counter = 0 Time < = 60 Sec. Counter = Counter + 1 Display Counter End True False Breathe In & out

53 Start Counter = 0 Time < = 60 Sec. Counter = Counter + 1 Display Counter End Time = 0 Lungs Full Breath De Breathe True False True False

54 Futhure study about cheque monitoring systems How to form the data base How to generate the storage number

55 Logic

56 Database A database is an organized collection of data for one or more purposes, usually in digital form. The data are typically organized to model relevant aspects of reality (for example, the availability of rooms in hotels), in a way that supports processes requiring this information (for example, finding a hotel with vacancies). This definition is very general, and is independent of the technology used. A database management system (DBMS) is a software package with computer programs that control the creation, maintenance, and use of a database. It allows organizations to conveniently develop databases for various applications by database administrators (DBAs) and other specialists. A database is an integrated collection of data records, files, and other objects. A DBMS allows different user application programs to concurrently access the same database.

57 Design a database Determine the purpose of your database - This helps prepare you for the remaining steps. Find and organize the information required - Gather all of the types of information you might want to record in the database, such as product name and order number. Divide the information into tables - Divide your information items into major entities or subjects, such as Products or Orders. Each subject then becomes a table. Turn information items into columns - Decide what information you want to store in each table. Each item becomes a field, and is displayed as a column in the table. For example, an Employees table might include fields such as Last Name and Hire Date. Specify primary keys - Choose each table’s primary key. The primary key is a column that is used to uniquely identify each row. An example might be Product ID or Order ID. Set up the table relationships - Look at each table and decide how the data in one table is related to the data in other tables. Add fields to tables or create new tables to clarify the relationships, as necessary. Refine your design - Analyze your design for errors. Create the tables and add a few records of sample data. See if you can get the results you want from your tables. Make adjustments to the design, as needed. Apply the normalization rules - Apply the data normalization rules to see if your tables are structured correctly. Make adjustments to the tables

58 Database Data example Database PIN Number(int(8), PRIMARY_KEY, NOT_NULL) Bank Account(int(10),NOT_NULL) Cheque No(int(6), NOT_NULL) Bank No(int(4), NOT_NULL) Amount(float(7), NOT_NULL) Cheque Date(datetime, NOT_NULL) Cheque Deposit Date(datetime, NOT_NULL) Storage No(int(4), NOT_NULL) Customer Name(varchar(50)) Description(varchar(500))

59 Implementation Process Create Database Design Interface Apply Logic

60 Creating Database MSSQL 2005 is used for this implementation.

61 Creating database conts…

62

63 Creating a table in database

64

65 Generating Storage No To generate Storage number we used another table,This table is managed to provide proper ID number for Cheque Master table that is created above.

66 Genstorageno table

67 Generate storage number Storage number is generated using stored procedure. Template Storage No: Letter(I Digit)+Year(2digits)+Sequence No(4digits) Eg:C110001

68 How to create a stored procedure Select Database  programmerbility  Stored procedure

69 Stored procedure for generate storage No CREATE PROCEDURE varchar (10) OUTPUT AS Begin int set nocount on = dbo.GenStorageNo.gYear FROM dbo.GenStorageNo WHERE dbo.GenStorageNo.gYear = DATEPART(year, GETDATE()) ;

70 conts = 4 - = 'C' UPDATE dbo.GenStorageNo SET ref = ref +1 WHERE dbo.GenStorageNo.gYear = DATEPART(year, GETDATE()) ; End

71 Sql Procedure to Insert Cheque details ALTER PROCEDURE varchar int output AS

72 conts Begin INSERT INTO tblChequeMaster (CheckStorageNo,CheckNo,BankAccountNo,cAmount,ChequeDate, ChequeDipositDate,CustomerName,CustomerNICNo,Description) VALUES SELECT End

73 Sqlprocedure to display saved data ALTER PROCEDURE [dbo].[ShowChequeDetails] AS Begin SELECT CheckStorageNo,CheckNo,BankAccountNo,cAmount,ChequeDate, ChequeDipositDate,CustomerName,CustomerNICNo,Description FROM tblChequeMaster End

74 Interface for save cheque details

75 Code behind part(logic) Here the programming language selected is ASP.NET 2005 When you ready to save data(once you click on save button). The system is generated storage number. Next saved cheque details to database

76 Generate Storage number To generate store No you need to call stored procedure that you build above. First we need to build a connectionstring to communicate interface and database.

77 connectionstring to communicate interface and database private SqlConnection GetConnection(string connectionString) { SqlConnection connection = new SqlConnection(connectionString); connection.Open(); return connection; }

78 Call generate store no sp private string GenStorageNo() { SqlConnection connection = null; try { try { connection = GetConnection(ConfigurationManager.ConnectionStrings["Sample_ConnectionString"].ConnectionString); } catch { ClientScript.RegisterStartupScript(GetType(), "Message", " alert('The connection with the database can´t be established'); "); // return; }

79 conts SqlParameter[] arParms = new SqlParameter[1]; arParms[0] = new SqlDbType.VarChar, 15); arParms[0].Direction = ParameterDirection.Output; SqlHelper.ExecuteNonQuery(connection, CommandType.StoredProcedure, "genStorageNumber", arParms); return arParms[0].Value.ToString(); } catch (Exception ex) { return ""; } finally { if (connection != null) connection.Dispose(); }

80 Save cheque details to database You need to call stored procedure that you build above.

81 Calling save sp private void SaveChequeData(string CheckStorageNo, string CheckNo, string BankAccountNo, decimal cAmount, DateTime ChequeDate, DateTime ChequeDipositDate, string CustomerName, string CustomerNICNo, string Description) { // SqlConnection that will be used to execute the sql commands SqlConnection connection = null; try { try { connection = GetConnection(ConfigurationManager.ConnectionStrings["Sample_ConnectionString"].ConnectionString); } catch { ClientScript.RegisterStartupScript(GetType(), "Message", " alert('The connection with the database can´t be established'); "); return; }

82 SqlParameter[] arParms = new SqlParameter[11]; Input Parameter //// assign value = 1 arParms[0] = new SqlDbType.Int); arParms[0].Direction = ParameterDirection.Output; Output Parameter arParms[1] = new SqlDbType.VarChar, 20); arParms[1].Value = CheckStorageNo; Output Parameter arParms[2] = new SqlDbType.VarChar, 20); arParms[2].Value = BankAccountNo; Output Parameter arParms[3] = new SqlDbType.Decimal); arParms[3].Value = cAmount;

83 conts arParms[4] = new SqlDbType.DateTime); arParms[4].Value = ChequeDate; arParms[5] = new SqlDbType.DateTime); arParms[5].Value = ChequeDipositDate; arParms[6] = new SqlDbType.VarChar, 15); arParms[6].Value = CustomerName; arParms[7] = new SqlDbType.VarChar, 15); arParms[7].Value = CustomerNICNo; arParms[8] = new SqlDbType.VarChar, 500); arParms[8].Value = Description; arParms[9] = new SqlDbType.VarChar, 15); arParms[9].Value = CheckNo;

84 conts SqlHelper.ExecuteNonQuery(connection, CommandType.StoredProcedure, "SaveChequeDetails", arParms); if (arParms[0].Value.ToString() != null) { lblhelp.Text = "Great Success!, Record Saved."; string errMessage = " Record Saved Succsfully "; ClientScript.RegisterStartupScript(GetType(), "Message", " alert('" + errMessage + "'); "); } else { lblhelp.Text = "Please check, there is a mistake"; string errMessage = ""; errMessage = " Record Save Faile "; ClientScript.RegisterStartupScript(GetType(), "Message", " alert('" + errMessage + "'); "); }

85 conts catch (Exception ex) { lblhelp.Text = ex.Message + " " + "Please See Your IT Helper."; string errMessage = ""; for (Exception tempException = ex; tempException != null; tempException = tempException.InnerException) { errMessage = "Some Fields Empty. Unable to Save Data!"; ClientScript.RegisterStartupScript(GetType(), "Message", " alert('" + errMessage + "'); "); } } finally { if (connection != null) connection.Dispose(); }

86 Now what to do? Proceed with all other modules!

87 Computer networking Dynamic IP address Static IP addresses Lease lines Virtual private network Internet data centres Computer farms Computer clouding!


Download ppt "VIDEO LECTURE FROM LONDON NGN CONCEPTS/ computer programming/practical example how to write computer program for cheque monitoring system/ computer networking."

Similar presentations


Ads by Google