CN106155816A - The mutual exclusion processing method and processing device of task - Google Patents

The mutual exclusion processing method and processing device of task Download PDF

Info

Publication number
CN106155816A
CN106155816A CN201510195747.1A CN201510195747A CN106155816A CN 106155816 A CN106155816 A CN 106155816A CN 201510195747 A CN201510195747 A CN 201510195747A CN 106155816 A CN106155816 A CN 106155816A
Authority
CN
China
Prior art keywords
initiation message
homogeneity
mandate
task
timed task
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
CN201510195747.1A
Other languages
Chinese (zh)
Other versions
CN106155816B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510195747.1A priority Critical patent/CN106155816B/en
Publication of CN106155816A publication Critical patent/CN106155816A/en
Application granted granted Critical
Publication of CN106155816B publication Critical patent/CN106155816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is applicable to software field, provide the mutual exclusion processing method and processing device of a kind of task, described method includes: control termination receives and grant power initiation message and obtains request, described mandate initiation message obtains unique mark that starts that corresponding homogeneity timed task is carried in request, and described mandate initiation message obtains request and sent by one of different web container homogeneity timed task;Control end is when described mandate initiation message is obtained by one of web container homogeneity timed task and authorizes startup, refusal sends described mandate initiation message to other homogeneity timed tasks in other web container, to refuse to perform other homogeneity timed tasks described.The embodiment of the present invention decreases the resource consumption of distributed system, and decreases the complexity of maintenance.

Description

The mutual exclusion processing method and processing device of task
Technical field
The embodiment of the present invention belongs to software field, particularly relates to the mutual exclusion processing method and processing device of a kind of task.
Background technology
In distributed system, may there is multiple homogeneity timed task at different servers.Wherein, homogeneity Timed task refers to that identical task is limited to the execution of same time.
For reducing the mutual exclusion that occurs in the process of implementation of homogeneity timed task, it usually needs database to point Each task in cloth system is safeguarded: specifically, utilize database atomicity operation and affairs every From characteristic so that in distributed timing task, only one of which homogeneity timed task obtains and starts authority, other Homogeneity timed task is in the lock state, thus avoids performing the mutual exclusion that multiple homogeneity timed task occurs. But in the method, owing to distributed system needs the exclusive message between each task of database maintenance, therefore, Consume the resource of distributed system, especially can aggravate this phenomenon when distributed system is extending transversely, and And, owing to adding the exclusive message between each task of database maintenance, therefore, safeguarding distributed system It is also required to safeguard database itself during system, thus add the complexity of maintenance.
Content of the invention
Embodiments provide the mutual exclusion processing method and processing device of a kind of task, it is intended to solve existing method Problem.
The embodiment of the present invention is achieved in that the mutual exclusion processing method of a kind of task, and described method includes:
S1, control termination receive and grant power initiation message and obtain request, and described mandate initiation message obtains request and carries Unique mark that starts of corresponding homogeneity timed task, described mandate initiation message obtains request and is held by different web One of device homogeneity timed task sends;
S2, control end are obtained by one of web container homogeneity timed task in described mandate initiation message When taking and authorize startup, other homogeneities in refusal transmission described mandate initiation message to other web container are fixed When task, to refuse to perform other homogeneity timed tasks described.
The another object of the embodiment of the present invention is to provide the mutual exclusion processing means of a kind of task, described device bag Include:
Request reception unit, is used for receiving mandate initiation message and obtains request, and described mandate initiation message obtains Unique mark that starts of corresponding homogeneity timed task is carried in request, and described mandate initiation message obtains request by not Send with one of web container homogeneity timed task;
Message refuses transmitting element, for authorizing initiation message same by one of web container described When matter timed task obtains and authorizes startup, in refusal transmission described mandate initiation message to other web container Other homogeneity timed tasks, to refuse to perform other homogeneity timed tasks described.
In embodiments of the present invention, owing to obtaining at one of different web container homogeneity timed task and awarding When power starts, refusal sends and authorizes initiation message to other homogeneity timed tasks in other web container, with Refusal performs described homogeneity timed task, and therefore, in the same time, only one of which homogeneity timed task can Start, it is to avoid startup with the task task of homogeneity timed task each other starting and the mutual exclusion that occurs, Further, owing to without the extra exclusive message increasing each task of database maintenance, therefore, decreasing distribution The resource consumption of formula system, and decrease the complexity of maintenance.
Brief description
Fig. 1 is the flow chart of the mutual exclusion processing method of a kind of task that first embodiment of the invention provides;
Fig. 2 is the structure chart of the mutual exclusion processing method of a kind of task that second embodiment of the invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only it should be appreciated that specific embodiment described herein It only in order to explain the present invention, is not intended to limit the present invention.
In the embodiment of the present invention, receive and authorize initiation message to obtain request, in described mandate initiation message by one When one of individual web container homogeneity timed task obtains and authorizes startup, refusal sends described mandate and starts Message is to other homogeneity timed tasks in other web container, to refuse to perform other homogeneities timings described to appoint Business.
In order to technical solutions according to the invention are described, illustrate below by specific embodiment.
Embodiment one:
Fig. 1 shows the flow chart of the mutual exclusion processing method of a kind of task that first embodiment of the invention provides, Details are as follows:
Step S11, control termination receives and grant power initiation message and obtains request, and described mandate initiation message obtains please Seeking the unique mark that starts carrying corresponding homogeneity timed task, described mandate initiation message obtains request by difference One of web container homogeneity timed task sends.
In a distributed system, the function controlling end (Queue) is equivalent to a mutual exclusion lock, is used for sending Authorize initiation message.Authorize initiation message to obtain request if multiple web container all send to Queue, then should Queue obtains request according to the time order and function sequential processes mandate initiation message receiving.
Alternatively, before step S11, comprising:
Controlling the group number of homogeneity timed task each other in end detecting system, each group of homogeneity timed task is stored in In corresponding web container;In system according to detection, the group number of homogeneity timed task generates corresponding number each other Mandate initiation message.
Specifically, the time that the unique mark according to each task, task restriction perform judges that two tasks are No for homogeneity timed task, when unique mark of task and task limit the time performing identical when, it is determined that Two tasks are homogeneity timed task.For example, it is assumed that first web container exists task A, task B, appoints , there is task A, task B, task D in second web container, then by first web container and second web in business C In the distributed system of container composition, the group number of homogeneity timed task is 2 groups each other.In this step, false If the group number of homogeneity timed task is 2 groups each other, then generates 2 and authorize initiation message.Make mandate start to disappear The number of breath is equal to the group number of homogeneity timed task each other, as such, it is possible to make different homogeneity timed tasks Mandate initiation message can be obtained in time, and avoid the number authorizing initiation message fixed more than homogeneity each other When task group number when, arbitrarily distribute to homogeneity timed task, thus cause homogeneity timed task to start simultaneously The mutual exclusion of Shi Fasheng.
Further, in the system according to detection, the group number of homogeneity timed task generates awarding of corresponding number each other Power initiation message specifically includes:
In system according to detection, the group number of homogeneity timed task generates the initial signal line of corresponding bar number each other Journey;Use each initial signal thread to generate one and authorize initiation message, with generate number and detection be The group identical mandate initiation message of number of homogeneity timed task each other in system.
Each initial signal thread authorizes initiation message for generating one, and disappears the mandate startup of generation Breath is stored in Queue, after initial signal thread generates a mandate initiation message, and this initial signal thread To not restart, not the new mandate initiation message of regeneration.Generated by each initial signal thread of control Authorize the quantity of initiation message, be conducive to control to authorize the generation quantity of initiation message, and, whenever increase One group of homogeneity timed task, then generate an initial signal thread, improve and generate the spirit authorizing initiation message Activity.
Alternatively, after step s 11, before step S12, comprising:
A1, control end judge that whether described mandate initiation message is fixed by any one homogeneity in a web container When task obtain, when being judged as YES, forward described step S12 to, otherwise forward step A2 to;
A2, control end distribution mandate initiation message obtain the corresponding homogeneity of request to described mandate initiation message and determine When task, to perform described homogeneity timed task.If in a distributed system, the homogeneity timing of a certain class is appointed Business does not all obtain mandate initiation message, then Queue obtain according to the mandates initiation message receiving ask when Between sequencing, the homogeneity timed task distribution for sending request at first authorizes initiation message.
Alternatively, described step A2 includes:
A21, control end judge that the mandate initiation message of received homogeneity timed task obtains the number of request Whether being 1, if then forwarding described step A22 to, if being more than 1, forwarding step A23 to.
A22, when judge receive mandate initiation message obtain request be 1 when, control end distribution mandate open Dynamic message to this mandate initiation message obtains the corresponding homogeneity timed task of request, to perform the timing of described homogeneity Task.
A23, control end are ranked up to receiving the time that described mandate initiation message obtains request, by described The mandate initiation message authorizing initiation message to be sent to be initially received obtains request corresponding homogeneity timing and appoints Business.
In above-mentioned A21~A23, when the mandate initiation message of the homogeneity timed task receiving obtains the individual of request When number is 1, it is not necessary to other operations, directly the mandate initiation message authorizing initiation message to distribute to receive is obtained Take the corresponding homogeneity timed task of request, to improve the allocative efficiency authorizing initiation message;When the mandate receiving It when initiation message acquisition request has multiple, then is allocated according to the time order and function order receiving.
Step S12, control end is in described mandate initiation message by one of web container homogeneity regularly When task obtains and authorizes startup, refusal sends described mandate initiation message to other in other web container Homogeneity timed task, to refuse to perform other homogeneity timed tasks described.
In this step, when in different web container each other any one task of homogeneity timed task obtained mandate During initiation message, Queue refusal in other web container with other of this task homogeneity timed task each other Task sends and authorizes initiation message, and other web container here refer to the homogeneity of non-acquisition mandate initiation message The corresponding web container of timed task, other homogeneity timed tasks refer to the homogeneity of non-acquisition mandate initiation message Timed task.For example, it is assumed that there is task A, task B, task C in first web container, second web is held Device exists task A, task B, task D, starts when task A in first web container has obtained mandate During message, if the request of second web container authorizes initiation message for the task A distribution in this second web container, then Queue refusal authorizes initiation message for the task A distribution in this second web container.
Alternatively, after step s 12, comprising:
Control end receives the mandate initiation message of feedback at the end of homogeneity timed task is performed, in order to by described Initiation message is authorized to distribute to other homogeneity timed tasks in other web container described.
After obtaining the homogeneity timed task authorizing initiation message and performing to terminate, discharge its acquired mandate Initiation message is to Queue, and so, Queue is without generating new initial signal thread to generate new mandate Initiation message, thus save system resource.
In first embodiment of the invention, receive and authorize initiation message to obtain request, in described mandate initiation message When being obtained by one of web container homogeneity timed task and authorize startup, refusal sends described mandate and starts Other homogeneity timed tasks in message extremely described web container, to refuse to perform described homogeneity timed task. Owing to when one of web container homogeneity timed task obtains and authorizes startup, refusal sends to authorize and starts Other homogeneity timed tasks in message extremely described web container, to refuse to perform described homogeneity timed task, Therefore, in the same time, only one of which homogeneity timed task can start, it is to avoid mutual with starting of task The mutual exclusion occurring for the startup of task of homogeneity timed task, and, owing to increasing number without extra Safeguard the exclusive message of each task according to storehouse, therefore, decrease the resource consumption of distributed system, and reduce The complexity safeguarded.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to perform suitable The priority of sequence, the execution sequence of each process should determine with its function and internal logic, and should be unreal to the present invention The implementation process executing example constitutes any restriction.
Embodiment two:
Fig. 2 shows the structure chart of the mutual exclusion processing means of a kind of task that second embodiment of the invention provides, The mutual exclusion processing means of this task can be applied in various terminals, and this terminal can include through wireless access network The user equipment that RAN communicates with one or more core net, this user equipment can be mobile phone (or being referred to as " honeycomb " phone), the computer etc. with mobile device, for example, user equipment is all right Portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device, they with wireless Access network exchange voice and/or data.Again for example, this mobile device can include smart mobile phone, panel computer, Personal digital assistant PDA, point-of-sale terminal POS or vehicle-mounted computer etc..For convenience of description, illustrate only The part related to the embodiment of the present invention.
The mutual exclusion processing means of this task includes: request reception unit 21 and message refusal transmitting element 22. Wherein:
Request reception unit 21, is used for receiving mandate initiation message and obtains request, and described mandate initiation message obtains Unique mark that starts of corresponding homogeneity timed task is carried in the request of taking, described mandate initiation message obtain request by One of different web container homogeneity timed task sends.
If receiving the mandate initiation message acquisition request that multiple web container sends, then according to the time receiving Sequencing processes and authorizes initiation message to obtain request.
Alternatively, the mutual exclusion processing means of described task includes:
Authorize initiation message signal generating unit, be used for the group number of homogeneity timed task each other in detecting system, each Group homogeneity timed task is stored in corresponding web container;Homogeneity timing each other in system according to detection is appointed The group number of business generates the mandate initiation message of corresponding number.
Specifically, the time that the unique mark according to each task, task restriction perform judges that two tasks are No for homogeneity timed task, when unique mark of task and task limit the time performing identical when, it is determined that Two tasks are homogeneity timed task.
Further, in the system according to detection, the group number of homogeneity timed task generates awarding of corresponding number each other Power initiation message specifically includes:
In system according to detection, the group number of homogeneity timed task generates the initial signal line of corresponding bar number each other Journey;Use each initial signal thread to generate one and authorize initiation message, with generate number and detection be The group identical mandate initiation message of number of homogeneity timed task each other in system.By each initial signal of control Thread generates the quantity authorizing initiation message, is conducive to control to authorize the generation quantity of initiation message, and, Whenever increasing by one group of homogeneity timed task, then generate an initial signal thread, improve generation and authorize startup The flexibility of message.
Alternatively, the mutual exclusion processing means of described task includes:
Authorize the whether allocated unit of initiation message, be used for judging described mandate initiation message whether by one Any one homogeneity timed task in web container obtains;
Authorize initiation message allocation unit, for authorizing initiation message not by a web container described Any one homogeneity timed task obtain when, distribution authorize initiation message to described mandate initiation message obtain please Seek corresponding homogeneity timed task, to perform described homogeneity timed task.
If in a distributed system, the homogeneity timed task of a certain class does not all obtain mandate initiation message, then Obtain the time order and function order of request according to the mandate initiation message receiving, the homogeneity for sending request at first is fixed When task distribution authorize initiation message.
Alternatively, described mandate initiation message allocation unit includes:
Initiation message obtains request number judge module, for judging the mandate of received homogeneity timed task Whether the number that initiation message obtains request is 1;
For working as, first mandate initiation message son distribution module, judges that the mandate initiation message receiving obtains request When being 1, distribution authorizes initiation message to this mandate initiation message to obtain the corresponding homogeneity timed task of request, To perform described homogeneity timed task;
Second mandate initiation message son distribution module, for obtaining request to reception described mandate initiation message Time is ranked up, and obtaining the mandate initiation message that described mandate initiation message is sent to be initially received please Seek corresponding homogeneity timed task.
When the number that the mandate initiation message of the homogeneity timed task receiving obtains request is 1, it is not necessary to other The mandate initiation message authorizing initiation message to distribute to reception is directly obtained the corresponding homogeneity of request fixed by operation When task, with improve authorize initiation message allocative efficiency;Have when the mandate initiation message receiving obtains request It when multiple, then is allocated according to the time order and function order receiving.
Message refuses transmitting element 22, for authorizing initiation message by one of web container described When homogeneity timed task obtains and authorizes startup, refusal sends described mandate initiation message to other web container In other homogeneity timed tasks, to refuse to perform other homogeneity timed tasks described.
When any one task of homogeneity timed task each other has obtained mandate initiation message, this message refusal is sent out Unit 22 refusal is sent to send for other tasks with this task homogeneity timed task each other in other web container Authorize initiation message.
Alternatively, the mutual exclusion processing means of described task includes:
Authorize initiation message receiving unit, for receiving the mandate of feedback at the end of homogeneity timed task is performed Initiation message, in order to other homogeneity timings distributed to described mandate initiation message in other web container are appointed Business.
After obtaining the homogeneity timed task authorizing initiation message and performing to terminate, discharge its acquired mandate Initiation message, so, the mutual exclusion processing means of this task generates newly without generating new initial signal thread Mandate initiation message, thus save system resource.
In second embodiment of the invention, owing to obtaining simultaneously at one of web container homogeneity timed task Authorizing when starting, refusal sends and authorizes initiation message to other homogeneity timed tasks in other web container, Perform described homogeneity timed task, therefore, in the same time, only one of which homogeneity timed task energy with refusal Enough start, it is to avoid with the startup of the task task of homogeneity timed task each other starting and the mutual exclusion that occurs is existing As, and, owing to without the extra exclusive message increasing each task of database maintenance, therefore, decreasing The resource consumption of distributed system, and decrease the complexity of maintenance.
Those of ordinary skill in the art are it is to be appreciated that combine respectively showing of the embodiments described herein description The unit of example and algorithm steps, can come with the combination of electronic hardware or computer software and electronic hardware Realize.These functions perform with hardware or software mode actually, depend on the application-specific of technical scheme And design constraint.Each can specifically should be used for using different methods to realize by professional and technical personnel Described function, but this realize it is not considered that beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and foregoing description System, the specific works process of device and unit, be referred to the corresponding process in preceding method embodiment, Do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed system, device and side Method, can realize by another way.For example, device embodiment described above is only schematically , for example, the division of described unit, be only a kind of logic function and divide, actual can have when realizing another Outer dividing mode, for example multiple unit or assembly can in conjunction with or be desirably integrated into another system, or Some features can be ignored, or does not performs.Another point, shown or discussed coupling each other or straight Connect coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication connection, Can be electrical, machinery or other form.
The described unit illustrating as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or Also can be distributed on multiple NE.Can select therein some or all of according to the actual needs Unit realizes the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Also can be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit In.
If described function realizes and as independent production marketing or use using the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Based on such understanding, the skill of the present invention Part that prior art is contributed by art scheme substantially in other words or the part of this technical scheme can be with The form of software product embodies, and this computer software product is stored in a storage medium, if including Dry instruction is with so that a computer equipment (can be personal computer, server, or the network equipment Deng) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium bag Include: USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can store program generation The medium of code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in Change or replacement, all should cover within protection scope of the present invention.Therefore, protection scope of the present invention should It described is as the criterion with scope of the claims.

Claims (10)

1. the mutual exclusion processing method of a task, it is characterised in that described method includes:
S1, control termination receive and grant power initiation message and obtain request, and described mandate initiation message obtains request and carries Unique mark that starts of corresponding homogeneity timed task, described mandate initiation message obtains request and is held by different web One of device homogeneity timed task sends;
S2, control end are obtained by one of web container homogeneity timed task in described mandate initiation message When taking and authorize startup, other homogeneities in refusal transmission described mandate initiation message to other web container are fixed When task, to refuse to perform other homogeneity timed tasks described.
2. method according to claim 1, it is characterised in that after described step S1, step S2 Also include before:
S3, control end judge that whether described mandate initiation message is fixed by any one homogeneity in a web container When task obtain, when being judged as YES, forward described step S2 to, otherwise forward step S3 to;
S4, control end distribution mandate initiation message obtain the corresponding homogeneity of request to described mandate initiation message and determine When task, to perform described homogeneity timed task.
3. method according to claim 2, it is characterised in that described step S4 specifically includes:
S41, control end judge that the mandate initiation message of received homogeneity timed task obtains the number of request Whether being 1, if then forwarding described step S42 to, if being more than 1, forwarding step S43 to;
S42, when judge receive mandate initiation message obtain request be 1 when, control end distribution mandate open Dynamic message to this mandate initiation message obtains the corresponding homogeneity timed task of request, to perform the timing of described homogeneity Task;
S43, control end are ranked up to receiving the time that described mandate initiation message obtains request, by described The mandate initiation message authorizing initiation message to be sent to be initially received obtains request corresponding homogeneity timing and appoints Business.
4. method according to claim 1, it is characterised in that also include after described step S2:
S5, control end receive the mandate initiation message of feedback at the end of homogeneity timed task is performed, in order to will Described mandate initiation message distributes to other homogeneity timed tasks in other web container.
5. method according to claim 1, it is characterised in that before described step S1, comprising:
S0, the group number controlling homogeneity timed task each other in end detecting system, each group of homogeneity timed task is deposited It is stored in corresponding web container;In system according to detection, the group number of homogeneity timed task generates corresponding each other The mandate initiation message of number.
6. the mutual exclusion processing means of a task, it is characterised in that described device includes:
Request reception unit, is used for receiving mandate initiation message and obtains request, and described mandate initiation message obtains Unique mark that starts of corresponding homogeneity timed task is carried in request, and described mandate initiation message obtains request by not Send with one of web container homogeneity timed task;
Message refuses transmitting element, for authorizing initiation message same by one of web container described When matter timed task obtains and authorizes startup, in refusal transmission described mandate initiation message to other web container Other homogeneity timed tasks, to refuse to perform other homogeneity timed tasks described.
7. device according to claim 6, it is characterised in that described device includes:
Authorize the whether allocated unit of initiation message, be used for judging described mandate initiation message whether by one Any one homogeneity timed task in web container obtains;
Authorize initiation message allocation unit, for authorizing initiation message not by a web container described Any one homogeneity timed task obtain when, distribution authorize initiation message to described mandate initiation message obtain please Seek corresponding homogeneity timed task, to perform described homogeneity timed task.
8. device according to claim 7, it is characterised in that described mandate initiation message allocation unit Including:
Initiation message obtains request number judge module, for judging the mandate of received homogeneity timed task Whether the number that initiation message obtains request is 1;
For working as, first mandate initiation message son distribution module, judges that the mandate initiation message receiving obtains request When being 1, distribution authorizes initiation message to this mandate initiation message to obtain the corresponding homogeneity timed task of request, To perform described homogeneity timed task;
Second mandate initiation message son distribution module, for obtaining request to reception described mandate initiation message Time is ranked up, and obtaining the mandate initiation message that described mandate initiation message is sent to be initially received please Seek corresponding homogeneity timed task.
9. device according to claim 6, it is characterised in that described device includes:
Authorize initiation message receiving unit, for receiving the mandate of feedback at the end of homogeneity timed task is performed Initiation message, in order to other homogeneity timings distributed to described mandate initiation message in other web container are appointed Business.
10. device according to claim 6, it is characterised in that described device includes:
Authorize initiation message signal generating unit, be used for the group number of homogeneity timed task each other in detecting system, each Group homogeneity timed task is stored in corresponding web container;Homogeneity timing each other in system according to detection is appointed The group number of business generates the mandate initiation message of corresponding number.
CN201510195747.1A 2015-04-22 2015-04-22 The mutual exclusion processing method and processing device of task Active CN106155816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510195747.1A CN106155816B (en) 2015-04-22 2015-04-22 The mutual exclusion processing method and processing device of task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510195747.1A CN106155816B (en) 2015-04-22 2015-04-22 The mutual exclusion processing method and processing device of task

Publications (2)

Publication Number Publication Date
CN106155816A true CN106155816A (en) 2016-11-23
CN106155816B CN106155816B (en) 2019-08-02

Family

ID=57347033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510195747.1A Active CN106155816B (en) 2015-04-22 2015-04-22 The mutual exclusion processing method and processing device of task

Country Status (1)

Country Link
CN (1) CN106155816B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463348A (en) * 2021-01-27 2021-03-09 北京搜狐新媒体信息技术有限公司 Timed task processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567096A (en) * 2011-12-30 2012-07-11 中国科学院软件研究所 Mutual-exclusion semaphore management method for preventing deadlock under multi-task environment
CN103279331A (en) * 2013-05-31 2013-09-04 中国电子科技集团公司第十五研究所 Multi-task concurrent processing method and device for Android system
US8639818B1 (en) * 2012-12-25 2014-01-28 Kaspersky Lab Zao System and method for reliable and timely task completion in a distributed computing environment
CN103744724A (en) * 2014-02-19 2014-04-23 互联网域名系统北京市工程研究中心有限公司 Timed task clustering method and device thereof
CN103761148A (en) * 2014-01-26 2014-04-30 北京京东尚科信息技术有限公司 Control method for cluster timing scheduling tasks
CN103853607A (en) * 2012-12-03 2014-06-11 中国银联股份有限公司 Task scheduling mutual backup method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567096A (en) * 2011-12-30 2012-07-11 中国科学院软件研究所 Mutual-exclusion semaphore management method for preventing deadlock under multi-task environment
CN103853607A (en) * 2012-12-03 2014-06-11 中国银联股份有限公司 Task scheduling mutual backup method
US8639818B1 (en) * 2012-12-25 2014-01-28 Kaspersky Lab Zao System and method for reliable and timely task completion in a distributed computing environment
CN103279331A (en) * 2013-05-31 2013-09-04 中国电子科技集团公司第十五研究所 Multi-task concurrent processing method and device for Android system
CN103761148A (en) * 2014-01-26 2014-04-30 北京京东尚科信息技术有限公司 Control method for cluster timing scheduling tasks
CN103744724A (en) * 2014-02-19 2014-04-23 互联网域名系统北京市工程研究中心有限公司 Timed task clustering method and device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463348A (en) * 2021-01-27 2021-03-09 北京搜狐新媒体信息技术有限公司 Timed task processing method and device

Also Published As

Publication number Publication date
CN106155816B (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN103544153B (en) A kind of data-updating method based on data base and system
CN108319496B (en) Resource access method, service server, distributed system and storage medium
CN110502340A (en) A kind of resource dynamic regulation method, device, equipment and storage medium
EP3281141A1 (en) Cloud-based cross-device digital pen pairing
CN108073684A (en) A kind of data processing method, server and computer readable storage medium
CN103297456A (en) Method for accessing sharing resources in distributed system and distributed system
CN108574593B (en) The management system and management method of licensing in a kind of NFV network
CN110162388A (en) A kind of method for scheduling task, system and terminal device
CN103995755A (en) Server optimizing method based on mobile terminal and server system
CN103353851A (en) Method and equipment for managing tasks
CN104113435A (en) Method and device for generating identifier
CN110753339A (en) Data downloading method and management platform
CN114401250A (en) Address allocation method and device
CN108445788A (en) A kind of hotel's scenery control method and relevant apparatus
CN103399832A (en) Ordering method of out-of-order return data between buses
CN105308566B (en) The expansible timing device wheel of on-demand
CN103581273A (en) Service executing method, device and system for distributed system
CN108520401B (en) User list management method, device, platform and storage medium
CN106161082A (en) The method to set up of server UUID, system and baseboard management controller
CN108875035A (en) The date storage method and relevant device of distributed file system
CN106155816A (en) The mutual exclusion processing method and processing device of task
KR102308224B1 (en) Dynamic random access memory module and refreshing method therof
CN102681650A (en) Power supply control energy-saving method and corresponding storage system thereof
CN100470527C (en) Task management system and methods, and related devices and machine- readable media
CN114003238B (en) Container deployment method, device, equipment and storage medium based on transcoding card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant