Mining and Telecommunications: Case Study
Mining and telecommunications companies have one thing in common: instruments, switches and test rigs produce a steady stream of text files, and each system writes them in its own layout. TextPipe sits between those systems and the analysis tools that need clean input. The mining example below is based on how one of our mineral-company customers works. The telecommunications scenario is a composite, and its figures are illustrative.
The challenge
A mineral company needed to feed quality-test results into a Statistical Process Control (SPC) program. The SPC database sat on a network server and linked data from multiple locations. Each site's test equipment produced plain *.txt files, and those files were not in the layout the SPC program expected. Headers, units and extra columns had to be removed or reordered before the data could be linked.
The work was not a one-off. Once or twice a day, up to eight different people uploaded, formatted and updated the quality test files. Any manual editing step meant eight people could each introduce a different mistake into a database used to decide whether a production batch met specification.
Telecommunications teams face the same pattern at larger volume. Illustratively, a carrier's operations group might receive call detail extracts, provisioning exports and network alarm logs from several vendors, each with different delimiters, date formats and line endings, and each needing to be loaded into billing or reporting tools.
The solution
The mining customer built a TextPipe filter that extracts and formats the test data before it is linked to the SPC program. Every one of the eight people runs the same saved filter, so the output is identical regardless of who runs it. TextPipe processes whole folders of files at once and can be started from the command line, so the step can be built into a scheduled job.
The same approach suits telecommunications data:
- Normalize line endings and character sets with the EBCDIC and ASCII conversion filters when mainframe billing feeds are involved.
- Use grep style filters to keep only the records of interest, such as a single trunk group or error code.
- Use sort and merge filters to combine daily files from several switches into one ordered file.
- Reshape delimited records with the CSV filters so the target database accepts them first time.
The results
- Consistency: in the mining case, all eight users produce identically formatted files from the same filter, which removes person-to-person variation from the SPC input.
- Frequency: the formatting step runs once or twice per day without a developer being involved.
- Illustrative telecommunications outcome: a daily merge and clean-up that took an analyst an hour by hand could run unattended in minutes, with the saved filter documenting exactly what was changed.
Related case studies
Other industrial customers apply the same ideas. SCADA at the Kennedy Space Center shows how TextPipe finds data inside binary history files. CAD circuit board output conversion at NASA shows how columns were reordered and counted for a production machine, and the electronics company case study covers general text reformatting.
For the general method, see the data conversion and data mining solution pages. If the same organization also needs to update Word documents such as procedures and specifications, WordPipe handles that in batch, for example equipment specification and safety notice updates.
See also: Testimonials and Customer Uses for TextPipe Pro
A selection of our customers
DataMystic has more than 2000 customers in 56 countries, across a variety of industries including Banking and Finance, Telecommunications, Utilities, Medicine, Law, Government, Publishing, Consulting and Manufacturing.
- Bell Canada - ON, CANADA
- Business Design (For Enavis Networks) - ISRAEL
- CableLabs - CO, USA
- Cisco Systems, USA
- Digikom Network - SWEDEN
- eBNetworks - MA, USA
- EnableTel Ltd,
- Lucent Technologies - OH, USA
- Mason Communications - UNITED KINGDOM
- mrltc Communications LLC, USA
- NetCent Communications, USA
- oCen Communications - CA, USA
- Normandy Mining Ltd - AUSTRALIA
- Rio Tinto, Australia
- Southwestern Bell - TX, USA
- TM Communications - BC, CANADA
- TNT - Australia