V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
XuHuan1025
V2EX  ›  程序员

老哥们 这种格式有简便点转 Java 对象的方法吗 谢谢

  •  
  •   XuHuan1025 · 264 天前 · 1323 次点击
    这是一个创建于 264 天前的主题,其中的信息可能已经有所发展或是发生改变。
    SIB1-IEs ::=
    {
      cellSelectionInfo
      {
        q-RxLevMin -60,
        q-QualMin -29
      },
      cellAccessRelatedInfo
      {
        plmn-IdentityList
        {
          {
            plmn-IdentityList
            {
              {
                mcc
                {
                  4,
                  6,
                  0
                },
                mnc
                {
                  0,
                  0
                }
              }
            },
            trackingAreaCodeList
            {
              '00000000 00010001 00100010'B
            },
            cellIdentity '00000011 00100101 00011010 00000000 010 ...'B,
            cellReservedForOperatorUse notReserved
          }
        }
      },
      servingCellConfigCommon
      {
        downlinkConfigCommon
        {
          frequencyInfoDL
          {
            frequencyBandList
            {
              {
                freqBandIndicatorNR 1
              }
            },
            offsetToPointA 244,
            scs-SpecificCarrierList
            {
              {
                offsetToCarrier 0,
                subcarrierSpacing kHz120,
                carrierBandwidth 264
              }
            }
          },
          initialDownlinkBWP
          {
            genericParameters
            {
              locationAndBandwidth 13033,
              subcarrierSpacing kHz120,
              cyclicPrefix extended
            },
            pdcch-ConfigCommon setup :
            {
              controlResourceSetZero 3,
              searchSpaceZero 0,
              commonSearchSpaceList
              {
                {
                  searchSpaceId 1,
                  controlResourceSetId 0,
                  monitoringSlotPeriodicityAndOffset sl1 : NULL,
                  nrofCandidates
                  {
                    aggregationLevel4 n0,
                    aggregationLevel8 n2,
                    aggregationLevel16 n2
                  },
                  searchSpaceType common :
                  {
                    dci-Format0-0-AndFormat1-0
                    {
                    }
                  }
                }
              },
              searchSpaceSIB1 0,
              searchSpaceOtherSystemInformation 1,
              pagingSearchSpace 1,
              ra-SearchSpace 1
            },
            pdsch-ConfigCommon setup :
            {
              pdsch-TimeDomainAllocationList
              {
                {
                  k0 0,
                  startSymbolAndLength 68
                },
                {
                  k0 0,
                  startSymbolAndLength 81
                },
                {
                  k0 0,
                  startSymbolAndLength 94
                }
              }
            }
          },
          bcch-Config
          {
            modificationPeriodCoeff n4
          },
          pcch-Config
          {
            defaultPagingCycle rf32,
            nAndPagingFrameOffset halfT : 1,
            ns one
          },
          k-OffsetCommon ms8
        },
        uplinkConfigCommon
        {
          frequencyInfoUL
          {
            frequencyBandList
            {
              {
                freqBandIndicatorNR 1
              }
            },
            absoluteFrequencyPointA 411984,
            scs-SpecificCarrierList
            {
              {
                offsetToCarrier 0,
                subcarrierSpacing kHz120,
                carrierBandwidth 264
              }
            },
            p-Max 23
          },
          initialUplinkBWP
          {
            genericParameters
            {
              locationAndBandwidth 3574,
              subcarrierSpacing kHz120,
              cyclicPrefix extended
            },
            rach-ConfigCommon setup :
            {
              rach-ConfigGeneric
              {
                prach-ConfigurationIndex 36,
                msg1-FDM one,
                msg1-FrequencyStart 12,
                zeroCorrelationZoneConfig 0,
                preambleReceivedTargetPower -100,
                preambleTransMax n10,
                powerRampingStep dB2,
                ra-ResponseWindow sl80
              },
              totalNumberOfRA-Preambles 3,
              ra-ContentionResolutionTimer sf64,
              prach-RootSequenceIndex l139 : 24,
              msg1-SubcarrierSpacing kHz60,
              restrictedSetConfig unrestrictedSet,
              msg3-transformPrecoder enabled,
              beamTypeRachConfig beam2 :
              {
                beam-perRACH-OccasionAndCB-PreamblesPerBeam one : n2
              }
            },
            pusch-ConfigCommon setup :
            {
              pusch-TimeDomainAllocationList
              {
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 27,
                  k-offset ms8
                },
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 41,
                  k-offset ms8
                },
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 55,
                  k-offset ms8
                },
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 69,
                  k-offset ms8
                },
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 83,
                  k-offset ms8
                },
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 97,
                  k-offset ms8
                },
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 98,
                  k-offset ms8
                },
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 84,
                  k-offset ms8
                },
                {
                  k2 6,
                  mappingType typeA,
                  startSymbolAndLength 70,
                  k-offset ms8
                }
              },
              msg3-DeltaPreamble 2,
              p0-NominalWithGrant -74
            },
            pucch-ConfigCommon setup :
            {
              pucch-ResourceCommon 8,
              pucch-GroupHopping neither,
              p0-nominal -100
            }
            },
          timeAlignmentTimerCommon infinity,
          srs-ConfigServingCell setup :
          {
            periodicity sl160,
            srs-SlotLocation 0,
            nrofSymbols 2
          }
        },
        n-TimingAdvanceOffset n0,
        satelliteID 0,
        beamConfig type2BeamConfig :
        {
          beam-Periodicity ms10,
          duration 10,
          startTime 0,
          beamDurationDlToUlOffset ms0,
          ssb-Periodicity 1
        },
        t-MaxMeasOffsetNTN ms1,
        ss-PBCH-BlockPower 30
      },
      ue-TimersAndConstants
      {
        t300 ms1000,
        t301 ms600,
        t310 ms1000,
        n310 n20,
        t311 ms1000,
        n311 n1,
        t319 ms1000
      }
    }
    
    3 条回复    2024-02-29 11:18:56 +08:00
    assilzm
        1
    assilzm  
       264 天前
    扔给 GPT 让他给你写一个通用的转换器。
    qq135449773
        2
    qq135449773  
       264 天前
    我觉得 GPT 没问题,要么就花时间写 AST
    unco020511
        3
    unco020511  
       263 天前   ❤️ 1
    我试了下,GPT4 问个几次,解析的大框架就差不多出来了,然后自己再填补一下
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1866 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 16:29 · PVG 00:29 · LAX 08:29 · JFK 11:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.