Multitech MR4800E Bedienungsanleitung Seite 12

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 17
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 11
US
6,219,708
B1
9
A
reference
of
Webmmm/getfaults
Would
result
in
the
resource
performing
the
function
PerformGetFaults,
as
shown
below:
void
PerformGetFaults(
tRequest
*Request
)
{
char
*OuputBuffer;
tFault
Fault
OutputBuffer
=
malloc(
MAXiOUTPUTiBUFFERiLENGTH
);
OutputBuffer[O]
=
‘\O’;
if(
GetFirstFaultTableEntry(
&Fault
) )
//
one
or
more
faults
exist
in
the
fault
table
strcat(
OutputBuffer,
“<table>”
);
strcat(
OutputBuffer,
“<tr>”
)
strcat(
OutputBuffer,
“<th
colspan=3
align=center>”
);
strcat(
OutputBuffer,
“Fault/Status
Events”
)
strcat(
OutputBuffer,
“</th>”
)
strcat(
OutputBuffer,
“</tr>”
)
strcat(
OutputBuffer,
“<tr>”
)
strcat(
OutputBuffer,
“<th>Date/I‘ime</th>”
);
strcat(
OutputBuffer,
“<th>Device</th>”
);
strcat(
OutputBuffer,
“<th>Message</th>”
);
strcat(
OutputBuffer,
“</tr>”
);
do
{
strcat(
OutputBuffer,
“<tr>”
)
strcat(
OutputBuffer,
“<td>”
);
strcat(
OutputBuffer,
Fault.DateTime
);
strcat(
OutputBuffer,
“</td>”
);
strcat(
OutputBuffer,
“<td>”
);
strcat(
OutputBuffer,
Fault.Device
)
strcat(
OutputBuffer,
“</td>”
)
strcat(
OutputBuffer,
“<td>”
)
strcat(
OutputBuffer,
Fault.Message
);
strcat(
OutputBuffer,
“</td>”
);
strcat(
OutputBuffer,
“</tr>”
);
)While(
GetNextFaultTableEntry(
&Fault
) );
strcat(
OutputBuffer,
“</table>”
);
15
25
30
else
{
//
the
fault
table
is
empty
strcat
(
OutputBuffer,
“<center>”
)
strcat
(
OutputBuffer,
“<h3>”
)
strcat
(
OutputBuffer,
“No
Fault/Status
Information”
)
strcat
(
OutputBuffer,
“</h3>”
)
strcat
(
OutputBuffer,
“</center>”
)
35
ReturnOutputData(
Request,
OutputBuffer,
4O
strlen(
OutputBuffer
)
);
free
(
OutputBuffer
);
The
routine
allocates
an
output
buffer,
retrieves
faults
and
prepares
outputs.
The
routine
?lls
the
output
buffer
With
the
desired
information
in
HTML
format
and
sends
the
output
buffer
back
to
the
client
broWser
for display.
The
results
are
returned
to
the
user
using
an
existing
TCP/IP
interface
such
as
the
Sockets
interface.
The
user
may
perform
another
operation
after
this
operation
is
completed.
BroWser
Based
Management
TCP/IP
offers
additional
protocols
Which
are
useful
as
management
tools.
File
Transfer
Protocol
(FTP)
may
be
used
to
receive
?les
used
by
the
communications
device
for
con?guration
and
security,
and
to
transmit
?les
containing
communication
event
information
Which
could
be used
for
analysis.
Telnet
may
be used
to
provide
a
simple
command
line
interface
to
perform
management
operations
(e.g.
reset
ting
devices,
con?guring
devices,
etc.).
In
one
embodiment
of
the
present
netWork
resource
management
system,
Hyper
text
Transfer
Protocol
(HTTP)
is
used
to
create
a
graphical
6
user
interface
(GUI)
to
management
functions
and
informa
tion.
These
TCP/IP
protocols
give
the
management
and
control
of
the
MultiModemManager
system
platform
independence.
When
developing
a
proprietary
solution,
one
must
develop
ment
management
softWare
for
each
supported
computer
platform/operating
system.
Since
the
present
system
uses
50
65
10
standard
protocols
(SNMP,
FTP,
Telnet,
HTTP),
the
man
agement
is
platform
independent.
Management
of
the
sys
tem
takes
place
from
any
platform
residing
on
the
same
TCP/IP
netWork
(either
internet
or
intranet).
HTTP
alloWs
for
platform
independent
broWser
based
management
Which
provides
an
easy
to
use
GUI
that
is
extensible
through
the
use
of
Java
applets
and
Hypertext
Markup
Language
(HTML)
extensions.
The
folloWing
is
a
description
of
hoW
a
netWork
module
can
be
programmed
to
provide
netWork
resource
management
using
existing
broWser
softWare
at
the
client.
The
folloWing
examples
demonstrate
one
system
of
management
centered
around
HTTP
using
HTML
documents
and
Java
applets
Which
provide
dynamic
content
and
a
useable
management
inter
face
from
any
platform.
Other
protocols
and
languages
may
be
substituted
Without
departing
from
the
scope
and
spirit
of
the
present
invention.
The
MultiModemManager
system
is
comprised
of
hard
Ware
and
softWare
components
to
alloW
for
the
control,
con?guration,
analysis
and
security
of
communication
resources.
The
management
of
those
resources
in
many
Ways
mirror
this
by
providing
the
interface
to
those
areas.
With
SNMP,
a
Management
Information
Base
(MIB)
contains
all
the
information
available
about
a
system.
With
broWser
based
management,
HTML
documents
Will
be
used
to
get
user
input
and
display
requested
information.
Where
it
is
necessary
Java
Will
be used
at
the
broWser
to
process
received
data
so
that
it
can
be
more
easily
be
displayed
or
recorded.
Access
Control
Users
of
the
broWser
based
management
Will
be
prompted
for
their
user
name
and
passWord.
Multiple
levels
of
access
are
administered.
Guest
access
alloWs
the
user
to
vieW
information
about
the
system,
but
is
unable
to
perform any
actions against
the
communications
device.
Operator
access
alloWs
the
user
to
perform
simple
non-destructive
operations
Which
are
needed
to
maintain
the
system.
Supervisor
access
alloWs
full
access
to
all
administrative
commands
alloWed
by
the
communications
device.
This
security
check
must
be
passed
in
order
to
gain
access
to
the
broWser
based
management
system.
HTTP
provides
a
basic
challenge-response
authoriZation
mechanism
that
can
be used
to
control
access
to
an
HTML
page.
Alternate
embodiments
incorporate
additional
schemes
to
increase
security
When
necessary.
Control
In
one
embodiment,
once
access
to
the
system
is
gained,
HTML
pages
are
used
to
get
user
input
to
perform
tasks
according
the
users
access
level.
Hyperlinks
are
provided
to
various
operations
that
can be
performed.
The
folloWing
is
a
demonstration
using
HTML
source
code
to
create
a
list
of
operations:
<p>
Communication
Device
Operations:
<ul>
<li><a
href=“Webmm/con?g.html”>Con?gure
Device</a>
<li><a
href=“Webmmm/reset.html">Reset
Device</a>
<li><a
href=“Webmmm/setoos.html”>Place
Device
Out
Of
Service</a>
<li><a
href=“Webmmm/clearoos.html”>Place
Device
In
Service</a>
</ul>
To
make
the
user
interface
more
graphic,
icons
are
used
in
alternate
embodiments
to
represent
the
actions/operations
to
be
performed.
The
icons
are
saved
in
Graphics
Interchange
Format
(GIF).
Seitenansicht 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17

Kommentare zu diesen Handbüchern

Keine Kommentare