CN112529460A - Material scheduling method, scheduling system, electronic device and storage medium - Google Patents

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

Info

Publication number
CN112529460A
CN112529460A CN202011538899.4A CN202011538899A CN112529460A CN 112529460 A CN112529460 A CN 112529460A CN 202011538899 A CN202011538899 A CN 202011538899A CN 112529460 A CN112529460 A CN 112529460A
Authority
CN
China
Prior art keywords
scheduling
node
contract
purchasing
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.)
Granted
Application number
CN202011538899.4A
Other languages
Chinese (zh)
Other versions
CN112529460B (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

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
    • 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

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. The material scheduling method of the invention is that corresponding functional nodes are added in a block chain corresponding to a main body according to the functional types of participating main bodies, and the functional nodes comprise main nodes and material storage unit nodes; synchronously updating uplink information of the functional node in the main node; configuring a material list according to the uplink information, wherein the material list comprises a material storage list and a material production list; and executing a material scheduling contract to ensure that the real-time material reserve amount of the node of the material reserve unit is not less than the critical reserve amount, wherein the material scheduling contract is triggered by judging whether the early warning value is reached or not by the main node according to the real-time material data on the material list. According to the invention, the main node is determined from the types of the participating main bodies, and the function type of each node is determined, so that the main node can conveniently carry out resource clearing and planning, and the resource allocation can be ensured to be carried out orderly and stably.

Description

Material scheduling method, scheduling system, electronic device 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
Emergency rescue is a very complex system, after a disaster or accident occurs, governments, enterprises, institutions and individuals all participate in the rescue process, a large amount of emergency supplies are needed in the rescue process, and how to reasonably store and effectively schedule the supplies is the key of emergency management. The block chain technology has the characteristics of distribution, trustiness, evidence storage, traceability and the like, has natural advantages in the aspects of emergency material storage and scheduling, and can promote the good cooperation of governments, enterprises and institutions in the aspects of emergency material storage, scheduling and transaction convenience, wherein the application number 202010150753.6, the invention name of the resource information scheduling method and device, discloses a method for rapidly and accurately scheduling resources in a region by using the block chain technology and utilizing a block chain, particularly, a spontaneous regulation and control mode is guided by material distance, the lack, supplement and multiple reduction are carried out, the block chain does not have the overall financing property, the timeliness of material scheduling is difficult to ensure when large-scale material scheduling is carried out, although the block chain has the characteristics of traceability, evidence storage and the like, the traceability, evidence storage and evidence storage cannot ensure the availability and the adjustability of real resources, and particularly after disaster occurs, the donation of materials is complicated and various, the authenticity cannot be timely and effectively distinguished, and the availability of materials is difficult to be fundamentally ensured.
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 determining the function type of each node, so that the main node can conveniently perform resource clearing and planning, and the resource allocation can be performed orderly and stably.
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 the main body according to the function types of the participating main bodies, wherein the functional nodes comprise a main node and a material storage unit node;
the uplink information of the functional node is synchronously updated in the main node, wherein the uplink information comprises material body information and material additional information;
configuring a material list according to the uplink information, wherein the material list comprises a material storage list and a material production list;
and responding to the material storage scheduling instruction, executing a material scheduling contract, and enabling the real-time material storage amount of the material storage unit node to be not less than the critical storage amount, wherein the material scheduling contract is triggered by a main node judging whether an early warning value is reached according to the real-time material data on the material list.
Furthermore, the functional nodes also comprise material production unit nodes and material purchasing unit nodes;
the material scheduling comprises the following steps:
the main node follows a material list, and when the material quantity stored by the material storage unit node is smaller than an early warning value, the main node calls an early warning contract to send the early warning contract to the material purchasing unit node;
the main node constructs a material scheduling contract and sends the material scheduling contract to a function node related to the contract;
furthermore, the material purchasing unit node starts a material purchasing contract after receiving the early warning contract; the material purchasing contract is used for purchasing materials from the material purchasing unit node to the material production unit node;
after the material purchasing contract is started, the material purchasing unit node automatically performs order purchasing to the material production unit node;
wherein, the material purchasing contract, the early warning contract and the material scheduling contract are all configured in the corresponding functional nodes in advance.
Further, the uplink information is dynamic information, wherein the material body information and the material additional information are uniformly coded and have standard coding identifiers.
Further, the additional information of the goods and materials comprises information of quantity of goods, information of reserve units, information of contact persons, information of contact ways, information of production units, information of productivity, information of existing inventory and time length of single scheduling.
Further, the material scheduling comprises minimum duration scheduling:
inquiring the material storage unit node:
selecting material storage unit nodes with required materials, selecting at least two material storage unit nodes each time to calculate scheduling time length, comparing after full statistics, selecting minimum scheduling time length, and determining a set of the material storage unit nodes in the minimum scheduling time length, wherein the total material quantity in all the material storage unit nodes selected each time is not less than the required material quantity;
selecting material storage unit nodes with materials not less than the required material quantity, calculating the scheduling time length of each material storage unit node one by one, comparing the previous scheduling time length after calculating the scheduling time length of each unit node, and comparing the reserved short time length with the next scheduling time length to determine a single scheduling material storage unit node with the minimum time length, wherein the comparison time length is started from the calculation of the second single scheduling material storage unit node;
and comparing the set of the material storage unit nodes with the time length of the single scheduling material storage unit node, and screening the material storage unit node with the minimum scheduling time length.
Further, the material storage unit node further comprises a material production unit node in which the required materials are stored, wherein the materials stored in the material production unit node are not reserved.
Further, if the material reserve amount in all the material reserve unit nodes is less than the required material amount, triggering a temporary material purchasing plan;
determining a temporary material purchasing plan:
determining a material production unit node set according to the determined material production units participating in production of the required material production units, and determining material production unit nodes according to the scheduling time of the existing storage amount of the material production unit nodes and/or the minimum duration of the scheduling time of production and transportation;
further, the material reserve of the early warning contract is an emergency material reserve;
the emergency material storage amount comprises a material holding amount and a maneuvering amount in unit time;
and if the sum of the material reserve volume and the maneuvering volume in unit time is less than the emergency material reserve volume, triggering an early warning contract.
The daily consumption and the daily loss are removed by taking the material holding amount in unit time as a basic guarantee amount, and the mechanical momentum is a reserved fixed amount.
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 function node unit is used for giving the function node to which the main body belongs according to the function type of the participating main body, wherein the function node given by the function node unit comprises a main node, a material storage unit node, a material production unit node and a material purchase 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 uplink information;
the query module is used for querying the quantity of the materials in the material list;
the early warning module judges whether the material reserve reaches an early warning value or not according to the quantity of the materials, and if the material reserve is not higher than the early warning value, the main node constructs an early warning contract;
the scheduling module is used for the main node to construct a material scheduling contract and send the material scheduling contract to a function node related to the contract;
the material storage unit node is used for placing a bill to purchase the material production unit node corresponding to the material storage place;
the material purchasing unit node comprises a purchasing module, and after receiving the early warning contract, a material purchasing contract in the purchasing module is constructed;
and the material production unit node corresponds to a material production place and is used for receiving and placing orders for the material purchasing contract.
Furthermore, the scheduling module also comprises a minimum duration scheduling module and a temporary material purchasing module;
the minimum duration scheduling module is used for screening out the material storage unit node with the minimum scheduling duration, and the temporary material purchasing module is triggered when the total material of the scheduling material storage unit is less than the required quantity;
temporary material purchasing module: and determining the material production unit node according to the scheduling time of the existing storage capacity of the material production unit node and/or the minimum duration of the scheduling time of production and transportation.
An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the material scheduling method.
A storage medium comprising a computer program stored thereon, wherein the computer program is configured to execute the above-mentioned material scheduling method when running.
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 credible data sharing, high scheduling efficiency and high reliability, carries out resource clearing and overall planning by using the main node, determines that each of a material storage unit node, a material production unit node and a material purchase unit node is clear in terms of its own functions and work, and ensures that the resource allocation can be carried out orderly and stably.
The credible data sharing is embodied in that the emergency materials relate to a plurality of government departments and production enterprises, and the block chain is provided with a credible data system which can be verified, traced and authorized, so that the information safety can be ensured, and the credible emergency material data sharing is realized. Each department does not need to carry out system butt joint with other departments, and data real-time sharing can be completed only by placing material information on the block chain nodes.
The dispatching efficiency is high, the information transmission layer by layer is not needed, the manual telephone notification is not needed, the material inquiry is not needed, the information verification is not needed, the material storage unit can be directly found, and the automatic material allocation is realized through the system.
The current material storage amount information can be mastered in real time, materials can be supplemented in time according to the characteristics of regions, and the dynamic balance of the material storage amount is realized.
Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts;
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 block diagram of a system for material scheduling;
fig. 4 is a schematic diagram of a hardware structure of the material scheduling electronic device.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present 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, which needs to allocate a large amount of emergency materials to a disaster area after a major disaster, such as a fire, a flood or an epidemic, occurs. The participation in the rescue includes government, enterprise, organization and individual, and particularly in the major rescue process, the government organization generally allocates materials and the enterprise, organization and individual cooperate.
Specifically, taking the scheduling of bulk articles in disaster as an example:
the material scheduling method uses a block chain as a deployment core technology, and specifically comprises the following steps:
s101: adding corresponding function nodes in the block chain corresponding to the main body according to the function types of the participating main bodies;
preferably, the selected participating main bodies are screened, and the screening mode comprises the material amount of a material donor or a producer, the product sampling quality, the geographical position of a storage unit, and the selected storage unit is qualified in quality and is relatively close to a disaster area.
S102: and defining a main node, determining a material storage unit node, a material production unit node and a material purchase unit node in the functional nodes, and adding corresponding functional nodes in the block chain, namely adding off-line functional units into the block chain in a node mode.
In this embodiment, the government units are the master nodes in the block chain, so as to ensure that the master nodes in the block chain have the necessary data calculation and analysis capability, the overall planning 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 units such as organization units are material purchase unit nodes;
the corresponding functional nodes are configured on the block chain according to the classification of the disposal function of the materials, so that the main node is convenient to carry out resource clearing and planning, and the resource allocation can be carried out orderly and stably.
The block chain distributes a pair of public key and private key for each user, the public key is used as an account address of the user on the block chain, and the private key is used as a unique key for operating the account.
S103: and acquiring uplink information of other nodes at the main node, configuring a material list according to the uplink information, and synchronously updating the uplink information of the functional node 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 uplink information of the primary node comprises a material coding specification, a material list and a material production list.
The material coding specification comprises material classification standards and coding forms.
The material storage list comprises material storage varieties, quantity, storage units, contacts and contact ways.
The material production list comprises material production units, production periods, existing stocks, contacts and contact ways.
The above list does not introduce the attribute of the material itself and the corresponding material is the additional information of the material.
The information of the chain on the node of the material storage unit comprises material warehousing, ex-warehouse and current inventory information, wherein the current inventory information comprises the variety and the quantity of materials.
The information of the chain on the node of the material production unit comprises material production information and inventory information, including material varieties, production capacity, existing inventory, contact persons, contact ways and single scheduling duration.
S104: responding to the material storage scheduling instruction, executing a material scheduling contract, and enabling the real-time material storage amount of the material storage unit node to be not less than the critical storage amount, wherein the material scheduling contract is triggered by the main node judging whether the early warning value is reached or not according to the real-time material data on the material list;
the functional nodes also comprise material production unit nodes and material purchasing unit nodes;
the material scheduling comprises the following steps:
the main node follows a material list, and when the material storage amount of the material storage unit node is smaller than the early warning value, the main node calls an early warning contract to send the early warning contract to the material purchasing unit node;
the main node constructs a material scheduling contract and sends the material scheduling contract to a function node related to the contract.
After receiving the early warning contract, the material purchasing unit node starts a material purchasing contract; the material purchasing contract is used for purchasing materials from the material purchasing unit node to the material production unit node;
after the material purchasing contract is started, the material purchasing unit node automatically places an order to purchase the material production unit node, and the purchased material is sent to the corresponding material storage unit node;
the system comprises a main node, a material purchasing unit node, a material scheduling unit node, a material purchasing contract, an early warning contract and a material scheduling contract, wherein the material purchasing contract, the early warning contract and the material scheduling contract are all configured in corresponding functional nodes in advance, specifically, the material purchasing contract is configured in the material purchasing unit node, and the early warning contract and the material scheduling contract are configured in the main node.
The real-time reserve amount is the real-time reserve amount of the material reserve unit node.
In the specific application, an early warning contract is required to be called before a material scheduling contract is constructed, wherein the early warning contract is a trigger condition of a material purchasing contract, after a main node sends the early warning contract to a material purchasing unit node, the material purchasing unit node purchases corresponding materials, a manufacturer corresponding to a material production unit node purchases the materials, and finally the material scheduling contract is constructed on the main node, the material purchasing unit node further comprises a corresponding unpaid purchasing contract, and mainly and immediately receives the contributions of relevant persons.
Early warning contract: and the contract is constructed by the main node and is sent to the material purchasing unit node, and is used for reminding the material reserving amount of the material reserving unit node not higher than the critical reserving amount.
Specifically, the main node follows a material list, and when the material storage amount of the material storage unit node is smaller than the early warning value, the main node sends an early warning contract to the material purchasing unit node.
Contract for purchase of material: and the material storage unit node is constructed after receiving the early warning contract and is used for purchasing the material contract from the material production unit node.
After the material purchasing contract is constructed, the material storage unit node automatically places a bill for purchasing 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 contracts are successfully compiled, the contracts are issued to the block chain.
Wherein, the material reserve of the early warning contract is the emergency material reserve;
the emergency material storage amount comprises a material holding amount and a maneuvering amount in unit time;
and if the sum of the material reserve volume and the maneuvering volume in unit time is less than the emergency material reserve volume, triggering an early warning contract.
The daily consumption and the daily loss are removed by taking the material holding amount in unit time as a basic guarantee amount, and the mechanical momentum is a reserved fixed amount.
Q is the basic guarantee amount (a) - Σ consumption amount (B) - Σ loss amount (C) + engine momentum (D).
In order to ensure the reasonability of Q, several early warning conditions must be set:
the real-time value of Q is less than A;
after 1 month, the predicted value of Q is less than A;
and thirdly, after 3 months, the predicted value of Q is less than A.
Wherein, after starting, the condition (I) needs to initiate material purchasing immediately; after the condition II is triggered, a storage unit needs to be informed, and a purchasing plan is made; and after the condition (c) is triggered, informing a reserve unit.
The loss mainly refers to the failure of materials caused by factors such as environment, thought and the like in the processes of storage, transportation, loading and unloading of the materials, a group of relatively reasonable quantities related to time are obtained according to historical experience, and the consumption (B) is compared and analogized longitudinally according to the historical experience to obtain a group of relatively reasonable consumption related to time.
Specifically, as shown in FIG. 2: the scheduling scheme can also be used for scheduling emergency supplies, and comprises the following specific steps:
s201, determining a material scheduling minimum duration scheduling calculation scheme.
The material scheduling time factor comprises the single scheduling amount of the storage unit, whether the storage unit participates in scheduling, the scheduling times and the single scheduling time, wherein the single scheduling time comprises the ex-warehouse time of single scheduling and the transportation time of the material storage unit reaching a specified site.
Specifically, the method comprises the following steps:
assuming that the material demand is Q, the maximum quantity of single material scheduling of the reserve unit is ai,βiIs an identification variable for judging whether each material reserve unit participates in scheduling, the participation is 1, the non-participation is 0, yiIs the number of dispatches per unit of stock of material, tiIs the ex-warehouse time, m, of single scheduling of each reserve unitiThe transportation time of a material storage unit to a specified site is shown, and T is the shortest time of required materials to the site:
①Q=Σβi*ai*yi
②T=Σβi*(ti+mi)*yi
secondly, constraint conditions are adopted, the shortest arrival time is required in all feasible schemes, and the method is designed based on the 2 equations:
specific scheduling selection: inquiring the material storage unit node:
selecting a material storage unit node with required materials, selecting at least two material storage unit nodes to calculate scheduling time length, selecting the minimum scheduling time length, and determining a set of the material storage unit nodes in the minimum scheduling time length, wherein the total material quantity in all the material storage unit nodes selected each time is not less than the required material quantity;
selecting material storage unit nodes with materials not less than the required material quantity, calculating the scheduling time length of each material storage unit node one by one, comparing the previous scheduling time length after calculating the scheduling time length of each unit node, and comparing the reserved short time length with the next scheduling time length to determine a single scheduling material storage unit node with the minimum time length, wherein the comparison time length is started from the calculation of the second single scheduling material storage unit node;
and comparing the set of the material storage unit nodes with the time length of the single scheduling material storage unit node, and screening the material storage unit node with the minimum scheduling time length.
The material storage unit node further comprises a material production unit node for storing required materials, wherein the materials stored in the material production unit node are not reserved.
Specifically, the method comprises the following steps:
(1) according to the material storage list of the main node, finding all units for storing the materials, and putting the units into a set C;
(2) judging whether the reserve quantity of a single reserve unit is more than or equal to Q, if so, calculating the time required for dispatching the materials from the single reserve unit, comparing the calculation result with the previous time, if so, discarding the materials, and if so, replacing the materials, and finally obtaining the shortest time t1 for dispatching the single reserve unit;
(3) combining every two reserve units, calculating the time required by any 2 reserve units for dispatching the specified amount of materials, comparing the calculation result with the previous time, if the time is more, discarding the units, and if the time is less, replacing the units, and finally obtaining the shortest time t2 for dispatching the single reserve unit;
(4) by analogy, calculating i unit combinations to obtain i unit shortest time ti for scheduling;
(5) and (5) comparing t1, t2 and ti, finding the shortest time and determining the optimal scheduling scheme.
If the calculated amount of the materials which can be dispatched by all the schemes cannot meet the requirement of Q, the calculated difference of the materials is divided into Q and the total amount of all the reserved unit materials is removed, and the difference amount is input into a material purchasing plan.
Planning temporary material purchasing:
if the material reserve amount in all the material reserve unit nodes is less than the required material amount, triggering a temporary material purchasing plan;
planning temporary material purchasing:
and determining a material production unit node set according to the determined material production units participating in production of the required material production units, and determining the material production unit nodes according to the scheduling time of the existing storage amount of the material production unit nodes and/or the minimum duration of the scheduling time of production and transportation.
Specifically, assuming the material demand is Δ Q, the production per day of the production unit is ai,βiIs an identification variable for judging whether each material production unit participates in production, the participation is 1, and the non-participation is 0, yiIs the existing reserve per unit of production, tiIs the production time per production unit, miThe transportation time of a material production unit is T, the shortest time for the required materials to arrive at the site is T, and according to two major objectives, the following two equations can be obtained:
①ΔQ=Σβi*(ai*ti+yi);
②T=Σβi*(ti+mi);
and secondly, constraint conditions are adopted, the shortest arrival time in all feasible schemes is required, an exhaustive method is adopted for calculation based on the two equations, the algorithm is similar to material scheduling, and the optimal scheme is calculated.
After the optimal scheme is determined, the material purchasing contract is started to complete material purchasing.
S202: and (4) contract creation.
And establishing a contract at the main node, and defining the content and the triggering condition of the contract, wherein the current material is less than the material required to trigger a temporary material purchasing condition, and establishing a temporary purchasing contract, and the triggering conditions of the material purchasing contract, the early warning contract and the material scheduling contract are as above.
S203: and (5) contract confirmation.
The main node sends the contract to the material storage unit and the material production unit for confirmation, and after each unit uses the private key for signature confirmation, the contract is formally established.
S204: and (6) releasing the contract.
And the main node issues the confirmed contract to the nodes of each relevant unit, and each node receives the contract source code and then compiles and issues the contract.
S205: contract triggering.
And the emergency command center determines the quantity of the required materials according to the emergency situation and starts a material scheduling contract.
S206: and (5) issuing a debug.
And calculating a material scheduling scheme according to a model in the contract, and directly sending a scheduling instruction to the relevant unit according to the scheduling scheme.
If the quantity of the existing materials cannot meet the requirement, the difference part carries out purchasing according to the temporary material purchasing plan.
It should be noted that, in the above system embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
A scheduling system, comprising:
and 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 the material purchasing unit node, wherein the basic content of the contract is established in advance, namely the contract is only required to be added with the corresponding material storage unit node, the material production unit node and the material purchasing unit node when being called and executed, and a specific execution object is filled.
The function node unit is used for giving the function node to which the main body belongs according to the function type of the participating main body, wherein the function node given by the function node unit comprises a main node, a material storage unit node, a material production unit node and a material purchasing unit node, and the function node is correspondingly given on the block chain through the specific functions of the offline unit;
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 uplink information;
the query module is used for querying the quantity of the materials in the material list;
the early warning module judges whether the material reserve reaches an early warning value or not according to the quantity of the materials, and if the material reserve is not higher than the early warning value, the main node constructs an early warning contract;
the scheduling module is used for the main node to construct a material scheduling contract and send the material scheduling contract to a function node related to the contract;
the material storage unit node is used for placing a bill to purchase the material production unit node corresponding to the material storage place;
the material purchasing unit node comprises a purchasing module, and after receiving the early warning contract, a material purchasing contract in the purchasing module is constructed;
and the material production unit node corresponds to a material production place and is used for receiving and placing orders for the material purchasing contract.
Furthermore, the scheduling module also comprises a minimum duration scheduling module and a temporary material purchasing module;
the minimum duration scheduling module is used for screening out the material storage unit node with the minimum scheduling duration, and the temporary material purchasing module is triggered when the total material of the scheduling material storage unit is less than the required quantity;
temporary material purchasing module: and determining the material production unit node according to the scheduling time of the existing storage capacity of the material production unit node and/or the minimum duration of the scheduling time of production and transportation.
An electronic device, a memory 402 and a processor 401, wherein the memory 402 stores a computer program, and the processor 401 is configured to run the computer program to execute the information distribution method for city management.
The processor 401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more integrated circuits of the 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 include a hard disk drive (hard disk drive, HDD for short), a floppy disk drive, a solid state drive (SSD for short), flash memory, an optical disk, a magneto-optical disk, tape, or a 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. The 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). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or FLASH memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a static random-access memory (SRAM) or a dynamic random-access memory (DRAM), where the DRAM may be a fast page mode DRAM 402 or the like, where appropriate.
Memory 402 may be used to store or cache various data files for processing and/or communication purposes, as well as possibly computer program instructions for execution by processor 401.
The processor 401 realizes the processing of the issue information and the distribution method of the issue information in the above-described embodiments by reading and executing the computer program instructions stored in the memory 402.
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 transmitting device 403 may be used to receive or transmit data via a network. Specific examples of the network described above may include wired or wireless networks provided by communication providers of the electronic devices. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 403 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The output/input device 404 is used for inputting or outputting 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, in which a computer program is stored, wherein the computer program is arranged to execute the above-mentioned information distribution method of city management when running.
Optionally, in this embodiment, the processor 401 may be configured to execute the following steps of the material scheduling method through a computer program.
A storage medium comprising a computer program stored thereon, wherein the computer program is configured to execute the above-mentioned material scheduling method when running.
In addition, it can be understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above can be implemented by instructing the relevant hardware through a program, and the corresponding program can be stored in a computer-readable storage medium, such as a ROM/RAM, a magnetic disk, or an optical disk.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise forms 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 utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (14)

1. A material scheduling method is characterized by comprising the following steps:
adding corresponding functional nodes in a block chain corresponding to the main body according to the function types of the participating main bodies, wherein the functional nodes comprise a main node and a material storage unit node;
the uplink information of the functional node is synchronously updated in the main node, wherein the uplink information comprises material body information and material additional information;
configuring a material list according to the uplink information, wherein the material list comprises a material storage list and a material production list;
and responding to a material reserve scheduling instruction, executing a material scheduling contract, and enabling the real-time material reserve amount of the material reserve unit node to be not less than the critical reserve amount, wherein the material scheduling contract is triggered by the main node according to the real-time material data on the material list to judge whether the real-time material reserve amount reaches an early warning value.
2. The material scheduling method according to claim 1, wherein the functional nodes further comprise a material production unit node and a material purchase unit node;
the material scheduling comprises the following steps:
the main node follows the material list, and when the material quantity stored by the material storage unit node is smaller than an early warning value, the main node calls an early warning contract to send the early warning contract to the material purchasing unit node;
and the main node constructs the material scheduling contract and sends the material scheduling contract to a function node related to the contract.
3. The material scheduling method according to claim 2, wherein the material procurement unit node enables the material procurement contract after receiving the early warning contract; the material purchasing contract is used for the material purchasing unit node to purchase materials to the material production unit node;
after the material purchasing contract is started, the material purchasing unit node automatically places a bill to the material production unit node for purchasing;
and the material purchasing contract, the early warning contract and the material scheduling contract are all configured in the corresponding functional nodes in advance.
4. The method of claim 3, wherein the uplink information is dynamic information, and wherein the material body information and the material additional information are encoded uniformly and have standard encoding identifiers.
5. The material scheduling method according to claim 4, wherein the additional information of the material comprises information of quantity of the material, information of reserve unit, information of contact person, information of contact way, information of production unit, information of productivity, information of stock in existence, and time length of single scheduling.
6. The material scheduling method according to claim 5, wherein the material scheduling duration factor comprises a single scheduling amount of the reserve unit, whether to participate in scheduling, a scheduling number and a single scheduling duration, wherein the single scheduling duration comprises a warehouse-out duration of the single scheduling and a transportation time of the material reserve unit to a specified site.
7. The method of claim 6, wherein the material scheduling comprises a least duration scheduling:
inquiring the material storage unit node:
selecting the material storage unit nodes with required materials, selecting at least two material storage unit nodes each time to calculate the scheduling time length, comparing after full statistics, selecting the minimum scheduling time length, and determining the set of the material storage unit nodes in the minimum scheduling time length, wherein the total material quantity in all the material storage unit nodes selected each time is not less than the required material quantity;
selecting material storage unit nodes with materials not less than the required material quantity, calculating the scheduling time length of each material storage unit node one by one, and determining a single scheduling material storage unit node with the minimum time length;
and comparing the set of the material storage unit nodes with the time length of the single scheduling material storage unit node, and screening the material storage unit node with the least scheduling time length.
8. The material scheduling method according to claim 7, wherein the material storage unit node further comprises a material production unit node storing the required material, wherein the material stored in the material production unit node is not predetermined.
9. The material scheduling method according to claim 7, wherein if the material reserve amount in all the material reserve unit nodes is less than the required material amount, a temporary material purchasing plan is triggered;
determining a temporary material purchasing plan:
and determining the material production unit node set according to the material production units required by production, and determining the material production unit nodes according to the scheduling time of the existing storage amount of the material production unit nodes and/or the minimum duration of the scheduling time of production and transportation.
10. The material scheduling method according to claim 3, wherein the material reserve of the early warning contract is an emergency material reserve;
the emergency material storage amount comprises a material holding amount and a maneuvering amount in unit time;
and if the sum of the reserve amount of the materials and the maneuvering amount in unit time is less than the reserve amount of the emergency materials, triggering an early warning contract.
The daily consumption and the daily loss are removed by taking the material holding amount in unit time as a basic guarantee amount, and the mechanical momentum is a reserved fixed amount.
11. 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 function type participating in the main body, wherein the functional node endowed by the functional node unit comprises the main node, the material storage unit node, the material production unit node and the material purchase 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 uplink information;
the query module is used for querying the material quantity of the material list;
the early warning module is used for judging whether the material reserve amount reaches an early warning value or not according to the material quantity, and if the material reserve amount is not higher than the early warning value, the main node constructs an early warning contract;
the scheduling module is used for the main node to construct the material scheduling contract and send the material scheduling contract to a function node related to the contract;
the material storage unit node is used for placing a bill to purchase the material production unit node corresponding to a material storage place;
the material purchasing unit node comprises a purchasing module, and the material purchasing contract in the purchasing module is constructed after the early warning contract is received;
and the material production unit node corresponds to a material production place and is used for receiving the order from the material purchasing contract.
12. A scheduling system according to claim 11, wherein:
the scheduling module also comprises a minimum duration scheduling module and a temporary material purchasing module;
the minimum duration scheduling module is used for screening out the material storage unit node with the minimum scheduling duration, and the temporary material purchasing module is triggered when the total material of the scheduling material storage unit is less than the required quantity;
the temporary material purchasing module: and determining the material production unit node according to the scheduling time of the existing storage capacity of the material production unit node and/or the minimum duration of the scheduling time of production and transportation.
13. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the material scheduling method of any one of claims 1-10.
14. A storage medium comprising a computer program stored thereon, wherein the computer program is configured to execute the material scheduling method of any one of claims 1-10 when the computer program is executed.
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 true CN112529460A (en) 2021-03-19
CN112529460B 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)

Cited By (4)

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

Citations (18)

* 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
US20180165166A1 (en) * 2016-12-14 2018-06-14 Nutanix, Inc. Maintaining high availability during n-node failover
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
US20200151269A1 (en) * 2018-11-08 2020-05-14 International Business Machines Corporation Consensus transaction scheduler
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

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180165166A1 (en) * 2016-12-14 2018-06-14 Nutanix, Inc. Maintaining high availability during n-node failover
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
US20200151269A1 (en) * 2018-11-08 2020-05-14 International Business Machines Corporation Consensus transaction scheduler
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
ZHAOJING WANG等: "Blockchain-based framework for improving supply chain traceability and information sharing in precast construction", 《AUTOMATION IN CONSTRUCTION》, pages 1 - 13 *
叶畅: "应对高渗透率分布式电源接入的主动配电网优化调度方法研究", 《中国博士学位论文全文数据库 工程科技Ⅱ辑》, vol. 22020, no. 3, pages 042 - 46 *
才丽: "面向BaaS平台的资源调度算法研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, vol. 2019, no. 1, pages 138 - 2162 *
王爽;: "基于区块链的应急物流体系建设", 市场周刊, no. 06, pages 15 - 16 *

Cited By (6)

* 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
CN114997700A (en) * 2022-06-22 2022-09-02 中关村科学城城市大脑股份有限公司 Epidemic prevention material allocation system and method based on urban brain
CN115392641A (en) * 2022-07-29 2022-11-25 武汉达梦数据技术有限公司 Resource scheduling method and device
CN115392641B (en) * 2022-07-29 2023-06-23 武汉达梦数据技术有限公司 Resource scheduling method and device
CN115712684A (en) * 2022-11-24 2023-02-24 南京鼎山信息科技有限公司 Storage method and system for dynamic information of articles in Internet of things
CN115712684B (en) * 2022-11-24 2023-10-24 南京鼎山信息科技有限公司 Storage method and system for dynamic information of articles in Internet of things

Also Published As

Publication number Publication date
CN112529460B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN112529460A (en) Material scheduling method, scheduling system, electronic device and storage medium
JP7097675B2 (en) Risk identification in the supply chain
Benyoucef et al. Supply chain network design with unreliable suppliers: a Lagrangian relaxation-based approach
CA2873147C (en) Delivery area management method
CN108681975A (en) A kind of household services approaches to IM, device and equipment
Lee et al. Operations scheduling with multiple resources and transportation considerations
CN109472441B (en) Method, processing device, equipment and storage medium for allocating materials
CN112041860A (en) Machine learning on blockchains
CN109376976A (en) Material information management method and terminal device
CN110751458B (en) Business approval method, device and system
CN111429055A (en) Goods transportation information prompting method, equipment and storage medium
US20230017632A1 (en) Reducing the environmental impact of distributed computing
CN112330341A (en) Order allocation method and device, computer equipment and storage medium
CN109523182A (en) A kind of beam field production management method, platform, computer equipment and storage medium
CN103270520A (en) Importance class based data management
CN109447497A (en) A kind of PROJECT TIME estimates management method and system
CN114844791B (en) Cloud service automatic management and distribution method and system based on big data and storage medium
CN109977379A (en) Mail generation method, device, electronic equipment and computer readable storage medium
CN115641166A (en) Virtual resource allocation strategy creation method and system
Kulkarni et al. A new two-stage heuristic for the recreational vehicle scheduling problem
CN115048158A (en) Process arranging and calling method, system and computer equipment thereof
Le et al. Agent-based sensor-mission assignment for tasks sharing assets
CN114240667A (en) Data asset transaction system based on block chain
JP6599926B2 (en) Management apparatus, management method, and management program
Dalapati et al. Dynamic process scheduling and resource allocation in distributed environment: an agent-based modelling and simulation

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