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

Self-adaptive order aggregation method and electronic equipment Download PDF

Info

Publication number
CN111062772A
CN111062772A CN201911109325.2A CN201911109325A CN111062772A CN 111062772 A CN111062772 A CN 111062772A CN 201911109325 A CN201911109325 A CN 201911109325A CN 111062772 A CN111062772 A CN 111062772A
Authority
CN
China
Prior art keywords
order data
aggregated
order
electronic equipment
aggregation
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.)
Granted
Application number
CN201911109325.2A
Other languages
Chinese (zh)
Other versions
CN111062772B (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

Images

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 an order aggregation limiting parameter 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; aggregating the screened order data based on the aggregation limiting parameters to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters; recording the corresponding relation between the aggregated order data and the order data contained in the aggregated order data; determining components required by the electronic equipment based on the aggregated order data, and collecting the components to assemble the components into the electronic equipment with the quantity matched with that of the electronic equipment in the aggregated order data.

Description

Self-adaptive order aggregation method and electronic equipment
Technical Field
The embodiment of the application relates to an order aggregation technology, and in particular relates to a self-adaptive order aggregation method and electronic equipment.
Background
The manufacturing industry of consumer-oriented electronic devices such as Personal Computers (PCs) or mobile phones faces serious challenges such as mass orders, sensitive delivery date of orders, various Stock Keeping Units (SKUs), complex process, limited manpower and material resources, and the like. In order to increase the on-time delivery rate of an order of an electronic device, the production line output and the order completion rate need to be increased 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 needs to be scheduled (referred to as scheduling for short) so as to fully utilize production resources as much as possible.
Scheduling can be analogous to path planning problems with multiple rounds, subject to limited resource constraints, and time window constraints. The problems belong to the problem that an uncertainty turing machine can solve in the P time, the calculation complexity is quite high, and the optimal solution cannot be guaranteed to be obtained in the polynomial time. In industrial production applications, only approximate solutions to the scheduling problem are typically available, and the time complexity of the solution will expand exponentially as the number of orders increases. Therefore, in the case of large-scale order production, the existing production scheduling method is generally performed by workers according to experience, and when the network electronic orders with huge data and from different geographic directions come, the general workers are difficult to summarize and perform production scheduling based on the orders, and cannot give production scheduling results within a limited time. The problem widely exists in the manufacturing industry with large-scale order demand, especially in the manufacturing industry of electronic equipment, and the order has wide dispersion and great randomness of the scale of order data, so that the problem becomes a major bottleneck of industry development. The traditional manual-based scheduling method highly depends on the experience of scheduling personnel, has high time and labor cost, is only suitable for small-scale and scattered primary manufacturing industries, and is difficult to execute under the conditions of strict management requirements, large order scale and complex manufacturing categories.
Disclosure of Invention
The embodiment of the application provides a self-adaptive order aggregation method and electronic equipment, which can perform autonomous analysis on parameters such as the number of required electronic equipment based on order data, make reasonable scheduling, and automatically distribute the electronic equipment in an order to a user based on scheduling results.
The embodiment of the application provides a self-adaptive order aggregation method, which comprises the following steps:
determining an order aggregation limiting parameter 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;
aggregating the screened order data based on the aggregation limiting parameters to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters;
recording the corresponding relation between the aggregated order data and the order data contained in the aggregated order data;
determining components required by the electronic equipment based on the aggregated order data, and collecting the components to assemble the components into the electronic equipment with the quantity matched with that of the electronic equipment in the aggregated order data.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and calculating a weight factor based on the total number of the order data to be ranked;
and performing a first product operation on the number of the maximum electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum electronic equipment in the single aggregated order data.
As one implementation, the calculating a weighting factor based on the total amount of the data of the order to be ranked includes:
determining the total amount of order data to be arranged, and calculating the total amount of the order data to be arranged or a logarithmic value of the sum of the total amount of the order data to be arranged and a set value;
and taking the reciprocal of the logarithm value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total amount 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 the electronic devices contained in the order based on the order data, and calculating a ratio of the median to the number of the maximum allowed aggregated electronic devices;
and calculating the maximum quantity of the electronic equipment 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 maximum quantity of the electronic equipment 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 the maximum allowed aggregated electronic equipment for single aggregated order data, and determining the quantile number based on the number of the electronic equipment in the order data;
calculating a ratio of the number of the largest electronic devices allowed to aggregate to the number of the quantiles, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
As an implementation, the method further comprises:
after the electronic equipment is assembled, based on the corresponding relationship between the aggregated order data and the order data contained in the aggregated order data, splitting and packaging the electronic equipment according to the order data corresponding to 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 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 devices.
An embodiment of the present application further provides an electronic device, where the electronic device at least includes an acquisition component, and a processor, a data interface, and a memory that are electrically connected to each other, where a computer program is stored in the memory, the data interface is capable of receiving external data, and when the processor runs the computer program, at least the following processing is implemented:
determining an order aggregation limiting parameter of 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;
aggregating the screened order data based on the aggregation limiting parameters to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters;
determining components required by the first electronic equipment based on the aggregated order data, and controlling an acquisition assembly to act to acquire the components so as to assemble the first electronic equipment with the quantity matched with that of the first electronic equipment in the aggregated order data.
As one implementation, the processor determining an order aggregation limiting parameter of the first electronic device includes:
setting the number of the maximum allowed aggregated first electronic equipment for single aggregated order data, and calculating a weight factor based on the total number of the order data to be ranked;
and performing a first product operation on the number of the maximum first electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum first electronic equipment in the single aggregated order data.
As one implementation, the processor calculates a weighting factor based on a total amount of order data to be placed, including:
determining the total amount of order data to be arranged, and calculating the total amount of the order data to be arranged or a logarithmic value of the sum of the total amount of the order data to be arranged and a set value;
and taking the reciprocal of the logarithm value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total amount of the order data to be arranged to calculate the weight factor.
As one implementation, the processor determining an order aggregation limiting parameter of the first electronic device includes:
determining a median of the number of the first electronic devices contained in the order based on the order data, and calculating a ratio of the median to the maximum number of the first electronic devices allowed to be aggregated;
and calculating the maximum number of the first electronic equipment 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 maximum number of the first electronic equipment contained in the order data capable of participating in order aggregation.
As one implementation, the processor determining an order aggregation limiting parameter of the first electronic device includes:
setting the maximum number of the first electronic equipment allowed to be aggregated for single aggregation order data, and determining the quantile number based on the number of the first electronic equipment in the order data;
calculating a ratio of the number of the largest first electronic devices allowed to aggregate to the quantile number, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
As one implementation, the processor determines an order aggregation limiting parameter of the electronic device, including:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and determining the quantile number based on the number of the electronic equipment in the order data;
calculating a ratio of the number of the largest electronic devices allowed to aggregate to the number of the quantiles, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
As an implementation, the processor is further capable of implementing the following:
after the electronic equipment is assembled, based on the corresponding relationship between the aggregated order data and the order data contained in the aggregated order data, splitting and packaging the electronic equipment according to the order data corresponding to 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 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 devices.
An embodiment of the present application further provides an electronic device, where the electronic device includes:
a determining unit, configured to determine an order aggregation limiting parameter of a first electronic device based on order data for the first electronic device;
the receiving unit is used for receiving the screening parameters aiming at 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 screened order data based on the aggregation limiting parameters to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters;
a recording unit, configured to record a correspondence between the aggregated order data and the order data included in the aggregated order data;
and the acquisition unit is used for determining components required by the first electronic equipment based on the aggregated order data, and acquiring the components to be assembled into the first electronic equipment with the number matched with that of the first electronic equipment in the aggregated order data.
As an implementation manner, the determining unit determines the order aggregation limiting parameter of the first electronic device, including:
setting the number of the maximum allowed aggregated first electronic equipment for single aggregated order data, and calculating a weight factor based on the total number of the order data to be ranked;
and performing a first product operation on the number of the maximum first electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum first electronic equipment in the single aggregated order data.
As one implementation, the determining unit calculates a weighting factor based on the total amount of the order data to be arranged, including:
determining the total amount of order data to be arranged, and calculating the total amount of the order data to be arranged or a logarithmic value of the sum of the total amount of the order data to be arranged and a set value;
and taking the reciprocal of the logarithm value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total amount of the order data to be arranged to calculate the weight factor.
As an implementation manner, the determining unit determines the order aggregation limiting parameter of the first electronic device, including:
determining a median of the number of the first electronic devices contained in the order based on the order data, and calculating a ratio of the median to the maximum number of the first electronic devices allowed to be aggregated;
and calculating the maximum number of the first electronic equipment 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 maximum number of the first electronic equipment contained in the order data capable of participating in order aggregation.
As an implementation manner, the determining unit determines the order aggregation limiting parameter of the first electronic device, including:
setting the maximum number of the first electronic equipment allowed to be aggregated for single aggregation order data, and determining the quantile number based on the number of the first electronic equipment in the order data;
calculating a ratio of the number of the largest first electronic devices allowed to aggregate to the quantile number, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
As an implementation manner, the determining unit determines the order aggregation limiting parameter of the electronic device, including:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and determining the quantile number based on the number of the electronic equipment in the order data;
calculating a ratio of the number of the largest electronic devices allowed to aggregate to the number of the quantiles, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a 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 relationship 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 splitting and packaging is distributed according to the corresponding order information in 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 devices.
In the embodiment of the application, the 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, is combined, so that the aggregated order can be considered to optimize a plurality of production targets, and the method is more suitable for actual industrial production. In addition, when order aggregation is carried out, the parameters of the aggregation algorithm can be automatically adjusted by comprehensively considering the number of orders and the number of machines to be scheduled, and the orders are adaptively aggregated, so that the operation data amount is reduced, and the optimization level of scheduling results is ensured.
Drawings
Fig. 1 is a schematic processing flow diagram of an adaptive order aggregation method according to an embodiment of the present application;
fig. 2 is a schematic processing flow diagram of an adaptive order aggregation method according to an embodiment of the present application;
fig. 3 is a schematic processing flow diagram of an adaptive order aggregation method according to an embodiment of the present application;
FIG. 4 is an alternative schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is an alternative structural schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection 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 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, so that a method or apparatus including a series of elements includes not only the explicitly recited elements but also other elements not explicitly listed or inherent to the method or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other related elements in a method or apparatus including the element (e.g., steps in a method or elements in an apparatus, such as units that may be part of a circuit, part of a processor, part of a program or software, etc.).
The following describes an exemplary application of the electronic device implementing the embodiment of the present application, and the electronic device provided in the embodiment of the present application may be implemented as various types of dual-posture or multi-posture electronic devices including a first body and a second body, such as a tablet computer, a mobile phone, a remote controller, a wearable device, a multimedia playing device, or an intelligent vehicle.
Fig. 1 is a schematic processing 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 the embodiment of the present application includes the following steps:
step 101, determining an order aggregation limiting parameter of an electronic device based on order data for the electronic device.
In this embodiment, the order data may be a mass order from a network, for example, an order for an electronic device such as a mobile phone, a computer, or a PAD, where the order is from any region around the world, and a user may determine a specific hardware and/or software configuration of the electronic device to be ordered by the user based on the model input in the order, as long as the user inputs a model of the required electronic device such as a "future PRO type" of an associated PC, and may perform corresponding production or assembly of the electronic device based on the order information. The order typically also includes information such as the time of receipt desired by the user, the number of electronic devices ordered, the recipient address of the electronic device, etc.
In the embodiment of the present application, an order processing cycle may be set, for example, received order data may be collected every other week to be a processing object of the order data.
And 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 the order data to be arranged is determined, the order data of the object to be processed needs to be screened, for example, the order data is screened according to data dimensions such as the model of the electronic device, the product series to which the electronic device belongs, the number of the determined electronic devices in the order data, the delivery time of the electronic device and the like in the order data, a group of order data meeting the screening condition is used as the order data to be aggregated, and 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 sequenced according to the number of the electronic devices corresponding to the order data to determine how many the number of the electronic devices ordered in each order is, so that the number of the electronic devices ordered in the order data can be counted, and an aggregation strategy for the order data is determined, so that the order data can be aggregated better, and subsequent electronic devices are installed and packaged according to the orders.
And 103, aggregating the screened order data based on the aggregation limiting parameters to obtain aggregated order data.
In the embodiment of the present application, the aggregated order data and the order data included in the aggregated order data meet the conditions defined by the aggregation limit parameters.
Specifically, when order data are aggregated by using aggregation limiting parameters, the order data to be aggregated are directly aggregated according to the aggregation limiting parameters, for example, when the aggregation limiting parameters include that the number of orders included in a single aggregated order data does not exceed 5, 5 orders can be directly taken from the data to be aggregated to be directly aggregated, and naturally, after 5 orders are taken, whether a limiting condition is met or not needs to be judged according to other aggregation limiting parameters, for example, the number of all electronic devices in the orders included in the single aggregated order data cannot exceed a set threshold, and when the orders in the single aggregated order data meet the aggregation limiting parameters, the orders are directly aggregated to form an aggregated order, so that a subsequent production scheduling is performed based on the aggregated orders. And when the selected order does not meet the limit condition of the aggregation limit parameter, trying other orders for aggregation until all orders in the order data to be aggregated are completed.
Step 104, recording the corresponding relation between the aggregated order data and the order data contained in the aggregated order data.
After order aggregation is performed on order data, the corresponding relationship between the aggregated order data and the order data contained in the aggregated order data needs 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 the order content.
And 105, determining components required by the electronic equipment based on the aggregated order data, and collecting the components to assemble the components into the electronic equipment with the quantity matched with that of the electronic equipment in the aggregated order data.
After the aggregate order data is determined, the total number of the electronic devices corresponding to each aggregate order can be determined, the types of processors, the types and the number of data interfaces, the memories of storage spaces and the like of the components required by the electronic devices are required, corresponding collection is carried out on the components in the corresponding component library based on the determined types and data of the components, and the components are assembled to form the electronic devices after collection. After the assembly is completed, the assembled electronic equipment can be packaged, the electronic equipment is split according to the number and the order address of the electronic equipment corresponding to each order in the aggregated order, and the electronic equipment can be sent to the user according to the order time.
In the embodiment of the application, the 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, is combined, so that the aggregated order can be considered to optimize a plurality of production targets, and the method is more suitable for actual industrial production. In addition, when order aggregation is carried out, the parameters of the aggregation algorithm can be automatically adjusted by comprehensively considering the number of orders and the number of machines to be scheduled, and the orders are adaptively aggregated, so that the operation data amount is reduced, and the optimization level of scheduling results is ensured.
Fig. 2 is a schematic processing 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, the order data may be a mass order from a network, for example, an order for an electronic device such as a mobile phone, a computer, or a PAD, where the order is from any region around the world, and a user may determine a specific hardware and/or software configuration of the electronic device to be ordered by the user based on the model input in the order, as long as the user inputs a model of the required electronic device such as a "future PRO type" of an associated PC, and may perform corresponding production or assembly of the electronic device based on the order information. The order typically also includes information such as the time of receipt desired by the user, the number of electronic devices ordered, the recipient address of the electronic device, etc.
In the embodiment of the present application, an order processing cycle may be set, for example, received order data may be collected every other week to be a processing object of the order data.
The following detailed description is provided for how to determine the order aggregation limiting parameter, and it should be reminded that this example is only an example of parameter determination and is not a specific limitation of the present application, and any similar calculation variants or parameter transformations should be understood as falling within the scope of the present application.
In this embodiment of the application, the determining the order aggregation limiting parameter of the electronic device includes:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and calculating a weight factor based on the total number of the order data to be ranked;
and performing a first product operation on the number of the maximum electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum electronic equipment in the single aggregated order data.
As one implementation, the calculating a weighting factor based on the total amount of the data of the order to be ranked includes:
determining the total amount of order data to be arranged, and calculating the total amount of the order data to be arranged or a logarithmic value of the sum of the total amount of the order data to be arranged and a set value;
and taking the reciprocal of the logarithm value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total amount of the order data to be arranged to calculate the weight factor.
In the embodiment of the present application, the upper limit M of the number of electronic devices in a single aggregate order isuCan be determined by the following formula:
Mu=ceil(Mmax*max(0,1-1/log(1+N0)))
ceil () represents a ceiling or floor rounding function; max () represents the maximum-valued arithmetic function, MmaxRepresents the maximum number of electronic devices allowed in a single order as determined by business or experience, e.g., no more than 500 electronic devices are allowed in a single order; if an order exceeds 500 electronic devices, the order no longer has an aggregated meaning. N is a radical of0Represents the total order quantity of orders to be processed, i.e., all the order quantities that need to be processed in a period of time.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
determining a median of the number of the electronic devices contained in the order based on the order data, and calculating a ratio of the median to the number of the maximum allowed aggregated electronic devices;
and calculating the maximum quantity of the electronic equipment 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 maximum quantity of the electronic equipment contained in the order data capable of participating in order aggregation.
Specifically, the maximum number of electronic devices included in the order data capable of participating in order aggregation may be determined by the following formula:
ceil(Mu×M50/Mmax)
upper limit M for number of electronic devices for single aggregated orderuThe specific calculation method has been given above, and the determination method is not described herein again. M50Representing the quantity of the electronic equipment in the order corresponding to the median in the order data; m50The determination method comprises the following steps: the orders to be aggregated are ordered in sequence according to the number of the corresponding electronic devices in the orders, for example, the orders can be ordered from less to more, or ordered from more to less, wherein the order in the middle position corresponds to the number of the corresponding electronic devices. Ceil () represents a ceiling or floor rounding function.
As will be understood by those skilled in the art, M50The description is given according to the median value, and any other value that can exhibit the statistical rule can be substituted for the median value, for example, the number of the electronic devices in the corresponding order at the positions of 49%, 51%, 46%, 54% and the like can be taken. The value may also be set empirically.
Therefore, in the embodiment of the present application, after the order to be aggregated is sorted from small to large according to the number of the electronic devices in the order, the number of the electronic devices in the order participating in aggregation may be considered to be in the range of (0, ceil (M)u*M50/Mmax)](ii) a In the whole to-be-aggregated orderMedian M of the number of medium electronic devices50In a larger case, it is stated that the distribution of the number of electronic devices in the order is more uniform, thus allowing the order of data of larger electronic devices to participate in aggregation; otherwise M50In a smaller case, the distribution of the number of the electronic devices in the order is seriously biased, and only the order with the smaller number of the electronic devices is 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 the maximum allowed aggregated electronic equipment for single aggregated order data, and determining the quantile number based on the number of the electronic equipment in the order data;
calculating a ratio of the number of the largest electronic devices allowed to aggregate to the number of the quantiles, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a 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(Mmax/M25));
wherein M ismaxRepresenting the maximum number of electronic devices allowed in a single order, M, determined by business or experience25Representing the number of electronic devices in the 25 quantile order in the order. And sequencing the orders to be aggregated according to the quantity of the electronic equipment corresponding to the orders from small to large, wherein the quantity of the electronic equipment corresponding to the orders with the orders at 25% positions is obtained. Ceil () represents a ceiling or floor rounding function; sqrt () represents taking the arithmetic square root operation function.
As will be understood by those skilled in the art, M25For illustrative purposes only, any other value that can exhibit statistical rules may be substituted for the median value, for example, the number of electronic devices in the corresponding order at the positions of 24%, 26%, 20%, 30% and the like may be taken. The value may also be set empirically.
Step 202, receiving a screening parameter for the order data, and screening the order data based on the screening parameter to obtain screened order data.
After the order data to be arranged is determined, the order data of the object to be processed needs to be screened, for example, the order data is screened according to data dimensions such as the model of the electronic device, the product series to which the electronic device belongs, the number of the determined electronic devices in the order data, the delivery time of the electronic device and the like in the order data, a group of order data meeting the screening condition is used as the order data to be aggregated, and 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 sequenced according to the number of the electronic devices corresponding to the order data to determine how many the number of the electronic devices ordered in each order is, so that the number of the electronic devices ordered in the order data can be counted, and an aggregation strategy for the order data is determined, so that the order data can be aggregated better, and subsequent electronic devices are installed and packaged according to the orders.
And 203, aggregating the screened order data based on the aggregation limiting parameters to obtain aggregated order data.
In the embodiment of the present application, the aggregated order data and the order data included in the aggregated order data meet the conditions defined by the aggregation limit parameters.
Specifically, when order data are aggregated by using aggregation limiting parameters, the order data to be aggregated are directly aggregated according to the aggregation limiting parameters, for example, when the aggregation limiting parameters include that the number of orders included in a single aggregated order data does not exceed 5, 5 orders can be directly taken from the data to be aggregated to be directly aggregated, and naturally, after 5 orders are taken, whether a limiting condition is met or not needs to be judged according to other aggregation limiting parameters, for example, the number of all electronic devices in the orders included in the single aggregated order data cannot exceed a set threshold, and when the orders in the single aggregated order data meet the aggregation limiting parameters, the orders are directly aggregated to form an aggregated order, so that a subsequent production scheduling is performed based on the aggregated orders. And when the selected order does not meet the limit condition of the aggregation limit parameter, trying other orders for aggregation until all orders in the order data to be aggregated are completed.
Step 204, recording the corresponding relation between the aggregated order data and the order data contained in the aggregated order data.
After order aggregation is performed on order data, the corresponding relationship between the aggregated order data and the order data contained in the aggregated order data needs 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 the order content.
Step 205, determining components required by the electronic equipment based on the aggregated order data, and collecting the components to assemble the components into the electronic equipment with the quantity matched with that of the electronic equipment in the aggregated order data.
After the aggregate order data is determined, the total number of the electronic devices corresponding to each aggregate order can be determined, the types of processors, the types and the number of data interfaces, the memories of storage spaces and the like of the components required by the electronic devices are required, corresponding collection is carried out on the components in the corresponding component library based on the determined types and data of the components, and the components are assembled to form the electronic devices after collection. After the assembly is completed, the assembled electronic equipment can be packaged, the electronic equipment is split according to the number and the order address of the electronic equipment corresponding to each order in the aggregated order, and the electronic equipment can be sent to the user according to the order time.
In the embodiment of the application, the 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, is combined, so that the aggregated order can be considered to optimize a plurality of production targets, and the method is more suitable for actual industrial production. In addition, when order aggregation is carried out, the parameters of the aggregation algorithm can be automatically adjusted by comprehensively considering the number of orders and the number of machines to be scheduled, and the orders are adaptively aggregated, so that the operation data amount is reduced, and the optimization level of scheduling results is ensured.
Fig. 3 is a schematic processing 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 an order aggregation limiting parameter of an electronic device based on order data for the electronic device.
In this embodiment, the order data may be a mass order from a network, for example, an order for an electronic device such as a mobile phone, a computer, or a PAD, where the order is from any region around the world, and a user may determine a specific hardware and/or software configuration of the electronic device to be ordered by the user based on the model input in the order, as long as the user inputs a model of the required electronic device such as a "future PRO type" of an associated PC, and may perform corresponding production or assembly of the electronic device based on the order information. The order typically also includes information such as the time of receipt desired by the user, the number of electronic devices ordered, the recipient address of the electronic device, etc.
In the embodiment of the present application, an order processing cycle may be set, for example, received order data may be collected every other week to be a processing object of the order data.
The following detailed description is provided for how to determine the order aggregation limiting parameter, and it should be reminded that this example is only an example of parameter determination and is not a specific limitation of the present application, and any similar calculation variants or parameter transformations should be understood as falling within the scope of the present application.
In this embodiment of the application, the determining the order aggregation limiting parameter of the electronic device includes:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and calculating a weight factor based on the total number of the order data to be ranked;
and performing a first product operation on the number of the maximum electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum electronic equipment in the single aggregated order data.
As one implementation, the calculating a weighting factor based on the total amount of the data of the order to be ranked includes:
determining the total amount of order data to be arranged, and calculating the total amount of the order data to be arranged or a logarithmic value of the sum of the total amount of the order data to be arranged and a set value;
and taking the reciprocal of the logarithm value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total amount of the order data to be arranged to calculate the weight factor.
In the embodiment of the present application, the upper limit M of the number of electronic devices in a single aggregate order isuCan be determined by the following formula:
Mu=ceil(Mmax*max(0,1-1/log(1+N0)))
ceil () represents a ceiling or floor rounding function; max () represents the maximum-valued arithmetic function, MmaxRepresents the maximum number of electronic devices allowed in a single order as determined by business or experience, e.g., no more than 500 electronic devices are allowed in a single order; if an order exceeds 500 electronic devices, the order no longer has an aggregated meaning. N is a radical of0Represents the total order quantity of orders to be processed, i.e., all the order quantities that need to be processed in a period of time.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
determining a median of the number of the electronic devices contained in the order based on the order data, and calculating a ratio of the median to the number of the maximum allowed aggregated electronic devices;
and calculating the maximum quantity of the electronic equipment 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 maximum quantity of the electronic equipment contained in the order data capable of participating in order aggregation.
Specifically, the maximum number of electronic devices included in the order data capable of participating in order aggregation may be determined by the following formula:
ceil(Mu×M50/Mmax)
upper limit M for number of electronic devices for single aggregated orderuThe specific calculation method has been given above, and the determination method is not described herein again. M50Representing the quantity of the electronic equipment in the order corresponding to the median in the order data; m50The determination method comprises the following steps: the orders to be aggregated are ordered in sequence according to the number of the corresponding electronic devices in the orders, for example, the orders can be ordered from less to more, or ordered from more to less, wherein the order in the middle position corresponds to the number of the corresponding electronic devices. Ceil () represents a ceiling or floor rounding function.
As will be understood by those skilled in the art, M50The description is given according to the median value, and any other value that can exhibit the statistical rule can be substituted for the median value, for example, the number of the electronic devices in the corresponding order at the positions of 49%, 51%, 46%, 54% and the like can be taken. The value may also be set empirically.
Therefore, in the embodiment of the present application, after the order to be aggregated is sorted from small to large according to the number of the electronic devices in the order, the number of the electronic devices in the order participating in aggregation may be considered to be in the range of (0, ceil (M)u*M50/Mmax)](ii) a Median number of electronic devices M in total to be aggregated orders50In a larger case, it is stated that the distribution of the number of electronic devices in the order is more uniform, thus allowing the order of data of larger electronic devices to participate in aggregation; otherwise M50In the smaller case, the serious deviation of the quantity distribution of the electronic equipment in the order is illustrated, and only the smaller case is allowedThe order of the number of electronic devices of (a) participates in the aggregation.
As one implementation, the determining the order aggregation limiting parameter of the electronic device includes:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and determining the quantile number based on the number of the electronic equipment in the order data;
calculating a ratio of the number of the largest electronic devices allowed to aggregate to the number of the quantiles, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a 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(Mmax/M25));
wherein M ismaxRepresenting the maximum number of electronic devices allowed in a single order, M, determined by business or experience25Representing the number of electronic devices in the 25 quantile order in the order. And sequencing the orders to be aggregated according to the quantity of the electronic equipment corresponding to the orders from small to large, wherein the quantity of the electronic equipment corresponding to the orders with the orders at 25% positions is obtained. Ceil () represents a ceiling or floor rounding function; sqrt () represents taking the arithmetic square root operation function.
As will be understood by those skilled in the art, M25For illustrative purposes only, any other value that can exhibit statistical rules may be substituted for the median value, for example, the number of electronic devices in the corresponding order at the positions of 24%, 26%, 20%, 30% and the like may be taken. The value may also be set empirically.
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 the order data to be arranged is determined, the order data of the object to be processed needs to be screened, for example, the order data is screened according to data dimensions such as the model of the electronic device, the product series to which the electronic device belongs, the number of the determined electronic devices in the order data, the delivery time of the electronic device and the like in the order data, a group of order data meeting the screening condition is used as the order data to be aggregated, and 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 sequenced according to the number of the electronic devices corresponding to the order data to determine how many the number of the electronic devices ordered in each order is, so that the number of the electronic devices ordered in the order data can be counted, and an aggregation strategy for the order data is determined, so that the order data can be aggregated better, and subsequent electronic devices are installed and packaged according to the orders.
Step 303, aggregating the screened order data based on the aggregation limiting parameter to obtain aggregated order data.
In the embodiment of the present application, the aggregated order data and the order data included in the aggregated order data meet the conditions defined by the aggregation limit parameters.
Specifically, when order data are aggregated by using aggregation limiting parameters, the order data to be aggregated are directly aggregated according to the aggregation limiting parameters, for example, when the aggregation limiting parameters include that the number of orders included in a single aggregated order data does not exceed 5, 5 orders can be directly taken from the data to be aggregated to be directly aggregated, and naturally, after 5 orders are taken, whether a limiting condition is met or not needs to be judged according to other aggregation limiting parameters, for example, the number of all electronic devices in the orders included in the single aggregated order data cannot exceed a set threshold, and when the orders in the single aggregated order data meet the aggregation limiting parameters, the orders are directly aggregated to form an aggregated order, so that a subsequent production scheduling is performed based on the aggregated orders. And when the selected order does not meet the limit condition of the aggregation limit parameter, trying other orders for aggregation until all orders in the order data to be aggregated are completed.
Step 304, recording the corresponding relationship between the aggregated order data and the order data contained in the aggregated order data.
After order aggregation is performed on order data, the corresponding relationship between the aggregated order data and the order data contained in the aggregated order data needs 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 the order content.
Step 305, determining components required by the electronic equipment based on the aggregated order data, and collecting the components to assemble the components into the electronic equipment with the quantity matched with that of the electronic equipment in the aggregated order data.
After the aggregate order data is determined, the total number of the electronic devices corresponding to each aggregate order can be determined, the types of processors, the types and the number of data interfaces, the memories of storage spaces and the like of the components required by the electronic devices are required, corresponding collection is carried out on the components in the corresponding component library based on the determined types and data of the components, and the components are assembled to form the electronic devices after collection.
Step 306, after the electronic device is assembled, based on the corresponding relationship between the aggregated order data and the order data included in the aggregated order data, splitting and packaging the electronic device according to the order data corresponding to the aggregated order data, so as to distribute the electronic device corresponding to the order data after splitting and packaging according to the order information corresponding to the order data.
After the assembly is completed, the assembled electronic equipment can be packaged, the electronic equipment is split according to the number and the order address of the electronic equipment corresponding to each order in the aggregated order, and the electronic equipment can be sent to the user according to the order time.
In the embodiment of the application, the 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, is combined, so that the aggregated order can be considered to optimize a plurality of production targets, and the method is more suitable for actual industrial production. In addition, when order aggregation is carried out, the parameters of the aggregation algorithm can be automatically adjusted by comprehensively considering the number of orders and the number of machines to be scheduled, and the orders are adaptively aggregated, so that the operation data amount is reduced, and the optimization level of scheduling results is ensured.
Based on the foregoing adaptive order aggregation method, which can be implemented by hardware through the electronic device shown in fig. 4, an embodiment of the present application further describes an electronic device 50, fig. 4 is an optional structural schematic diagram of the electronic device 50 provided in the embodiment of the present application, and 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 a 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 embodiments, and the processor 51 located in the electronic device 50 can at least realize the following when executing the program:
determining an order aggregation limiting parameter of 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 the user through an order function in an order, and 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;
aggregating the screened order data based on the aggregation limiting parameters to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters;
determining components required by the first electronic equipment based on the aggregated order data, and controlling the acquisition component 54 to act to acquire the components so as to assemble the first electronic equipment with the number matched with that of the first electronic equipment in the aggregated order data. In the embodiment of the present application, the collecting component 54 may be an industrial robot, such as an arm of an operation robot that can be controlled based on instructions.
As one implementation, the processor 51 determines the order aggregation limiting parameter of the first electronic device, including:
setting the number of the maximum allowed aggregated first electronic equipment for single aggregated order data, and calculating a weight factor based on the total number of the order data to be ranked;
and performing a first product operation on the number of the maximum first electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum first electronic equipment in the single aggregated order data.
As one implementation, the processor 51 calculates a weighting factor based on the total amount of data of the order to be ranked, including:
determining the total amount of order data to be arranged, and calculating the total amount of the order data to be arranged or a logarithmic value of the sum of the total amount of the order data to be arranged and a set value;
and taking the reciprocal of the logarithm value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total amount of the order data to be arranged to calculate the weight factor.
As one implementation, the processor 51 determines the order aggregation limiting parameter of the first electronic device, including:
determining a median of the number of the first electronic devices contained in the order based on the order data, and calculating a ratio of the median to the maximum number of the first electronic devices allowed to be aggregated;
and calculating the maximum number of the first electronic equipment 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 maximum number of the first electronic equipment contained in the order data capable of participating in order aggregation.
As one implementation, the processor 51 determines the order aggregation limiting parameter of the first electronic device, including:
setting the maximum number of the first electronic equipment allowed to be aggregated for single aggregation order data, and determining the quantile number based on the number of the first electronic equipment in the order data;
calculating a ratio of the number of the largest first electronic devices allowed to aggregate to the quantile number, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
As one implementation, the processor 51 determines the order aggregation limiting parameter of the electronic device, including:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and determining the quantile number based on the number of the electronic equipment in the order data;
calculating a ratio of the number of the largest electronic devices allowed to aggregate to the number of the quantiles, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
As an implementation, the processor 51 can also implement the following processing:
after the electronic equipment is assembled, based on the corresponding relationship between the aggregated order data and the order data contained in the aggregated order data, splitting and packaging the electronic equipment according to the order data corresponding to 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 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 devices.
It is to be understood 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 communications among the components. The bus system includes a power bus, a control bus, and a status signal bus in addition to a data bus.
It will be appreciated that the memory in this embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a magnetic random access Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memories described in the embodiments of the present application are 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 may be 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 instructions in the form of software. The processor described above may be a general purpose processor, a 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 the embodiments of the present application. A 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 implemented by 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 a memory and a processor reading the information in the memory and combining the hardware to perform the steps of the method.
Fig. 5 is an optional structural schematic diagram of an electronic device provided in an embodiment of the present application, and as shown in fig. 5, an electronic device 600 is further described in the embodiment of the present application, 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 a screening parameter for the order data;
a screening unit 603 configured to screen the order data based on the screening parameters to obtain screened order data;
an aggregation unit 604, configured to aggregate the screened order data based on the aggregation limiting parameter to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters;
a recording unit 605, configured to record a correspondence between the aggregated order data and the order data included in the aggregated order data;
and the acquisition unit 606 is configured to determine components required by the first electronic device based on the aggregated order data, and acquire the components to assemble the components into the first electronic device with the number matched with that of the first electronic devices in the aggregated order data.
As an implementation manner, the determining unit 601 determines the order aggregation limiting parameter of the first electronic device, including:
setting the number of the maximum allowed aggregated first electronic equipment for single aggregated order data, and calculating a weight factor based on the total number of the order data to be ranked;
and performing a first product operation on the number of the maximum first electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum first electronic equipment in the single aggregated order data.
As one implementation manner, the determining unit 601 calculates a weighting factor based on the total amount of the order data to be ranked, including:
determining the total amount of order data to be arranged, and calculating the total amount of the order data to be arranged or a logarithmic value of the sum of the total amount of the order data to be arranged and a set value;
and taking the reciprocal of the logarithm value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total amount of the order data to be arranged to calculate the weight factor.
As an implementation manner, the determining unit 601 determines the order aggregation limiting parameter of the first electronic device, including:
determining a median of the number of the first electronic devices contained in the order based on the order data, and calculating a ratio of the median to the maximum number of the first electronic devices allowed to be aggregated;
and calculating the maximum number of the first electronic equipment 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 maximum number of the first electronic equipment contained in the order data capable of participating in order aggregation.
As an implementation manner, the determining unit 601 determines the order aggregation limiting parameter of the first electronic device, including:
setting the maximum number of the first electronic equipment allowed to be aggregated for single aggregation order data, and determining the quantile number based on the number of the first electronic equipment in the order data;
calculating a ratio of the number of the largest first electronic devices allowed to aggregate to the quantile number, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
As an implementation manner, the determining unit 601 determines the order aggregation limiting parameter of the electronic device, including:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and determining the quantile number based on the number of the electronic equipment in the order data;
calculating a ratio of the number of the largest electronic devices allowed to aggregate to the number of the quantiles, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
As an implementation, the electronic device further includes:
a splitting and packaging unit (not shown in the figure), configured to, after the electronic device is assembled, split and package the electronic device according to the order data corresponding to the aggregated order data based on a corresponding relationship between the aggregated order data and the order data included in the aggregated order data, so as to distribute the electronic device corresponding to the split and packaged order data 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 devices.
In the embodiment of the present application, each processing unit in the electronic device 600 may refer to corresponding step processing in the order aggregation method, and the basic functions of the processing unit may be implemented based on a mode in which a computer program is executed by a processor, or implemented based on an analog circuit or the like. In practical applications, the determining Unit 601, the screening Unit 603, the aggregating Unit 604, the recording Unit 605, the splitting and packaging Unit, etc. may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA), 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 via a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface and protocol, etc.) and a transceiver antenna.
The above description is only exemplary of the present application and should not be taken as limiting the scope of the present application, as any modifications, equivalents, improvements, etc. made within the spirit and principle of the present application should be included in the scope of the present application.

Claims (10)

1. An adaptive order aggregation method, comprising:
determining an order aggregation limiting parameter 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;
aggregating the screened order data based on the aggregation limiting parameters to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters;
recording the corresponding relation between the aggregated order data and the order data contained in the aggregated order data;
determining components required by the electronic equipment based on the aggregated order data, and collecting the components to assemble the components into the electronic equipment with the quantity matched with that of the electronic equipment in the aggregated order data.
2. The order aggregation method of claim 1, the determining order aggregation limiting parameters for the electronic device, comprising:
setting the number of the maximum allowed aggregated electronic equipment for single aggregated order data, and determining the total number of the order data to be ranked;
calculating the total amount of the order data to be arranged or the logarithm value of the sum of the total amount of the order data to be arranged and a set value; taking the reciprocal of the logarithm value, calculating a difference value between 1 and the reciprocal, and when the difference value is a non-negative number, taking the difference value as the total amount of the order data to be arranged to calculate a weight factor;
and performing a first product operation on the number of the maximum electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum electronic equipment in the single aggregated order data.
3. The order aggregation method of claim 2, the determining order aggregation limiting parameters for the electronic device, comprising:
determining a median of the number of the electronic devices contained in the order based on the order data, and calculating a ratio of the median to the number of the maximum allowed aggregated electronic devices;
and calculating the maximum quantity of the electronic equipment 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 maximum quantity of the electronic equipment contained in the order data capable of participating in order aggregation.
4. The order aggregation method according to any one of claims 1 to 3, the method further comprising:
after the electronic equipment is assembled, based on the corresponding relationship between the aggregated order data and the order data contained in the aggregated order data, splitting and packaging the electronic equipment according to the order data corresponding to 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.
5. An electronic device, the electronic device at least comprises an acquisition component, 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 an order aggregation limiting parameter of 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;
aggregating the screened order data based on the aggregation limiting parameters to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters;
determining components required by the first electronic equipment based on the aggregated order data, and controlling an acquisition assembly to act to acquire the components so as to assemble the first electronic equipment with the quantity matched with that of the first electronic equipment in the aggregated order data.
6. The electronic device of claim 5, the processor determining order aggregation limit parameters for the first electronic device, comprising:
setting the number of the maximum allowed aggregated first electronic equipment for single aggregated order data, and calculating a weight factor based on the total number of the order data to be ranked;
and performing a first product operation on the number of the maximum first electronic equipment allowed to be aggregated and the weighting factor, and determining an integer rounded up or down of a first product operation result as the number of the maximum first electronic equipment in the single aggregated order data.
7. The electronic device of claim 6, the processor to calculate a weighting factor based on a total amount of order data to be placed, comprising:
determining the total amount of order data to be arranged, and calculating the total amount of the order data to be arranged or a logarithmic value of the sum of the total amount of the order data to be arranged and a set value;
and taking the reciprocal of the logarithm value, calculating the difference between 1 and the reciprocal, and when the difference is a non-negative number, taking the difference as the total amount of the order data to be arranged to calculate the weight factor.
8. The electronic device of claim 6 or 7, the processor determining order aggregation limit parameters for the first electronic device, comprising:
determining a median of the number of the first electronic devices contained in the order based on the order data, and calculating a ratio of the median to the maximum number of the first electronic devices allowed to be aggregated;
and calculating the maximum number of the first electronic equipment 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 maximum number of the first electronic equipment contained in the order data capable of participating in order aggregation.
9. The electronic device of claim 5, the processor determining order aggregation limit parameters for the first electronic device, comprising:
setting the maximum number of the first electronic equipment allowed to be aggregated for single aggregation order data, and determining the quantile number based on the number of the first electronic equipment in the order data;
calculating a ratio of the number of the largest first electronic devices allowed to aggregate to the quantile number, calculating an arithmetic square root of the ratio, and determining an integer rounding up or down the arithmetic square root as a maximum value of the order data that can be contained in a single aggregate order data.
10. An electronic device, the electronic device comprising:
a determining unit, configured to determine an order aggregation limiting parameter of a first electronic device based on order data for the first electronic device;
the receiving unit is used for receiving the screening parameters aiming at 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 screened order data based on the aggregation limiting parameters to obtain aggregated order data; the aggregated order data and the order data included in the aggregated order data conform to conditions defined by the aggregated limiting parameters;
a recording unit, configured to record a correspondence between the aggregated order data and the order data included in the aggregated order data;
and the acquisition unit is used for determining components required by the first electronic equipment based on the aggregated order data, and acquiring the components to be assembled into the first electronic equipment with the number matched with that of the first electronic equipment in the 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 true CN111062772A (en) 2020-04-24
CN111062772B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836402A (en) * 2021-09-08 2021-12-24 金勋杰 Order screening method based on data processing

Citations (4)

* 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
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

Patent Citations (4)

* 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
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN111062772B (en) 2024-03-05

Similar Documents

Publication Publication Date Title
CN111813624B (en) Robot execution time length estimation method based on time length analysis and related equipment thereof
CN106569727A (en) Shared parallel data reading-writing apparatus of multi memories among multi controllers, and reading-writing method of the same
CN107040608A (en) A kind of data processing method and system
CN113228574A (en) Computing resource scheduling method, scheduler, internet of things system and computer readable medium
Kaur Elitist multi-objective bacterial foraging evolutionary algorithm for multi-criteria based grid scheduling problem
CN111062772A (en) Self-adaptive order aggregation method and electronic equipment
CN117271100B (en) Algorithm chip cluster scheduling method, device, computer equipment and storage medium
CN110619407B (en) Object sales prediction method and system, electronic device and storage medium
CN117407178B (en) Acceleration sub-card management method and system for self-adaptive load distribution
EP3905050B1 (en) Prescriptive analytics based nosql database service optimization system for cloud computing
CN116521344B (en) AI algorithm scheduling method and system based on resource bus
CN115543577B (en) Covariate-based Kubernetes resource scheduling optimization method, storage medium and device
CN116820714A (en) Scheduling method, device, equipment and storage medium of computing equipment
CN110968420A (en) Scheduling method and device for multi-crawler platform, storage medium and processor
CN115344370A (en) Task scheduling method, device, equipment and storage medium
CN114064784A (en) Enterprise research and development expense intelligent collection method and system and electronic equipment
US11734272B2 (en) Prescriptive analytics based NoSQL database service optimization system for cloud computing
CN114077940A (en) Work order processing method and device and computer readable storage medium
CN111930299A (en) Method for allocating memory units and related device
CN112669099A (en) Method and device for processing orders
EP4109364B1 (en) Method and device for managing project by using data pointer
CN116372958A (en) RPA robot control method, device, computer equipment and storage medium
Baria et al. An analysis of different scheduling approaches used in grid computing
CN117608257A (en) Cable production scheme generation method and electronic equipment
CN115269181A (en) Resource scheduling method and device and electronic equipment

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