CN109785077A - The treating method and apparatus of order - Google Patents
The treating method and apparatus of order Download PDFInfo
- Publication number
- CN109785077A CN109785077A CN201910093038.0A CN201910093038A CN109785077A CN 109785077 A CN109785077 A CN 109785077A CN 201910093038 A CN201910093038 A CN 201910093038A CN 109785077 A CN109785077 A CN 109785077A
- Authority
- CN
- China
- Prior art keywords
- order
- processing
- target order
- target
- process instruction
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses a kind for the treatment of method and apparatus of order.This method comprises: determining processing opportunity and the process instruction of target order, wherein the state of target order is in order processing;According to the processing opportunity of target order, the process instruction of target order is sent after extending scheduled duration, wherein scheduled duration is corresponding with processing opportunity;After receiving process instruction, operation processing is carried out to target order according to process instruction, to enable target order reach the state that order is completed.By the application, the technical issues of solving in the related technology to the processing mode of " in processing " order, be unable to satisfy user demand.
Description
Technical field
This application involves data processing fields, in particular to a kind for the treatment of method and apparatus of order.
Background technique
For having the system of order concept, order possesses the life cycle of oneself, life cycle generally require be
System carries out actively triggering maintenance.For example order has " in processing ", " success ", multiple states such as " failure ", for " in processing "
State, often represents a kind of " transitory state ", and system needs to be processed into " final state " by other operation flows.
It in the prior art, is often timing batch processing to the processing mode of the order of " in processing ".It is ordered with a transaction
For list, if order interacts middle-end with down-stream system due to network communication, the trade order is caused to be in the present system
The state of " in processing ".At this point, the transaction for having " in processing " state that a timed task comes in driver sweep database is ordered
It is single, which is carried out to mend single processing or query processing.
For to the processing mode of the order of " in processing ", having the following problems in the prior art:
First, if needing to be arranged multiple timed task processing modules there are multiple business type in business;
Second, timing batch processing is often to carry out batch triggering processing according to time interval dimension, for example, timing every 5
Minute executes a batch operation, that the 1st minute and the 4th minute order was all executed at the 5th minute, at this point, will lead to excellent
The first higher order of grade is unable to get timely processing.
Third, but current limliting degrades, strategy is unknown if often pressure is larger for system in the case that " in processing " order is more
Really, lead to not the significance level based on order and optimize processing.
Fourth, the classification of order status is more single, only " success ", " failure ", " in processing ", life cycle is more simple
Plain, user can not learn before not reaching final state, the number having attempted to.
Fifth, service condition is difficult to monitor, duration needed for user can not accurately learn certain type services arrival final state.
For the processing mode in the related technology to " in processing " order, the technical issues of being unable to satisfy user demand, mesh
It is preceding not yet to put forward effective solutions.
Summary of the invention
The application provides a kind for the treatment of method and apparatus of order, to solve in the related technology to the place of " in processing " order
Reason mode, the technical issues of being unable to satisfy user demand.
According to the one aspect of the application, a kind of processing method of order is provided.This method comprises: determining target order
Processing opportunity and process instruction, wherein the state of the target order is in order processing;According to the target order
Processing opportunity sends the process instruction of the target order after extending scheduled duration, wherein the scheduled duration and the place
Reason opportunity is corresponding;After receiving the process instruction, the target order is carried out at operation according to the process instruction
Reason, to enable the target order reach the state that order is completed.
Optionally, after carrying out operation processing to the target order according to the process instruction, the method is also wrapped
It includes: judging whether the target order is state in order processing;When the target order is state in order processing, then again
Secondary execution " determines processing opportunity and the process instruction of target order;It is predetermined extending according to the processing opportunity of the target order
The process instruction of the target order is sent after duration;After receiving the process instruction, according to the process instruction to institute
State target order and carry out operation processing, to enable the target order reach the state that order is completed " the step of.
Optionally, after receiving the process instruction, the target order is operated according to the process instruction
Processing includes: to create the first processing record of the target order after receiving the process instruction;According to the processing
Instruction carries out operation processing to the target order;And the processing result of the target order is updated to the target order
First processing record in.
Optionally, after receiving the process instruction, the target order is operated according to the process instruction
Processing includes: to carry out operation processing to the target order according to the process instruction after receiving the process instruction;More
The total degree that the target order recorded in the new preset second processing record of target order is subsequently processed.
Optionally, the processing opportunity and process instruction for determining target order comprise determining that at the history of the target order
Manage number, wherein the history number of processes by the target order target order first processing record/second processing
Record determines;History number of processes according to the target order determines that the processing opportunity of the target order and processing refer to
It enables.
Optionally, the history number of processes according to the target order determines processing opportunity and the processing of the target order
Instruction includes: that the history in the case where the quantity of the target order is greater than preset threshold, according to the target order is handled
Number determines the priority of the target order, wherein the history number of processes of target order is higher, the target order it is preferential
Grade is bigger;Priority according to the target order determines processing opportunity and the process instruction of the target order, wherein described
Process instruction includes following classification: degradation, inquiry, mends list at current limliting.
Optionally, the method also includes record regulation and controlling of information, wherein the regulation and controlling of information include at least it is following it is any it
One: target order, the every kind of target order handled in each predetermined period, which reaches order, terminates average duration needed for state, every
Number of processes of the kind target order before reaching order to terminate state;The regulation and controlling of information is sent to target object, so as to
Target object regulates and controls the relevant parameter of the processing method of the order based on the regulation and controlling of information.
According to the another aspect of the application, a kind of processing unit of order is provided.The device comprises determining that unit, uses
In the processing opportunity and process instruction that determine target order, wherein the state of the target order is in order processing;First
Transmission unit sends the place of the target order for the processing opportunity according to the target order after extending scheduled duration
Reason instruction, wherein the scheduled duration is corresponding with the processing opportunity;Processing unit, for receive it is described processing refer to
After order, operation processing is carried out to the target order according to the process instruction, is completed with enabling the target order reach order
State
According to the another aspect of the application, a kind of storage medium is provided, the storage medium includes the program of storage,
In, described program executes the processing method of order described in above-mentioned any one.
According to the another aspect of the application, a kind of processor is provided, the processor is for running program, wherein institute
State the processing method that order described in above-mentioned any one is executed when program operation.
By the application, using following steps: determining the processing opportunity of target order, wherein the shape of the target order
State is in order processing;According to the processing opportunity of the target order, the target order is sent after extending scheduled duration
Process instruction, wherein the scheduled duration is corresponding with the processing opportunity;After receiving the process instruction, foundation
The process instruction carries out operation processing to the target order, to enable the target order reach the state that order is completed, solution
It has determined and batch processing is timed to order according to time interval dimension in the related technology, caused the higher order of priority that can not obtain
To the technical issues of timely processing.
That is, determining processing opportunity by being followed successively by each order, and refer in the processing that the processing opportunity sends the order
It enables, so that each order can be subsequently processed operation on suitable processing opportunity.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application
Example and its explanation are applied for explaining the application, is not constituted an undue limitation on the present application.In the accompanying drawings:
Fig. 1 is the flow chart according to the processing method of order provided by the embodiments of the present application;
Fig. 2 is according to a kind of schematic diagram of optional order processing method provided by the embodiments of the present application;And
Fig. 3 is the schematic diagram according to the processing unit of order provided by the embodiments of the present application.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
According to an embodiment of the present application, a kind of processing method of order is provided.
Fig. 1 is the flow chart according to the processing method of the order of the embodiment of the present application.As shown in Figure 1, this method include with
Lower step:
Step S102 determines processing opportunity and the process instruction of target order, wherein the state of the target order is in
In order processing
Step S104 sends the target order according to the processing opportunity of the target order after extending scheduled duration
Process instruction, wherein the scheduled duration is corresponding with the processing opportunity
Step S106 grasps the target order according to the process instruction after receiving the process instruction
It deals with, to enable the target order reach the state that order is completed.
The processing method of order provided by the embodiments of the present application, by the processing opportunity for determining target order, wherein described
The state of target order is in order processing;According to the processing opportunity of the target order, sent after extending scheduled duration
The process instruction of the target order, wherein the scheduled duration is corresponding with the processing opportunity;Receiving the processing
After instruction, operation processing is carried out to the target order according to the process instruction, it is complete to enable the target order reach order
At state, solve and batch processing be timed to order according to time interval dimension in the related technology, cause priority higher
Order the technical issues of being unable to get timely processing.
That is, determining processing opportunity by being followed successively by each order, and refer in the processing that the processing opportunity sends the order
It enables, so that each order can be subsequently processed operation on suitable processing opportunity.
By taking order status decision system runs the processing method of order provided by the embodiments of the present application as an example, it is illustrated:
When order status decision system determines that target order enters the state in order processing, it is determined that when the processing of the target order
Machine, to send corresponding process instruction on the processing opportunity.Further, after preset time period, order status decision system
Receive the process instruction on the processing opportunity, at this point, order status decision system according to the process instruction to target order into
The corresponding processing operation of row, so that target order reaches the state of order completion.
It should be understood that after order status decision system determines processing opportunity, after preset time period, order
State decision system receives the process instruction on the processing opportunity, is achieved by delay message.That is, in this Shen
Please embodiment provide order processing method in, process instruction is delay message.
It should be noted that: according to process instruction to target order carry out operation processing after, for avoid the target from ordering
Single the case where not reaching the state that order is completed yet, occurs.Optionally, in the processing method of order provided by the embodiments of the present application
In, after carrying out operation processing to the target order according to the process instruction, the method also includes: judge the mesh
Mark whether order is state in order processing;When the target order is state in order processing, then executes again and " determine mesh
Mark the processing opportunity of order;According to the processing opportunity of the target order, the target order is sent after extending scheduled duration
Process instruction;After receiving the process instruction, operation processing is carried out to the target order according to the process instruction,
To enable the target order reach the state that order is completed " the step of.
That is, after carrying out operation processing to target order according to process instruction, the state of the target order still in
In order processing, determine the processing opportunity of target order, S104 according to the target order at this point, then re-executeing the steps S102
Processing opportunity, the process instruction of the target order, S106 are sent after extending scheduled duration and is referred to receiving the processing
After order, operation processing is carried out to the target order according to the process instruction, until target order reaches the shape of order completion
State.
In addition, in the processing method of order provided by the embodiments of the present application, determine the target order processing opportunity and
Process instruction is through the following steps that be achieved.That is, step A1, determines the history number of processes of the target order,
In, the history number of processes is true by first processing record/second processing record of the target order of the target order
It is fixed;Step A2, the history number of processes according to the target order determine processing opportunity and the process instruction of the target order.
Specifically, step A2 determines the processing opportunity of the target order according to the history number of processes of the target order
With in process instruction also include following sub-step: step a1, the quantity of the target order be greater than preset threshold in the case where,
History number of processes according to the target order determines the priority of the target order, wherein at the history of target order
Reason number is higher, and the priority of the target order is bigger;Step a2, the priority according to the target order determine the target
The processing opportunity of order and process instruction, wherein the process instruction includes following classification: degradation, inquiry, mends list at current limliting.
That is, the history number of processes of inquiry target order, if excessive (the target order of the history number of processes of target order
Do not reach the state of order completion for a long time), it is determined that the priority of the target order is higher, at this point, then ordering to the target
It is single to carry out query processing/benefit list processing;Similarly, if the history number of processes of target order is less, (target order, which just enters, to be ordered
State in single processing), it is determined that the priority of the target order is lower, at this point, then to the target order carry out downgrade processing/
Current limliting processing.
Similarly, the history number of processes of target order is inquired, if excessive (the target order of the history number of processes of target order
Do not reach the state of order completion for a long time), it is determined that the priority of the target order is higher, at this point, the target order
Processing opportunity is shorter away from current time;Similarly, if more (target order just enters order to the history number of processes of target order
State in processing), it is determined that the priority of the target order is lower, at this point, the processing opportunity of the target order away from it is current when
Between it is longer.
It should be understood that the quantity of every class process instruction granting, related to the quantity of current goal order, that is, if
The quantity on order of state in order processing is more, then the quantity that the instruction that degrades/current limliting instruction is provided is also more;If being in
The quantity on order of state in order processing is less, then the quantity that the instruction that degrades/current limliting instruction is provided is also less.
Further, order is carried out in an optional example convenient for obtaining the history number of processes of target order
Operation per treatment be each equipped with processing record, so as to the fixed history number of processes of the subsequent determination target.Specifically,
It is above-mentioned to pass through following two for processing operation configuration processing record so as to the fixed history number of processes of the subsequent determination target
Kind mode is achieved:
First, being carried out at operation according to the process instruction to the target order after receiving the process instruction
Reason is comprising the following steps: step B1 creates the first processing note of the target order after receiving the process instruction
Record is single;Step B2 carries out operation processing to the target order according to the process instruction;Step B3, by the target order
Processing result be updated to the target order first processing record in.
That is, the first processing record of the target order is then established after the process instruction for receiving target order, with
Just after having carried out processing operation to target order, processing result is updated in the first processing record of the target order,
Wherein, when the classification of process instruction is inquiry, which includes at least following one of any information: when inquiry
Between, inquiry times, query result and current queries total degree.
Second, being carried out at operation according to the process instruction to the target order after receiving the process instruction
Reason is comprising the following steps: step C1 orders the target according to the process instruction after receiving the process instruction
It is single to carry out operation processing;Step C2 updates the target order recorded in the preset second processing record of the target order
The total degree being subsequently processed.
That is, after having carried out operation processing to target order according to process instruction, then it is preset to target order
Second processing record is updated processing, wherein specifically update the target order recorded in the second processing record by into
The total degree of row processing, the total degree can divide processing classification to be recorded, and can also directly record the total of all processing classifications
Number.
It should be understood that corresponding to the operation per treatment of above-mentioned first processing record and target order, that is, mesh
The every progress single treatment operation of mark order then establishes portion first and handles record, and the first processing record is for recording this
The implementation details of processing operation.Above-mentioned second processing record is corresponding with target order, that is, each target order is corresponding
A second processing record is established, and the second processing record is subsequently processed the total of operation for recording the target order
Number.
Finally, in the processing method of order provided by the embodiments of the present application, the method also includes: record regulation letter
Breath, wherein the regulation and controlling of information include at least it is following one of any: the target order that is handled in each predetermined period, every kind of target
Order, which reaches order, terminates the processing time of average duration needed for state, every kind of target order before reaching order to terminate state
Number;The regulation and controlling of information is sent to target object, so that target object regulates and controls based on the regulation and controlling of information place of the order
The operating parameter of reason method.
By taking order status decision system runs the processing method of order provided by the embodiments of the present application as an example, it is illustrated:
Message receiver in the order status decision system also sets up time window concept, handles to count in each predetermined period
Target quantity on order, how long every kind of target order can arrive completion status, the average processing times of different types of target order.
Finally, the above-mentioned regulation and controlling of information counted on is sent to staff, so that staff can grasp order processing feelings in time
Condition, to carry out manually adjusting scheduling strategy.
Fig. 2 is according to a kind of schematic diagram of optional order processing method provided by the embodiments of the present application.As shown in Fig. 2,
This method mainly executes following below scheme:
1. determining the state in target order (target service) arrival processing;
2. order diagnostor is called to determine how execution query strategy;
3. analysis of strategies are done according to the historical query of target order record, to determine processing opportunity and process instruction;
4. according to processing opportunity forward delay interval message, wherein record process instruction in the delay message;
5. order processor reception delay message;
6. for the newly-built processing record of target order;
7. executing process instruction;
8. processing result is updated in the processing record of target order, and update business library;
9. if inquiry failure, re-executes the step process of 2-8;
10. monitoring the implementation procedure and implementing result of above-mentioned arbitrary steps, and the implementation procedure and implementing result are carried out
It shows.
Finally it is emphasized that order processing method provided by the embodiment of the present application realizes following technical effect:
It is triggered 1. order inquiries are changed to order dimension by the triggering of batch dimension, so that enquiry frequency is more acurrate;
2. the order inquiries time can be flexibly adjustable by decision model decision;
3. the order of " in processing " state possesses detailed life cycle, for the strategy reference that degrades;
4. monitoring data, can be with feedback adjustment decision model for analysis.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
The embodiment of the present application also provides a kind of processing units of order, it should be noted that the embodiment of the present application is ordered
Single processing unit can be used for executing the processing method that order is used for provided by the embodiment of the present application.Below to the application reality
The processing unit for applying the order of example offer is introduced.
Fig. 3 is the schematic diagram according to the processing unit of the order of the embodiment of the present application.As shown in figure 3, the device includes: true
Order member 31, the first transmission unit 33, processing unit 35.
Determination unit 31, for determining processing opportunity and the process instruction of target order, wherein the shape of the target order
State is in order processing;
First transmission unit 33 sends institute after extending scheduled duration for the processing opportunity according to the target order
State the process instruction of target order, wherein the scheduled duration is corresponding with the processing opportunity;
Processing unit 35, for after receiving the process instruction, according to the process instruction to the target order
Operation processing is carried out, to enable the target order reach the state that order is completed.
Optionally, in the processing unit of order provided by the embodiments of the present application, described device further include: judging unit,
For judging whether the target order is to order after carrying out operation processing to the target order according to the process instruction
State in single processing;Execution unit, for when the target order is state in order processing, then executing again and " determining mesh
Mark processing opportunity and the process instruction of order;According to the processing opportunity of the target order, institute is sent after extending scheduled duration
State the process instruction of target order;After receiving the process instruction, according to the process instruction to the target order into
The step of row operation processing, to enable the target order reach the state that order is completed ".
Optionally, in the processing unit of order provided by the embodiments of the present application, processing unit 35 includes: creation module,
For after receiving the process instruction, creating the first processing record of the target order;First processing module is used for
Operation processing is carried out to the target order according to the process instruction;And first update module, for the target to be ordered
Single processing result is updated in the first processing record of the target order.
Optionally, in the processing unit of order provided by the embodiments of the present application, processing unit 35 includes: second processing mould
Block, for carrying out operation processing to the target order according to the process instruction after receiving the process instruction;Second
Update module is located for updating the target order recorded in the preset second processing record of the target order
The total degree of reason.
Optionally, in the processing unit of order provided by the embodiments of the present application, determination unit 31 includes: the first determining mould
Block, for determining the history number of processes of the target order, wherein the history number of processes by the target order mesh
The the first processing record/second processing record for marking order determines;Second determining module, for according to the target order
History number of processes determines processing opportunity and the process instruction of the target order.
Optionally, in the processing unit of order provided by the embodiments of the present application, the second determining module includes: first determining
Submodule, in the case where the quantity of the target order is greater than preset threshold, at the history according to the target order
Reason number determines the priority of the target order, wherein the history number of processes of target order is higher, the target order it is excellent
First grade is bigger;Second determines submodule, when for determining the processing of the target order according to the priority of the target order
Machine and process instruction, wherein the process instruction includes following classification: degradation, inquiry, mends list at current limliting.
Optionally, in the processing unit of order provided by the embodiments of the present application, described device further include: recording unit,
For recording regulation and controlling of information, wherein the regulation and controlling of information include at least it is following one of any: the mesh handled in each predetermined period
Mark order, every kind of target order arrival order terminate average duration needed for state, every kind of target order terminates in arrival order
Number of processes before state;Second transmission unit, for the regulation and controlling of information to be sent to target object, so as to target object
Regulate and control the relevant parameter of the processing unit of the order based on the regulation and controlling of information.
The processing unit of order provided by the embodiments of the present application determines the processing opportunity of target order by determination unit 31
And process instruction, wherein the state of the target order is in order processing;First transmission unit 33 is ordered according to the target
On single processing opportunity, the process instruction of the target order is sent after extending scheduled duration, wherein the scheduled duration and institute
It is corresponding to state processing opportunity;Processing unit 35 is after receiving the process instruction, according to the process instruction to the target
Order carries out operation processing, to enable the target order reach the state that order is completed, solves in the related technology according to the time
The technical issues of section dimension is timed batch processing to order, and the higher order of priority is caused to be unable to get timely processing.
That is, determining processing opportunity by being followed successively by each order, and refer in the processing that the processing opportunity sends the order
It enables, so that each order can be subsequently processed operation on suitable processing opportunity.
The processing unit of the order includes processor and memory, above-mentioned determination unit 31, the first transmission unit 33, place
It manages unit 35 etc. to store in memory as program unit, above procedure list stored in memory is executed by processor
Member realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, so that each order can be subsequently processed operation on suitable processing opportunity by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
The processing method of the existing order.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation
The processing method of order described in Shi Zhihang.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor perform the steps of processing opportunity and the place of determining target order when executing program
Reason instruction, wherein the state of the target order is in order processing;According to the processing opportunity of the target order, prolonging
The process instruction of the target order is sent after long scheduled duration, wherein the scheduled duration is corresponding with the processing opportunity;
After receiving the process instruction, operation processing is carried out to the target order according to the process instruction, to enable the mesh
It marks order and reaches the state that order is completed.
Optionally, after carrying out operation processing to the target order according to the process instruction, the method is also wrapped
It includes: judging whether the target order is state in order processing;When the target order is state in order processing, then again
Secondary execution " determines processing opportunity and the process instruction of target order;It is predetermined extending according to the processing opportunity of the target order
The process instruction of the target order is sent after duration;After receiving the process instruction, according to the process instruction to institute
State target order and carry out operation processing, to enable the target order reach the state that order is completed " the step of.
Optionally, after receiving the process instruction, the target order is operated according to the process instruction
Processing includes: to create the first processing record of the target order after receiving the process instruction;According to the processing
Instruction carries out operation processing to the target order;And the processing result of the target order is updated to the target order
First processing record in.
Optionally, after receiving the process instruction, the target order is operated according to the process instruction
Processing includes: to carry out operation processing to the target order according to the process instruction after receiving the process instruction;More
The total degree that the target order recorded in the new preset second processing record of target order is subsequently processed.
Optionally, the processing opportunity and process instruction for determining target order comprise determining that at the history of the target order
Manage number, wherein the history number of processes by the target order target order first processing record/second processing
Record determines;History number of processes according to the target order determines that the processing opportunity of the target order and processing refer to
It enables.
Optionally, the history number of processes according to the target order determines processing opportunity and the processing of the target order
Instruction includes: that the history in the case where the quantity of the target order is greater than preset threshold, according to the target order is handled
Number determines the priority of the target order, wherein the history number of processes of target order is higher, the target order it is preferential
Grade is bigger;Priority according to the target order determines processing opportunity and the process instruction of the target order, wherein described
Process instruction includes following classification: degradation, inquiry, mends list at current limliting.
Optionally, the method also includes record regulation and controlling of information, wherein the regulation and controlling of information include at least it is following it is any it
One: target order, the every kind of target order handled in each predetermined period, which reaches order, terminates average duration needed for state, every
Number of processes of the kind target order before reaching order to terminate state;The regulation and controlling of information is sent to target object, so as to
Target object regulates and controls the relevant parameter of the processing method of the order based on the regulation and controlling of information.Equipment herein can be clothes
Business device, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just
The program of beginningization there are as below methods step: processing opportunity and the process instruction of target order are determined, wherein the target order
State is in order processing;According to the processing opportunity of the target order, the target is sent after extending scheduled duration and is ordered
Single process instruction, wherein the scheduled duration is corresponding with the processing opportunity;After receiving the process instruction, according to
Operation processing is carried out to the target order according to the process instruction, to enable the target order reach the state that order is completed.
Optionally, after carrying out operation processing to the target order according to the process instruction, the method is also wrapped
It includes: judging whether the target order is state in order processing;When the target order is state in order processing, then again
Secondary execution " determines processing opportunity and the process instruction of target order;It is predetermined extending according to the processing opportunity of the target order
The process instruction of the target order is sent after duration;After receiving the process instruction, according to the process instruction to institute
State target order and carry out operation processing, to enable the target order reach the state that order is completed " the step of.
Optionally, after receiving the process instruction, the target order is operated according to the process instruction
Processing includes: to create the first processing record of the target order after receiving the process instruction;According to the processing
Instruction carries out operation processing to the target order;And the processing result of the target order is updated to the target order
First processing record in.
Optionally, after receiving the process instruction, the target order is operated according to the process instruction
Processing includes: to carry out operation processing to the target order according to the process instruction after receiving the process instruction;More
The total degree that the target order recorded in the new preset second processing record of target order is subsequently processed.
Optionally, the processing opportunity and process instruction for determining target order comprise determining that at the history of the target order
Manage number, wherein the history number of processes by the target order target order first processing record/second processing
Record determines;History number of processes according to the target order determines that the processing opportunity of the target order and processing refer to
It enables.
Optionally, the history number of processes according to the target order determines processing opportunity and the processing of the target order
Instruction includes: that the history in the case where the quantity of the target order is greater than preset threshold, according to the target order is handled
Number determines the priority of the target order, wherein the history number of processes of target order is higher, the target order it is preferential
Grade is bigger;Priority according to the target order determines processing opportunity and the process instruction of the target order, wherein described
Process instruction includes following classification: degradation, inquiry, mends list at current limliting.
Optionally, the method also includes record regulation and controlling of information, wherein the regulation and controlling of information include at least it is following it is any it
One: target order, the every kind of target order handled in each predetermined period, which reaches order, terminates average duration needed for state, every
Number of processes of the kind target order before reaching order to terminate state;The regulation and controlling of information is sent to target object, so as to
Target object regulates and controls the relevant parameter of the processing method of the order based on the regulation and controlling of information.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of processing method of order characterized by comprising
Determine processing opportunity and the process instruction of target order, wherein the state of the target order is in order processing;
According to the processing opportunity of the target order, the process instruction of the target order is sent after extending scheduled duration,
In, the scheduled duration is corresponding with the processing opportunity;
After receiving the process instruction, operation processing is carried out to the target order according to the process instruction, to enable
It states target order and reaches the state that order is completed.
2. the method according to claim 1, wherein being carried out according to the process instruction to the target order
After operation processing, the method also includes:
Judge whether the target order is state in order processing;
When the target order is state in order processing, then executes again and " determine processing opportunity and the processing of target order
Instruction;According to the processing opportunity of the target order, the process instruction of the target order is sent after extending scheduled duration;?
After receiving the process instruction, operation processing is carried out to the target order according to the process instruction, to enable the target
Order reaches the state that order is completed " the step of.
3. the method according to claim 1, wherein after receiving the process instruction, according to the processing
Instruction carries out operation processing to the target order
After receiving the process instruction, the first processing record of the target order is created;
Operation processing is carried out to the target order according to the process instruction;And
The processing result of the target order is updated in the first processing record of the target order.
4. the method according to claim 1, wherein after receiving the process instruction, according to the processing
Instruction carries out operation processing to the target order
After receiving the process instruction, operation processing is carried out to the target order according to the process instruction;
It updates total time that the target order recorded in the preset second processing record of the target order is subsequently processed
Number.
5. the method according to claim 3 or 4, which is characterized in that determine processing opportunity and the process instruction of target order
Include:
Determine the history number of processes of the target order, wherein the history number of processes by the target order target
The first processing record/second processing record of order determines;
History number of processes according to the target order determines processing opportunity and the process instruction of the target order.
6. according to the method described in claim 5, it is characterized in that, the history number of processes according to the target order determines institute
The processing opportunity and process instruction for stating target order include:
In the case where the quantity of the target order is greater than preset threshold, the history number of processes according to the target order is true
The priority of the fixed target order, wherein the history number of processes of target order is higher, and the priority of the target order is got over
Greatly;
Priority according to the target order determines processing opportunity and the process instruction of the target order, wherein the place
Reason instruction includes following classification: degradation, inquiry, mends list at current limliting.
7. the method according to claim 1, wherein the method also includes:
Record regulation and controlling of information, wherein the regulation and controlling of information include at least it is following one of any: the mesh handled in each predetermined period
Mark order, every kind of target order arrival order terminate average duration needed for state, every kind of target order terminates in arrival order
Number of processes before state;
The regulation and controlling of information is sent to target object, so that target object regulates and controls based on the regulation and controlling of information place of the order
The relevant parameter of reason method.
8. a kind of processing unit of order characterized by comprising
Determination unit, for determining processing opportunity and the process instruction of target order, wherein the state of the target order is in
In order processing;
First transmission unit sends the target after extending scheduled duration for the processing opportunity according to the target order
The process instruction of order, wherein the scheduled duration is corresponding with the processing opportunity;
Processing unit, for being grasped according to the process instruction to the target order after receiving the process instruction
It deals with, to enable the target order reach the state that order is completed.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution
Benefit require any one of 1 to 7 described in order processing method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 7 described in order processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910093038.0A CN109785077A (en) | 2019-01-30 | 2019-01-30 | The treating method and apparatus of order |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910093038.0A CN109785077A (en) | 2019-01-30 | 2019-01-30 | The treating method and apparatus of order |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109785077A true CN109785077A (en) | 2019-05-21 |
Family
ID=66503763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910093038.0A Pending CN109785077A (en) | 2019-01-30 | 2019-01-30 | The treating method and apparatus of order |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109785077A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111179023A (en) * | 2019-12-10 | 2020-05-19 | 北京互金新融科技有限公司 | Order identification method and device |
CN113743803A (en) * | 2021-09-08 | 2021-12-03 | 上海哔哩哔哩科技有限公司 | Object processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014025145A1 (en) * | 2012-08-10 | 2014-02-13 | Samsung Techwin Co., Ltd | Method and apparatus for processing message between processors |
CN106445933A (en) * | 2015-08-04 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Data processing method and system |
CN106713028A (en) * | 2016-12-20 | 2017-05-24 | 北京小米移动软件有限公司 | Service degradation method and apparatus, and distributed task scheduling system |
CN107748695A (en) * | 2017-10-24 | 2018-03-02 | 平安科技(深圳)有限公司 | Timed task processing method, device, storage medium and computer equipment |
CN108052398A (en) * | 2017-12-12 | 2018-05-18 | 苏州比可网络科技有限公司 | A kind of feedback method of order processing state and polymerization payment platform |
CN108093275A (en) * | 2016-11-22 | 2018-05-29 | 北京国双科技有限公司 | A kind of data processing method and device |
-
2019
- 2019-01-30 CN CN201910093038.0A patent/CN109785077A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014025145A1 (en) * | 2012-08-10 | 2014-02-13 | Samsung Techwin Co., Ltd | Method and apparatus for processing message between processors |
CN106445933A (en) * | 2015-08-04 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Data processing method and system |
CN108093275A (en) * | 2016-11-22 | 2018-05-29 | 北京国双科技有限公司 | A kind of data processing method and device |
CN106713028A (en) * | 2016-12-20 | 2017-05-24 | 北京小米移动软件有限公司 | Service degradation method and apparatus, and distributed task scheduling system |
CN107748695A (en) * | 2017-10-24 | 2018-03-02 | 平安科技(深圳)有限公司 | Timed task processing method, device, storage medium and computer equipment |
CN108052398A (en) * | 2017-12-12 | 2018-05-18 | 苏州比可网络科技有限公司 | A kind of feedback method of order processing state and polymerization payment platform |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111179023A (en) * | 2019-12-10 | 2020-05-19 | 北京互金新融科技有限公司 | Order identification method and device |
CN113743803A (en) * | 2021-09-08 | 2021-12-03 | 上海哔哩哔哩科技有限公司 | Object processing method and device |
CN113743803B (en) * | 2021-09-08 | 2024-03-15 | 上海哔哩哔哩科技有限公司 | Object processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108804668A (en) | Data processing method and device | |
CN109408220A (en) | A kind of task processing method and device | |
CN110162292A (en) | Voice broadcast method and device | |
CN109785077A (en) | The treating method and apparatus of order | |
CN109325702A (en) | Method for scheduling task and device | |
KR102160545B1 (en) | System for smart factory using internet of things | |
CN109582543A (en) | Data retrogressive method and device | |
Aksyonov et al. | Choice of the scheduling technique taking into account the subcontracting optimization | |
CN109032089A (en) | The collecting method and device of industrial equipment | |
Jeon et al. | Design considerations and architecture for cooperative smart factory: MAPE/BD approach | |
CN110297713A (en) | Configuration management system and method of cloud host | |
KR100971908B1 (en) | System of Proactive Scheduling approach using Simulation | |
CN109992470A (en) | A kind of threshold adjustment methods and device | |
CN109684381A (en) | Data hot statistics method and device | |
CN108777603A (en) | A kind of data transmission method, device, storage medium and electronic equipment | |
CN109117295A (en) | A kind of overtime monitoring method of transaction and device | |
US20160139592A1 (en) | Dynamic batch size and internal transportation | |
CN109409527A (en) | Data processing method, device, system and storage medium | |
CN109495435A (en) | The firewall update method and device of server | |
Silva et al. | A generic decision support tool for lot-sizing and scheduling problems with setup and due dates | |
CN109905331A (en) | Array dispatching method and device, communication equipment, storage medium | |
CN104301134B (en) | Management method and system based on massive timer in Software for Design | |
WO2020062047A1 (en) | Scheduling rule updating method, device, system, storage medium and terminal | |
CN109582476A (en) | Data processing method, apparatus and system | |
CN113761702B (en) | Sorting scheme evaluation method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190521 |