CN110308976A - Task processing method and device - Google Patents

Task processing method and device Download PDF

Info

Publication number
CN110308976A
CN110308976A CN201810258039.1A CN201810258039A CN110308976A CN 110308976 A CN110308976 A CN 110308976A CN 201810258039 A CN201810258039 A CN 201810258039A CN 110308976 A CN110308976 A CN 110308976A
Authority
CN
China
Prior art keywords
task
business side
server
identifier
mapping table
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201810258039.1A
Other languages
Chinese (zh)
Other versions
CN110308976B (en
Inventor
范雷雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Youku Network Technology Beijing Co Ltd
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 Youku Network Technology Beijing Co Ltd filed Critical Youku Network Technology Beijing Co Ltd
Priority to CN201810258039.1A priority Critical patent/CN110308976B/en
Publication of CN110308976A publication Critical patent/CN110308976A/en
Application granted granted Critical
Publication of CN110308976B publication Critical patent/CN110308976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

This disclosure relates to a kind of task processing method and device.Applied in the first server of server cluster, server cluster includes first server and multiple second servers, this method comprises: judging whether business side is isolation business side when receiving the task of business side's transmission;When business side is isolation business side, task is marked according to the first identifier of business side, obtains marked first task;It sends first task in task buffer space, so that second server corresponding with business side obtains from task buffer space and executes first task.Task processing method and device provided by the embodiment of the present disclosure, realize the isolation processing that task is issued to isolation business side, reduce the interaction difficulty between first server and second server, the degree of coupling between first server and second server is improved, the dynamic configuration to second server is realized.

Description

Task processing method and device
Technical field
This disclosure relates to field of computer technology more particularly to a kind of task processing method and device.
Background technique
Server cluster just refers to many server centereds, provides one or more services for business side.It is taking It is engaged in including a primary server and multiple from server in device cluster.Primary server is responsible for the scheduling of task and to from server Condition monitoring, from server be responsible for execute primary server issue specific task, according to the different primary servers of task be from The task distribution that server is adapted to.Needs are isolated with the task of the certain business sides handled, in the related technology institute The method of offer is difficult to realize the dynamic configuration from server, and primary server interacts the problems such as difficulty is big with from server.
Summary of the invention
In view of this, the present disclosure proposes a kind of task processing method and devices.
According to the disclosure in a first aspect, a kind of task processing method and device are provided, applied to server cluster In first server, the server cluster includes first server and multiple second servers, which comprises
When receiving the task of business side's transmission, judge whether the business side is isolation business side;
When the business side is isolation business side, the task is marked according to the first identifier of the business side, is obtained Marked first task;
Send the first task in task buffer space so that second server corresponding with the business side from It is obtained in the task buffer space and executes the first task.
For the above method, in one possible implementation, the method also includes:
When the business side is non-isolated business side, the task is determined as unlabelled second task;
It sends second task in task buffer space, so that second server corresponding with non-isolated business side It is obtained from the task buffer space and executes second task.
For the above method, in one possible implementation, the method also includes:
When the business side is non-isolated business side, the task is marked using third mark, acquisition has been marked The third task of note;
It sends the third task in task buffer space, so that second server corresponding with non-isolated business side It is obtained from the task buffer space and executes the third task.
For the above method, in one possible implementation, the method also includes:
When the isolation for receiving business side is requested, the business side is determined as isolation business side, and be the business Side distributes corresponding first identifier;
It is requested according to the isolation, is business side distribution for executing the second clothes of the task that the business side issues Business device;
The second server of task according to the first identifier of the business side and for executing business side's sending Second identifier establishes mapping table;
By mapping table storage into the task buffer space, so as to obtain institute in the task buffer space State mapping table.
According to the second aspect of the disclosure, a kind of task processing method is provided, applied to any one of server cluster In a second server, the server cluster includes first server and multiple second servers, which comprises
According to the second identifier and mapping table of the second server itself, the determining and second server pair The business side answered;
The task from the business side is obtained from the task buffer space of the first server;
The task of the business side is executed,
Wherein, the corresponding pass between the mark and the mark of second server in the mapping table including business side System.
For the above method, in one possible implementation, according to the second identifier of the second server itself And mapping table, determine business side corresponding with the second server, comprising:
When there are when the second identifier, being marked according to business side corresponding with the second identifier in the mapping table Know, determine business side corresponding with the second server,
Wherein, business side's mark includes the first identifier of isolation business side and the third mark of non-isolated business side.
For the above method, in one possible implementation, according to the second identifier of the second server itself And mapping table, determine business side corresponding with the second server, comprising:
When the second identifier is not present in the mapping table, the industry in the mapping table would not exist in Business side is determined as business side corresponding with the second server,
Wherein, the business side being not present in the mapping table is non-isolated business side.
For the above method, in one possible implementation, the method also includes:
The mapping table is obtained from the task buffer space.
According to the third aspect of the disclosure, a kind of Task Processing Unit is provided, the first clothes applied to server cluster It is engaged in device, the server cluster includes first server and multiple second servers, and described device includes:
Determining module is isolated, when receiving the task of business side's transmission, judges whether the business side is isolation business Side;
First mark module is marked when the business side is isolation business side according to the first identifier of the business side The task obtains marked first task;
First sending module sends the first task in task buffer space, so that corresponding with the business side Second server obtained from the task buffer space and execute the first task.
For above-mentioned apparatus, in one possible implementation, described device further include:
The task is determined as unlabelled the when the business side is non-isolated business side by the second mark module Two tasks;
Second sending module sends second task in task buffer space, so that with non-isolated business side pair The second server answered obtains from the task buffer space and executes second task.
For above-mentioned apparatus, in one possible implementation, described device further include:
Third mark module carries out the task using third mark when the business side is non-isolated business side Label, obtains marked third task;
Third sending module sends the third task in task buffer space, so that with non-isolated business side pair The second server answered obtains from the task buffer space and executes the third task.
For above-mentioned apparatus, in one possible implementation, described device further include:
The business side is determined as isolation business side when the isolation for receiving business side is requested by request receiving module, And corresponding first identifier is distributed for the business side;
Server distribution module is requested according to the isolation, is business side distribution for executing business side's hair The second server of task out;
Relation table establishes module, issuing according to the first identifier of the business side and for executing the business side for task Second server second identifier, establish mapping table;
Relation table sending module, by mapping table storage into the task buffer space, so that described second Server obtains the mapping table from the task buffer space.
According to the fourth aspect of the disclosure, a kind of Task Processing Unit is provided, applied to any one of server cluster In a second server, the server cluster includes first server and multiple second servers, and described device includes:
Business side's determining module, according to the second identifier and mapping table of the second server itself, determine with The corresponding business side of the second server;
Task acquisition module obtains appointing from the business side from the task buffer space of the first server Business;
Task execution module executes the task of the business side,
Wherein, the corresponding pass between the mark and the mark of second server in the mapping table including business side System.
For above-mentioned apparatus, in one possible implementation, business side's determining module, comprising:
First determining module, when in the mapping table there are when the second identifier, according to the second identifier Corresponding business side's mark, determines business side corresponding with the second server,
Wherein, business side's mark includes the first identifier of isolation business side and the third mark of non-isolated business side.
For above-mentioned apparatus, in one possible implementation, business side's determining module, comprising:
Second determining module, when the second identifier is not present in the mapping table, it is described right to would not exist in The business side in relation table is answered to be determined as business side corresponding with the second server,
Wherein, the business side being not present in the mapping table is non-isolated business side.
For above-mentioned apparatus, in one possible implementation, described device further include:
Relation table obtains module, obtains the mapping table from the task buffer space.
According to the 5th of the disclosure the aspect, a kind of Task Processing Unit is provided, comprising: processor;It is handled for storage The memory of device executable instruction;Wherein, it is handled the processor is configured to executing the above-mentioned task for first server Method.
According to the 6th of the disclosure the aspect, a kind of non-volatile computer readable storage medium storing program for executing is provided, is stored thereon with Computer program instructions, wherein the computer program instructions are realized above-mentioned for first server when being executed by processor Task processing method.
According to the 7th of the disclosure the aspect, a kind of Task Processing Unit is provided, comprising: processor;It is handled for storage The memory of device executable instruction;Wherein, it is handled the processor is configured to executing the above-mentioned task for second server Method.
According to the eighth aspect of the disclosure, a kind of non-volatile computer readable storage medium storing program for executing is provided, is stored thereon with Computer program instructions, wherein the computer program instructions are realized above-mentioned for second server when being executed by processor Task processing method.
Task processing method and device provided by the embodiment of the present disclosure, realize to isolation business side issue task every From processing, the interaction difficulty between first server and second server is reduced, first server and second service are improved The degree of coupling between device realizes the dynamic configuration to second server.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become It is clear.
Detailed description of the invention
Comprising in the description and constituting the attached drawing of part of specification and specification together illustrates the disclosure Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 shows the flow chart of the task processing method according to one embodiment of the disclosure;
Fig. 2 shows the flow charts according to the task processing method of one embodiment of the disclosure;
Fig. 3 shows the schematic diagram of mapping table in the task processing method according to one embodiment of the disclosure;
Fig. 4 shows the flow chart of the task processing method according to one embodiment of the disclosure;
Fig. 5 shows the flow chart of the task processing method according to one embodiment of the disclosure;
Fig. 6 shows the schematic diagram of mapping table in the task processing method according to one embodiment of the disclosure;
Fig. 7 shows the flow chart of the task processing method according to one embodiment of the disclosure;
Fig. 8 shows the flow chart of step S201 in the task processing method according to one embodiment of the disclosure;
Fig. 9 shows the flow chart of step S201 in the task processing method according to one embodiment of the disclosure;
Figure 10 shows the flow chart of the task processing method according to one embodiment of the disclosure;
Figure 11 a, Figure 11 b show the schematic diagram of the application scenarios of the task processing method according to one embodiment of the disclosure;
Figure 12 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure;
Figure 13 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure;
Figure 14 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure;
Figure 15 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure;
Figure 16 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, giving numerous details in specific embodiment below to better illustrate the disclosure. It will be appreciated by those skilled in the art that without certain details, the disclosure equally be can be implemented.In some instances, for Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Fig. 1 shows the flow chart of the task processing method according to one embodiment of the disclosure.As shown in Figure 1, this method application In the first server of server cluster, server cluster may include first server and multiple second servers.This Processing method of being engaged in may include step S101 to step S103.
In step s101, when receiving the task of business side's transmission, judge whether business side is isolation business side.
In the present embodiment, first server can be the primary server in server cluster, and second server can be Slave server in server cluster.Business side can be the user serviced provided by the server clusters such as website, platform Or service object, business side can issue the executable task of server cluster by corresponding server, terminal etc..This field Technical staff can according to actual needs be configured business side, the disclosure to this with no restriction.
In the present embodiment, can classify previously according to the business demand of business side to it, when business side needs to take When the task that business device cluster issues it carries out isolation processing, which can be determined as to isolation business side.When business side When not needing the task progress isolation processing that server cluster issues it, which can be determined as to non-isolated business Side.In this manner it is achieved that being directed to the isolation processing of business side.Wherein, isolation processing, which refers to, will be isolated the task of business side's sending Execution is separated with the task of other business sides, in order to avoid the task execution of other business sides is to the task execution of isolation business side It impacts.
In step s 102, when business side is isolation business side, task is marked according to the first identifier of business side, is obtained Marked first task.
In the present embodiment, the table that the first identifier of business side can be that first server is the distribution of business side is different from it The mark such as number, title of his business side can also be the mark of characterization business side's identity characteristic such as title of business side itself, The disclosure to this with no restriction.For example, first identifier is 001, it is that task biz is marked according to first identifier 001, obtains The first task biz-001 of label.
In step s 103, it sends first task in task buffer space, so that the second clothes corresponding with business side Business device obtains from task buffer space and executes first task.
In the present embodiment, multiple second servers can access to task buffer space, obtain and execute certainly Task corresponding to body.
Task processing method provided by the embodiment of the present disclosure is isolation business side in the business side for determining sending task In the case of, task is marked according to the first identifier of business side, obtains marked first task;Task is sent by first task In spatial cache, so that second server corresponding with business side obtains from task buffer space and executes first task.It is real The isolation processing for issuing task to isolation business side is showed, has reduced and interact hardly possible between first server and second server Degree, improves the degree of coupling between first server and second server, realizes the dynamic configuration to second server.
Fig. 2 shows the flow charts according to the task processing method of one embodiment of the disclosure.As shown in Fig. 2, this method may be used also To include step S104 to step S107.
In step S104, when the isolation for receiving business side is requested, business side is determined as isolation business side, and be Business side distributes corresponding first identifier.
In the present embodiment, business side is issued isolation request may include business side by the type of the task of sending, The relevant information of speed, task amount needed for task processing etc. and task of isolation processing is carried out needed for business side.Isolation request It can also include the information relevant to business side such as the title of business side.First server is that the first identifier of business side's distribution can Being determined according to title of business side etc..First server is that the first identifier of business side's distribution can also be as business side The mark such as number, serial number directly distribute, being different from other the business sides accessed in server cluster.Those skilled in the art Member the method for salary distribution of first identifier can be configured according to actual needs, the disclosure to this with no restriction.
In step s105, it is requested according to isolation, is the distribution of business side for executing the second of the task that business side issues Server.
In the present embodiment, the relevant information of the task of sending can be determined by server according to business side in isolation request Cluster carries out it to handle required resource distribution, for the one or more required second servers of business side distribution, this public affairs It opens to this with no restriction.
In step s 106, the second service of the task according to the first identifier of business side and for executing the sending of business side The second identifier of device, establishes mapping table.
In the present embodiment, the second identifier of second server can be with the Internet protocol address of second server (Internet Protocol Address, abbreviation IP address), number, title, serial number etc. make itself and other second server areas The information that do not open, the disclosure to this with no restriction.Fig. 3 shows corresponding pass in the task processing method according to one embodiment of the disclosure It is the schematic diagram of table.As shown in figure 3, can task according to the first identifier of business side and for executing the sending of business side the Corresponding relationship between the second identifier of two servers, establishes mapping table, so that second server is according to the of device itself Two marks and mapping table determine the first identifier of its corresponding business side (isolation business side), according to first identifier from appointing The first task marked according to first identifier is obtained in business spatial cache.
In step s 107, by mapping table storage into task spatial cache, so that second server is slow from task It deposits and obtains mapping table in space.
In the present embodiment, second server can according to need timing or not timing obtains pair from task buffer space Answer relation table.When mapping table changes, the mapping table after change can be stored in task and delayed by first server It deposits in space, second server can get the mapping table after changing in time.In this way, can be dynamically to for holding The second server for the task that certain business side of row issues is configured, and is simplified and is configured corresponding second server for business side Process.First server can also store mapping table into the relation table memory space of itself, so that second server Mapping table is obtained from relation table memory space.Those skilled in the art can be according to actual needs to mapping table Storage location is configured, the disclosure to this with no restriction.
In the present embodiment, request is isolated in the releasing that first server can also be issued according to business side, by the business side It is determined as non-isolated business side, and is released to the second server of issuing for actuator for the task of business side distribution and is somebody's turn to do The corresponding relationship of business side closes the corresponding relationship of the first identifier of the business side and the second identifier of second server from corresponding It is to be deleted in table, so that second server can be assigned to execute the task of other task sides.
In the present embodiment, to meet the needs of different business side, it can also only determine the needing isolation processing of the task, be The task of isolation processing distributes corresponding second server.According to the second of the mark of the task of isolation processing and second server Mark establishes task mapping table, so that second server is obtained from task buffer space pair according to task mapping table Answering for task, to realize the isolation processing for the task of being directed to.Its specific implementation process is directed to business with what is realized based on business side The isolation processing of side is identical, and details are not described herein again.
Fig. 4 shows the flow chart of the task processing method according to one embodiment of the disclosure.As shown in figure 4, this method may be used also To include step S108 and step S109.
In step S108, when business side is non-isolated business side, task is determined as unlabelled second task.
It in step S109, sends the second task in task buffer space, so that corresponding with non-isolated business side Second server obtains from task buffer space and executes the second task.
In the present embodiment, when business side is non-isolated business side, it can determine task that the business side is issued not Need isolation processing.The task can not be marked (be different from other isolation business sides issue according to first identifier The first task of label), which is determined as unlabelled second task, and be sent in task buffer space.Make to service Second server that is any idle and having not designated as executing the task that isolation business side issues obtains in device cluster And execute second task.
Fig. 5 shows the flow chart of the task processing method according to one embodiment of the disclosure.As shown in figure 5, this method may be used also To include step S110 and step S111.
In step s 110, when business side is non-isolated business side, task is marked using third mark, is obtained Marked third task.
In the present embodiment, first server, which can identify third, be set as being different from first identifier and second identifier Any mark.For example, third is identified as all, all is identified according to third, task biz is marked, obtain marked third Task biz-all.Those skilled in the art can according to actual needs be configured third mark, and the disclosure does not limit this System.
It in step S111, sends third task in task buffer space, so that corresponding with non-isolated business side Second server obtains from task buffer space and executes third task.
In the present embodiment, any idle in server cluster after third task being sent in task buffer space And second server that have not designated as the task for executing the sending of isolation business side, it is available and execute this Three tasks.
It in one possible implementation, can also include the industry for being confirmed as non-isolated business side in mapping table Third corresponding to business side identifies and can execute the second identifier of the second server of the issued task in non-isolated business side. Fig. 6 shows the schematic diagram of mapping table in the task processing method according to one embodiment of the disclosure.As shown in fig. 6, business side 6, business side 7 and business side 8 are non-isolated business side, corresponding to third be identified as all, business side 6, business can be executed Side 7 and business side 8 issue task second server be server 7, server 8, server 9 and server 10, each second The corresponding second identifier of server is respectively 192.168.0.7,192.168.0.8,192.168.0.9 and 192.168.0.10.
Fig. 7 shows the flow chart of the task processing method according to one embodiment of the disclosure.As shown in fig. 7, this method application In any one second server of server cluster, server cluster includes first server and multiple second servers. The task processing method may include step S201 to step S203.
In step s 201, it according to the second identifier and mapping table of second server itself, determines and the second clothes Be engaged in the corresponding business side of device.Wherein, pair between the mark in mapping table including business side and the mark of second server It should be related to.
In the present embodiment, business side corresponding to determining second server can be task that it is issued need every Isolation business side from processing can also be that need not issuing to it for task carries out the non-isolated business side of isolation processing.
It in the present embodiment, may include that the part that is serviced of server cluster is confirmed as that industry is isolated in mapping table The second identifier of the mark of business side and the second server for executing the task that corresponding isolation business side issues.It is corresponding to close It is any idle and do not have that be in table can also include in the mark of third corresponding to non-isolated business side and server cluster It is designated for executing the second identifier of the second server for the task that isolation business side issues.Those skilled in the art can be with Content included in mapping table is configured according to actual needs, the disclosure to this with no restriction.
In step S202, the task from business side is obtained from the task buffer space of first server.
In the present embodiment, second server obtains appointing from business side from the task buffer space of first server Business can be the needing isolation processing of the task of isolation business side sending, and be also possible to that non-isolated business side issues need not be every Task from processing.
In step S203, the task of business side is executed.
Task processing method provided by the embodiment of the present disclosure, according to the second identifier and correspondence of second server itself Relation table determines business side corresponding with second server, and the business of coming from is obtained from the task buffer space of first server The task of side executes the task of business side.The interaction difficulty between first server and second server is reduced, improves The degree of coupling between one server and second server realizes the dynamic configuration to second server.
Fig. 8 shows the flow chart of step S201 in the task processing method according to one embodiment of the disclosure.In a kind of possibility Implementation in, as shown in figure 8, step S201 may include step S2011.
In step S2011, when in mapping table there are when second identifier, according to business side corresponding with second identifier Mark determines business side corresponding with second server.Wherein, business side's mark includes the first identifier of isolation business side and non- The third of isolation business side identifies.
In this implementation, when, there are when the second identifier of second server, second server can in mapping table It is identified with the first identifier or third of the directly business side according to corresponding to the second identifier of second server in mapping table, It is obtained from task buffer space and executes corresponding task.Wherein, it obtains to come from the task buffer space of first server From the task of business side may is that it is that isolation business side issues and be marked according to the first identifier of isolation business side the One task;Third task that non-isolated business side issues and being marked according to corresponding third mark.
Fig. 9 shows the flow chart of step S201 in the task processing method according to one embodiment of the disclosure.In a kind of possibility Implementation in, as shown in figure 9, step S201 may include step S2012.
In step S2012, when second identifier is not present in mapping table, it would not exist in mapping table Business side is determined as business side corresponding with second server.Wherein, be not present in business Fang Weifei in mapping table every From business side.
In this implementation, when second identifier is not present in mapping table, second server can determine itself It is not distributed in the task that certain isolation business side issues that executes, second server can be obtained and be held from task buffer space The corresponding task of row.Wherein, from the task buffer space of first server obtain the task from business side may is that it is non-every The second task issued from business side and not labeled.
Figure 10 shows the flow chart of the task processing method according to one embodiment of the disclosure.As shown in Figure 10, this method is also It may include step S204.
In step S204, mapping table is obtained from task buffer space.
In the present embodiment, second server can be obtained from task buffer space in timing or not timing according to their needs Take mapping table, the disclosure to this with no restriction.In this way, can make second server according to mapping table and itself the Two marks determine corresponding business side, execute the task of business side sending.
It should be noted that, this field as above although describing task processing method using above-described embodiment as example Technical staff it is understood that the disclosure answer it is without being limited thereto.In fact, user completely can be according to personal preference and/or practical application Scene flexibly sets each step, as long as meeting the technical solution of the disclosure.
Using example
Below in conjunction with " task processes of certain server cluster " property application scenarios as an example, provide according to this The application example of open embodiment, in order to understand the process of task processing method.It will be understood by those skilled in the art that answering below With example merely for the sake of the purpose for being easy to understand the embodiment of the present disclosure, it is not construed as the limitation to the embodiment of the present disclosure.
Figure 11 a, Figure 11 b show the schematic diagram of the application scenarios of the task processing method according to one embodiment of the disclosure.Root According to the difference of mapping table, the implementation process of task processing method is illustrated below by way of two examples.
Example 1
As shown in fig. 11a, when the first identifier in mapping table only including isolation business side and for executing isolation industry When the second identifier of the second server for the task that business side issues, the course of work of first server and each second server is such as Under:
The course of work of first server includes establishing mapping table and task distribution.It is specific as follows:
Establish mapping table, comprising: when receiving the isolation request of business side's sending, business side is determined as being isolated Business side, and corresponding first identifier is distributed for business side, for example, distributing first identifier 001 for business side 1.It is asked according to isolation It asks, is the distribution of business side for executing the second server for the task that business side issues, for example, being 1 distribution server of business side 1.The then second server of the task according to the first identifier of business side and for executing the sending of business side establishes corresponding close It is table D.Task buffer space R is sent by mapping table D.
Task distribution, comprising: whether be isolation business side to the business side when receiving the task of certain business side transmission Judged.When the business side is isolation business side, the task that it sends is marked according to the first identifier of the business side Note, obtains marked first task.First task is sent to task buffer space R.For example, to business side is then isolated The task 2A that business side 2 issues, is marked task 2A according to the first identifier 002 of business side 2, obtains marked first Task 2A '.When the business side is non-isolated business side, task is determined as unlabelled second task.Second task is sent out It send to task buffer space R.For example, for being task 12A that the business side 12 of non-isolated business side issues, this is unlabelled Task 12A is determined as the second task 12K.
The course of work of second server includes obtaining mapping table and execution task.It is specific as follows:
Obtain mapping table, comprising: from the R of task buffer space, obtain mapping table D.
Execution task, comprising: judge to whether there is the second identifier of itself in mapping table D.For example, second identifier is 192.168.0.2 with second identifier 192.168.0.15.When the second identifier in mapping table D there are its own When 192.168.0.2, first of isolation business side corresponding to second identifier 192.168.0.2 is determined from mapping table D Mark 002.According to first identifier 002 from the R of task buffer space, first be marked according to first identifier 002 is got Task 2A ' executes the first task 2A ' got.When the second identifier in mapping table D there is no its own When 192.168.0.15, unlabelled second task is got from the R of task buffer space, for example, the second task 15K, executes Second task 15K.
Example 2
As shown in figure 11b, when the first identifier in mapping table only including isolation business side and for executing isolation industry The third of the second identifier of the second server for the task that business side issues and non-isolated business identify when, first server and The course of work of each second server is as follows:
The course of work of first server includes establishing mapping table and task distribution.It is specific as follows:
Establish mapping table, comprising: when receiving the isolation request of business side's sending, business side is determined as being isolated Business side, and corresponding first identifier is distributed for business side, for example, distributing first identifier 001 for business side 1.It is asked according to isolation It asks, is the distribution of business side for executing the second server for the task that business side issues, for example, being 1 distribution server of business side 1.Third is arranged for non-isolated business side to identify, for example, all.Determine in multiple second servers it is any idle and not by It is appointed as the second server for executing the task that certain isolation business side issues, it is configured to execute non-isolated business side's hair Task out.Then the of the second server of the task according to the first identifier of business side and for executing the sending of business side The third mark and the second server for executing the task that non-isolated business side issues of two marks and non-isolated business side Second identifier, establish mapping table D.Task buffer space R is sent by mapping table D.
Task distribution, comprising: whether be isolation business side to the business side when receiving the task of certain business side transmission Judged.When the business side is isolation business side, the task that it sends is marked according to the first identifier of the business side Note, obtains marked first task.First task is sent to task buffer space R.For example, to business side is then isolated The task 3A that business side 3 issues, is marked task 3A according to the first identifier 003 of business side 1, obtains marked first Task 3A '.When the business side is non-isolated business side, it is marked, is obtained according to the task that third mark issues business side Obtain marked third task.Third task is sent to task buffer space R.For example, for be non-isolated business side industry The task 7A that business side 7 issues, is marked task 7A according to first identifier all, obtains marked third task 7A ".
The course of work of second server includes obtaining mapping table and execution task.It is specific as follows:
Obtain mapping table, comprising: mapping table D is obtained from the R of task buffer space.
Execution task, comprising: from mapping table D, obtain with first identifier corresponding to itself second identifier or Third mark from the R of task buffer space, gets and is carried out according to first identifier according to determining first identifier or third mark The first task of label or the third task marked according to third mark, execute the first task got or third task.
In this way, realizing the isolation processing for issuing task to isolation business side, first server and second service are reduced Interaction difficulty between device, improves the degree of coupling between first server and second server, realizes to second server Dynamic configuration.
Figure 12 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure.As shown in figure 12, the device application In the first server of server cluster, server cluster includes first server and multiple second servers, which can To include isolation determining module 501, the first mark module 502 and the first sending module 503.The isolation determining module 501 is matched It is set to when receiving the task of business side's transmission, judges whether business side is isolation business side.First mark module, 502 quilt It is configured to mark task according to the first identifier of business side when business side is isolation business side, obtain marked first Business.First sending module 503 is configured as sending first task in task buffer space, so that corresponding with business side Second server obtains from task buffer space and executes first task.
Figure 13 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure.
In one possible implementation, as shown in figure 13, which can also include the second mark module 504 and the Two sending modules 505.Second mark module 504 is configured as being determined as task when business side is non-isolated business side Unlabelled second task.Second sending module 505 is configured as sending the second task in task buffer space, so that Second server corresponding with non-isolated business side obtains from task buffer space and executes the second task.
In one possible implementation, as shown in figure 13, which can also include third mark module 506 and the Three sending modules 507.The third mark module 506 is configured as identifying when business side is non-isolated business side using third Task is marked, marked third task is obtained.The third sending module 507 is configured as sending third task to In task buffer space, so that second server corresponding with non-isolated business side obtains from task buffer space and executes Three tasks.
In one possible implementation, as shown in figure 13, which can also include request receiving module 508, clothes Business device distribution module 509, relation table establish module 510 and relation table sending module 511.The request receiving module 508 is configured It for when the isolation for receiving business side is requested, business side is determined as isolation business side, and is business side's distribution corresponding the One mark.The server distribution module 509 is configured as being requested according to isolation, issues for the distribution of business side for executing business side Task second server.The relation table is established module 510 and is configured as according to the first identifier of business side and for executing The second identifier of the second server for the task that business side issues, establishes mapping table.The relation table sending module 511 is matched It is set to by mapping table storage into task spatial cache, so that second server obtains corresponding pass from task buffer space It is table.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It should be noted that, this field as above although describing Task Processing Unit using above-described embodiment as example Technical staff it is understood that the disclosure answer it is without being limited thereto.In fact, user completely can be according to personal preference and/or practical application Scene flexibly sets each module, as long as meeting the technical solution of the disclosure.
Task Processing Unit provided by the embodiment of the present disclosure is isolation business side in the business side for determining sending task In the case of, task is marked according to the first identifier of business side, obtains marked first task;Task is sent by first task In spatial cache, so that second server corresponding with business side obtains from task buffer space and executes first task.It is real The isolation processing for issuing task to isolation business side is showed, has reduced and interact hardly possible between first server and second server Degree, improves the degree of coupling between first server and second server, realizes the dynamic configuration to second server.
Figure 14 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure.As shown in figure 14, the device application In any one second server of server cluster, server cluster includes first server and multiple second servers, The apparatus may include business side's determining module 601, task acquisition module 602 and task execution modules 603.The business side determines Module 601 is configured as second identifier and mapping table according to second server itself, determining and second server pair The business side answered.The task acquisition module 602 is configured as obtaining from the task buffer space of first server from business The task of side.The task execution module 603 is configured as the task of execution business side.It wherein, include business in mapping table Corresponding relationship between the mark of side and the mark of second server.
Figure 15 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure.
In one possible implementation, as shown in figure 15, business side's determining module 601 may include the first determining mould Block 6011.First determining module 6011 be configured as when in mapping table there are when second identifier, according to second identifier Corresponding business side's mark, determines business side corresponding with second server.Wherein, business side's mark includes isolation business side First identifier and the third of non-isolated business side mark.
In one possible implementation, as shown in figure 15, business side's determining module 601 may include the second determining mould Block 6012.Second determining module 6012 is configured as would not exist in pair when second identifier is not present in mapping table The business side in relation table is answered to be determined as business side corresponding with second server.Wherein, it is not present in mapping table Business side is non-isolated business side.
In one possible implementation, as shown in figure 15, which can also include that relation table obtains module 604. The relation table obtains module 604 and is configured as obtaining mapping table from task buffer space.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It should be noted that, this field as above although describing Task Processing Unit using above-described embodiment as example Technical staff it is understood that the disclosure answer it is without being limited thereto.In fact, user completely can be according to personal preference and/or practical application Scene flexibly sets each module, as long as meeting the technical solution of the disclosure.
Task Processing Unit provided by the embodiment of the present disclosure, according to the second identifier and correspondence of second server itself Relation table determines business side corresponding with second server, and the business of coming from is obtained from the task buffer space of first server The task of side executes the task of business side.The interaction difficulty between first server and second server is reduced, improves The degree of coupling between one server and second server realizes the dynamic configuration to second server.
Figure 16 shows the block diagram of the Task Processing Unit according to one embodiment of the disclosure.For example, device 1900 can be mentioned For for a server.Referring to Fig.1 6, it further comprises one or more processors that device 1900, which includes processing component 1922, And memory resource represented by a memory 1932, for store can by the instruction of the execution of processing component 1922, such as Application program.The application program stored in memory 1932 may include it is one or more each correspond to one group refer to The module of order.In addition, processing component 1922 is configured as executing instruction, to execute the above method.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing is additionally provided, for example including calculating The memory 1932 of machine program instruction, above-mentioned computer program instructions can be executed by the processing component 1922 of device 1900 to complete The above method.
The disclosure can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing disclosure operation can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the disclosure Face.
Referring herein to according to the flow chart of the method, apparatus (system) of the embodiment of the present disclosure and computer program product and/ Or block diagram describes various aspects of the disclosure.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show system, method and the computer journeys according to multiple embodiments of the disclosure The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology Other those of ordinary skill in domain can understand each embodiment disclosed herein.

Claims (20)

1. a kind of task processing method, which is characterized in that applied in the first server of server cluster, the server set Group includes first server and multiple second servers, which comprises
When receiving the task of business side's transmission, judge whether the business side is isolation business side;
When the business side is isolation business side, the task is marked according to the first identifier of the business side, has been marked The first task of note;
It sends the first task in task buffer space, so that second server corresponding with the business side is from described It is obtained in task buffer space and executes the first task.
2. the method according to claim 1, wherein the method also includes:
When the business side is non-isolated business side, the task is determined as unlabelled second task;
It sends second task in task buffer space, so that second server corresponding with non-isolated business side is from institute It states and second task is obtained and executed in task buffer space.
3. the method according to claim 1, wherein the method also includes:
When the business side is non-isolated business side, the task is marked using third mark, is obtained marked Third task;
It sends the third task in task buffer space, so that second server corresponding with non-isolated business side is from institute It states and the third task is obtained and executed in task buffer space.
4. the method according to claim 1, wherein the method also includes:
When the isolation for receiving business side is requested, the business side is determined as isolation business side, and be the business side point With corresponding first identifier;
It is requested according to the isolation, is business side distribution for executing the second service for the task that the business side issues Device;
Second of second server according to the first identifier of the business side and for executing the task that the business side issues Mark, establishes mapping table;
By mapping table storage into the task buffer space, so that the second server is from the task buffer The mapping table is obtained in space.
5. a kind of task processing method, which is characterized in that described applied in any one second server of server cluster Server cluster includes first server and multiple second servers, which comprises
According to the second identifier and mapping table of the second server itself, determination is corresponding with the second server Business side;
The task from the business side is obtained from the task buffer space of the first server;
The task of the business side is executed,
Wherein, the corresponding relationship between the mark in the mapping table including business side and the mark of second server.
6. according to the method described in claim 5, it is characterized in that, according to the second identifier of the second server itself and Mapping table determines business side corresponding with the second server, comprising:
When there are when the second identifier, being identified according to business side corresponding with the second identifier in the mapping table, Determine business side corresponding with the second server,
Wherein, business side's mark includes the first identifier of isolation business side and the third mark of non-isolated business side.
7. according to the method described in claim 5, it is characterized in that, according to the second identifier of the second server itself and Mapping table determines business side corresponding with the second server, comprising:
When the second identifier is not present in the mapping table, the business side in the mapping table would not exist in It is determined as business side corresponding with the second server,
Wherein, the business side being not present in the mapping table is non-isolated business side.
8. according to the method described in claim 5, it is characterized in that, the method also includes:
The mapping table is obtained from the task buffer space.
9. a kind of Task Processing Unit, which is characterized in that applied in the first server of server cluster, the server set Group includes first server and multiple second servers, described device include:
Determining module is isolated, when receiving the task of business side's transmission, judges whether the business side is isolation business side;
First mark module, when the business side is isolation business side, according to the first identifier of business side label Task obtains marked first task;
First sending module sends the first task in task buffer space, so that corresponding with the business side Two servers obtain from the task buffer space and execute the first task.
10. device according to claim 9, which is characterized in that described device further include:
The task is determined as unlabelled second when the business side is non-isolated business side by the second mark module Business;
Second sending module sends second task in task buffer space, so that corresponding with non-isolated business side Second server obtains from the task buffer space and executes second task.
11. device according to claim 9, which is characterized in that described device further include:
Third mark module is marked the task using third mark when the business side is non-isolated business side, Obtain marked third task;
Third sending module sends the third task in task buffer space, so that corresponding with non-isolated business side Second server obtains from the task buffer space and executes the third task.
12. device according to claim 9, which is characterized in that described device further include:
The business side is determined as isolation business side, and be when the isolation for receiving business side is requested by request receiving module The business side distributes corresponding first identifier;
Server distribution module is requested according to the isolation, is issued for business side distribution for executing the business side The second server of task;
Relation table establishes module, according to the first identifier of the business side and for executing task that the business side issues The second identifier of two servers, establishes mapping table;
Relation table sending module, by mapping table storage into the task buffer space, so that the second service Device obtains the mapping table from the task buffer space.
13. a kind of Task Processing Unit, which is characterized in that applied in any one second server of server cluster, institute Stating server cluster includes first server and multiple second servers, and described device includes:
Business side's determining module, according to the second identifier and mapping table of the second server itself, it is determining with it is described The corresponding business side of second server;
Task acquisition module obtains the task from the business side from the task buffer space of the first server;
Task execution module executes the task of the business side,
Wherein, the corresponding relationship between the mark in the mapping table including business side and the mark of second server.
14. device according to claim 13, which is characterized in that business side's determining module, comprising:
First determining module, when in the mapping table there are when the second identifier, according to corresponding with the second identifier Business side's mark, determine corresponding with second server business side,
Wherein, business side's mark includes the first identifier of isolation business side and the third mark of non-isolated business side.
15. device according to claim 13, which is characterized in that business side's determining module, comprising:
Second determining module would not exist in the corresponding pass when the second identifier is not present in the mapping table It is that business side in table is determined as business side corresponding with the second server,
Wherein, the business side being not present in the mapping table is non-isolated business side.
16. device according to claim 13, which is characterized in that described device further include:
Relation table obtains module, obtains the mapping table from the task buffer space.
17. a kind of Task Processing Unit characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to method described in any one of perform claim requirement 1 to 4.
18. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer program instructions, which is characterized in that institute It states and realizes method described in any one of Claims 1-4 when computer program instructions are executed by processor.
19. a kind of Task Processing Unit characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to method described in any one of perform claim requirement 5 to 8.
20. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer program instructions, which is characterized in that institute It states and realizes method described in any one of claim 5 to 8 when computer program instructions are executed by processor.
CN201810258039.1A 2018-03-27 2018-03-27 Task processing method and device Active CN110308976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810258039.1A CN110308976B (en) 2018-03-27 2018-03-27 Task processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810258039.1A CN110308976B (en) 2018-03-27 2018-03-27 Task processing method and device

Publications (2)

Publication Number Publication Date
CN110308976A true CN110308976A (en) 2019-10-08
CN110308976B CN110308976B (en) 2022-02-11

Family

ID=68074066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810258039.1A Active CN110308976B (en) 2018-03-27 2018-03-27 Task processing method and device

Country Status (1)

Country Link
CN (1) CN110308976B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125223A (en) * 2019-12-20 2020-05-08 北京爱奇艺科技有限公司 Database connection pool updating method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7437725B1 (en) * 1999-01-04 2008-10-14 General Electric Company Processing techniques for servers handling client/server traffic and communications
US7644188B2 (en) * 2002-02-25 2010-01-05 Intel Corporation Distributing tasks in data communications
CN102404786A (en) * 2010-09-14 2012-04-04 中国移动通信集团江苏有限公司 Method and device for controlling service jam
CN105204941A (en) * 2015-08-18 2015-12-30 耿懿超 Data processing method and data processing device
CN106101074A (en) * 2016-05-31 2016-11-09 北京大学 A kind of sacurity dispatching method based on user's classification towards big data platform
CN106406983A (en) * 2015-07-27 2017-02-15 阿里巴巴集团控股有限公司 Task scheduling method and device in cluster
CN106888245A (en) * 2016-06-07 2017-06-23 阿里巴巴集团控股有限公司 A kind of data processing method, apparatus and system
CN107341051A (en) * 2016-05-03 2017-11-10 北京京东尚科信息技术有限公司 Cluster task coordination approach, system and device
CN107423131A (en) * 2017-03-29 2017-12-01 努比亚技术有限公司 A kind of sharing method and server

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7437725B1 (en) * 1999-01-04 2008-10-14 General Electric Company Processing techniques for servers handling client/server traffic and communications
US7644188B2 (en) * 2002-02-25 2010-01-05 Intel Corporation Distributing tasks in data communications
CN102404786A (en) * 2010-09-14 2012-04-04 中国移动通信集团江苏有限公司 Method and device for controlling service jam
CN106406983A (en) * 2015-07-27 2017-02-15 阿里巴巴集团控股有限公司 Task scheduling method and device in cluster
CN105204941A (en) * 2015-08-18 2015-12-30 耿懿超 Data processing method and data processing device
CN107341051A (en) * 2016-05-03 2017-11-10 北京京东尚科信息技术有限公司 Cluster task coordination approach, system and device
CN106101074A (en) * 2016-05-31 2016-11-09 北京大学 A kind of sacurity dispatching method based on user's classification towards big data platform
CN106888245A (en) * 2016-06-07 2017-06-23 阿里巴巴集团控股有限公司 A kind of data processing method, apparatus and system
CN107423131A (en) * 2017-03-29 2017-12-01 努比亚技术有限公司 A kind of sharing method and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒋瀚洋,等;: "网格计算中Min-Min算法及改进算法的研究", 《计算机时代》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125223A (en) * 2019-12-20 2020-05-08 北京爱奇艺科技有限公司 Database connection pool updating method and device
CN111125223B (en) * 2019-12-20 2023-10-10 北京爱奇艺科技有限公司 Database connection pool updating method and device

Also Published As

Publication number Publication date
CN110308976B (en) 2022-02-11

Similar Documents

Publication Publication Date Title
US10049671B2 (en) Management of voice commands for devices in a cloud computing environment
US8738700B2 (en) Method and system for providing network services
CN110321202A (en) Task processing method and device
CN108182111A (en) Task scheduling system, method and apparatus
CN109995713A (en) Service processing method and relevant device in a kind of micro services frame
US11645582B2 (en) Parameter sharing in federated learning
CN109729040A (en) Method, equipment and the computer-readable medium of the selection of agreement
WO2016159813A1 (en) Network address sharing in a multitenant, monolithic application environment
CN108510081A (en) machine learning method and platform
CN109379418A (en) Method, equipment and the storage medium of file based on block chain processing business system
CN109218356A (en) The method and apparatus of stateful application in management server
CN104199912B (en) A kind of method and device of task processing
CN109144969A (en) For the data processing method of block chain network system, device and storage medium
CN109088820A (en) A kind of striding equipment link aggregation method, device, computing device and storage medium
CN110058894A (en) The method, equipment and computer program product of application are executed in mixed cloud
CN109242288A (en) Performance data matching process and system
JP2021182387A (en) Variable chat box
CN110288341A (en) Capital chain information tracing method, system, server and readable storage medium storing program for executing
US11316980B2 (en) Agent to bot transfer
CN109104368A (en) A kind of request connection method, device, server and computer readable storage medium
CN110308976A (en) Task processing method and device
CN108228197A (en) A kind of method and apparatus for installing software in the cluster
Palanikkumar et al. Ant colony based graph theory (ACGT) and resource virtual network mapping (RVNM) algorithm for home healthcare system in cloud environment
CN109725931A (en) A kind of jenkins construction method and device
Bahnasse et al. Towards a New approach for automating the simulation of QoS mechanisms in a smart digital environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200508

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Applicant before: Youku network technology (Beijing) Co., Ltd

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant