CN104573993A - Multi-process execution method and multi-process execution system - Google Patents

Multi-process execution method and multi-process execution system Download PDF

Info

Publication number
CN104573993A
CN104573993A CN201510045351.9A CN201510045351A CN104573993A CN 104573993 A CN104573993 A CN 104573993A CN 201510045351 A CN201510045351 A CN 201510045351A CN 104573993 A CN104573993 A CN 104573993A
Authority
CN
China
Prior art keywords
operation system
performance parameter
value
real
described operation
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
Application number
CN201510045351.9A
Other languages
Chinese (zh)
Inventor
彭智敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510045351.9A priority Critical patent/CN104573993A/en
Publication of CN104573993A publication Critical patent/CN104573993A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a multi-process execution method and a multi-process execution system to improve reliability in multi-process execution with low cost. The multi-process execution method includes: recording performance parameter limiting values of a service system which is used for executing one of multiple processes; according to the performance parameter limiting values of the service system, real-time performance parameter values of the service system and preset adjustment strategies, adjusting calling amount set values of the service system to enable the real-time performance parameter values to be within the performance parameter limiting values; calling the service system according to the calling amount set values of the service system.

Description

Multipaths manner of execution and system
Technical field
The present invention relates to field of computer technology, particularly a kind of multipaths manner of execution and system.
Background technology
In the order processing of ecommerce, often different according to the division of business, often form multiple flow process, such as order splits, order shifts, order predecomposition etc. flow process, each flow process is processed by corresponding operation system, the processing power of each operation system differs, when a large amount of orders needs to carry out the process of multipaths simultaneously, the execution time of whole flow process may be had influence on because of lacking in ability of certain business flow processing, even may there is certain operation system because visit capacity machine of delaying greatly, and then cause the stopping of whole order dealing process, the order affecting downstream storehouse is produced.
In typical e-commerce order processing procedure, place an order the production of terminal storehouse order from user, order can flow through multiple flow process and process, can through malice order flow process after such as placing an order, order splits flow process, the flow process that order transfer etc. has sequencing to rely on, produces until order last incoming terminal storehouse.And this series of flow process is independent of one another, is processed by different operation systems respectively, need to call these operation systems successively, the final result producing needs.
In existing techniques in realizing, each operation flow is independent toward each other, processes each flow process by independently operation system, therefore in the process of process order, call each operation system according to carrying out successively, such as, first call malice form ordering system, check whether order is malice order; Then call order split system, order is split as corresponding sub-order; Next go calling branch system again, order is transferred to corresponding Warehouse System etc., form the order can produced at storehouse until last.As shown in Figure 1, Fig. 1 is the schematic diagram of the main modular of system according to process order of the prior art to the main modular used in above process.Order raw data module in Fig. 1 is mainly used to order data to encapsulate, for ensuing process is prepared.Call control center's module be mainly used to according to order processing order to call each process order operation system.Ordering Module 1 to N in figure realizes the function of each operation system, is used for processing each operation flow.Each Ordering Module generally adopts server cluster to realize.
When order volume is smaller, the system of employing Fig. 1 generally can normal process order.But order volume changes often, in the peak period of order volume, the individual server often occurring in certain operation system is delayed the situation of machine, now the load of other servers of this operation system increases immediately, make wherein to have again server to delay machine, thus form avalanche effect, this operation system is paralysed completely, thus cause interruption and the stagnation of order dealing process, finally have influence on order produce and to user's deliver goods.In order to avoid the appearance of above-mentioned situation, current Main is the processing power of expanding system, realizes mainly through increasing hardware facility.This mode cost compare is high.
Summary of the invention
In view of this, the invention provides a kind of multipaths manner of execution and system, the reliability that multipaths performs can be improved under lower cost.
For achieving the above object, according to an aspect of the present invention, a kind of multipaths manner of execution is provided.
Multipaths manner of execution of the present invention comprises: the performance parameter limit value of record traffic system, and described operation system is for performing a flow process in multipaths; According to the performance parameter limit value of described operation system and the real-time performance parameter value of described operation system and default regulation strategy, the amount of the calling setting value of described operation system is regulated, makes described real-time performance parameter value within described performance parameter limit value; The amount of calling setting value according to described operation system is called this operation system.
Alternatively, before the step that the amount of the calling setting value of described operation system is regulated, also comprise: the weight of preserving the multiple performance parameter settings to operation system; The real-time performance parameter value of described operation system is the instantaneous value of the maximum performance parameter of weight.
Alternatively, before the step of the performance parameter limit value of described record traffic system, also comprise: selected described operation system from the multiple operation systems for performing described multipaths.
Alternatively, before the step that the amount of the calling setting value of described operation system is regulated, also comprise: the real-time performance parameter continuing to obtain described operation system according to the time interval of presetting.
Alternatively, after according to the amount of the calling setting value of described operation system this operation system being called, also comprise: when the real-time performance parameter value of described operation system is within described performance parameter limit value, calculate difference therebetween, if this difference is greater than preset value, then increase the amount of the calling setting value of described operation system, then by this amount of calling setting value, this operation system is called.
Alternatively, the performance parameter of described operation system comprise following one or more: utilization rate of central processing unit, calculator memory use amount, calls time of return.
Alternatively, described operation system comprises the operation system of the order of process ecommerce.
According to a further aspect in the invention, a kind of multipaths executive system is provided.
Multipaths executive system of the present invention comprises: system parameter settings module, for recording the performance parameter limit value of the multiple operation systems performing multipaths; Real-time Obtaining module, for obtaining the real-time performance parameter value of operation system; Intellectual analysis engine modules, for according to the performance parameter limit value of described operation system and the real-time performance parameter value of described operation system and default regulation strategy, the amount of the calling setting value of described operation system is regulated, makes described real-time performance parameter value within described performance parameter limit value; Call control center's module, for regulating the amount of the calling setting value obtained to call this operation system according to described intellectual analysis engine modules.
Alternatively, described system parameter settings module is also for preserving the weight of the multiple performance parameter settings to operation system; Described intellectual analysis engine modules is also for according to the real-time performance parameter value of the performance parameter limit value of described operation system and the maximum performance parameter of the weight of described operation system and default regulation strategy, the amount of the calling setting value of described operation system is regulated, makes described real-time performance parameter value within described performance parameter limit value.
Alternatively, described Real-time Obtaining module is also for continuing according to the time interval of presetting the real-time performance parameter obtaining described operation system.
Alternatively, described intellectual analysis engine modules is also for when the real-time performance parameter value of described operation system is within described performance parameter limit value, calculate difference therebetween, if this difference is greater than preset value, then increase the amount of the calling setting value of described operation system.
According to technical scheme of the present invention, the performance parameter limit value of setting operation system, the amount of calling to this operation system is regulated according to this limit value, make its real-time performance parameter value within this limit value, thus ensure that this operation system can normally be run, the multiple operation systems for process multipaths do similar process can enable multipaths be processed by reliable and stable.
Accompanying drawing explanation
Accompanying drawing is used for understanding the present invention better, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the schematic diagram of the main modular of system according to process order of the prior art;
Fig. 2 is the schematic diagram of the basic step of multipaths manner of execution according to the embodiment of the present invention;
Fig. 3 is the schematic diagram of the main modular of multipaths actuating unit according to the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, one exemplary embodiment of the present invention is explained, comprising the various details of the embodiment of the present invention to help understanding, they should be thought it is only exemplary.Therefore, those of ordinary skill in the art will be appreciated that, can make various change and amendment, and can not deviate from scope and spirit of the present invention to the embodiments described herein.Equally, for clarity and conciseness, the description to known function and structure is eliminated in following description.
In embodiments of the present invention, to each operation system setting performance parameter limit value, regulate the amount of calling to this system when system cloud gray model according to this limit value, make the real-time performance parameter of operation system not exceed the performance parameter limit value of setting.Elaborate below in conjunction with accompanying drawing.Fig. 2 is the schematic diagram of the basic step of multipaths manner of execution according to the embodiment of the present invention.What Fig. 2 described is way for an operation system, adopts similar process in the implementation for each operation system.
Step S21: the performance parameter limit value of record traffic system.CPU usage, the memory usage of performance parameter limit value such as server, call response time value etc.When the performance parameter of operation system exceeds these limit values, then illustrate that server performance declines, and has the risk of the machine of delaying, needs to take measures.For multiple operation system, a part wherein only can be controlled.Therefore can select one or more operation system in advance, these operation systems are processed by Fig. 2 flow process.
Step S22: the real-time performance parameter value of capturing service system.
Step S23: according to the performance parameter limit value of operation system and the real-time performance parameter value of operation system and default regulation strategy, the amount of the calling setting value of operation system is regulated.The amount of calling here is the call number to operation system in the unit interval.In this step, the object of adjustment is that the real-time performance parameter value that makes to collect is within the performance parameter limit value of record.Adjustment can perform according to the strategy of default settings.Can be make all real-time performance parameter values within limit value, also can make wherein a part of real-time performance parameter value within limit value.The response time is called to investigate, be example within being limited to limit value, setting current business system call amount is 10,000 times per second, and collect current to call the response time be 2s, and its limit value 50ms of setting, the currency collected exceeds limit value, then illustrate that current business system handling property is in decline, now our number of times calling operation system is reduced to 5,000 times per second by 10,000 times per second, then continue gather current call the response time and investigate it whether decline to some extent, if do not declined, then again carry out the downward amount of calling by the step-length preset, until collect currently call within the response time returns to limit value.Now the amount of calling finally used is preserved as the amount of calling setting value.
Step S24: the amount of the calling setting value according to operation system is called this operation system.Above-mentioned flow process can circulate and carry out, and namely returns step S22, continues according to the time interval of presetting the real-time performance parameter obtaining operation system.When the real-time performance parameter value of operation system is within performance parameter limit value, calculate difference therebetween, if this difference is greater than preset value, then increases the amount of the calling setting value of operation system, then by this amount of calling setting value, this operation system is called.Contribute to the resource making full use of operation system like this.
For each operation system, the difference of its treatment effeciency, when the amount of calling be set value limit, there will be order volume that last business flow processing completes be greater than after the situation of the acceptable order volume of an operation flow, after now the data volume that last for part operation flow exports can being exceeded, the part of the amount of the calling setting value of an operation flow is saved in database.Can call within the next time cycle like this, the processing procedure of order is carried out smoothly.
Each operation system for process multipaths processes all in a manner described, thus all systems of process order can be made can both to run within the load range that can bear.Be more than be illustrated for the order dealing process of ecommerce, the scheme of the present embodiment also can be applicable to the application scenario of other multipaths.
For each operation system, stress different to the control of its performance index, therefore can arrange each operation system, set the weight of each performance parameter.Such as to a certain operation system, the weight of setting CPU usage is 2, and the weight of internal memory use amount is 5, and the weight calling time of return is 10.The instantaneous value of the maximum performance parameter of weight is just gathered like this in step S22.
Fig. 3 is the schematic diagram of the main modular of multipaths executive system according to the embodiment of the present invention.As shown in Figure 3, multipaths executive system 30 mainly comprises system parameter settings module 31, Real-time Obtaining module 32, intellectual analysis engine modules 33 and calls control center's module 34.System parameter settings module 31 is for recording the performance parameter limit value of the multiple operation systems performing multipaths; Real-time Obtaining module 32 is for obtaining the real-time performance parameter value of operation system; Intellectual analysis engine modules 33 is for according to the performance parameter limit value of operation system and the real-time performance parameter value of operation system and default regulation strategy, the amount of the calling setting value of operation system is regulated, makes this real-time performance parameter value within this performance parameter limit value; Call control center's module 34 to call this operation system for the amount of the calling setting value according to operation system.
According to the technical scheme of the embodiment of the present invention, the performance parameter limit value of setting operation system, the amount of calling to this operation system is regulated according to this limit value, make its real-time performance parameter value within this limit value, thus ensure that this operation system can normally be run, the multiple operation systems for process multipaths do similar process can enable multipaths be processed by reliable and stable.
Below describe ultimate principle of the present invention in conjunction with specific embodiments, in apparatus and method of the present invention, obviously, each parts or each step can decompose and/or reconfigure.These decompose and/or reconfigure and should be considered as equivalents of the present invention.Further, the step performing above-mentioned series of processes can order naturally following the instructions perform in chronological order, but does not need necessarily to perform according to time sequencing.Some step can walk abreast or perform independently of one another.
Above-mentioned embodiment, does not form limiting the scope of the invention.It is to be understood that depend on designing requirement and other factors, various amendment, combination, sub-portfolio can be there is and substitute in those skilled in the art.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within scope.

Claims (11)

1. a multipaths manner of execution, is characterized in that, comprising:
The performance parameter limit value of record traffic system, described operation system is for performing a flow process in multipaths;
According to the performance parameter limit value of described operation system and the real-time performance parameter value of described operation system and default regulation strategy, the amount of the calling setting value of described operation system is regulated, makes described real-time performance parameter value within described performance parameter limit value;
The amount of calling setting value according to described operation system is called this operation system.
2. method according to claim 1, is characterized in that,
Before the step that the amount of the calling setting value of described operation system is regulated, also comprise: the weight of preserving the multiple performance parameter settings to operation system;
The real-time performance parameter value of described operation system is the instantaneous value of the maximum performance parameter of weight.
3. method according to claim 1, is characterized in that, before the step of the performance parameter limit value of described record traffic system, also comprises: selected described operation system from the multiple operation systems for performing described multipaths.
4. method according to claim 1, is characterized in that, before the step regulate, also comprises the amount of the calling setting value of described operation system: the real-time performance parameter continuing to obtain described operation system according to the time interval of presetting.
5. the method according to claim 1 or 4, is characterized in that, after calling, also comprises according to the amount of the calling setting value of described operation system to this operation system:
When the real-time performance parameter value of described operation system is within described performance parameter limit value, calculate difference therebetween, if this difference is greater than preset value, then increase the amount of the calling setting value of described operation system, then by this amount of calling setting value, this operation system is called.
6. method according to claim 1, is characterized in that, the performance parameter of described operation system comprise following one or more: utilization rate of central processing unit, calculator memory use amount, calls time of return.
7. method according to claim 1, is characterized in that, described operation system comprises the operation system of the order of process ecommerce.
8. a multipaths executive system, is characterized in that, comprising:
System parameter settings module, for recording the performance parameter limit value of the multiple operation systems performing multipaths;
Real-time Obtaining module, for obtaining the real-time performance parameter value of operation system;
Intellectual analysis engine modules, for according to the performance parameter limit value of described operation system and the real-time performance parameter value of described operation system and default regulation strategy, the amount of the calling setting value of described operation system is regulated, makes described real-time performance parameter value within described performance parameter limit value;
Call control center's module, for regulating the amount of the calling setting value obtained to call this operation system according to described intellectual analysis engine modules.
9. system according to claim 8, is characterized in that,
Described system parameter settings module is also for preserving the weight of the multiple performance parameter settings to operation system;
Described intellectual analysis engine modules is also for according to the real-time performance parameter value of the performance parameter limit value of described operation system and the maximum performance parameter of the weight of described operation system and default regulation strategy, the amount of the calling setting value of described operation system is regulated, makes described real-time performance parameter value within described performance parameter limit value.
10. system according to claim 8, is characterized in that, described Real-time Obtaining module is also for continuing according to the time interval of presetting the real-time performance parameter obtaining described operation system.
11. systems according to claim 8, it is characterized in that, described intellectual analysis engine modules is also for when the real-time performance parameter value of described operation system is within described performance parameter limit value, calculate difference therebetween, if this difference is greater than preset value, then increase the amount of the calling setting value of described operation system.
CN201510045351.9A 2015-01-29 2015-01-29 Multi-process execution method and multi-process execution system Pending CN104573993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510045351.9A CN104573993A (en) 2015-01-29 2015-01-29 Multi-process execution method and multi-process execution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510045351.9A CN104573993A (en) 2015-01-29 2015-01-29 Multi-process execution method and multi-process execution system

Publications (1)

Publication Number Publication Date
CN104573993A true CN104573993A (en) 2015-04-29

Family

ID=53090002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510045351.9A Pending CN104573993A (en) 2015-01-29 2015-01-29 Multi-process execution method and multi-process execution system

Country Status (1)

Country Link
CN (1) CN104573993A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090122706A1 (en) * 2004-10-28 2009-05-14 Rosario Alfano Method for Managing Resources in a Platform for Telecommunication Service and/or Network Management, Corresponding Platform and Computer Program Product Therefor
US20100174931A1 (en) * 2003-04-30 2010-07-08 International Business Machines Corporation Managing electric power consumption by configuring elements of a distributed computing system
CN102033784A (en) * 2010-11-18 2011-04-27 山东中创软件工程股份有限公司 Method and device for optimizing application server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100174931A1 (en) * 2003-04-30 2010-07-08 International Business Machines Corporation Managing electric power consumption by configuring elements of a distributed computing system
US20090122706A1 (en) * 2004-10-28 2009-05-14 Rosario Alfano Method for Managing Resources in a Platform for Telecommunication Service and/or Network Management, Corresponding Platform and Computer Program Product Therefor
CN102033784A (en) * 2010-11-18 2011-04-27 山东中创软件工程股份有限公司 Method and device for optimizing application server

Similar Documents

Publication Publication Date Title
US9456014B2 (en) Dynamic workload balancing for real-time stream data analytics
CN103281367B (en) A kind of load-balancing method and device
CN103986748B (en) The method and apparatus of the serviceization of realization
CN104935622B (en) A kind of method and device for message distribution, consumption, the system for Message Processing
CN103516807A (en) Cloud computing platform server load balancing system and method
US10623482B2 (en) Server load management for data migration
CN107566910B (en) The customized distribution monitoring method of resource, storage medium, electronic equipment and system is broadcast live
CN107483981B (en) Resource Calculation monitoring distribution method, storage medium, electronic equipment and system is broadcast live
WO2016184048A1 (en) Method and device for frequency management for multi-core processor cpu
CN104391748A (en) Mapreduce calculation process optimization method
CN102314336A (en) Data processing method and system
CN109066689B (en) Junctor power flow adjusting method and device for data splicing of internal network and external network of power system
CN103841129A (en) Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method
CN108737255A (en) Load-balancing method, load balancing apparatus and server
CN109165045A (en) A kind of method and apparatus for the hardware configuration adjusting server
CN107608788A (en) A kind of control method, device and equipment
CN102947798A (en) Computer system, method and program
CN102291276B (en) Heartbeat information regulation method and system for network system
CN108023936B (en) Distributed interface access control method and system
CN104573993A (en) Multi-process execution method and multi-process execution system
CN112181498B (en) Concurrency control method, device and equipment
CN109977140B (en) Transaction data query method, device and system
CN105224805B (en) Method for managing resource and device based on streaming computing
CN116317152A (en) Control method, control device and electronic device of virtual power plant
CN116302404A (en) Resource decoupling data center-oriented server non-perception calculation scheduling method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20150429