ഇതൊഴിവാക്കി പ്രധാന ഉള്ളടക്കത്തിലേക്ക് പോവുക

Challenge: Can you find out a file is a CDR,TOWER-CDR, CELL ID, SDR and IPDR from the data?

Ok, that's a good question,
First, let's find out whether we can find out the header row of each kind.

In the car of CDR,

Header row must contain date/time or date and time together, duration.

Can you say that the idea will be 100% foolproof?

No, IPDR may contain those fields too, but it's rare that an IPDR file comes with duration field along with date and time in a separate column, and more than that IPDR will contain IP’s for sure.

So no need to explain it further..
If you were able to find text” IP” along with date and time in the header field, it's an IPDR.

What are the left-outs?

Cell ID?
(don't care too much about that buddy, anyway, we will incorporate open-cell id soon )

Still, you can check for latitude, longitude, azimuth and address in header fields to identify it.

SDR?
You can check for Name, Address, pin code, city, state headers. Can't u?

So we covered all the documents!
It's party time. Isn't it?

Someone may say ”I can see your overconfidence, but it's not over buddy”

”Yeah, I know, I know”

Next, you will ask me, ”How to find out a CDR file is Normal CDR, Tower CDR or IMEI CDR”

That's tricky, I won't say it's easy

Let see, we can figure it out or not


How to know its a normal cdr?
(*conditions apply)
If you can find out A party and B party fields, you can find out by checking unique fields count.
Let me explain it,

Let's create four variables

UniqueAPartyCount
UniqueBPartyCount
UniqueTowerIdCount
UniqueIMEICount

Let's see the conditions
------------------------
1. If Unique Tower ID count is approximately one, and it has more than one unique AParty BParty and IMEI count, then it's tower cdr
2. If Unique IMEI count is approximately one and it has more than one tower id or AParty or BParty count then it's IMEI CDR
3. If anyone of the AParty or BParty unique count is approximately one and the remaining entries count are more than one, It's a normal CDR.


I think this approach is more reliable than, finding document type from the file name.

അഭിപ്രായങ്ങള്‍

ഈ ബ്ലോഗിൽ നിന്നുള്ള ജനപ്രിയ പോസ്റ്റുകള്‍‌

തിരിച്ചറിവ്

{ഞാനും നീയും എന്ന എന്റെ സുഹൃത്ത്‌ പി.വി.ജോണിന്റെ പോസ്റ്റിനു കമന്റ്‌ ആയി എഴുതിയത് } ഞാനും നീയും ഒരൊറ്റ മനസ്സായിരുന്നപ്പോഴും ഒരു ശരീരമായിരുന്നപ്പോഴും ഓര്‍ത്തിരുന്നില്ല  രണ്ടു വ്യത്യസ്ത വാക്കുകള്‍ ആണെന്ന്...  

നുറുങ്ങുകള്‍ തീര്‍ക്കുന്നു നുറുങ്ങുവെട്ടം....

നുറുങ്ങുകള്‍ തീര്‍ക്കുന്നു നുറുങ്ങുവെട്ടം.... ( ഈ പോസ്റ്റ്‌ എഴുതാന്‍ പ്രചോദനമായ  ഹൈക്കു പോയംസ്  https://www.facebook.com/groups/Haikupoems/   എന്ന ഗ്രൂപ്പിനും  എന്നെ എന്നും പ്രോല്‍സാഹിപ്പിച്ചു കൊണ്ടിരിക്കുന്ന  https://www.facebook.com/groups/malayalamblogers/    മലയാളം ബ്ലോഗേഴ്സ് ഗ്രൂപ്പിനും    ഒത്തിരി നന്ദി..  ഒപ്പം വേണുഗോപാല്‍ ഏട്ടന്‍, തമ്പാന്‍ നായര്‍..,  സോണി ചേച്ചി,ഗിരിജ ചേച്ചി, ശിവപ്രസാദ്‌ പാലോട്‌, അപ്പു എം ശിവന്‍,സുമയ്യ തന്നാരി,  പ്രിയ കളരിക്കല്‍, പ്രിയക്കുട്ടി  അനീഷ്‌ കെ.വി,ഷാജു ഏട്ടന്‍  എന്നിവര്‍ക്കും നിങ്ങള്‍ക്കും   ഒത്തിരിയൊത്തിരി നന്ദി )  വായനക്കാരെ നിങ്ങള് സഹിച്ചോളീന്‍.....,..............       ലൈക്കുന്നു ചിലര്‍              പോക്കുന്നു ചിലര്‍       ചിരിക്കുന്നു ചിലര്‍          മനസ്സുകള്‍ തമ്മില്‍       കുറയുന്നു വിള്ളല്‍       കൊഴിയുന്ന മോഹം       കരിയുന്ന സ്വപ്നം          ഞാന്‍ വെറും കരിയില       ആശകള്‍ വേണ്ട       കാശുകള്‍ മതി       വാശിയില്‍ ഓടി       അന്ത്യ നേരം       മൂശയില്‍ കോറി       നിരാശകള

അതിരപ്പിള്ളിയും കടന്നൊരു വെള്ള-ച്ചാട്ടം - ഭാഗം1

"എബ്ടെക്കാ കാലത്തെന്നെ ഇത്രേ നേരത്തെ!" "ഏയ്‌..ഒന്നൂല്യച്ചാ ഈ അതിരപ്പിള്ളി വരെ.." "ആരാടാ കൂടെ " (അലംബ് ടീംസ് ആണോന്ന്.. ) "കോളേജിലെ കുട്ട്യോളാ അച്ഛാ.. വീക്കെന്‍ഡല്ലേ.. കോഴിക്കോട് പാര്‍ട്ടീസാ .. അവരീന്തിരപ്പിള്ളി കണ്ടട്ടില്ലേയ്.പിന്നെ ആ പുതുക്കാട് ജോസെനും ഉണ്ട്.    ഇന്നാളു കണ്ടില്ലെച്ചന്‍, അവന്‍" അവന്റെ പേര് പറഞ്ഞോണ്ട് ആണോന്നറിയില്ല..പക്ഷെ പിന്നെ കേട്ടത് " ഒരച്ഛന്റെ രോദനം " ആയിരുന്നു . "ഇന്നാളു പോയില്ലേ നീയ്‌.പിന്നെ എന്തിനാ വീണ്ടും.  ങ്ഹാ.. പിള്ളേര് സെറ്റാവുമ്പോ, ആവേശം കൂടുമ്പോ ഒരു വെള്ള ചാട്ടം ഉണ്ടാവും. അച്ഛനെ കുട്ടിയ്ക്ക് അങ്ങനെ ഒരു വെള്ളച്ചാട്ടം വേണ്ടാട്ടാ.." ആ സ്നേഹപ്രകടനത്തില്‍ ഞാന്‍ അലിഞ്ഞു പോവുമെന്ന് അച്ഛന്‍ വിചാരിച്ചു കാണും.   എന്നാലും പ്രലോഭനങ്ങളില്‍ വീഴാതിരിക്കുക എന്നത് യുവാക്കളുടെ കര്‍ത്തവ്യം ആണല്ലോ. "ആ പിന്നെ..അച്ഛാ ആ പഴയ ക്യാമറ.." "എടുത്തോ..പിന്നെ ആര്‍ക്കും കൊടുക്കരുത്‌ ..പിന്നെ ഫോടോന്റെ ഫങ്ങി നോക്കലോക്കെ അവസാനം മതി.ബാറ്ററി എങ്ങാനും തീര്‍