为了优化增量型上下文服务的用户体验,同时兼顾服务资源约束和上下文时效性需求,提出将增量型上下文服务作业分为必须完成的基本段和提供增量的延伸段的两阶段任务模型,及与之相应的两级调度模型.通过分析基本段的可调度性和延伸段价值(量化的用户体验)产出随时间变化的趋势,分别设计针对基本段和延伸段的多种调度算法,在保证基本段按时完成的同时,优化延伸段提供的总价值.通过模拟实验验证了3种基本段调度算法均同时满足服务资源约束和上下文时效性.比较不同价值估算方法对延伸段调度算法性能的影响,发现相对简单的价值差估算法性能接近拟合曲线法,比后者更实用.
A two phase task model was proposed in order to achieve optimal user experience for an incremental context service under resource constraints and with context timeliness requirements.The model divides each job of an incremental service into a primary part that provide the initial service and a optional part that provide the improvements.A corresponding two level scheduling theme was designed to utilize the model.Several scheduling algorithms were designed to execute the primary parts in a timely manner and the optional parts in a value maximizing manner by analyzing the schedulability of the primary parts and the value generation pattern of the optional parts.Simulation results show that all the three primary part scheduling algorithms can meet context timeliness requirements under resource constraints.The performances of the optional part scheduling algorithm were compared when using different value prediction methods.Results show that the simpler delta value method can achieve performance close to that of the fit curve method,and is more suitable for practical use.