We are creating a temperature scanning device that will allow us to enter buildings. The machine has different components. I have attached the UML and state diagrams along with the UML report.
Need to create sequence diagram and bullet points explaining the diagram.
The UML for the Crystal Machine includes several key classes that are essential to the
proper functioning of the device. The Power Source is a simple, yet key class that will serve as
the power source for the device. It is protected with a surge protector that will prevent the short
circuiting of the system due to an outage or change in power voltage and supplemented by a
backup generator that would kick in if the initial power supply were to fail. The Automated Door
System class is an automated door system that connects with the machine in order for the door to
automatically open when the employee passes. Its automated but offers built-in safety nets
should the door get stuck, in the forms of an emergency open push button that would open if the
power has failed, but still requires an employee key to open, meaning a power outage would not
compromise its security. The built-in timer will know how long to leave the door open before
closing but also has a built-in sensor to sense someone walking by.
Employees will use and interact with the door as well as add another layer of security in
the form of checking who is passing through the door besides the built-in features. The machine
is driven by and communicates with External Operations that serves as the devices database and
where the systems manager can control the machine. The machine will also conduct system
checks and produce machine reports in this class where the manager can also send out
commands to the machine. The Crystal Machine uses a Data Storage class that will hold any
preexisting data of people entering and leaving the building, maintaining and retaining this data.
The internal OS will serve as the machine’s main operating system, where the commands
sent and received are executed on the network as well as send messages and warnings to the
machine of other processes. The Display Screen will receive messages from the Internal OS and
work with that class and shows the results of passed or failed entrances on the monitor of the
machine. This display screen can receive and display messages as well as the temperatures of the
entering person. The Crystal Machine houses the Warning Led Lights that will display a green
led light if the person passes and is allowed in or if they fail a red led light will flash
demonstrating a denied entry.
The machine requires the scanners that are built in to work in unison to enable the person
trying to enter or deny their entry as part of security.
The Scanners Class is comprised of:
•
Biometric Scanner:
o
The Biometric scanner includes iris scanning technology that will compare the
potential entering person to preexisting biometrics in order to determine a pass or
fail signal as 1/3 of the Scanner Class entry process.
•
ID Scanner:
o
The ID scanner uses barcode technology that scans a person’s ID as they enter
and is compared to a database of ID’s to confirm they are allowed or not to enter
the building.
•
Temperature Scanner:
o
The Temperature scanner uses opx technology to determine an entering person’s
temperature and compared to a set temperature baseline will either be granted a
pass or fail metric as part of the Scanning class.
The Scanner class uses the sub-classes and their respective tests to create a collective test
result that would need a pass rating on all three subclasses to allow a “pass” result from the
Scanner class and allow entry.
The Crystal Machine has a Surveillance Camera class that houses lenses with the ability
to focus in and out as well as a microphone to record video as documentation proof of those
being allowed into the building or those being denied. The cameras also serve as an additional
safety net that ensure documentation of the door in the case of any tampering or foul play
involved.
Power
The state diagram begins with the power source where the cable is plugged into an outlet and provides
power.
Systems Check
Then, the machine will turn on and do a system check. The machine is continuously and routinely
providing a self-system check.
Idle
Once the system check has passed the machine will remain idle until it senses motion and begins to
check in people. If there is no motion it will remain idle.
Record
Once motion is detected it will begin to record and check in individuals who present themselves to the
machine.
Screen
The screen will display messages as the individual goes through each check in process or if there are
errors.
Steps
1. Temperature scanning: The machine will take the individuals temperature. If their temperature
is between _____ it will let them go through. If it is too high, it will display a message on the
screen. If it is unable to read their temperature it will keep attempting to do so until it has been
read.
2. ID scanning: Once the individual has passed their temperature scan, they must proceed to scan
their ID barcode on the machine’s scanner. If unable to scan, the machine will try three times
before it displays an error message on the screen.
3. Iris scanning: Once the ID process has been completed, they proceed to the iris scanner which
compares it to the one on their ID. If unable to read the iris the machine will try three times
before it displays an error message on the screen.
Unlocking door
When all steps highlighted above are complete the door will open and allow the individual to pass
through door.
Data
The machine and door are connected and will count the number of people that have walked inside
the building using Crystal Machine to make sure they are not exceeding capacity. After it is done
collecting data, the machine will go back to it’s idle phase for the next person who checks in.
Power
The state diagram begins with the power source where the cable is plugged into an outlet and provides
power.
Systems Check
Then, the machine will turn on and do a system check. The machine is continuously and routinely
providing a self-system check.
Idle
Once the system check has passed the machine will remain idle until it senses motion and begins to
check in people. If there is no motion it will remain idle.
Record
Once motion is detected it will begin to record and check in individuals who present themselves to the
machine.
Screen
The screen will display messages as the individual goes through each check in process or if there are
errors.
Steps
1. Temperature scanning: The machine will take the individuals temperature. If their temperature
is between 96-99 degrees Fahrenheit it will let them go through. If it is too high, it will display a
message on the screen. If it is unable to read their temperature or it is too low, it will keep
attempting to do so three times until it has been read before displaying an error message on the
screen.
2. ID scanning: Once the individual has passed their temperature scan, they must proceed to scan
their ID barcode on the machine’s scanner. If unable to scan, the machine will try three times
before it displays an error message on the screen.
3. Iris scanning: Once the ID process has been completed, they proceed to the iris scanner which
compares it to the one on their ID. If unable to read the iris the machine will try three times
before it displays an error message on the screen.
Unlocking door
When all steps highlighted above are complete the door will open and allow the individual to pass
through door.
Data
The machine and door are connected and will count the number of people that have walked inside
the building using Crystal Machine to make sure they are not exceeding capacity. After it is done
collecting data, the machine will go back to it’s idle phase for the next person who checks in.
Automated_Door_System
-door
-link_Arm
-electrical_latching system
-rechargeable battery
-emergency_push_button
-timer
-proximity sensor
+receive_commando
+open door
+ close door
+sense_obstades
+timer_countdown
Power Source
-cable plug
-backup_generator
-surge_protector
-watts
-power button
+provides power
1…
Employee
|-gender
-name
I-position
+works)
+pass through_door
+check_ino
Surveillance Camera
-lens
-focus
-mircophone
-Charged_coupled_device
-flash
+record_video
connects to
needs
has
1
1
Temperature_Scanner
-opx_technology
-laser
|-lamp
-CCD array
+scans_temperature
++ send_temperature
1…
use
1
requires
3
System Control Computer
-system_manager
-database
-computer
-proccessor
-ram
-memory
+receive_machine_reports
+review_system_checks
+stores_data_received
+fix_errorso
+sends_commands
Crystal Machine
-power_source
-scanners
-data storage
-internal os
-display screen
-surveillance camera
-warning_led_light
-motion_sensors
+scans_temperature)
+scans_IDO
+scans_iris
+display_messages
+live_recording
+flash_led_ligho
#senses_motion()
+count_people
Scanners
-technology
-laser
-preexisting data
kt
-lamp
-Charged coupled_device array
+scans_objects
<
+sends_test_results
ID_Scanner
-barcode_technology
-laser
+-preexisting_barcode
-lamp
-CCD array
+scans barcoded
+sends passo
+ sends failo
communicates
1...
1
Biometric Scanner
-iris_technology
-laser
-preexisting_biometrics
-lamp
-CCD array
+scans_iris)
+sends passo
+ sends failo
1
contains
2
uses
1
Warning Led Light
-optics
-chips
-heat_sink
-circuit board
+flash_light
1
utilizes
Data Storage
-capacity
-preexisting_data
-collected_data
|+stores data
| +receives_data
+returns_data
controls
1
Green_Led Light
-optics
|-chips
-heat_sink
-circuit_board
+flash_green_light
Red Led Light
-optics
-chips
-heat sink
-circuit board
#flash_Red_light
works with
Internal OS
-Main_operating system
|-processor
-network_connected
+execute_commands received
+send_door_commands
system_checko
+temperature_scanner_checko
+ID_scanner_checko
+iris_scanner_checko
+sends_messages
+sends_warning_lights
+report_failure
1
Display Screen
|-software
-glass_screen
-image_resolution
-data card
|-led_module
-text
-touch_sensors
1-Next_button
+receives_messages
+display_messages
+displays_nextstep
+executes_next_commando
+displays_temperature
+displays_passo
+displays failo
plugged in machine
continuous_self_check
system_passed
Power Source
entry / cable plug
do / provides power
System Reboot
do / system check
motion sensor activated
turned on
Idle
entry / motion_sensors
do / check_in
Recording
do / record_video
rechecked system
no motion detected
fixed_failure
system failed
began check in
initiated first step
initiated third step
System Failure
do / report failure
Showing of Screen
do / display_messages
temperature high
not recognized iris
final check completed
Temperature Scanning
do / scans_temperature
Iris Scanning
do / scans_iris
unable
to read
initiated
second step
barcode
reading
failed
Unlocking Door
do / open_door
exit / pass through door
unable to
identify
ID Scanning
do / scans_barcode
/
first check completed
second check completed
door closed
passed temp checking
passed iris checking
System Reboot
do / system check
unable to scan
Undating Data
do / count people
restarted process
began first
check
began third
check
passed ID
checking
began second
check
Temperature scanning check
do / temperature scanner check
ID scanning check
do / ID scanner check
Iris scanning check
do / iris scanner check
reported final
assessment
ID check failed
temp. check falled
System failure
do / report failure
iris check failed