A blockchain-based production status verification method, device, and electronic device

By using sensors to collect production status and traceability information in OEM production, combined with blockchain verification, the authenticity and controllability of management methods in OEM production are solved, and credible verification and consistency management of the production process are achieved.

CN114240468BActive Publication Date: 2025-07-08SHANGHAI SEWING IOT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111611087.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2025-07-08
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

In the prior art, the management methods of OEM production are poor in authenticity and controllability, which are prone to cases where workers first scan codes and then batch processing, resulting in the authenticity of order progress and completion degree deviating from actual production capacity.

Method used

The production status information and traceability information are collected through sensors, and the consistency rules are used for verification, and the verification results are added to the blockchain system for identity verification, ensuring that the data is tampered with and trustworthy transmission.

Benefits of technology

It improves the controllability and credibility of the production process, can identify scanning operations that do not comply with the rules, and ensures the authenticity and consistency of production traceability information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114240468B_ABST
    Figure CN114240468B_ABST
Patent Text Reader

Abstract

An embodiment of this specification provides a method for verifying production status based on a blockchain. The production status information of a first device for a first object is collected through sensors, and the production traceability information of the first object is obtained by a traceability application. Using a preset consistency rule, the production status information and the production traceability information are verified for consistency to obtain a consistency verification result. The first business party signs it and uploads it to the blockchain system. The certificate platform signs the public key of the first business party. The blockchain system obtains the public key of the first business party to authenticate the identity of the consistency verification result. If the verification passes, the consistency verification result is provided to the demand side of the first object. By collecting the production status information of the first device for the first object through sensors and combining with the preset consistency rule, the production traceability information can be verified. Since the production status information can prove the actual production situation, anomalies in the production traceability information can be identified, and thus scanning operations that do not conform to the rules can be identified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular, to a production status verification method, device, and electronic device based on a blockchain. Background Art

[0002] OEM production has already been a relatively common business model, which means that the brand owner or the commodity demander obtains commodities through a contract manufacturer.

[0003] In order to manage production, manufacturers usually configure a production management system to indicate which commodities have completed processing at which stations by recording information about the processed commodities (such as scanning commodity barcodes when arriving at key production stations), so as to control the production progress.

[0004] However, this method has poor authenticity and controllability. Workers often scan codes in batches first and then process them in batches, resulting in the authenticity of the entire order progress and completion degree often deviating significantly from the actual production capacity. Summary of the Invention

[0005] Embodiments of the present specification provide a production status verification method, device, and electronic device based on a blockchain to improve the controllability of the production process.

[0006] Embodiments of the present specification also provide a production status verification method based on a blockchain, including:

[0007] Collect production status information of a first device for a first object through a sensor, and obtain production traceability information collected by a traceability application for the first object;

[0008] Use a preset consistency rule to perform consistency verification on the production status information and the production traceability information to obtain a consistency verification result;

[0009] A first business party signs and uploads the consistency verification result to a blockchain system;

[0010] The blockchain system obtains the public key of the first business party to authenticate the consistency verification result, and if the verification is passed, provides the consistency verification result to the demander of the first object.

[0011] Optionally, the production status information includes at least one of stitch information and piece count sensing information.

[0012] Optionally, the using a preset consistency rule to perform consistency verification on the production status information and the production traceability information includes:

[0013] Calculate the number of produced parts and the production speed using the needle movement information, calculate the number of scanned parts and the scanning speed according to the production traceability information, and compare the number of parts and the speed respectively using a preset consistency rule to obtain a consistency verification result.

[0014] Optionally, the needle movement information includes: the needle movement time of each needle movement action.

[0015] Optionally, the blockchain system obtains the public key of the first business party to authenticate the consistency verification result, including:

[0016] The certificate platform obtains the public key of the first business party and the qualification verification information, verifies the qualification verification information, and if the verification passes, signs the public key of the first business party using the private key of the certificate platform to obtain a signed result of the business party's public key;

[0017] The certificate platform signs the public key of the first business party;

[0018] The blockchain system obtains the signed result of the business party's public key corresponding to the consistency verification result, decrypts it using the public key of the certificate platform, and compares the decryption result with the public key of the first business party. If the comparison is consistent, the consistency verification result is authenticated.

[0019] Optionally, the first business party uploads the signed consistency verification result to the blockchain system, including:

[0020] Sign the consistency verification result to obtain a first signed result;

[0021] Sign the production status information and the production traceability information to obtain a second signed result;

[0022] Upload the first signed result and the second signed result to the blockchain system;

[0023] The method further includes:

[0024] Obtain the public key of the requester of the first object and decrypt the second signed result using the public key of the requester of the first object.

[0025] Use a preset consistency rule to perform consistency verification on the decrypted production status information and production traceability information to obtain a consistency verification result of the on-chain node.

[0026] Optionally, it further includes:

[0027] Obtain the public key of the requester of the first object and encrypt the second signed result using the public key of the requester of the first object.

[0028] An embodiment of this specification also provides a production status verification device based on a blockchain, including:

[0029] An acquisition module that acquires production status information of a first device for a first object through a sensor and obtains production traceability information collected by a traceability application for the first object;

[0030] A consistency verification module that uses a preset consistency rule to perform consistency verification on the production status information and the production traceability information to obtain a consistency verification result;

[0031] An on-chain module, where a first business party signs and uploads the consistency verification result to a blockchain system;

[0032] An identity verification module, where the blockchain system obtains the public key of the first business party to perform identity verification on the consistency verification result, and if the verification passes, provides the consistency verification result to the requester of the first object.

[0033] An embodiment of this specification also provides an electronic device, where the electronic device includes:

[0034] A processor; and,

[0035] A memory that stores a computer-executable program, and the executable program, when executed, causes the processor to execute any of the above methods.

[0036] An embodiment of this specification also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs, when executed by a processor, implement any of the above methods.

[0037] The various technical solutions provided by the embodiments of this specification acquire production status information of a first device for a first object through a sensor, obtain production traceability information collected by a traceability application for the first object, use a preset consistency rule to perform consistency verification on the production status information and the production traceability information to obtain a consistency verification result, a first business party signs and uploads it to a blockchain system, a certificate platform signs the public key of the first business party, the blockchain system obtains the public key of the first business party to perform identity verification on the consistency verification result, and if the verification passes, provides the consistency verification result to the requester of the first object. By acquiring production status information of a first device for a first object through a sensor and combining a preset consistency rule, it is possible to verify production traceability information. Since production status information can prove the actual production situation, it is possible to identify anomalies in production traceability information, thereby identifying scanning operations that do not conform to the rules. Description of the Drawings

[0038] The accompanying drawings described herein are used to provide a further understanding of the present application, and constitute a part of the present application. The schematic embodiments and descriptions thereof of the present application are used to explain the present application, and do not constitute an improper limitation of the present application. In the drawings:

[0039] Figure 1 It is a schematic diagram of the principle of a blockchain-based production status verification method provided by an embodiment of this specification;

[0040] Figure 2 It is a schematic diagram of the structure of a blockchain-based production status verification device provided by an embodiment of this specification;

[0041] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of this specification;

[0042] Figure 4 It is a schematic diagram of the principle of a computer-readable medium provided by an embodiment of this specification. Detailed implementation manners

[0043] Now, the exemplary embodiments of the present invention will be described more comprehensively with reference to the accompanying drawings. However, the exemplary embodiments can be implemented in various forms and should not be understood as being limited to the embodiments described herein. On the contrary, providing these exemplary embodiments can make the present invention more comprehensive and complete, and more convenient to fully convey the inventive concept to those skilled in the art. The same reference numerals in the drawings denote the same or similar elements, components, or parts, and thus their repeated descriptions will be omitted.

[0044] On the premise of conforming to the technical concept of the present invention, the features, structures, characteristics, or other details described in a specific embodiment may not be excluded from being combined in a suitable manner in one or more other embodiments.

[0045] In the description of specific embodiments, the features, structures, characteristics, or other details described in the present invention are for those skilled in the art to fully understand the embodiments. However, it does not exclude that those skilled in the art can practice the technical solutions of the present invention without one or more of the specific features, structures, characteristics, or other details.

[0046] The flowcharts shown in the accompanying drawings are only exemplary descriptions, and do not necessarily include all the contents and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to the actual situation.

[0047] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0048] The term "and / or" or "and / or" includes all combinations of any one or more of the associated listed items.

[0049] Figure 1 A schematic diagram of a blockchain-based production status verification method provided in an embodiment of this specification, the method may include:

[0050] S101: Collecting production status information of a first device on a first object through a sensor, and obtaining production traceability information of the first object collected by a traceability application.

[0051] In some high-tech enterprise processing plants, an MES traceability system is also configured to scan the QR code of the goods to be processed when they pass a certain station to record the information.

[0052] In fact, for OEM production, the ultimate goal of our management and control is to prove the authenticity of the production progress. The core is to verify whether the actual production speed is consistent with the scanning speed, or to prove to the demander that the actual production speed is consistent with the scanning speed. Because, for each processing site that needs to scan MES, if it is processed one by one, then the scanning speed should be consistent with the processing speed. If 100 pieces are scanned in 5 minutes, but 100 pieces cannot be processed in 5 minutes, then it means that there is a situation of batch scanning and batch processing.

[0053] Or, if 50 pieces are scanned in 10 minutes and it takes 20 minutes to process the 50 pieces, then this can also indicate that batch scanning and batch processing exist.

[0054] To control the actual production speed, we can use piece count sensors, temperature sensors or needle count sensors. We can directly collect the processing time of each piece of clothing through the piece count sensor to calculate the processing speed.

[0055] Therefore, in the embodiment of the present specification, the production status information includes at least one of needle movement information and piece number sensing information.

[0056] In order to avoid the situation where the factory deliberately forges the clothes to be passed, we can monitor the actual number of clothes processed by the number of stitches.

[0057] We can also use a speed sensor to sense the speed at which the clothes are being conveyed, and to determine whether there is an actual processing process. If the speed of conveying the clothes exceeds the threshold, it indicates that the processing factory is deliberately forging the passing of clothes.

[0058] For example, if it takes 10 seconds to process a piece of clothing, but the data collected by the speed sensor shows that each piece of clothing passes through in 1 second, it means that the clothes have not been actually processed.

[0059] The number of stitches can be collected through a stitch sensor.

[0060] Therefore, the stitch information can include the stitch times of each stitching action. The stitch information can also include the total number of stitches.

[0061] Wherein, one stitch refers to one back-and-forth movement of the needle tip, such as one up-and-down movement.

[0062] Specifically, we can use an IoT (Internet of Things) clothing manufacturing device equipped with multiple sensors to collect the production status information of the first device for the first object.

[0063] Among them, the traceability application can be an application of the traceability platform, such as the MES system. Of course, it can also be its own built-in system, which is not limited here.

[0064] Among them, the production traceability information can be the first object identifier entered and the entry time.

[0065] It can be entered by manual filling or by scanning, which is not limited here.

[0066] The first object here can be clothes or other commodities, such as knitting supplies.

[0067] In actual application, the number of sewn pieces, equipment status and other data of the clothing manufacturing equipment during the workers' operation can be collected through the IoT hardware unit. Each sensor is respectively installed at the corresponding position of the clothing manufacturing equipment and is connected to the IoT control box.

[0068] S102: Use a preset consistency rule to perform consistency verification on the production status information and the production traceability information, and obtain a consistency verification result.

[0069] Among them, the production speed and the number of production pieces can be calculated respectively according to the production status information and the production traceability information, and it is judged whether they are consistent.

[0070] Therefore, the use of the preset consistency rule to perform consistency verification on the production status information and the production traceability information can include:

[0071] Calculate the number of produced parts and the production speed using the needle movement information, calculate the number of scanned parts and the scanning speed according to the production traceability information, and compare the number of parts and the speed respectively using a preset consistency rule to obtain a consistency verification result.

[0072] The consistency verification result here can be consistent or inconsistent.

[0073] S103: The first business party signs and uploads the consistency verification result to the blockchain system.

[0074] By signing and uploading the consistency verification result to the blockchain system, a tamper-proof consistency verification result can be obtained, thereby improving credibility.

[0075] Here, it can refer to multiple block nodes storing the signed consistency verification result.

[0076] In this way, when it is necessary to verify the authenticity later, after each block node decrypts the signature, voting can be carried out, thus achieving the effect of preventing tampering.

[0077] Of course, we can also sign and upload the production status information and the production traceability information to the chain for voting, and let the blockchain and even the demand side of the first object conduct consistency verification.

[0078] The demand side of the first object refers to the business party that needs the foundry to process products for it.

[0079] Optionally, the first business party signing and uploading the consistency verification result to the blockchain system includes:

[0080] Sign the consistency verification result to obtain a first signed result;

[0081] Sign the production status information and the production traceability information to obtain a second signed result;

[0082] Upload the first signed result and the second signed result to the blockchain system.

[0083] Of course, it can also be to encrypt the consistency verification result using a hash algorithm, upload the hash verification code to the blockchain and obtain a block identifier.

[0084] S104: The blockchain system obtains the public key of the first business party to authenticate the consistency verification result. If the verification passes, it provides the consistency verification result to the demand side of the first object.

[0085] This method collects the production status information of the first device for the first object through sensors, obtains the production traceability information of the first object collected by the traceability application, and uses a preset consistency rule to verify the consistency of the production status information and the production traceability information to obtain a consistency verification result. The first business party signs it and uploads it to the blockchain system. The certificate platform signs the public key of the first business party. The blockchain system obtains the public key of the first business party to authenticate the identity of the consistency verification result. If the verification passes, the consistency verification result is provided to the demander of the first object. By collecting the production status information of the first device for the first object through sensors and combining with the preset consistency rule, the production traceability information can be verified. Since the production status information can prove the actual production situation, the abnormality of the production traceability information can be identified, and thus the scanning operation that does not conform to the rule can be identified.

[0086] In the embodiment of this specification, the blockchain system obtaining the public key of the first business party to authenticate the identity of the consistency verification result may include:

[0087] The certificate platform obtains the public key of the first business party and qualification verification information, verifies the qualification verification information, and if the verification passes, uses the private key of the certificate platform to sign the public key of the first business party to obtain a signed result of the business party's public key;

[0088] The certificate platform signs the public key of the first business party;

[0089] The blockchain system obtains the signed result of the business party's public key corresponding to the consistency verification result, decrypts it using the public key of the certificate platform, and compares the decryption result with the public key of the first business party. If the comparison is consistent, the identity of the consistency verification result is authenticated.

[0090] In the embodiment of this specification, this method may further include:

[0091] Obtain the public key of the demander of the first object, and encrypt the second signed result using the public key of the demander of the first object.

[0092] In the embodiment of this specification, if the first business party uploads the consistency verification result signed to the blockchain system, it includes:

[0093] Sign the consistency verification result to obtain a first signed result;

[0094] Sign the production status information and the production traceability information to obtain a second signed result;

[0095] Upload the first signed result and the second signed result to the blockchain system;

[0096] Then, the method may further include:

[0097] Obtain the business party public key corresponding to the second signing result, and use the business party public key to decrypt the signature;

[0098] Using the preset consistency rules, the decoded production status information and production traceability information are verified for consistency, and the consistency verification results of the on-chain nodes are obtained.

[0099] If workers count one bundle as one work ticket, and scan the code on the work ticket and submit it before sewing, inconsistent results will be obtained, thus identifying the situation of exaggerated production capacity.

[0100] In this way, the platform and order demanders can ensure that they can obtain credible and authentic traceability information from the foundry, obtain tamper-proof production data, and verify the identity reliability of the digital factory.

[0101] In actual application, brands and e-commerce platforms can also obtain historical information of each OEM factory to screen qualified OEM factories, and can quickly match authentic and trustworthy OEM factories with endorsements, without the need for a large number of merchandisers to travel to confirm whether the production capacity reported by the OEM factory is consistent with the actual situation.

[0102] Signing and de-signing belong to the existing technology, which refers to processing through asymmetric key pairs. Using the private key to process is signing, and de-signing can be used for identity identification. Signing can also have the effect of encryption, and decryption can be achieved through de-signing.

[0103] If targeted encryption is required, the public key of the demander can be obtained and encrypted. In this way, only the demander can correctly decrypt the data, thereby performing consistency verification.

[0104] Among them, for each foundry, the factory identification, worker identification, and garment equipment identification can be used to distinguish. For example, the factory identification, worker identification, and garment equipment identification are added to the blockchain through an encryption algorithm. The cloud factory identification, worker identification, and garment equipment identification can also be bound as user names and encrypted to join the blockchain. The platform organization digitally signs the on-chain data of the cloud factory with an identity identification and issues the digital factory certificate.

[0105] The key, from which the block address can be obtained through an encryption algorithm.

[0106] MES can also collect data such as the clothing cloud factory's production capacity, work point records, worker wages, and order completion.

[0107] The certificate platform may have public key information, clothing cloud factory identity information, institutional digital signature, public key information, used to obtain the digitalization degree {d} of clothing workers through analyzing the consistency verification result and encrypt it; clothing cloud factory identity information, used to identify the identity of the cloud factory, that is, the holder of the certificate private key.

[0108] During specific verification, the data storage unit can separately obtain and store the sewing IoT data set {a} collected by the IoT hardware according to time period, factory identifier, device identifier, worker identifier, and process identifier, as well as the production data set {b} recorded by the cloud MES software in terms of time period, factory identifier, worker identifier, and work ticket.

[0109] Compare whether the data in the sewing data set {a} matches the production data set {b} for consistency comparison.

[0110] If the comparison data is consistent, the verification data passes to obtain the proof information {c0}. If it is judged inconsistent, the verification fails to obtain the proof information {c1}.

[0111] For the certificate platform, certificate management can be carried out: The clothing cloud factory applies for a certificate to the certificate platform. The clothing cloud factory provides public key information and the verification evidence and verification data required by the certificate platform. The certificate platform verifies the data and issues a certificate to the public key. The certificate platform digitally signs the public key of the clothing cloud factory with its own private key. The verifier (such as the requester) uses the digital signature algorithm to verify the identity of the clothing cloud factory and the correctness of the digital factory certificate.

[0112] Figure 2 It is a schematic structural diagram of a production status verification device provided by an embodiment of this specification. The device may include:

[0113] The acquisition module 201 acquires the production status information of the first device for the first object through a sensor, and obtains the production traceability information of the first object collected by the traceability application;

[0114] The consistency verification module 202 uses a preset consistency rule to perform consistency verification on the production status information and the production traceability information to obtain a consistency verification result;

[0115] The on-chain module 203 uploads the consistency verification result signed by the first business party to the blockchain system;

[0116] The identity verification module 204. The blockchain system obtains the public key of the first business party to verify the identity of the consistency verification result. If the verification passes, it provides the consistency verification result to the requester of the first object.

[0117] In specific implementation, an electric control box can be configured for the sewing machine, and the above-mentioned software modules can be configured in the single-chip microcomputer of the electric control box or in the production management platforms of various manufacturers, so as to realize the combination of traditional manufacturing and the Internet.

[0118] The device collects the production status information of the first device for the first object through sensors, obtains the production traceability information of the first object collected by the traceability application, uses a preset consistency rule to perform consistency verification on the production status information and the production traceability information, and obtains a consistency verification result. The first business party signs and uploads it to the blockchain system. The certificate platform signs the public key of the first business party. The blockchain system obtains the public key of the first business party to authenticate the identity of the consistency verification result. If the verification passes, the consistency verification result is provided to the demander of the first object. By collecting the production status information of the first device for the first object through sensors and combining with a preset consistency rule, the production traceability information can be verified. Since the production status information can prove the actual production situation, the abnormality of the production traceability information can be identified, and thus the scanning operation that does not conform to the rule can be identified.

[0119] Based on the same inventive concept, an embodiment of the present specification also provides an electronic device.

[0120] The following describes the embodiment of the electronic device of the present invention. This electronic device can be regarded as a specific physical implementation manner of the above-mentioned method and device embodiments of the present invention. For the details described in the embodiment of the electronic device of the present invention, they should be regarded as a supplement to the above method or device embodiments; for the details not disclosed in the embodiment of the electronic device of the present invention, they can be implemented with reference to the above method or device embodiments.

[0121] Figure 3 FIG. is a schematic structural diagram of an electronic device provided in an embodiment of the present specification. The following refers to Figure 3 to describe the electronic device 300 according to this embodiment of the present invention. Figure 3 The shown electronic device 300 is only an example and should not bring any limitation to the functions and usage scopes of the embodiments of the present invention.

[0122] As Figure 3 shown, the electronic device 300 is presented in the form of a general-purpose computing device. The components of the electronic device 300 may include but are not limited to: at least one processing unit 310, at least one storage unit 320, a bus 330 connecting different system components (including the storage unit 320 and the processing unit 310), a display unit 340, etc.

[0123] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 310, so that the processing unit 310 executes the steps according to various exemplary embodiments of the present invention described in the above processing method part of this specification. For example, the processing unit 310 can execute steps such as Figure 1 as shown.

[0124] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 3201 and / or a cache storage unit 3202, and may further include a read-only storage unit (ROM) 3203.

[0125] The storage unit 320 may further include a program / utilities 3204 having a set (at least one) of program modules 3205. Such program modules 3205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.

[0126] The bus 330 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.

[0127] The electronic device 300 may also communicate with one or more external devices 400 (such as a keyboard, a pointing device, a Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 300, and / or communicate with any device that enables the electronic device 300 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 350. And the electronic device 300 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 through the bus 330. It should be understood that although Figure 3 not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0128] Based on the descriptions of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described in the present invention can be implemented by software, or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the present invention. When the computer program is executed by a data processing device, it enables the computer-readable medium to implement the above method of the present invention, that is: as Figure 1 the method shown.

[0129] Figure 4 is a schematic diagram of the principle of a computer-readable medium provided by an embodiment of this specification.

[0130] Implement Figure 1 The computer program for implementing the method shown can be stored on one or more computer-readable media. The computer-readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0131] The computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium can also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the readable storage medium can be transmitted by any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0132] The program code for performing the operations of the present invention can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0133] In summary, the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that general-purpose data processing devices such as microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program for implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0134] The specific embodiments described above further elaborate on the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the present invention is not inherently related to any specific computer, virtual device, or electronic device, and various general-purpose devices can also implement the present invention. The above are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

[0135] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.

[0136] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of the claims of the present application.

Claims

1. A production status verification method based on blockchain, characterized in that, Including: Collect the production status information of the first device for the first object through a stitch sensor, and obtain the production traceability information of the first object collected by the traceability application through scanning. Among them, the production status information includes stitch information; Calculate the number of produced pieces and production speed using the stitch information, calculate the number of scanned pieces and scanning speed according to the production traceability information, and use a preset consistency rule to compare whether the number of produced pieces and the number of scanned pieces are consistent and whether the production speed and scanning speed are consistent respectively, to obtain a consistency verification result; The first business party signs and uploads the consistency verification result to the blockchain system; The blockchain system obtains the public key of the first business party to authenticate the consistency verification result. If the verification passes, it provides the consistency verification result to the demander of the first object.

2. The method according to claim 1, wherein The stitch information includes: the stitch time of each stitch action.

3. The method according to claim 1, characterized in that The blockchain system obtains the public key of the first business party to authenticate the consistency verification result, including: The certificate platform obtains the public key of the first business party and qualification verification information, verifies the qualification verification information, and if the verification passes, signs the public key of the first business party using the private key of the certificate platform to obtain a signed result of the business party's public key; The certificate platform signs the public key of the first business party; The blockchain system obtains the signed result of the business party's public key corresponding to the consistency verification result, decrypts it using the public key of the certificate platform, and compares the decryption result with the public key of the first business party. If the comparison is consistent, it authenticates the consistency verification result.

4. The method according to claim 1, wherein The first business party signs and uploads the consistency verification result to the blockchain system, including: Sign the consistency verification result to obtain a first signed result; Sign the production status information and the production traceability information to obtain a second signed result; Upload the first signed result and the second signed result to the blockchain system; The method further includes: Obtain the public key of the business party corresponding to the second signed result and decrypt it using the public key of the business party; Use a preset consistency rule to perform consistency verification on the decrypted production status information and production traceability information to obtain a consistency verification result of the on-chain node.

5. The method according to claim 4, characterized in that It also includes: Obtain the public key of the demander of the first object and encrypt the second signed result using the public key of the demander of the first object.

6. A production status verification device based on blockchain, characterized in that Including: A collection module that collects the production status information of the first device for the first object through a stitch sensor, and obtains the production traceability information of the first object collected by the traceability application through scanning. Among them, the production status information includes stitch information; A consistency verification module that calculates the number of produced pieces and production speed using the stitch information, calculates the number of scanned pieces and scanning speed according to the production traceability information, and uses a preset consistency rule to compare whether the number of produced pieces and the number of scanned pieces are consistent and whether the production speed and scanning speed are consistent respectively, to obtain a consistency verification result; An on-chain module where the first business party signs and uploads the consistency verification result to the blockchain system; The authentication module, the blockchain system obtains the public key of the first business party to authenticate the consistency verification result, and if the verification passes, provides the consistency verification result to the requester of the first object.

7. An electronic device, wherein, The electronic device includes: a processor; and, a memory storing a computer-executable program, the executable program, when executed, causes the processor to execute the method according to any one of claims 1-5.

8. A computer-readable storage medium, wherein, The computer-readable storage medium stores one or more programs, and the one or more programs, when executed by a processor, implement the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Production tracking method based on a block chain technology and terminal equipment

    CN109492880A

  • Data sharing method and system based on block chain

    CN113536388A