CN110134573A - Make the continuous race control method of number, device, computer equipment and storage medium - Google Patents
Make the continuous race control method of number, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110134573A CN110134573A CN201910295935.XA CN201910295935A CN110134573A CN 110134573 A CN110134573 A CN 110134573A CN 201910295935 A CN201910295935 A CN 201910295935A CN 110134573 A CN110134573 A CN 110134573A
- Authority
- CN
- China
- Prior art keywords
- several
- make
- making
- pending
- node
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3457—Performance evaluation by simulation
Abstract
Make that number is continuous to run control method, device, computer equipment and storage medium the embodiment of the invention discloses one kind, include the following steps: to obtain and preset make several data lists, wherein make several data lists include it is pending make number operation make number application odd numbers;Apply for that odd numbers searches make corresponding with number application odd numbers is made in preset local data base and counts failure history nodal information according to number is made;The pending several scripts of making for making number operation are arranged according to nodal information to enter to join configuration parameter so that it is pending make number operation from the destination node corresponding with nodal information make several processes.The embodiment of the present invention is by obtaining the target transaction data in interest meter climbing form type calculating Bloomberg bond valuation platform, by calculate mentioned in terms of object target count Tilly cease, the present embodiment by by it is pending make number operation continue to run since the node of failure it is subsequent make several processes, thus avoid executing from the beginning make several processes and caused by the time waste.
Description
Technical field
The present embodiments relate to technical field of data processing, especially one kind to make the continuous race control method, device, calculating of number
Machine equipment and storage medium.
Background technique
Data are often needed to use during work and life, such as in performance test script preparation stage, script
In parameter generally require and make number and could preferably simulate true environment, it is still, existing to make several scripts in the process of implementation,
If making several scripts the case where executing failure occurs, the method generallyd use is to restart to run one time to make several scripts, is from the beginning opened
Several processes are made in beginning execution will cause waste of time.
Summary of the invention
The embodiment of the present invention provide it is a kind of can continue to make several processes from the node of failure make that number is continuous to run control method, dress
It sets, computer equipment and storage medium.
In order to solve the above technical problems, the technical solution that the embodiment of the invention uses is: providing one kind and make
Number is continuous to run control method, includes the following steps:
Obtain and preset make several data lists, wherein it is described make several data lists include it is pending make number operation make number
Apply for odd numbers;
Is searched in preset local data base and described to make several application odd numbers corresponding according to the number application odd numbers of making
Make number failure history nodal informations;
The pending several scripts of making for making number operation are arranged according to the nodal information to enter to join configuration parameter, so that institute
It states pending make number operates from destination node corresponding with the nodal information and makes several processes.
Optionally, further include such as following step before described acquisition preset the step of making several data lists:
The operation flow tables of data of several scripts is made described in acquisition, wherein the operation flow tables of data makes number including described
Script forms the business information of several sub-processes of complete business process;
It makes several scripts by described according to the business information and resolves into and several sub-processes several sections correspondingly
Point.
Optionally, it is described according to the nodal information be arranged it is described it is pending make number operation make several scripts enter ginseng configure
Parameter so that it is described it is pending make number operation from destination node corresponding with the nodal information make the steps of several processes
Suddenly, including such as following step:
Several nodes are ranked up according to the operation flow sequence for making several scripts;
Several nodes are successively compared with the nodal information according to ranking results, until in several sections
The node to match with the nodal information is found in point as the destination node.
Optionally, several sub-processes include registration, real-name authentication, addition contact person, essential information typing, fund side
Case is submitted, video interview, fund shunts, signing at least one of is submitted, makes loans, calculates and refund.
Optionally, it is described according to the nodal information be arranged it is described it is pending make number operation make several scripts enter ginseng configure
Parameter so that it is described it is pending make number operation from destination node corresponding with the nodal information the step of making several processes
Later, further include such as following step:
The failure node information of several script execution failures is made described in acquisition and makes number application odd numbers;
The failure node information is stored into the local data base and saves the number application odd numbers of making to institute
It states and makes in several data lists.
Optionally, described that the failure node information is stored into the local data base and makes several request slips for described
It number saves to the step made in several data lists, including such as following step:
The failure node information is stored into the local data base by thread foundation and makes several applications for described
Odd numbers is saved to the pending task made in several data lists;
Detect the behaviour for being higher than the pending task in the task queue after the store tasks with the presence or absence of priority
Make task;
When the task queue there are priority be higher than the pending task operation task when, preferentially execute the behaviour
Make readjustment after task is finished to the operation task and executes the pending task.
In order to solve the above technical problems, the embodiment of the present invention, which also provides one kind, makes the continuous race control device of number, comprising:
First obtains module, preset makes several data lists for obtaining, wherein described to make several data lists include wait hold
The number of making that row makes number operation applies for odd numbers;
First processing module is searched in preset local data base and is made with described for making number application odd numbers according to
Number application odd numbers is corresponding to make number failure history nodal information;
First execution module, for according to the nodal information be arranged it is described it is pending make number operation make entering for several scripts
Join configuration parameter, so that pending make number operates from destination node corresponding with the nodal information makes several streams
Journey.
Optionally, further includes:
Second obtains module, for obtaining the operation flow tables of data for making several scripts, wherein the Business Stream number of passes
It include the business information of several sub-processes for making several script composition complete business processes according to table;
Second execution module, for making several scripts by described according to the business information and resolving into and several sub-processes
One-to-one several nodes.
Optionally, further includes:
Several nodes are ranked up by sorting sub-module, the operation flow sequence for making several scripts according to;
First implementation sub-module, for successively being compared several nodes with the nodal information according to ranking results
To until finding the node to match with the nodal information in several nodes as the destination node.
Optionally, several sub-processes include registration, real-name authentication, addition contact person, essential information typing, fund side
Case is submitted, video interview, fund shunts, signing at least one of is submitted, makes loans, calculates and refund.
Optionally, further includes:
Third obtains module, for obtaining the failure node information for making several script execution failures and making several request slips
Number;
Third execution module, for storing the failure node information into the local data base and making number for described
Application odd numbers, which is saved to described, to be made in several data lists.
Optionally, further includes:
Thread submodule stores the failure node information into the local data base simultaneously for being established by thread
The number application odd numbers of making is saved to the pending task made in several data lists;
First processing submodule is high with the presence or absence of priority in the task queue after the pending task for detecting
In the operation task of the pending task;
Second implementation sub-module, the operation for being higher than the pending task there are priority when the task queue are appointed
When business, preferentially executes readjustment after the operation task is finished to the operation task and execute the pending task.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of computer equipment, including memory and processing
Device is stored with computer-readable instruction in the memory, when the computer-readable instruction is executed by the processor, so that
The processor executes above-mentioned number of making and continues the step of running control method.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of storage Jie for being stored with computer-readable instruction
Matter, when the computer-readable instruction is executed by one or more processors, so that one or more processors execute above-mentioned make
Number continues the step of running control method.
The embodiment of the present invention have the beneficial effect that by obtain make several data lists, this make in several data lists include to
Execute make number operation make number application odd numbers, number application odd numbers is then made according to this and searches make several mistakes in the local database
The nodal information for losing history configures the pending several scripts of making for making number operation further according to the nodal information and enters to join configuration parameter,
So that pending make number operates from destination node makes several processes, which is hair corresponding with the nodal information
Coin the node of number failure, it is pending make number operation continue to run since the node of failure it is subsequent make several processes, to avoid
Execute from the beginning make several processes and caused by the time waste.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is that the embodiment of the present invention makes the continuous basic procedure schematic diagram for running control method of number;
Fig. 2 is that the embodiment of the present invention decomposes the flow diagram for making several script nodes;
Fig. 3 is the flow diagram that several script initial positions are made in setting of the embodiment of the present invention;
Fig. 4 is that the embodiment of the present invention saves the flow diagram for making several failure node information;
Fig. 5 is the asynchronous storage failure node information of the embodiment of the present invention and the flow diagram for making number application odd numbers;
Fig. 6 is that the embodiment of the present invention makes the continuous race control device basic structure schematic diagram of number;
Fig. 7 is computer equipment of embodiment of the present invention basic structure block diagram.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to
Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its
Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number
It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can
To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not
Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment 1
Referring specifically to Fig. 1, Fig. 1 is that the present embodiment makes the continuous basic procedure schematic diagram for running control method of number.
As shown in Figure 1, one kind is made, number is continuous to run control method, includes the following steps:
S1100, it obtains and preset makes several data lists, wherein described to make several data lists include pending making several operations
Make number application odd numbers;
It makes and carries the pending application odd numbers for making number operation in several data lists, when implementing, making several data lists is
Systemic presupposition, such as it is provided with local data base in systems, it is stored with this in the local data base and makes several data lists, leads to
It crosses access local database and can obtain this and make several data lists, it is pending to make number operation and refer to by making making for several script executions
Number operation, in one embodiment, the number application odd numbers of making made in several data lists is that default be added to is made in several data lists
The application number information of number failure is made, for example, during making several script executions, if making several script execution failures,
Number application odd numbers will be made to save to making in several data lists, when carrying out making several next time, system can obtain this and make data column
Table is to obtain making the information for counting application odd numbers.
In one embodiment, when making the failure of several script executions, number application odd numbers will be made and saved to making several data lists
In, and print in log, while the nodename for making number failure is printed in log, so as to clearly know that making several scripts holds
Row has arrived that node.
S1200, number application odd numbers is made according to and is searched in preset local data base and applies for odd numbers with the number of making
It is corresponding to make number failure history nodal information;
After several data lists are made in acquisition, the pending number of making for making number operation in several data lists is made according to this and applies for odd numbers
The nodal information for making number failure history is searched in the local database, the nodal information is corresponding with number application odd numbers is made, thus
Can make it is pending make the node that number operation can make number failure from this from continue to complete and make several processes, when implementing, local number
It is the warehouse of the nodal informations for making number failure for storage and management of systemic presupposition setting according to library, counted when making several scripts making
When executing failure in journey, system saves the nodal information of failure and application odd numbers into local data base, such as by request slip
Number and the nodename of failure save, and application odd numbers is printed in log, while the node of failure is printed in log
Title, the corresponding nodal information for making number failure can be associated with by making number application odd numbers by this.
S1300, the pending several scripts of making for making number operation be arranged according to the nodal information enter to join configuration parameter,
So that pending make number operates from destination node corresponding with the nodal information makes several processes.
After obtaining the nodal information for making number failure, the configuration parameter that enters to join for making several scripts is carried out according to the nodal information
Configuration does not need so that pending make number operates from the node for making number failure continues to run subsequent operating process
Make several scripts from the beginning again run one time, reduce waste of time, implement when, it is pending make number operation can also be designed to
Several scripts are made, multiple nodes can be divided by making several scripts, specifically, can be made according to the service logic made during counting to decompose
Number scripts node, such as following service logic form a complete operation flow: registration, real-name authentication, add contact person,
Essential information typing, fund scheme are submitted, video interview, fund shunts, signing is submitted, makes loans, calculates and refunds, then can be with
Several scripts, which will be made, according to these service logics resolves into corresponding node.
It before each node starts, first obtains and makes number application odd numbers, apply odd numbers from local data base according to number is made
Lookup makes several scripts and makes number unsuccessfully at which node, judges the node found out and makes what several scripts were presently in
Whether node matches, and starts the script of this node if matching, otherwise skips this node, do and sentence to next node
It is disconnected.Such as making several scripts includes 5 nodes, respectively first node, second node, third node, fourth node and Section five
Point, wherein during making number, make several scripts and had failed when executing third node, system is by the nodal information of third node
In local data base and number application odd numbers will be made be written to and make in several data lists in preservation, when execute again make several scripts when,
System, which obtains to make in several data lists, makes number application odd numbers, then makes number application odd numbers according to this and searches in the local database
With make number application odd numbers it is corresponding make number failure history nodal information, first judge first node whether with the nodal information
Match, if mismatching, judged to next node, until judging that third node matches with the nodal information, then should
Nodal information setting makes several scripts and enters to join configuration parameter, subsequent makes number so that making several scripts and continuing since third node to run
Process, after making several start, each node can make the operation of several scripts to above-mentioned executing again is executed, to realize from last time
Continue to run the subsequent function of making several processes at the node of failure.
The present embodiment by obtain makes several data lists, this make in several data lists include it is pending make number operation make number
Apply for odd numbers, then made to count according to this and apply for that odd numbers searches the nodal information for making number failure history in the local database,
It configures the pending several scripts of making for making number operation further according to the nodal information to enter to join configuration parameter, so that pending make several operations
Several processes are made from destination node, which is the node for making number failure corresponding with the nodal information,
It is pending make number operation continue to run since the node of failure it is subsequent make several processes, make several streams to avoid executing from the beginning
Journey and caused by the time waste.
In one alternate embodiment, referring to Fig. 2, Fig. 2 is that several script nodes are made in one embodiment of the invention decomposition
Idiographic flow schematic diagram.
As shown in Fig. 2, further including such as following step before step 1100:
The operation flow tables of data of several scripts is made described in S1010, acquisition, wherein the operation flow tables of data includes institute
State the business information for making several sub-processes of several script composition complete business processes;
Operation flow tables of data be make in several scripts it is preset for record make it is each in the complete operation flow of several scripts
Service logic, wherein sub-process refers to making the section business logic in several scripts, when implementing, several sub-process packets
Include registration, real-name authentication, addition contact person, essential information typing, fund scheme submit, video interview, fund shunt, signing mention
At least one of hand over, make loans, calculate and refund.Operation flow tables of data is default storage with local data base, is led to
The operation flow tables of data can be obtained by crossing access local database, and the business information in operation flow tables of data is that have user to write
Enter in the operation flow tables of data, such as then user is patrolled each business by checking each service logic for making several scripts
Volume as sub-process business information write-in operation flow tables of data in, it is, of course, also possible to by with make several script associations thus
It is made after each service logic in several scripts generates business information and is written in operation flow tables of data according to this.
S1020, according to the business information by it is described make several scripts resolve into it is one-to-one with several sub-processes
Several nodes.
It is made in several scripts after the business information of multiple sub-processes of complete business process obtaining, system is according to these subflows
This is made several scripts and resolves into the node of corresponding sub-process number by the business information of journey, such as is made in the operation flows of several scripts and wrapped
Include registration, real-name authentication, addition contact person, essential information typing, fund scheme submit, video interview, fund shunt, signing mention
It hands over, make loans, calculating and refund sub-process, system can will make several scripts and resolve into corresponding registration, real-name authentication, addition connection
People, essential information typing, the section that fund scheme is submitted, video is interviewed, fund shunts, signing is submitted, makes loans, calculates and refunds
Point.When implementing, the present invention makes the continuous control method of running of number and is applied to intelligent terminal, and intelligent terminal includes but is not limited to intelligent hand
Machine, Intelligent bracelet, PC (personal computer, personal computer) terminal, tablet computer and other smart electronics are set
Standby, by taking PC terminal as an example, system can search the topological relation for making several scripts by the arctoolbox in PC terminal system,
The business information for making each sub-process in several scripts can be obtained according to the topological relation, and then will be made several scripts and be resolved into correspondence
The node of sub-process.In another embodiment, Data Management Tools- in toolbox can also be passed through
Feature-FeatureVerticesToPoints extracts the node made in several scripts.
In another alternative embodiment, referring to Fig. 3, Fig. 3 is that several script startings are made in one embodiment of the invention setting
The basic procedure schematic diagram of position.
As shown in figure 3, step 1300 includes such as following step:
Several nodes are ranked up by S1310, the operation flow sequence that several scripts are made according to;
Making the complete operation flow of several scripts includes several sub-processes, these sub-processes correspond to several nodes, system according to
Several scripts complete operation flow sequence is made to be ranked up these nodes, for example, make several scripts include the registration successively sorted,
Real-name authentication and essential information typing sub-process, then system is ordered as corresponding note according to the sequence for making the operation flow of several scripts
The node of volume, real-name authentication and essential information typing.
S1320, several nodes are successively compared with the nodal information according to ranking results, until described
The node to match with the nodal information is found in several nodes as the destination node;
After being ranked up node according to operation flow sequence, according to the result of sequence successively by node and nodal information
It is compared, when node and nodal information mismatch, skips the node and next node is compared with nodal information,
Knowing has node to match with the nodal information, then using the node as destination node, i.e., last to occur making the section of number failure
Point position at, and then can using the destination node be starting point start it is subsequent make several processes, such as make several scripts include registration, reality
Name certification, addition contact person, essential information typing, fund scheme is submitted, this 8 nodes are submitted, make loans and calculated in signing,
In, during making number, makes several scripts and had failed when executing the corresponding node made loans, system protects the nodal information of the node
Deposit in local data base and number application odd numbers will be made and be written to and make in several data lists, when execute again make number operation when, be
System obtain make in several data lists making number application odd numbers, then according to this make number application odd numbers searches in the local database and
Make number application odd numbers it is corresponding make number failure history nodal information, system by the nodal information with make in several scripts first
A node is compared, that is, judges whether the node of corresponding registration matches with the nodal information, if mismatching, arrives next section
Point is judged, that is, is judged that the node of corresponding real-name authentication is matched with the nodal information, if still mismatching, proceeded to down
One node is judged that, until just matching with the nodal information when the corresponding node made loans, system is then by the nodal information
It is arranged and makes several scripts and enter to join configuration parameter, subsequent makes several streams so that making several scripts and continuing to run since the corresponding node made loans
Journey, after making several start, each node can execute above-mentioned operating process, continue to run from the node of last time failure to realize
The subsequent function of making several processes.
In one alternate embodiment, referring to Fig. 4, Fig. 4 is that several failure node letters are made in one embodiment of the invention preservation
The basic procedure schematic diagram of breath.
As shown in figure 4, further including such as following step after step 1300:
The failure node information of several script execution failures is made described in S1400, acquisition and makes number application odd numbers;
During making several script executions, when making the failure of several script executions, system saves the node of the failure,
With facilitate again execute make several scripts when from the node of the failure continue to make several processes, specifically, system obtains this and makes
It counts the failure node information of the node of script execution failure and makes number application odd numbers, wherein make number and apply for that odd numbers is the appearance
The identification information for making number operation that number fails is made, corresponding operation operation can be associated with by making number application odd numbers according to this, such as
It is provided with and makes number operation A and make number operation B, wherein make number operation B and made in execution and make the failure of several script executions in several operating process
, system by this make number operation B application odd numbers save, when need to execute again make number operation B when, system interface according to
This application odd numbers correspond to make number operation B without be associated with make number operation A, can accurately correspond to and make several operations, avoid the occurrence of
The case where using several script entanglements are made.
S1500, the failure node information is stored into the local data base and protects the number application odd numbers of making
It deposits to described and makes in several data lists.
After obtaining the failure node information for making the failure of several script executions and making number application odd numbers, system is by the failure node
Information is stored into local data base, and this is made several application odd numbers and is saved to making in several data lists, when implementing, can be incited somebody to action
The number application odd numbers of making for making several script execution failures prints in log, and the node name of failure node is printed in log simultaneously
Claim, such as makes several scripts and include registration, real-name authentication, essential information typing, signing submission and calculate this 5 sections of relatively independent ground industry
It is engaged in logic, corresponding 5 nodes of this 5 section business logic, when making several script executions and failing to " real-name authentication " service logic,
System will apply for that odd numbers saves, and print in log, while it is " real that the nodename of failure node is printed in log
Name certification ".By the way that failure node information is stored to local data base and number application odd numbers will be made saves to making several data lists
In, it is convenient execute when making several scripts again from the node of failure continue to make several processes.
In one alternate embodiment, referring to Fig. 5, Fig. 5 is the asynchronous storage failure node letter of one embodiment of the invention
Cease and make the basic procedure schematic diagram of number application odd numbers.
As shown in figure 5, step S1500 includes such as following step:
S1510, the failure node information is stored into the local data base by thread foundation and is made described
Number application odd numbers is saved to the pending task made in several data lists;
Thread is a single sequential control process in application program.Have in process one it is relatively independent, schedulable
Execution unit, be system independently dispatch and assign CPU basic unit instruction operation when program thread.Single
Running multiple threads completes different work, referred to as multithreading simultaneously in program.The failure node is believed by establishing to execute
Breath store into the local data base and by it is described make number application odd numbers save to it is described make it is pending in several data lists
Task, so that the failure node information be stored into the local data base and save the number application odd numbers of making to institute
State make in several data lists operation and other operation tasks and other application program the asynchronous multithreading of operation task simultaneously into
Row.
It is higher than described pending with the presence or absence of priority in task queue after S1520, the detection store tasks
The operation task of business;
Task queue refers to including multiple operation tasks, and asynchronous call is carried out between these operation tasks, to solve
The set of tasks of task blocking problem, the operation task in task queue are provided with corresponding priority, priority
(priority) it is a kind of agreement, is computer time sharing system when handling multiple operation procedures, determines each operation journey
Sequence receives the parameter of the priority level of system resource, and priority is high first to be done, and does after priority is low.System passes through traversal task
Each operation task in queue is compared with the priority of pending task, to search in task queue with the presence or absence of excellent
First grade is higher than the operation task of pending task.
S1530, when the task queue is there are when the operation task that priority is higher than the pending task, it is preferential to execute
Readjustment executes the pending task after the operation task is finished to the operation task.
Preferential execution priority is higher than other operation tasks of the pending task, and system operation smoothness can be made not block
, for example, same time system to handle it is multiple make several operations, system first carry out make count up to it is whole make several tasks after execute this again
Several efficiency are made in pending task, raising, improve user experience.
In order to solve the above technical problems, the embodiment of the present invention, which also provides one kind, makes the continuous race control device of number.
Referring specifically to Fig. 6, Fig. 6 is that the present embodiment makes the continuous race control device basic structure schematic diagram of number.
As shown in fig. 6, one kind is made, number is continuous to run control device, comprising: first obtains module 2100, first processing module 2200
With the first execution module 2300, wherein the first acquisition module 2100 preset makes several data lists for obtaining, wherein described
Making several data lists includes that the pending number of making for making number operation applies for odd numbers;First processing module 2200 according to for making number
Application odd numbers is searched in preset local data base applies for that corresponding make of odd numbers counts failure history node letter with the number of making
Breath;First execution module 2300 be used for according to the nodal information be arranged it is described it is pending make number operation make several scripts enter ginseng
Configuration parameter, so that pending make number operates from destination node corresponding with the nodal information makes several processes.
The present embodiment by obtain makes several data lists, this make in several data lists include it is pending make number operation make number
Apply for odd numbers, then made to count according to this and apply for that odd numbers searches the nodal information for making number failure history in the local database,
It configures the pending several scripts of making for making number operation further according to the nodal information to enter to join configuration parameter, so that pending make several operations
Several processes are made from destination node, which is the node for making number failure corresponding with the nodal information,
It is pending make number operation continue to run since the node of failure it is subsequent make several processes, make several streams to avoid executing from the beginning
Journey and caused by the time waste.
In some embodiments, the continuous race control device of number is made further include: second obtains module and the second execution module,
In, the second acquisition module is used to obtain the operation flow tables of data for making several scripts, wherein the operation flow tables of data packet
Include the business information of several sub-processes for making several script composition complete business processes;Second execution module is used for according to
Business information is made described several scripts and is resolved into and several sub-processes several nodes correspondingly.
In some embodiments, the continuous race control device of number is made further include: sorting sub-module and the first implementation sub-module,
In, several nodes are ranked up by the operation flow sequence that sorting sub-module is used to make several scripts according to;First holds
If row submodule is used to several nodes be successively compared with the nodal information according to ranking results until described
The node to match with the nodal information is found in dry node as the destination node.
In some embodiments, several sub-processes include registration, real-name authentication, addition contact person, essential information
Typing, fund scheme are submitted, video interview, fund shunts, signing at least one of is submitted, makes loans, calculates and refund.
In some embodiments, the continuous race control device of number is made further include: third obtains module and third execution module,
In, third obtains module and is used to obtain the failure node information for making several script execution failures and makes number application odd numbers;Third
Execution module is used to store the failure node information into the local data base and saves the number application odd numbers of making
It is made in several data lists to described.
In some embodiments, make that number is continuous to run control devices further include: thread submodule first handles submodule and the
Two implementation sub-modules, wherein thread submodule is used to establish by thread and stores the failure node information to the local
It saves in database and by the number application odd numbers of making to the pending task made in several data lists;First processing submodule
Block with the presence or absence of priority for being higher than the behaviour of the pending task in the task queue after detecting the pending task
Make task;Second implementation sub-module is used for when there are the operation tasks that priority is higher than the pending task for the task queue
When, it preferentially executes readjustment after the operation task is finished to the operation task and executes the pending task.
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.
In order to solve the above technical problems, the embodiment of the present invention also provides computer equipment.It is this referring specifically to Fig. 7, Fig. 7
Embodiment computer equipment basic structure block diagram.
As shown in fig. 7, the schematic diagram of internal structure of computer equipment.As shown in fig. 7, the computer equipment includes passing through to be
Processor, non-volatile memory medium, memory and the network interface of bus of uniting connection.Wherein, the computer equipment is non-easy
The property lost storage medium is stored with operating system, database and computer-readable instruction, can be stored with control information sequence in database
Column when the computer-readable instruction is executed by processor, may make processor to realize that one kind makes the continuous race control method of number.The calculating
The processor of machine equipment supports the operation of entire computer equipment for providing calculating and control ability.The computer equipment
It can be stored with computer-readable instruction in memory, when which is executed by processor, processor may make to hold
Row one kind makes the continuous race control method of number.The network interface of the computer equipment is used for and terminal connection communication.Those skilled in the art
Member is it is appreciated that structure shown in figure, and only the block diagram of part-structure relevant to application scheme, is not constituted to this
The restriction for the computer equipment that application scheme is applied thereon, specific computer equipment may include more than as shown in the figure
Or less component, perhaps combine certain components or with different component layouts.
Processor obtains module 2100, first processing module 2200 and for executing in Fig. 6 first in present embodiment
One execution module 2300, program code and Various types of data needed for memory is stored with the above-mentioned module of execution.Network interface is used for
To the data transmission between user terminal or server.Memory in present embodiment, which is stored with, to be made in the continuous race control device of number
Program code needed for executing all submodules and data, server is capable of the program code of invoking server and data execute institute
There is the function of submodule.
Computer by obtain makes several data lists, this make in several data lists include it is pending make number operation make several Shens
Please odd numbers, number application odd numbers is then made according to this searches in the local database and make the nodal informations of several failure history, then
The pending several scripts of making for making number operation are configured according to the nodal information to enter to join configuration parameter so that it is pending make number operation from
Start to make several processes at destination node, which is the node for making number failure corresponding with the nodal information, to
Execute make number operation continue to run since the node of failure it is subsequent make several processes, make several processes to avoid executing from the beginning
The waste of time caused by and.
The present invention also provides a kind of storage mediums for being stored with computer-readable instruction, and the computer-readable instruction is by one
When a or multiple processors execute, so that one or more processors, which execute, makes the continuous race controlling party of number described in any of the above-described embodiment
The step of method.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, which can be stored in computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be magnetic
The non-volatile memory mediums such as dish, CD, read-only memory (Read-Only Memory, ROM) or random storage memory
Body (Random Access Memory, RAM) etc..
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other
At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. one kind is made, number is continuous to run control method, which is characterized in that includes the following steps:
Obtain and preset make several data lists, wherein it is described make several data lists include it is pending make number operation make several applications
Odd numbers;
According to it is described make number application odd numbers is searched in preset local data base with it is described make several applications odd numbers be corresponding make
Number failure history nodal information;
The pending several scripts of making for making number operation are arranged according to the nodal information to enter to join configuration parameter so that it is described to
Execution makes several processes making number operation from destination node corresponding with the nodal information.
2. according to claim 1 make the continuous race control method of number, which is characterized in that the acquisition is preset to make data column
Further include such as following step before the step of table:
The operation flow tables of data of several scripts is made described in acquisition, wherein the operation flow tables of data makes several scripts including described
Form the business information of several sub-processes of complete business process;
It makes several scripts by described according to the business information and resolves into and several sub-processes several nodes correspondingly.
3. according to claim 2 make the continuous race control method of number, which is characterized in that described to be arranged according to the nodal information
The pending several scripts of making for making number operation enter to join configuration parameter so that it is described it is pending make number operation from the node
Start the step of making several processes at the corresponding destination node of information, including such as following step:
Several nodes are ranked up according to the operation flow sequence for making several scripts;
Several nodes are successively compared with the nodal information according to ranking results, until in several nodes
The node to match with the nodal information is found as the destination node.
Make that number is continuous to run control method 4. according to claim 2, which is characterized in that several sub-processes include registration,
Real-name authentication, addition contact person, essential information typing, fund scheme is submitted, video interview, fund shunts, signing is submitted, put
At least one of money, accounting and refund.
5. according to claim 1 make the continuous race control method of number, which is characterized in that described to be arranged according to the nodal information
The pending several scripts of making for making number operation enter to join configuration parameter so that it is described it is pending make number operation from the node
Further include such as following step after starting the step of making several processes at the corresponding destination node of information:
The failure node information of several script execution failures is made described in acquisition and makes number application odd numbers;
The failure node information is stored into the local data base and the number application odd numbers of making are saved to described and made
In number data list.
6. according to claim 5 make the continuous race control method of number, which is characterized in that described to deposit the failure node information
Storage is saved into the local data base and by the number application odd numbers of making to the step made in several data lists, including such as
Following step:
It is established by thread and the failure node information is stored into the local data base and makes number application odd numbers for described
It saves to the pending task made in several data lists;
The operation for being higher than the pending task with the presence or absence of priority in the task queue after the store tasks is detected to appoint
Business;
When the task queue there are priority be higher than the pending task operation task when, preferentially execute it is described operation appoint
Readjustment executes the pending task after business is finished to the operation task.
7. one kind is made, number is continuous to run control device characterized by comprising
First obtains module, preset makes several data lists for obtaining, wherein described to make several data lists include pending make
Number application odd numbers is made in number operation;
First processing module searches in preset local data base for making number application odd numbers according to and described makes several Shens
Please odd numbers it is corresponding make number failure history nodal informations;
First execution module is matched for the pending ginseng that enters for making several scripts for making number operation to be arranged according to the nodal information
Parameter is set, so that pending make number operates from destination node corresponding with the nodal information makes several processes.
8. according to claim 7 make the continuous race control device of number, which is characterized in that further include:
Second obtains module, for obtaining the operation flow tables of data for making several scripts, wherein the operation flow tables of data
Business information including several sub-processes for making several script composition complete business processes;
Second execution module, for making several scripts by described according to the business information and resolving into several sub-processes one by one
Corresponding several nodes.
9. a kind of computer equipment, including memory and processor, it is stored with computer-readable instruction in the memory, it is described
When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 6 right
Number continuous the step of running control method is made described in it is required that.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more
When device executes, so that one or more processors execution is made as described in any one of claims 1 to 6 claim, number is continuous to run control
The step of method processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910295935.XA CN110134573A (en) | 2019-04-12 | 2019-04-12 | Make the continuous race control method of number, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910295935.XA CN110134573A (en) | 2019-04-12 | 2019-04-12 | Make the continuous race control method of number, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110134573A true CN110134573A (en) | 2019-08-16 |
Family
ID=67569807
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910295935.XA Pending CN110134573A (en) | 2019-04-12 | 2019-04-12 | Make the continuous race control method of number, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110134573A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090319621A1 (en) * | 2008-06-24 | 2009-12-24 | Barsness Eric L | Message Flow Control in a Multi-Node Computer System |
CN107784479A (en) * | 2017-02-16 | 2018-03-09 | 平安科技(深圳)有限公司 | A kind of business flow processing method and apparatus |
CN108665224A (en) * | 2017-03-30 | 2018-10-16 | 优甸网络科技(上海)有限公司 | Pass through the data mechanism of path combination interface Auto-matching flow |
CN108763082A (en) * | 2018-05-30 | 2018-11-06 | 平安普惠企业管理有限公司 | Test data generating method, device, computer equipment and storage medium |
CN108804320A (en) * | 2018-05-30 | 2018-11-13 | 平安普惠企业管理有限公司 | Automated testing method, device, computer equipment and storage medium |
-
2019
- 2019-04-12 CN CN201910295935.XA patent/CN110134573A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090319621A1 (en) * | 2008-06-24 | 2009-12-24 | Barsness Eric L | Message Flow Control in a Multi-Node Computer System |
CN107784479A (en) * | 2017-02-16 | 2018-03-09 | 平安科技(深圳)有限公司 | A kind of business flow processing method and apparatus |
CN108665224A (en) * | 2017-03-30 | 2018-10-16 | 优甸网络科技(上海)有限公司 | Pass through the data mechanism of path combination interface Auto-matching flow |
CN108763082A (en) * | 2018-05-30 | 2018-11-06 | 平安普惠企业管理有限公司 | Test data generating method, device, computer equipment and storage medium |
CN108804320A (en) * | 2018-05-30 | 2018-11-13 | 平安普惠企业管理有限公司 | Automated testing method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11061669B2 (en) | Software development tool integration and monitoring | |
CN107741950A (en) | Processing method, device, processor and the service end of data syn-chronization task | |
US20100121668A1 (en) | Automated compliance checking for process instance migration | |
CN109120794B (en) | message display method and device and electronic equipment | |
CN107622060A (en) | Order trace analysis method and device | |
CN107133231A (en) | A kind of data capture method and device | |
CN107908420A (en) | A kind of code process method, apparatus and system | |
CN107657425A (en) | Business flow processing method and device, computer-readable medium, electronic equipment | |
US10929279B2 (en) | Systems and method for automated testing framework for service portal catalog | |
CN115238062A (en) | Technical property right matching method and system | |
CN104182348B (en) | Software test method and device | |
CN102902574B (en) | Cooperative processing method and device of multiple information flow nodes | |
CN110473097A (en) | Transaction monitoring method, terminal and computer readable storage medium | |
CN109241042A (en) | Data processing method, device and electronic equipment | |
CN110134573A (en) | Make the continuous race control method of number, device, computer equipment and storage medium | |
CN111178846B (en) | Workflow file generation method, device, equipment and storage medium | |
WO2016184341A1 (en) | Method and apparatus for processing service | |
CN111538672A (en) | Test case layered test method, computer device and computer-readable storage medium | |
CN107621945A (en) | A kind of method and device for the mark for determining ios device | |
CN108259441A (en) | It is a kind of to prevent URL from accessing the method and device to detour | |
CN106911634A (en) | A kind of login method and equipment | |
CN108154343B (en) | Emergency processing method and system for enterprise-level information system | |
CN110213355A (en) | The method and its application of search terminal in local area network | |
CN109800330A (en) | A kind of data processing method and device | |
CN115098362A (en) | Page testing method and device, electronic equipment and storage medium |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190816 |
|
WD01 | Invention patent application deemed withdrawn after publication |