Sharing methods and servers

A server and server distribution technology, applied in the direction of instruments, resource allocation, program control design, etc., can solve problems such as waste, and achieve the effect of solving resource waste, improving task processing speed, and facilitating popularization

Active Publication Date: 2017-12-01
NUBIA TECHNOLOGY CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a sharing method and server. Multiple execution servers share the tasks of objects to be processed by subscribing to the same shared queue, so that different tasks corresponding to objects to be processed are assigned to different execution servers In the case of , the task sharing between execution servers is realized, thereby solving the defect of resource waste and improving the task processing rate

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
  • Sharing methods and servers
  • Sharing methods and servers
  • Sharing methods and servers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] Embodiment 1 of the present invention proposes a sharing method, which is applied to a distribution server, figure 1 Schematic diagram of the implementation process of the sharing method proposed for the embodiment of the present invention Figure 1 ,Such as figure 1 As shown, in a specific embodiment of the present invention, the sharing method may include the following steps:

[0076] Step 101. Obtain the first task corresponding to the object to be processed, and judge whether the first task is the first task issued by the object to be processed; wherein, the first task is used to process the object to be processed.

[0077] In a specific embodiment of the present invention, the distribution server acquires a first task corresponding to an object to be processed, and then judges whether the first task is a task issued to the object to be processed for the first time. Wherein, the allocation server can be a variety of processors with functions of receiving tasks and...

Embodiment 2

[0090]Based on embodiment one, figure 2 Schematic diagram of the implementation process of the sharing method proposed for the embodiment of the present invention Figure II ,Such as figure 2 As shown, in a specific embodiment of the present invention, when the first task is not the first task issued by the object to be processed, before the allocation server obtains the first task corresponding to the object to be processed, that is, before step 101, the sharing method can also be Include the following steps:

[0091] Step 103, when the first task is not the first task issued by the object to be processed, before obtaining the first task corresponding to the object to be processed, obtain the second task corresponding to the object to be processed; wherein, the second task is used to process the pending object for the first time object.

[0092] In a specific embodiment of the present invention, if the above-mentioned first task is not the first task issued to the above-...

Embodiment 3

[0102] Embodiment 3 of the present invention proposes a sharing method, which is applied to the first execution server, wherein the first execution server is an execution server in the execution server cluster subscribing to the shared queue, image 3 Schematic diagram of the implementation process of the sharing method proposed for the embodiment of the present invention Figure three ,Such as image 3 As shown, in a specific embodiment of the present invention, the sharing method may include the following steps:

[0103] Step 201, receiving a first task and a first identification code sent by the distribution server; wherein, the first task is used to process the object to be processed; the first identification code is a judgment mark of whether to execute the task.

[0104] In a specific embodiment of the present invention, the first execution server receives the first task and the first identification code sent by the distribution server; wherein, the above-mentioned firs...

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 embodiment of the invention discloses sharing methods and servers. One of the methods includes: acquiring a first task corresponding to a to-be-processed object, and judging whether the first task is a first-time task issued for the to-be-processed object, wherein the first task is used to process the to-be-processed object; and sending the first task and a first identifier to an execution server cluster when the first task is not the first-time task issued for the to-be-processed object, wherein the first identifier is a determination mark of whether the task is executed, the first identifier is obtained from the execution server cluster, and the execution server cluster subscribes to the same sharing queue with a sharing function.

Description

technical field [0001] The invention relates to task sharing technology, in particular to a sharing method and server. Background technique [0002] When the number of user visits continues to increase, in order to relieve the pressure on a single server, it is usually necessary to deploy multiple servers. The deployment of multiple servers can effectively share the work of large data, while reducing the pressure on each server, thereby extending Service life of the server. In the process of deploying multiple servers for large-scale data processing, each task to be processed needs to be forwarded and assigned, for example, task 1 is assigned to server A for execution, task 3 is assigned to server D for execution, and so on. [0003] Since the process of forwarding and assigning tasks to objects to be processed is invisible, that is to say, the assignment server responsible for task forwarding and assignment assigns different tasks corresponding to objects to be processed t...

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/50H04L29/08
CPCG06F9/5027H04L67/1001
Inventor 彭小春
Owner NUBIA TECHNOLOGY CO LTD
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