Task server and method for allocating tasks
AssigneesHon Hai Precision Industry Co., Ltd., HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.
InventorsCHUNG-I LEE, DE-YI XIE, SHUAI-JUN TAO, ZHI-QIANG YI, JUN-CHAO YAO
Life of this patent
Estimating the term…
Abstract
At least two task servers connect to a database server. The database server includes a task list. A task server accesses the task list to search a task which is an earliest presenting task. When the searched task has not been executed, the task server marks the searched task with a serial number of the task. The task server records an execution start time of the searched task. When a time of executing the searched task is more than a predefined time, the task server prompts a user to deal with an error of the task server.
Claims15
A task server, comprising:
- a processor;
- and
- a non-transitory computer-readable medium that stores one or more programs, which comprise instructions which when executed by the processor of the electronic device, performs operations of:
- (a) accessing a task list stored in a database server connected to the task server and searching a task whose upload time is an earliest upload time in the task list;
- (b) marking information of the searched task as a serial number of the task server when the information of the searched task has not been marked;
- (c) executing the marked task and recording an execution start time of the marked task to the information of the marked task;
- and
- (d) determining that the task server is in error when a time of executing the marked task is more than a predefined time.
A method being executed by a processor of a task server, comprising steps:
- (a) accessing a task list stored in a database task server connected to the task server and searching a task whose upload time is an earliest upload time in the task list;
- (b) marking information of the searched task as a serial number of the task server when the information of the searched task has not been marked;
- (c) executing the marked task and recording an execution start time of the marked task to the information of the marked task;
- and
- (d) determining that the task server is in error when a time of executing the marked task is more than a predefined time.
A non-transitory computer-readable medium having stored thereon instructions that, when executed by a processor of a task server, cause the processor to perform operations of:
- (a) accessing a task list stored in a database task server connected to the task server and searching a task whose upload time is an earliest upload time in the task list;
- (b) marking information of the searched task as a serial number of the task server when the information of the searched task has not been marked;
- (c) executing the marked task and recording an execution start time of the marked task to the information of the marked task;
- and
- (d) determining that the task server is in error when a time of executing the marked task is more than a predefined time.
Dependencies are inferred from the claim text.