首页> 外国专利> METHOD AND DEVICE FOR PROCESSING SCHEDULED TASK, STORAGE MEDIUM, AND COMPUTER APPARATUS

METHOD AND DEVICE FOR PROCESSING SCHEDULED TASK, STORAGE MEDIUM, AND COMPUTER APPARATUS

机译:处理计划的任务,存储介质和计算机设备的方法和装置

摘要

A method for processing a scheduled task, the method comprising: obtaining the current time of a system; extracting, from a first task queue, a scheduled task having an execution period comprising the current time and being in a to-be-run state, modifying the running state of the extracted scheduled task as running, and using same as a scheduled task to be currently executed; obtaining an execution file matching the scheduled task to be currently executed; creating, according to the execution file, a command line for starting the scheduled task to be currently executed; executing the command line in the form of a process; detecting, when the execution of the process ends, whether a scheduled task still exists in the first task queue; and if yes, returning to continue the execution of extracting, from the first task queue, a scheduled task having an execution period comprising the current time and being in a to-be-run state.
机译:一种用于处理预定任务的方法,该方法包括:获得系统的当前时间;以及从第一任务队列中提取执行周期包括当前时间并且处于待运行状态的调度任务,将提取的调度任务的运行状态修改为运行,并将其与调度任务进行比较,当前正在执行;获取与当前要执行的计划任务匹配的执行文件;根据执行文件,创建用于启动当前要执行的计划任务的命令行;以进程的形式执行命令行;在流程执行结束时,检测第一任务队列中是否还存在调度任务;如果是,则返回继续执行从第一任务队列中提取调度任务,该调度任务的执行周期包括当前时间,并且处于待运行状态。

著录项

  • 公开/公告号WO2019080233A1

    专利类型

  • 公开/公告日2019-05-02

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2017CN112552

  • 发明设计人 LIU HONGYE;

    申请日2017-11-23

  • 分类号G06F9/46;

  • 国家 WO

  • 入库时间 2022-08-21 11:55:01

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号