WO2021068591A1 - Blockchain-based daily production and daily clearing accounting method, apparatus and device, and storage medium - Google Patents

Blockchain-based daily production and daily clearing accounting method, apparatus and device, and storage medium Download PDF

Info

Publication number
WO2021068591A1
WO2021068591A1 PCT/CN2020/102675 CN2020102675W WO2021068591A1 WO 2021068591 A1 WO2021068591 A1 WO 2021068591A1 CN 2020102675 W CN2020102675 W CN 2020102675W WO 2021068591 A1 WO2021068591 A1 WO 2021068591A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain
finished product
nissan
production
data
Prior art date
Application number
PCT/CN2020/102675
Other languages
French (fr)
Chinese (zh)
Inventor
肖光昱
郑保明
Original Assignee
深圳点链科技有限公司
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 深圳点链科技有限公司 filed Critical 深圳点链科技有限公司
Publication of WO2021068591A1 publication Critical patent/WO2021068591A1/en

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/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis

Definitions

  • This application relates to the field of data processing, and in particular to a method, device, equipment and storage medium for Nissan's daily settlement based on blockchain.
  • the main purpose of this application is to propose a blockchain-based Nissan daily settlement accounting method, device, equipment and storage medium, which aims to solve the problem that enterprise managers and enterprise customers cannot grasp the production situation of the enterprise on that day.
  • this application provides a blockchain-based Nissan daily settlement accounting method, and the blockchain-based Nissan daily settlement accounting method includes:
  • the production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data in the production work order is extracted;
  • the method further includes:
  • a bill of materials is created according to the purchase order, and the bill of materials is uploaded to the blockchain;
  • the production work order is established in the blockchain.
  • the step of calculating the work order parameters corresponding to the production work order based on the material list and preset loss calculation rules includes:
  • the work order parameter corresponding to the production work order is calculated based on the loss interval and the material usage data on the material list.
  • the method further includes:
  • the qualified finished product data is re-acquired until the qualified finished product data is greater than or equal to the preset value.
  • step of entering the over-collaring process and establishing the over-collaring list in the blockchain includes:
  • an over-received order is established in the blockchain.
  • Finished product data (material usage data + reasonable loss data + over-recovery data-returned material data)/unit finished product material data, where the material usage data, the reasonable loss data, the over-collected data, and the returned material
  • the material usage data, the reasonable loss data, the over-collected data, and the returned material Both the quantity and the unit finished product material data are the material parameters.
  • procurement node and the production node are connected to the blockchain by using the same application programming interface API interface.
  • the blockchain-based Nissan daily settlement accounting device includes:
  • the detection module is configured to detect the pending production work orders uploaded to the blockchain by the production node;
  • An extraction module configured to extract finished product data in the production work order
  • Substitution module configured to determine that the qualified finished product data in the finished product data is greater than or equal to a preset value, then substitute the finished product data and the material parameters in the production work order into the Nissan Daily Constant equation;
  • the upload module is configured to upload the calculation result of the Nissan Nissin Constant Equation to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
  • this application also provides a blockchain-based Nissan daily settlement accounting device.
  • the blockchain-based Nissan daily settlement accounting device includes a memory, a processor, and a A blockchain-based Nissan daily settlement accounting program that runs on the processor, and the blockchain-based Nissan daily settlement accounting program is executed by the processor to realize the above-mentioned blockchain-based Nissan daily Steps of the liquidation accounting method.
  • this application also provides a storage medium on which the blockchain-based Nissan daily settlement accounting program is stored, and the blockchain-based Nissan daily settlement accounting program is processed When the device is executed, the steps of the above-mentioned blockchain-based Nissan daily settlement accounting method are realized.
  • the application discloses a method, device, equipment, and storage medium for daily settlement calculation of Nissan based on the blockchain.
  • the method includes the steps of detecting the production work order to be calculated uploaded by the production node to the blockchain, and extracting the production work order. Finished product data in the order; after confirming that the qualified finished product data in the finished product data is greater than or equal to the preset value, substitute the finished product data and the material parameters in the production work order into the Nissan Nissin Constant Equation; upload the calculation result of the Nissan Nissin Constant Equation In the blockchain, for production nodes and purchasing nodes to perform corresponding operations based on the calculation results.
  • This application realizes the judgment of whether the calculation of the daily production input and output of the enterprise is balanced, and the judgment result is shared through the blockchain, so that the managers of the production enterprise and the customers of the production enterprise can accurately and timely know the production situation of the enterprise , And track whether materials and products are missing.
  • FIG. 1 is a schematic diagram of the hardware structure of a blockchain-based Nissan daily settlement accounting device that implements each embodiment of the present application;
  • Fig. 2 is a schematic flowchart of the first embodiment of the daily settlement accounting method of Nissan based on the blockchain in this application.
  • FIG. 1 is a schematic structural diagram of a hardware operating environment involved in a solution of an embodiment of this application.
  • Figure 1 can be a schematic diagram of the hardware operating environment of the Nissan Nissan's accounting equipment based on the blockchain.
  • the daily settlement accounting equipment of Nissan based on the blockchain may be a PC, a portable computer, a server and other equipment.
  • the blockchain-based Nissan daily settlement accounting device may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as disk storage.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
  • the Nissan Nissan Nissan accounting device based on the blockchain may also include an RF (Radio Frequency, radio frequency) circuit, a sensor, a WiFi module, and so on.
  • RF Radio Frequency, radio frequency
  • block chain-based Nissan Nissan Nissan’s accounting equipment structure shown in Fig. 1 does not constitute a limitation of the blockchain-based Nissan Nissan’s accounting equipment, and may include more or less than that shown in the figure. Components, or a combination of certain components, or different component arrangements.
  • the memory 1005 which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a Nissan daily settlement accounting program based on the blockchain.
  • the operating system is a program that manages and controls the hardware and software resources of the Nissan Nissan's accounting equipment based on the blockchain, and supports the operation of the Nissan's Nissan's accounting program and other software or programs based on the blockchain.
  • the blockchain-based Nissan Nissan's accounting device shown in Figure 1 can be used for the blockchain-based Nissan Nissan's accounting.
  • the user interface 1003 is mainly used to detect or output various information, such as detecting finished product data and output Information that Nissan Nissin’s constant equation does not hold, etc.;
  • the network interface 1004 is mainly used to interact with the back-end server and communicate;
  • the processor 1001 can be used to call the blockchain-based Nissan’s daily settlement accounting program stored in the memory 1005 and perform the following operations :
  • the production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data in the production work order is extracted;
  • the processor 1001 before detecting the production work order to be calculated uploaded to the blockchain by the production node, and extracting the finished product data in the production work order, the processor 1001 is also used to call the block-based storage in the memory 1005. Chain’s Nissan’s daily settlement accounting procedures, and perform the following operations:
  • the production work order is established in the blockchain.
  • the step of calculating the work order parameters corresponding to the production work order based on the material list and preset loss calculation rules includes:
  • the work order parameter corresponding to the production work order is calculated based on the loss interval and the material usage data on the material list.
  • the processor 1001 is also used to call the storage based on Nissan's daily settlement accounting procedures on the blockchain, and perform the following operations:
  • the qualified finished product data is re-acquired until the qualified finished product data is greater than or equal to the preset value.
  • step of entering the over-collaring process and establishing the over-collaring list in the blockchain includes:
  • an over-received order is established in the blockchain.
  • Finished product data (material usage data + reasonable loss data + over-recovery data-returned material data)/unit finished product material data, where the material usage data, the reasonable loss data, the over-collected data, and the returned material
  • the material usage data, the reasonable loss data, the over-collected data, and the returned material Both the quantity and the unit finished product material data are the material parameters.
  • procurement node and the production node are connected to the blockchain by using the same application programming interface API interface.
  • the finished product data in the production work order is extracted; after confirming that the qualified finished product data in the finished product data is greater than or equal to the preset value, the finished product
  • the data and the material parameters in the production work order are substituted into the Nissan Nissin Constant Equation; the calculation result of the Nissan Nissin Constant Equation is uploaded to the blockchain for the production node and the procurement node to perform corresponding operations based on the calculation result.
  • This application realizes the judgment of whether the calculation of the daily production input and output of the enterprise is balanced, and the judgment result is shared through the blockchain, so that the managers of the production enterprise and the customers of the production enterprise can accurately and timely know the production situation of the enterprise , And track whether materials and products are missing.
  • the implementation of the mobile terminal of the present application is basically the same as the following embodiments of the Nissan daily settlement accounting method based on the blockchain, and will not be repeated here.
  • This application provides a method for the daily settlement of Nissan based on the blockchain.
  • Fig. 1 is a schematic flowchart of a first embodiment of a method for calculating daily settlement of Nissan based on blockchain in this application.
  • the calculation method of Nissan's daily settlement based on the blockchain includes:
  • step S10 the production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data in the production work order is extracted.
  • Nissan Nissan's accounting method uses blockchain technology. First, it is checked whether the production node uploads the production work order to the blockchain, and the production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data is extracted from the production work order. It is understandable that what needs to be calculated is the data in the production work order, and the finished product data is one of all the data in the production work order. It should be noted that the data mentioned in all the examples agree with the quantity.
  • Step S20 After it is determined that the qualified finished product data in the finished product data is greater than or equal to a preset value, the finished product data and the material parameters in the production work order are substituted into the daily production and daily clearing identity.
  • the preset value is set manually, and the size of the preset value can be the number of products required by the customer on the day, or greater than the number of products required by the customer on the day.
  • the finished product data includes the qualified finished product data and the unqualified finished product data.
  • the products required by the customer should be qualified finished products.
  • the qualified finished product data in the finished product data is greater than or equal to the preset value, it means that the daily production volume has met the customer's requirements, and then the finished product data and the material parameters in the production work order are substituted into the Nissan Nisshin constant equation for calculation .
  • step S30 the calculation result of the Nissan Nissin Constant Equation is uploaded to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
  • Nissan Nissin's constant equation There are two calculation results of Nissan Nissin's constant equation, namely, the identity is established and the identity is not established. Whether the Nissan Nissin constant equation is established is the standard for judging whether the daily input and output of the enterprise are balanced. When the data of the finished product is equal to the input material. When the finished product data is output, it shows that the production input and output of the enterprise are balanced at this time, and the Nissan Nissin Heng equation is established. When the finished product data produced is not equal to the finished product data of the input materials, it means that the production input and output of the enterprise are imbalanced at this time, and the Nissan Nissin constant equation is not established, and the interactive interface output of the production node is attributed to the production. The instruction information of the department reminds the staff that the finished product has not been put into the warehouse, or the remaining materials that are not involved in the production have not been put into the warehouse.
  • the finished product data calculated by the formula (1) is equal to the finished product data calculated by the formula (2), the input and output of the enterprise's production are balanced.
  • the material usage data, reasonable loss data, over-claim data, returned material data and unit finished product material data are all material parameters. These material parameters are calculated based on the number of products required by the customer and the built-in calculation rules .
  • the material usage data is the total amount of materials needed to produce the products required by the customer; the reasonable loss data is the amount of wastage inevitably caused during production; the over-required data is the qualified finished product data obtained when the materials are used up for the first time. Does not meet customer requirements, and needs to continue production to complete the material requested for the second time; the returned material data is the amount of unused materials remaining after the number of products required by the customer is produced; the unit finished product material data is the production of a single finished product The amount of material required.
  • the calculation result is uploaded to the blockchain so that both the production node and the purchase node can obtain the calculation result, understand the production situation of the product, and take corresponding measures in response to the situation. Take the appropriate action.
  • the production node corresponding to the producer system and the purchasing node corresponding to the buyer system are connected to the blockchain and become a node in the blockchain.
  • PBFT Practical Byzantine Fault Tolerance, a practical Byzantine fault-tolerant algorithm
  • each node of the blockchain jointly confirms transactions in the blockchain.
  • Purchasing nodes and production nodes use the same API (Application Programming Interface (application programming interface) is connected to the blockchain, which avoids the existence of different API interfaces between different merchants (producers and purchasers) in the prior art, and in the process of data interaction between different merchants.
  • API Application Programming Interface
  • the open platform of the blockchain can provide an open platform interface, and the buyer system and the manufacturer system can be connected to the blockchain through the open platform interface and become a node in the blockchain ; Or connect the platform docked with the buyer system and supplier system to the development platform of the blockchain; or connect the buyer system and the manufacturer system as a node of the blockchain to the information sharing of the blockchain In the platform, in order to realize the information sharing between manufacturers and purchasers.
  • the purchasing node and the production node are connected to the blockchain through the same API interface, so that the buyer can grasp the production situation of the product in a timely and accurate manner as the manufacturer.
  • the access status of the materials can be checked, the used materials can be settled with the customer in a timely manner, and the materials that need to be returned to the customer can be counted. Return material.
  • This embodiment extracts the finished product data in the production job order by detecting the to-be-calculated production work order uploaded by the production node to the blockchain; after determining that the qualified finished product data in the finished product data is greater than or equal to the preset value, the finished product
  • the data and the material parameters in the production work order are substituted into the Nissan Nissin Constant Equation; the calculation result of the Nissan Nissin Constant Equation is uploaded to the blockchain, so that the production node and the procurement node can perform corresponding operations based on the calculation result, and realize the
  • the company’s daily production input and output are calculated to determine whether the calculation is balanced, and the judgment result is sent to the blockchain, so that the managers of the production company and the customers of the production company that access the blockchain can be accurate and timely Grasp the production situation of the enterprise.
  • the second embodiment of the daily settlement accounting method of Nissan based on the blockchain of this application is proposed.
  • the difference between the second embodiment of the blockchain-based Nissan’s daily settlement accounting method and the first embodiment of the blockchain-based Nissan’s daily settlement accounting method is that the production node to be uploaded to the blockchain is detected. After the work order, before the step of extracting the finished product data in the production work order, it also includes:
  • Step a Detect the purchase order uploaded by the purchasing node to the blockchain, create a material list according to the purchase order, and upload the material list to the blockchain.
  • Step b Calculate work order parameters corresponding to the production work order based on the material list and preset loss calculation rules.
  • the amount of materials used for production is calculated according to the bill of materials and preset loss calculation rules.
  • Step c Establish the production work order in the blockchain according to the work order parameters.
  • the production work order is established in the blockchain based on the work order generation rules.
  • the work order generation rules include: adding the work order parameters to the preset position in the work order template on the blockchain to establish the production work order. single.
  • step b also includes:
  • Step d Calculate the loss interval of the bill of materials according to a preset loss calculation rule.
  • the batch wastage is a value estimated by the staff based on production experience, which is artificially set.
  • the loss on the ladder and the loss under the ladder do not exist at the same time, it is determined according to the specific situation.
  • the down-step loss is taken; when the number of work orders is greater than the number of steps or the number of steps is zero, the up-step loss is taken.
  • the number of work orders is the number of products required by the customer, and the number of steps is set by the staff based on production experience.
  • Three scenarios are set up below and three calculation formulas for total loss are proposed:
  • Scenario 2 The number of work orders is less than or equal to the number of steps, and the loss rate under the steps is less than 1, and the loss under the steps is taken.
  • Scenario 3 The number of work orders is less than or equal to the number of steps, and the loss rate under the steps is greater than or equal to 1, and the loss under the steps is still taken.
  • the total loss is calculated, and then the loss interval is estimated based on the total loss.
  • the calculated total loss must belong to the loss interval.
  • Step e Calculate production work order parameters based on the loss interval and the material usage data on the bill of materials.
  • This embodiment establishes a bill of materials by detecting the purchase order uploaded by the purchasing node to the blockchain, and then calculates the loss interval of the bill of materials based on the bill of materials and preset loss calculation rules, and calculates the loss interval of the bill of materials based on the loss interval and the amount of materials on the bill of materials
  • the data calculates the production work order parameters and establishes the production work order.
  • This method of establishing the production work order provides the staff with a reliable data reference for the quantity of materials received, avoiding the difficulty of the follow-up accounting caused by the blind receipt of the staff, and also avoiding the work Fewer personnel take and increase the number of over-lead procedures. Since the production work order is built on the blockchain platform, enterprise customers can understand the situation of production materials in a timely and accurate manner.
  • the third embodiment of the daily settlement accounting method of Nissan based on the blockchain of this application is proposed.
  • the difference between the third embodiment of the blockchain-based Nissan’s daily settlement accounting method and the first or second embodiment of the blockchain-based Nissan’s daily settlement accounting method is that the detected production node is uploaded to the blockchain After the step of extracting the finished product data in the production work order to be accounted for, it further includes:
  • Step f After determining that the qualified finished product data in the finished product data is less than the preset value, enter the over-collection process, and create an over-collection order in the blockchain.
  • Step g Re-acquire the qualified finished product data based on the over-receipt order and the production work order until the qualified finished product data is greater than or equal to the preset value.
  • the production work order in the blockchain and the data in the over-collection order are integrated to obtain the total qualified finished product data. After confirming that the total qualified finished product data is still less than the preset value, continue the over-collection process until The data of qualified finished products is greater than or equal to the preset value. Under normal circumstances, it only takes one time to complete the production task after entering the over-collar process.
  • step of entering the over-collaring process in step f, and establishing the over-collaring order in the blockchain includes:
  • Step h enter the over-receiving process, and estimate the over-received material data based on the difference between the qualified finished product data and the preset value.
  • the difference is estimated based on the difference between the qualified finished product data and the preset value, and the material data required to produce the product with the difference is calculated based on the difference, and again according to the loss calculation rules described in the second embodiment Calculate the over-required material data.
  • Step i Create an over-receiving list in the blockchain according to the over-received material data and the returned material data after the end of production.
  • the qualified finished product data when the qualified finished product data is less than the preset value, enter the over-receiving process, estimate the over-required material data according to the difference between the qualified finished product data and the preset value, and then based on the over-received material data and the post-production
  • the return data creates an over-receipt order in the blockchain, and re-acquires the qualified finished product data according to the over-received order and the production work order until the qualified finished product data is greater than or equal to the preset value.
  • This kind of data does not satisfy the customer when the qualified finished product data is Reproduction is carried out when the required product quantity is required.
  • the re-recording of the data changes caused by the reproduction reflects the flexibility of the Nissan’s daily settlement accounting process based on the blockchain, and the timely update of the production work order also improves the use of the area based on the area.
  • the embodiment of the present application also proposes a blockchain-based Nissan daily settlement accounting device, and the blockchain-based Nissan daily settlement accounting device includes:
  • the detection module is configured to detect the pending production work orders uploaded to the blockchain by the production node;
  • An extraction module configured to extract finished product data in the production work order
  • the substitution module is configured to, after determining that the qualified finished product data in the finished product data is greater than or equal to a preset value, substitute the finished product data and the material parameters in the production work order into the Nissan Nisshin constant equation;
  • the upload module is configured to upload the calculation result of the Nissan Nissin Constant Equation to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
  • block chain-based Nissan daily settlement accounting module further includes:
  • An establishment module configured to detect the purchase order uploaded by the purchase node to the blockchain, and establish a material list according to the purchase order;
  • the upload module is configured to upload the bill of materials to the blockchain.
  • the calculation module is configured to calculate the work order parameters corresponding to the production work order based on the bill of materials and preset loss calculation rules;
  • the establishment module is further configured to establish the production work order in the blockchain according to the work order parameters.
  • calculation module further includes:
  • the calculation unit is configured to calculate the loss interval of the bill of materials according to a preset loss calculation rule
  • the calculation unit is further configured to calculate the loss interval of the bill of materials according to a preset loss calculation rule
  • the calculation unit is further configured to calculate the work order parameter corresponding to the production work order based on the loss interval and the material usage data on the bill of materials.
  • block chain-based Nissan daily settlement accounting device further includes:
  • Enter the module configured to enter the over-collaring process after determining that the qualified finished product data in the finished product data is less than the preset value
  • the establishment module is further configured to establish an over-collection order in the blockchain
  • the obtaining module is configured to reacquire the qualified finished product data based on the over-receipt order and the production work order until the qualified finished product data is greater than or equal to the preset value.
  • the entry module further includes:
  • the estimation unit is configured to estimate the data of over-required materials according to the difference between the qualified finished product data and the preset value
  • the establishment unit is configured to establish an over-collection order in the blockchain according to the over-collected material data and the returned material data after production.
  • an embodiment of the present application also proposes a storage medium that stores a blockchain-based Nissan daily settlement calculation program, and the above is achieved when the blockchain-based Nissan daily settlement calculation program is executed by a processor.
  • the storage medium can be set in the Nissan's daily settlement accounting equipment based on the blockchain.
  • the specific implementation of the storage medium of the present application is basically the same as each embodiment of the above-mentioned blockchain-based Nissan daily settlement accounting method, and will not be repeated here.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

Disclosed by the present application are a blockchain-based daily production and daily clearing accounting method, apparatus and device, and a storage medium. The method comprises the steps of: detecting a production work order to undergo accounting that has been uploaded to a blockchain by a production node, and extracting finished product data from within the production work order; determining that qualified finished product data in the finished product data is greater than or equal to a preset threshold, and then substituting the finished product data and material parameters of the production work order into a daily production and daily clearing identity; and uploading a calculation result of the daily production and daily clearing identity to the blockchain, so that the production node and a purchasing node execute corresponding operations according to the calculation result.

Description

基于区块链的日产日清核算方法、装置、设备及存储介质Blockchain-based Nissan daily settlement accounting method, device, equipment and storage medium
本申请要求于2019年10月10日提交中国专利局、申请号为201910962098.1、发明名称为“基于区块链的日产日清核算方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application requires the priority of a Chinese patent application filed with the Chinese Patent Office on October 10, 2019, the application number is 201910962098.1, and the invention title is "Blockchain-based Nissan Nissan Nissan Accounting Method, Device, Equipment, and Storage Medium". The entire content is incorporated into the application by reference.
技术领域Technical field
本申请涉及数据处理领域,尤其涉及一种基于区块链的日产日清核算方法、装置、设备及存储介质。This application relates to the field of data processing, and in particular to a method, device, equipment and storage medium for Nissan's daily settlement based on blockchain.
背景技术Background technique
目前生产企业基于订单协同、采购协同、物流协同等,可以很快地计算出每日投入多少和每日产出多少,但是无法知道每日的生产投入和生产产出的核算是否平衡,进一步地也使得企业管理者和企业客户无从知晓产品的生产情况。At present, based on order coordination, procurement coordination, logistics coordination, etc., production companies can quickly calculate how much daily input and daily output, but it is impossible to know whether the daily production input and production output are balanced. It also makes it impossible for corporate managers and corporate customers to know the production status of the product.
技术解决方案Technical solutions
本申请的主要目的在于提出一种基于区块链的日产日清核算方法、装置、设备及存储介质,旨在解决企业管理者和企业客户无法掌握企业当日的生产情况的问题。The main purpose of this application is to propose a blockchain-based Nissan daily settlement accounting method, device, equipment and storage medium, which aims to solve the problem that enterprise managers and enterprise customers cannot grasp the production situation of the enterprise on that day.
为实现上述目的,本申请提供了一种基于区块链的日产日清核算方法,所述基于区块链的日产日清核算方法包括:In order to achieve the above objective, this application provides a blockchain-based Nissan daily settlement accounting method, and the blockchain-based Nissan daily settlement accounting method includes:
检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据;The production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data in the production work order is extracted;
确定所述成品数据中的合格成品数据大于或等于预设值后,将所述成品数据和所述生产工单中的物料参数代入日产日清恒等式中;After determining that the qualified finished product data in the finished product data is greater than or equal to a preset value, substitute the finished product data and the material parameters in the production work order into the Nissan Nisshin constant equation;
并将所述日产日清恒等式的计算结果上传到所述区块链中,以供生产节点和采购节点根据所述计算结果执行相应的操作。And upload the calculation result of the Nissan Nissin constant equation to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
进一步地,检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据的步骤之前,还包括:Further, before detecting the production work order to be calculated uploaded by the production node to the blockchain, and extracting the finished product data in the production work order, the method further includes:
确定检测到所述采购节点上传到所述区块链中的采购订单后,根据所述采购订单建立物料清单,并将所述物料清单上传到所述区块链中;After determining that the purchase order uploaded by the purchasing node to the blockchain is detected, a bill of materials is created according to the purchase order, and the bill of materials is uploaded to the blockchain;
基于所述物料清单和预设的损耗计算规则,计算出所述生产工单对应的工单参数;Calculate the work order parameters corresponding to the production work order based on the bill of materials and preset loss calculation rules;
根据所述工单参数,在所述区块链中建立所述生产工单。According to the work order parameters, the production work order is established in the blockchain.
进一步地,所述基于所述物料清单和预设的损耗计算规则,计算出所述生产工单对应的工单参数的步骤包括:Further, the step of calculating the work order parameters corresponding to the production work order based on the material list and preset loss calculation rules includes:
根据预设的损耗计算规则,计算出所述物料清单的损耗区间;Calculate the loss interval of the bill of materials according to the preset loss calculation rules;
基于所述损耗区间和所述物料清单上的物料用量数据计算出所述生产工单对应的工单参数。The work order parameter corresponding to the production work order is calculated based on the loss interval and the material usage data on the material list.
进一步地,所述检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据的步骤之后,还包括:Further, after the step of detecting the production work order to be calculated uploaded by the production node to the blockchain, and extracting the finished product data in the production work order, the method further includes:
确定所述成品数据中的合格成品数据小于所述预设值后,进入超领流程,在所述区块链中建立超领单;After determining that the qualified finished product data in the finished product data is less than the preset value, enter the over-collection process, and create an over-collection order in the blockchain;
基于所述超领单和所述生产工单,重新获取所述合格成品数据,直至所述合格成品数据大于或等于所述预设值。Based on the over-receiving order and the production work order, the qualified finished product data is re-acquired until the qualified finished product data is greater than or equal to the preset value.
进一步地,所述进入超领流程,在所述区块链中建立超领单的步骤包括:Further, the step of entering the over-collaring process and establishing the over-collaring list in the blockchain includes:
进入超领流程,根据所述合格成品数据与所述预设值之间的差值,估算超领物料数据;Enter the over-collection process, and estimate the over-collected material data based on the difference between the qualified finished product data and the preset value;
根据所述超领物料数据和生产结束后的退料数据,在所述区块链中建立超领单。According to the over-received material data and the returned material data after the end of production, an over-received order is established in the blockchain.
进一步地,所述日产日清恒等式为:成品数据=合格成品数据+不合格成品数据;Further, the Nissan Nisshin constant equation is: finished product data = qualified finished product data + unqualified finished product data;
成品数据=(物料用量数据+合理损耗数据+超领数据-退料数据)/单位成品物料数据,其中,所述物料用量数据、所述合理损耗数据、所述超领数据、所述退料数量和所述单位成品物料数据均为所述物料参数。Finished product data = (material usage data + reasonable loss data + over-recovery data-returned material data)/unit finished product material data, where the material usage data, the reasonable loss data, the over-collected data, and the returned material Both the quantity and the unit finished product material data are the material parameters.
进一步地,所述采购节点和所述生产节点采用相同的应用程序编程接口API接口连接到所述区块链中。Further, the procurement node and the production node are connected to the blockchain by using the same application programming interface API interface.
此外,为实现上述目的,本申请还提供一种基于区块链的日产日清核算装置,所述基于区块链的日产日清核算装置包括:In addition, in order to achieve the above purpose, this application also provides a block chain-based Nissan daily settlement accounting device. The blockchain-based Nissan daily settlement accounting device includes:
检测模块,配置为检测生产节点上传到区块链中的待核算的生产工单;The detection module is configured to detect the pending production work orders uploaded to the blockchain by the production node;
提取模块,配置为提取所述生产工单中的成品数据;An extraction module, configured to extract finished product data in the production work order;
代入模块,配置为确定所述成品数据中的合格成品数据大于或等于预设值后,则将所述成品数据和所述生产工单中的物料参数代入日产日清恒等式中;Substitution module, configured to determine that the qualified finished product data in the finished product data is greater than or equal to a preset value, then substitute the finished product data and the material parameters in the production work order into the Nissan Daily Constant equation;
上传模块,配置为将所述日产日清恒等式的计算结果上传到所述区块链中,以供生产节点和采购节点根据所述计算结果执行相应的操作。The upload module is configured to upload the calculation result of the Nissan Nissin Constant Equation to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
此外,为实现上述目的,本申请还提供一种基于区块链的日产日清核算设备,所述基于区块链的日产日清核算设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于区块链的日产日清核算程序,所述基于区块链的日产日清核算程序被所述处理器执行时实现如上所述的基于区块链的日产日清核算方法的步骤。In addition, in order to achieve the above-mentioned purpose, this application also provides a blockchain-based Nissan daily settlement accounting device. The blockchain-based Nissan daily settlement accounting device includes a memory, a processor, and a A blockchain-based Nissan daily settlement accounting program that runs on the processor, and the blockchain-based Nissan daily settlement accounting program is executed by the processor to realize the above-mentioned blockchain-based Nissan daily Steps of the liquidation accounting method.
此外,为实现上述目的,本申请还提供一种存储介质,所述存储介质上存储有所述基于区块链的日产日清核算程序,所述基于区块链的日产日清核算程序被处理器执行时实现如上所述的基于区块链的日产日清核算方法的步骤。In addition, in order to achieve the above object, this application also provides a storage medium on which the blockchain-based Nissan daily settlement accounting program is stored, and the blockchain-based Nissan daily settlement accounting program is processed When the device is executed, the steps of the above-mentioned blockchain-based Nissan daily settlement accounting method are realized.
本申请公开了一种基于区块链的日产日清核算方法、装置、设备及存储介质,该方法包括步骤:检测到生产节点上传到区块链中的待核算的生产工单,提取生产工单中的成品数据;确定成品数据中的合格成品数据大于或等于预设值后,将成品数据和生产工单中的物料参数代入日产日清恒等式中;并将日产日清恒等式的计算结果上传到区块链中,以供生产节点和采购节点根据计算结果执行相应的操作。本申请实现了对企业每日生产投入和产出的核算是否平衡的判断,且将判断结果通过区块链共享,使得生产企业的管理者和生产企业的客户准确且及时的知道企业的生产情况,并追踪物料及产品是否丢失。The application discloses a method, device, equipment, and storage medium for daily settlement calculation of Nissan based on the blockchain. The method includes the steps of detecting the production work order to be calculated uploaded by the production node to the blockchain, and extracting the production work order. Finished product data in the order; after confirming that the qualified finished product data in the finished product data is greater than or equal to the preset value, substitute the finished product data and the material parameters in the production work order into the Nissan Nissin Constant Equation; upload the calculation result of the Nissan Nissin Constant Equation In the blockchain, for production nodes and purchasing nodes to perform corresponding operations based on the calculation results. This application realizes the judgment of whether the calculation of the daily production input and output of the enterprise is balanced, and the judgment result is shared through the blockchain, so that the managers of the production enterprise and the customers of the production enterprise can accurately and timely know the production situation of the enterprise , And track whether materials and products are missing.
附图说明Description of the drawings
图1为实现本申请各个实施例一种基于区块链的日产日清核算设备的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of a blockchain-based Nissan daily settlement accounting device that implements each embodiment of the present application;
图2为本申请基于区块链的日产日清核算方法第一实施例的流程示意图。Fig. 2 is a schematic flowchart of the first embodiment of the daily settlement accounting method of Nissan based on the blockchain in this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做说明。The realization, functional characteristics and advantages of the purpose of this application will be described in conjunction with the embodiments and with reference to the accompanying drawings.
本申请的实施方式Implementation of this application
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.
本申请提供了一种基于区块链的日产日清核算设备,参照图1,图1是本申请实施例方案涉及的硬件运行环境的结构示意图。This application provides a block chain-based daily settlement accounting device for Nissan. Referring to FIG. 1, FIG. 1 is a schematic structural diagram of a hardware operating environment involved in a solution of an embodiment of this application.
需要说明的是,图1即可为基于区块链的日产日清核算设备的硬件运行环境的结构示意图。本申请实施例基于区块链的日产日清核算设备可以是PC,便携计算机,服务器等设备。It should be noted that Figure 1 can be a schematic diagram of the hardware operating environment of the Nissan Nissan's accounting equipment based on the blockchain. In the embodiment of the present application, the daily settlement accounting equipment of Nissan based on the blockchain may be a PC, a portable computer, a server and other equipment.
如图1所示,该基于区块链的日产日清核算设备可以包括:处理器1001,例如CPU,存储器1005,用户接口1003,网络接口1004,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the blockchain-based Nissan daily settlement accounting device may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as disk storage. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
可选地,基于区块链的日产日清核算设备还可以包括RF(Radio Frequency,射频)电路,传感器、WiFi模块等等。Optionally, the Nissan Nissan Nissan accounting device based on the blockchain may also include an RF (Radio Frequency, radio frequency) circuit, a sensor, a WiFi module, and so on.
本领域技术人员可以理解,图1中示出的基于区块链的日产日清核算设备结构并不构成基于区块链的日产日清核算设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the block chain-based Nissan Nissan Nissan’s accounting equipment structure shown in Fig. 1 does not constitute a limitation of the blockchain-based Nissan Nissan’s accounting equipment, and may include more or less than that shown in the figure. Components, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及基于区块链的日产日清核算程序。其中,操作系统是管理和控制基于区块链的日产日清核算设备硬件和软件资源的程序,支持基于区块链的日产日清核算程序以及其它软件或程序的运行。As shown in FIG. 1, the memory 1005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a Nissan daily settlement accounting program based on the blockchain. Among them, the operating system is a program that manages and controls the hardware and software resources of the Nissan Nissan's accounting equipment based on the blockchain, and supports the operation of the Nissan's Nissan's accounting program and other software or programs based on the blockchain.
图1所示的基于区块链的日产日清核算设备,可用于基于区块链的日产日清的核算,用户接口1003主要用于侦测或者输出各种信息,如侦测成品数据和输出日产日清恒等式不成立的信息等;网络接口1004主要用于与后台服务器交互,进行通信;处理器1001可以用于调用存储器1005中存储的基于区块链的日产日清核算程序,并执行以下操作:The blockchain-based Nissan Nissan's accounting device shown in Figure 1 can be used for the blockchain-based Nissan Nissan's accounting. The user interface 1003 is mainly used to detect or output various information, such as detecting finished product data and output Information that Nissan Nissin’s constant equation does not hold, etc.; the network interface 1004 is mainly used to interact with the back-end server and communicate; the processor 1001 can be used to call the blockchain-based Nissan’s daily settlement accounting program stored in the memory 1005 and perform the following operations :
检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据;The production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data in the production work order is extracted;
确定所述成品数据中的合格成品数据大于或等于预设值后,将所述成品数据和所述生产工单中的物料参数代入日产日清恒等式中;After determining that the qualified finished product data in the finished product data is greater than or equal to a preset value, substitute the finished product data and the material parameters in the production work order into the Nissan Nisshin constant equation;
并将所述日产日清恒等式的计算结果上传到所述区块链中,以供生产节点和采购节点根据所述计算结果执行相应的操作。And upload the calculation result of the Nissan Nissin constant equation to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
进一步地,检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据的步骤之前,处理器1001还用于调用存储器1005中存储的基于区块链的日产日清核算程序,并执行以下操作:Further, before detecting the production work order to be calculated uploaded to the blockchain by the production node, and extracting the finished product data in the production work order, the processor 1001 is also used to call the block-based storage in the memory 1005. Chain’s Nissan’s daily settlement accounting procedures, and perform the following operations:
检测到所述采购节点上传到所述区块链中的采购订单,根据所述采购订单建立物料清单,并将所述物料清单上传到所述区块链中;Detecting a purchase order uploaded by the purchasing node to the blockchain, creating a material list according to the purchase order, and uploading the material list to the blockchain;
基于所述物料清单和预设的损耗计算规则,计算出所述生产工单对应的工单参数;Calculate the work order parameters corresponding to the production work order based on the bill of materials and preset loss calculation rules;
根据所述工单参数,在所述区块链中建立所述生产工单。According to the work order parameters, the production work order is established in the blockchain.
进一步地,所述基于所述物料清单和预设的损耗计算规则,计算出所述生产工单对应的工单参数的步骤包括:Further, the step of calculating the work order parameters corresponding to the production work order based on the material list and preset loss calculation rules includes:
根据预设的损耗计算规则,计算出所述物料清单的损耗区间;Calculate the loss interval of the bill of materials according to the preset loss calculation rules;
基于所述损耗区间和所述物料清单上的物料用量数据计算出所述生产工单对应的工单参数。The work order parameter corresponding to the production work order is calculated based on the loss interval and the material usage data on the material list.
进一步地,所述检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据的步骤之后,处理器1001还用于调用存储器1005中存储的基于区块链的日产日清核算程序,并执行以下操作:Further, after the step of detecting the production work order to be calculated uploaded by the production node to the blockchain and extracting the finished product data in the production work order, the processor 1001 is also used to call the storage based on Nissan's daily settlement accounting procedures on the blockchain, and perform the following operations:
确认所述成品数据中的合格成品数据小于所述预设值,进入超领流程,在所述区块链中建立超领单;Confirm that the qualified finished product data in the finished product data is less than the preset value, enter the over-collection process, and create an over-collection order in the blockchain;
基于所述超领单和所述生产工单,重新获取所述合格成品数据,直至所述合格成品数据大于或等于所述预设值。Based on the over-receiving order and the production work order, the qualified finished product data is re-acquired until the qualified finished product data is greater than or equal to the preset value.
进一步地,所述进入超领流程,在所述区块链中建立超领单的步骤包括:Further, the step of entering the over-collaring process and establishing the over-collaring list in the blockchain includes:
进入超领流程,根据所述合格成品数据与所述预设值之间的差值,估算超领物料数据;Enter the over-collection process, and estimate the over-collected material data based on the difference between the qualified finished product data and the preset value;
根据所述超领物料数据和生产结束后的退料数据,在所述区块链中建立超领单。According to the over-received material data and the returned material data after the end of production, an over-received order is established in the blockchain.
进一步地,所述日产日清恒等式为:成品数据=合格成品数据+不合格成品数据;Further, the Nissan Nisshin constant equation is: finished product data = qualified finished product data + unqualified finished product data;
成品数据=(物料用量数据+合理损耗数据+超领数据-退料数据)/单位成品物料数据,其中,所述物料用量数据、所述合理损耗数据、所述超领数据、所述退料数量和所述单位成品物料数据均为所述物料参数。Finished product data = (material usage data + reasonable loss data + over-recovery data-returned material data)/unit finished product material data, where the material usage data, the reasonable loss data, the over-collected data, and the returned material Both the quantity and the unit finished product material data are the material parameters.
进一步地,所述采购节点和所述生产节点采用相同的应用程序编程接口API接口连接到所述区块链中。Further, the procurement node and the production node are connected to the blockchain by using the same application programming interface API interface.
本实施例通过检测到生产节点上传到区块链中的待核算的生产工单后,提取生产工单中的成品数据;确认成品数据中的合格成品数据大于或等于预设值后,将成品数据和生产工单中的物料参数代入日产日清恒等式中;并将日产日清恒等式的计算结果上传到区块链中,以供生产节点和采购节点根据计算结果执行相应的操作。本申请实现了对企业每日生产投入和产出的核算是否平衡的判断,且将判断结果通过区块链共享,使得生产企业的管理者和生产企业的客户准确且及时的知道企业的生产情况,并追踪物料及产品是否丢失。In this embodiment, after detecting the production work order to be calculated uploaded by the production node to the blockchain, the finished product data in the production work order is extracted; after confirming that the qualified finished product data in the finished product data is greater than or equal to the preset value, the finished product The data and the material parameters in the production work order are substituted into the Nissan Nissin Constant Equation; the calculation result of the Nissan Nissin Constant Equation is uploaded to the blockchain for the production node and the procurement node to perform corresponding operations based on the calculation result. This application realizes the judgment of whether the calculation of the daily production input and output of the enterprise is balanced, and the judgment result is shared through the blockchain, so that the managers of the production enterprise and the customers of the production enterprise can accurately and timely know the production situation of the enterprise , And track whether materials and products are missing.
本申请移动终端实施方式与下述基于区块链的日产日清核算方法各实施例基本相同,在此不再赘述。The implementation of the mobile terminal of the present application is basically the same as the following embodiments of the Nissan daily settlement accounting method based on the blockchain, and will not be repeated here.
基于上述结构,提出本申请基于区块链的日产日清核算方法的各个实施例。Based on the above structure, various embodiments of the daily settlement accounting method of Nissan based on the blockchain in this application are proposed.
本申请提供一种基于区块链的日产日清核算方法。This application provides a method for the daily settlement of Nissan based on the blockchain.
参照图1,图1为本申请基于区块链的日产日清核算方法第一实施例的流程示意图。Referring to Fig. 1, Fig. 1 is a schematic flowchart of a first embodiment of a method for calculating daily settlement of Nissan based on blockchain in this application.
在本实施例中,提供了基于区块链的日产日清核算方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In this embodiment, an embodiment of the Nissan daily settlement accounting method based on the blockchain is provided. It should be noted that although the logical sequence is shown in the flowchart, in some cases, it may be different from this Perform the steps shown or described in the order in which they are located.
在本实施例中,基于区块链的日产日清核算方法包括:In this embodiment, the calculation method of Nissan's daily settlement based on the blockchain includes:
步骤S10,检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据。In step S10, the production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data in the production work order is extracted.
日产日清核算方法采用了区块链技术。首先,检测生产节点是否上传生产工单到区块链中,检测到生产节点上传到区块链中的待核算的生产工单,从该生产工单中提取成品数据。可以理解的是,需要进行核算的是生产工单中的数据,成品数据是生产工单中所有数据中的一个。需要说明的是,所有实施例中提及的数据均与数量同意。Nissan Nissan's accounting method uses blockchain technology. First, it is checked whether the production node uploads the production work order to the blockchain, and the production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data is extracted from the production work order. It is understandable that what needs to be calculated is the data in the production work order, and the finished product data is one of all the data in the production work order. It should be noted that the data mentioned in all the examples agree with the quantity.
步骤S20,确定所述成品数据中的合格成品数据大于或等于预设值后,将所述成品数据和所述生产工单中的物料参数代入日产日清恒等式中。Step S20: After it is determined that the qualified finished product data in the finished product data is greater than or equal to a preset value, the finished product data and the material parameters in the production work order are substituted into the daily production and daily clearing identity.
预设值是人为设定的,预设值的大小可以是当日客户需要的产品数量,或者大于当日客户需要的产品数量。成品数据包括合格成品数据和不合格成品数据,客户需要的产品应是合格成品。当成品数据中的合格成品数据大于或者等于预设值时,说明当日生产量已经满足客户的要求,再将所述成品数据和所述生产工单中的物料参数代入日产日清恒等式中进行计算。The preset value is set manually, and the size of the preset value can be the number of products required by the customer on the day, or greater than the number of products required by the customer on the day. The finished product data includes the qualified finished product data and the unqualified finished product data. The products required by the customer should be qualified finished products. When the qualified finished product data in the finished product data is greater than or equal to the preset value, it means that the daily production volume has met the customer's requirements, and then the finished product data and the material parameters in the production work order are substituted into the Nissan Nisshin constant equation for calculation .
步骤S30,将所述日产日清恒等式的计算结果上传到所述区块链中,以供生产节点和采购节点根据所述计算结果执行相应的操作。In step S30, the calculation result of the Nissan Nissin Constant Equation is uploaded to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
日产日清恒等式的计算结果有两种,分别为恒等式成立和恒等式不成立日产日清恒等式是否成立是判断每日企业投入和产出是否平衡的标准,当生产出的成品数据等于投入的物料所应该产出的成品数据时,说明此时企业生产投入和产出是平衡的,日产日清恒等式成立。当生产出的成品数据不等于投入的物料所应该产出的成品数据时,说明此时企业生产投入和产出是不平衡的,日产日清恒等式不成立,生产节点的交互界面输出归责于生产部门的指示信息,提示工作人员存在成品未入库的情况,或者未参与生产的剩余物料未入库的情况。There are two calculation results of Nissan Nissin's constant equation, namely, the identity is established and the identity is not established. Whether the Nissan Nissin constant equation is established is the standard for judging whether the daily input and output of the enterprise are balanced. When the data of the finished product is equal to the input material. When the finished product data is output, it shows that the production input and output of the enterprise are balanced at this time, and the Nissan Nissin Heng equation is established. When the finished product data produced is not equal to the finished product data of the input materials, it means that the production input and output of the enterprise are imbalanced at this time, and the Nissan Nissin constant equation is not established, and the interactive interface output of the production node is attributed to the production. The instruction information of the department reminds the staff that the finished product has not been put into the warehouse, or the remaining materials that are not involved in the production have not been put into the warehouse.
需要说明的是,当线下的工作人员接收到上述的指示信息,会去线上重新盘点成品数据和剩余物料数据,得到新的成品数据或者新的物料数据。It should be noted that when offline workers receive the above instructions, they will go to the online inventory to re-count the finished product data and remaining material data to obtain new finished product data or new material data.
当再次获取到成品数据和物料数据(物料数据也是物料参数)时,再将其代入日产日清恒等式中,确认日产日清恒等式不成立后,说明成品丢失或者剩余的物料丢失,输出归责于生产部门的指示信息,以告诉管理者。When the finished product data and material data (material data are also material parameters) are obtained again, they are substituted into the Nissan Nissin Heng equation. After confirming that the Nissan Nissin Heng equation is not valid, it indicates that the finished product or the remaining materials are lost, and the output is attributable to the production The instructions of the department to tell the manager.
进一步地,所述日产日清恒等式:成品数据=合格成品数据+不合格成品数据,此为(1)式;成品数据=(物料用量数据+合理损耗数据+超领数据-退料数据)/单位成品物料数据,此为(2)式,当(1)式计算出的成品数据等于(2)式计算出的成品数据时,企业生产的投入和产出是平衡的,其中,(2)式中的物料用量数据、合理损耗数据、超领数据、退料数据和单位成品物料数据均为物料参数,这些物料参数均是根据客户所需的产品数量以及内设的计算法则计算得出的。Further, the Nissan Nisshin constant equation: finished product data = qualified finished product data + unqualified finished product data, which is equation (1); finished product data = (material usage data + reasonable loss data + over-return data-return data)/ The unit finished product material data, this is the formula (2). When the finished product data calculated by the formula (1) is equal to the finished product data calculated by the formula (2), the input and output of the enterprise's production are balanced. Among them, (2) In the formula, the material usage data, reasonable loss data, over-claim data, returned material data and unit finished product material data are all material parameters. These material parameters are calculated based on the number of products required by the customer and the built-in calculation rules .
物料用量数据是生产客户所需产品的总的物料量;合理损耗数据是生产中不可避免地造成地损耗量;超领数据是当第一次领料生产,物料用完后得到的合格成品数据不满足客户要求,需要继续生产以完成客户要求的第二次所领的物料;退料数据是生产出客户所需的产品数后剩余未用的物料量;单位成品物料数据是生产单个成品所需的物料量。The material usage data is the total amount of materials needed to produce the products required by the customer; the reasonable loss data is the amount of wastage inevitably caused during production; the over-required data is the qualified finished product data obtained when the materials are used up for the first time. Does not meet customer requirements, and needs to continue production to complete the material requested for the second time; the returned material data is the amount of unused materials remaining after the number of products required by the customer is produced; the unit finished product material data is the production of a single finished product The amount of material required.
当利用日产日清恒等式得出计算结果后,将计算结果上传到区块链中,以便生产节点和采购节点都能获取到计算结果,了解产品的生产情况,并针对该情况采取相应的措施,执行相应操作。When the calculation result is obtained by using the Nissan Nissin Constant equation, the calculation result is uploaded to the blockchain so that both the production node and the purchase node can obtain the calculation result, understand the production situation of the product, and take corresponding measures in response to the situation. Take the appropriate action.
生产商系统对应的生产节点和采购商系统对应的采购节点都接入到区块链中成为区块链中的一个节点。区块链的各个节点之间采用PBFT(Practical Byzantine Fault Tolerance,实用拜占庭容错算法)共识算法,区块链的各个节点共同确认区块链中的交易。采购节点和生产节点采用相同的API(Application Programming Interface,应用程序编程接口)连接到区块链中,避免了现有技术中不同商户(生产商和采购商)之间存在不同的API接口,在不同商户对接,进行数据交互过程中。需要兼容不同的接口标准,不同商户数据交互成本高的问题,提高了生产节点和采购节点接入区块链中的接入效率,降低了采购节点和生产节点接入区块链的接入成本。在接入区块链过程中,区块链的开放平台可提供开放平台接口,采购商系统和生产商系统可通过该开放平台接口接入到区块链中,成为区块链中的一个节点;或者将与采购商系统和供应商系统对接的平台接入到区块链的开发平台中;或者将采购商系统和生产商系统作为区块链的一个节点接入到区块链的信息共享平台中,以实现生产商和采购商之间的信息共享。本实施例中采购节点和生产节点接入以相同的API接口接入区块链中,可以使采购商同生产商一样及时且准确的掌握产品生产情况。The production node corresponding to the producer system and the purchasing node corresponding to the buyer system are connected to the blockchain and become a node in the blockchain. PBFT (Practical Byzantine Fault Tolerance, a practical Byzantine fault-tolerant algorithm) consensus algorithm, each node of the blockchain jointly confirms transactions in the blockchain. Purchasing nodes and production nodes use the same API (Application Programming Interface (application programming interface) is connected to the blockchain, which avoids the existence of different API interfaces between different merchants (producers and purchasers) in the prior art, and in the process of data interaction between different merchants. The need to be compatible with different interface standards and the high cost of data interaction between different merchants has improved the access efficiency of production nodes and procurement nodes to access the blockchain, and reduced the access costs of procurement nodes and production nodes to access the blockchain . In the process of connecting to the blockchain, the open platform of the blockchain can provide an open platform interface, and the buyer system and the manufacturer system can be connected to the blockchain through the open platform interface and become a node in the blockchain ; Or connect the platform docked with the buyer system and supplier system to the development platform of the blockchain; or connect the buyer system and the manufacturer system as a node of the blockchain to the information sharing of the blockchain In the platform, in order to realize the information sharing between manufacturers and purchasers. In this embodiment, the purchasing node and the production node are connected to the blockchain through the same API interface, so that the buyer can grasp the production situation of the product in a timely and accurate manner as the manufacturer.
需要说明的是,当日产日清恒等式不成立时,输出提示信息,提示工作人员存在成品未入库的情况,或者存在参与生产的物料有剩余,但未入库,即退料未完全入库的情况。未入库的成品和退料很可能丢失在生产线上。It should be noted that when the Nissan Nissin Heng equation does not hold, a prompt message will be output to remind the staff that the finished product has not been put into the warehouse, or there are surplus materials involved in the production, but have not been put into the warehouse, that is, the returned material has not been completely put into the warehouse. Happening. Finished products and returned materials that have not been put in storage are likely to be lost on the production line.
需要说明的是,当线下的工作人员接收到上述的提示信息,会去线上重新盘点成品数据和退料数据,得到新的成品数据或者新的退料数据。It should be noted that when the offline staff receives the above prompt information, they will go online to re-count the finished product data and return data to obtain new finished product data or new return data.
当再次获取到成品数据和退料数据(退料数据也是物料参数)时,再将其代入日产日清恒等式中,确定日产日清恒等式不成立后,说明成品丢失或者退料丢失。When the finished product data and returned material data (returned material data are also material parameters) are obtained again, they are substituted into the Nissan Nissin Heng equation. After the Nissan Nissin Heng equation is determined to be invalid, it indicates that the finished product is lost or the returned material is lost.
需要说明的是,当生产为物料由客户提供的生产时,可根据日产日清恒等式,检查物料的存取情况,及时地与客户结算已用物料,并统计出需要退回给客户的物料,即退料。It should be noted that when the production is the production of materials provided by the customer, according to the Nissan Nisshin constant equation, the access status of the materials can be checked, the used materials can be settled with the customer in a timely manner, and the materials that need to be returned to the customer can be counted. Return material.
本实施例通过检测到生产节点上传到区块链中的待核算的生产工单,提取生产工单中的成品数据;确定成品数据中的合格成品数据大于或等于预设值后,则将成品数据和生产工单中的物料参数代入日产日清恒等式中;并将日产日清恒等式的计算结果上传到区块链中,以供生产节点和采购节点根据计算结果执行相应的操作,实现了对企业每日生产投入和产出的核算是否平衡进行判断,且将判断结果发送到区块链中,使得接入该区块链的生产企业的管理者和生产企业的客户都能准确且及时的掌握企业的生产情况。This embodiment extracts the finished product data in the production job order by detecting the to-be-calculated production work order uploaded by the production node to the blockchain; after determining that the qualified finished product data in the finished product data is greater than or equal to the preset value, the finished product The data and the material parameters in the production work order are substituted into the Nissan Nissin Constant Equation; the calculation result of the Nissan Nissin Constant Equation is uploaded to the blockchain, so that the production node and the procurement node can perform corresponding operations based on the calculation result, and realize the The company’s daily production input and output are calculated to determine whether the calculation is balanced, and the judgment result is sent to the blockchain, so that the managers of the production company and the customers of the production company that access the blockchain can be accurate and timely Grasp the production situation of the enterprise.
进一步地,提出本申请基于区块链的日产日清核算方法的第二实施例。基于区块链的日产日清核算方法的第二实施例与基于区块链的日产日清核算方法的第一实施例的区别在于,检测到生产节点上传到区块链中的待核算的生产工单后,提取所述生产工单中的成品数据的步骤之前,还包括:Further, the second embodiment of the daily settlement accounting method of Nissan based on the blockchain of this application is proposed. The difference between the second embodiment of the blockchain-based Nissan’s daily settlement accounting method and the first embodiment of the blockchain-based Nissan’s daily settlement accounting method is that the production node to be uploaded to the blockchain is detected. After the work order, before the step of extracting the finished product data in the production work order, it also includes:
步骤a,检测到所述采购节点上传到所述区块链中的采购订单,根据所述采购订单建立物料清单,并将所述物料清单上传到所述区块链中。Step a: Detect the purchase order uploaded by the purchasing node to the blockchain, create a material list according to the purchase order, and upload the material list to the blockchain.
检测到采购节点上传到区块链中的采购订单后,根据采购订单上记录的产品名称,产品零件及产品零件数量等计算生产客户所需产品需要的物料种类和物料数量,并建立该采购订单对应的物料清单,以记录物料种类和物料数量。且将物料清单上传到区块链上,以让采购商户获得物料清单上的信息。After detecting the purchase order uploaded to the blockchain by the purchase node, calculate the type and quantity of materials required to produce the product required by the customer based on the product name, product parts and product part quantity recorded on the purchase order, and create the purchase order The corresponding bill of materials to record the type and quantity of materials. And upload the bill of materials to the blockchain to allow purchasers to obtain the information on the bill of materials.
步骤b,基于所述物料清单和预设的损耗计算规则,计算出所述生产工单对应的工单参数。Step b: Calculate work order parameters corresponding to the production work order based on the material list and preset loss calculation rules.
可以理解的是,企业在生产过程必定会造成损耗,所以仅仅使用物料清单上的数据去领料生产是无法完成客户所需的产品数量的,因此用于生产的物料必需大于物料清单上的数据,以保证有多出的物料弥补由于合理损耗造成的物料损失。It is understandable that the company will inevitably cause losses in the production process, so only using the data on the bill of materials to pick and produce cannot complete the number of products required by the customer, so the materials used for production must be larger than the data on the bill of materials , In order to ensure that there are excess materials to make up for the material loss caused by reasonable loss.
用于生产的物料量即工单参数根据物料清单和预设的损耗计算规则计算得出。The amount of materials used for production, that is, the work order parameters, is calculated according to the bill of materials and preset loss calculation rules.
步骤c,根据所述工单参数,在所述区块链中建立所述生产工单。Step c: Establish the production work order in the blockchain according to the work order parameters.
根据工单参数,基于工单生成规则在区块链中建立生产工单,工单生成规则包括:将工单参数添加到区块链上的工单模板中事先设置的位置,以建立生产工单。According to the work order parameters, the production work order is established in the blockchain based on the work order generation rules. The work order generation rules include: adding the work order parameters to the preset position in the work order template on the blockchain to establish the production work order. single.
进一步地,步骤b还包括:Further, step b also includes:
步骤d,根据预设的损耗计算规则,计算出所述物料清单的损耗区间。Step d: Calculate the loss interval of the bill of materials according to a preset loss calculation rule.
生产损耗有两种,分别是:批次损耗和阶梯损耗,阶梯损耗也有两种,分别是阶梯上损耗和阶梯下损耗。批次损耗量是由工作人员根据生产经验估算的一个值,是人为设定的。阶梯上损耗和阶梯下损耗不是同时存在的,根据具体情况判定。当工单数量小于或等于阶梯数量时取阶梯下损耗;当工单数量大于阶梯数量或者阶梯数量为零时取阶梯上损耗。工单数量是客户所需的产品数量,阶梯数量由工作人员根据生产经验设定。阶梯下损耗量的计算公式为:阶梯下损耗量=单位成品用量*阶梯下损耗率,阶梯下损耗率由工作人员根据工作经验设定;阶梯上损耗量的计算公式为:阶梯上损耗量=单位用量*阶梯上损耗*工单数量,阶梯上损耗率由工作人员根据工作经验设定。下面设定三种场景并提出三种总损耗量的计算公式:There are two types of production loss, namely: batch loss and step loss. There are also two types of step loss, namely up-stairs loss and down-stairs loss. The batch wastage is a value estimated by the staff based on production experience, which is artificially set. The loss on the ladder and the loss under the ladder do not exist at the same time, it is determined according to the specific situation. When the number of work orders is less than or equal to the number of steps, the down-step loss is taken; when the number of work orders is greater than the number of steps or the number of steps is zero, the up-step loss is taken. The number of work orders is the number of products required by the customer, and the number of steps is set by the staff based on production experience. The calculation formula for the loss under the ladder is: loss under the ladder = unit product consumption * loss rate under the ladder, the loss rate under the ladder is set by the staff based on work experience; the calculation formula for the loss on the ladder is: loss on the ladder = Unit consumption * loss on the ladder * number of work orders, the loss rate on the ladder is set by the staff based on their work experience. Three scenarios are set up below and three calculation formulas for total loss are proposed:
场景一,阶梯数量为零或者工单数量大于阶梯数量,取阶梯上损耗,总损耗量的计算公式为总损耗量=工单数量*单位成品用量*(1+阶梯上损耗率)+批次损耗量,例如,批次损耗量50,阶梯数量5000,阶梯下损耗率为0.06,阶梯上损耗率为0.02,工单数量5001,单位成品用量2,那么总损耗量=5001*2*(1+0.02)+50=10252.04;Scenario 1: If the number of steps is zero or the number of work orders is greater than the number of steps, take the loss on the steps, and the calculation formula for the total loss is total loss = number of work orders * unit finished product consumption * (1 + loss rate on the steps) + batch Loss amount, for example, the batch loss amount is 50, the number of steps is 5000, the loss rate under the steps is 0.06, the loss rate on the steps is 0.02, the number of work orders is 5001, and the unit amount of finished products is 2, then the total loss = 5001*2*(1 +0.02)+50=10252.04;
场景二,工单数量小于或等于阶梯数量,且阶梯下损耗率小于1,取阶梯下损耗,总损耗量的计算公式为总损耗量=工单数量*单位成品用量*(1+阶梯下损耗率)+批次损耗量,例如,批次损耗量50,阶梯数量5000,阶梯下损耗率0.06,阶梯上损耗率0.02,工单数量5000,单位成品用量2,那么总损耗量=5000*2*(1+0.06)+50=10650;Scenario 2: The number of work orders is less than or equal to the number of steps, and the loss rate under the steps is less than 1, and the loss under the steps is taken. The calculation formula for the total loss is total loss = number of work orders * unit finished product consumption * (1 + loss under the steps Rate) + batch loss, for example, batch loss is 50, step number is 5000, step loss rate is 0.06, step loss rate is 0.02, work order number is 5000, unit finished product is 2, then total loss = 5000*2 *(1+0.06)+50=10650;
场景三,工单数量小于或等于阶梯数量,且阶梯下损耗率大于或等于1,仍取阶梯下损耗,总损耗量的计算公式为总损耗量=工单数量*单位成品用量+阶梯下损耗率*单位成品用量+批次损耗量,例如,批次损耗量50,阶梯数量5000,阶梯下损耗率30,阶梯上损耗率0.02,工单数量5000,单位成品用量2,那么总损耗量=5000*2+30*2+50=10110。Scenario 3: The number of work orders is less than or equal to the number of steps, and the loss rate under the steps is greater than or equal to 1, and the loss under the steps is still taken. The calculation formula of the total loss is total loss = number of work orders * unit finished product consumption + loss under the steps Rate * unit finished product usage + batch loss, for example, batch loss is 50, step number is 5000, step loss rate is 30, step loss rate is 0.02, work order number is 5000, unit product consumption is 2, then total loss = 5000*2+30*2+50=10110.
根据上述的损耗计算规则,计算出总损耗量,再根据总损耗量估算出损耗区间,计算得出的总损耗量一定属于该损耗区间。According to the above-mentioned loss calculation rules, the total loss is calculated, and then the loss interval is estimated based on the total loss. The calculated total loss must belong to the loss interval.
步骤e,基于所述损耗区间和所述物料清单上的物料用量数据计算出生产的工单参数。Step e: Calculate production work order parameters based on the loss interval and the material usage data on the bill of materials.
在损耗区间中取出一个数,加上物料清单中记录的生产客户所需产品的物料数量,得到需要投入生产的物料的必需物料数据,即工单参数。Take a number from the loss interval and add the number of materials required to produce the customer's products recorded in the material list to obtain the necessary material data of the materials that need to be put into production, that is, work order parameters.
本实施例通过检测到采购节点上传到区块链中的采购订单建立物料清单,再基于物料清单和预设的损耗计算规则计算出物料清单的损耗区间,根据损耗区间和物料清单上的物料用量数据计算出生产的工单参数,建立生产工单,这种建立生产工单的方式给工作人员提供了领取物料数量的可靠数据参考,避免工作人员盲目领取而导致后续核算的困难,也避免工作人员少取而增加了走超领流程的次数。由于生产工单是建立在区块链平台中,使得企业客户可以及时准确的了解生产用料的情况。This embodiment establishes a bill of materials by detecting the purchase order uploaded by the purchasing node to the blockchain, and then calculates the loss interval of the bill of materials based on the bill of materials and preset loss calculation rules, and calculates the loss interval of the bill of materials based on the loss interval and the amount of materials on the bill of materials The data calculates the production work order parameters and establishes the production work order. This method of establishing the production work order provides the staff with a reliable data reference for the quantity of materials received, avoiding the difficulty of the follow-up accounting caused by the blind receipt of the staff, and also avoiding the work Fewer personnel take and increase the number of over-lead procedures. Since the production work order is built on the blockchain platform, enterprise customers can understand the situation of production materials in a timely and accurate manner.
进一步地,提出本申请基于区块链的日产日清核算方法的第三实施例。基于区块链的日产日清核算方法的第三实施例与基于区块链的日产日清核算方法的第一或第二实施例的区别在于,所述检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据的步骤之后,还包括:Further, the third embodiment of the daily settlement accounting method of Nissan based on the blockchain of this application is proposed. The difference between the third embodiment of the blockchain-based Nissan’s daily settlement accounting method and the first or second embodiment of the blockchain-based Nissan’s daily settlement accounting method is that the detected production node is uploaded to the blockchain After the step of extracting the finished product data in the production work order to be accounted for, it further includes:
步骤f,确定所述成品数据中的合格成品数据小于所述预设值后,进入超领流程,在所述区块链中建立超领单。Step f: After determining that the qualified finished product data in the finished product data is less than the preset value, enter the over-collection process, and create an over-collection order in the blockchain.
提取生产工单中的成品数据,确定成品数据中的合格成品数据小于预设值后,说明该企业生产出的合格成品数量未达到客户需要的产品数量,需要再次领取物料进行生产,此时需要走超领流程。首先根据合格成品数据与预设值的差值估算出差额,并根据差额计算出生产差额量的产品所需的物料数据,再次根据第二实施例中所述的损耗计算规则计算出再次进行生产的必需物料数据,根据该必须物料数据在区块链中建立超领单。After extracting the finished product data in the production work order, and confirming that the qualified finished product data in the finished product data is less than the preset value, it means that the number of qualified finished products produced by the company has not reached the number of products required by the customer, and the material needs to be picked up again for production. Follow the super-collar process. First, estimate the difference based on the difference between the qualified finished product data and the preset value, and calculate the material data required to produce the product with the difference based on the difference, and then calculate the production again according to the loss calculation rule described in the second embodiment According to the necessary material data, an over-collection order is established in the blockchain based on the necessary material data.
步骤g,基于所述超领单和所述生产工单,重新获取所述合格成品数据,直至所述合格成品数据大于或等于所述预设值。Step g: Re-acquire the qualified finished product data based on the over-receipt order and the production work order until the qualified finished product data is greater than or equal to the preset value.
再次生产完成后将区块链中的生产工单与超领单中的数据综合起来,得到总的合格成品数据,确定总的合格成品数据仍小于预设值后,继续走超领流程,直至合格成品数据大于或等于预设值为止。一般情况下,进入超领流程只需一次即可完成生产任务。After the production is completed again, the production work order in the blockchain and the data in the over-collection order are integrated to obtain the total qualified finished product data. After confirming that the total qualified finished product data is still less than the preset value, continue the over-collection process until The data of qualified finished products is greater than or equal to the preset value. Under normal circumstances, it only takes one time to complete the production task after entering the over-collar process.
进一步地,步骤f中所述进入超领流程,在所述区块链中建立超领单的步骤包括:Further, the step of entering the over-collaring process in step f, and establishing the over-collaring order in the blockchain includes:
步骤h,进入超领流程,根据所述合格成品数据与所述预设值之间的差值,估算超领物料数据。Step h, enter the over-receiving process, and estimate the over-received material data based on the difference between the qualified finished product data and the preset value.
进入超领流程后,根据合格成品数据与预设值的差值估算出差额,并根据差额计算出生产差额量的产品所需的物料数据,再次根据第二实施例中所述的损耗计算规则计算出超领物料数据。After entering the over-collaring process, the difference is estimated based on the difference between the qualified finished product data and the preset value, and the material data required to produce the product with the difference is calculated based on the difference, and again according to the loss calculation rules described in the second embodiment Calculate the over-required material data.
步骤i,根据所述超领物料数据和生产结束后的退料数据,在所述区块链中建立超领单。Step i: Create an over-receiving list in the blockchain according to the over-received material data and the returned material data after the end of production.
记录再次生产前领取的超领物料数据和再次生产结束后的退料数据,并将超领物料数据和退料数据添入区块链上超领单模板中以建立超领单。Record the over-received material data received before the re-production and the returned material data after the re-production, and add the over-received material data and return data to the over-received form template on the blockchain to create the over-received form.
本实施例通过当合格成品数据小于预设值时,进入超领流程,根据合格成品数据与预设值之间的差值,估算超领物料数据,再根据超领物料数据和生产结束后的退料数据在区块链中建立超领单,根据该超领单和生产工单,重新获取合格成品数据,直至合格成品数据大于或等于预设值,这种对当合格成品数据不满足客户所需产品量时进行再生产,再生产所引起的各数据的变化的重新记录体现了基于区块链的日产日清核算流程的灵活性,且对生产工单的及时更新也提高了用于基于区块链的日产日清核算的数据的准确性。In this embodiment, when the qualified finished product data is less than the preset value, enter the over-receiving process, estimate the over-required material data according to the difference between the qualified finished product data and the preset value, and then based on the over-received material data and the post-production The return data creates an over-receipt order in the blockchain, and re-acquires the qualified finished product data according to the over-received order and the production work order until the qualified finished product data is greater than or equal to the preset value. This kind of data does not satisfy the customer when the qualified finished product data is Reproduction is carried out when the required product quantity is required. The re-recording of the data changes caused by the reproduction reflects the flexibility of the Nissan’s daily settlement accounting process based on the blockchain, and the timely update of the production work order also improves the use of the area based on the area. The accuracy of the data calculated by Nissan Nissan on the blockchain.
此外,本申请实施例还提出一种基于区块链的日产日清核算装置,所述基于区块链的日产日清核算装置包括:In addition, the embodiment of the present application also proposes a blockchain-based Nissan daily settlement accounting device, and the blockchain-based Nissan daily settlement accounting device includes:
检测模块,配置为检测生产节点上传到区块链中的待核算的生产工单;The detection module is configured to detect the pending production work orders uploaded to the blockchain by the production node;
提取模块,配置为提取所述生产工单中的成品数据;An extraction module, configured to extract finished product data in the production work order;
代入模块,配置为确定所述成品数据中的合格成品数据大于或等于预设值后,将所述成品数据和所述生产工单中的物料参数代入日产日清恒等式中;The substitution module is configured to, after determining that the qualified finished product data in the finished product data is greater than or equal to a preset value, substitute the finished product data and the material parameters in the production work order into the Nissan Nisshin constant equation;
上传模块,配置为将所述日产日清恒等式的计算结果上传到所述区块链中,以供生产节点和采购节点根据所述计算结果执行相应的操作。The upload module is configured to upload the calculation result of the Nissan Nissin Constant Equation to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
进一步地,所述基于区块链的日产日清核算模块还包括:Further, the block chain-based Nissan daily settlement accounting module further includes:
建立模块,配置为检测到所述采购节点上传到所述区块链中的采购订单,及根据所述采购订单建立物料清单;An establishment module, configured to detect the purchase order uploaded by the purchase node to the blockchain, and establish a material list according to the purchase order;
上传模块,配置为将所述物料清单上传到所述区块链中。The upload module is configured to upload the bill of materials to the blockchain.
计算模块,配置为基于所述物料清单和预设的损耗计算规则,计算出所述生产工单对应的工单参数;The calculation module is configured to calculate the work order parameters corresponding to the production work order based on the bill of materials and preset loss calculation rules;
所述建立模块还用于根据所述工单参数,在所述区块链中建立所述生产工单。The establishment module is further configured to establish the production work order in the blockchain according to the work order parameters.
进一步地,所述计算模块还包括:Further, the calculation module further includes:
计算单元,配置为根据预设的损耗计算规则,计算出所述物料清单的损耗区间;The calculation unit is configured to calculate the loss interval of the bill of materials according to a preset loss calculation rule;
所述计算单元还配置为根据预设的损耗计算规则,计算出所述物料清单的损耗区间;The calculation unit is further configured to calculate the loss interval of the bill of materials according to a preset loss calculation rule;
所述计算单元还配置为基于所述损耗区间和所述物料清单上的物料用量数据计算出所述生产工单对应的工单参数。The calculation unit is further configured to calculate the work order parameter corresponding to the production work order based on the loss interval and the material usage data on the bill of materials.
进一步地,所述基于区块链的日产日清核算装置还包括:Further, the block chain-based Nissan daily settlement accounting device further includes:
进入模块,配置为确定所述成品数据中的合格成品数据小于所述预设值后,进入超领流程;Enter the module, configured to enter the over-collaring process after determining that the qualified finished product data in the finished product data is less than the preset value;
所述建立模块还配置为在所述区块链中建立超领单;The establishment module is further configured to establish an over-collection order in the blockchain;
获取模块,配置为基于所述超领单和所述生产工单,重新获取所述合格成品数据,直至所述合格成品数据大于或等于所述预设值。The obtaining module is configured to reacquire the qualified finished product data based on the over-receipt order and the production work order until the qualified finished product data is greater than or equal to the preset value.
进一步地,所述进入模块还包括:Further, the entry module further includes:
估算单元,配置为根据所述合格成品数据与所述预设值之间的差值,估算超领物料数据;The estimation unit is configured to estimate the data of over-required materials according to the difference between the qualified finished product data and the preset value;
建立单元,配置为根据所述超领物料数据和生产结束后的退料数据,在所述区块链中建立超领单。The establishment unit is configured to establish an over-collection order in the blockchain according to the over-collected material data and the returned material data after production.
本申请所述基于区块链的日产日清核算装置实施方式与上述基于区块链的日产日清核算方法各实施例基本相同,在此不再赘述。The implementation of the blockchain-based Nissan daily settlement accounting device described in this application is basically the same as the above-mentioned blockchain-based Nissan daily settlement accounting method, and will not be repeated here.
此外,本申请实施例还提出一种存储介质,所述存储介质上存储有基于区块链的日产日清核算程序,所述基于区块链的日产日清核算程序被处理器执行时实现如上所述的基于区块链的日产日清核算方法的各个步骤。In addition, an embodiment of the present application also proposes a storage medium that stores a blockchain-based Nissan daily settlement calculation program, and the above is achieved when the blockchain-based Nissan daily settlement calculation program is executed by a processor. The various steps of the Nissan's daily settlement accounting method based on the block chain.
需要说明的是,存储介质可设置在基于区块链的日产日清核算设备中。It should be noted that the storage medium can be set in the Nissan's daily settlement accounting equipment based on the blockchain.
本申请存储介质具体实施方式与上述基于区块链的日产日清核算方法各实施例基本相同,在此不再赘述。The specific implementation of the storage medium of the present application is basically the same as each embodiment of the above-mentioned blockchain-based Nissan daily settlement accounting method, and will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or system. Without more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the superiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the application, and do not limit the scope of the patent for this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of the application, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (10)

  1. 一种基于区块链的日产日清核算方法,其中,所述基于区块链的日产日清核算方法包括以下步骤:A blockchain-based Nissan daily settlement accounting method, wherein the blockchain-based Nissan daily settlement accounting method includes the following steps:
    检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据;The production work order to be calculated uploaded by the production node to the blockchain is detected, and the finished product data in the production work order is extracted;
    确定所述成品数据中的合格成品数据大于或等于预设值后,将所述成品数据和所述生产工单中的物料参数代入日产日清恒等式中;After determining that the qualified finished product data in the finished product data is greater than or equal to a preset value, substitute the finished product data and the material parameters in the production work order into the Nissan Nisshin constant equation;
    将所述日产日清恒等式的计算结果上传到所述区块链中,以供生产节点和采购节点根据所述计算结果执行相应的操作。Upload the calculation result of the Nissan Nissin constant equation to the blockchain for the production node and the purchasing node to perform corresponding operations according to the calculation result.
  2. 如权利要求1所述的基于区块链的日产日清核算方法,其中,检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据的步骤之前,还包括:The block chain-based Nissan daily settlement accounting method according to claim 1, wherein the step of detecting the production work order to be calculated uploaded by the production node to the block chain, and extracting the finished product data in the production work order Before, it also included:
    检测到所述采购节点上传到所述区块链中的采购订单,根据所述采购订单建立物料清单,并将所述物料清单上传到所述区块链中;Detecting a purchase order uploaded by the purchasing node to the blockchain, creating a material list according to the purchase order, and uploading the material list to the blockchain;
    基于所述物料清单和预设的损耗计算规则,计算出所述生产工单对应的工单参数;Calculate the work order parameters corresponding to the production work order based on the bill of materials and preset loss calculation rules;
    根据所述工单参数,在所述区块链中建立所述生产工单。According to the work order parameters, the production work order is established in the blockchain.
  3. 如权利要求2所述的基于区块链的日产日清核算方法,其中,所述基于所述物料清单和预设的损耗计算规则,计算出所述生产工单对应的工单参数的步骤包括:2. The blockchain-based daily settlement accounting method for Nissan according to claim 2, wherein the step of calculating the work order parameters corresponding to the production work order based on the bill of materials and preset loss calculation rules comprises :
    根据预设的损耗计算规则,计算出所述物料清单的损耗区间;Calculate the loss interval of the bill of materials according to the preset loss calculation rules;
    基于所述损耗区间和所述物料清单上的物料用量数据计算出所述生产工单对应的工单参数。The work order parameter corresponding to the production work order is calculated based on the loss interval and the material usage data on the material list.
  4. 如权利要求1所述的基于区块链的日产日清核算方法,其中,所述检测到生产节点上传到区块链中的待核算的生产工单,提取所述生产工单中的成品数据的步骤之后,还包括:The block chain-based Nissan daily settlement accounting method according to claim 1, wherein the production node to be checked uploaded to the block chain by the production node is detected, and the finished product data in the production work order is extracted After the steps, it also includes:
    确定所述成品数据中的合格成品数据小于所述预设值后,进入超领流程,在所述区块链中建立超领单;After determining that the qualified finished product data in the finished product data is less than the preset value, enter the over-collection process, and create an over-collection order in the blockchain;
    基于所述超领单和所述生产工单,重新获取所述合格成品数据,直至所述合格成品数据大于或等于所述预设值。Based on the over-receiving order and the production work order, the qualified finished product data is re-acquired until the qualified finished product data is greater than or equal to the preset value.
  5. 如权利要求4所述的基于区块链的日产日清核算方法,其中,所述进入超领流程,在所述区块链中建立超领单的步骤包括:The block chain-based Nissan daily settlement accounting method according to claim 4, wherein the step of entering the over-collection process and establishing the over-collection order in the blockchain comprises:
    进入超领流程,根据所述合格成品数据与所述预设值之间的差值,估算超领物料数据;Enter the over-collection process, and estimate the over-collected material data based on the difference between the qualified finished product data and the preset value;
    根据所述超领物料数据和生产结束后的退料数据,在所述区块链中建立超领单。According to the over-received material data and the returned material data after the end of production, an over-received order is established in the blockchain.
  6. 如权利要求1所述的基于区块链的日产日清核算方法,其中,所述日产日清恒等式为:成品数据=合格成品数据+不合格成品数据;The blockchain-based Nissan daily settlement accounting method according to claim 1, wherein the Nissan daily settlement constant equation is: finished product data = qualified finished product data + unqualified finished product data;
    成品数据=(物料用量数据+合理损耗数据+超领数据-退料数据)/单位成品物料数据,其中,所述物料用量数据、所述合理损耗数据、所述超领数据、所述退料数量和所述单位成品物料数据均为所述物料参数。Finished product data = (material usage data + reasonable loss data + over-recovery data-returned material data)/unit finished product material data, where the material usage data, the reasonable loss data, the over-collected data, and the returned material Both the quantity and the unit finished product material data are the material parameters.
  7. 如权利要求1至6任一项所述的基于区块链的日产日清核算方法,其中,所述采购节点和所述生产节点采用相同的应用程序编程接口API接口连接到所述区块链中。The blockchain-based Nissan daily settlement accounting method according to any one of claims 1 to 6, wherein the procurement node and the production node are connected to the blockchain using the same application programming interface (API) in.
  8. 一种基于区块链的日产日清核算装置,其中,所述基于区块链的日产日清核算装置包括::A blockchain-based Nissan daily settlement accounting device, wherein the blockchain-based Nissan daily settlement accounting device includes:
    检测模块,配置为检测生产节点上传到区块链中的待核算的生产工单;The detection module is configured to detect the pending production work orders uploaded to the blockchain by the production node;
    提取模块,配置为提取所述生产工单中的成品数据;An extraction module, configured to extract finished product data in the production work order;
    代入模块,配置为确定所述成品数据中的合格成品数据大于或等于预设值后,则将所述成品数据和所述生产工单中的物料参数代入日产日清恒等式中;Substitution module, configured to determine that the qualified finished product data in the finished product data is greater than or equal to a preset value, then substitute the finished product data and the material parameters in the production work order into the Nissan Daily Constant equation;
    上传模块,配置为将所述日产日清恒等式的计算结果上传到所述区块链中,以供生产节点和采购节点根据所述计算结果执行相应的操作。The upload module is configured to upload the calculation result of the Nissan Nissin Constant Equation to the blockchain, so that the production node and the purchasing node can perform corresponding operations according to the calculation result.
  9. 一种基于区块链的日产日清核算设备,其中,所述基于区块链的日产日清核算设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于区块链的日产日清核算程序,所述基于区块链的日产日清核算程序被所述处理器执行时实现如权利要求1至7中任一项所述的基于区块链的日产日清核算方法的步骤。A blockchain-based Nissan daily settlement accounting device, wherein the blockchain-based Nissan daily settlement accounting device includes a memory, a processor, and a device that is stored on the memory and can run on the processor. Blockchain-based Nissan’s daily settlement accounting program, when the blockchain-based Nissan’s daily settlement accounting program is executed by the processor, the blockchain-based Nissan daily according to any one of claims 1 to 7 is realized Steps of the liquidation accounting method.
  10. 一种存储介质,其中,所述存储介质上存储有基于区块链的日产日清核算程序,所述基于区块链的日产日清核算程序被处理器执行时实现如权利要求1至7中任一项所述的基于区块链的日产日清核算方法的步骤。A storage medium, wherein a blockchain-based Nissan daily settlement accounting program is stored on the storage medium, and when the blockchain-based Nissan daily settlement accounting program is executed by a processor, it is implemented as in claims 1 to 7 Any of the steps of the blockchain-based Nissan daily settlement accounting method.
PCT/CN2020/102675 2019-10-10 2020-07-17 Blockchain-based daily production and daily clearing accounting method, apparatus and device, and storage medium WO2021068591A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910962098.1 2019-10-10
CN201910962098.1A CN110782139A (en) 2019-10-10 2019-10-10 Daily yield daily clearing accounting method, device, equipment and storage medium based on block chain

Publications (1)

Publication Number Publication Date
WO2021068591A1 true WO2021068591A1 (en) 2021-04-15

Family

ID=69384974

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102675 WO2021068591A1 (en) 2019-10-10 2020-07-17 Blockchain-based daily production and daily clearing accounting method, apparatus and device, and storage medium

Country Status (2)

Country Link
CN (1) CN110782139A (en)
WO (1) WO2021068591A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782139A (en) * 2019-10-10 2020-02-11 深圳点链科技有限公司 Daily yield daily clearing accounting method, device, equipment and storage medium based on block chain
CN111461914A (en) * 2020-03-31 2020-07-28 深圳点链科技有限公司 Order tracking verification and cancellation management method, system and storage medium
CN116090812B (en) * 2022-11-08 2024-01-26 成都市食品检验研究院 Intelligent remote service system for risk prevention and control early warning of food enterprises

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180117446A1 (en) * 2016-05-02 2018-05-03 Bao Tran Smart device
US20180130034A1 (en) * 2016-11-07 2018-05-10 LedgerDomain, LLC Extended blockchains for event tracking and management
CN109101838A (en) * 2018-08-13 2018-12-28 百度在线网络技术(北京)有限公司 Content motivational techniques and device based on block chain
CN109993628A (en) * 2019-03-05 2019-07-09 浙江牧猪人智慧农业科技有限公司 A kind of plantation product, cultivation product supply and demand management system and the method for the multiterminal interconnection based on block chain
CN110782139A (en) * 2019-10-10 2020-02-11 深圳点链科技有限公司 Daily yield daily clearing accounting method, device, equipment and storage medium based on block chain

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685075B2 (en) * 2005-01-10 2010-03-23 Taiwan Semiconductor Manufacturing Co., Ltd. Costing system and method
CN101425159A (en) * 2008-04-30 2009-05-06 贵州同济堂制药有限公司 Producing monitoring system for chinese traditional medicine corporation
CN106600197A (en) * 2016-12-19 2017-04-26 苏州宏软信息技术有限公司 Workshop material distribution device and method
CN108470265B (en) * 2018-03-27 2021-03-02 深圳春沐源控股有限公司 Multi-warehouse data management method based on block chain and related equipment
CN109472474A (en) * 2018-11-29 2019-03-15 山东钢铁集团日照有限公司 Iron and steel enterprise based on full process flow refines cost accounting control method
CN109784631A (en) * 2018-12-12 2019-05-21 广州永霸信息科技股份有限公司 A kind of production work order generates processing method, system, platform and storage medium
CN110060110B (en) * 2019-04-28 2021-06-15 锋泾(中国)建材集团有限公司 Method and device for determining product cost and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180117446A1 (en) * 2016-05-02 2018-05-03 Bao Tran Smart device
US20180130034A1 (en) * 2016-11-07 2018-05-10 LedgerDomain, LLC Extended blockchains for event tracking and management
CN109101838A (en) * 2018-08-13 2018-12-28 百度在线网络技术(北京)有限公司 Content motivational techniques and device based on block chain
CN109993628A (en) * 2019-03-05 2019-07-09 浙江牧猪人智慧农业科技有限公司 A kind of plantation product, cultivation product supply and demand management system and the method for the multiterminal interconnection based on block chain
CN110782139A (en) * 2019-10-10 2020-02-11 深圳点链科技有限公司 Daily yield daily clearing accounting method, device, equipment and storage medium based on block chain

Also Published As

Publication number Publication date
CN110782139A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
WO2021068591A1 (en) Blockchain-based daily production and daily clearing accounting method, apparatus and device, and storage medium
Dai et al. Competitive and collaborative quality and warranty management in supply chains
JP6564916B2 (en) Intelligent warehouse storage management method, apparatus, system, and unmanned intelligent warehouse storage equipment
TW535088B (en) Method and system for facilitating parts procurement and production planning across an extended supply chain
CN106708712B (en) System and method for cloud service asset management of portable computer testing tools
WO2021197351A1 (en) Management method and system for tracking and verifying order, and storage medium
WO2021068593A1 (en) Daily production and daily clearing accounting method, apparatus and device, and computer-readable storage medium
US8898641B2 (en) Managing transactions within a middleware container
CN109214679B (en) Project engineering management system based on building information model
WO2021184689A1 (en) Model data processing method, apparatus and device, and computer-readable storage medium
WO2023012005A1 (en) Method and system for managing construction projects with automatic generation of smart contract
Diao et al. Estimating business value of IT services through process complexity analysis
US7640531B1 (en) Productivity measurement and management tool
Yuan et al. Unsold versus unbought commitment: Minimum total commitment contracts with nonzero setup costs
CN104899725A (en) Intelligent workflow system for decision support and event feedback and circulation method of intelligent workflow system
Agarwal et al. Effectiveness of information systems in supply chain performance: a system dynamics study
US20080162273A1 (en) System and method of tracking process for managing decisions
KR102057609B1 (en) Server and method for providing intelligent order service
US20230041586A1 (en) Computer System and Method for Tracking the Impact of a Change Event
CN115423574A (en) Data processing method based on order and related device
Yang et al. TESTQUAL: conceptualizing software testing as a service
JP2009157489A (en) Project progress management device and its control method, project progress management system, program and recording medium with the program recorded
Simonova Identification of IT-service metrics for a business process when planning a transition to outsourcing
CN107067137A (en) A kind of power marketing metering class's routine work management control method and system
CN110956389B (en) Nesting inspection method and device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20874512

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20874512

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.09.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20874512

Country of ref document: EP

Kind code of ref document: A1