CN112529460B - Material scheduling method, scheduling system, electronic equipment and storage medium - Google Patents

Material scheduling method, scheduling system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112529460B
CN112529460B CN202011538899.4A CN202011538899A CN112529460B CN 112529460 B CN112529460 B CN 112529460B CN 202011538899 A CN202011538899 A CN 202011538899A CN 112529460 B CN112529460 B CN 112529460B
Authority
CN
China
Prior art keywords
scheduling
node
contract
reserve
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011538899.4A
Other languages
Chinese (zh)
Other versions
CN112529460A (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.)
CCI China Co Ltd
Original Assignee
CCI China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CCI China Co Ltd filed Critical CCI China Co Ltd
Priority to CN202011538899.4A priority Critical patent/CN112529460B/en
Publication of CN112529460A publication Critical patent/CN112529460A/en
Application granted granted Critical
Publication of CN112529460B publication Critical patent/CN112529460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a material scheduling method, a scheduling system, electronic equipment and a storage medium, and relates to the technical field of block chain material scheduling. According to the material scheduling method, corresponding functional nodes are added in the blockchain corresponding to the main body according to the functional types of the main body, wherein the functional nodes comprise main nodes and material storage unit nodes; the uplink information of the functional node is synchronously updated in the main node; configuring a bill of materials according to the uplink information, wherein the bill of materials comprises a bill of materials reserve and a bill of materials production; and executing a material scheduling contract, so that the real-time material reserve amount of the material reserve unit node is not less than the critical reserve amount, wherein the material scheduling contract is triggered by judging whether an early warning value is reached or not by the main node according to the real-time material data on the material list. The invention determines the main node from the types of the participating main bodies and definitely determines the function types of each node, thereby facilitating the main node to carry out resource clearing overall planning and ensuring that resource allocation can be orderly and stably carried out.

Description

Material scheduling method, scheduling system, electronic equipment and storage medium
Technical Field
The invention belongs to the technical field of block chain material scheduling, and particularly relates to a material scheduling method, a scheduling system, electronic equipment and a storage medium.
Background
The emergency rescue is a very complex system, after disasters or accidents happen, governments, enterprises, institutions and individuals participate in the rescue process, a large amount of emergency materials are needed in the rescue process, and how to store the materials reasonably and schedule the materials effectively is the key of emergency management. The blockchain technology has the characteristics of distributed, trusted, storable, traceable and the like, has natural advantages in the aspects of emergency material storage and scheduling, and can promote good cooperation of government, enterprises and institutions in emergency material storage, scheduling and transaction convenience, wherein the application number 202010150753.6 discloses a method and a device for scheduling resource information by the blockchain technology and by utilizing the blockchain in a region, particularly a spontaneous regulation mode with a material distance as a guide, performs deficiency, supplement and subtraction, has no overall performance, is difficult to ensure timeliness of material scheduling when dealing with large-scale material scheduling, has the characteristics of traceability, storability and the like, has various and timely and effective difficulties in donation and is difficult to guarantee the availability of real resources, especially after disaster, and is difficult to guarantee the availability of materials from root sources.
Disclosure of Invention
The invention aims to provide a material scheduling method, a scheduling system, electronic equipment and a storage medium, which are used for determining a main node from the types of participating main bodies and defining the function types of all nodes, so that the main node is convenient for carrying out resource clearing overall planning, and the orderly and stable resource allocation can be ensured.
In order to solve the technical problems, the invention is realized by the following technical scheme:
the invention relates to a material scheduling method, which comprises the following steps: adding corresponding functional nodes in a block chain corresponding to a main body according to the functional types of the main body, wherein the functional nodes comprise main nodes and material reserve unit nodes;
the master node synchronously updates the uplink information of the functional node, wherein the uplink information comprises material body information and material additional information;
configuring a bill of materials according to the uplink information, wherein the bill of materials comprises a bill of materials reserve and a bill of materials production;
and responding to the material reserve scheduling instruction, executing a material scheduling contract to enable the material reserve unit node material real-time reserve amount to be not smaller than the critical reserve amount, wherein the material scheduling contract is triggered by a main node according to the material real-time data on a material list to judge whether an early warning value is reached or not.
Further, the functional nodes further comprise a material production unit node and a material purchase unit node;
the material scheduling includes:
the master node searches a material list in a circulating way, and when the material quantity stored by the material storage unit node is smaller than an early warning value, the master node calls an early warning contract and sends the early warning contract to the material purchasing unit node;
the master node constructs a material scheduling contract and transmits the material scheduling contract to the functional nodes related to the contract;
further, after receiving the early warning contract, the material purchasing unit node starts the material purchasing contract; the material purchase contract is used for the material purchase unit node to purchase material to the material production unit node;
after the material purchase contract is started, the material purchase unit node automatically makes a bill purchase to the material production unit node;
wherein, the material purchasing contract, the early warning contract and the material scheduling contract are all preconfigured in the corresponding functional nodes.
Further, the uplink information is dynamic information, wherein the material body information and the material additional information are uniformly coded and have standard coding identification.
Further, the material additional information comprises article quantity information, stock unit information, contact person information, contact information, production unit information, productivity information, stock-on-hand information and single scheduling duration.
Further, the material schedule includes a minimum duration schedule:
inquiring the material reserve unit node:
selecting material reserve unit nodes with required materials, selecting at least two material reserve unit nodes each time to calculate scheduling time length, comparing after total statistics, selecting the minimum scheduling time length, and determining a set of material reserve unit nodes in the minimum scheduling time length, wherein the total material quantity in all selected material reserve unit nodes each time is not less than the required material quantity;
selecting material reserve unit nodes with material quantity not less than required material quantity, calculating scheduling time length of each material reserve unit node one by one, comparing the last scheduling time length after calculating scheduling time length of a unit node, reserving single scheduling material reserve unit nodes with time length longer than the next scheduling time length for comparison, and determining the minimum time length, wherein the comparison time length starts from the calculation of the second single scheduling material reserve unit node;
and screening out the material reserve unit node with the minimum scheduling duration by comparing the collection of the material reserve unit nodes with the duration of the single scheduling material reserve unit node.
Further, the material reserve unit node further comprises a material production unit node storing the required material, wherein the material reserved in the material production unit node is not reserved.
Further, if the material reserve amount in all the material reserve unit nodes is smaller than the required material amount, triggering a temporary material purchasing plan;
temporary material purchase plan determination:
determining a material production unit node according to a determined material production unit node set of a material production unit required by participating in production and the minimum time length of the scheduling time of the existing storage amount of the material production unit node and/or the scheduling time of production and transportation;
further, the material reserve of the early warning contract is an emergency material reserve;
the emergency material reserve comprises a material reserve amount and a maneuvering amount in unit time;
and if the sum of the material reserve amount and the maneuvering amount in unit time is smaller than the emergency material reserve amount, triggering an early warning contract.
Wherein the material holding quantity in unit time is used as a basis to ensure that daily consumption quantity and daily loss quantity are removed, and the machine momentum is reserved by a fixed quantity.
A scheduling system, comprising:
the contract configuration module is used for constructing a material scheduling contract and an early warning contract on the main node and constructing a material purchasing contract on a material purchasing unit node;
the functional node unit is used for endowing the functional node to which the main body belongs according to the functional type of the main body, wherein the functional node endowed by the functional node unit comprises a main node, a material storage unit node, a material production unit node and a material purchasing unit node;
the main node comprises a material list module, a query module, an early warning module and a scheduling module;
the material list module configures a material list according to the uplink information;
the inquiring module is used for inquiring the material quantity of the material list;
the early warning module judges whether the material reserve quantity reaches an early warning value according to the material quantity, and if the material reserve quantity is not higher than the early warning value, the master node constructs an early warning contract;
the scheduling module is used for constructing a material scheduling contract by the main node and sending the material scheduling contract to the functional node related to the contract;
a material reserve unit node corresponding to the material reserve place, and ordering and purchasing to a material production unit node;
the material purchasing unit node comprises a purchasing module, and a material purchasing contract in the purchasing module is constructed after receiving the early warning contract;
and the material production unit node corresponds to the material production place and is used for accepting the order from the material purchasing contract.
Further, the scheduling module also comprises a minimum time length scheduling module and a temporary material purchasing module;
the minimum time length scheduling module is used for screening out material reserve unit nodes with the minimum scheduling time length, and the total material of the scheduled material reserve units is less than the required quantity to trigger the temporary material purchasing module;
temporary material purchasing module: the asset production unit node is determined according to a minimum duration of the schedule time of the existing storage amount of the asset production unit node and/or the schedule time of production and transportation.
An electronic device comprising a memory, in which a computer program is stored, and a processor arranged to run the computer program to perform the material scheduling method described above.
A storage medium comprising a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the above-described material scheduling method when run.
The invention has the following beneficial effects:
the invention carries out material management and scheduling based on a block chain consensus algorithm and an intelligent contract technology, has the characteristics of reliable data sharing, high scheduling efficiency and high reliability, carries out resource clearing overall planning by using a main node, determines that a material storage unit node, a material production unit node and a material purchasing unit node have definite job division and work division respectively, and ensures that resource allocation can be orderly and stably carried out.
The data trusted sharing is embodied in that the emergency materials relate to a plurality of government departments and production enterprises, and the blockchain is provided with a trusted data system which can be verified, traced and authorized, so that the information security can be ensured, and the trusted emergency material data sharing can be realized. And each department does not need to be in systematic butt joint with other departments, and the real-time sharing of data can be completed only by placing the material information on the block chain nodes.
The dispatching efficiency is high, the layer-by-layer information transmission is not needed, the manual telephone notification is not needed, the material inquiry is not needed, the information verification is not needed, a material reserve unit can be directly found, and the automatic material allocation is realized through the system.
The information of the current material reserves can be mastered in real time, the materials can be timely supplemented according to the regional characteristics, and the dynamic balance of the material reserves is realized.
Of course, it is not necessary for any one product to practice the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed for the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art;
FIG. 1 is a flow chart of a material scheduling method;
FIG. 2 is a flow chart of material scheduling in an emergency;
FIG. 3 is a system block diagram of material scheduling;
fig. 4 is a schematic hardware structure of the material scheduling electronic device.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the present invention relates to a material scheduling method, and more particularly to a material scheduling method for dealing with disasters and accidents, in which a large amount of emergency materials need to be allocated to disaster areas after major disasters, such as fires, floods or epidemic situations occur. The rescue system is participated in rescue, including governments, enterprises, institutions and individuals, particularly in the major rescue process, the government institutions are commonly used for comprehensively preparing materials, and the enterprises, institutions and individuals cooperate.
Specific examples of the scheduling of the articles at disaster time da Zong include:
the material scheduling method takes a block chain as a core allocation technology and specifically comprises the following steps:
s101: adding corresponding functional nodes in the blockchain corresponding to the main body according to the functional types of the main body;
preferably, the selected participating subjects are screened, and the screening mode comprises the quality of materials of material donors or producers, the sampling quality of products, the geographic position of a storage unit, and the storage unit is qualified in quality and relatively close to the disaster area.
S102: and (3) defining a main node in the functional nodes, determining a material reserve unit node, a material production unit node and a material purchase unit node, and adding corresponding functional nodes in the block chain, namely adding the offline functional units into the block chain in a node mode.
In this embodiment, the government units are used as the master nodes in the blockchain, so as to ensure that the master nodes in the blockchain have the capability of calculating and analyzing necessary data, the overall capability and the corresponding public trust, for example, other storage units and consumption point storage places can be used as material storage unit nodes, production units and donation units can be used as material production unit nodes, and other institutions such as institution units are material purchasing unit nodes;
corresponding functional nodes are configured on the blockchain according to classification of the disposal function of the materials, so that the master node can conveniently conduct resource clearing overall planning, and orderly and stable resource allocation can be guaranteed.
The system comprises a block chain user registered by related government departments, enterprises and institutions of emergency materials, wherein the block chain distributes a pair of public keys and private keys for each user, the public keys are used as account addresses of the users on the block chain, and the private keys are used as unique keys for operating the account.
S103: and acquiring uplink information of other nodes at the master node, configuring a material list according to the uplink information, and synchronously updating the uplink information of the functional nodes by the material list.
The uplink information comprises material body information and material additional information;
in addition, the material body information and the material additional information need to be uploaded by adopting standard codes, and all materials need to be identified by using the standard codes.
Correspondingly, the information of the main node uplink comprises a material coding specification, a material list and a material production list.
The material coding specification includes a material classification standard, a coding form.
The stock list includes stock item, quantity, stock unit, contact person and contact way.
The material production list comprises material production units, production periods, existing stock, contacts and contact ways.
Wherein the list is not introduced with the attribute of the material and the corresponding material is the additional information of the material.
The information of the material stock unit node uplink comprises material warehouse-in, warehouse-out and current stock information, wherein the current stock information comprises the variety and the quantity of the materials.
The information of the material production unit node uplink comprises material production information and inventory information, wherein the material production information comprises material varieties, production capacity, existing inventory, contacts and contact information, and the single scheduling time length.
S104: responding to a material reserve scheduling instruction, executing a material scheduling contract to enable the real-time reserve amount of the material of a material reserve unit node to be not less than a critical reserve amount, wherein the material scheduling contract is triggered by a main node according to real-time data of the material on a material list to judge whether an early warning value is reached or not;
the functional nodes also comprise a material production unit node and a material purchase unit node;
the material scheduling includes:
the master node searches the material list, when the material quantity stored in the material storage unit node is smaller than the early warning value, the master node calls an early warning contract and sends the early warning contract to the material purchasing unit node;
the master node constructs a material scheduling contract and transmits the material scheduling contract to the functional nodes associated with the contract.
Enabling the material purchase contract after the material purchase unit node receives the early warning contract; the material purchase contract is used for the material purchase unit node to purchase material to the material production unit node;
after the material purchase contract is started, the material purchase unit node automatically makes a bill purchase to the material production unit node, and the purchased material is sent to the corresponding material storage unit node;
the material purchasing contract, the early warning contract and the material scheduling contract are all preconfigured in corresponding functional nodes, specifically, the material purchasing contract is configured in a material purchasing unit node, and the early warning contract and the material scheduling contract are configured in a main node.
Wherein the real-time reserve is the real-time reserve of the reserve unit node.
In particular, in application, an early warning contract is required to be invoked before the material scheduling contract is constructed, wherein the early warning contract is a triggering condition of a material purchasing unit node, after the main node sends the early warning contract to the material purchasing unit node, the material purchasing unit node purchases corresponding materials, and a manufacturer corresponding to the material production unit node performs purchasing, so that the material scheduling contract is finally constructed at the main node, the material purchasing unit node further comprises a corresponding gratuitous acquisition contract, and the contribution is mainly supposed to be made by a receiving relevant person, and because the contribution amount of an individual donation person is generally smaller, the development description is not performed in the embodiment.
Early warning contracts: and the contract constructed by the master node and sent to the material purchasing unit node is used for reminding the material reserve unit node that the material reserve amount is not higher than the critical reserve amount.
Specifically, the master node searches the material list, and when the material storage unit node stores the material amount smaller than the early warning value, the master node sends an early warning contract to the material purchasing unit node.
Material purchasing contracts: and the material reserve unit node is constructed after receiving the early warning contract and is used for purchasing the contract of the material to the material production unit node.
After the material purchasing contract is constructed, the material reserve unit node automatically makes a bill purchase to the material production unit node.
After the contracts are established, the contracts are issued to all relevant nodes, after each node receives the contracts, the contracts are compiled, and after the compiling is successful, the contracts are issued to the block chain.
Wherein, the stock of the early warning contract is the emergency stock;
the emergency material reserve comprises a material reserve amount and a maneuvering amount in unit time;
and if the sum of the material reserve amount and the maneuvering amount in unit time is smaller than the emergency material reserve amount, triggering an early warning contract.
Wherein the material holding quantity in unit time is used as a basis to ensure that daily consumption quantity and daily loss quantity are removed, and the machine momentum is reserved by a fixed quantity.
Q=base guarantee amount (a) - Σ consumption amount (B) - Σ consumption amount (C) +maneuver amount (D).
In order to guarantee the rationality of Q, several pre-warning conditions must be set:
(1) the real-time value of Q is smaller than A;
(2) after 1 month, the predicted value of Q is smaller than A;
(3) after 3 months, the predicted value of Q is less than a.
Wherein, after the condition (1) starts, material purchase is initiated immediately; after triggering the condition (2), informing a reserve unit and making a purchasing plan; after the triggering of condition (3), the reserve unit is notified.
The consumption mainly refers to material failure caused by environmental factors, thought factors and the like in the processes of storage, transportation, loading and unloading and the like of materials, a group of relatively reasonable amounts related to time are obtained according to historical experience, and the consumption (B) is longitudinally compared and analogized according to the historical experience to obtain a group of relatively reasonable consumption related to time.
The specific diagram in fig. 2 shows: the scheduling scheme can also cope with emergency material scheduling, and comprises the following specific steps:
s201, determining a material scheduling minimum time length scheduling calculation scheme.
The material scheduling time length factors comprise a single scheduling amount of a stock unit, whether to participate in scheduling, scheduling times and single scheduling time length, wherein the single scheduling time length comprises a single scheduling ex-warehouse time length and a transport time of the stock unit reaching a designated site.
Specific:
assuming that the material demand is Q, the single material scheduling maximum number of the storage unit is a i ,β i Is the identification variable of whether each material reserve unit participates in the dispatching, the participation is 1, the non-participation is 0, y i Is the scheduling times of each material reserve unit, t i Is the delivery time, m, of each stock unit single dispatch i Is the transport time of the supply unit to the designated site, T is the shortest time for the required supply to arrive at the site:
①Q=Σβ i *a i *y i
②T=Σβ i *(t i +m i )*y i
wherein (2) is a constraint that requires the shortest arrival time among all possible schemes, designed based on these 2 formulas:
specific scheduling selection: inquiring the material reserve unit node:
selecting material reserve unit nodes with required materials, selecting at least two material reserve unit nodes, calculating scheduling time length, selecting the minimum scheduling time length, and determining a set of material reserve unit nodes in the minimum scheduling time length, wherein the total material quantity in all the selected material reserve unit nodes at each time is not less than the required material quantity;
selecting material reserve unit nodes with material quantity not less than required material quantity, calculating scheduling time length of each material reserve unit node one by one, comparing the last scheduling time length after calculating scheduling time length of a unit node, reserving single scheduling material reserve unit nodes with time length longer than the next scheduling time length for comparison, and determining the minimum time length, wherein the comparison time length starts from the calculation of the second single scheduling material reserve unit node;
and screening out the material reserve unit node with the minimum scheduling duration by comparing the collection of the material reserve unit nodes with the duration of the single scheduling material reserve unit node.
The material reserve unit node further comprises a material production unit node for storing the required material, wherein the material reserved in the material production unit node is not reserved.
Specific:
(1) Finding all units for storing the materials according to a material storage list of the main node, and putting the units into a set C;
(2) Judging whether the reserve quantity of the single reserve unit is greater than or equal to Q, if so, calculating the time required for scheduling materials from the single reserve unit, comparing the calculation result with the last time, if so, discarding, if so, replacing, and finally obtaining the shortest time t1 for scheduling the single reserve unit;
(3) Combining the storage units pairwise, calculating the time required by dispatching the specified amount of materials by any 2 storage units, comparing the calculation result with the previous time each time, discarding if the time is more, replacing if the time is less, and finally obtaining the shortest time t2 for dispatching the single storage unit;
(4) And so on, calculating i unit combinations to obtain the shortest time ti of scheduling i units;
(5) Comparing t1, t2 and ti, finding out the shortest time, and determining the optimal scheduling scheme.
If it is found in the calculation that the quantity of material that can be scheduled by all the schemes cannot meet the requirement Q, a material difference Δq=q is calculated to remove the total quantity of material of all the stock units, and the difference quantity is input to the material purchasing plan.
Temporary material purchase planning:
if the material reserve quantity in all material reserve unit nodes is smaller than the required material quantity, triggering a temporary material purchasing plan;
temporary material purchase planning:
and determining the material production unit node according to the minimum time length of the scheduling time of the existing storage amount of the material production unit node and/or the scheduling time of production and transportation according to the determined material production unit node set of the material production unit needed by participating in production.
Assuming in particular that the material demand is DeltaQ, the daily throughput of the production unit is a i ,β i Is the identification variable of whether each material production unit participates in production, the participation is 1, the non-participation is 0, y i Is the existing reserve of each production unit, t i Is the production time of each production unit, m i The transportation time of the material production unit is T is the shortest time for the required material to arrive at the site, and the following two formulas can be obtained according to two targets:
①ΔQ=Σβ i *(a i *t i +y i );
②T=Σβ i *(t i +m i );
and (2) is a constraint condition, the shortest arrival time is required in all feasible schemes, and based on the two formulas, an exhaustive method is adopted for calculation, and the algorithm is similar to material scheduling, so that the optimal scheme is calculated.
And after the optimal scheme is determined, starting a material purchasing contract to finish material purchasing.
S202: contract creation.
Creating a contract at a master node, and defining the content and the triggering conditions of the contract, wherein the existing material is less than the required material to trigger temporary material purchasing conditions, the temporary purchasing contract is created, and the triggering conditions of the material purchasing contract, the early warning contract and the material scheduling contract are as above.
S203: contract validation.
The master node sends the contract to a material reserve unit and a material production unit for confirmation, and after each unit uses a private key signature for confirmation, the contract is formally established.
S204: and issuing the contract.
And the master node distributes the confirmed contracts to nodes of all relevant units, and all the nodes compile and distribute the contracts after receiving the contract source codes.
S205: contract triggering.
And the emergency command center determines the quantity of each material demand according to the emergency situation, and starts a material scheduling contract.
S206: and issuing a call.
And calculating a material scheduling scheme according to a model in the contract, and directly sending scheduling instructions to related units according to the scheduling scheme.
If the existing material quantity can not meet the requirement, the balance part performs purchasing according to the temporary material purchasing plan.
It should be noted that, in the above system embodiment, each unit included is only divided according to the functional logic, but not limited to the above division, so long as the corresponding function can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
A scheduling system, comprising:
the contract configuration module is used for constructing a material scheduling contract and an early warning contract on the main node and constructing a material purchasing contract on a material purchasing unit node, wherein the basic content of the contract is formulated in advance, namely, when the call is executed, only the corresponding material storage unit node, the material production unit node and the material purchasing unit node are required to be added, and specific execution objects are filled.
The functional node unit is used for endowing the functional node to which the main body belongs according to the functional type of the main body, wherein the functional node endowed by the functional node unit comprises a main node, a material storage unit node, a material production unit node and a material purchasing unit node, and the functional node is correspondingly energized on a block chain through the specific functions of the offline units;
wherein: the main node comprises a material list module, a query module, an early warning module and a scheduling module;
the material list module configures a material list according to the uplink information;
the inquiring module is used for inquiring the material quantity of the material list;
the early warning module judges whether the material reserve quantity reaches an early warning value according to the material quantity, and if the material reserve quantity is not higher than the early warning value, the master node constructs an early warning contract;
the scheduling module is used for constructing a material scheduling contract by the main node and sending the material scheduling contract to the functional node related to the contract;
a material reserve unit node corresponding to the material reserve place, and ordering and purchasing to a material production unit node;
the material purchasing unit node comprises a purchasing module, and a material purchasing contract in the purchasing module is constructed after receiving the early warning contract;
and the material production unit node corresponds to the material production place and is used for accepting the order from the material purchasing contract.
Further, the scheduling module also comprises a minimum time length scheduling module and a temporary material purchasing module;
the minimum time length scheduling module is used for screening out material reserve unit nodes with the minimum scheduling time length, and the total material of the scheduled material reserve units is less than the required quantity to trigger the temporary material purchasing module;
temporary material purchasing module: the asset production unit node is determined according to a minimum duration of the schedule time of the existing storage amount of the asset production unit node and/or the schedule time of production and transportation.
An electronic device, a memory 402 and a processor 401, the memory 402 storing a computer program, the processor 401 being arranged to run the computer program to perform the above-mentioned information distribution method of urban management.
The processor 401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC) for short, or may be configured to implement one or more integrated circuits of embodiments of the present application.
Memory 402 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 402 may comprise a Hard Disk Drive (HDD), floppy disk drive, solid State Drive (SSD), flash memory, optical disk, magneto-optical disk, tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. Memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, memory 402 includes Read-only memory (ROM) and Random Access Memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or FLASH memory (FLASH) or a combination of two or more of these. The RAM may be Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), where appropriate, the DRAM may be a fast page mode DRAM 402 or the like.
Memory 402 may be used to store or cache various data files that need to be processed and/or communicated, as well as possible computer program instructions for execution by processor 401.
The processor 401 reads and executes the computer program instructions stored in the memory 402 to realize the processing of the problem information and the distribution method of the problem information in the above-described embodiment.
Optionally, the electronic apparatus may further include a transmission device 403 and an output/input device 404, where the transmission device 403 is connected to the processor 401, and the output/input device 404 is connected to the processor 401.
The transmission device 403 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wired or wireless network provided by a communication provider of the electronic device. In one example, the transmission device includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through the base station to communicate with the internet. In one example, the transmission device 403 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
The output/input device 404 is used to input or output information. For example, the input/output device 404 may be a display screen, a speaker, a microphone, a mouse, a keyboard, or other devices. In the present embodiment, the input information may be an image, a photograph, descriptive text information, position information, or the like.
A computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to execute the above-described information distribution method of urban management at run-time.
Alternatively, in the present embodiment, the processor 401 may be configured to execute the material scheduling method described in the following steps by a computer program.
A storage medium comprising a storage medium having stored therein a computer program, wherein the computer program is arranged to execute the above-described material scheduling method when run.
In addition, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program to instruct related hardware, and the corresponding program may be stored in a computer readable storage medium, such as a ROM/RAM, a magnetic disk or an optical disk, etc.
The preferred embodiments of the invention disclosed above are intended only to assist in the explanation of the invention. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. The invention is limited only by the claims and the full scope and equivalents thereof.

Claims (9)

1. A material scheduling method, comprising:
adding corresponding functional nodes in the block chain corresponding to the main body according to the functional types of the main body, wherein the functional nodes comprise a main node, a material storage unit node, a material production unit node and a material purchasing unit node; the master node synchronously updates the uplink information of the functional node, wherein the uplink information comprises material body information and material additional information; configuring a bill of materials according to the uplink information, wherein the bill of materials comprises a bill of materials reserve and a bill of materials production;
responding to a material reserve scheduling instruction, executing a material scheduling contract to enable the material reserve unit node material real-time reserve amount to be not smaller than a critical reserve amount, wherein the material scheduling contract is triggered by the main node according to material real-time data on the material list to judge whether an early warning value is reached or not;
the material scheduling includes: the master node searches the material list in a circulating way, and when the material quantity stored by the material storage unit node is smaller than an early warning value, the master node calls an early warning contract and sends the early warning contract to the material purchasing unit node; enabling the material purchase contract after the material purchase unit node receives the early warning contract; the material purchase contract is used for the material purchase unit node to purchase material to the material production unit node; after the material purchase contract is started, the material purchase unit node automatically makes a bill purchase to the material production unit node; wherein, the material purchasing contract, the early warning contract and the material scheduling contract are all preconfigured in the corresponding functional nodes; the material scheduling comprises a minimum time length scheduling, wherein the minimum time length scheduling is as follows: inquiring the material reserve unit nodes to select the material reserve unit nodes with required material, selecting at least two material reserve unit nodes each time to calculate scheduling time length, comparing after statistics, selecting the least scheduling time length, determining the set of the material reserve unit nodes in the least scheduling time length, wherein the total material amount in all the selected material reserve unit nodes is not less than the required material amount each time, selecting the material reserve unit nodes with the material amount not less than the required material amount, calculating the scheduling time length of each material reserve unit node one by one, determining a single scheduling material reserve unit node with the least time length, comparing the set of the material reserve unit nodes with the time length of the single scheduling material reserve unit node, and screening out the material reserve unit node with the least scheduling time length; if the material reserve amount in all the material reserve unit nodes is smaller than the required material amount, triggering a temporary material purchase plan, wherein the temporary material purchase plan is as follows: determining the material production unit node set according to the determination of the material production unit needed by the participation in production, and determining the material production unit node according to the minimum time length of the scheduling time of the existing storage amount of the material production unit node and/or the scheduling time of production and transportation;
the master node builds the material scheduling contract, sends the material scheduling contract to the functional nodes related to the contract, and issues the contract to all related nodes after the contract is built, and after each node receives the contract, compiles the contract and issues the contract to a blockchain after the compiling is successful.
2. The material scheduling method according to claim 1, wherein the uplink information is dynamic information, wherein the material body information and the material additional information are uniformly coded and have standard coding identification.
3. The method of claim 2, wherein the additional information includes item quantity information, stock unit information, contact information, production unit information, productivity information, inventory-on-hand information, and a single scheduling duration.
4. A method of scheduling materials according to claim 3, wherein the material scheduling duration factors include a single scheduling amount of a stock unit, whether to participate in scheduling, scheduling times, and a single scheduling duration, wherein the single scheduling duration includes a single scheduled delivery duration and a transportation time of the stock unit to a designated site.
5. The method of claim 1, wherein the supply storage unit node further comprises the supply production unit node storing the required supply, wherein the supply stored in the supply production unit node is not predetermined.
6. The material scheduling method according to claim 1, wherein the material reserve of the early warning contract is an emergency material reserve;
the emergency material reserve comprises a material reserve amount and a maneuvering amount in unit time;
if the sum of the material holding quantity and the maneuvering quantity in unit time is smaller than the emergency material holding quantity, triggering an early warning contract;
the daily consumption and the daily loss are removed by taking the material holding quantity in unit time as a basic guarantee quantity, and the machine momentum is a reserved fixed quantity.
7. A scheduling system, comprising:
a function node unit, configured to add corresponding function nodes in a blockchain according to a function type of a participating subject, where the function nodes include a main node, a material reserve unit node, a material production unit node, and a material purchasing unit node, and uplink information of the function nodes is synchronously updated in the main node, where the uplink information includes material body information and material additional information, and a material list is configured according to the uplink information, and the material list includes a material reserve list and a material production list;
the early warning module responds to a material reserve scheduling instruction and executes a material schedule contract to enable the material reserve unit node material real-time reserve amount to be not smaller than a critical reserve amount, wherein the material schedule contract is triggered by judging whether an early warning value is reached or not by the main node according to the material real-time data on the material list;
the scheduling module is used for the master node to follow the material list, and when the material quantity stored by the material storage unit node is smaller than the early warning value, the master node calls an early warning contract and sends the early warning contract to the material purchasing unit node; enabling the material purchase contract after the material purchase unit node receives the early warning contract; the material purchase contract is used for the material purchase unit node to purchase material to the material production unit node; after the material purchase contract is started, the material purchase unit node automatically makes a bill purchase to the material production unit node; wherein, the material purchasing contract, the early warning contract and the material scheduling contract are all preconfigured in the corresponding functional nodes; the material scheduling comprises a minimum time length scheduling, wherein the minimum time length scheduling is as follows: inquiring the material reserve unit nodes to select the material reserve unit nodes with required material, selecting at least two material reserve unit nodes each time to calculate scheduling time length, comparing after statistics, selecting the least scheduling time length, determining the set of the material reserve unit nodes in the least scheduling time length, wherein the total material amount in all the selected material reserve unit nodes is not less than the required material amount each time, selecting the material reserve unit nodes with the material amount not less than the required material amount, calculating the scheduling time length of each material reserve unit node one by one, determining a single scheduling material reserve unit node with the least time length, comparing the set of the material reserve unit nodes with the time length of the single scheduling material reserve unit node, and screening out the material reserve unit node with the least scheduling time length; if the material reserve amount in all the material reserve unit nodes is smaller than the required material amount, triggering a temporary material purchase plan, wherein the temporary material purchase plan is as follows: determining the material production unit node set according to the determination of the material production unit needed by the participation in production, and determining the material production unit node according to the minimum time length of the scheduling time of the existing storage amount of the material production unit node and/or the scheduling time of production and transportation;
and the issuing module is used for constructing the material scheduling contract by the main node, sending the material scheduling contract to the functional nodes related to the contract, issuing the contract to all related nodes after the contract is established, compiling the contract after each node receives the contract, and issuing the compiled contract to the block chain after the compiling is successful.
8. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the material scheduling method of any one of claims 1-6.
9. A storage medium comprising a computer program stored in the storage medium, wherein the computer program is arranged to perform the material scheduling method of any one of claims 1-6 when run.
CN202011538899.4A 2020-12-23 2020-12-23 Material scheduling method, scheduling system, electronic equipment and storage medium Active CN112529460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011538899.4A CN112529460B (en) 2020-12-23 2020-12-23 Material scheduling method, scheduling system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011538899.4A CN112529460B (en) 2020-12-23 2020-12-23 Material scheduling method, scheduling system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112529460A CN112529460A (en) 2021-03-19
CN112529460B true CN112529460B (en) 2024-02-23

Family

ID=74975988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011538899.4A Active CN112529460B (en) 2020-12-23 2020-12-23 Material scheduling method, scheduling system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112529460B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190123A (en) * 2022-06-21 2022-10-14 上海万向区块链股份公司 Distributed system task scheduling method and system based on intelligent contracts
CN114997700B (en) * 2022-06-22 2022-12-13 中关村科学城城市大脑股份有限公司 Epidemic prevention material allocation system and method based on urban brain
CN115392641B (en) * 2022-07-29 2023-06-23 武汉达梦数据技术有限公司 Resource scheduling method and device
CN115712684B (en) * 2022-11-24 2023-10-24 南京鼎山信息科技有限公司 Storage method and system for dynamic information of articles in Internet of things

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062672A (en) * 2017-12-07 2018-05-22 北京泛融科技有限公司 A kind of process dispatch method based on block chain intelligence contract
CN109271255A (en) * 2018-09-25 2019-01-25 深圳市元征科技股份有限公司 Resource regulating method, system and electronic equipment and storage medium
CN109583759A (en) * 2018-11-30 2019-04-05 深圳还是威健康科技有限公司 Resource regulating method and relevant device in a kind of product development system
CN109829718A (en) * 2019-01-30 2019-05-31 缀初网络技术(上海)有限公司 A kind of block chain multi-layer framework and its operation method based on storage application scenarios
CN110322130A (en) * 2019-06-21 2019-10-11 成都积微物联集团股份有限公司 Based on the current assets mortgage finance management system and method for block chain in supply chain industry
CN110942200A (en) * 2019-11-28 2020-03-31 好买气电子商务有限公司 LNG energy management method based on Internet of things block chain technology
CN110958285A (en) * 2018-09-27 2020-04-03 北京云雾链网络科技有限公司 Data storage system based on block chain
CN111047317A (en) * 2019-12-10 2020-04-21 山东爱城市网信息技术有限公司 Block chain-based purchase information processing method and equipment and storage medium
CN111260194A (en) * 2020-01-09 2020-06-09 国网安徽省电力有限公司信息通信分公司 Accurate material supply method and system based on block chain
CN111275343A (en) * 2020-01-21 2020-06-12 山东爱城市网信息技术有限公司 Block chain-based purchasing and inventory collaborative management method, equipment and medium
CN111292071A (en) * 2020-01-22 2020-06-16 山东爱城市网信息技术有限公司 Contract settlement management method, device and medium based on block chain
CN111355718A (en) * 2020-02-25 2020-06-30 中国工商银行股份有限公司 Block chain intelligent contract cloud deployment system and method
CN111539750A (en) * 2020-04-27 2020-08-14 中山大学 Commodity traceability system based on block chain and big data technology
CN111553647A (en) * 2020-03-23 2020-08-18 白炳均 System and method for storing, coordinating and calling property and using property combined with fighting level
CN111639836A (en) * 2020-04-29 2020-09-08 广州亚美信息科技有限公司 Vehicle scheduling processing method and device based on block chain and computer equipment
CN111737311A (en) * 2020-05-26 2020-10-02 山东浪潮质量链科技有限公司 Donation material distribution method, device and medium based on block chain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10552272B2 (en) * 2016-12-14 2020-02-04 Nutanix, Inc. Maintaining high availability during N-node failover
US11048689B2 (en) * 2018-11-08 2021-06-29 International Business Machines Corporation Consensus transaction scheduler

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062672A (en) * 2017-12-07 2018-05-22 北京泛融科技有限公司 A kind of process dispatch method based on block chain intelligence contract
CN109271255A (en) * 2018-09-25 2019-01-25 深圳市元征科技股份有限公司 Resource regulating method, system and electronic equipment and storage medium
CN110958285A (en) * 2018-09-27 2020-04-03 北京云雾链网络科技有限公司 Data storage system based on block chain
CN109583759A (en) * 2018-11-30 2019-04-05 深圳还是威健康科技有限公司 Resource regulating method and relevant device in a kind of product development system
CN109829718A (en) * 2019-01-30 2019-05-31 缀初网络技术(上海)有限公司 A kind of block chain multi-layer framework and its operation method based on storage application scenarios
CN110322130A (en) * 2019-06-21 2019-10-11 成都积微物联集团股份有限公司 Based on the current assets mortgage finance management system and method for block chain in supply chain industry
CN110942200A (en) * 2019-11-28 2020-03-31 好买气电子商务有限公司 LNG energy management method based on Internet of things block chain technology
CN111047317A (en) * 2019-12-10 2020-04-21 山东爱城市网信息技术有限公司 Block chain-based purchase information processing method and equipment and storage medium
CN111260194A (en) * 2020-01-09 2020-06-09 国网安徽省电力有限公司信息通信分公司 Accurate material supply method and system based on block chain
CN111275343A (en) * 2020-01-21 2020-06-12 山东爱城市网信息技术有限公司 Block chain-based purchasing and inventory collaborative management method, equipment and medium
CN111292071A (en) * 2020-01-22 2020-06-16 山东爱城市网信息技术有限公司 Contract settlement management method, device and medium based on block chain
CN111355718A (en) * 2020-02-25 2020-06-30 中国工商银行股份有限公司 Block chain intelligent contract cloud deployment system and method
CN111553647A (en) * 2020-03-23 2020-08-18 白炳均 System and method for storing, coordinating and calling property and using property combined with fighting level
CN111539750A (en) * 2020-04-27 2020-08-14 中山大学 Commodity traceability system based on block chain and big data technology
CN111639836A (en) * 2020-04-29 2020-09-08 广州亚美信息科技有限公司 Vehicle scheduling processing method and device based on block chain and computer equipment
CN111737311A (en) * 2020-05-26 2020-10-02 山东浪潮质量链科技有限公司 Donation material distribution method, device and medium based on block chain

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Blockchain-based framework for improving supply chain traceability and information sharing in precast construction;Zhaojing Wang等;《Automation in Construction》;1-13 *
基于区块链的应急物流体系建设;王爽;;市场周刊(06);15-16 *
应对高渗透率分布式电源接入的主动配电网优化调度方法研究;叶畅;《中国博士学位论文全文数据库 工程科技Ⅱ辑》;第22020年卷(第3期);C042-46 *
面向BaaS平台的资源调度算法研究与实现;才丽;《中国优秀硕士学位论文全文数据库 信息科技辑》;第2019年卷(第1期);I138-2162 *

Also Published As

Publication number Publication date
CN112529460A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN112529460B (en) Material scheduling method, scheduling system, electronic equipment and storage medium
Allahviranloo et al. Selective vehicle routing problems under uncertainty without recourse
Barbati et al. Applications of agent-based models for optimization problems: A literature review
Li et al. Product whole life-cycle and omni-channels data convergence oriented enterprise networks integration in a sensing environment
CN101872166B (en) Process simulation utilizing component-specific consumption data
Ait-Alla et al. Robust production planning in fashion apparel industry under demand uncertainty via conditional value at risk
CN107016449B (en) Intelligent manufacturing method based on cross-enterprise dynamic planning and scheduling
JP6122967B2 (en) Plan linkage system and plan linkage method
CN112041860A (en) Machine learning on blockchains
CN105531688A (en) Providing services as resources for other services
Hochdörffer et al. Holistic approach for integrating customers in the design, planning, and control of global production networks
Aouam et al. Chance-constraint-based heuristics for production planning in the face of stochastic demand and workload-dependent lead times
CN109376976A (en) Material information management method and terminal device
EP3933744A1 (en) Blockchain-based industrial manufacturing resource sharing method, device and system
CN109063122A (en) A kind of information synchronization method, related system and the equipment of ERP system and MES system
Saif et al. Drum buffer rope-based heuristic for multi-level rolling horizon planning in mixed model production
Wang et al. Genetic algorithm for collaboration cost optimization-oriented partner selection in virtual enterprises
Andres et al. Integrated production-distribution planning optimization models: A review in collaborative networks context
CN114358380A (en) Method, equipment and processor for engineering vehicle scheduling
US10783485B2 (en) Integrated container management system
CN116579587A (en) Target object distribution method and device
Chen et al. The Optimization of a Virtual Dual Production‐Inventory System under Dynamic Supply Disruption Risk
CN113706101B (en) Intelligent system architecture and method for power grid project management
KR102250004B1 (en) Vacation Information and Suggestion System
CN111815200A (en) Task scheduling method and device, computer equipment and storage medium

Legal Events

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