CN111865594A - Block chain based product testing method and system, electronic equipment and storage medium - Google Patents

Block chain based product testing method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN111865594A
CN111865594A CN202010684586.3A CN202010684586A CN111865594A CN 111865594 A CN111865594 A CN 111865594A CN 202010684586 A CN202010684586 A CN 202010684586A CN 111865594 A CN111865594 A CN 111865594A
Authority
CN
China
Prior art keywords
product
test data
testing
block chain
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010684586.3A
Other languages
Chinese (zh)
Inventor
王晓亮
周加泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Rivtower Technology Co Ltd
Original Assignee
Hangzhou Rivtower Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Rivtower Technology Co Ltd filed Critical Hangzhou Rivtower Technology Co Ltd
Priority to CN202010684586.3A priority Critical patent/CN111865594A/en
Publication of CN111865594A publication Critical patent/CN111865594A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Storage Device Security (AREA)

Abstract

One or more embodiments of the present specification disclose a block chain based product testing method, system, electronic device, and storage medium. The block chain based product testing method is applied to a product testing system at least comprising a testing device, a factory end, a client end and a block chain network, and comprises the following steps: after testing a product to be tested, the testing device sends obtained testing data to the factory side, wherein the testing data at least comprises a testing result; the factory end sends the received test data to the block chain network; the client acquires the test data from the block chain network after monitoring the test data, can share the test data with a user, ensures the trueness and reliability of the test data and prevents artificial interference.

Description

Block chain based product testing method and system, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a method and a system for testing a product based on a blockchain, an electronic device, and a storage medium.
Background
The product testing device is used for carrying out safety and performance detection on a product to be delivered from a factory, for example, the high-voltage testing device is used for carrying out a safety test on products such as household appliances or handheld electronic equipment before delivery from the factory so as to ensure that the products can bear a certain high voltage and avoid being punctured when electric leakage occurs, thereby ensuring the personal safety of a user. The user therefore also needs the manufacturer to complete product testing, particularly safety testing, before the product leaves the factory.
Conventional product manufacturers can provide test data in a factory system to users, but the test data customized by the users needs to be collated and then sent to the users, so that the data delay exists, and the situation that the test data is changed at will can occur in the process of collating the test data. How to share the test data with the user in real time and ensure the authenticity and reliability of the test data to prevent human interference becomes a technical problem which needs to be solved urgently.
Disclosure of Invention
An object of one or more embodiments of the present specification is to provide a blockchain-based product testing method, system, electronic device, and storage medium, which can share test data with a user and ensure trueness and reliability of the test data against human interference.
To solve the above technical problem, one or more embodiments of the present specification are implemented as follows:
in a first aspect, a block chain-based product testing method is provided, which is applied to a product testing system at least including a testing apparatus, a factory, a client, and a block chain network, and the method includes: after testing a product to be tested, the testing device sends the obtained testing data to the factory side, wherein the testing data at least comprises a testing result; the factory end sends the received test data to the block chain network; and the client acquires the test data from the block chain network after monitoring the test data.
In a second aspect, a blockchain-based product testing system is provided, which at least includes a testing apparatus, a factory, a client, and a blockchain network, wherein: the test device is used for sending the obtained test data to the factory end after testing the product to be tested, wherein the test data at least comprises a test result; the factory end is used for sending the received test data to the block chain network; and the client is used for acquiring the test data from the block chain network after monitoring the test data.
In a third aspect, an electronic device is provided, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform a product testing method as described above.
In a fourth aspect, a storage medium is presented storing one or more programs that, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform a product testing method as described above.
As can be seen from the technical solutions provided in one or more embodiments of the present disclosure, in the product testing method based on the blockchain provided in the present application, a manufacturer combines a test on a product before the product leaves a factory with a blockchain technology to construct a product testing system at least including a testing device, a factory end, a client end, and a blockchain network, where the testing device sends test data at least including a test result to the factory end of the manufacturer at a node of the blockchain network after completing the test, and the factory end sends the received test data to the blockchain network, so that the test data can be shared with a client. When a client monitors test data at a node client of the blockchain network, the test data is acquired from the blockchain network, and the test data is synchronously transmitted to different blockchain network nodes in real time by using a blockchain technology, so that the whole link from the generation of the test data to the client is free from artificial interference, and the traceability and authenticity of the test data are ensured.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, reference will now be made briefly to the attached drawings, which are needed in the description of one or more embodiments or prior art, and it should be apparent that the drawings in the description below are only some of the embodiments described in the specification, and that other drawings may be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a schematic diagram of a block chain-based product testing system architecture according to an embodiment of the present disclosure.
Fig. 2 is a schematic step diagram of a block chain-based product testing method according to an embodiment of the present disclosure.
Fig. 3 is a schematic step diagram of another block chain-based product testing method provided in an embodiment of the present specification.
Fig. 4 is a schematic step diagram of another block chain-based product testing method provided in an embodiment of the present specification.
Fig. 5 is a schematic step diagram of another block chain-based product testing method provided in an embodiment of the present specification.
Fig. 6 is a schematic step diagram of another block chain-based product testing method provided in an embodiment of the present specification.
Fig. 7 is a schematic structural diagram of a block chain-based product testing system according to an embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of another block chain-based product testing system provided in an embodiment of the present specification.
Fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the accompanying drawings in one or more embodiments of the present specification, and it is obvious that the one or more embodiments described are only a part of the embodiments of the present specification, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
First, referring to fig. 1, a system architecture according to an embodiment of the present disclosure will be described. The block chain based product testing system provided in the embodiments of the present specification may include: the clients include a first client 120, … …, an nth client 121, a testing device 100, a factory 110, and a blockchain network 130. The blockchain network is a novel decentralized protocol, can safely store digital currency transactions or other data, and can ensure that information cannot be forged or falsified. After the test is completed, the testing apparatus 100 sends the obtained test data at least including the test result to the factory end 110, and the factory end 110 sends the received test data to the blockchain network for the client to refer to.
It can be understood that, with reference to fig. 1 and fig. 4, the testing apparatus 100, the factory side 110, and the client side 120 capable of performing information transmission with the blockchain network are authenticated and authorized by the blockchain network, so as to ensure that the process from the generation of the test data to the client side is traceable and not falsifiable, and ensure the accuracy and reliability of the test data.
It should be noted that, in this specification, the factory end 110 and the client include the first client 120, … … and the nth client 121, which are nodes on the blockchain network of the manufacturer and the user, respectively, and they may perform corresponding operations on the corresponding nodes, such as receiving a notification of the blockchain network, sending their request, receiving test data related to themselves, and the like.
Example one
Referring to fig. 2, a schematic step diagram of a block chain based product testing method provided in an embodiment of the present disclosure is shown. The product testing method is applied to a product testing system at least comprising a testing device, a factory end, a client and a block chain network based on the block chain network, the testing data at least comprises a testing result, the process that the testing data at least comprising the testing result is checked from the client on the block chain network based on the block chain network cannot be artificially interfered, the trace can be traced, and the accuracy and the reliability of the testing data are ensured. The product testing method comprises the following steps:
Step 10: after testing a product to be tested, the testing device sends the obtained testing data to a factory end, wherein the testing data at least comprises a testing result;
the test device of a manufacturer sends test data at least comprising test results of the product to be tested to a factory end after testing the product to be tested, the test device can record all information and information generation time generated by the test device and the product to be tested in the test process, and the test data at least comprises test parameters, a digital signal which is a test result and is qualified or unqualified displayed by the test device, and the generation time of the test result. And after the test is finished, the test device sends the test data to a factory side. The purpose of sending the test data at least comprising the test result to the factory end is that the factory end sends the test data comprising the test result to the blockchain network, so that relevant customers or other data demand parties at least obtain the test result of the product. The condition can be suitable for the condition that a relevant party such as a client and the like clearly knows which product is or the client only needs to know the qualification rate of a certain batch of products, and only needs to send the test result of the product from the factory end of a manufacturer to the block chain network for the relevant party to obtain the test result of the product, and can also know the test process of the product. The test device can convert the test data into a preset data format and then send the preset data format to the factory, and the data format can comprise information such as test parameters, test results, test result generation time and the like.
For example, the testing device is a high-voltage testing device, the high-voltage testing device at least sends test data including a high-voltage test result to a factory end after performing high-voltage testing on a product to be tested placed on a high-voltage testing tool, and the factory end synchronizes to corresponding nodes, such as related clients or other data demand parties, through a block chain network.
The testing device is provided with a communication module used for being connected with a factory end, the communication module can be used for sending the communication module to the factory end, the factory end is a node on a blockchain network, and the factory end can synchronously send a client or other data demand parties such as a product authentication unit through the blockchain network.
Of course, the testing device can collect the product information such as the name, model, batch, product serial number and the like of the product to be tested when testing the product to be tested, and can also include the photo of the product to be tested, that is, the testing device is provided with an information collecting module to complete the collection of the product information. After the test is finished, the test result and the test result can be used as test data to be sent to the factory end, and the factory end sends the test data at least comprising the product information and the test result to the block chain network. Therefore, the client can more comprehensively know the performance of each aspect of the product after receiving the product information and the test result for describing the product.
Step 20: the factory end sends the received test data to a block chain network;
the block chain network is used as a shared database, and data or information stored in the shared database has unforgeable whole-course marks, can be traced and is public and transparent, so that a reliable and reliable cooperation mechanism is established. Therefore, as long as the test result of the product to be tested is at least sent to the block chain network, the process of generating the test result is traceable and not falsifiable, and the accuracy and reliability of the test result are ensured.
The factory side serves as a node of a manufacturer on the blockchain network, and can send test data at least comprising test results to the blockchain network, so that a client side and other data demand sides can obtain the test data.
Step 30: and the client acquires the test data from the block chain network after monitoring the test data.
Test data is obtained from the blockchain network after the client or other data demander has monitored the test data on the blockchain network. For clients or other data demanders, only the test results need to be obtained from the blockchain network with explicit product information or knowledge of the yield of a certain batch of products. If the number of the products is large, the test data needs to carry the serial numbers of the corresponding products, or product information such as the name, model, batch, product serial number and the like of the product to be tested is collected when the product to be tested is tested, and a photo of the product to be tested can be included. Therefore, at least the client can comprehensively know the performance of the product by combining the product information and the test result after acquiring the test data.
The test data obtained by the test device is directly sent to the factory end after the test of the product to be tested is completed, the test data is directly sent to the block chain network by the factory end, no manual operation or other application systems are needed in the process, and the test data is automatically synchronized to the client or other data demand parties.
The testing device can send the test data at least including the test result of a product to be tested to the factory end after each test of the product to be tested is completed, and the factory end can directly send the test data of the product to be tested to the block chain network after each test data of the product to be tested is received. The test device may also send the test data at least including the test result corresponding to a batch of products to be tested to the factory after completing the test of the batch of products to be tested, and the factory may also send the test data at least including the test result corresponding to the batch of products to be tested to the block chain network after receiving the test data. The test device can automatically send test data to the factory end after testing a product to be tested, and the factory end can automatically send the test data to the block chain, so that the whole link from the test data generation to the client end is free from artificial interference, and artificial tampering can be prevented.
Of course, when the test data needs to be modified, the test data can be modified only when the relevant node side of the block chain network at least comprises the factory side and the client side simultaneously modifies the test data.
Referring to fig. 3, in some embodiments, the test data further includes product information, the product testing system further includes an information collecting device, step 20: before the factory sends the test data to the blockchain network, the product testing method provided in the embodiment of the present specification further includes:
step 40: the information acquisition device acquires product information of a product to be tested and then sends the product information to a factory side.
The information acquisition device independently collects the product information of the product to be tested independently of the test device and then sends the product information to the factory side. The information acquisition device can be a camera or an NFC module and the like, can be matched according to different product types, is mainly used for acquiring product information such as the name, the model, the batch, the product serial number and the like of a product to be tested, and mainly comprises the name and the product serial number of the product. For example, the product with a nameplate can be read by a camera, and if the product with a two-dimensional code identification can be read by an NFC module. Similarly, the information acquisition device acquires the product signal and converts the product signal into a preset data format, for example, the data format includes information such as the name of the product, the serial number of the product, and the like.
The information acquisition device is provided with a communication module which can send product information to a factory end through the communication module, and the factory end serving as a block chain network node sends test data at least comprising the product information and test results to a block chain network so as to synchronize the test data with a client.
The information acquisition device can acquire product information in the testing process of the testing device, so that the product information and the testing result of the same product to be tested can be managed conveniently, and the product information and the testing result can be conveniently attributed to the testing data corresponding to the same product to be tested by respectively setting the serial numbers corresponding to the product to be tested in the product information and the testing result.
The information acquisition device sends product information to the factory end, the factory end classifies the product information and the test result into test data corresponding to the same product to be tested and then sends the test data to the block chain network, the factory end can send the received test result and the product information to the block chain network only by taking the test data as the test result, the block chain network subsequently classifies the test result and the product information into the test data corresponding to the same product to be tested, and at least the client side can conveniently check the test result and the product information.
The information acquisition device can automatically send the product information to a factory end after acquiring the product information of the product to be tested, so that the product information is not required to be manually interfered, and manual tampering can be prevented.
Referring to fig. 4, in some embodiments, step 10: before the testing device tests the product to be tested, the product testing method provided in the embodiment of the present specification further includes:
step 60: and respectively carrying out authentication and authorization on the testing device and the information acquisition device.
And after the testing device and the information acquisition device are respectively configured with authentication modules for block chain network authentication, the block chain network is used for respectively authenticating and authorizing the testing device and the information acquisition device. After the testing device and the information acquisition device are respectively authenticated and authorized through the authentication module, the information generated in the process of respectively testing the testing device and the information acquisition device and the time generated by the information generated in the process of acquiring the product information by the information acquisition device have public confidence, the testing device is testing data which is not artificially modified, and the testing data has convincing power.
Referring to fig. 5, in some embodiments, step 30: before the client side acquires the test data from the block chain network after monitoring the test data, the product test method provided by the embodiment of the specification comprises the following steps:
Step 70: and classifying the product information and the test result into test data corresponding to the same product to be tested based on the timestamp of the block chain network.
The information acquisition device can acquire the product information of the product to be tested in the testing process of the testing device, and also can acquire the product information of the product to be tested before and after testing, so that the product information and the testing result can be determined to correspond to the same product to be tested based on the product information acquisition time and the testing time. The aforementioned acquisition time and test time may be obtained based on the time stamp of the blockchain network, and the product information and test result corresponding to the same product to be tested are attributed to the test data corresponding to the product to be tested after the acquisition time and test time of the product information are compared based on the time stamp of the blockchain network.
The test data corresponding to the product information and the test result which are classified into the same product to be tested can be put into a factory for operation and can also be operated on a block chain network.
Referring to fig. 6, in some embodiments, step 20: before the factory sends test data corresponding to a product to be tested to the blockchain network, the product testing method provided by the embodiment of the specification further includes:
Step 80: and the factory encrypts the test data by adopting a corresponding public key system according to different clients so that the clients can obtain the corresponding test data.
Before uploading the test data to the blockchain network, the factory terminal encrypts the test data by adopting a corresponding public key system according to the difference of the client terminal, so that the client terminal can only check the test data related to the client terminal.
According to the technical scheme, the block chain based product testing method is characterized in that a product testing system at least comprising a testing device, a factory end, a client end and a block chain network is constructed by combining the testing of a manufacturer on a product before the product leaves a factory with the block chain technology, the testing device sends testing data at least comprising a testing result to the factory end of the manufacturer at a node of the block chain network after the testing is finished, and the factory end sends the received testing data to the block chain network, so that the testing data can be shared with a client in time. When a client monitors test data at a node client of the blockchain network, the test data is acquired from the blockchain network, and the test data is synchronously transmitted to different blockchain network nodes in real time by using a blockchain technology, so that the whole link from the generation of the test data to the client is free from artificial interference, and the traceability and authenticity of the test data are ensured.
Example two
Referring to fig. 7, a block chain based product testing system 10 is provided for an embodiment of the present disclosure. The product testing system 10 based on the block chain combines the block chain technology to realize that the whole process from the generation of the test data to the acquisition of the client side has no manual interference, and ensures the traceability and the authenticity of the test data. The blockchain-based product testing system at least comprises a testing device 100, a factory terminal 110, a client terminal 120 and a blockchain network 130, and the testing data at least comprises a testing result, wherein:
the test device 100 is configured to send obtained test data to a factory after testing a product to be tested, where the test data at least includes a test result;
the test device of a manufacturer sends test data at least comprising test results of the product to be tested to a factory end after testing the product to be tested, the test device can record all information and information generation time generated by the test device and the product to be tested in the test process, and the test data at least comprises test parameters, a digital signal which is a test result and is qualified or unqualified displayed by the test device, and the generation time of the test result. And after the test is finished, the test device sends the test data to a factory side. The purpose of sending the test data at least comprising the test result to the factory end is that the factory end sends the test data comprising the test result to the blockchain network, so that relevant customers or other data demand parties at least obtain the test result of the product. The condition can be suitable for the condition that a relevant party such as a client and the like clearly knows which product is or the client only needs to know the qualification rate of a certain batch of products, and only needs to send the test result of the product from the factory end of a manufacturer to the block chain network for the relevant party to obtain the test result of the product, and can also know the test process of the product. The test device can convert the test result data into a preset data format and then send the preset data format to the factory, wherein the data format can comprise information such as test parameters, test results, test result generation time and the like.
For example, the testing device is a high-voltage testing device, the high-voltage testing device at least sends test data including a high-voltage test result to a factory end after performing high-voltage testing on a product to be tested placed on a high-voltage testing tool, and the factory end synchronizes to corresponding nodes, such as related clients or other data demand parties, through a block chain network.
The testing device is provided with a communication module used for being connected with a factory end, the communication module can be used for sending the communication module to the factory end, the factory end is a node on a blockchain network, and the factory end can synchronously send a client or other data demand parties such as a product authentication unit through the blockchain network.
Certainly, the testing device can obtain product information such as the model, specification and product name of the product to be tested when testing the product to be tested, and can also include a photo of the product to be tested. After the test is finished, the test result and the test result can be used as test data to be sent to the factory end, and the factory end sends the test data at least comprising the product information and the test result to the block chain network. Therefore, the client can more comprehensively know the performance of each aspect of the product after receiving the product information and the test result for describing the product.
The factory end 110 is configured to send the received test data to the blockchain network 130; and the number of the first and second groups,
the block chain network is used as a shared database, and data or information stored in the shared database has unforgeable whole-course marks, can be traced and is public and transparent, so that a reliable and reliable cooperation mechanism is established. Therefore, as long as the test result of the product to be tested is at least sent to the block chain network, the process of generating the test result is traceable and not falsifiable, and the accuracy and reliability of the test result are ensured.
The factory side serves as a node of a manufacturer on the blockchain network, and can send test data at least comprising test results to the blockchain network, so that a client side and other data demand sides can obtain the test data.
The client 120 is configured to monitor the test data and then obtain the test data from the blockchain network 130.
Test data is obtained from the blockchain network after the client or other data demander has monitored the test data on the blockchain network. For clients or other data demanders, only the test results need to be obtained from the blockchain network with explicit product information or knowledge of the yield of a certain batch of products. If the number of the products is large, the test data needs to carry the serial numbers of the corresponding products, or the product information such as the model, specification and product name of the product to be tested is obtained when the product to be tested is tested, and the photo of the product to be tested can be included. Therefore, at least the client can comprehensively know the performance of the product by combining the product information and the test result after acquiring the test data.
The test data obtained by the test device is directly sent to the factory end after the test of the product to be tested is completed, the test data is directly sent to the block chain network by the factory end, no manual operation or other application systems are needed in the process, and the test data is automatically synchronized to the client or other data demand parties.
The testing device can send the test data at least including the test result of a product to be tested to the factory end after each test of the product to be tested is completed, and the factory end can directly send the test data of the product to be tested to the block chain network after each test data of the product to be tested is received. The test device may also send the test data corresponding to a batch of products to be tested, which at least includes the test data of the test result, to the factory after completing the test of the batch of products to be tested, and the factory may also send the test data corresponding to the batch of products to be tested, which at least includes the test result, to the block chain network after receiving the test data. The testing device can automatically send the test result to the factory end at least after testing the product to be tested, and the factory end can automatically send the test data to the block chain, so that the whole link from the test data generation to the client end is free from artificial interference, and artificial tampering can be prevented.
Of course, when the test data needs to be modified, the test data can be modified only by modifying the test data simultaneously by the relevant node side of the block chain network including at least the factory side and at least one client side.
Referring to fig. 8, in some embodiments, in the product testing system provided in this specification, the test data further includes product information, the product testing system 10 further includes an information acquisition device 140, and before the factory sends the test data to the blockchain network, the information acquisition device 140 is configured to:
and after the product information of the product to be tested is collected, the product information is sent to a factory side.
The information acquisition device independently collects the product information of the product to be tested independently of the test device and then sends the product information to the factory side. The information acquisition device can be a camera or an NFC module and the like, can be matched according to different product types, is mainly used for acquiring product information such as the name, the model, the batch, the product serial number and the like of a product to be tested, and mainly comprises the name and the product serial number of the product. For example, the product with a nameplate can be read by a camera, and if the product with a two-dimensional code identification can be read by an NFC module. Similarly, the information acquisition device acquires the product signal and converts the product signal into a preset data format, for example, the data format includes information such as the name of the product, the serial number of the product, and the like.
The information acquisition device is provided with a communication module which can send product information to a factory end through the communication module, and the factory end serving as a block chain network node sends test data at least comprising the product information and test results to a block chain network so as to synchronize the test data with a client.
The information acquisition device can acquire product information in the testing process of the testing device, so that the product information and the testing result of the same product to be tested can be managed conveniently, and the product information and the testing result can be conveniently attributed to the testing data corresponding to the same product to be tested by respectively setting the serial numbers corresponding to the product to be tested in the product information and the testing result.
The information acquisition device sends product information to the factory end, the factory end classifies the product information and the test result into test data corresponding to the same product to be tested and then sends the test data to the block chain network, the factory end can send the received test result and the product information to the block chain network only by taking the test data as the test result, the block chain network subsequently classifies the test result and the product information into the test data corresponding to the same product to be tested, and at least the client side can conveniently check the test result and the product information.
The information acquisition device can automatically send the product information to a factory end after acquiring the product information of the product to be tested, so that the product information is not required to be manually interfered, and manual tampering can be prevented.
In some embodiments, in the product testing system provided in this specification, before the testing device tests the product to be tested, the blockchain network 130 is further configured to:
the block chain network is used for respectively authenticating and authorizing the testing device and the information acquisition device.
And respectively carrying out authentication and authorization on the testing device and the information acquisition device.
After the testing device and the information acquisition device are respectively provided with the authentication modules for block chain network authentication, and after the testing device and the information acquisition device are respectively authenticated and authorized by the authentication modules, the testing device and the information acquisition device respectively pass the information generated in the testing process and the time generated by the information generated in the product information acquisition process of the information acquisition device, and the obtained information and the time generated by the information generated in the product information acquisition process of the information acquisition device have public confidence, are testing data which are not artificially modified, and the testing data have convincing power.
In some embodiments, in the product testing system provided in this specification, before the client acquires the test data from the blockchain network after monitoring the test data, the blockchain network is further configured to:
And classifying the product information and the test result into test data corresponding to the same product to be tested based on the timestamp of the block chain network.
The information acquisition device can acquire the product information of the product to be tested in the testing process of the testing device, and also can acquire the product information of the product to be tested before and after testing, so that the product information and the testing result can be determined to correspond to the same product to be tested based on the product information acquisition time and the testing time. The aforementioned acquisition time and test time may be obtained based on the time stamp of the blockchain network, and the product information and test result corresponding to the same product to be tested are attributed to the test data corresponding to the product to be tested after the acquisition time and test time of the product information are compared based on the time stamp of the blockchain network.
In some embodiments, in the product testing system provided in this specification, before the factory sends the test data corresponding to the product to be tested to the blockchain network, the factory is further configured to:
and encrypting the test data by adopting a corresponding public key system according to different clients so as to enable the clients to obtain the corresponding test data.
Before uploading the test data to the blockchain network, the factory terminal encrypts the test data by adopting a corresponding public key system according to the difference of the client terminal, so that the client terminal can only check the test data related to the client terminal.
According to the technical scheme, the block chain based product testing method is characterized in that a product testing system at least comprising a testing device, a factory end, a client end and a block chain network is constructed by combining the testing of a manufacturer on a product before the product leaves a factory with the block chain technology, the testing device sends testing data at least comprising a testing result to the factory end of the manufacturer at a node of the block chain network after the testing is finished, and the factory end sends the received testing data to the block chain network, so that the testing data can be shared with a client in time. When a client monitors test data at a node client of the blockchain network, the test data is acquired from the blockchain network, and the test data is synchronously transmitted to different blockchain network nodes in real time by using a blockchain technology, so that the whole link from the generation of the test data to the client is free from artificial interference, and the traceability and authenticity of the test data are ensured.
EXAMPLE III
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment provided in the present specification. On the hardware level, the electronic device comprises a processor and optionally an internal bus, a network interface and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads a corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the block chain consensus device on a logic level. The processor executes the program stored in the memory, and is specifically configured to execute the method steps corresponding to each execution main body in the embodiments of the present specification.
The methods disclosed in the embodiments of fig. 2 to 6 of the present specification may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The methods, steps, and logic blocks disclosed in one or more embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in hardware, in a software module executed by a hardware decoding processor, or in a combination of the hardware and software modules executed by a hardware decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute the method in the embodiments shown in fig. 2 to fig. 6, and implement the functions of the corresponding apparatus in the embodiments shown in fig. 2 to fig. 8, which are not described herein again in this specification.
Of course, besides the software implementation, the electronic device of the embodiment of the present disclosure does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
According to the technical scheme, the block chain based product testing method is characterized in that a product testing system at least comprising a testing device, a factory end, a client end and a block chain network is constructed by combining the testing of a manufacturer on a product before the product leaves a factory with the block chain technology, the testing device sends testing data at least comprising a testing result to the factory end of the manufacturer at a node of the block chain network after the testing is finished, and the factory end sends the received testing data to the block chain network, so that the testing data can be shared with a client in time. When a client monitors test data at a node client of the blockchain network, the test data is acquired from the blockchain network, and the test data is synchronously transmitted to different blockchain network nodes in real time by using a blockchain technology, so that the whole link from the generation of the test data to the client is free from artificial interference, and the traceability and authenticity of the test data are ensured.
Example four
This specification embodiment also proposes a computer readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, can cause the electronic device to perform the method of the embodiment shown in fig. 2 to 6.
According to the technical scheme, the block chain based product testing method is characterized in that a product testing system at least comprising a testing device, a factory end, a client end and a block chain network is constructed by combining the testing of a manufacturer on a product before the product leaves a factory with the block chain technology, the testing device sends testing data at least comprising a testing result to the factory end of the manufacturer at a node of the block chain network after the testing is finished, and the factory end sends the received testing data to the block chain network, so that the testing data can be shared with a client in time. When a client monitors test data at a node client of the blockchain network, the test data is acquired from the blockchain network, and the test data is synchronously transmitted to different blockchain network nodes in real time by using a blockchain technology, so that the whole link from the generation of the test data to the client is free from artificial interference, and the traceability and authenticity of the test data are ensured.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present specification shall be included in the protection scope of the present specification.
The system, apparatus, module or unit illustrated in one or more of the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with a certain functionality. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

Claims (12)

1. A block chain based product testing method is applied to a product testing system at least comprising a testing device, a factory, a client and a block chain network, and comprises the following steps:
after testing a product to be tested, the testing device sends obtained testing data to the factory side, wherein the testing data at least comprises a testing result;
the factory end sends the received test data to the block chain network;
and the client acquires the test data from the block chain network after monitoring the test data.
2. The product testing method of claim 1, wherein the test data further comprises product information, the product testing system further comprises an information collecting device, and before the factory sends the test data to the blockchain network, the method further comprises:
and the information acquisition device acquires the product information of the product to be tested and then sends the product information to the factory side.
3. The product testing method of claim 2, before the testing device tests a product under test, the method further comprising:
and respectively carrying out authentication and authorization on the testing device and the information acquisition device.
4. The product testing method of claim 2, at least before the client acquires the test data from the blockchain network after monitoring the test data, the method comprising:
and classifying the product information and the test result into the test data corresponding to the same product to be tested based on the timestamp of the block chain network.
5. The product testing method according to any one of claims 1 to 4, before the factory end sends the test data corresponding to the product to be tested to the blockchain network, the method further comprising:
and the factory terminal encrypts the test data by adopting a corresponding public key system according to the difference of the client terminal so that the client terminal can obtain the corresponding test data.
6. A product testing system based on a block chain at least comprises a testing device, a factory end, a client end and a block chain network, wherein:
the test device is used for sending the obtained test data to the factory end after testing the product to be tested, wherein the test data at least comprises a test result;
the factory end is used for sending the received test data to the block chain network; and the number of the first and second groups,
And the client is used for acquiring the test data from the block chain network after monitoring the test data.
7. The product testing system of claim 6, the test data further comprising product information, the product testing system further comprising an information gathering device, the information gathering device configured to, before the factory-side sends the test data to the blockchain network:
and after the product information of the product to be tested is collected, the product information is sent to the factory side.
8. The product testing system of claim 7, wherein before the testing device tests the product under test, the blockchain network is further configured to:
and respectively carrying out authentication and authorization on the testing device and the information acquisition device.
9. The product testing system of claim 7, wherein at least before the client obtains the test data from the blockchain network after listening to the test data, the blockchain network is further configured to:
and classifying the product information and the test result into the test data corresponding to the same product to be tested based on the timestamp of the block chain network.
10. The product testing system of any one of claims 6 to 9, wherein before the factory end sends the test data corresponding to the product to be tested to the blockchain network, the factory end is further configured to:
And encrypting the test data by adopting a corresponding public key system according to the difference of the client so as to enable the client to obtain the corresponding test data.
11. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the product testing method of any of claims 1 to 5.
12. A storage medium storing one or more programs which, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform the product testing method of any one of claims 1 to 5.
CN202010684586.3A 2020-07-16 2020-07-16 Block chain based product testing method and system, electronic equipment and storage medium Pending CN111865594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010684586.3A CN111865594A (en) 2020-07-16 2020-07-16 Block chain based product testing method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010684586.3A CN111865594A (en) 2020-07-16 2020-07-16 Block chain based product testing method and system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111865594A true CN111865594A (en) 2020-10-30

Family

ID=72983606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010684586.3A Pending CN111865594A (en) 2020-07-16 2020-07-16 Block chain based product testing method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111865594A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488332A (en) * 2020-12-01 2021-03-12 东营南科电气有限责任公司 Supervision test method, device, system and computer readable storage medium
CN116185878A (en) * 2023-04-23 2023-05-30 深圳市一航网络信息技术有限公司 Software authentication test technology platform based on block chain technology

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9934138B1 (en) * 2016-12-07 2018-04-03 International Business Machines Corporation Application testing on a blockchain
CN109446089A (en) * 2018-10-30 2019-03-08 赛汇检测(广州)有限公司 A kind of software test platform based on block chain technology
CN109783372A (en) * 2018-12-26 2019-05-21 中链科技有限公司 Method for testing software, device, electronic equipment and storage medium based on block chain
US20190340269A1 (en) * 2018-05-02 2019-11-07 Rockwell Automation Technologies, Inc. Blockchain-enabled industrial devices
CN110633198A (en) * 2018-06-22 2019-12-31 中链科技有限公司 Block chain-based software test data storage method and system
CN111061646A (en) * 2019-12-26 2020-04-24 山东爱城市网信息技术有限公司 Test management system, equipment and medium based on block chain intelligent contract

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9934138B1 (en) * 2016-12-07 2018-04-03 International Business Machines Corporation Application testing on a blockchain
US20190340269A1 (en) * 2018-05-02 2019-11-07 Rockwell Automation Technologies, Inc. Blockchain-enabled industrial devices
CN110633198A (en) * 2018-06-22 2019-12-31 中链科技有限公司 Block chain-based software test data storage method and system
CN109446089A (en) * 2018-10-30 2019-03-08 赛汇检测(广州)有限公司 A kind of software test platform based on block chain technology
CN109783372A (en) * 2018-12-26 2019-05-21 中链科技有限公司 Method for testing software, device, electronic equipment and storage medium based on block chain
CN111061646A (en) * 2019-12-26 2020-04-24 山东爱城市网信息技术有限公司 Test management system, equipment and medium based on block chain intelligent contract

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张金龙等: "一种基于区块链技术的工业数据安全性保护方法" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112488332A (en) * 2020-12-01 2021-03-12 东营南科电气有限责任公司 Supervision test method, device, system and computer readable storage medium
CN116185878A (en) * 2023-04-23 2023-05-30 深圳市一航网络信息技术有限公司 Software authentication test technology platform based on block chain technology

Similar Documents

Publication Publication Date Title
CN110232749B (en) Block chain-based inspection and evidence storage method and device and electronic equipment
CN111401902A (en) Service processing method, device and equipment based on block chain
CN109547535B (en) Equipment binding method, device and system
US11722315B2 (en) Factory data storage and recovery
CN106878108B (en) Network flow playback test method and device
CN108334753A (en) Pirate application verification method and distributed server node
US20130159008A1 (en) Systems and methods for verifying healthcare visits
CN113840012A (en) Screen recording evidence obtaining method and system based on block chain and electronic equipment
CN111723943B (en) Multi-label-based federal learning method, device and system
CN111865594A (en) Block chain based product testing method and system, electronic equipment and storage medium
CN111461883A (en) Transaction processing method and device based on block chain and electronic equipment
CN110633198A (en) Block chain-based software test data storage method and system
CN113487427A (en) Transaction risk identification method, device and system
CN110599180A (en) Block chain-based vaccine circulation management method and device
CN114358764A (en) Privacy calculation method based on intelligent contracts in block chain and related equipment
CN111339151A (en) Online examination method, device, equipment and computer storage medium
CN105988925A (en) Method, device and system for testing start-up time of application program
CN110309669B (en) Data labeling method, device and equipment
CN104834906A (en) Person identity verification method, apparatus and mobile terminal
CN112291321B (en) Service processing method, device and system
CN112583606B (en) Security verification method, server, terminal and storage medium
CN111431918B (en) Method and system for determining state label of target user based on block chain
CN111552949B (en) Encryption method and device for Internet of things equipment and electronic equipment
CN111190824B (en) Monitoring method, device, terminal equipment and storage medium
CN114896635A (en) Data processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030