ArticleslgStudy

computer science

EMI (protocol)

EMI (protocol) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand EMI (protocol) rather than just read about it. In short: External Machine Interface (EMI), an extension to Universal Computer Protocol (UCP), is a protocol primarily used to connect to short message service centres (SMSCs) for mobile telephones. The protocol was developed by CMG Wireless Data Solutions, now part of Mavenir.

Key takeaways

  • EMI (protocol) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect EMI (protocol) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of EMI (protocol) from memory before moving on to harder problems.

Reference excerpt

External Machine Interface (EMI), an extension to Universal Computer Protocol (UCP), is a protocol primarily used to connect to short message service centres (SMSCs) for mobile telephones. The protocol was developed by CMG Wireless Data Solutions, now part of Mavenir.

Syntax A typical EMI/UCP exchange looks like this :

^B01/00045/O/30/66677789///1//////68656C6C6F/CE^C ^B01/00041/R/30/A//66677789:180594141236/F3^C

The start of the packet is signaled by ^B (STX, hex 02) and the end with ^C (ETX, hex 03). Fields within the packet are separated by / characters. The first four fields form the mandatory header. the third is the operation type (O for operation, R for result), and the fourth is the operation (here 30, "short message transfer"). The subsequent fields are dependent on the operation. In the first line above, '66677789' is the recipient's address (telephone number) and '68656C6C6F' is the content of the message, in this case the ASCII string "hello". The second line is the response with a matching transaction reference number, where 'A' indicates that the message was successfully acknowledged by the SMSC, and a timestamp is suffixed to the phone number to show time of delivery. The final field is the checksum, calculated simply by summing all bytes in the packet (including slashes) and taking the 8 least significant bits from the result. The full specification is available on the LogicaCMG website developers' forum, but registration is required.

Technical limitations The two-digit transaction reference number means that an entity sending text messages can only have 100 outstanding messages (per session); this can limit performance, but only over a slow network and with incorrectly configured applications on one's SMSC (for example one session, with number of windows greater than 100). In practice it does not have any impact on delivery throughput. The EMI UCP documentation does not specify a default alphabet for alphanumeric messages after decoding from hex digits. (It specifies an alphabet of IRA for the encoded message, which is the same as 7 bit ASCII as 0-9 and A-Z are invariant characters). The related ETS 300 133-3 standard specifies the GSM-7 alphabet, which accommodates more languages than ASCII by replacing unprintable control codes with additional printable characters. In practice the GSM-7 alphabet is used. Other encodings, such as UCS-2, can be sent by using a transparent message and specifying the Data Coding Scheme.

Alternatives Short message peer-to-peer protocol (SMPP) also provides SMS over TCP/IP. Computer Interface for Message Distribution (CIMD) developed by Nokia

External links [1] ETS 300 133-3 LogicaCMG: Downloads for developers (link no longer active as of 2007-12-24) UCP Specification (Vodafone Germany) A more detailed UCP Specification UCP Perl implementation (for developers) Kannel, Open-Source WAP and SMS Gateway with UCP/EMI 4.0 support.

Worked examples

Example 1 — a first encounter with EMI (protocol)

Start with the simplest possible case. Write down what EMI (protocol) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to EMI (protocol) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about EMI (protocol) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of EMI (protocol)

In research
EMI (protocol) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses EMI (protocol) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
EMI (protocol) is common in secondary-school and first-year university syllabi. It links to neighbouring topics GSM standard, Mobile technology, Network protocols, so understanding it makes those chapters shorter.
In everyday life
Look for EMI (protocol) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “EMI (protocol)” →

How to study EMI (protocol) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what EMI (protocol) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain EMI (protocol) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is EMI (protocol) in simple terms?

External Machine Interface (EMI), an extension to Universal Computer Protocol (UCP), is a protocol primarily used to connect to short message service centres (SMSCs) for mobile telephones. The protocol was developed by CMG Wireless Data Solutions, now part of Mavenir.

Why does EMI (protocol) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study EMI (protocol)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on EMI (protocol).

Tags

  • GSM standard
  • Mobile technology
  • Network protocols

Keep exploring