Professional Documents
Culture Documents
Note Cell File
Note Cell File
105.1 General
The file is in ASCII format with tab-delimited data. There is no restriction on the number of cells
in the file, but very large cell files will slow the application down noticeably. The default file
extension is .cel.
The cell file header, which takes up the first line of the file, consists of a revision number and
an identification string:
<Rev> TEMS_-_Cell_names
The second line in the cell file is the column header line. It consists of tab -separated strings,
each of which identifies a category of data. The set of column headers used appears from the
table in section "Data" below; columns can be arranged in any order as long as their headers
are valid.
105.4 Data
The remainder of the cell file contains data. Each data line represents one cell name entry and
is stored in ASCII as:
data1<HT>data2<HT>data3<HT>...<HT>dataN<CR><NL>
The table below describes the format of the data in each column:
In GSM, the following parameters are used to identify neighbors: CI, CI_N_n, LAC, LAC_N_n.
In WCDMA, the following parameters are used to identify neighbors: either {CI, CI_N_n} or {C-
ID, C-ID_N_n, RNC-ID, RNC-ID_N_n}.
105.7 Example
Below is a sample cell file. The data columns are split into sections here for obvious reasons of
presentation; the actual file has one single row of data columns below the header.
Cells no. 1–2 are WCDMA cells, while cells no. 3–4 are GSM cells.
106. Format of XML Cell File
The XML cell file format is used for representing (primarily) cell and site information and for
interchanging such information between products in the TEMS portfolio.
106.1 Scope of XML Format
The XML format incorporates cell and site data for GSM, WCDMA, LTE, NR and CDMA (1x as
well as EV-DO). It also includes Wi-Fi access point data.
No formal mapping exists from the older *.cel format (chapter "Format of CEL File (UMTS)" )
to the XML format, but the correspondences are obvious throughout. All column headings in
the *.cel file have their counterparts in XML file elements; in addition, the XML file contains
further data. Just note that in the *.cel file, neighbors are indicated by their CIs, whereas in the
XML file, cell names are used to identify neighbors.
The CSV cell file format used in TEMS Investigation CDMA can be converted to the XML
format using TEMS Discovery Device. Please consult the documentation for that product.
Please note that the CSV format lacks certain items of information that are present in the XML
format. For example, the band class is lacking in CSV but is ma ndatory in XML (see
sections "CDMA_CHANNEL_INFO", ""Atomic" Elements"). This information must be entered
manually in the XML files.
106.4 Schemas
The schema TEMSDataTypes.xsd defines TEMS-specific XML data types, derived from the
fundamental data types set down in the XML specification. See section "TEMS-specific Data Types".
The schema TEMSCell.xsd defines XML attributes and elements that embody cell and site data, relying
on the data types in TEMSDataTypes.xsd. See section "Structure of Cell File".
The schemas are found in the directory XMLSchema beneath the TEMS
Investigation installation directory. The syntax laid down in the schemas should always be
followed when composing XML cell files.
The file format should generally follow the recommendation for XML 1.0. See the World Wide
Web Consortium recommendation at ► www.w3.org/TR/REC-xml.
Files should be encoded in Unicode UTF -8 ( ► IETF RFC 2279). They therefore need to begin
with:
When composing XML files it is a good idea to use an XML -capable editor or other tool with
XML support. To ensure that language-specific characters are handled correctly, any tool used
needs to support the UTF-8 encoding. UTF-8 allows a set of more than 2 8 = 256 characters to
be mapped into 8-bit symbols, by using two-byte sequences for certain characters. For
example, Swedish à needs to be encoded as à _ in the XML file. Tools with UTF-8 support
normally handle this automatically.
To facilitate handling of data, a number of TEMS -specific data types are defined. They are
collected in the schema TEMSDataTypes.xsd. The definition of custom data types enables
range checks and validation of cell data. The data types are used in defining the elements and
attributes of the XML cell file, as described in section "Structure of Cell File".
All TEMS-specific data types are derived from basic (generic) XML schema data types w ith
additional constraints on value ranges or enumeration. It should be noted that these data types
do not compare directly to their counterparts in programming languages. For example, it does
not follow automatically that the "Long" data types found below should always be represented
by a "long" data type in a programming language.
Full information on the basic set of XML schema data types, including definitions of int, long,
float, double, and string, is found at ► www.w3.org/TR/xmlschema-2/.
Value ranges below are given in the form of inclusive minimum and maximum values, that is,
the endpoints of the ranges are valid values.
Int2To3 2, 3
Long2 0, ..., 2
106.6.1 String_OperatingBand
A string of type String_OperatingBand can have the following values:
Band Description
Band Description
Band Description
FDD bands
TDD bands
Band Description
Graphic Explanations
Nearly every piece of data in an XML cell file will be described as an element or attribute. The
main root element is TEMS_CELL_EXPORT; it has a mandatory attribute VERSION which
indicates the version of the cell file format.
The GENERATED_DATE element, also mandatory, indicates when the cell file was generated.
A number of further, standard attributes need to be included in the cell file to enable schema
validation (checking of element names, value ranges, etc.):
xmlns:dataType="http://www.tems.com/dataTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="TEMSCell.xsd" VERSION="1.2"
The "GSM" element contains at least one and optionally several CELL_LIST elements. Cell
lists are intended to be used to d istinguish operators. Each cell list element contains at least
one GSM cell. There is no limit to the number of either cells or cell lists.
Like the main root element, the "GSM" element has a mandatory VERSION attribute stating the
version of the GSM cell data structure.
Each cell element is a container that holds multiple subordinate elements. As can be seen in
the diagram, only a few of these are mandatory. One is CELLNAME. CELLNAME must be
unique in the entire file if the neighbor list is not empty. CELLNAME has SYSTEM_TYPE as
attribute; if this attribute is not set, it is implicitly assumed that this cell belongs to the system
(the communications technology) in whose structure it is found, e.g. GSM.