JAVA寫的呀?應該還不錯,不過還是C寫的比較高速,參考
http://m.gg1fic3.cn/bbs/thread-196762-1-1.html
以下是用我的程序解析你的附件里的話單數(shù)據(jù)的第一條解碼的話單
GSMPLMNCDM+
cF=
callIdentificationNumber = cfe2f6
recordSequenceNumber = e65546
typeOfCallingSubscriber = 01
callingPartyNumber = 1413699058391
calledPartyNumber = 11008613344094150
originalCalledNumber = 20
redirectingNumber = 4170c051
redirectionCounter = 003034
redirectingSPN = 001370
redirectingIMSI = 0000
mobileStationRoamingNum = 000000
disconnectingParty = 00000a
dateForStartofCharge = 000
timeForStartofCharge = 000001
timeForStopofCharge = 067068077083067050032051051042086053051065067
chargeableDuration = 067068067077086049079
interruptionTime = 067068073071087050073
originForCharging = 03
tariffClass = 00
c7ChargingMessage = 4100683143044951f0
c7FirstCHTMessage = 00
iCIOrdered = 0a0d
cUGInterlockCode = 00
cUGIndex = 00
regionalServiceUsed = 00
incompleteCallDataInd = 02
originatingLineInformation = 04