CN109636234A - Task frequency conversion method, device, electronic equipment, storage medium - Google Patents

Task frequency conversion method, device, electronic equipment, storage medium Download PDF

Info

Publication number
CN109636234A
CN109636234A CN201811598303.2A CN201811598303A CN109636234A CN 109636234 A CN109636234 A CN 109636234A CN 201811598303 A CN201811598303 A CN 201811598303A CN 109636234 A CN109636234 A CN 109636234A
Authority
CN
China
Prior art keywords
task
frequency
dependence
relied
frequency conversion
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
CN201811598303.2A
Other languages
Chinese (zh)
Other versions
CN109636234B (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.)
Jiangsu Yunmanman Information Technology Co ltd
Original Assignee
Jiangsu Manyun Software Technology 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 Jiangsu Manyun Software Technology Co Ltd filed Critical Jiangsu Manyun Software Technology Co Ltd
Priority to CN201811598303.2A priority Critical patent/CN109636234B/en
Publication of CN109636234A publication Critical patent/CN109636234A/en
Application granted granted Critical
Publication of CN109636234B publication Critical patent/CN109636234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations

Abstract

The present invention provides a kind of task frequency conversion method, device, electronic equipment, storage medium, and the task frequency conversion method comprises determining that the dependence of each task, each task associated task frequency;In identified dependence, when dependence task and the task frequency for being relied on task are inconsistent, in at least partly described dependence task and it is relied on progress task frequency conversion between task, so that the task frequency for being relied on task is identical as the task frequency of dependence task.The method provided by the present invention and device provide the step of task frequency conversion, it is removed by the judgement triggering of the task frequency and from the logic of task execution, individually exploitation and the conversion of the design objective frequency, task, which only executes, is responsible for execution, hereby it is achieved that the task frequency conversion of different frequency, not only may be implemented the conversion of high frequency to low frequency, low frequency to high frequency, it can also be the customized special frequency, considerably increase the flexibility of task configuration.

Description

Task frequency conversion method, device, electronic equipment, storage medium
Technical field
The present invention relates to computer application technologies more particularly to a kind of task frequency conversion method, device, electronics to set Standby, storage medium.
Background technique
The offline task scheduling system of big data is the production system of big data underlying platform core, is visualized for workflow The mass data of exploitation and trustship scheduling O&M is processed offline, supports the comprehensive trustship tune of task according to time and dependence Degree, support the task of daily ranks up to ten thousand it is accurate according to DAG (Directed Acyclic Graph, directed acyclic graph) relationship, Punctual operation.
Need the task of management and running up to up to ten thousand in Large-Scale Interconnected net company daily or even hundreds of thousands of magnitudes.Task fortune Capable trigger condition is generally divided into time trigger, upstream relies on triggering;The operation frequency of task also can on demand scene it is different, example Such as, the operation frequency of task may include: monthly discharge, all frequency, the day frequency, the hour frequency, even the half an hour frequency, 15 Minute frequency etc..Configuration task upstream and downstream dependence when, the dependence of different frequency has actual demand, as day task rely on Hour, hour rely on day, day and rely on hour and day etc. simultaneously, this demand often different demander to same configuration all There are different understanding, trigger condition and purposes, and deepened the complexity of task triggering design significantly, as a result often system is real Existing support pattern is limited, and scalability is poor.
Current techniques defect is to lack the dependence of the different frequencys, can only do limited spread in Downstream Jobs, do from The user of service of line task exploitation is for configuring the cause that understands differently realized, being easy to obscure;Downstream Jobs to upstream different frequencies Secondary combine scenes judge, more scenes will do a patch, task iteration, increasingly heavier.
Summary of the invention
The present invention provides a kind of task frequency conversion method, device, electricity to overcome defect existing for above-mentioned the relevant technologies Sub- equipment, storage medium, and then one is overcome caused by the limitation and defect due to the relevant technologies at least to a certain extent Or multiple problems.
According to an aspect of the present invention, a kind of task frequency conversion method is provided, comprising:
Determine the dependence of each task, each task associated task frequency;
In identified dependence, when dependence task and the task frequency for being relied on task are inconsistent, at least portion Divide the dependence task and be relied on progress task frequency conversion between task, so as to be relied on the task frequency of task and rely on The task frequency of task is identical.
Optionally, right when dependence task and the task frequency for being relied on task are inconsistent in identified dependence Each dependence task and be relied between task progress task frequency conversion so that in the dependence each task task The frequency is identical.
Optionally, the task frequency conversion is triggered and is relied on according to whether the task that is relied on hits pre-determining trigger condition The execution of task.
Optionally, when being relied on the task frequency of task and being less than the task frequency of dependence task, the pre-determining triggers item Part includes:
It is relied on task and runs succeeded for the first time and trigger dependence task;
In period indicated by the task frequency of dependence task, this, which is relied on task and all runs succeeded, triggers dependence task;
It is relied on task execution success pre-determined number triggering dependence task.
Optionally, when being relied on the task frequency of task and being greater than the task frequency of dependence task, the pre-determining triggers item Part includes:
By the period that the task frequency of dependence task indicates, the time for being relied on task execution success or failure, root are determined It executes or suspends according to identified time trigger dependence task and execute.
Optionally, the pre-determining trigger condition is pre-configured trigger condition from least one and/or at least one is customized It configures in trigger condition and determines.
Optionally, the task frequency include year the frequency, monthly discharge, all frequencys, the day frequency, the hour frequency, half an hour frequency It is one or more in secondary, 15 minutes frequencys, the minute frequency.
According to another aspect of the invention, a kind of task frequency conversion equipment is also provided, comprising:
Determining module, for determining the dependence of each task, each task associated task frequency;
Task frequency conversion module is used in identified dependence, dependence task and being relied on task of the task When the frequency is inconsistent, in at least partly described dependence task and be relied between task progress task frequency conversion so that by according to Rely the task frequency of task identical as the task frequency of dependence task.
According to another aspect of the invention, a kind of electronic equipment is also provided, the electronic equipment includes: processor;Storage Medium, is stored thereon with computer program, and the computer program executes step as described above when being run by the processor.
According to another aspect of the invention, a kind of storage medium is also provided, computer journey is stored on the storage medium Sequence, the computer program execute step as described above when being run by processor.
Compared with prior art, present invention has an advantage that
The step of present invention is converted by the offer task frequency, the judgement triggering by the task frequency and patrolling from task execution Removing in volume, individually exploitation and the conversion of the design objective frequency, task, which only executes, is responsible for execution, hereby it is achieved that different frequency are appointed The frequency of being engaged in conversion, not only may be implemented the conversion of high frequency to low frequency, low frequency to high frequency, can also be the customized special frequency, greatly The flexibility of task configuration is increased greatly.And management and running, the triggering of task can guarantee to complete between same frequency task, right Whether all will not due to needing do across frequency judgement, the system of greatly reducing is set if being completed etc. in the verification of historical data, task The complexity of meter.
Detailed description of the invention
Its example embodiment is described in detail by referring to accompanying drawing, above and other feature of the invention and advantage will become It is more obvious.
Fig. 1 shows the flow chart of task frequency conversion method according to an embodiment of the present invention.
Fig. 2 shows the schematic diagrames of the task frequency conversion method of a specific embodiment according to the present invention.
Fig. 3 shows the schematic diagram of the task frequency conversion method of another specific embodiment according to the present invention.
Fig. 4 shows the schematic diagram of task frequency conversion equipment according to an embodiment of the present invention.
Fig. 5 schematically shows a kind of computer readable storage medium schematic diagram in exemplary embodiment of the present.
Fig. 6 schematically shows a kind of electronic equipment schematic diagram in exemplary embodiment of the present.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the present invention will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only schematic illustrations of the invention, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all steps.For example, the step of having It can also decompose, and the step of having can merge or part merges, therefore, the sequence actually executed is possible to according to the actual situation Change.
Fig. 1 shows the flow chart of task frequency conversion method according to an embodiment of the present invention.With reference to Fig. 1, the task Frequency conversion method includes the following steps:
Step S110: the dependence of each task, each task associated task frequency are determined;
Step S120: in identified dependence, when dependence task and the task frequency for being relied on task are inconsistent, In at least partly described dependence task and it is relied on progress task frequency conversion between task, so as to be relied on the task frequency of task It is secondary identical as the task frequency of dependence task.
In the task frequency conversion method of exemplary embodiments of the present invention, by providing the step of task frequency conversion Suddenly, it is removed by the judgement triggering of the task frequency and from the logic of task execution, individually exploitation and the conversion of the design objective frequency, appoint Business, which only executes, is responsible for execution, hereby it is achieved that the task frequency conversion of different frequency, not only may be implemented high frequency to low frequency, low frequency To the conversion of high frequency, the customized special frequency can also be, considerably increase the flexibility of task configuration.And the scheduling of task Management, triggering can guarantee to complete between same frequency task, and whether the verification of historical data, task are completed etc. all will not be by In needing to do across the frequency judgement, the complexity of system design is greatly reduced.
Specifically, in various embodiments of the present invention, the task frequency include year the frequency, monthly discharge, all frequencys, It is its frequency, the hour frequency, the half an hour frequency, 15 minutes frequencys, one or more in the minute frequency.The present invention not as Limit, the half a year frequency, the season frequency or other customized frequencys are all within protection scope of the present invention.The present invention due to the provision of The step of task frequency is converted, allows system to support any customized frequency, and system flexibility is high.
Specifically, in various embodiments of the present invention, above-mentioned steps S120 can be in identified dependence In, dependence task and the task frequency for being relied on task it is inconsistent when, to each dependence task and be relied between task into Row task frequency conversion, so that the task frequency of each task is identical in the dependence.It is appreciated that dependence task with by according to Rely task the task frequency it is inconsistent when, the dependence task inconsistent to part and be relied between task carry out task frequency Secondary conversion improves the flexibility of system;To all inconsistent dependence task and it is relied on progress task frequency between task Secondary conversion improves the system expandability, and reduces the complexity of system design.
Specifically, in various embodiments of the present invention, the task frequency conversion can be basis and be relied on task Whether pre-determining trigger condition is hit to trigger the execution of dependence task.Hereby it is achieved that trigger condition and task execution are decoupled, Without realizing the judgement of trigger condition in task.Further, the pre-determining trigger condition is pre-configured touching from least one Clockwork spring part and/or at least one custom-configure in trigger condition determine.In other words, multiple pre-configuration triggerings can be set in user Condition, for present dependency dependence task and be relied on task, can be chosen from multiple pre-configuration trigger condition Pre-determining trigger condition.In further embodiments, user can be directed to the dependence task of present dependency and be relied on and appoint Business custom-configures trigger condition (such as there are when the custom task frequency in present dependency), thus, it is possible to be selected from Definition configuration trigger condition is as pre-determining trigger condition.The present invention is not limited thereto, and it will not be described here.
A specific embodiment of the invention is described below with reference to Fig. 2, Fig. 2 shows a specific embodiments according to the present invention The schematic diagram of task frequency conversion method.Fig. 2 shows dependence task 203 and dependence task 203 be relied on task 201 and by Dependence task 202.Wherein, the task frequency of dependence task 203 is the day frequency, and the task frequency for being relied on task 201 is day frequency Secondary, the task frequency for being relied on task 202 is the hour frequency.In the dependence, it is relied on task 202 and dependence task 203 frequency is inconsistent, therefore, executes the conversion of the step S210 task frequency in the task that is relied on 202 and dependence task 203.
In the present embodiment, the task frequency for being relied on task 202 is less than the task frequency of dependence task 203.Therefore, appoint The pre-determining trigger condition of business frequency conversion may include: to be relied on task and run succeeded for the first time to trigger dependence task;According to Rely indicated by the task frequency of task in the period, this, which is relied on task and all runs succeeded, triggers dependence task;It is relied on task The pre-determined number that runs succeeded triggers dependence task.
For example, being run succeeded for the first time for being relied on task triggers dependence task, under actual scene, the hour frequency is appointed Business for the first time succeed after trigger day task, the task 202 of the hour frequency executes for the first time be 0 point, when 0 point this it is small when the frequency task hold When going successfully, i.e., executable day frequency task 203 (in the case that in day, frequency task 201 runs succeeded);Frequency when small Task 202 executes failure at 0 point, then executes by the hour again at 1 point, until the task 202 of this hour frequency runs succeeded, i.e., Executable day frequency task 203 (in the case that in day, frequency task 201 runs succeeded).This general applicable data covering of configuration The hour task of property
For another example in the period indicated by the task frequency for dependence task, this is relied on task and all runs succeeded touching Send out dependence task, in practical applications, can daily period (24 hours) indicated by frequency task 203, it is interior when 24 is small, it is small When the frequency task 202 all run succeeded, i.e., executable 203 (the case where frequency task 201 runs succeeded in day of day frequency task Under).This set is generally applicable in hour task by the scene of data time fragment, i.e. dependence task needs preceding 24 hours each Hour all succeeds later
In another example for being relied on task execution success pre-determined number triggering dependence task, in practical applications, Ke Yishe Determine pre-determined number N (N is the integer greater than 1), the task 202 of the hour frequency runs succeeded after n times, i.e., the executable day frequency is appointed 203 (in the case that frequency task 201 runs succeeded in day) of business.Data have all collected neat before this scene is applicable in 0-N hours Situation.
Above is only schematically to describe multiple embodiments of the invention, pre-determining trigger condition of the invention not with This is limited, for example, it is also possible to include that setting is relied on task execution not less than n times failure, is relied on task execution odd-times, idol For several times etc., it will not be described here.
A specific embodiment of the invention is described below with reference to Fig. 3, Fig. 3 shows an another specific implementation according to the present invention The schematic diagram of the task frequency conversion method of example.What Fig. 3 showed dependence task 303 and dependence task 303 is relied on task 301 With the task that is relied on 302.Wherein, the task frequency of dependence task 303 is the hour frequency, is relied on the task frequency of task 301 For the hour frequency, the task frequency for being relied on task 302 is the day frequency.In the dependence, it is relied on task 302 and relies on The frequency of task 303 is inconsistent, therefore, executes the step S310 task frequency in the task that is relied on 302 and dependence task 303 and turns It changes.
In the present embodiment, the task frequency for being relied on task 302 is greater than the task frequency of dependence task 303.Therefore, appoint The pre-determining trigger condition of business frequency conversion may include: the period indicated by the task frequency of dependence task, determine quilt Dependence task runs succeeded or the time of failure, and execution is executed or suspended according to identified time trigger dependence task.For example, In the present embodiment, it is relied on task 302 to run succeeded at 6 points, then dependence task 303 is triggered per hour since 7 points;Or Person is relied on task 302 and runs succeeded at 6 points, then dependence task 303 triggers per hour from 0 point to 6 points, and stops after 7 points Only trigger.
It is above only to schematically depict embodiments of the present invention, the present invention is not limited thereto.
The schematic diagram of task frequency conversion equipment according to an embodiment of the present invention is shown referring to Fig. 4, Fig. 4.Using In each node server of publicly-owned cloud cluster.Task frequency conversion equipment and each module can be by the forms of software and/or hardware It realizes.The task frequency conversion equipment 400 comprises determining that module 410, task frequency conversion module 420.
Determining module 410 is used to determine the dependence of each task, each task associated task frequency;
Task frequency conversion module 420 is used in identified dependence, and dependence task is appointed with the task that is relied on When the frequency of being engaged in is inconsistent, in at least partly described dependence task and it is relied on progress task frequency conversion between task, so that by The task frequency of dependence task and the task frequency of dependence task are identical.
In the task frequency conversion equipment of exemplary embodiments of the present invention, by providing the step of task frequency conversion Suddenly, it is removed by the judgement triggering of the task frequency and from the logic of task execution, individually exploitation and the conversion of the design objective frequency, appoint Business, which only executes, is responsible for execution, hereby it is achieved that the task frequency conversion of different frequency, not only may be implemented high frequency to low frequency, low frequency To the conversion of high frequency, the customized special frequency can also be, considerably increase the flexibility of task configuration.And the scheduling of task Management, triggering can guarantee to complete between same frequency task, and whether the verification of historical data, task are completed etc. all will not be by In needing to do across the frequency judgement, the complexity of system design is greatly reduced.
Fig. 4 is only to show schematically task frequency conversion equipment 400 provided by the invention, without prejudice to structure of the present invention Under the premise of think of, the fractionation of module, increases all within protection scope of the present invention merging.
In an exemplary embodiment of the present invention, a kind of computer readable storage medium is additionally provided, meter is stored thereon with Calculation machine program, the program may be implemented the task frequency described in any one above-mentioned embodiment and convert when being executed by such as processor The step of method.In some possible embodiments, various aspects of the invention are also implemented as a kind of program product Form comprising program code, when described program product is run on the terminal device, said program code is for making the end End equipment executes described in the above-mentioned task frequency conversion method part of this specification various exemplary embodiment party according to the present invention The step of formula.
Refering to what is shown in Fig. 5, describing the program product for realizing the above method of embodiment according to the present invention 700, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in tenant It calculates and executes in equipment, partly executed in tenant's equipment, being executed as an independent software package, partially in tenant's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to tenant and calculates equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In an exemplary embodiment of the present invention, a kind of electronic equipment is also provided, which may include processor, And the memory of the executable instruction for storing the processor.Wherein, the processor is configured to via described in execution Executable instruction is come the step of executing task frequency conversion method described in any one above-mentioned embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 500 of this embodiment according to the present invention is described referring to Fig. 6.The electronics that Fig. 6 is shown Equipment 500 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 500 is showed in the form of universal computing device.The component of electronic equipment 500 can wrap It includes but is not limited to: at least one processing unit 510, at least one storage unit 520, (including the storage of the different system components of connection Unit 520 and processing unit 510) bus 530, display unit 540 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 510 Row, so that the processing unit 510 executes described in the above-mentioned task frequency conversion method part of this specification according to the present invention The step of various illustrative embodiments.For example, the processing unit 510 can execute step as shown in Figure 1.
The storage unit 520 may include the readable medium of volatile memory cell form, such as random access memory Unit (RAM) 5201 and/or cache memory unit 5202 can further include read-only memory unit (ROM) 5203.
The storage unit 520 can also include program/practical work with one group of (at least one) program module 5205 Tool 5204, such program module 5205 includes but is not limited to: operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 530 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 500 can also be with one or more external equipments 600 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, the equipment that also tenant can be enabled interact with the electronic equipment 500 with one or more communicates, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 500 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 550.Also, electronic equipment 500 can be with By network adapter 560 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 560 can be communicated by bus 530 with other modules of electronic equipment 500.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 500, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server or network equipment etc.) executes the above-mentioned task of embodiment according to the present invention Frequency conversion method.
Compared with prior art, present invention has an advantage that
The step of present invention is converted by the offer task frequency, the judgement triggering by the task frequency and patrolling from task execution Removing in volume, individually exploitation and the conversion of the design objective frequency, task, which only executes, is responsible for execution, hereby it is achieved that different frequency are appointed The frequency of being engaged in conversion, not only may be implemented the conversion of high frequency to low frequency, low frequency to high frequency, can also be the customized special frequency, greatly The flexibility of task configuration is increased greatly.And management and running, the triggering of task can guarantee to complete between same frequency task, right Whether all will not due to needing do across frequency judgement, the system of greatly reducing is set if being completed etc. in the verification of historical data, task The complexity of meter.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by appended Claim is pointed out.

Claims (10)

1. a kind of task frequency conversion method characterized by comprising
Determine the dependence of each task, each task associated task frequency;
In identified dependence, when dependence task and the task frequency for being relied on task are inconsistent, at least partly institute It states dependence task and is relied on progress task frequency conversion between task, so as to be relied on the task frequency and dependence task of task The task frequency it is identical.
2. task frequency conversion method as described in claim 1, which is characterized in that in identified dependence, rely on When task and the task frequency for being relied on task are inconsistent, to each dependence task and it is relied on progress task frequency between task Secondary conversion, so that the task frequency of each task is identical in the dependence.
3. task frequency conversion method as described in claim 1, which is characterized in that the task frequency conversion basis is relied on Whether task hits pre-determining trigger condition to trigger the execution of dependence task.
4. task frequency conversion method as claimed in claim 3, which is characterized in that be relied on task the task frequency be less than according to When relying the task frequency of task, the pre-determining trigger condition includes:
It is relied on task and runs succeeded for the first time and trigger dependence task;
In period indicated by the task frequency of dependence task, this, which is relied on task and all runs succeeded, triggers dependence task;
It is relied on task execution success pre-determined number triggering dependence task.
5. task frequency conversion method as claimed in claim 3, which is characterized in that be relied on task the task frequency be greater than according to When relying the task frequency of task, the pre-determining trigger condition includes:
By the period that the task frequency of dependence task indicates, the time for being relied on task execution success or failure is determined, according to institute Determining time trigger dependence task executes or pause executes.
6. such as task frequency conversion method described in any one of claim 1 to 5, which is characterized in that the pre-determining triggers item Part is pre-configured trigger condition from least one and/or at least one custom-configures in trigger condition and determines.
7. such as task frequency conversion method described in any one of claim 1 to 5, which is characterized in that the task frequency includes Year frequency, monthly discharge, all frequencys, the day frequency, the hour frequency, the half an hour frequency, 15 minutes frequencys, one in the minute frequency or It is multinomial.
8. a kind of task frequency conversion equipment characterized by comprising
Determining module, for determining the dependence of each task, each task associated task frequency;
Task frequency conversion module is used in identified dependence, dependence task and the task frequency for being relied on task When inconsistent, in at least partly described dependence task and it is relied on progress task frequency conversion between task, is appointed so as to be relied on The task frequency of business and the task frequency of dependence task are identical.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory is stored thereon with computer program, is executed when the computer program is run by the processor as right is wanted Seek 1 to 7 described in any item methods.
10. a kind of storage medium, which is characterized in that be stored with computer program, the computer program on the storage medium Method as described in any one of claim 1 to 7 is executed when being run by processor.
CN201811598303.2A 2018-12-25 2018-12-25 Task frequency conversion method and device, electronic equipment and storage medium Active CN109636234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811598303.2A CN109636234B (en) 2018-12-25 2018-12-25 Task frequency conversion method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811598303.2A CN109636234B (en) 2018-12-25 2018-12-25 Task frequency conversion method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109636234A true CN109636234A (en) 2019-04-16
CN109636234B CN109636234B (en) 2021-07-13

Family

ID=66077794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811598303.2A Active CN109636234B (en) 2018-12-25 2018-12-25 Task frequency conversion method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109636234B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427748A (en) * 2020-03-31 2020-07-17 携程计算机技术(上海)有限公司 Task warning method, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130215977A1 (en) * 2007-02-06 2013-08-22 Microsoft Corporation Scalable multi-thread video decoding
CN104142855A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Dynamic task scheduling method and device
CN104360903A (en) * 2014-11-18 2015-02-18 北京美琦华悦通讯科技有限公司 Method for realizing task data decoupling in spark operation scheduling system
CN105589874A (en) * 2014-10-22 2016-05-18 阿里巴巴集团控股有限公司 ETL task dependence relationship detecting method and device and ETL tool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130215977A1 (en) * 2007-02-06 2013-08-22 Microsoft Corporation Scalable multi-thread video decoding
CN104142855A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Dynamic task scheduling method and device
CN105589874A (en) * 2014-10-22 2016-05-18 阿里巴巴集团控股有限公司 ETL task dependence relationship detecting method and device and ETL tool
CN104360903A (en) * 2014-11-18 2015-02-18 北京美琦华悦通讯科技有限公司 Method for realizing task data decoupling in spark operation scheduling system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427748A (en) * 2020-03-31 2020-07-17 携程计算机技术(上海)有限公司 Task warning method, system, equipment and storage medium
CN111427748B (en) * 2020-03-31 2023-06-23 携程计算机技术(上海)有限公司 Task alarm method, system, equipment and storage medium

Also Published As

Publication number Publication date
CN109636234B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
US10884795B2 (en) Dynamic accelerator scheduling and grouping for deep learning jobs in a computing cluster
CN104520815B (en) A kind of method and device of task schedule
CN110493080B (en) Block link point monitoring method and device, electronic equipment and storage medium
US10977076B2 (en) Method and apparatus for processing a heterogeneous cluster-oriented task
CN104461747B (en) A kind of distributed task dispatching system
US20170024396A1 (en) Determining application deployment recommendations
CN109710615A (en) Access management method, system, electronic equipment and the storage medium of database
US11704155B2 (en) Heterogeneous system on a chip scheduler
CN104765621B (en) A kind of method and system of the deployment program in clustered node
US20240045715A1 (en) Evolutionary modelling based non-disruptive scheduling and management of computation jobs
Kochovski et al. An architecture and stochastic method for database container placement in the edge-fog-cloud continuum
CN109257703A (en) Methods of exhibiting, device, electronic equipment, the storage medium of driver's accumulation point
US20230362145A1 (en) System and method for ongoing trigger-based scanning of cyber-physical assets
De Grande et al. Time series-oriented load prediction model and migration policies for distributed simulation systems
Salhi et al. Tailoring hyper-heuristics to specific instances of a scheduling problem using affinity and competence functions
CN109636234A (en) Task frequency conversion method, device, electronic equipment, storage medium
CN110502566A (en) Near real-time data acquisition method, device, electronic equipment, storage medium
CN110162518A (en) Data grouping method, apparatus, electronic equipment and storage medium
CN109976832A (en) It is a kind of that the method and apparatus of boarding program is provided
US20210312324A1 (en) Systems and methods for integration of human feedback into machine learning based network management tool
CN106575241A (en) Mobile and remote runtime integration
US8781798B2 (en) Systems and methods for exploring and utilizing solutions to cyber-physical issues in a sandbox
US20230169528A1 (en) Landscape model verification system
US20220335318A1 (en) Dynamic anomaly forecasting from execution logs
Khan et al. On designing a generic framework for big data-as-a-service

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
TA01 Transfer of patent application right

Effective date of registration: 20210624

Address after: 210012 3rd floor, building a, Wanbo Science Park, 66 Huashen Avenue, Yuhuatai District, Nanjing City, Jiangsu Province

Applicant after: Jiangsu manyun Logistics Information Co.,Ltd.

Address before: 210012 3-5 / F, building 4, 170-1 software Avenue, Yuhuatai District, Nanjing City, Jiangsu Province

Applicant before: JIANGSU MANYUN SOFTWARE TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 210012 3rd floor, building a, Wanbo Science Park, 66 Huashen Avenue, Yuhuatai District, Nanjing City, Jiangsu Province

Patentee after: Jiangsu Yunmanman Information Technology Co.,Ltd.

Address before: 210012 3rd floor, building a, Wanbo Science Park, 66 Huashen Avenue, Yuhuatai District, Nanjing City, Jiangsu Province

Patentee before: Jiangsu manyun Logistics Information Co.,Ltd.