The doorbell that never stops watching
A smart doorbell has a camera. It films all day and sends every second of video to a computer far away.
One evening the home internet stops. The doorbell cannot send anything. A visitor arrives and nobody is told.
Could the doorbell be smarter? Could it decide for itself what to send? This is the idea of edge computing.
Key words
| Word | What it means | Example |
|---|---|---|
| Storage medium | A device or service that keeps data. | A phone memory card or a hard disk |
| Terabyte (TB) | A unit of storage. One TB is 1,000 GB. | A big laptop disk |
| Quantum computer | A computer that uses the rules of very tiny things. | A research machine |
| Qubit | A quantum computer's bit, which can hold a mix of 0 and 1. | A quantum bit |
| Encryption | Scrambling (mixing up) data so only the right person can read it. | A secret code on your messages |
| Internet of Things | Everyday objects with sensors that connect to the internet. | A smart heating system |
| Sensor | A part that measures something. | A temperature sensor |
| Edge computing | Working on data close to where it is made. | A doorbell that decides what to send |
| Latency | The delay before data arrives. | A video call with a long delay |
The cells students fill in are left blank in this preview.
Check: what goes wrong with the doorbell?
Have a go
Check: what goes wrong with the doorbell?
3 questionsWe need more storage every year
Every photo, film, message and game save uses storage. A storage medium is any device or service that keeps data.
Demand goes up every year. Phone cameras make bigger photos. Films come in higher quality. Companies keep records for many years. AI needs huge amounts of data.
More storage means more machines in data centres (buildings full of computers), more electricity and more cost.
Worked example: how big is a TB?
| Unit | Size | Roughly holds |
|---|---|---|
| Kilobyte (KB) | 1,000 bytes | A short text message |
| Megabyte (MB) | 1,000 KB | One phone photo, about 4 MB |
| Gigabyte (GB) | 1,000 MB | A film, about 3 GB |
| Terabyte (TB) | 1,000 GB | About 250,000 photos |
| A 64 GB phone | 64 x 1,000 = 64,000 MB (64 times 1,000) | 64,000 divided by 4 = 16,000 photos |
The cells students fill in are left blank in this preview.
Try it: how many photos fit?
photo_mb = 4
phone_gb = 64
phone_mb = phone_gb * 1000
print(phone_mb // photo_mb)
# Change phone_gb to 128, then press Run again.
# Now change photo_mb to 8. How does the number change?
Make a free account to save your work and track your progress.
Match each storage type to its use
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Qubits can be 0 and 1 together
A normal computer uses bits. A bit is 0 or 1.
A quantum computer uses qubits. A qubit can be a mix of 0 and 1 at the same time. For some special problems this lets the machine try many answers together.
Quantum computers are still new, big and expensive. They will not replace your laptop.
Quantum computers: gains and worries
| Possible gain | Possible worry |
|---|---|
| Test new medicines on a computer before making them | They are very expensive, so only a few groups have them |
| Plan the best routes for thousands of vans | A strong one might break some of today's encryption |
| Faster searches in huge sets of data | Most must be kept very, very cold, which uses a lot of energy |
The cells students fill in are left blank in this preview.
Check: quantum computers and codes
Have a go
Check: quantum computers and codes
3 questionsIoT objects sense and connect
The Internet of Things (IoT) is everyday objects with sensors that connect to the internet. A sensor measures something, such as heat, light or movement.
The object collects data and sends it. It may also get orders back. A smart heating system sees the room is cold and turns on.
Match each device to where it is used
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
A new device is not safe yet
Warning
Many people think a new smart device is safe to plug in and forget. Many cheap devices have weak passwords and never get updates. A hacker can use them to spy or to attack other systems. Change the password the device came with, and install its updates.
Edge computing: decide near the sensor
Edge computing has four gains
Edge computing means doing the work close to where the data is made. The doorbell or the factory sensor does some thinking itself.
There is less latency (delay), because nothing travels far. It uses less internet, which saves money. It still works if the connection fails. Private data may also stay on the device.
Your turn: filter at the edge
Fill in three functions.
- Work out how many photos fit on a phone. One GB is 1000 MB. Use whole numbers.
- Keep only the temperature readings that are too low or too high. This is edge computing: only unusual readings are sent.
- Give back text such as "Sent 3 of 4 readings".
Press Run Tests to check your work.
def photos_that_fit(storage_gb, photo_mb):
# 1 GB is 1000 MB. How many whole photos fit?
return 0
def edge_filter(readings, low, high):
# Keep only the readings that are below low or above high.
return None
def edge_summary(readings, low, high):
# Give back text like: Sent 2 of 4 readings
return ""
Make a free account to save your work, or press Start lab to work through the whole lesson.
Watch: what should the doorbell send?
Press Play on the short film below. It goes through the lesson again: the doorbell, storage, qubits, the Internet of Things and edge computing, each with its good and bad points. Listen for the myth at the end.
Film: storage, qubits, IoT and edge computing
Storage, quantum computers and the Internet of Things
Every scene, as text
- The doorbell that never stops watching. A smart doorbell films all day and sends every second of video far away (bad). One evening the home internet stops. A visitor arrives, and nobody is told (bad). Could the doorbell decide for itself what to send?
- Storage medium: a device or service that keeps data, such as a phone memory card or a hard disk. Phone cameras make bigger photos, and demand goes up every year (bad). More storage means more machines, more electricity and more cost (bad).
- Qubit: a quantum computer's bit, which can hold a mix of 0 and 1. A normal computer's bit is 0 or 1. A quantum computer's qubit can hold a mix of 0 and 1. For some special problems, this lets it try many answers together (good). But a strong quantum computer might break some of today's encryption (bad).
- Internet of Things: everyday objects with sensors that connect to the internet. A sensor is a part that measures something. A smart heating system sees the room is cold and turns on (good). But many cheap devices have weak passwords (bad). Change the password, and install their updates (a tick beside it: right).
- Edge computing: working on data close to where it is made, such as a doorbell that decides what to send. If the home internet stops, the doorbell still works (good). And there is less latency, the delay before data arrives, because nothing travels far (good).
- Myth (false): edge computing means no internet at all. It does not: it uses less internet. The lesson's diagram: is a reading normal? It is checked on the device. Normal: send nothing (good: it uses less internet). Too hot: it still sends an alert to the cloud (good: it still uses the internet for alerts), and a person is told.
Key words crossword
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Final check
Have a go