Google
 
Site navigation: [ Home | Theory | Java | Moodle courses | Resource wiki | About ]

Types of processing

3.3.5, 3.5.6, 3.3.7
Batch, online and real-time processing

 

 

 

 

 

 

 

 

 

 

 

These descriptions refer to the time element of collecting and processing data.

 

 

 

 

 

 

 

 

 

 

 

 

 

In batch-processing the user won't wait around for results to appear or alter the process once it has started.



In batch-processing, the acces is often sequential, perhaps using a serial device like a magnetic tape drive.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The systems flowchart does not refer to algorithms but only to processes and devices.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In traditional data processing, the data files were typically sequential access and therefore held on tape.

These days, tape drives are relatively uncommon and disc files can be accessed either sequentially or directly as needed by the application.

On this page: [ batch | online/interactive | real-time | master & transaction files ]

Processing methods - batch, online/interactive and real-time

These refer to the basic data flow model we have seen before:

                                           

INPUT

|

PROCESS

|

OUTPUT

Data Flow Model

There are different ways of carrying out these tasks in a computer system; these have been broadly classified as follows:

Type Description
Batch

The data is collected before any processing takes place; it is then entered into the system in one go (a batch of data) and processed.

Online/interactive

The data is entered and processed right away.

Real-time This is a subset of online processing - the data is entered and processed right away. This is done quickly, the processing of data must be completed and produce an output in time to affect the next input.

Back to top

Batch processing systems (including payroll cheque processing)

As mentioned above, the key characteristic of batch processing is that all the data is collected first. In the simplest of payroll systems the hours worked by each employee need to be collected; similarly in cheque-processing systems a batch of cheques is collected to be input into the system in one go.

A systems flow chart is often used to describe such processes:

In cheque processing the cheque data is not input by hand but a direct data entry method is used. This will either be Optical Character Recognition ( OCR ) or Magnetic Ink Character Recognition (MICR ).

In this case the amount of money on the cheque will be encoded and then the appropriate amount can be deducted from the payer's account and added to the payee's account. Again, this is a simple view of the process.

Back to top

Interactive (online) processing
(including word processing & computer games)

In normal usage on-line means that a device is under the control of a computer but online has come to mean connected to a network or other computer system (in particular online relates to internet usage by people). The two terms are commonly used interchangeably.

Interactive or online processing means that data is processed by the system as it is entered - the user typically waits a short time for a response . Examples include booking systems (theatres, buses, airlines, hotels, etc) as well as applications like word-processing and games .

Because these applications respond right away to data input, the data files themselves are held on a fast-access medium such as a disc-drive. In addition, direct access would typically be used.

Word-processing a document might be represented in a systems flow chart as follows:

Back to top

Real-time processing (including air traffic control and patient monitoring)

Real-time processing is fast ; however, speed alone is not the only requirement. Some online systems, like the stock control system at a supermarket appear to operate instantaneously in reading barcodes and looking up prices.

The processing of input data and production of the output must take place in time to affect the next input to the system. For example, in the case of patient monitoring, a drug might be used to control the heartrate. The flow of this drug could be regulated by a computer system. Should the heartrate fall or stop, the drug flow must be altered immediately, before further readings are taken. In an air traffic control monitoring system, the display must be updated immediately the direction, speed, or height of the plane is altered.

Real-time processing is often associated with automatic data entry , this is when data is read from a sensor or other input device without human interaction.

The patient monitoring example might appear like this in a systems flow chart:

Back to top

Master and Transaction files

The Payroll processing demo shows the relationship between the transaction and master files.

Basically, the master file contains all of the data relating to a particular application (account holder details, employee details). The transaction file contains the data which will be needed to update the data file.

Updating is often one of three operations:

  • editing or changing data (eg a change of employee address)
  • adding data (eg, a new employee is added to the master file)
  • deleting data (am employee leaves or is fired)

A useful exercise would be to consider how each of these activities is carried out as a batch process.

Back to top

related: [ Common core home | previous: operating systems | next: reliability ]

 


 
The site is partly financed by advertising revenue, partly by online teaching activities and partly by donations. If you or your organisation feel these resouces have been useful to you, please consider a donation, $9.95 is suggested. Please report any issues with the site, such as broken links, via the feedback page, thanks.

Questions or problems related to this web site should be addressed to Richard Jones who asserts his right to be identified as the author and owner of these materials - unless otherwise indicated. Please feel free to use the material presented here and to create links to it for non-commercial purposes; an acknowledgement of the source is required by the Creative Commons licence. Use of materials from this site is conditional upon your having read the additional terms of use on the about page and the Creative Commons Licence. View privacy policy.

Creative Commons License


This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. © 2001 - 2009 Richard Jones, PO BOX 246, Cambridge, New Zealand;
This page was last modified: May 31, 2009