WO2017101701A1 - Procédé et dispositif pour s'informer de l'état d'une tâche - Google Patents

Procédé et dispositif pour s'informer de l'état d'une tâche Download PDF

Info

Publication number
WO2017101701A1
WO2017101701A1 PCT/CN2016/108624 CN2016108624W WO2017101701A1 WO 2017101701 A1 WO2017101701 A1 WO 2017101701A1 CN 2016108624 W CN2016108624 W CN 2016108624W WO 2017101701 A1 WO2017101701 A1 WO 2017101701A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
time
server
running
query
Prior art date
Application number
PCT/CN2016/108624
Other languages
English (en)
Chinese (zh)
Inventor
杨剑
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2017101701A1 publication Critical patent/WO2017101701A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/103Active monitoring, e.g. heartbeat, ping or trace-route with adaptive polling, i.e. dynamically adapting the polling rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms

Definitions

  • embodiments of the present application have been made in order to provide a task state query method and a corresponding task state query device that overcome the above problems or at least partially solve the above problems.
  • the fourth time is less than the fifth time, and the fifth time is less than the sixth time.
  • the timing module is configured to determine whether the next query time has elapsed, and if yes, return to invoke the query request sending module.
  • the query time setting module comprises:
  • the first query end module is configured to end the operation of querying the server for the task status of the specified task when the running result is not requested.
  • Querying a time search module configured to search for a previous query time when the response message returned by the server for the query request is not received
  • the re-query module is configured to determine whether the previous query time has elapsed, and if yes, return to invoke the query request sending module;
  • a second query end module configured to end an operation of querying a server for a task status of the specified task when the number of times the task status of the specified task is queried to the server exceeds a preset number of times threshold
  • a task generation judging module configured to determine whether the task is generated when receiving a response message returned by the server for the generation request; if yes, calling a task identifier writing module; if not, calling a failure prompt information extracting module;
  • Embodiment 3 is a flow chart showing the steps of Embodiment 3 of the query method of the task status of the present application;
  • the server can be queried for the task status of the task.
  • the next query time can be intelligently set by the current running information of the task/server, that is, the length of time from when the task state is successfully queried to when the query request is re-initiated, and the query time can be It is in seconds, and may be in milliseconds. This embodiment of the present application does not limit this.
  • step 103 may include the following sub-steps:
  • the server's operational load information or other determinant information can be fed back in response messages in the form of status bits, such as busyStatus.
  • it may be set to set three time intervals according to the running load state of the server:
  • Step 302 When the response message returned by the server for the query request is not received, look for the last query time;
  • Step 304 When the number of times the task status of the specified task is queried to the server exceeds a preset number of times threshold, the operation of querying the server for the task status of the specified task is ended;
  • the query operation may be directly ended, and information related to the task in the message queue may be deleted, such as JobID, task status, and the like.
  • Step 403 Write the task identifier of the generated task into a preset message queue.
  • a client (such as a browser) may send related condition information of the task to the server.
  • the server receives the information about the task, generates the task, and configures the JobID. If the task needs to be separated into multiple subtasks, it returns the number of subtasks to the client (such as a browser).
  • the query time setting module 503 is configured to set a next query time according to the response message when the task state is a task running;
  • the query time setting module 503 may include the following sub-modules:
  • a first time setting unit configured to set the next time when the log length is greater than or equal to the first length threshold
  • the query time is the first time
  • Running a result requesting module configured to request a running result of the task from the server
  • the third prompt information generating module is configured to generate prompt information for the operation of ending the query task.
  • Generating a request sending module configured to send a request for generating a task to the server
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
  • Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

Le procédé consiste: à envoyer une requête d'interrogation à un serveur pour s'informer de l'état d'une tâche spécifique; à connaître de l'état d'une tâche à partir d'un message de réponse reçu du serveur en réponse à la requête d'interrogation; à programmer le moment de la requête suivante en fonction du message de réponse si la tâche objet de la requête est toujours en exécution; et à répéter l'étape d'envoi d'une requête d'interrogation au serveur pour s'informer de l'état d'une tâche spécifique lorsque le moment de la requête suivante arrive. Le procédé de l'invention permet d'effectuer une scrutation dynamique et évite d'inonder le serveur avec des requêtes continues, tout en réduisant le temps nécessaire pour être informé de l'état d'une tâche, ce qui atténue les retards et améliore la réactivité.
PCT/CN2016/108624 2015-12-15 2016-12-06 Procédé et dispositif pour s'informer de l'état d'une tâche WO2017101701A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510938626.1A CN106888135B (zh) 2015-12-15 2015-12-15 一种任务状态的查询方法和装置
CN201510938626.1 2015-12-15

Publications (1)

Publication Number Publication Date
WO2017101701A1 true WO2017101701A1 (fr) 2017-06-22

Family

ID=59055779

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108624 WO2017101701A1 (fr) 2015-12-15 2016-12-06 Procédé et dispositif pour s'informer de l'état d'une tâche

Country Status (2)

Country Link
CN (1) CN106888135B (fr)
WO (1) WO2017101701A1 (fr)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684353A (zh) * 2017-10-18 2019-04-26 腾讯科技(深圳)有限公司 数值转移请求处理方法、装置、服务器及存储介质
CN109753406A (zh) * 2018-12-05 2019-05-14 平安科技(深圳)有限公司 接口的性能监控方法、装置、设备及计算机可读存储介质
CN111400368A (zh) * 2020-03-06 2020-07-10 网宿科技股份有限公司 一种分布式服务器系统的日志查找方法及装置
CN113297203A (zh) * 2020-07-15 2021-08-24 阿里巴巴集团控股有限公司 数据查询和写入方法和装置,计算机存储介质和电子设备
CN113347246A (zh) * 2021-05-31 2021-09-03 杭州海康威视数字技术股份有限公司 巡检方法、装置及电子设备
CN114417081A (zh) * 2021-12-27 2022-04-29 深圳萨摩耶数字科技有限公司 一种处理方法、装置、系统及存储介质
CN115408242A (zh) * 2022-11-01 2022-11-29 云和恩墨(北京)信息技术有限公司 数据库监控方法、系统及存储介质
CN116521630A (zh) * 2023-06-30 2023-08-01 深圳复临科技有限公司 任务进度实时显示方法、装置、计算机设备及存储介质

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786544B (zh) * 2017-09-29 2018-08-17 贵州白山云科技有限公司 一种消息的任务状态处理方法及系统
CN107943828B (zh) * 2017-10-18 2020-06-30 深圳市牛鼎丰科技有限公司 业务状态查询方法、装置、计算机设备和存储介质
CN109063140A (zh) * 2018-08-03 2018-12-21 福州麦辽自动化设备有限公司 一种数据查询方法、中转服务器及计算机可读存储介质
CN111105111B (zh) * 2018-10-26 2023-09-05 新方正控股发展有限责任公司 阅读管理方法、设备、系统及存储介质
JP7164406B2 (ja) * 2018-11-12 2022-11-01 シャープ株式会社 画像読取装置及びそれを備えた画像形成装置
CN109828826B (zh) * 2019-01-10 2021-11-09 新华三云计算技术有限公司 一种任务进度的轮询方法、装置及系统
CN110334118B (zh) * 2019-05-31 2021-08-03 口碑(上海)信息技术有限公司 数据查询方法及装置
CN111222872B (zh) * 2020-01-08 2021-11-02 口碑(上海)信息技术有限公司 基于支付渠道的用户进件方法、装置及系统
CN111552579A (zh) * 2020-03-02 2020-08-18 成都新潮传媒集团有限公司 一种远程调度Jenkins的方法及装置
CN112711597A (zh) * 2020-12-11 2021-04-27 京东方科技集团股份有限公司 资源状态更新方法、装置及电子设备
CN113672418A (zh) * 2021-08-02 2021-11-19 北京每日优鲜电子商务有限公司 数据处理任务详情页面展示方法、装置、电子设备和介质
CN115688948B (zh) * 2022-10-24 2024-06-21 深圳市宁远科技股份有限公司 互联网预约挂号平台限制抢号牟利行为的方法
CN116225666B (zh) * 2023-05-06 2023-08-15 中国第一汽车股份有限公司 一种操作系统任务调度方法、装置、电子设备及存储介质
CN116483874B (zh) * 2023-06-25 2023-12-05 北京奇虎科技有限公司 业务查询方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184062A (zh) * 2007-12-18 2008-05-21 深圳市迅雷网络技术有限公司 一种调整信息服务器负载的方法、装置及系统
CN102170422A (zh) * 2010-02-25 2011-08-31 腾讯科技(深圳)有限公司 一种节点查询方法、装置及系统
CN102687144A (zh) * 2009-12-23 2012-09-19 起元技术有限责任公司 管理查询
CN103516690A (zh) * 2012-06-26 2014-01-15 阿里巴巴集团控股有限公司 一种业务处理状态信息查询方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7107283B2 (en) * 2002-05-28 2006-09-12 Kabushiki Kaisha Toshiba Relational job queue
CN101815013B (zh) * 2009-12-24 2012-03-21 航天恒星科技有限公司 一种基于Ajax和Web服务技术的卫星应用系统运行监控方法
CN103634349B (zh) * 2012-08-24 2017-12-01 腾讯科技(深圳)有限公司 一种获取动态消息的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184062A (zh) * 2007-12-18 2008-05-21 深圳市迅雷网络技术有限公司 一种调整信息服务器负载的方法、装置及系统
CN102687144A (zh) * 2009-12-23 2012-09-19 起元技术有限责任公司 管理查询
CN102170422A (zh) * 2010-02-25 2011-08-31 腾讯科技(深圳)有限公司 一种节点查询方法、装置及系统
CN103516690A (zh) * 2012-06-26 2014-01-15 阿里巴巴集团控股有限公司 一种业务处理状态信息查询方法及装置

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684353A (zh) * 2017-10-18 2019-04-26 腾讯科技(深圳)有限公司 数值转移请求处理方法、装置、服务器及存储介质
CN109684353B (zh) * 2017-10-18 2022-11-22 腾讯科技(深圳)有限公司 数值转移请求处理方法、装置、服务器及存储介质
CN109753406B (zh) * 2018-12-05 2022-06-17 平安科技(深圳)有限公司 接口的性能监控方法、装置、设备及计算机可读存储介质
CN109753406A (zh) * 2018-12-05 2019-05-14 平安科技(深圳)有限公司 接口的性能监控方法、装置、设备及计算机可读存储介质
CN111400368A (zh) * 2020-03-06 2020-07-10 网宿科技股份有限公司 一种分布式服务器系统的日志查找方法及装置
CN111400368B (zh) * 2020-03-06 2023-12-12 网宿科技股份有限公司 一种分布式服务器系统的日志查找方法及装置
CN113297203A (zh) * 2020-07-15 2021-08-24 阿里巴巴集团控股有限公司 数据查询和写入方法和装置,计算机存储介质和电子设备
CN113347246B (zh) * 2021-05-31 2023-09-08 杭州海康威视数字技术股份有限公司 巡检方法、装置及电子设备
CN113347246A (zh) * 2021-05-31 2021-09-03 杭州海康威视数字技术股份有限公司 巡检方法、装置及电子设备
CN114417081A (zh) * 2021-12-27 2022-04-29 深圳萨摩耶数字科技有限公司 一种处理方法、装置、系统及存储介质
CN114417081B (zh) * 2021-12-27 2024-05-24 深圳萨摩耶数字科技有限公司 一种处理方法、装置、系统及存储介质
CN115408242A (zh) * 2022-11-01 2022-11-29 云和恩墨(北京)信息技术有限公司 数据库监控方法、系统及存储介质
CN116521630A (zh) * 2023-06-30 2023-08-01 深圳复临科技有限公司 任务进度实时显示方法、装置、计算机设备及存储介质
CN116521630B (zh) * 2023-06-30 2024-01-02 深圳复临科技有限公司 任务进度实时显示方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
CN106888135A (zh) 2017-06-23
CN106888135B (zh) 2020-03-24

Similar Documents

Publication Publication Date Title
WO2017101701A1 (fr) Procédé et dispositif pour s'informer de l'état d'une tâche
US9043383B2 (en) Stream processing using a client-server architecture
US10075502B2 (en) Systems and methods for web API communication
WO2017028697A1 (fr) Procédé et dispositif d'augmentation ou de diminution de grappe d'ordinateurs
US9686152B2 (en) Techniques for tracking resource usage statistics per transaction across multiple layers of protocols
CN111124819B (zh) 全链路监控的方法和装置
US9218332B2 (en) Method and system for auto-populating electronic forms
US10366152B2 (en) Online content management system with undo and redo operations
US20130318536A1 (en) Dynamic scheduling of tasks for collecting and processing data from external sources
US20140280691A1 (en) Updating dynamic content in cached resources
US20130339485A1 (en) Multi-Threaded Asynchronous Download of a Set of Script files Used in a Web Application
WO2017016408A1 (fr) Procédé, dispositif et système de gestion des pannes d'après les invocations de services
US9264507B2 (en) Cross domain communication channel
US9529568B1 (en) Systems and methods for low interference logging and diagnostics
EP2659397A2 (fr) Procédé et serveur web pour mettre en uvre un accès web
CN111782692A (zh) 一种频率控制方法及装置
WO2017162028A1 (fr) Procédé et dispositif de simulation de test de pression en ligne
US20170093652A1 (en) Visualization hypertext
CN104253835B (zh) 用户行为数据采集方法及其系统
TWI808018B (zh) 網頁操作智能反饋方法、系統、裝置及可讀存儲介質
AU2018390863B2 (en) Computer system and method for extracting dynamic content from websites
US11334558B2 (en) Adaptive metadata refreshing
US20160127496A1 (en) Method and system of content caching and transmission
US20150222505A1 (en) Business transaction resource usage tracking
US20240004734A1 (en) Event processing systems and methods

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16874758

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16874758

Country of ref document: EP

Kind code of ref document: A1