CN113537669B - Object processing method and device - Google Patents
Object processing method and device Download PDFInfo
- Publication number
- CN113537669B CN113537669B CN202010305248.4A CN202010305248A CN113537669B CN 113537669 B CN113537669 B CN 113537669B CN 202010305248 A CN202010305248 A CN 202010305248A CN 113537669 B CN113537669 B CN 113537669B
- Authority
- CN
- China
- Prior art keywords
- capacity
- information
- order information
- rule
- strategy
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 238000004519 manufacturing process Methods 0.000 claims abstract description 74
- 238000012545 processing Methods 0.000 claims abstract description 61
- 238000000034 method Methods 0.000 claims abstract description 32
- 238000003860 storage Methods 0.000 claims description 10
- 230000000875 corresponding effect Effects 0.000 description 53
- 238000013461 design Methods 0.000 description 20
- 230000000694 effects Effects 0.000 description 20
- 230000001737 promoting effect Effects 0.000 description 19
- 230000008569 process Effects 0.000 description 8
- 238000009826 distribution Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000002829 reductive effect Effects 0.000 description 3
- 238000010200 validation analysis Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000670 limiting effect Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000002354 daily effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06315—Needs-based resource requirements planning or 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)
- General Factory Administration (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the application provides an object processing method and device, wherein the method comprises the following steps: and acquiring order information, and matching the first capacity strategy according to the order information. And acquiring residual capacity information according to the first capacity strategy. And sending indication information to the production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information. The corresponding capacity strategy is obtained according to the order information, so that the capacity can be allocated to part of commodities in a targeted mode, the balance processing of each order can be guaranteed according to actual requirements, and the processing efficiency of the order is effectively improved.
Description
Technical Field
Embodiments of the present application relate to computer technologies, and in particular, to a method and an apparatus for processing an object.
Background
With the continuous development of the internet, users have become a very important shopping way to acquire required items through a network.
At present, under the condition that the number of orders is very large, the production and distribution of the orders are generally controlled according to the total number of the orders, for example, the capacity can be configured according to the date, the orders occupy the capacity according to the sequence, and under the condition that the capacity on the current date is full, the rest orders can only be processed and distributed in a postponed mode.
However, if all orders occupy the capacity according to the order, the processing efficiency of part of the orders is low.
Disclosure of Invention
The embodiment of the application provides an object processing method and device, which are used for solving the problem of low processing efficiency of partial orders.
In a first aspect, an embodiment of the present application provides an object processing method, including:
Acquiring order information, and matching a first capacity strategy according to the order information;
obtaining residual capacity information according to the first capacity strategy;
And sending indication information to a production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information.
In one possible design, the order information includes a first identification;
the matching the first capacity strategy according to the order information comprises the following steps:
according to the first identification of the order information, searching the productivity rule corresponding to the first identification in a cache pool;
Acquiring a capacity strategy corresponding to the capacity rule, and judging whether time information in the capacity strategy meets preset conditions or not;
and if yes, determining the capacity strategy corresponding to the capacity rule as a first capacity strategy.
In one possible design, the time information includes an effective time and a dead time, and the preset condition is: the current time is within the time range of the effective time and the failure time.
In one possible design, before the acquiring the order information and matching the first capacity policy according to the order information, the method further includes:
At least one capacity rule is configured according to a preset dimension, and a capacity strategy of each capacity rule is configured.
In one possible design, sending indication information to a production system according to the remaining capacity information and the order information includes:
acquiring order quantity according to the order information, and acquiring residual capacity according to the residual capacity information;
If the current residual capacity is 0, acquiring a first time when the residual capacity is not 0, and sending the first time to the production system;
And if the current residual capacity is not 0, processing the order information according to the residual capacity information, and sending the current time to the production system.
In one possible design, the processing the order information according to the remaining capacity information includes:
the order information is sent to a production system to produce an order corresponding to the order information;
and updating the residual capacity in the residual capacity information in the cache pool.
In one possible design, the obtaining remaining capacity information according to the first capacity policy includes:
accessing the cache pool according to the first capacity policy;
And acquiring residual capacity information corresponding to the first capacity strategy from the cache pool.
In a second aspect, an embodiment of the present application provides an object processing apparatus, including:
the acquisition module is used for acquiring order information and matching a first capacity strategy according to the order information;
the acquisition module is further used for acquiring residual capacity information according to the first capacity strategy;
And the sending module is used for sending indication information to a production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information.
In one possible design, the order information includes a first identification;
The acquisition module is further configured to:
according to the first identification of the order information, searching the productivity rule corresponding to the first identification in a cache pool;
Acquiring a capacity strategy corresponding to the capacity rule, and judging whether time information in the capacity strategy meets preset conditions or not;
and if yes, determining the capacity strategy corresponding to the capacity rule as a first capacity strategy.
In one possible design, the time information includes an effective time and a dead time, and the preset condition is: the current time is within the time range of the effective time and the failure time.
In one possible design, the apparatus further comprises: a processing module;
The processing module is configured to, before the order information is obtained and the first capacity policy is matched according to the order information, configure at least one capacity rule according to a preset dimension, and configure a capacity policy of each capacity rule.
In one possible design, the transmitting module is specifically configured to:
acquiring order quantity according to the order information, and acquiring residual capacity according to the residual capacity information;
If the current residual capacity is 0, acquiring a first time when the residual capacity is not 0, and sending the first time to the production system;
And if the current residual capacity is not 0, processing the order information according to the residual capacity information, and sending the current time to the production system.
In one possible design, the processing module is further configured to:
the order information is sent to a production system to produce an order corresponding to the order information;
and updating the residual capacity in the residual capacity information in the cache pool.
In one possible design, the acquisition module is specifically configured to:
accessing the cache pool according to the first capacity policy;
And acquiring residual capacity information corresponding to the first capacity strategy from the cache pool.
In a third aspect, an embodiment of the present application provides an object processing apparatus, including:
A memory for storing a program;
A processor for executing the program stored by the memory, the processor being adapted to perform the method of the first aspect and any of the various possible designs of the first aspect as described above when the program is executed.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect above and any of the various possible designs of the first aspect.
The embodiment of the application provides an object processing method and device, wherein the method comprises the following steps: and acquiring order information, and matching the first capacity strategy according to the order information. And acquiring residual capacity information according to the first capacity strategy. And sending indication information to the production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information. The corresponding capacity strategy is obtained according to the order information, so that the capacity can be allocated to part of commodities in a targeted mode, the balance processing of each order can be guaranteed according to actual requirements, and the processing efficiency of the order is effectively improved.
Drawings
FIG. 1 is a system architecture diagram of an object processing method according to an embodiment of the present application;
FIG. 2 is a flowchart of an object processing method according to an embodiment of the present application;
FIG. 3 is a flowchart of an object processing method according to another embodiment of the present application;
FIG. 4 is a flowchart of an object processing method according to another embodiment of the present application;
FIG. 5 is an interactive flowchart of an object processing method according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of an object processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic hardware structure of an object processing device according to an embodiment of the present application.
Detailed Description
Before describing the object processing method provided by the application, the background technology related to the application is first described in further detail.
With the continuous development of the internet, a user has become a very important shopping way to acquire required articles through a network, and along with the gradual maturity of the electronic commerce industry, the number of online orders is also increased, however, the current capability of producing and distributing the orders cannot meet the requirement of producing and distributing the orders.
In the implementation of the prior art, the production and distribution of orders are generally controlled according to the total number of orders, for example, the capacity can be configured according to the date, in one possible implementation, for example, the capacity of each day is configured to be 1000, which means that the production system can process 1000 orders each day, wherein the orders occupy the capacity in order, that is, the first-generated order occupies the capacity, and in the case that the 1000 capacity of the current date is already full, the remaining orders can only be processed and distributed after that, that is, occupy the capacity of the second day, and in the case that the capacity of the second day is also full, occupy the capacity of the third day, and so on.
However, orders of certain special commodities need to be processed preferentially, such as commodities with a short shelf life, or commodities which are required to be distributed urgently at present, if the special commodities occupy the production capacity in sequence, the orders corresponding to the commodities are delayed and cannot be distributed preferentially, so that the processing efficiency of the orders is low, for example, the existing mask is the commodity which is required to be distributed urgently, the orders of the mask should be processed preferentially, however, if the orders comprising the mask and the rest of the orders occupy the production capacity in sequence, the orders of the mask cannot be processed in a wired mode.
That is, in the implementation manner of the prior art, if all orders occupy the production energy according to the sequence, the processing efficiency of part of the orders is low.
Meanwhile, at present, in the running process of the electronic commerce platform, some sales promotion activities can be provided, and due to some condition limitations of sales promotion activities of different commodities, such as time difference, coupon use limitation and the like, commodities purchased by the same user correspond to a plurality of orders, so that production and distribution of the orders are required to be carried out for the same user for a plurality of times, the cost of system production and distribution is increased, and meanwhile, the processing efficiency of the orders is reduced.
Based on the above-described problems in the prior art, the present application proposes the following technical concept: and setting independent capacity rules and capacity strategies respectively aiming at different dimensionalities of commodities, activities, merchants and the like, so that the order is ensured to be processed according to the independently set capacity strategies, and the processing efficiency of the order can be effectively improved.
On the basis of the above embodiments, the following describes the object processing method provided by the present application in detail, and first, a system architecture related to the present application is briefly described with reference to fig. 1. Fig. 1 is a system architecture diagram of an object processing method according to an embodiment of the present application, as shown in fig. 1:
The capacity allocation management unit may allocate capacity rules and capacity policies, and in this embodiment, the capacity allocation management unit may store the allocated capacity rules and capacity policies in a capacity rule cache unit, and may also store the configured capacity rules and capacity policies in a database, where the capacity rule cache unit may be a cache pool, and it may be understood that the time stored in the database is poor, and the time stored in the capacity rule cache unit is short.
And the flow engine unit can match the corresponding capacity rules and capacity strategies according to the order information, and determine the processing mode of the order according to the matched capacity rules and capacity strategies, so that response indication information, such as order suspension processing indication information or order processing indication information, can be sent to the application system.
The following describes the object processing method provided in the present application in detail with reference to fig. 2, and fig. 2 is a flowchart of the object processing method provided in one embodiment of the present application, as shown in fig. 2, where the method includes:
s201, order information is acquired, and a first capacity strategy is matched according to the order information.
In this embodiment, the order information includes relevant data of the order, which may include, for example, order placing time, commodity identifier, commodity category, corresponding activity identifier, order number, etc., and the specific implementation of the order information is not particularly limited in this embodiment, and may include, for example, information such as delivery address, designated express, etc. according to actual requirements.
And, the first capacity policy in this embodiment is used to indicate configuration information of a capacity rule, where the capacity rule is used to indicate a capacity quantity configured for a preset dimension, and the preset dimension may be, for example, a commodity category, an activity, a merchant, etc., and for example, a certain capacity rule may be: the capacity per day is set to 100 for commodity a, and the implementation of the remaining dimensions is similar.
In one possible implementation, the capacity policy may indicate, for example, information of exclusivity, priority, validation time, failure time, etc. of the capacity rule, where exclusivity includes two implementations of "non-exclusivity" and "exclusivity"; meanwhile, the capacity policy may further include other information according to actual requirements, for example, whether to limit the capacity amount, not limit the capacity amount, or how much the maximum capacity amount is set may be set, and the specific implementation manner of the capacity policy is not limited in this embodiment, so long as the capacity policy can be used to indicate configuration information of the capacity rule.
The following illustrates, for example, that the capacity rule a is currently set to: the capacity allocated for commodity a for each day of warehouse 1 is 100, which indicates that warehouse 1 can process 100 orders including commodity a for each day.
And, assuming that a capacity policy a is further set for the capacity rule a, where the capacity policy a may indicate that the exclusivity of the capacity rule a is "non-exclusive", that is, that all orders including the commodity a are processed according to the capacity rule a, for example, may indicate that the priority of the capacity rule a is 1 (for example, may be the highest priority), may also indicate the effective time and the dead time of the capacity rule a, and may also indicate the remaining information, which is not repeated for the remaining implementation manners in this embodiment.
In this embodiment, the first capacity policy needs to be matched according to the order information, in one possible implementation manner, the corresponding capacity rule may be matched first according to the order information, for example, matching may be performed according to the commodity identifier in the order information and the commodity identifier included in the capacity rule, so as to match the corresponding capacity rule, and then the capacity policy corresponding to the capacity rule is obtained, so as to match the first capacity policy.
Or, a mapping relationship between the order information and the capacity policy may be preset, so that the corresponding first capacity policy may be matched according to the order information, which is not particularly limited in this embodiment.
S202, order information is acquired, and a first capacity strategy is matched according to the order information.
In this embodiment, the remaining capacity information is used to indicate the capacity currently available for producing the order, where the first capacity strategy may correspond to the remaining capacity information for the current order information.
In one possible implementation, for each capacity policy, a capacity pool may be pre-established, where the capacity pool is used to indicate remaining capacity information, and the capacity pool may be stored in a cache pool as shown in fig. 1, for example.
Assuming that the above example is continued, the capacity rule a corresponding to the current first capacity policy is: the warehouse 1 has a capacity of 100 configured for commodity a every day, and assuming that the warehouse 1 has already produced 60 orders including commodity a today, the remaining capacity information corresponding to commodity a is 40 in the capacity pool corresponding to the current first capacity policy.
Or the first counter corresponding to the first capacity policy may also be obtained, where the first counter is used to indicate the remaining capacity information corresponding to the first capacity policy, and the specific implementation manner of obtaining the remaining capacity information is not particularly limited in this embodiment, and may be selected according to actual needs.
And S203, sending indication information to the production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information.
After the remaining capacity information is obtained, it may be determined whether the current order information can be processed, thereby transmitting indication information to the production system, wherein the indication information is used for indicating the time of processing the order information.
In one possible implementation, the order quantity may be obtained according to order information, and the remaining capacity may be obtained according to remaining capacity information;
If the current remaining capacity is 0, it indicates that no capacity is available for producing the current order on the same day, a first time with the remaining capacity not being 0 is obtained and sent to the production system, where the first time may be, for example, a second day, a third day, etc. relative to the current time, which is not limited in this embodiment.
In this embodiment, after a first time is sent to the production system, the production system processes the order at the first time.
In one possible implementation manner, after the first time when the remaining capacity is not 0 is acquired, the capacity of the first time can be occupied according to the number of orders, so as to ensure that the processing of the order information can be realized at the first time.
If the current surplus capacity is not 0, the fact that the surplus capacity can be used for producing the current order is indicated, order information is processed according to the surplus capacity information, the current time is sent to the production system, and after the current time is sent to the production system, the production system can be indicated to produce the current order.
In the process of processing order information according to the residual capacity information, if the residual capacity can process the current order information, the production system is directly informed of processing; if the current capacity is insufficient to process the current order information, a part of the order may be processed according to the current remaining capacity, and then the remaining order may be processed according to the capacity of the next day until the current order is processed.
The object processing method provided by the embodiment of the application comprises the following steps: and acquiring order information, and matching the first capacity strategy according to the order information. And acquiring residual capacity information according to the first capacity strategy. And sending indication information to the production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information. The corresponding capacity strategy is obtained according to the order information, so that the capacity can be allocated to part of commodities in a targeted mode, the balance processing of each order can be guaranteed according to actual requirements, and the processing efficiency of the order is effectively improved.
On the basis of the above embodiment, the following further details of the object processing method according to the embodiment of the present application are set forth in conjunction with fig. 3 and fig. 4, fig. 3 is a flowchart of an object processing method according to another embodiment of the present application, and fig. 4 is a schematic flowchart of an object processing method according to another embodiment of the present application, as shown in fig. 3, where the method includes:
s301, configuring at least one capacity rule according to a preset dimension, and configuring a capacity strategy of each capacity rule.
In this embodiment, the preset dimension may be, for example, a commodity, for example, commodity a, commodity b, etc., which may configure the capacity rule according to the identity of the commodity; the preset dimension can be, for example, commodity category, such as mask, clothes, skin care products, shoes, etc., and the productivity rule can be configured according to the category identification of the commodity; the preset dimension may be, for example, an activity, such as a promotion 1, a promotion 2, etc., and the capacity rule may be configured according to the activity identifier; or the preset dimension may be, for example, a merchant, such as merchant x and merchant y, and the capacity rule may be configured according to the merchant identification.
The correspondence between the capacity rule configured according to the preset dimension and the preset dimension may be, for example, the above description, and the correspondence between the capacity rule and the preset dimension is determined according to the identifier.
And capacity policies are configured for each capacity rule, and the corresponding relationship between the capacity rule and the capacity policy is briefly described below in conjunction with table 1:
Table 1:
Referring to table 1 above, assume that the exclusivity configured with the capacity rule a by the capacity policy is "non-exclusive", and the priority of the capacity rule a is: 1, and also indicates the effective time and the dead time of the productive rule A; meanwhile, assume that the exclusivity configured with the capacity rule B by the capacity policy is "exclusive", and the priority of the capacity rule B is: 2, and also indicates the effective time and expiration time of the partnership rule B.
The specific implementation manner of the capacity rule and the capacity policy has been described in the above embodiments, and will not be described herein.
In one possible implementation, for example, referring to fig. 4, the implementation of the capacity rule and the capacity policy may be configured, and as shown in fig. 4, the capacity system may obtain relevant information, for example, may obtain commodity information from the commodity system, where the commodity information may include, for example, a commodity identifier, a commodity category identifier, and the like, and may also obtain activity information of a promotion activity from the promotion system; and production information and the like may also be obtained from the production system, wherein the production information may include, for example, information of capacity, used capacity and the like.
Then, the capacity system can configure the capacity rule and the capacity strategy according to the acquired related information.
It will be appreciated that the capacity rule is relatively fixed configuration information, for example, the capacity rule a configured for the commodity a is: the warehouse 1 may use the capacity rule as fixed information when the capacity allocated for the commodity a is 100 per day, and may implement the capacity allocation by adjusting the capacity policy when the capacity needs to be allocated individually for each day.
For example, in the 3 month 23, the configuration is needed to be configured without limiting the productivity of the commodity a, the productivity of the commodity a can be indicated to be infinite through the productivity strategy, and the exclusivity, the priority, the effective time, the failure time and other information of the productivity rule can be adjusted according to the actual requirement, and the adjustment of the productivity information can be realized through adjusting the productivity strategy without changing the productivity rule, so that the system overhead can be effectively reduced.
In one possible implementation of this embodiment, the capacity rules and capacity configurations may be stored in a cache pool and a database as shown in fig. 1, where the stored capacity rules and capacity configurations in the cache pool may generate a capacity policy cache.
S302, according to the first identification of the order information, searching the productivity rule corresponding to the first identification in the cache pool.
In this embodiment, the order information includes a first identifier, where the first identifier may be at least one of the following: the identification of the commodity, the category identification of the commodity, and the activity identification merchant identification, which may also include the rest of the identifications according to the preset dimension, which is not particularly limited in this embodiment.
Referring to the above description, it may be determined that there is a correspondence between the capacity rule configured according to the preset dimension and the preset dimension, for example, if the capacity rule a is configured according to the identity of the commodity, then there is an association between the capacity rule a and the identity of the commodity, if the capacity rule is configured for the first identity, then the capacity rule corresponding to the first identity may be found by searching in the cache pool according to the first identity of the order information.
In one possible implementation, if the capacity rule is not configured separately for the first identifier, the current order may occupy capacity in order of precedence.
It will be appreciated that one or more capacity rules may be found in this embodiment.
S303, obtaining a capacity strategy corresponding to the capacity rule.
In this embodiment, each capacity rule corresponds to a capacity policy, and then the capacity policy corresponding to the capacity rule may be directly obtained.
S304, judging whether the capacity strategy meets the preset condition, if so, executing S305, and if not, executing S306.
Referring to the above description, it may be determined that the validation time and the expiration time of the capacity rule may be included in the capacity policy, and the time information may include the validation time and the expiration time.
In one possible implementation, the preset condition may be: the current time is within the time range of the production time and the failure time, that is, the current production rule can be validated.
In another possible implementation manner, the preset condition may be that the priority of the capacity policy is a preset priority, or that the exclusivity of the capacity policy indication is a preset exclusivity, which may be extended according to the actual requirement.
S305, determining a capacity strategy corresponding to the capacity rule as a first capacity strategy.
In a possible case, if the time information meets the preset condition, the current capacity rule is indicated to be effective, and the capacity strategy corresponding to the capacity rule is determined as the first capacity strategy.
S306, confirming that the first capacity strategy is not matched.
In another possible case, if the time information does not meet the preset condition, the current capacity rule is indicated to be unable to be effective, and it may be determined that the first capacity policy is not matched, in which case the capacity may be occupied according to the order sequence.
S307, accessing the cache pool according to the first capacity strategy.
S308, obtaining residual capacity information corresponding to the first capacity strategy in the cache pool.
S307 and S308 are described together as follows:
After the first capacity strategy is obtained, whether the order can be processed currently or not needs to be judged, the cache pool is accessed according to the first capacity strategy, and in a possible implementation manner, the capacity pool in the cache pool can be accessed, so that the residual capacity information corresponding to the first capacity strategy is obtained; or the remaining capacity information corresponding to the first capacity policy may be directly obtained from the cache pool, which is not particularly limited in this embodiment.
S309, according to the residual capacity information and the order information, sending indication information to the production system, wherein the indication information is used for indicating the time for processing the order information.
The implementation of S309 is similar to that of S203, and will not be described herein.
Meanwhile, in this embodiment, when the current remaining capacity is not 0, the order information may be processed according to the remaining capacity information, in a possible implementation manner, the order information may be sent to the production system, so that the production system may produce an order corresponding to the order information, and the remaining capacity in the remaining capacity information is updated in the buffer pool, where it may be understood that, for every 1 order is produced, the remaining capacity needs to be reduced by 1.
The accuracy and the instantaneity of the residual capacity information can be ensured by updating the residual capacity information in the cache pool.
The object processing method provided by the embodiment of the application comprises the following steps: at least one capacity rule is configured according to the preset dimension, and a capacity strategy of each capacity rule is configured. And searching the productivity rule corresponding to the first identifier in the cache pool according to the first identifier of the order information. And obtaining a capacity strategy corresponding to the capacity rule. Judging whether the time information in the capacity strategy meets the preset condition, if so, determining the capacity strategy corresponding to the capacity rule as a first capacity strategy. If not, confirming that the first capacity strategy is not matched. And accessing the cache pool according to the first capacity strategy. And obtaining residual capacity information corresponding to the first capacity strategy in the cache pool. And sending indication information to the production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information. Capacity rules and capacity strategies are configured in advance according to preset dimensions, so that capacity can be independently configured for different dimensions, and timely processing of order information can be realized by matching first capacity strategies corresponding to the order information, so that order processing efficiency is effectively improved.
On the basis of the foregoing embodiments, the object processing method provided by the embodiment of the present application is described in further detail below with reference to specific examples, and is described with reference to fig. 5, where fig. 5 is an interaction flow chart of the object processing method provided by one embodiment of the present application.
First, the capacity rule is described with respect to commodity setting as an example:
Let it be assumed that 100 goods a are currently stored in warehouse a and that the maximum capacity per day produced by warehouse a is 1000, that is, that warehouse a can only process 1000 orders per day, regardless of the orders of goods.
Based on the above assumption, see fig. 5, first step 1: configuring productivity rules and productivity strategies;
At this time, the capacity rule may be configured according to the commodity, and it is assumed that the capacity rule a may be set as: warehouse a produces 100 capacity per day for the order of commodity a.
And assuming that the date of validity of the commodity a is 15 days 2 and 2 in 2020, and that the production is completed on 10 days 2 and 10 in 2020 according to the production time, the date of validity may be set to 1 day 2 and 1 day 2 in 2020, the date of failure may be set to 10 days 2 and 10 days 2020, and the priority of the production rule a may be set to 1 (highest priority) in the production policy a, and the exclusivity may be set to "non-exclusivity", that is, all orders containing the commodity a are executed according to the policy corresponding to the production rule a.
It will be appreciated that the maximum capacity per day for warehouse a is 1000, and that the capacity rule a indicates that 100 capacities are allocated to commodity a alone, which means that the maximum capacity for non-a commodities is 900.
After the front-end user places an order, the order system can acquire corresponding order information, and the order system can send the acquired order information to the capacity system, so that the capacity system can be matched with a corresponding first capacity strategy according to the order information.
At this time, the remaining capacity information is obtained according to the first capacity policy, and the current capacity condition is assumed to be: the occupied capacity for producing non-a commodity is 900, the occupied capacity for producing commodity a is 40, that is, the remaining capacity information is: the remaining capacity for producing non-a commodity is 0, and assume that the remaining capacity for producing commodity a is 60; meanwhile, it is assumed that the remaining capacity of the non-a commodity produced the next day is 600 (that is, the occupied capacity is 300), and the remaining capacity of the commodity a produced the next day is 100.
In one possible implementation manner, if the commodity included in the order information is commodity a, the first capacity policy may be matched, and the remaining capacity information is obtained according to the first capacity policy, and referring to the assumed remaining capacity information, it may be determined that the remaining capacity of the current commodity a is not 0, and then the time information of the current moment may be sent to the production system, so that the production system performs the production of the order.
Meanwhile, after the order is produced, the remaining capacity information needs to be updated as: the remaining capacity of the product commodity a was 59.
In another possible implementation manner, the commodities included in the order information are non-a commodities, and in this embodiment, the capacity rule and the capacity policy are not configured for the non-a commodities alone, and then the order for the non-a commodities is not matched with the first capacity policy, and at this time, the above-described capacity of 900 for the non-a commodities may be occupied in order.
In this case, the remaining capacity information may be directly obtained, and referring to the assumed remaining capacity information, it may be determined that the remaining capacity of the current non-a commodity is 0, which indicates that the order of the non-a commodity cannot be produced on the same day, but the remaining capacity of the non-a commodity on the next day is not 0, and the time information on the next day may be transmitted to the production system, so that the production system performs the production of the order on the next day.
Meanwhile, after occupying the capacity of the next day, the remaining capacity information needs to be updated as: the occupied capacity for the next day for production of non-a commodity is 301, with a remaining capacity of 599.
In a possible implementation manner, the capacity policy configured for the specific commodity can prepare related resources according to actual requirements to meet the capacity requirement of the specific commodity if the capacity is insufficient.
The foregoing description is given by taking the rule of allocating productivity according to the commodity, and the following description is given by taking the rule of allocating productivity according to the sales promotion as an example in combination with a specific example:
Assuming that there are currently two sales campaigns, sales campaign a and sales campaign B, respectively, assuming that the predicted order amount for sales campaign a in the a store is 1000, the start time is 0 point on 1 day of 2 months in 2020, and assuming that the predicted order amount for sales campaign B in the a store is 1000, the start time is 4 points on 1 month in 2020; and assuming that warehouse a produces a maximum capacity of 1000 per day, that is, warehouse a can only process 1000 orders per day, regardless of the active order.
Based on the above assumption, see fig. 5, first step 1: configuring productivity rules and productivity strategies;
At this time, the capacity rule may be configured according to the promotion, assuming that the capacity rule a is configured for the promotion a: warehouse a produces 200 capacity for sales promotion a orders daily; assume that capacity rule B is configured for promotional activity B as: warehouse a produces an order for promotional program B at 200 capacity per day.
And assuming that the capacity policy of the capacity rule a is: priority 1 (highest priority), exclusivity "nonexclusivity" (that is, as long as the order containing the promotional program a is implemented according to the capacity rule a), setting the effective date to be 2020, 1 month, and the expiration date to be 2020, 2 months, 1 day;
And assume that the capacity policy of capacity rule B is: the priority is 2, and the exclusivity is "nonexclusivity" (that is, as long as the order containing the sales promotion B is executed according to the capacity rule B), the effective date is set to 1 day 2 in 2020, and the expiration date is set to 1 day 2 in 2020.
It will be appreciated that the maximum capacity per day for warehouse a is 1000, and that the capacity rule a indicates that 200 capacity is allocated to promotional activity a alone and 200 capacity is allocated to promotional activity B alone, which indicates that the maximum capacity for non-a promotional and non-B promotional activities is 600.
After the front-end user places an order, the order system can acquire corresponding order information, and the order system can send the acquired order information to the capacity system, so that the capacity system can be matched with a corresponding first capacity strategy according to the order information.
At this time, the remaining capacity information is obtained according to the first capacity policy, and the current capacity condition is assumed to be: the occupied capacity of the production non-A promotional program and the production non-B promotional program is 600, the occupied capacity of the production promotional program A is 100, and the occupied capacity of the production promotional program B is 100.
That is, the remaining capacity information is: the remaining capacity for producing non-A promotional campaigns and non-B promotional campaigns is 0, and the remaining capacity for promotional campaigns A is 100, and the remaining capacity for promotional campaigns B is 100.
In one possible implementation manner, if the commodity included in the order information is a commodity corresponding to the sales promotion activity a, the first capacity policy may be matched, and the remaining capacity information is obtained according to the first capacity policy, and referring to the assumed remaining capacity information, it may be determined that the remaining capacity of the current sales promotion activity a is not 0, and then the time information of the current moment may be sent to the production system, so that the production system performs the production of the order.
Meanwhile, after the order is produced, the remaining capacity information needs to be updated as: the remaining capacity for production promotion A is 99.
In another possible implementation manner, the commodities included in the order information are commodities with non-a promotion activities and non-B promotion activities, and in this embodiment, the capacity rules and the capacity policies are not configured separately for the commodities with non-a promotion activities and non-B promotion activities, so that the orders for the commodities with non-a promotion activities and non-B promotion activities are not matched with the first capacity policy, and the above-described capacities of 600 for the non-a promotion activities and the non-B promotion activities may be occupied in order.
In this case, the remaining capacity information may be directly obtained, and referring to the assumed remaining capacity information, it may be determined that the remaining capacities of the current non-a promotional program and the non-B promotional program are 0, which indicates that the order of the non-a commodity cannot be produced on the same day, and if the remaining capacities of the non-a promotional program and the non-B promotional program on the next day are not 0, the time information on the next day may be transmitted to the production system, so that the production system performs the production of the order on the next day.
Meanwhile, after the capacity of the next day is occupied, the remaining capacity information is updated to be the capacity.
In a possible implementation manner of this embodiment, the production system may combine production and distribution for order information with the same user and time, so that the processing efficiency of the production system may be further improved.
In a possible implementation manner, for example, the capacity rule and the capacity policy may be further configured according to the merchant, where the capacity policy may indicate that the exclusivity of the capacity rule for the merchant is "exclusive", that is, only the order corresponding to the current merchant is implemented according to the current capacity rule, and the rest of implementations may refer to the above description and will not be repeated herein.
In summary, according to the object processing method provided by the embodiment of the application, the capacity rule and the capacity policy can be set for different preset dimensions, and the corresponding capacity rule and capacity policy can be matched according to the order information, so that the priority and order processing for special commodities can be realized, and the order processing efficiency is effectively improved.
Fig. 6 is a schematic structural diagram of an object processing apparatus according to an embodiment of the present application. As shown in fig. 6, the apparatus 60 includes: an acquisition module 601, a transmission module 602 and a processing module 603.
The acquiring module 601 is configured to acquire order information, and match a first capacity policy according to the order information;
The obtaining module 601 is further configured to obtain remaining capacity information according to the first capacity policy;
and a sending module 602, configured to send instruction information to a production system according to the remaining capacity information and the order information, where the instruction information is used to instruct a time for processing the order information.
In one possible design, the order information includes a first identification;
the obtaining module 601 is further configured to:
according to the first identification of the order information, searching the productivity rule corresponding to the first identification in a cache pool;
Acquiring a capacity strategy corresponding to the capacity rule, and judging whether time information in the capacity strategy meets preset conditions or not;
and if yes, determining the capacity strategy corresponding to the capacity rule as a first capacity strategy.
In one possible design, the time information includes an effective time and a dead time, and the preset condition is: the current time is within the time range of the effective time and the failure time.
In one possible design, the apparatus further comprises: a processing module 603;
The processing module 603 is configured to, before the order information is obtained and the first capacity policy is matched according to the order information, configure at least one capacity rule according to a preset dimension, and configure a capacity policy of each capacity rule.
In one possible design, the sending module 602 is specifically configured to:
acquiring order quantity according to the order information, and acquiring residual capacity according to the residual capacity information;
If the current residual capacity is 0, acquiring a first time when the residual capacity is not 0, and sending the first time to the production system;
And if the current residual capacity is not 0, processing the order information according to the residual capacity information, and sending the current time to the production system.
In one possible design, the processing module 603 is further configured to:
the order information is sent to a production system to produce an order corresponding to the order information;
and updating the residual capacity in the residual capacity information in the cache pool.
In one possible design, the obtaining module 601 is specifically configured to:
accessing the cache pool according to the first capacity policy;
And acquiring residual capacity information corresponding to the first capacity strategy from the cache pool.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 7 is a schematic hardware structure of an object processing apparatus according to an embodiment of the present application, as shown in fig. 7, an object processing apparatus 70 of the present embodiment includes: a processor 701 and a memory 702; wherein the method comprises the steps of
A memory 702 for storing computer-executable instructions;
the processor 701 is configured to execute computer-executable instructions stored in the memory to implement the steps executed by the object processing method in the above embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 702 may be separate or integrated with the processor 701.
When the memory 702 is provided separately, the object handling device further comprises a bus 703 for connecting said memory 702 to the processor 701.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the object processing method executed by the object processing device is realized.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the application.
It should be understood that the above Processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, a digital signal Processor (english: DIGITAL SIGNAL Processor, abbreviated as DSP), an Application-specific integrated Circuit (english: application SPECIFIC INTEGRATED Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (PERIPHERAL COMPONENT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.
Claims (9)
1. An object processing method, comprising:
Acquiring order information, and matching a first capacity strategy according to the order information;
obtaining residual capacity information according to the first capacity strategy;
sending indication information to a production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information;
the order information comprises a first identifier;
the matching the first capacity strategy according to the order information comprises the following steps:
according to the first identification of the order information, searching the productivity rule corresponding to the first identification in a cache pool;
acquiring a capacity strategy corresponding to the capacity rule, and judging whether the capacity strategy meets a preset condition;
if yes, determining a capacity strategy corresponding to the capacity rule as a first capacity strategy, wherein the first capacity strategy is used for indicating configuration information of the capacity rule, and the capacity rule is used for indicating the capacity quantity configured for a preset dimension.
2. The method according to claim 1, wherein the preset conditions are: the current time is within the time range of the time of onset and time of failure.
3. The method of claim 1 or 2, wherein prior to the acquiring order information and matching the first capacity policy based on the order information, the method further comprises:
At least one capacity rule is configured according to a preset dimension, and a capacity strategy of each capacity rule is configured.
4. The method according to claim 1 or 2, wherein transmitting instruction information to a production system according to the remaining capacity information and the order information, comprises:
acquiring order quantity according to the order information, and acquiring residual capacity according to the residual capacity information;
If the current residual capacity is 0, acquiring a first time when the residual capacity is not 0, and sending the first time to the production system;
And if the current residual capacity is not 0, processing the order information according to the residual capacity information, and sending the current time to the production system.
5. The method of claim 4, wherein said processing said order information based on said remaining capacity information comprises:
the order information is sent to a production system to produce an order corresponding to the order information;
and updating the residual capacity in the residual capacity information in the cache pool.
6. The method of claim 4, wherein the obtaining remaining capacity information according to the first capacity policy comprises:
accessing the cache pool according to the first capacity policy;
And acquiring residual capacity information corresponding to the first capacity strategy from the cache pool.
7. An object processing apparatus, comprising:
the acquisition module is used for acquiring order information and matching a first capacity strategy according to the order information;
the acquisition module is further used for acquiring residual capacity information according to the first capacity strategy;
the sending module is used for sending indication information to a production system according to the residual capacity information and the order information, wherein the indication information is used for indicating the time for processing the order information;
the order information comprises a first identifier;
The acquisition module is further configured to:
according to the first identification of the order information, searching the productivity rule corresponding to the first identification in a cache pool;
Acquiring a capacity strategy corresponding to the capacity rule, and judging whether time information in the capacity strategy meets preset conditions or not;
if yes, determining a capacity strategy corresponding to the capacity rule as a first capacity strategy, wherein the first capacity strategy is used for indicating configuration information of the capacity rule, and the capacity rule is used for indicating the capacity quantity configured for a preset dimension.
8. An object processing apparatus, characterized by comprising:
A memory for storing a program;
A processor for executing the program stored by the memory, the processor being for performing the method of any one of claims 1 to 6 when the program is executed.
9. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010305248.4A CN113537669B (en) | 2020-04-17 | 2020-04-17 | Object processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010305248.4A CN113537669B (en) | 2020-04-17 | 2020-04-17 | Object processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113537669A CN113537669A (en) | 2021-10-22 |
CN113537669B true CN113537669B (en) | 2024-06-18 |
Family
ID=78123281
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010305248.4A Active CN113537669B (en) | 2020-04-17 | 2020-04-17 | Object processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113537669B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107153940A (en) * | 2017-05-04 | 2017-09-12 | 湖南润安危物联科技发展有限公司 | Order processing method and apparatus |
CN107767007A (en) * | 2016-09-05 | 2018-03-06 | 北京三快在线科技有限公司 | Method for allocating tasks and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9842308B1 (en) * | 2010-02-25 | 2017-12-12 | Stamps.Com Inc. | Systems and methods for rules based shipping |
CN107918839A (en) * | 2016-10-08 | 2018-04-17 | 阿里巴巴集团控股有限公司 | A kind of sequence information processing method, apparatus and system |
CN108734561B (en) * | 2018-05-31 | 2023-08-22 | 康键信息技术(深圳)有限公司 | Electronic device, order data processing method, and computer-readable storage medium |
CN110858332B (en) * | 2018-08-22 | 2023-09-26 | 北京京东振世信息技术有限公司 | Order production method and device |
CN109345086A (en) * | 2018-09-11 | 2019-02-15 | 江苏千米网络科技股份有限公司 | Order allocation method and device |
CN109325828B (en) * | 2018-09-13 | 2020-05-29 | 拉扎斯网络科技(上海)有限公司 | Order processing method, device, equipment and computer readable storage medium |
-
2020
- 2020-04-17 CN CN202010305248.4A patent/CN113537669B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107767007A (en) * | 2016-09-05 | 2018-03-06 | 北京三快在线科技有限公司 | Method for allocating tasks and device |
CN107153940A (en) * | 2017-05-04 | 2017-09-12 | 湖南润安危物联科技发展有限公司 | Order processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN113537669A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10671968B2 (en) | Method and system of processing commodity object information | |
US20160217499A1 (en) | Processing content requests | |
US11410117B2 (en) | System and method for controlling inventory depletion by offering different prices to different customers | |
KR102661834B1 (en) | Method and electronic device for providing information related to membership | |
US10019691B2 (en) | Methods for tracking and analyzing automotive parts transaction data, and automatically generating and sending at a pre-determined frequency comprehensive reports thereof | |
CN113467824B (en) | Data processing method, device, equipment and storage medium | |
US20200242645A1 (en) | System and method for minimizing latency in data consumption system | |
CN109242530A (en) | Commodity purchasing method and device based on membership grade | |
CN109299883B (en) | Empty driving scheduling method and device | |
CN113419856A (en) | Intelligent current limiting method and device, electronic equipment and storage medium | |
CN111681071A (en) | Sub-cost data generation system and method, storage medium, and electronic device | |
CN109255588B (en) | Automatic generation method and device for bill for material in and out of warehouse and computer storage medium | |
US20110251886A1 (en) | Promotional placement of applications in a marketplace | |
CN111062594A (en) | Assessment method and device for provider operation capacity and electronic equipment | |
CN110275767A (en) | A kind of batch data processing method and processing device | |
CN104346720A (en) | Cross-border payment-mode limiting method and system | |
CN113537669B (en) | Object processing method and device | |
US10607175B2 (en) | Automatically analyzing complexity or simplicity and performing an action based on the complexity or the simplicity | |
EP4276716A1 (en) | Worktable enable/disable recommendation method and apparatus, electronic device, and warehousing system | |
CN115713200A (en) | Method and device for processing inventory allocation, order processing and scheduling data | |
CN106598987B (en) | Information recommendation method and device | |
CN111881148A (en) | Object combination attribute determination method and device and electronic equipment | |
US20160110785A1 (en) | Systems and methods for sale redemption | |
CN107015863B (en) | Resource allocation method and device | |
CN112581057A (en) | Intelligent stock method and device, computer 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |