CN109345299A - A kind of method and device adjusting service range - Google Patents

A kind of method and device adjusting service range Download PDF

Info

Publication number
CN109345299A
CN109345299A CN201811109276.8A CN201811109276A CN109345299A CN 109345299 A CN109345299 A CN 109345299A CN 201811109276 A CN201811109276 A CN 201811109276A CN 109345299 A CN109345299 A CN 109345299A
Authority
CN
China
Prior art keywords
time piece
order
future time
pond
service
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
CN201811109276.8A
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 Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201811109276.8A priority Critical patent/CN109345299A/en
Publication of CN109345299A publication Critical patent/CN109345299A/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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0204Market segmentation
    • G06Q30/0205Location or geographical consideration

Abstract

The application provides a kind of method, apparatus for adjusting service range and computer readable storage medium and electronic equipment.Wherein, which comprises according to History Order data, predict the order increase and decrease amount in future time piece order pond;Obtain the order storage in current time piece order pond;According to the order storage of the order increase and decrease amount in the future time piece order pond and current time piece order pond, the adjustment ratio of service range under future time piece is calculated;Current service range is adjusted to the service range of the adjustment ratio.Using the application, the accuracy and practicability of adjustment service range can be promoted.

Description

A kind of method and device adjusting service range
Technical field
This application involves Internet technical field more particularly to a kind of method, apparatus and computer for adjusting service range Storage medium and electronic equipment.
Background technique
Under certain particular surroundings, for the business of making house calls, need to be adjusted normal service range, with Adapt to the particular surroundings.For example, will appear the abruptly increase of new order when bad weather occur, in the short time, and attendant Load capacity can not be promoted the short time.In order to guarantee that attendant's safety also for user experience is guaranteed, needs to inhibit user Demand.
In the related art, generally rule of thumb a lesser service range artificially can be set, it is normal by reducing The mode of service range, reduces the quantity of new order, to achieve the purpose that inhibit user demand.However, existing way is directed to Varying environment, such as no matter weather conditions quality dwindles into identical service range, leads to the standard of service range adjusted True property and practicability be not high.
Summary of the invention
In view of this, the application provides a kind of method, apparatus for adjusting service range and computer storage medium and electronics Equipment, the accuracy and practicability for solving the problems, such as above-mentioned service range adjusted be not high.
Specifically, the application is achieved by the following technical solution:
A method of adjustment service range, which comprises
According to History Order data, the order increase and decrease amount in future time piece order pond is predicted;
Obtain the order storage in current time piece order pond;
According to the order storage of the order increase and decrease amount in the future time piece order pond and current time piece order pond, calculate The adjustment ratio of service range under future time piece;
Current service range is adjusted to the service range of the adjustment ratio.
Optionally, described to predict the order increase and decrease amount in future time piece order pond according to History Order data, it is specific to wrap It includes:
According to History Order data, that predicts future time piece measures and consumes single amount into single.
Optionally, described according to History Order data, predict future time piece into single amount, specifically include:
Obtain a historical time piece into single amount and history into the variable quantity singly measured;
Calculate the historical time piece into single amount and history into the sum of the variable quantity singly measured, obtain future time piece into Dan Liang.
Optionally, one historical time piece includes a upper timeslice for current time piece;
The future time piece includes next timeslice of current time piece.
Optionally, described according to History Order data, it predicts the consumption list amount of future time piece, specifically includes:
By the single consumption list measured as the future time piece of consumption with future time piece with the historical time piece of period Amount.
Optionally, described and future time piece includes first 1 day and future time piece same period with the historical time piece of period Timeslice;
The future time piece includes next timeslice of current time piece.
Optionally, the order storage for obtaining current time piece order pond, specifically includes:
Obtain the second order at the end of the first order storage when current time piece starts, and prediction current time piece Storage.
Optionally, it is deposited according to the order of the order increase and decrease amount in the future time piece order pond and current time piece order pond Amount calculates the adjustment ratio of service range under future time piece, specifically includes:
According to described into single amount, the single amount of consumption, the first order storage and the second order storage, calculate and taken under current time piece The adjustment ratio for range of being engaged in.
Optionally, according to described into single amount, the single amount of consumption, the first order storage and the second order storage, when calculating current Between under piece service range adjustment ratio, specifically include:
According to formula Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIndicate that current time piece starts When order pond the first order storage, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece.
Optionally, described according to History Order data, predict the order increase and decrease amount in future time piece order pond, further includes:
According to the linear relationship between service duration and service load, the order pond maximum inventory of future time piece is predicted;
It is described according to the order increase and decrease amount in the future time piece order pond and the order storage in current time piece order pond, The adjustment ratio for calculating service range under future time piece, specifically includes:
According to described into single amount, the single amount of consumption, the first order storage, the second order storage and order pond maximum inventory, meter Calculate the adjustment ratio of service range under future time piece.
Optionally, the linear relationship according between service duration and service load predicts the order of future time piece Pond maximum inventory, specifically includes:
Obtain the longest service duration in History Order;
According to the linear relationship between service duration and service load, the corresponding service people of the longest service duration is calculated Member's maximum load;
The product for calculating attendant's maximum load and current online attendant's quantity, obtains future time piece Order pond maximum inventory.
Optionally, the linear relationship according between service duration and service load calculates the longest service duration Corresponding attendant's maximum load, specifically includes:
Obtain the service duration and service load of History Order;
According to the service duration and service load, the Slope Parameters and intercept parameter of linear relationship are calculated;
By the maximum service duration multiplied by the intercept parameter is added after the Slope Parameters, attendant's maximum is obtained Load.
Optionally, maximum into single amount, the single amount of consumption, the first order storage, the second order storage and order pond according to described Storage calculates the adjustment ratio of service range under future time piece, specifically includes:
According to formula Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
The constraint condition of the formula includes Nt+1≤Nmax
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIndicate that current time piece starts When order pond the first order storage, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece, NmaxIndicate the order pond maximum inventory of future time piece.
A kind of device adjusting service range, described device include:
Predicting unit, according to History Order data, prediction predicts future time piece order pond according to History Order data Order increase and decrease amount;
Acquiring unit obtains the order storage in current time piece order pond;
Computing unit, according to the order of the order increase and decrease amount in the future time piece order pond and current time piece order pond Storage calculates the adjustment ratio of service range under future time piece;
Current service range is adjusted to the service range of the adjustment ratio by adjustment unit.
A kind of computer readable storage medium, the storage medium are stored with computer program, and the computer program is used In execution adjustment service range method described in any of the above embodiments.
A kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
The processor is configured to adjustment service range method described in any of the above embodiments.
The embodiment of the present application provides a kind of scheme for adjusting service range, passes through prediction future time piece order pond Order increase and decrease amount, compared with the order storage in current time piece order pond, in case of variable weather conditions, future time piece is ordered Single increase and decrease amount and current time piece order storage have otherness, can reflect weather according to the increase and decrease amount and order storage and dislike Bad degree, weather is more severe, and order storage is more, it is therefore desirable to less order disengaging, i.e., smaller service range.In this way, By the order increase and decrease amount of future time piece, the order storage of current time piece, service range under calculated future time piece Adjustment ratio, and then current service range is adjusted to the service range of the adjustment ratio.This sample loading mode, for different rings Border can calculate different adjustment ratios, so as to promoted adjustment after service range accuracy and practicability.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for adjustment service range shown in one exemplary embodiment of the application;
Fig. 2 is the schematic diagram of the service range adjustment front and back shown in one exemplary embodiment of the application;
Fig. 3 is a kind of hardware structure diagram of the device of adjustment service range shown in one exemplary embodiment of the application;
Fig. 4 is a kind of module diagram of the device of adjustment service range shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
The application can apply in various scenes of making house calls, such as the service of calling a taxi in trip scene, for example including The business such as express, special train, taxi;The business such as immediate distribution service, such as take-away, express delivery for example in logistics scene again;? Such as others are made house calls, such as cleaning, removal of home, equipment installation, maintenance, manicure etc..The application is not to specific Ground service content is defined.
Fig. 1 is a kind of method flow diagram of adjustment service range shown in one exemplary embodiment of the application, the method It can apply in the server (hereinafter referred to as server) of adjustment service range, this method can specifically include following step It is rapid:
Step 110: according to History Order data, predicting the order increase and decrease amount in future time piece order pond.
In one embodiment, the step 110, can specifically include:
According to History Order data, that predicts future time piece measures and consumes single amount into single.That is, the order Increase and decrease amount may include into single amount and the single amount of consumption.
Server can predict future time piece according to History Order data, based on preset rules, model or algorithm Into single amount and the single amount of consumption.
It is described to refer to the quantity on order newly increased in a timeslice into single amount.
The single amount of consumption can refer to the quantity on order completed in a timeslice.
The timeslice can be adjusted according to business demand, be substantially using certain time length as a timeslice, Such as can be every 30 minutes and be used as a timeslice, it is also possible to the durations conduct such as per hour, daily, weekly or monthly Timeslice.
In one embodiment, described according to History Order data, predict future time piece into single amount, specifically include:
Obtain a historical time piece into single amount and history into the variable quantity singly measured;
Calculate the historical time piece into single amount and history into the sum of the variable quantity singly measured, obtain future time piece into Dan Liang.
Wherein, the measuring into list for calculating future time piece can refer to following formula 1:
Future time piece into single amount=historical time piece into single amount+history into the variable quantity formula 1 singly measured
Wherein, one historical time piece may include a upper timeslice for current time piece;
The future time piece may include next timeslice of current time piece;
The history into the variable quantity singly measured may include with future time piece with the period historical time piece into singly measuring Variable quantity.The variable quantity refers to the difference between singly measuring of two timeslices.
It illustrates, it is assumed that current time piece is the 6th timeslice (6:00 AM to morning 7 points), then future time piece As the 7th timeslice (morning 7 points to morning 8 points);Correspondingly, history into the variable quantity singly measured can refer to first 1 day the 7th Timeslice is into the variable quantity singly measured;And preceding 1 day the 7th timeslice can refer to preceding 1 day the 6th timeslice into the variable quantity singly measured Into single amount and preceding 1 day the 7th timeslice into the difference singly measured.
Usually, the timeslice closer with current time piece, it is closer with the weather condition of future time piece.Therefore, Using the data of a upper timeslice for current time piece, the higher into the accuracy singly measured of future time piece is predicted.
In one embodiment, described according to History Order data, it predicts the consumption list amount of future time piece, specifically includes:
Obtain the consumption list amount of preset quantity historical time piece;
It calculates the preset quantity and consumes the average value singly measured, obtain the consumption list amount of future time piece.
In one implementation:
The average value that the preset quantity consumption is singly measured can refer to following formula 2:
Wherein, N indicates the quantity of historical time piece, FiIndicate the consumption list amount of i-th of timeslice.
Wherein, the historical time piece includes the preset quantity timeslice nearest apart from current time piece;
The future time piece includes next timeslice of current time piece.
Usually, the timeslice closer with current time piece, it is closer with the weather condition of future time piece.Therefore, Using the data of the nearest preset quantity timeslice of current time piece, the accuracy that the consumption of prediction future time piece is singly measured is more It is high.
The preset quantity can be a pre-set empirical value, usually can be according to business demand flexible setting.
In another embodiment, described to predict the consumption list amount of future time piece according to History Order data, it is specific to wrap It includes:
By the single consumption list measured as the future time piece of consumption with future time piece with the historical time piece of period Amount.
In order to make it easy to understand, please referring to following example with the historical time piece of period with future time piece:
Assuming that period where future time piece be in 1 day 6:00 AM to 7 points;So with the historical time piece of period As the daily 6:00 AM of history is to 7 points.
Optionally, it is described with future time piece with the historical time piece of period can refer to first 1 day it is same with future time piece The timeslice of period.For example, future time piece is 6:00 AM to 7 points, then it can be first 1 day with the historical time piece of period 6:00 AM is to 7 points.
Usually, since the timeslice of same period only has 1 daily, for example, timeslice of the 6:00 AM to 7 points, daily All only one.And when predicting the consumption list amount of future time piece, it will be comparatively pre- with currently closer historical time piece It is more reliable to survey result.Therefore, the data that can use preceding 1 day timeslice with future time piece with the period here, are predicted in this way Accuracy, the reliability that the consumption of future time piece is singly measured are higher.
Step 120: obtaining the order storage in current time piece order pond.
Wherein, the order storage refers to unfinished quantity on order.It is noted that order storage is with order volume Two different concepts.In general, order volume includes that order is completed also includes backlog;It is to be understood that order volume Include order storage.For example, the order volume of some timeslice is 10, wherein at the end of the timeslice, complete 5 Part, not completing is 5;So, the order storage of the timeslice is only 5;It can be seen that the relationship between order volume and order storage Can be include and by comprising relationship.
In one embodiment, the step 120, can specifically include:
Obtain the second order at the end of the first order storage when current time piece starts, and prediction current time piece Storage.
The first order storage when the current time piece starts, i.e. order at the end of a upper timeslice for current time piece The order storage not completed in pond.
The second order storage at the end of the current time piece, i.e. order when the future time piece of current time piece starts The order storage not completed in pond.
In one embodiment, the second order storage at the end of the prediction current time piece, specifically includes:
Measuring into single amount and consumption are single for current time piece can be predicted by foregoing manner, and then can be calculated second and be ordered Single storage.
It illustrates, it is assumed that the second order storage for needing to predict the 7th timeslice can predict the 6th timeslice first Into single amount and single amount is consumed, and then measures and consume single amount into single according to the 6th timeslice, calculates the second order of the 7th timeslice Storage.
Step 130: according to the order of the order increase and decrease amount in the future time piece order pond and current time piece order pond Storage calculates the adjustment ratio of service range under future time piece.
In one embodiment, the step 130, can specifically include:
According to described into single amount, the single amount of consumption, the first order storage and the second order storage, calculate and taken under future time piece The adjustment ratio for range of being engaged in.
Server, into single amount, the single amount of consumption, the first order storage and the second order storage, can calculate future according to described The adjustment ratio of service range under timeslice.
In one embodiment, it is calculated according to described into single amount, the single amount of consumption, the first order storage and the second order storage The adjustment ratio of service range under current time piece, specifically includes:
According to formula 3:Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIndicate that current time piece starts When order pond the first order storage, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece.
In one implementation, the Nt+1It can also be artificially preset based on certain experience or rule.
The range of adjustment ratio α may include (0,1).In general, influencing service ability when weather conditions are more severe and getting over Greatly, correspondingly service ability is more nervous, then needs using smaller service range, reflection is calculated tune in equation 3 Whole ratio α is smaller;Conversely, influencing service ability with regard to smaller, correspondingly service ability is not also tight when weather conditions improve , then slightly larger service range can be used, reflection is that calculated adjustment ratio α is bigger in equation 3.
In one embodiment, a variety of α can be provided previously, by bringing α into above-mentioned formula 3, formula is may be implemented in matching The α of establishment.
It is described that α is provided, it can be according to business demand or the pre-set empirical value of actual scene.
Step 140: current service range is adjusted to the service range of the adjustment ratio.
After calculating adjustment ratio, server can be according to the calculated adjustment ratio, by current clothes Business range is adjusted to the service range of the adjustment ratio.
Under normal conditions, be according to former service range central point be adjustment center, current service range is adjusted to The service range of the adjustment ratio.
For example, the service range that solid region domain representation as shown in Figure 2 is current, it is assumed that service range 10000, in Heart point is P point;When calculated adjustment ratio is 0.5;It can be then adjustment center according to central point P, will normally service model It encloses and is adjusted to 5000 by 10000, the service range that the dashed region i.e. shown in Fig. 2 of the service range after being adjusted indicates.
The embodiment of the present application provides a kind of scheme for adjusting service range, passes through prediction future time piece order pond Order increase and decrease amount, compared with the order storage in current time piece order pond, in case of variable weather conditions, future time piece is ordered Single increase and decrease amount and current time piece order storage have otherness, can reflect weather according to the increase and decrease amount and order storage and dislike Bad degree, weather is more severe, and order storage is more, it is therefore desirable to less order disengaging, i.e., smaller service range.In this way, By the order increase and decrease amount of future time piece, the order storage of current time piece, service range under calculated future time piece Adjustment ratio, and then current service range is adjusted to the service range of the adjustment ratio.This sample loading mode, for different rings Border can calculate different adjustment ratios, so as to promoted adjustment after service range accuracy and practicability.
In one embodiment, embodiment of the method shown in Fig. 1, wherein the step 110 can also include:
Step A: according to the linear relationship between service duration and service load, predict that the order pond of future time piece is maximum Storage.Can predict future time piece into single amount, the single amount of consumption and order pond maximum inventory.
Then, order increase and decrease amount and current time piece order pond of the step 130 according to the future time piece order pond Order storage, calculate future time piece under service range adjustment ratio, specifically include:
According to described into single amount, the single amount of consumption, the first order storage, the second order storage and order pond maximum inventory, meter Calculate the adjustment ratio of service range under future time piece.
The embodiment and a upper embodiment the difference is that, when calculating adjustment ratio, also used order pond maximum Storage.
In one embodiment, the step A, can specifically include:
Obtain the longest service duration in History Order;
According to the linear relationship between service duration and service load, the corresponding service people of the longest service duration is calculated Member's maximum load;
The product for calculating attendant's maximum load and current online attendant's quantity, obtains future time piece Order pond maximum inventory.
Wherein, the service load can refer to attendant's loading condition.For example, it is assumed that attendant's maximum load is 5 orders are dispensed simultaneously, and when the quantity on order dispensed is 3, service load is 60% (i.e. 3 divided by 5), if just It is 5 in the quantity on order of dispatching, then service load is 100%.
In practical applications, there are good linear relationships between order placement service duration and service load.Therefore, Ke Yigen According to the linear relationship between service duration and service load, it is negative to calculate the corresponding attendant's maximum of the longest service duration It carries, specifically includes:
Obtain the service duration and service load of History Order;
According to the service duration and service load, the Slope Parameters and intercept parameter of linear relationship are calculated;
By the maximum service duration multiplied by the intercept parameter is added after the Slope Parameters, attendant's maximum is obtained Load.
Wherein, the linear relationship between service duration and service load can be expressed as formula 4:
L=k*T+b formula 4
Wherein, L can indicate that service load, T can indicate that service duration, k can indicate that the slope in linear relationship is joined Number, b can indicate the intercept parameter in linear relationship.
Getting the longest service duration T in History OrdermaxAfterwards, most according to the available attendant of above-mentioned formula 4 Heavy load Lmax=k*Tmax+b。
Further, it is assumed that all online attendants (quantity R) are in maximum load, then order total at this time Amount is Lmax*R.Since all online attendants are in maximum load, new order can not be received again, therefore can recognize It is L for total order volumemax* R is order pond maximum inventory.
So order pond maximum inventory Nmax=Lmax*R。
In one embodiment, according to described into single amount, the single amount of consumption, the first order storage, the second order storage and order Pond maximum inventory calculates the adjustment ratio of service range under future time piece, specifically includes:
According to formula 3:Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
The constraint condition of the formula includes Nt+1≤Nmax
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIndicate that current time piece starts When order pond the first order storage, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece, NmaxIndicate the order pond maximum inventory of future time piece.
Above-mentioned constraint condition limits the order storage of the future time piece of prediction and can exceed that order pond maximum inventory.
It is noted that illustrating to take under future time piece when the calculated adjustment ratio α of above-mentioned formula 3 is equal to 1 Business range is normal service range, and the case where adverse weather conditions service ability has disappeared under future time piece Current service range is reverted to normal service range.In this way, caused by can reduce due to adjustment service range Order volume loss.
In one embodiment, the trigger condition that triggering executes the embodiment of the present application can also be set.
In general, when bad weather occurs, server be can be performed automatically, and can also be executed according to manual command.
In one implementation, server can obtain weather conditions from third party's weather service, work as weather conditions When meeting bad weather, automatic trigger executes the embodiment of the present application.The bad weather can be it is preset, such as can be with Including raining, snowing, high temperature, severe cold etc..
In one implementation, service platform staff can judge whether need according to local actual weather conditions The application is executed, if staff is artificial current or future is it is possible that bad weather, can send out to server The instruction for executing the application is sent, so that control server executes the embodiment of the present application.
In one embodiment, above-mentioned triggering mode is also provided with duration.
For example, can be up to opening timing device when timer record when triggering executes the embodiment of the present application To after the duration, so that it may the service range of adjustment are restored to normal service range automatically.When here lasting It is long to can be an artificial preset empirical value.
In one embodiment, above-mentioned triggering executes the mode of the embodiment of the present application, it is also necessary to which general headquarters are audited.
In general, service range needed for triggering for each region application is asked in order to guarantee service platform overall interests It asks, general headquarters can be audited, when examining department of general headquarters examination and determination application region is really since special circumstances need to adjust clothes When range of being engaged in, it just can permit application region and execute the embodiment of the present application;When examining department of general headquarters examination and determination application region not When the condition for adjusting service range that suits the requirements, then applies for that region is interrupted and execute the embodiment of the present application, that is, adjust current service Range.
In one embodiment, above-described embodiment can be periodically carried out, so as to adjust the big of service range in time It is small.
Assuming that the period is set as 30 minutes, then server every 30 minutes can calculate service range under future time piece Adjustment ratio, and then according to new adjustment ratio, the service range in a upper period is adjusted.
Corresponding with the aforementioned adjustment embodiment of method of service range, present invention also provides the dresses of adjustment service range The embodiment set.
The embodiment that the application adjusts the device of service range can be using on the server.Installation practice can pass through Software realization can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, it anticipates as a logic Device in justice is that computer program instructions corresponding in nonvolatile memory are read memory by processor where it What middle operation was formed.For hardware view, as shown in figure 3, one kind where adjusting the device of service range for the application is hard Part structure chart leads in embodiment other than processor shown in Fig. 3, memory, network interface and nonvolatile memory Often according to the actual functional capability of the adjustment service range, it can also include other hardware, this is repeated no more.
Referring to FIG. 4, in a kind of Software Implementation, the device of the adjustment service range may include:
Predicting unit 410, according to History Order data, prediction predicts future time piece order according to History Order data The order increase and decrease amount in pond;
Acquiring unit 420 obtains the order storage in current time piece order pond;
Computing unit 430, according to the order increase and decrease amount in the future time piece order pond and current time piece order pond Order storage calculates the adjustment ratio of service range under future time piece;
Current service range is adjusted to the service range of the adjustment ratio by adjustment unit 440.
In an optional embodiment:
The predicting unit 410, specifically includes:
Predict subelement, according to History Order data, that predicts future time piece measures and consume single amount into single.
In an optional embodiment:
The prediction subelement, specifically includes:
Obtain a historical time piece into single amount and history into the variable quantity singly measured;
Calculate the historical time piece into single amount and history into the sum of the variable quantity singly measured, obtain future time piece into Dan Liang.
In an optional embodiment:
One historical time piece includes a upper timeslice for current time piece;
The future time piece includes next timeslice of current time piece.
In an optional embodiment:
The prediction subelement, specifically includes:
By the single consumption list measured as the future time piece of consumption with future time piece with the historical time piece of period Amount.
In an optional embodiment:
Described and future time piece includes the first 1 day time with future time piece with the period with the historical time piece of period Piece;
The future time piece includes next timeslice of current time piece.
In an optional embodiment:
The acquiring unit 420, specifically includes:
Obtain the second order at the end of the first order storage when current time piece starts, and prediction current time piece Storage.
In an optional embodiment:
The computing unit 430, specifically includes:
Ratio computing unit is calculated according to described into single amount, the single amount of consumption, the first order storage and the second order storage The adjustment ratio of service range under current time piece.
In an optional embodiment:
The ratio computing unit, specifically includes:
According to formula Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIndicate that current time piece starts When order pond the first order storage, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece.
In an optional embodiment:
Described device further include:
Storage predicting unit predicts ordering for future time piece according to the linear relationship between service duration and service load Single pond maximum inventory;
The ratio computing unit, specifically includes:
Computation subunit, according to described into single amount, the single amount of consumption, the first order storage, the second order storage and order pond Maximum inventory calculates the adjustment ratio of service range under future time piece.
In an optional embodiment:
The storage predicting unit, specifically includes:
Duration obtains subelement, obtains the longest service duration in History Order;
It loads computation subunit and the longest service is calculated according to the linear relationship between service duration and service load The corresponding attendant's maximum load of duration;
Storage computation subunit calculates multiplying for attendant's maximum load and current online attendant's quantity Product, obtains the order pond maximum inventory of future time piece.
In an optional embodiment:
The load computation subunit, specifically includes:
Obtain the service duration and service load of History Order;
According to the service duration and service load, the Slope Parameters and intercept parameter of linear relationship are calculated;
By the maximum service duration multiplied by the intercept parameter is added after the Slope Parameters, attendant's maximum is obtained Load.
In an optional embodiment:
According to computation subunit, specifically include:
According to formula Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
The constraint condition of the formula includes Nt+1≤Nmax
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIndicate that current time piece starts When order pond the first order storage, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece, NmaxIndicate the order pond maximum inventory of future time piece.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Figure 4 above describes inner function module and the structural representation of business monitoring device, substantial executing subject It can be a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
According to History Order data, the order increase and decrease amount in future time piece order pond is predicted;
Obtain the order storage in current time piece order pond;
According to the order storage of the order increase and decrease amount in the future time piece order pond and current time piece order pond, calculate The adjustment ratio of service range under future time piece;
Current service range is adjusted to the service range of the adjustment ratio.
Optionally, described to predict the order increase and decrease amount in future time piece order pond according to History Order data, it is specific to wrap It includes:
According to History Order data, that predicts future time piece measures and consumes single amount into single.
Optionally, described according to History Order data, predict future time piece into single amount, specifically include:
Obtain a historical time piece into single amount and history into the variable quantity singly measured;
Calculate the historical time piece into single amount and history into the sum of the variable quantity singly measured, obtain future time piece into Dan Liang.
Optionally, one historical time piece includes a upper timeslice for current time piece;
The future time piece includes next timeslice of current time piece.
Optionally, described according to History Order data, it predicts the consumption list amount of future time piece, specifically includes:
By the single consumption list measured as the future time piece of consumption with future time piece with the historical time piece of period Amount.
Optionally, described and future time piece includes first 1 day and future time piece same period with the historical time piece of period Timeslice;
The future time piece includes next timeslice of current time piece.
Optionally, the order storage for obtaining current time piece order pond, specifically includes:
Obtain the second order at the end of the first order storage when current time piece starts, and prediction current time piece Storage.
Optionally, it is deposited according to the order of the order increase and decrease amount in the future time piece order pond and current time piece order pond Amount calculates the adjustment ratio of service range under future time piece, specifically includes:
According to described into single amount, the single amount of consumption, the first order storage and the second order storage, calculate and taken under current time piece The adjustment ratio for range of being engaged in.
Optionally, according to described into single amount, the single amount of consumption, the first order storage and the second order storage, when calculating current Between under piece service range adjustment ratio, specifically include:
According to formula Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIndicate that current time piece starts When order pond the first order storage, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece.
Optionally, described according to History Order data, predict the order increase and decrease amount in future time piece order pond, further includes:
According to the linear relationship between service duration and service load, the order pond maximum inventory of future time piece is predicted;
It is described according to the order increase and decrease amount in the future time piece order pond and the order storage in current time piece order pond, The adjustment ratio for calculating service range under future time piece, specifically includes:
According to described into single amount, the single amount of consumption, the first order storage, the second order storage and order pond maximum inventory, meter Calculate the adjustment ratio of service range under future time piece.
Optionally, the linear relationship according between service duration and service load predicts the order of future time piece Pond maximum inventory, specifically includes:
Obtain the longest service duration in History Order;
According to the linear relationship between service duration and service load, the corresponding service people of the longest service duration is calculated Member's maximum load;
The product for calculating attendant's maximum load and current online attendant's quantity, obtains future time piece Order pond maximum inventory.
Optionally, the linear relationship according between service duration and service load calculates the longest service duration Corresponding attendant's maximum load, specifically includes:
Obtain the service duration and service load of History Order;
According to the service duration and service load, the Slope Parameters and intercept parameter of linear relationship are calculated;
By the maximum service duration multiplied by the intercept parameter is added after the Slope Parameters, attendant's maximum is obtained Load.
Optionally, maximum into single amount, the single amount of consumption, the first order storage, the second order storage and order pond according to described Storage calculates the adjustment ratio of service range under future time piece, specifically includes:
According to formula Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
The constraint condition of the formula includes Nt+1≤Nmax
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIndicate that current time piece starts When order pond the first order storage, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece, NmaxIndicate the order pond maximum inventory of future time piece.
In the embodiment of above-mentioned electronic equipment, it should be appreciated that the processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc., and memory above-mentioned can be read-only memory (English: read-only memory, abbreviation: ROM), random access memory (English: random access memory, abbreviation: RAM), flash memory, hard disk or solid State hard disk.The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and execute completion, or Hardware and software module combination in person's processor execute completion.
Various embodiments are described in a progressive manner in the application, same and similar part between each embodiment It may refer to each other, each embodiment focuses on the differences from other embodiments.Especially for electronic equipment For embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is implemented referring to method The part explanation of example.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (16)

1. a kind of method for adjusting service range, which is characterized in that the described method includes:
According to History Order data, the order increase and decrease amount in future time piece order pond is predicted;
Obtain the order storage in current time piece order pond;
According to the order storage of the order increase and decrease amount in the future time piece order pond and current time piece order pond, future is calculated The adjustment ratio of service range under timeslice;
Current service range is adjusted to the service range of the adjustment ratio.
2. the method according to claim 1, wherein described according to History Order data, prediction future time piece The order increase and decrease amount in order pond, specifically includes:
According to History Order data, that predicts future time piece measures and consumes single amount into single.
3. according to the method described in claim 2, it is characterized in that, described according to History Order data, prediction future time piece Into single amount, specifically include:
Obtain a historical time piece into single amount and history into the variable quantity singly measured;
Calculate the historical time piece into single amount and history into the sum of the variable quantity singly measured, obtain future time piece into list Amount.
4. according to the method described in claim 3, it is characterized in that, one historical time piece includes the upper of current time piece One timeslice;
The future time piece includes next timeslice of current time piece.
5. according to the method described in claim 2, it is characterized in that, described according to History Order data, prediction future time piece Consumption list amount, specifically include:
By the single consumption list amount measured as the future time piece of consumption with future time piece with the historical time piece of period.
6. according to the method described in claim 5, it is characterized in that, it is described with future time piece with the historical time piece packet of period Include the first 1 day timeslice with future time piece with the period;
The future time piece includes next timeslice of current time piece.
7. according to the method described in claim 2, it is characterized in that, it is described obtain current time piece order pond order storage, It specifically includes:
The first order storage when current time piece starts is obtained, and predicts that the second order at the end of current time piece is deposited Amount.
8. the method according to the description of claim 7 is characterized in that according to the order increase and decrease amount in the future time piece order pond With the order storage in current time piece order pond, the adjustment ratio of service range under future time piece is calculated, is specifically included:
According to described into single amount, the single amount of consumption, the first order storage and the second order storage, calculate and service model under current time piece The adjustment ratio enclosed.
9. according to the method described in claim 8, it is characterized in that, according to described into single amount, the single amount of consumption, the first order storage With the second order storage, the adjustment ratio of service range under current time piece is calculated, is specifically included:
According to formula Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIt indicates to order when current time piece starts The first order storage in single pond, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece.
10. the method according to the description of claim 7 is characterized in that described according to History Order data, prediction future time piece The order increase and decrease amount in order pond, further includes:
According to the linear relationship between service duration and service load, the order pond maximum inventory of future time piece is predicted;
It is described according to the order increase and decrease amount in the future time piece order pond and the order storage in current time piece order pond, calculate The adjustment ratio of service range under future time piece, specifically includes:
According to described into single amount, the single amount of consumption, the first order storage, the second order storage and order pond maximum inventory, calculate not Carry out the adjustment ratio of service range under timeslice.
11. according to the method described in claim 10, it is characterized in that, the line according between service duration and service load Sexual intercourse is predicted the order pond maximum inventory of future time piece, is specifically included:
Obtain the longest service duration in History Order;
According to the linear relationship between service duration and service load, the corresponding attendant of the longest service duration is calculated most Heavy load;
The product for calculating attendant's maximum load and current online attendant's quantity, obtains ordering for future time piece Single pond maximum inventory.
12. according to the method for claim 11, which is characterized in that the line according between service duration and service load Sexual intercourse calculates the corresponding attendant's maximum load of the longest service duration, specifically includes:
Obtain the service duration and service load of History Order;
According to the service duration and service load, the Slope Parameters and intercept parameter of linear relationship are calculated;
By the maximum service duration multiplied by the intercept parameter is added after the Slope Parameters, it is negative to obtain attendant's maximum It carries.
13. according to the method described in claim 10, it is characterized in that, being deposited according to described into single amount, the single amount of consumption, the first order Amount, the second order storage and order pond maximum inventory calculate the adjustment ratio of service range under future time piece, specifically include:
According to formula Nt+1=Ut+α*INt+Ft, acquire adjustment ratio α;
The constraint condition of the formula includes Nt+1≤Nmax
Wherein, Nt+1The second order storage in order pond, U at the end of expression current time piecetIt indicates to order when current time piece starts The first order storage in single pond, INtIndicate future time piece into single amount;FtIndicate the consumption list amount of future time piece, NmaxTable Show the order pond maximum inventory of future time piece.
14. a kind of device for adjusting service range, which is characterized in that described device includes:
Predicting unit, according to History Order data, prediction predicts the order in future time piece order pond according to History Order data Increase and decrease amount;
Acquiring unit obtains the order storage in current time piece order pond;
Computing unit is deposited according to the order of the order increase and decrease amount in the future time piece order pond and current time piece order pond Amount calculates the adjustment ratio of service range under future time piece;
Current service range is adjusted to the service range of the adjustment ratio by adjustment unit.
15. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program is for executing method described in any one of the claims 1-13.
16. a kind of electronic equipment characterized by comprising
Processor;
Memory for storage processor executable instruction;
The processor is configured to method described in any one of the claims 1-13.
CN201811109276.8A 2018-09-21 2018-09-21 A kind of method and device adjusting service range Pending CN109345299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811109276.8A CN109345299A (en) 2018-09-21 2018-09-21 A kind of method and device adjusting service range

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811109276.8A CN109345299A (en) 2018-09-21 2018-09-21 A kind of method and device adjusting service range

Publications (1)

Publication Number Publication Date
CN109345299A true CN109345299A (en) 2019-02-15

Family

ID=65305978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811109276.8A Pending CN109345299A (en) 2018-09-21 2018-09-21 A kind of method and device adjusting service range

Country Status (1)

Country Link
CN (1) CN109345299A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110322167A (en) * 2019-07-11 2019-10-11 拉扎斯网络科技(上海)有限公司 A kind of information processing method, device, storage medium and electronic equipment
CN111598425A (en) * 2020-05-08 2020-08-28 拉扎斯网络科技(上海)有限公司 Order flow control method and device
CN113421140A (en) * 2020-05-11 2021-09-21 阿里巴巴集团控股有限公司 Order processing method, device and system and electronic equipment
CN113553500A (en) * 2021-06-29 2021-10-26 北京三快在线科技有限公司 Merchant information recommendation method and device, electronic equipment and storage medium
CN114096973A (en) * 2020-03-06 2022-02-25 格步计程车控股私人有限公司 Demand notification apparatus, computing apparatus, and demand notification method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110322167A (en) * 2019-07-11 2019-10-11 拉扎斯网络科技(上海)有限公司 A kind of information processing method, device, storage medium and electronic equipment
CN110322167B (en) * 2019-07-11 2022-07-08 拉扎斯网络科技(上海)有限公司 Information processing method and device, storage medium and electronic equipment
CN114096973A (en) * 2020-03-06 2022-02-25 格步计程车控股私人有限公司 Demand notification apparatus, computing apparatus, and demand notification method
CN111598425A (en) * 2020-05-08 2020-08-28 拉扎斯网络科技(上海)有限公司 Order flow control method and device
CN113421140A (en) * 2020-05-11 2021-09-21 阿里巴巴集团控股有限公司 Order processing method, device and system and electronic equipment
CN113553500A (en) * 2021-06-29 2021-10-26 北京三快在线科技有限公司 Merchant information recommendation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109345299A (en) A kind of method and device adjusting service range
WO2019184583A1 (en) Activity content push method based on electronic book, and electronic device
CN103971170B (en) The method and apparatus that a kind of change being used for characteristic information is predicted
CN108243246A (en) A kind of edge calculations resource regulating method, edge device and system
WO2015149549A1 (en) Recharge method, recharge terminal and recharge server
CN111429048A (en) Method, device and equipment for determining replenishment information
US9230269B2 (en) Segment-based floors for use in online ad auctioning techniques
CN108303911A (en) Intelligent electric cooker, the cooking instruction recommendation method of intelligent electric cooker and medium
CN109359217A (en) A kind of user interest degree calculation method, server and readable storage medium storing program for executing
CN105337783B (en) Monitor the method and device of communication equipment non-normal consumption flow
CN109003011A (en) The distribution method and device of delivery service resource, electronic equipment
CN112651834A (en) Fund data processing method, device, system, computer equipment and storage medium
JP2015130045A (en) Charge presentation device and charge presentation system
CN108932627A (en) Predictor method, device and the readable storage medium storing program for executing of the depletion rate of CPA advertisement
JP5606214B2 (en) Automatic power trading system
US20160379296A1 (en) Method and apparatus for algorithmic control of the acceptance of orders by an e-commerce enterprise
CN116777518A (en) Transaction management method, device, storage medium and equipment
CN107613325A (en) Advertisement delivery method and device
CN111475251A (en) Cluster container scheduling method, system, terminal and storage medium
JP2018055650A (en) Power demand prediction system, power demand prediction method and power demand prediction program
CN112669091B (en) Data processing method, device and storage medium
US20140276243A1 (en) Behavioral risk analyzer and application that estimates the risk of performing undesired behavior
JP6332291B2 (en) Power consumption management device and power consumption management program
CN112819266B (en) Distribution parameter adjusting method and device, storage medium and electronic equipment
CN110443654A (en) User's off-network interference method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination