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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com