多多色-多人伦交性欧美在线观看-多人伦精品一区二区三区视频-多色视频-免费黄色视屏网站-免费黄色在线

國內最全IT社區平臺 聯系我們 | 收藏本站
阿里云優惠2
您當前位置:首頁 > 服務器 > LTE 網絡UE端測量

LTE 網絡UE端測量

來源:程序員人生   發布時間:2017-02-04 09:33:32 閱讀次數:3719次

在LTE網絡產生切換時首先需要激活UE端丈量進程,UE端用戶可采取以下方法實現:

1 直接通過eNB的RRC實體實現(也是本文介紹)

2 通過已有切換算法配置丈量

3 開發新的切換算法并對其配置

首先需要研究丈量的內容是甚么,NS3通過LteRrcSap::ReportConfigEutra說明:

  struct ThresholdEutra
  {
    enum
    {
      THRESHOLD_RSRP, ///< RSRP is used for the threshold.
      THRESHOLD_RSRQ ///< RSRQ is used for the threshold.
    } choice;
    uint8_t range; ///< Value range used in RSRP/RSRQ threshold.
  };
 struct ReportConfigEutra
  {
    enum
    {
      EVENT,
      PERIODICAL
    } triggerType;

    enum
    {
      EVENT_A1, ///< Event A1: Serving becomes better than absolute threshold.
      EVENT_A2, ///< Event A2: Serving becomes worse than absolute threshold.
      EVENT_A3, ///< Event A3: Neighbour becomes amount of offset better than PCell.
      EVENT_A4, ///< Event A4: Neighbour becomes better than absolute threshold.
      EVENT_A5 ///< Event A5: PCell becomes worse than absolute `threshold1` AND Neighbour becomes better than another absolute `threshold2`.

    } eventId; ///< Choice of E-UTRA event triggered reporting criteria.

    ThresholdEutra threshold1; ///< Threshold for event A1, A2, A4, and A5.
    ThresholdEutra threshold2; ///< Threshold for event A5.

    /// Indicates whether or not the UE shall initiate the measurement reporting procedure when the leaving condition is met for a cell in `cellsTriggeredList`, as specified in 5.5.4.1 of 3GPP TS 36.331.
    bool reportOnLeave;

    /// Offset value for Event A3. An integer between ⑶0 and 30. The actual value is (value * 0.5) dB.
    int8_t a3Offset;

    /// Parameter used within the entry and leave condition of an event triggered reporting condition. The actual value is (value * 0.5) dB.
    uint8_t hysteresis;

    /// Time during which specific criteria for the event needs to be met in order to trigger a measurement report.
    uint16_t timeToTrigger;

    enum
    {
      REPORT_STRONGEST_CELLS,
      REPORT_CGI
    } purpose;

    enum
    {
      RSRP, ///< Reference Signal Received Power
      RSRQ ///< Reference Signal Received Quality
    } triggerQuantity; ///< The quantities used to evaluate the triggering condition for the event, see 3GPP TS 36.214.

    enum
    {
      SAME_AS_TRIGGER_QUANTITY,
      BOTH ///< Both the RSRP and RSRQ quantities are to be included in the measurement report.
    } reportQuantity; ///< The quantities to be included in the measurement report, always assumed to be BOTH.

    /// Maximum number of cells, excluding the serving cell, to be included in the measurement report.
    uint8_t maxReportCells;

    enum
    {
      MS120,
      MS240,
      MS480,
      MS640,
      MS1024,
      MS2048,
      MS5120,
      MS10240,
      MIN1,
      MIN6,
      MIN12,
      MIN30,
      MIN60,
      SPARE3,
      SPARE2,
      SPARE1
    } reportInterval; ///< Indicates the interval between periodical reports.

    /// Number of measurement reports applicable, always assumed to be infinite.
    uint8_t reportAmount;

    ReportConfigEutra ();

  }; // end of struct ReportConfigEutra
其中結構體ThresholdEutra根據3GPP標準文件定義了基于RSRP和RSRQ下的閾值及對應閾值的范圍。

ReportConfigEutra結構體定義了:

1 觸發丈量報告的類型   2 事件等級  3 不同等級事件下閾值  4是不是初始化丈量報告進程  5 A3事件偏移值  6 進入或離開事件觸發狀態時所用參數

7 觸發時間 8 目的 9 用于評價觸發狀態的觸發量 10  報告量  11 最大報告的小區數目 12 周期報告的報告間隔 13 丈量報告數目

將ReportConfigEutra結構體作為函數LteEnbRrc::AddUeMeasReportConfig的參數,見src/lte/model/lte-enb-rrc.cc便可。

舉例:

LteRrcSap::ReportConfigEutra config;
config.eventid=LteRrcSap::ReportConfigEutra::EVENT_A1;
config.threshold1.choice=LteRrcSap::ReportConfigEutra::THRESHOLD_RARP;
config.threshold1.range=41;
config.triggerQuantity=LteRrcSap::ReportConfigEutra::RSRP;
config.reportInterval=LteRrcSap::ReportConfigEutra::MS480;
//配置對象初始化
std::vector<uint8_t> measIdList;
NetDeviceContainer::Iterator it;
for(it=devs.Begin();it!=devs.End();it++)
{Ptr<NetDevice> dev=*it;
Ptr<LteEnbNetDevice>endDev=dev->GetObject<LteEnbNetDevice>();
Ptr<LteEnbRrc>enbRrc=enbDev->GetRrc();
uint8_t measId=enbRrc->AddUeMeasReportConfig(config);//調用
measIdList.push_back(measId);//存儲已有的measId
rnbRrc->TraceConnect("RecvMeasurementReport",
                                  "context",
                                  MakeCallback("&RecvMeasurementReportCallback"));//
 }

使用者通過LteEnbRrx::RecvMeasurementReport作為Trace源跟蹤由UE端產生的丈量報告。


生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關閉
程序員人生
主站蜘蛛池模板: 欧洲精品码一区二区三区免费看 | 欧美一级第一免费高清 | 最色影院| jizz欧美大全 | 国产在线拍揄自揄视精品不卡 | 精品72久久久久久久中文字幕 | 国产一区亚洲欧美成人 | 日韩欧美中文字幕出 | bt 自拍 另类 综合 欧美 | 亚洲欧美一区二区三区九九九 | 欧美监狱性暴一级毛片 | 亚洲日韩男人网在线 | 337p欧洲日本大胆艺术 | 日本不卡视频一区二区 | 最新69成人精品毛片 | 2022男人天堂 | 免费看的黄色网址 | 亚洲美女激情视频 | 私人毛片免费高清影视院 | 日韩亚洲一区中文字幕 | 一二区| 最近中文字幕1视频 | 国产欧美一区二区成人影院 | 免费视频网站在线看视频 | 欧美日韩久久中文字幕 | 亚洲欧美极品 | 欧美一级毛片无遮挡内谢 | 91宅男 | 深夜做爰性大片中文 | wwwwww日本 | 国产成人亚洲精品77 | 女人18毛毛片一级毛片 | 国产欧美日韩综合精品一区二区 | 国产麻豆自拍 | 国产成人亚洲综合欧美一部 | 在线观看国产亚洲 | 国产模特众筹精品视频 | 欧美日本综合 | 亚洲综合欧美 | 国产高清在线精品一区二区三区 | 欧美xxxxx九色视频免费观看 |