Specifications

Figure 17 shows the functional block and dataflow of the web server.
The functional block has three layers: the bottom layer is embedded Linux
which includes driver, kernel and some API; the upper layer is a web server
which has three items that are Thttpd, PHP and MySQL; the top layer is a
user browser, it may be any web browser, including I.E. or web browser of
cell phone.
The dataflow for accessing MySQL via a browser is shown as Figure
17; A user uses the web browser for sending the request (as a URL which
extension is php) to Thttpd web server which transfers the contents of the
web page to PHP interface if the web page of request is php script, PHP then
executes the php script, and accesses the database in MySQL that depend on
the content in php script, MySQL subsequently returns the data of database
to PHP, then PHP can send the web content back to Thttpd, finally, Thttpd
sends the web page to the browser.
3-4 The USB Camera Applications
3-4-1 Functional Diagram
Notification to
Cell Phone
Alarm
Motion Detect
Auto
Recode
Read Image
Display
Image
Save
Image
Video4Linux SDL JPEG
M318B Camera
Driver
Frame Buffer
Linux Kernel
Kernel Layer
Application
Layer
Driver Layer
Library
Layer
34