Task execution method and device and task execution system

A task execution and task technology, applied in the fields of devices, task execution systems, and task execution methods, can solve problems such as data loss of real-time performance, and achieve the effect of rapid analysis and guarantee of real-time performance.

Active Publication Date: 2019-06-07
重庆西部汽车试验场管理有限公司 +1
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when performing statistical analysis on data, the usual practice is to hand over the data to a computer in the cluster computer for calculation, or put the data in different databases or data tables, and let different computers do calculations, if There are too many data, the above method of data processing cannot complete the data analysis quickly, and it is very likely that the data will lose real-time performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Task execution method and device and task execution system
  • Task execution method and device and task execution system
  • Task execution method and device and task execution system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] This embodiment provides a task execution method, which is applied to a network server, such as figure 2 Shown is a flow chart of a method of performing a task, the method comprising:

[0049] Step S202, receiving a startup notification sent by a computer in the cluster computer.

[0050] A cluster computer includes multiple computers, each of which is connected to a network server. Such as figure 1 Shown is a structural block diagram of the task execution system, the task execution method provided by the embodiment of the present invention can be applied to figure 1 The distributed system shown. combine figure 1 , the task execution system includes a network server 5 and a computer 1, a computer 2, a computer 3 and a computer 4 connected to the network server 5, and a database 6 connected to the computer 1, the computer 2, the computer 3 and the computer 4.

[0051]Specifically, a certain computer in computer 1, computer 2, computer 3, and computer 4 is provided ...

Embodiment 2

[0059] This embodiment provides a task execution method, which is applied to computers in cluster computers, such as image 3 Shown is a flow chart of a method of performing a task, the method comprising:

[0060] Step S302, receiving a competition instruction sent by the network server.

[0061] Step S304, execute the competition instruction, and obtain the competition result.

[0062] Exemplarily, when each computer in the cluster computer receives the competition instruction, it can use the same key value such as "jobLeader+1" at the same time, and send the key value to the network server 5, and the network server 5 obtains the Then send the key value of each computer to computer 2, execute the competition instruction in the redis software running on computer 2, make each computer execute the competition instruction and obtain the competition result, and determine the master computer and slave computer.

[0063] Step S306, sending the competition result to the network se...

Embodiment 3

[0072] Corresponding to Embodiment 1 of the above-mentioned method, this embodiment provides a task execution device, which is applied to a network server, such as Figure 4 As shown, the device includes:

[0073] The first receiving module 41 is used for receiving the startup notification sent by the computers in the cluster computer; the cluster computer includes multiple computers; each computer is connected to the network server through communication.

[0074] The first sending module 42 is configured to send the competition instruction to each computer in the cluster computer according to the startup notification, so that each computer executes the competition instruction.

[0075] The acquiring module 43 is configured to acquire the competition result returned by each computer.

[0076] The second sending module 44 is configured to send the task division instruction and the standby task instruction to the computer according to the competition result.

[0077] The task ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a task execution method and device and a task execution system, and belongs to the technical field of computer application. The embodiment of the invention provides a task execution method and device and a task execution system. The method comprises the following steps: receiving a starting notification sent by a computer in a cluster computer; sending a competition instruction to each computer in the cluster computer according to the starting notification, each computer is enabled to execute the competition instruction; obtaining a competition result returned by each computer; according to the competition results, sending a task segmentation instruction and a standby task instruction to the computer, so that each computer in the cluster computer completes the competition, the main computer extracts data related to the task segmentation instruction from the database and segments the data into a plurality of task segments, and then the main computer and the slavecomputers execute the plurality of task segments together, so that data analysis can be completed quickly, and the real-time performance of data analysis is guaranteed.

Description

technical field [0001] The present invention relates to the field of computer application technology, in particular, to a task execution method, device and task execution system. Background technique [0002] With the rapid development of Internet-related technologies, especially the rapid development of big data and intelligent technologies. The data that people generate daily on the Internet has grown exponentially, which has brought huge challenges to the statistical analysis of data. [0003] At present, when performing statistical analysis on data, the usual practice is to hand over the data to a computer in the cluster computer for calculation, or put the data in different databases or data tables, and let different computers do calculations, if There is too much data, and the above-mentioned data processing method cannot quickly complete the data analysis, and it is very likely that the data will lose real-time performance. Contents of the invention [0004] Aimin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50G06F16/2458G06F16/2453
Inventor 汪渝林
Owner 重庆西部汽车试验场管理有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products