如何把下面的字段字符串存储成字典的样式?
比如我可以使用这样一个字典序列去查询,mydict['Service_Nas']['QmiNasSetEventReport']['QmiNasSetEventReportReqTlvs[0]']['SignalStrengthTlv']['NumSignalStrengthThresholds']=2
2017 Dec 20 09:40:06.909 [F7] 0x1390 QMI Link 2 RX PDU
IFType = 1
QmiLength = 19
QmiCtlFlags = 0
QmiType = NAS
Service_Nas {
ClientId = 3
SduCtlFlags = REQ
TxId = 177
MsgType = QMI_NAS_SET_EVENT_REPORT_MSG
MsgLength = 7
QmiNasSetEventReport {
QmiNasSetEventReportReqTlvs[0] {
Type = 16
Length = 4
SignalStrengthTlv {
ReportSignalStrength = REPORT
NumSignalStrengthThresholds = 2
SignalStrengthThresholds = { -75, -55 }
}
}
}
}