CN111062772B - Self-adaptive order aggregation method and electronic equipment - Google Patents

Self-adaptive order aggregation method and electronic equipment Download PDF

Info

Publication number
CN111062772B
CN111062772B CN201911109325.2A CN201911109325A CN111062772B CN 111062772 B CN111062772 B CN 111062772B CN 201911109325 A CN201911109325 A CN 201911109325A CN 111062772 B CN111062772 B CN 111062772B
Authority
CN
China
Prior art keywords
order data
order
aggregate
electronic devices
determining
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
Application number
CN201911109325.2A
Other languages
Chinese (zh)
Other versions
CN111062772A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911109325.2A priority Critical patent/CN111062772B/en
Publication of CN111062772A publication Critical patent/CN111062772A/en
Application granted granted Critical
Publication of CN111062772B publication Critical patent/CN111062772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The embodiment of the application discloses a self-adaptive order aggregation method and electronic equipment, wherein the method comprises the following steps: determining order aggregation limiting parameters for an electronic device based on order data for the electronic device; receiving screening parameters aiming at the order data, and screening the order data based on the screening parameters to obtain screened order data; based on the aggregation limiting parameters, aggregating the screening order data to obtain aggregated order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters; recording a correspondence between the aggregate order data and the order data contained in the aggregate order data; and determining components required by the electronic equipment based on the aggregate order data, and collecting the components to assemble the electronic equipment matched with the number of the electronic equipment in the aggregate order data.

Description

Self-adaptive order aggregation method and electronic equipment
Technical Field
The embodiment of the application relates to order aggregation technology, in particular to a self-adaptive order aggregation method and electronic equipment.
Background
The manufacturing industries of consumer-oriented electronic devices such as personal computers (PC, personal Computer) or mobile phones face heavy challenges such as massive orders, sensitive order delivery dates, various stock keeping units (SKUs, stock Keeping Unit), complex process steps, limited human resources, and the like. In order to improve the order-on-time delivery rate of electronic equipment, the production yield and the order completion rate of the production line need to be improved under the conditions of limited capacity and urgent order delivery date, the production plan of the order needs to be optimized, and the production plan of the production line is scheduled (for short, scheduling) so as to fully utilize production resources as much as possible.
Scheduling can be analogically to a multi-turn, path planning problem subject to limited resource constraints, and time window constraints. The problems belong to the problem that the uncertainty turing machine can solve in the P time, the calculation complexity is quite high, and the optimal solution cannot be ensured to be obtained in the polynomial time. In industrial production applications, however, only an approximate solution to the problem of production is generally available, and the time complexity of the solution may exhibit an exponential expansion as the number of orders increases. Therefore, when the large-scale order scheduling is faced, the existing scheduling method is generally carried out by staff according to experience, and in the network electronic orders with huge data and from different geographic orientations, the general staff can hardly collect and schedule the orders, and the scheduling result can not be given in a limited time. The problem is widely existed in manufacturing industries with large-scale order demands, particularly electronic equipment manufacturing industries, and the significant bottleneck of industry development is caused by the wide dispersion of orders and the large randomness of the scale of order data. The traditional manual-based production scheduling method is highly dependent on experience of production scheduling staff, has high time and labor cost, is only suitable for small-scale scattered primary manufacturing industries, and is difficult to execute under the conditions of strict management requirements, huge order scale and complex manufacturing products.
Disclosure of Invention
The embodiment of the application provides a self-adaptive order aggregation method and electronic equipment, which can be used for automatically analyzing parameters such as the number of electronic equipment required by the order data, making reasonable scheduling and automatically distributing the electronic equipment in the order to a user based on the scheduling result.
The embodiment of the application provides a self-adaptive order aggregation method, which comprises the following steps:
determining order aggregation limiting parameters for an electronic device based on order data for the electronic device;
receiving screening parameters aiming at the order data, and screening the order data based on the screening parameters to obtain screened order data;
based on the aggregation limiting parameters, aggregating the screening order data to obtain aggregated order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters;
recording a correspondence between the aggregate order data and the order data contained in the aggregate order data;
and determining components required by the electronic equipment based on the aggregate order data, and collecting the components to assemble the electronic equipment matched with the number of the electronic equipment in the aggregate order data.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and calculating a weight factor based on the total number of order data to be arranged;
and carrying out first product operation on the number of the maximum electronic devices allowed to be aggregated and the weight factors, and determining an integer rounded up or down of a first product operation result as the number of the maximum electronic devices in single aggregated order data.
As an implementation manner, the calculating the weight factor based on the total number of the to-be-excluded order data includes:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
and taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
determining a median of the number of electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum electronic devices allowed to aggregate;
And calculating the number of the largest electronic devices in the single aggregated order data and the ratio, performing a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of electronic devices contained in the order data capable of participating in order aggregation.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of electronic devices in the order data;
calculating the ratio of the number of maximum electronic devices allowed to aggregate to the number of digits, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As an implementation, the method further includes:
after the electronic equipment is assembled, the electronic equipment is split and packaged according to the order data corresponding to the aggregated order data based on the corresponding relation between the aggregated order data and the order data contained in the aggregated order data, so that the electronic equipment corresponding to the split and packaged order data is distributed according to the order information corresponding to the order data.
The screening parameters include at least one of:
the model of the electronic device, the product series to which the electronic device belongs, the number of the electronic devices contained in the order data, and the order date of the electronic device.
The embodiment of the application also provides electronic equipment, which at least comprises a collection assembly, and a processor, a data interface and a memory which are electrically connected with each other, wherein a computer program is stored in the memory, the data interface can receive external data, and when the processor runs the computer program, at least the following processing can be realized:
determining order aggregation limiting parameters for a first electronic device based on order data for the first electronic device;
receiving screening parameters aiming at the order data, and screening the order data based on the screening parameters to obtain screened order data;
based on the aggregation limiting parameters, aggregating the screening order data to obtain aggregated order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters;
and determining components required by the first electronic equipment based on the aggregate order data, and controlling the action of the acquisition component to acquire the components so as to assemble the first electronic equipment matched with the first electronic equipment in the aggregate order data.
As one implementation, the processor determines an order aggregation limiting parameter of the first electronic device, comprising:
setting the number of the maximum first electronic devices allowed to aggregate for the single aggregate order data, and calculating a weight factor based on the total number of the order data to be arranged;
and carrying out first product operation on the number of the maximum first electronic devices allowed to be aggregated and the weight factors, and determining an integer of up or down rounding of a first product operation result as the number of the maximum first electronic devices in single aggregated order data.
As one implementation, the processor calculates a weight factor based on a total number of order data to be placed, comprising:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
and taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
As one implementation, the processor determines an order aggregation limiting parameter of the first electronic device, comprising:
Determining a median of the number of first electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum first electronic devices allowed to aggregate;
and calculating the number of the largest first electronic devices in the single aggregated order data and the ratio to perform a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of the first electronic devices contained in the order data capable of participating in order aggregation.
As one implementation, the processor determines an order aggregation limiting parameter of the first electronic device, comprising:
setting a maximum number of first electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of first electronic devices in the order data;
calculating the ratio of the number of the maximum first electronic devices allowed to aggregate to the quantile, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As one implementation, the processor determines order aggregation limiting parameters for the electronic device, comprising:
Setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of electronic devices in the order data;
calculating the ratio of the number of maximum electronic devices allowed to aggregate to the number of digits, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As an implementation, the processor is further capable of implementing the following:
after the electronic equipment is assembled, the electronic equipment is split and packaged according to the order data corresponding to the aggregated order data based on the corresponding relation between the aggregated order data and the order data contained in the aggregated order data, so that the electronic equipment corresponding to the split and packaged order data is distributed according to the order information corresponding to the order data.
The screening parameters include at least one of:
the model of the electronic device, the product series to which the electronic device belongs, the number of the electronic devices contained in the order data, and the order date of the electronic device.
The embodiment of the application also provides electronic equipment, which comprises:
a determining unit configured to determine an order aggregation restriction parameter for a first electronic device based on order data for the first electronic device;
a receiving unit for receiving screening parameters for the order data;
the screening unit screens the order data based on the screening parameters to obtain screened order data;
the aggregation unit is used for aggregating the screening order data based on the aggregation limiting parameters to obtain aggregated order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters;
a recording unit configured to record correspondence between the aggregate order data and the order data included in the aggregate order data;
and the acquisition unit is used for determining components required by the first electronic equipment based on the aggregate order data, and acquiring the components so as to be assembled into the first electronic equipment matched with the first electronic equipment in the aggregate order data.
As an implementation manner, the determining unit determines an order aggregation limiting parameter of the first electronic device, including:
Setting the number of the maximum first electronic devices allowed to aggregate for the single aggregate order data, and calculating a weight factor based on the total number of the order data to be arranged;
and carrying out first product operation on the number of the maximum first electronic devices allowed to be aggregated and the weight factors, and determining an integer of up or down rounding of a first product operation result as the number of the maximum first electronic devices in single aggregated order data.
As an implementation, the determining unit calculates the weight factor based on the total number of the to-be-excluded order data, including:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
and taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
As an implementation manner, the determining unit determines an order aggregation limiting parameter of the first electronic device, including:
determining a median of the number of first electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum first electronic devices allowed to aggregate;
And calculating the number of the largest first electronic devices in the single aggregated order data and the ratio to perform a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of the first electronic devices contained in the order data capable of participating in order aggregation.
As an implementation manner, the determining unit determines an order aggregation limiting parameter of the first electronic device, including:
setting a maximum number of first electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of first electronic devices in the order data;
calculating the ratio of the number of the maximum first electronic devices allowed to aggregate to the quantile, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As an implementation, the determining unit determines an order aggregation limiting parameter of the electronic device, including:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of electronic devices in the order data;
Calculating the ratio of the number of maximum electronic devices allowed to aggregate to the number of digits, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As an implementation, the electronic device further includes:
and the splitting and packaging unit is used for splitting and packaging the electronic equipment according to the order data corresponding to the aggregated order data based on the corresponding relation between the aggregated order data and the order data contained in the aggregated order data after the electronic equipment is assembled, so that the electronic equipment corresponding to the order data after the splitting and packaging is distributed according to the order information corresponding to the order data.
The screening parameters include at least one of:
the model of the electronic device, the product series to which the electronic device belongs, the number of the electronic devices contained in the order data, and the order date of the electronic device.
In the embodiment of the application, multidimensional information related to the order data, such as the model of the electronic equipment, the product series to which the electronic equipment belongs, the delivery date required in the order data, the order scale and the like, are combined, so that the aggregated order can be considered to optimize a plurality of production targets, and is more suitable for actual industrial production. In addition, when order aggregation is carried out, parameters of an aggregation algorithm can be automatically adjusted by comprehensively considering the number of orders and the number of machines to be produced, and the orders are adaptively aggregated, so that the operation data quantity is reduced, and the optimization level of the production results is ensured.
Drawings
FIG. 1 is a schematic process flow diagram of an adaptive order aggregation method according to an embodiment of the present disclosure;
FIG. 2 is a schematic process flow diagram of an adaptive order aggregation method according to an embodiment of the present disclosure;
FIG. 3 is a schematic process flow diagram of an adaptive order aggregation method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of an alternative architecture of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
It should be noted that, in the embodiments of the present application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a method or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such method or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other related elements (e.g., a step in a method or a unit in an apparatus, e.g., a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.) in a method or apparatus comprising the element.
An exemplary application of the electronic device implementing the embodiments of the present application is described below, and the electronic device provided in the embodiments of the present application may be implemented as a tablet computer, a mobile phone, a remote controller, a wearable device, a multimedia playing device, or an intelligent vehicle, which are various types of dual-gesture or multi-gesture electronic devices including a first body and a second body.
Fig. 1 is a schematic process flow diagram of an adaptive order aggregation method provided in an embodiment of the present application, and as shown in fig. 1, an optional processing manner in the adaptive order aggregation method provided in an embodiment of the present application includes the following steps:
Step 101, determining order aggregation limiting parameters of the electronic equipment based on order data for the electronic equipment.
In this embodiment of the present application, the order data may be a massive order from a network, for example, an order for an electronic device such as a mobile phone, a computer, a PAD, or the like, where the order is from any region of the world, and the user may determine, based on the model input in the order, a specific hardware and/or software configuration of the electronic device to be ordered by the user, as long as the user inputs the model of the required electronic device such as "future PRO type" of the association PC, and may perform corresponding production or assembly of the electronic device based on the order information. The order typically also includes information about the time of receipt desired by the user, the number of electronic devices ordered, the address of receipt of the electronic device, etc.
In this embodiment, an order processing period may be set, for example, the received order data may be collected every other week, which is a processing object of the order data.
Step 102, receiving screening parameters aiming at the order data, and screening the order data based on the screening parameters to obtain screened order data.
After determining the order data to be arranged, screening the order data of the object to be processed is needed, for example, screening the order data by combining the model of the electronic equipment in the order data, the product series of the electronic equipment, the number of the determined electronic equipment in the order data, the delivery time of the electronic equipment and other data dimensions, and taking a group of order data meeting screening conditions as the order data to be aggregated, wherein the screened order data has more common attributes, so that aggregation among orders is facilitated.
In the embodiment of the application, after the order data to be aggregated is determined by using the screening conditions, the order data to be aggregated can be further ordered according to the number of the corresponding electronic devices so as to determine the number of the electronic devices ordered in each order, so that the number of the electronic devices ordered in the order data can be counted, and an aggregation strategy for the order data can be determined so as to better aggregate the order data, and the subsequent electronic devices can be installed and packaged and shipped according to the order.
And step 103, aggregating the screening order data based on the aggregation limiting parameters to obtain aggregated order data.
In this embodiment of the present application, the aggregate order data and the order data included in the aggregate order data conform to the conditions defined by the aggregate limit parameter.
Specifically, when the aggregation limiting parameters are utilized to aggregate the order data, the order data to be aggregated is directly aggregated according to the aggregation limiting parameters, for example, when the aggregation limiting parameters include that the number of orders contained in the single aggregation order data is not more than 5, 5 orders can be directly and sequentially taken from the data to be aggregated to directly aggregate, and of course, after 5 orders are taken out, whether the limiting conditions are met or not needs to be judged according to other aggregation limiting parameters, for example, the number of all electronic devices in the orders contained in the single aggregation order data cannot exceed a set threshold, and when the orders in the single aggregation order data meet the aggregation limiting parameters, the orders are directly aggregated to form an aggregation order, so that the subsequent production is performed based on the aggregated orders. And when the selected order does not meet the limit conditions of the aggregation limit parameters, trying other orders to aggregate until all orders in the order data to be aggregated are aggregated.
And 104, recording the corresponding relation between the aggregate order data and the order data contained in the aggregate order data.
After order aggregation is carried out on order data, the corresponding relation between the aggregated order data and the order data contained in the aggregated order data is required to be recorded, so that when the electronic equipment completes assembly and delivery, the electronic equipment to be delivered can be accurately determined, and the order can be conveniently delivered according to order content.
And 105, determining components required by the electronic equipment based on the aggregate order data, and collecting the components to assemble the electronic equipment matched with the number of the electronic equipment in the aggregate order data.
After the aggregate order data is determined, the total number of electronic devices corresponding to each aggregate order can be determined, and the electronic devices can be formed by assembling the components based on the determined types and data of the components in the corresponding component libraries, such as the number of processors of which types are required, the number of types and the number of data interfaces required, the memory of which storage space is required, and the like. After the electronic equipment is assembled, the assembled electronic equipment can be packaged, the electronic equipment is split according to the number of the electronic equipment and the order address corresponding to each order in the aggregated order after the electronic equipment is packaged, and the electronic equipment can be sent to a user according to the order time.
In the embodiment of the application, multidimensional information related to the order data, such as the model of the electronic equipment, the product series to which the electronic equipment belongs, the delivery date required in the order data, the order scale and the like, are combined, so that the aggregated order can be considered to optimize a plurality of production targets, and is more suitable for actual industrial production. In addition, when order aggregation is carried out, parameters of an aggregation algorithm can be automatically adjusted by comprehensively considering the number of orders and the number of machines to be produced, and the orders are adaptively aggregated, so that the operation data quantity is reduced, and the optimization level of the production results is ensured.
Fig. 2 is a schematic process flow diagram of the adaptive order aggregation method provided in the embodiment of the present application, and as shown in fig. 2, an optional processing manner in the adaptive order aggregation method provided in the embodiment of the present application includes the following steps:
step 201, determining order aggregation limiting parameters of an electronic device based on order data for the electronic device.
In this embodiment of the present application, the order data may be a massive order from a network, for example, an order for an electronic device such as a mobile phone, a computer, a PAD, or the like, where the order is from any region of the world, and the user may determine, based on the model input in the order, a specific hardware and/or software configuration of the electronic device to be ordered by the user, as long as the user inputs the model of the required electronic device such as "future PRO type" of the association PC, and may perform corresponding production or assembly of the electronic device based on the order information. The order typically also includes information about the time of receipt desired by the user, the number of electronic devices ordered, the address of receipt of the electronic device, etc.
In this embodiment, an order processing period may be set, for example, the received order data may be collected every other week, which is a processing object of the order data.
It should be noted that this example is only an example of parameter determination, and is not a specific limitation of the present application, and any similar calculation modification or parameter transformation should be understood to fall within the scope of protection of the present application.
In this embodiment of the present application, the determining an order aggregation limiting parameter of the electronic device includes:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and calculating a weight factor based on the total number of order data to be arranged;
and carrying out first product operation on the number of the maximum electronic devices allowed to be aggregated and the weight factors, and determining an integer rounded up or down of a first product operation result as the number of the maximum electronic devices in single aggregated order data.
As an implementation manner, the calculating the weight factor based on the total number of the to-be-excluded order data includes:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
And taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
In the embodiment of the application, the upper limit M of the number of the electronic devices for single aggregate order u The determination can be made by the following formula:
M u =ceil(M max *max(0,1-1/log(1+N 0 )))
ceil () represents an upward or downward rounding function; max () represents the maximum value taking operation function, M max Representing the maximum number of electronic devices allowed in a single order as determined by business or experience, e.g., not allowing more than 500 electronic devices in a single order; if an order exceeds 500 electronic devices, the order is no longer of aggregate significance. N (N) 0 Representing the total number of orders to be processed, i.e. the number of all orders to be processed in a period.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
determining a median of the number of electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum electronic devices allowed to aggregate;
and calculating the number of the largest electronic devices in the single aggregated order data and the ratio, performing a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of electronic devices contained in the order data capable of participating in order aggregation.
Specifically, the maximum number of electronic devices contained in the order data that can participate in order aggregation can be determined by the following formula:
ceil(M u ×M 50 /M max )
electronic device quantity upper limit M for single aggregate order u The foregoing has given a specific calculation method, and the details thereof will not be repeated hereIn a fixed manner. M is M 50 Representing the number of electronic devices in the order corresponding to the median in the order data; m is M 50 The determination mode of (a) is as follows: the orders to be aggregated are ordered sequentially according to the number of the electronic devices corresponding to the orders, for example, the orders can be ordered in the order from less to more, or the orders can be ordered in the order from more to less, wherein the orders are in the number of the electronic devices corresponding to the orders in the middle position. Ceil () represents a round-up or down arithmetic function.
As will be appreciated by those skilled in the art, M 50 The method is described according to the median value, and any other numerical value which can show the statistical rule can replace the median value, such as the number of the electronic devices in the corresponding orders at 49%, 51%, 46%, 54% and the like. The value may also be empirically set.
Therefore, in the embodiment of the present application, when the orders to be aggregated are ordered from small to large in terms of the number of electronic devices in the orders, the number of electronic devices in the orders participating in the aggregation may be considered to be in the range of (0, ceil (M u *M 50 /M max )]The method comprises the steps of carrying out a first treatment on the surface of the Median M of the number of electronic devices in the totality of orders to be aggregated 50 In larger cases, the distribution of the number of electronic devices in the order is illustrated to be more uniform, thus allowing orders of data of larger electronic devices to participate in the aggregation; whereas M 50 In the smaller case, the number distribution of electronic devices in the order is illustrated as severely biased, and only orders of smaller numbers of electronic devices are allowed to participate in the aggregation.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of electronic devices in the order data;
calculating the ratio of the number of maximum electronic devices allowed to aggregate to the number of digits, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
The maximum value of the order data that can be contained in a single aggregate order data can be determined by the following formula:
ceil(sqrt(M max /M 25 ));
wherein M is max Representing the maximum number of electronic devices allowed in a single order, M, determined by business or experience 25 Representing the number of electronic devices in a 25 quantile order in the order. The orders to be aggregated are ordered according to the order number of the electronic devices corresponding to the orders, wherein the order number of the electronic devices corresponding to the orders in the 25% position is ordered according to the order number of the electronic devices corresponding to the orders. Ceil () represents an upward or downward rounding function; sqrt () represents taking the arithmetic square root operation function.
As will be appreciated by those skilled in the art, M 25 For exemplary purposes only, any other value that can exhibit statistical regularity may be substituted for the median value, such as the number of electronic devices in the corresponding order at 24%, 26%, 20%, 30% or the like. The value may also be empirically set.
Step 202, receiving screening parameters for the order data, and screening the order data based on the screening parameters to obtain screened order data.
After determining the order data to be arranged, screening the order data of the object to be processed is needed, for example, screening the order data by combining the model of the electronic equipment in the order data, the product series of the electronic equipment, the number of the determined electronic equipment in the order data, the delivery time of the electronic equipment and other data dimensions, and taking a group of order data meeting screening conditions as the order data to be aggregated, wherein the screened order data has more common attributes, so that aggregation among orders is facilitated.
In the embodiment of the application, after the order data to be aggregated is determined by using the screening conditions, the order data to be aggregated can be further ordered according to the number of the corresponding electronic devices so as to determine the number of the electronic devices ordered in each order, so that the number of the electronic devices ordered in the order data can be counted, and an aggregation strategy for the order data can be determined so as to better aggregate the order data, and the subsequent electronic devices can be installed and packaged and shipped according to the order.
And step 203, aggregating the screening order data based on the aggregation limiting parameters to obtain aggregated order data.
In this embodiment of the present application, the aggregate order data and the order data included in the aggregate order data conform to the conditions defined by the aggregate limit parameter.
Specifically, when the aggregation limiting parameters are utilized to aggregate the order data, the order data to be aggregated is directly aggregated according to the aggregation limiting parameters, for example, when the aggregation limiting parameters include that the number of orders contained in the single aggregation order data is not more than 5, 5 orders can be directly and sequentially taken from the data to be aggregated to directly aggregate, and of course, after 5 orders are taken out, whether the limiting conditions are met or not needs to be judged according to other aggregation limiting parameters, for example, the number of all electronic devices in the orders contained in the single aggregation order data cannot exceed a set threshold, and when the orders in the single aggregation order data meet the aggregation limiting parameters, the orders are directly aggregated to form an aggregation order, so that the subsequent production is performed based on the aggregated orders. And when the selected order does not meet the limit conditions of the aggregation limit parameters, trying other orders to aggregate until all orders in the order data to be aggregated are aggregated.
Step 204, recording the correspondence between the aggregate order data and the order data contained in the aggregate order data.
After order aggregation is carried out on order data, the corresponding relation between the aggregated order data and the order data contained in the aggregated order data is required to be recorded, so that when the electronic equipment completes assembly and delivery, the electronic equipment to be delivered can be accurately determined, and the order can be conveniently delivered according to order content.
Step 205, determining components required by the electronic equipment based on the aggregate order data, and collecting the components to assemble the electronic equipment matched with the number of the electronic equipment in the aggregate order data.
After the aggregate order data is determined, the total number of electronic devices corresponding to each aggregate order can be determined, and the electronic devices can be formed by assembling the components based on the determined types and data of the components in the corresponding component libraries, such as the number of processors of which types are required, the number of types and the number of data interfaces required, the memory of which storage space is required, and the like. After the electronic equipment is assembled, the assembled electronic equipment can be packaged, the electronic equipment is split according to the number of the electronic equipment and the order address corresponding to each order in the aggregated order after the electronic equipment is packaged, and the electronic equipment can be sent to a user according to the order time.
In the embodiment of the application, multidimensional information related to the order data, such as the model of the electronic equipment, the product series to which the electronic equipment belongs, the delivery date required in the order data, the order scale and the like, are combined, so that the aggregated order can be considered to optimize a plurality of production targets, and is more suitable for actual industrial production. In addition, when order aggregation is carried out, parameters of an aggregation algorithm can be automatically adjusted by comprehensively considering the number of orders and the number of machines to be produced, and the orders are adaptively aggregated, so that the operation data quantity is reduced, and the optimization level of the production results is ensured.
Fig. 3 is a schematic process flow diagram of the adaptive order aggregation method provided in the embodiment of the present application, and as shown in fig. 3, an optional processing manner in the adaptive order aggregation method provided in the embodiment of the present application includes the following steps:
step 301, determining order aggregation limiting parameters of an electronic device based on order data for the electronic device.
In this embodiment of the present application, the order data may be a massive order from a network, for example, an order for an electronic device such as a mobile phone, a computer, a PAD, or the like, where the order is from any region of the world, and the user may determine, based on the model input in the order, a specific hardware and/or software configuration of the electronic device to be ordered by the user, as long as the user inputs the model of the required electronic device such as "future PRO type" of the association PC, and may perform corresponding production or assembly of the electronic device based on the order information. The order typically also includes information about the time of receipt desired by the user, the number of electronic devices ordered, the address of receipt of the electronic device, etc.
In this embodiment, an order processing period may be set, for example, the received order data may be collected every other week, which is a processing object of the order data.
It should be noted that this example is only an example of parameter determination, and is not a specific limitation of the present application, and any similar calculation modification or parameter transformation should be understood to fall within the scope of protection of the present application.
In this embodiment of the present application, the determining an order aggregation limiting parameter of the electronic device includes:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and calculating a weight factor based on the total number of order data to be arranged;
and carrying out first product operation on the number of the maximum electronic devices allowed to be aggregated and the weight factors, and determining an integer rounded up or down of a first product operation result as the number of the maximum electronic devices in single aggregated order data.
As an implementation manner, the calculating the weight factor based on the total number of the to-be-excluded order data includes:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
And taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
The applicationIn an embodiment, an upper limit M on the number of electronic devices for a single aggregate order u The determination can be made by the following formula:
M u =ceil(M max *max(0,1-1/log(1+N 0 )))
ceil () represents an upward or downward rounding function; max () represents the maximum value taking operation function, M max Representing the maximum number of electronic devices allowed in a single order as determined by business or experience, e.g., not allowing more than 500 electronic devices in a single order; if an order exceeds 500 electronic devices, the order is no longer of aggregate significance. N (N) 0 Representing the total number of orders to be processed, i.e. the number of all orders to be processed in a period.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
determining a median of the number of electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum electronic devices allowed to aggregate;
and calculating the number of the largest electronic devices in the single aggregated order data and the ratio, performing a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of electronic devices contained in the order data capable of participating in order aggregation.
Specifically, the maximum number of electronic devices contained in the order data that can participate in order aggregation can be determined by the following formula:
ceil(M u ×M 50 /M max )
electronic device quantity upper limit M for single aggregate order u Specific calculation methods have been given above, and the determination methods thereof are not described here again. M is M 50 Representing the number of electronic devices in the order corresponding to the median in the order data; m is M 50 The determination mode of (a) is as follows: orders to be aggregated are ordered sequentially by the number of corresponding electronic devices in the order, e.g., may be ordered in a less-to-more order or in a more-to-less order, where the orders are locatedThe number of electronic devices corresponding to the order in the intermediate position. Ceil () represents a round-up or down arithmetic function.
As will be appreciated by those skilled in the art, M 50 The method is described according to the median value, and any other numerical value which can show the statistical rule can replace the median value, such as the number of the electronic devices in the corresponding orders at 49%, 51%, 46%, 54% and the like. The value may also be empirically set.
Therefore, in the embodiment of the present application, when the orders to be aggregated are ordered from small to large in terms of the number of electronic devices in the orders, the number of electronic devices in the orders participating in the aggregation may be considered to be in the range of (0, ceil (M u *M 50 /M max )]The method comprises the steps of carrying out a first treatment on the surface of the Median M of the number of electronic devices in the totality of orders to be aggregated 50 In larger cases, the distribution of the number of electronic devices in the order is illustrated to be more uniform, thus allowing orders of data of larger electronic devices to participate in the aggregation; whereas M 50 In the smaller case, the number distribution of electronic devices in the order is illustrated as severely biased, and only orders of smaller numbers of electronic devices are allowed to participate in the aggregation.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of electronic devices in the order data;
calculating the ratio of the number of maximum electronic devices allowed to aggregate to the number of digits, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
The maximum value of the order data that can be contained in a single aggregate order data can be determined by the following formula:
ceil(sqrt(M max /M 25 ));
wherein M is max Representation according to business or warpVerifying the determined number of maximum electronic devices allowed in the single order, M 25 Representing the number of electronic devices in a 25 quantile order in the order. The orders to be aggregated are ordered according to the order number of the electronic devices corresponding to the orders, wherein the order number of the electronic devices corresponding to the orders in the 25% position is ordered according to the order number of the electronic devices corresponding to the orders. Ceil () represents an upward or downward rounding function; sqrt () represents taking the arithmetic square root operation function.
As will be appreciated by those skilled in the art, M 25 For exemplary purposes only, any other value that can exhibit statistical regularity may be substituted for the median value, such as the number of electronic devices in the corresponding order at 24%, 26%, 20%, 30% or the like. The value may also be empirically set.
Step 302, receiving a screening parameter for the order data, and screening the order data based on the screening parameter to obtain screened order data.
After determining the order data to be arranged, screening the order data of the object to be processed is needed, for example, screening the order data by combining the model of the electronic equipment in the order data, the product series of the electronic equipment, the number of the determined electronic equipment in the order data, the delivery time of the electronic equipment and other data dimensions, and taking a group of order data meeting screening conditions as the order data to be aggregated, wherein the screened order data has more common attributes, so that aggregation among orders is facilitated.
In the embodiment of the application, after the order data to be aggregated is determined by using the screening conditions, the order data to be aggregated can be further ordered according to the number of the corresponding electronic devices so as to determine the number of the electronic devices ordered in each order, so that the number of the electronic devices ordered in the order data can be counted, and an aggregation strategy for the order data can be determined so as to better aggregate the order data, and the subsequent electronic devices can be installed and packaged and shipped according to the order.
And step 303, aggregating the screening order data based on the aggregation limiting parameters to obtain aggregated order data.
In this embodiment of the present application, the aggregate order data and the order data included in the aggregate order data conform to the conditions defined by the aggregate limit parameter.
Specifically, when the aggregation limiting parameters are utilized to aggregate the order data, the order data to be aggregated is directly aggregated according to the aggregation limiting parameters, for example, when the aggregation limiting parameters include that the number of orders contained in the single aggregation order data is not more than 5, 5 orders can be directly and sequentially taken from the data to be aggregated to directly aggregate, and of course, after 5 orders are taken out, whether the limiting conditions are met or not needs to be judged according to other aggregation limiting parameters, for example, the number of all electronic devices in the orders contained in the single aggregation order data cannot exceed a set threshold, and when the orders in the single aggregation order data meet the aggregation limiting parameters, the orders are directly aggregated to form an aggregation order, so that the subsequent production is performed based on the aggregated orders. And when the selected order does not meet the limit conditions of the aggregation limit parameters, trying other orders to aggregate until all orders in the order data to be aggregated are aggregated.
Step 304, recording the correspondence between the aggregate order data and the order data contained in the aggregate order data.
After order aggregation is carried out on order data, the corresponding relation between the aggregated order data and the order data contained in the aggregated order data is required to be recorded, so that when the electronic equipment completes assembly and delivery, the electronic equipment to be delivered can be accurately determined, and the order can be conveniently delivered according to order content.
And 305, determining components required by the electronic equipment based on the aggregate order data, and collecting the components to assemble the electronic equipment matched with the number of the electronic equipment in the aggregate order data.
After the aggregate order data is determined, the total number of electronic devices corresponding to each aggregate order can be determined, and the electronic devices can be formed by assembling the components based on the determined types and data of the components in the corresponding component libraries, such as the number of processors of which types are required, the number of types and the number of data interfaces required, the memory of which storage space is required, and the like.
And 306, after the electronic equipment is assembled, splitting and packaging the electronic equipment according to the order data corresponding to the aggregated order data based on the corresponding relation between the aggregated order data and the order data contained in the aggregated order data, so as to distribute the electronic equipment corresponding to the split and packaged order data according to the order information corresponding to the order data.
After the electronic equipment is assembled, the assembled electronic equipment can be packaged, the electronic equipment is split according to the number of the electronic equipment and the order address corresponding to each order in the aggregated order after the electronic equipment is packaged, and the electronic equipment can be sent to a user according to the order time.
In the embodiment of the application, multidimensional information related to the order data, such as the model of the electronic equipment, the product series to which the electronic equipment belongs, the delivery date required in the order data, the order scale and the like, are combined, so that the aggregated order can be considered to optimize a plurality of production targets, and is more suitable for actual industrial production. In addition, when order aggregation is carried out, parameters of an aggregation algorithm can be automatically adjusted by comprehensively considering the number of orders and the number of machines to be produced, and the orders are adaptively aggregated, so that the operation data quantity is reduced, and the optimization level of the production results is ensured.
Based on the above-mentioned adaptive order aggregation method, the method may be implemented by hardware by using the electronic device shown in fig. 4, and the embodiment of the application further describes an electronic device 50, and fig. 4 is an optional schematic structural diagram of the electronic device 50 provided in the embodiment of the application, where, as shown in fig. 4, the electronic device 50 includes a memory 52, a data interface 55, a processor 51, and a computer program stored on the memory and capable of running on the processor; the memory 52, the data interface 55, and the processor 51 are electrically connected to each other through the data bus 53, and the data interface 55 is capable of exchanging data with an external device, such as receiving external data or transmitting data to the external device; the memory 52 and the processor 51 are implemented by the processor 51 of the electronic device 50, and the processor 51 executes the program at least:
determining order aggregation limiting parameters for a first electronic device based on order data for the first electronic device; in the embodiment of the present application, the first electronic device is an electronic device subscribed by a user through an order function in an order, which is different from the electronic device 50 in the embodiment of the present application.
Receiving screening parameters aiming at the order data, and screening the order data based on the screening parameters to obtain screened order data;
Based on the aggregation limiting parameters, aggregating the screening order data to obtain aggregated order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters;
components required for the first electronic device are determined based on the aggregate order data, and the acquisition component 54 is controlled to act to acquire the components so as to assemble the first electronic device matched with the number of the first electronic devices in the aggregate order data. In the embodiment of the present application, the collection component 54 may be an industrial robot, such as a working robot arm that can be controlled based on instructions.
As one implementation, the processor 51 determines an order aggregation limiting parameter of the first electronic device, including:
setting the number of the maximum first electronic devices allowed to aggregate for the single aggregate order data, and calculating a weight factor based on the total number of the order data to be arranged;
and carrying out first product operation on the number of the maximum first electronic devices allowed to be aggregated and the weight factors, and determining an integer of up or down rounding of a first product operation result as the number of the maximum first electronic devices in single aggregated order data.
As one implementation, the processor 51 calculates a weight factor based on the total number of to-be-placed order data, including:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
and taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
As one implementation, the processor 51 determines an order aggregation limiting parameter of the first electronic device, including:
determining a median of the number of first electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum first electronic devices allowed to aggregate;
and calculating the number of the largest first electronic devices in the single aggregated order data and the ratio to perform a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of the first electronic devices contained in the order data capable of participating in order aggregation.
As one implementation, the processor 51 determines an order aggregation limiting parameter of the first electronic device, including:
Setting a maximum number of first electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of first electronic devices in the order data;
calculating the ratio of the number of the maximum first electronic devices allowed to aggregate to the quantile, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As one implementation, the processor 51 determines order aggregation limiting parameters of the electronic device, including:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of electronic devices in the order data;
calculating the ratio of the number of maximum electronic devices allowed to aggregate to the number of digits, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As an implementation, the processor 51 is further capable of implementing the following processes:
After the electronic equipment is assembled, the electronic equipment is split and packaged according to the order data corresponding to the aggregated order data based on the corresponding relation between the aggregated order data and the order data contained in the aggregated order data, so that the electronic equipment corresponding to the split and packaged order data is distributed according to the order information corresponding to the order data.
The screening parameters include at least one of:
the model of the electronic device, the product series to which the electronic device belongs, the number of the electronic devices contained in the order data, and the order date of the electronic device.
It will be appreciated that the electronic device 50 may also include a communication interface; the various components in the electronic device 50 are coupled together by a bus system. It will be appreciated that a bus system is used to enable connected communications between these components. The bus system includes a power bus, a control bus, and a status signal bus in addition to the data bus.
It will be appreciated that the memory in this embodiment may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general purpose processor, DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium having memory and a processor reading information from the memory and performing the steps of the method in combination with hardware.
Fig. 5 is an optional structural schematic diagram of an electronic device provided in an embodiment of the present application, as shown in fig. 5, where an embodiment of the present application further describes an electronic device 600, where the electronic device 600 includes:
A determining unit 601, configured to determine an order aggregation limiting parameter of a first electronic device based on order data for the first electronic device;
a receiving unit 602, configured to receive screening parameters for the order data;
screening unit 603, screening the order data based on the screening parameters to obtain screened order data;
an aggregation unit 604, configured to aggregate the screening order data based on the aggregation limiting parameter, to obtain aggregate order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters;
a recording unit 605 configured to record correspondence between the aggregate order data and the order data contained in the aggregate order data;
and the acquisition unit 606 is used for determining components required by the first electronic equipment based on the aggregate order data, and acquiring the components to be assembled into the first electronic equipment matched with the first electronic equipment in the aggregate order data.
As an implementation manner, the determining unit 601 determines an order aggregation limiting parameter of the first electronic device, including:
Setting the number of the maximum first electronic devices allowed to aggregate for the single aggregate order data, and calculating a weight factor based on the total number of the order data to be arranged;
and carrying out first product operation on the number of the maximum first electronic devices allowed to be aggregated and the weight factors, and determining an integer of up or down rounding of a first product operation result as the number of the maximum first electronic devices in single aggregated order data.
As an implementation, the determining unit 601 calculates a weight factor based on a total number of to-be-excluded order data, including:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
and taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
As an implementation manner, the determining unit 601 determines an order aggregation limiting parameter of the first electronic device, including:
determining a median of the number of first electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum first electronic devices allowed to aggregate;
And calculating the number of the largest first electronic devices in the single aggregated order data and the ratio to perform a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of the first electronic devices contained in the order data capable of participating in order aggregation.
As an implementation manner, the determining unit 601 determines an order aggregation limiting parameter of the first electronic device, including:
setting a maximum number of first electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of first electronic devices in the order data;
calculating the ratio of the number of the maximum first electronic devices allowed to aggregate to the quantile, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As an implementation manner, the determining unit 601 determines an order aggregation limiting parameter of the electronic device, including:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of electronic devices in the order data;
Calculating the ratio of the number of maximum electronic devices allowed to aggregate to the number of digits, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
As an implementation, the electronic device further includes:
and the splitting and packaging unit (not shown in the figure) is used for splitting and packaging the electronic equipment according to the order data corresponding to the aggregated order data based on the corresponding relation between the aggregated order data and the order data contained in the aggregated order data after the electronic equipment is assembled, so that the electronic equipment corresponding to the order data after the splitting and packaging is distributed according to the order information corresponding to the order data.
The screening parameters include at least one of:
the model of the electronic device, the product series to which the electronic device belongs, the number of the electronic devices contained in the order data, and the order date of the electronic device.
In this embodiment of the present application, each processing unit in the electronic device 600 may be understood with reference to the corresponding step processing in the order aggregation method, and the basic functions of the processing units may be implemented based on a manner in which a processor executes a computer program, or based on an analog circuit or the like. In practical applications, the determining unit 601, the screening unit 603, the aggregation unit 604, the recording unit 605, the split packaging unit, etc. may be implemented by a central processing unit (CPU, central Processing Unit), a digital signal processor (DSP, digital Signal Processor), a micro control unit (MCU, microcontroller Unit), or a programmable gate array (FPGA, field-Programmable Gate Array), etc.; the acquisition unit 606 may be implemented by a robotic arm and a controller. The receiving unit may be implemented by a data interface. Such as may be implemented by a communication module (including: a basic communication suite, an operating system, a communication module, standardized interfaces and protocols, etc.), and a transceiver antenna.
The foregoing description of the preferred embodiments of the present application is not intended to limit the scope of the present application, but is intended to cover any modifications, equivalents, and alternatives falling within the spirit and principles of the present application.

Claims (8)

1. An adaptive order aggregation method, comprising:
determining order aggregation limiting parameters for an electronic device based on order data for the electronic device;
receiving screening parameters aiming at the order data, and screening the order data based on the screening parameters to obtain screened order data;
based on the aggregation limiting parameters, aggregating the screening order data to obtain aggregated order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters;
recording a correspondence between the aggregate order data and the order data contained in the aggregate order data;
determining components required by the electronic equipment based on the aggregate order data, and collecting the components to be assembled into electronic equipment matched with the number of the electronic equipment in the aggregate order data;
After the electronic equipment is assembled, based on the corresponding relation between the aggregate order data and the order data contained in the aggregate order data, the electronic equipment is split and packaged according to the order data corresponding to the aggregate order data, so that the electronic equipment corresponding to the split and packaged order data is distributed according to the order information corresponding to the order data;
the determining the order aggregation limiting parameter of the electronic equipment at least comprises the following steps:
setting the number of maximum electronic devices allowed to aggregate for single aggregate order data, and calculating a weight factor based on the total number of order data to be arranged;
and carrying out first product operation on the number of the maximum electronic devices allowed to be aggregated and the weight factors, and determining an integer rounded up or down of a first product operation result as the number of the maximum electronic devices in single aggregated order data.
2. The order aggregation method of claim 1, the calculating a weight factor based on a total number of to-be-excluded order data, comprising:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
And taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
3. The order aggregation method of claim 1, the determining order aggregation limiting parameters of the electronic device, further comprising:
determining a median of the number of electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum electronic devices allowed to aggregate;
and calculating the number of the largest electronic devices in the single aggregated order data and the ratio, performing a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of electronic devices contained in the order data capable of participating in order aggregation.
4. An electronic device comprising at least an acquisition component, and a processor, a data interface and a memory electrically connected to each other, wherein the memory stores a computer program, the data interface is capable of receiving external data, and the processor is capable of realizing at least the following processing when running the computer program:
determining order aggregation limiting parameters for a first electronic device based on order data for the first electronic device;
Receiving screening parameters aiming at the order data, and screening the order data based on the screening parameters to obtain screened order data;
based on the aggregation limiting parameters, aggregating the screening order data to obtain aggregated order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters;
determining components required by the first electronic equipment based on the aggregate order data, and controlling an acquisition component to act so as to acquire the components so as to assemble the components into first electronic equipment matched with the first electronic equipment in the aggregate order data;
after the first electronic equipment is assembled, splitting and packaging the first electronic equipment according to the order data corresponding to the aggregated order data based on the corresponding relation between the aggregated order data and the order data contained in the aggregated order data, so that the electronic equipment corresponding to the order data after splitting and packaging is distributed according to the order information corresponding to the order data;
the processor determines order aggregation limiting parameters of the first electronic device, including at least:
Setting the number of the maximum first electronic devices allowed to aggregate for the single aggregate order data, and calculating a weight factor based on the total number of the order data to be arranged;
and carrying out first product operation on the number of the maximum first electronic devices allowed to be aggregated and the weight factors, and determining an integer of up or down rounding of a first product operation result as the number of the maximum first electronic devices in single aggregated order data.
5. The electronic device of claim 4, the processor calculating a weight factor based on a total number of to-be-placed order data, comprising:
determining the total quantity of the order data to be discharged, and calculating the logarithmic value of the total quantity of the order data to be discharged or the sum of the total quantity of the order data to be discharged and a set value;
and taking the reciprocal of the logarithmic value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total number of the order data to be arranged to calculate the weight factor.
6. The electronic device of claim 4, the processor determining order aggregation limiting parameters for the first electronic device, further comprising:
determining a median of the number of first electronic devices contained in the order based on the order data, calculating a ratio of the median to the number of maximum first electronic devices allowed to aggregate;
And calculating the number of the largest first electronic devices in the single aggregated order data and the ratio to perform a second product operation, and determining an integer rounded up or down of the second product operation result as the largest number of the first electronic devices contained in the order data capable of participating in order aggregation.
7. The electronic device of claim 4, the processor determining order aggregation limiting parameters for the first electronic device, further comprising:
setting a maximum number of first electronic devices allowed to aggregate for single aggregate order data, and determining a quantile number based on the number of first electronic devices in the order data;
calculating the ratio of the number of the maximum first electronic devices allowed to aggregate to the quantile, calculating the arithmetic square root of the ratio, and determining the integer rounded up or down by the arithmetic square root as the maximum value of the order data which can be contained in single aggregate order data.
8. An electronic device, the electronic device comprising:
a determining unit configured to determine an order aggregation restriction parameter for a first electronic device based on order data for the first electronic device;
a receiving unit for receiving screening parameters for the order data;
The screening unit screens the order data based on the screening parameters to obtain screened order data;
the aggregation unit is used for aggregating the screening order data based on the aggregation limiting parameters to obtain aggregated order data; the order data contained in the aggregate order data meets the conditions defined by the aggregate limit parameters;
a recording unit configured to record correspondence between the aggregate order data and the order data included in the aggregate order data;
the acquisition unit is used for determining components required by the first electronic equipment based on the aggregate order data, and acquiring the components so as to be assembled into first electronic equipment matched with the first electronic equipment in the aggregate order data;
the splitting and packaging unit is used for splitting and packaging the first electronic equipment according to the order data corresponding to the aggregated order data based on the corresponding relation between the aggregated order data and the order data contained in the aggregated order data after the first electronic equipment is assembled, so that the electronic equipment corresponding to the split and packaged order data is distributed according to the order information corresponding to the order data;
The determining unit is further used for setting the number of the maximum first electronic devices allowed to aggregate for the single aggregate order data, and calculating a weight factor based on the total number of the order data to be arranged; and carrying out first product operation on the number of the maximum first electronic devices allowed to be aggregated and the weight factors, and determining an integer of up or down rounding of a first product operation result as the number of the maximum first electronic devices in single aggregated order data.
CN201911109325.2A 2019-11-13 2019-11-13 Self-adaptive order aggregation method and electronic equipment Active CN111062772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911109325.2A CN111062772B (en) 2019-11-13 2019-11-13 Self-adaptive order aggregation method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911109325.2A CN111062772B (en) 2019-11-13 2019-11-13 Self-adaptive order aggregation method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111062772A CN111062772A (en) 2020-04-24
CN111062772B true CN111062772B (en) 2024-03-05

Family

ID=70297821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911109325.2A Active CN111062772B (en) 2019-11-13 2019-11-13 Self-adaptive order aggregation method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111062772B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836402B (en) * 2021-09-08 2023-11-03 广州欧派创意家居设计有限公司 Order screening method based on data processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108022038A (en) * 2017-11-13 2018-05-11 清华大学 The scheduling management method and device of order
CN108694636A (en) * 2017-04-10 2018-10-23 北京京东尚科信息技术有限公司 A kind of method and apparatus of optimization group list
CN110111033A (en) * 2018-02-01 2019-08-09 北京京东尚科信息技术有限公司 A kind of method and apparatus that order shunts

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080262940A1 (en) * 2007-03-29 2008-10-23 Tsc Group Purchase Order and Invoice Aggregator System for Sales Environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108694636A (en) * 2017-04-10 2018-10-23 北京京东尚科信息技术有限公司 A kind of method and apparatus of optimization group list
CN108022038A (en) * 2017-11-13 2018-05-11 清华大学 The scheduling management method and device of order
CN110111033A (en) * 2018-02-01 2019-08-09 北京京东尚科信息技术有限公司 A kind of method and apparatus that order shunts

Also Published As

Publication number Publication date
CN111062772A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
US11106486B2 (en) Techniques to manage virtual classes for statistical tests
CN106462795B (en) System and method for allocating capital to trading strategies for big data trading in financial markets
CN111813624B (en) Robot execution time length estimation method based on time length analysis and related equipment thereof
CN108334408B (en) Code execution method and device, terminal equipment and computer readable storage medium
CN108268546A (en) A kind of method and device for optimizing database
CN112365070A (en) Power load prediction method, device, equipment and readable storage medium
CN111062772B (en) Self-adaptive order aggregation method and electronic equipment
CN110619407B (en) Object sales prediction method and system, electronic device and storage medium
CN117271100B (en) Algorithm chip cluster scheduling method, device, computer equipment and storage medium
CN113592156A (en) Power plant coal quantity scheduling method and device, terminal equipment and storage medium
CN110120082B (en) Image processing method, device and equipment for financial data and readable storage medium
CN116820714A (en) Scheduling method, device, equipment and storage medium of computing equipment
US11703835B2 (en) Methods, systems and data structures for optimizing parameter data retrieval from devices in a control system
CN115099759A (en) Management method and system suitable for flexible stereoscopic warehouse of communication products
CN112446570B (en) Inventory health index construction method, system, equipment and storage medium
CN114510521B (en) Data display method and device based on three-dimensional model and computer equipment
CN109902851A (en) A kind of the determination method and device of production plan
CN116372958A (en) RPA robot control method, device, computer equipment and storage medium
CN112580840A (en) Data analysis method and device
KR20230096808A (en) Seedling intergrated management system and a method for controlling an automation facility according to the establishment of a production plan using the system
CN117608257A (en) Cable production scheme generation method and electronic equipment
Wang et al. Multi-objective flow shop scheduling system based on wireless network genetic algorithm from perspective of artificial intelligence
CN117806951A (en) Intelligent scheduling method and related equipment applied to distributed operation of test cases
CN115562908A (en) Data backup strategy screening method and device
CN115374168A (en) Method, device, equipment and medium for constructing self-adaptive algorithm library

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