首页> 外国专利> CLUSTER ENVIRONMENT TIMING TASK PROCESSING METHOD, SYSTEM AND DEVICE, AND STORAGE MEDIUM

CLUSTER ENVIRONMENT TIMING TASK PROCESSING METHOD, SYSTEM AND DEVICE, AND STORAGE MEDIUM

机译:群集环境定时任务处理方法,系统和设备和存储介质

摘要

The present invention relates to the technical field of cloud computing, and provides a cluster environment timing task processing method, system and device, and a storage medium, the method comprising: verifying a pre-built node information table by means of a public verification method when a timing task reaches execution time, and obtaining an IP address of an execution node of the timing task; determining whether the IP address of a cluster node at current moment is consistent with the IP address of a preset execution node of the timing task; if yes, determining the cluster node at the current moment as an execution node of the timing task, and executing the timing task by means of the execution node; and if not, determining that the cluster node at the current moment is not the execution node of the timing task, and exiting a timing task calling program. In the present application, the execution node of the timing task in the cluster environment is determined by means of an IP election means, thereby improving the availability, and avoiding the occurrence of a distributed lock phenomenon.
机译:本发明涉及云计算技术领域,并提供集群环境定时任务处理方法,系统和设备,以及存储介质,该方法包括:借助公共验证方法验证预构建的节点信息表当定时任务达到执行时间并获取计时任务的执行节点的IP地址;确定当前时刻群集节点的IP地址是否与定时任务的预设执行节点的IP地址一致;如果是,则将当前时刻的群集节点确定为定时任务的执行节点,并借助于执行节点执行定时任务;如果没有,则确定当前时刻的群集节点不是定时任务的执行节点,并退出定时任务调用程序。在本申请中,群集环境中的定时任务的执行节点由IP选举装置确定,从而提高了可用性,避免了分布式锁定现象的发生。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号