Movatterモバイル変換


[0]ホーム

URL:


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
CN104573993ACN201510045351.9ACN201510045351ACN104573993ACN 104573993 ACN104573993 ACN 104573993ACN 201510045351 ACN201510045351 ACN 201510045351ACN 104573993 ACN104573993 ACN 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 LtdfiledCriticalBeijing Jingdong Century Trading Co Ltd
Priority to CN201510045351.9ApriorityCriticalpatent/CN104573993A/en
Publication of CN104573993ApublicationCriticalpatent/CN104573993A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

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)

CN201510045351.9A2015-01-292015-01-29Multi-process execution method and multi-process execution systemPendingCN104573993A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510045351.9ACN104573993A (en)2015-01-292015-01-29Multi-process execution method and multi-process execution system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510045351.9ACN104573993A (en)2015-01-292015-01-29Multi-process execution method and multi-process execution system

Publications (1)

Publication NumberPublication Date
CN104573993Atrue CN104573993A (en)2015-04-29

Family

ID=53090002

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510045351.9APendingCN104573993A (en)2015-01-292015-01-29Multi-process execution method and multi-process execution system

Country Status (1)

CountryLink
CN (1)CN104573993A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090122706A1 (en)*2004-10-282009-05-14Rosario AlfanoMethod for Managing Resources in a Platform for Telecommunication Service and/or Network Management, Corresponding Platform and Computer Program Product Therefor
US20100174931A1 (en)*2003-04-302010-07-08International Business Machines CorporationManaging electric power consumption by configuring elements of a distributed computing system
CN102033784A (en)*2010-11-182011-04-27山东中创软件工程股份有限公司Method and device for optimizing application server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20100174931A1 (en)*2003-04-302010-07-08International Business Machines CorporationManaging electric power consumption by configuring elements of a distributed computing system
US20090122706A1 (en)*2004-10-282009-05-14Rosario AlfanoMethod for Managing Resources in a Platform for Telecommunication Service and/or Network Management, Corresponding Platform and Computer Program Product Therefor
CN102033784A (en)*2010-11-182011-04-27山东中创软件工程股份有限公司Method and device for optimizing application server

Similar Documents

PublicationPublication DateTitle
CN118445060A (en)SDN-based load balancing realization system and method
US10917459B2 (en)Server load management for data migration
CN104935622B (en)A kind of method and device for message distribution, consumption, the system for Message Processing
CN105516024B (en)A kind of task flux monitoring method and system based on queue
CN105656973A (en)Distributed method and system for scheduling tasks in node group
WO2011120019A3 (en)Fine grain performance resource management of computer systems
CN109977140B (en)Transaction data query method, device and system
CN107193652A (en)The flexible resource dispatching method and system of flow data processing system in container cloud environment
CN107483981B (en)Resource Calculation monitoring distribution method, storage medium, electronic equipment and system is broadcast live
CN109066689B (en) A method and device for adjusting power flow of tie line for data splicing of internal and external network of power system
CN102314336A (en)Data processing method and system
CN102436399A (en)Load balancing acquisition method
CN116317152B (en)Control method, control device and electronic device of virtual power plant
CN108023936B (en)Distributed interface access control method and system
CN102947798A (en)Computer system, method and program
CN105224805B (en)Method for managing resource and device based on streaming computing
CN102291276B (en)Heartbeat information regulation method and system for network system
CN105740076B (en) Method and device for load balancing
CN104573993A (en)Multi-process execution method and multi-process execution system
CN112541036B (en)Power grid data synchronization method, system, device, computer equipment and storage medium
CN118572888A (en)CAN bus parallel current sharing method, device, terminal equipment and medium
CN106790368A (en)Resource regulating method and device in a kind of distributed system
CN106254058B (en) A method and apparatus for adjusting the frequency of a server
CN108563428A (en)A kind of method, apparatus, equipment and the storage medium of big data framework processing data
CN109120720A (en)A method of automatic adjustment version tests flow

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20150429


[8]ページ先頭

©2009-2025 Movatter.jp