CN110543748A - Block chain-based equipment data evidence storing method and device - Google Patents
Block chain-based equipment data evidence storing method and device Download PDFInfo
- Publication number
- CN110543748A CN110543748A CN201910818805.XA CN201910818805A CN110543748A CN 110543748 A CN110543748 A CN 110543748A CN 201910818805 A CN201910818805 A CN 201910818805A CN 110543748 A CN110543748 A CN 110543748A
- Authority
- CN
- China
- Prior art keywords
- block chain
- factory data
- factory
- determining
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Technology Law (AREA)
- Multimedia (AREA)
- Storage Device Security (AREA)
Abstract
The embodiment of the invention relates to a device data evidence storing method and device based on a block chain. The method comprises the following steps: determining factory data of first equipment, wherein the factory data comprises an equipment identifier of the first equipment; and sending the factory data to a block chain node so that the block chain node records the factory data in the block chain after verifying the factory data. The factory data of the device is recorded in the blockchain to store the identity of the device, and the device identifier of the first device can be inquired in the blockchain to determine whether the device identifier is a legal version. Therefore, the authenticity and the reliability of the information can be improved, and the merchant can record the equipment in an actual service scene; therefore, the consumer is prevented from being deceived to influence the user experience, and the consumer can directly inquire the information on the block chain.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a device data evidence storing method and device based on a block chain.
Background
the phenomenon of piracy has been known for a long time, and especially for books and books, the piracy is like a copy, and batch pirated products of the same version of books can appear after the books are released for 3 days to a week. Although anti-piracy measures are taken to some extent in all countries to combat piracy, today, the phenomenon of piracy is not only not eradicated effectively, but is increasingly spreading. The piracy of books not only jeopardizes the rights and interests of authors, publishers and readers, but also causes the loss of tax and benefits to the country and the whole society.
At present, methods for distinguishing the genuine books from the pirated books are usually observed by visual observation, such as paper material, printing effect, whether the binding process is regular, and the like; or the publishing company adopts some measures of so-called anti-piracy, such as laser anti-counterfeiting marks, book name embossing, flyleaf watermarks, inter-cut color pages and the like, however, because the technologies are only local information of fixed positions and do not have long-term exclusivity and low imitation difficulty, the technologies can be easily imitated and forged after a period of time of technology circulation: the laser anti-fake mark is forged, and the cover, the flyleaf, the color page and the like are specially manufactured by the same process.
More importantly, the trend of mass economic interest is that pirates go to risk. Since pirate only needs to pay low printing cost and does not need to pay tax and draft fee, the pirate book making becomes a means for illegal operators to earn violence, so that the behavior of selling pirate books is often prohibited, and the prior measures cannot fundamentally and effectively attack and inhibit pirate behaviors.
Computer and communication technologies are becoming more mature, and the application of computer and communication technologies to the printing of books for fighting against piracy and preventing piracy is imperative. In particular, the batch piracy behavior is struck, economic benefits brought by piracy are restrained, the batch piracy behavior can be effectively imitated, piracy is not profitable, and the purpose of restraining the piracy behavior is finally achieved.
Disclosure of Invention
based on the above problem, the embodiment of the invention provides a device data evidence storing method and device based on a block chain.
In a first aspect, a device data evidence storage method based on a block chain is provided, and is applied to a terminal. The method comprises the following steps: determining factory data of first equipment, wherein the factory data comprises an equipment identifier of the first equipment; and sending the factory data to a block chain node so that the block chain node records the factory data in the block chain after verifying the factory data.
In some optional implementations, further comprising: determining a device identifier of a second device, and determining whether the device identifier of the second device exists in the block chain; if so, determining that the second equipment is a genuine product; if not, determining that the second device is pirate.
In some optional implementations, the device identification is a MAC address.
In some optional implementations, the factory data further includes a factory certificate issued by an authority, the factory certificate having a signature of the authority.
In some optional implementations, the step of verifying the factory data includes: and verifying the signature of the authority in the manufacturer certificate according to the public key of the authority.
In some optional implementations, the step of sending the factory data to the blockchain node includes: generating transaction information, wherein the transaction information comprises a roll-out address, a roll-in address, a fee and the factory data; and sending the transaction information to the block chain node so that the block chain node verifies the transaction information and then records the verified transaction information in the block chain.
In a second aspect, an apparatus for storing device data evidence based on a block chain is provided, which is applied to a terminal, and includes: the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining factory data of the first device, and the factory data comprises a device identifier of the first device; and the sending unit is used for sending the factory data to the block chain node so that the block chain node records the factory data in the block chain after verifying the factory data.
in some optional implementations, further comprising: the determining unit is further configured to determine a device identifier of a second device, and determine whether the device identifier of the second device exists in the block chain; if so, determining that the second equipment is a genuine product; if not, determining that the second device is pirate.
in some optional implementations, the device identification is a MAC address.
in some optional implementations, the factory data further includes a factory certificate issued by an authority, the factory certificate having a signature of the authority.
In some optional implementations, the step of verifying the factory data includes: and verifying the signature of the authority in the manufacturer certificate according to the public key of the authority.
In some optional implementations, the sending unit is specifically configured to: generating transaction information, wherein the transaction information comprises a roll-out address, a roll-in address, a fee and the factory data; and sending the transaction information to the block chain node so that the block chain node verifies the transaction information and then records the verified transaction information in the block chain.
In a third aspect, the present specification provides a computer device, including a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method steps of the first aspect when executing the program.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one or more of the first or second aspects described above.
in a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one or more of the first or second aspects described above.
The embodiment of the invention provides a device data evidence storing method and device based on a block chain. Determining factory data of first equipment, wherein the factory data comprises an equipment identifier of the first equipment; and sending the factory data to a block chain node so that the block chain node records the factory data in the block chain after verifying the factory data. The factory data of the device is recorded in the blockchain to store the identity of the device, and the device identifier of the first device can be inquired in the blockchain to determine whether the device identifier is a legal version. Therefore, the authenticity and the reliability of the information can be improved, and the merchant can record the equipment in an actual service scene; therefore, the consumer is prevented from being deceived to influence the user experience, and the consumer can directly inquire the information on the block chain.
Drawings
FIG. 1 illustrates an exemplary architecture for applying embodiments provided herein;
Fig. 2 is a flowchart of an apparatus data certification method based on a block chain according to an embodiment of the present invention;
Fig. 3 is a schematic structural diagram of an apparatus for publishing information based on a block chain according to an embodiment of the present invention;
Fig. 4 shows a schematic structural diagram of a computer device provided in an embodiment of the present specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a device data evidence storing method and device based on a block chain. Fig. 1 shows an exemplary architecture to which embodiments provided herein apply.
Fig. 1 shows an exemplary architecture to which embodiments provided herein apply.
as shown in fig. 1, the exemplary architecture may include one or more user terminals 101, one or more vendor terminals 102, and one or more block chain nodes 103, which when there are multiple block chain nodes 103, form a block chain node network. The user terminal 101 or the manufacturer terminal 102 may be configured to interact with the blockchain node 102, for example, the user terminal 101 or the manufacturer terminal 102 may query the record in the blockchain, or may record the information in the blockchain.
It should be noted that the user terminal 101 is relative to the course platform 103, and the architecture of the embodiment is not limited to implement other functions, for example, the terminal may also be used as a block link node.
As an application scenario, shopping is performed by a client of the vendor terminal 102 on the user terminal 101, and payment can be made by the client of the blockchain at the time of checkout. As another application scenario, shopping is performed by the client of the vendor terminal 102 on the user terminal 101, and payment can be performed by the client of the vendor terminal 102 when payment is made, and the client of the vendor terminal 102 can implement the function of the client of the blockchain.
for the purpose of facilitating understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 2 is a flowchart of an apparatus data certification method based on a block chain according to the present invention. Applied to a terminal, as shown in fig. 2, the method includes:
And S210, determining factory data of the first equipment. The factory data includes a device identification of the first device.
each device may generate factory data when it is on the scene, and the factory data may serve as an identifier of the device. For example, the factory data may include factory time, production location, production lot, serial number, inspection information, notarization information, and the like.
the terminal can be a user terminal or a manufacturer terminal, the factory data can be directly collected by the user terminal or the manufacturer terminal, or can be sent to the user terminal after being collected by the manufacturer terminal.
And S220, sending the factory data to the block chain nodes so that the factory data is recorded in the block chain after the factory data is verified by the block chain node.
After determining the factory data of the first device, the factory data needs to be stored for later verification of the identity of the first device based on the storage. In the embodiment of the application, the factory data is stored through the block chain.
In some embodiments, since the blockchain stores the storage certificate of the factory data of each device, it is able to determine whether a device is genuine by querying the blockchain, and based on this, the method may further include the following steps:
step 1.1), determining the device identifier of the second device, and determining whether the device identifier of the second device exists in the block chain.
The terminal may send an acquisition request for data in the block chain to the block link point, and the block link point may send the corresponding data to the terminal after receiving the acquisition request. For example, the terminal may send an acquisition request carrying the device identity of the second device to the block node.
Step 1.2), if the second equipment exists, determining that the second equipment is a genuine product;
if the matching is successful, namely the blockchain node returns the identity information of the second equipment, the second equipment is a genuine product;
Step 1.3), if not, determining that the second device is pirate.
And if the matching fails, namely the blockchain node does not return the identity information of the second device, the second device is pirate.
In some embodiments, the device identification may be a MAC address. The device identification may also be a product serial number or a hash value corresponding to the device. For example, a hash value of factory data for the device.
in some embodiments, the first device may be a qualified product after passing an authority quality check, and the qualified product may have a factory certificate, and the factory data further includes the factory certificate issued by the authority and having a signature of the authority. Of course, the manufacturer certificate may also be issued by the manufacturer that produced the first device, in which case the manufacturer certificate has the signature of the manufacturer that produced the first device. Based on this, the signature can be verified to determine the validity of the factory certificate, and specifically, the step of verifying the factory data may include: and verifying the signature of the authority in the manufacturer certificate according to the public key of the authority.
In some embodiments, for the storage of the factory data of the device, the coiner may further collect a certain commission as a return to ensure the stable development of the health of the whole blockchain system, and based on this, the step S220 may specifically include the following steps:
step 2.1), transaction information is generated. The transaction information comprises an outgoing address, an incoming address, cost and factory data;
And 2.2) sending the transaction information to the block chain node so that the block chain node verifies the transaction information and records the transaction information in the block chain.
The fee may be settled using data currency, or may be settled using a stable currency or a french currency, where the stable currency is bound to the french currency, for example, one stable currency may be bound to one dollar.
The roll-out address may be an address of a manufacturer of the first device or an address of a distributor of the first device. The in-load address may be the coinage merchant's address and the in-load address may be the general ledger address. The commission for all the evidence data can be transferred to the same transfer-in address.
The factory data of the device is recorded in the blockchain to store the identity of the device, and the device identifier of the first device can be inquired in the blockchain to determine whether the device identifier is a legal version. Therefore, the authenticity and the reliability of the information can be improved, and the merchant can record the equipment in an actual service scene; therefore, the consumer is prevented from being deceived to influence the user experience, and the consumer can directly inquire the information on the block chain.
fig. 3 is a schematic structural diagram of an apparatus data evidence storing device based on a block chain according to an embodiment of the present application. Applied to a terminal, as shown in fig. 3, the apparatus includes:
a determining unit 301, configured to determine factory data of a first device, where the factory data includes a device identifier of the first device;
A sending unit 302, configured to send the factory data to a blockchain node, so that the blockchain node records the factory data in the blockchain after verifying the factory data.
In some embodiments, further comprising:
the determining unit is further configured to determine a device identifier of a second device, and determine whether the device identifier of the second device exists in the block chain;
if so, determining that the second equipment is a genuine product;
If not, determining that the second device is pirate.
In some embodiments, the device identification is a MAC address.
in some embodiments, the factory data further includes a factory certificate issued by an authority, the factory certificate having a signature of the authority.
In some embodiments, the step of verifying the factory data includes:
and verifying the signature of the authority in the manufacturer certificate according to the public key of the authority.
In some embodiments, the sending unit is specifically configured to:
Generating transaction information, wherein the transaction information comprises a roll-out address, a roll-in address, a fee and the factory data;
And sending the transaction information to the block chain node so that the block chain node verifies the transaction information and then records the verified transaction information in the block chain.
It can be understood that the device data evidence storing apparatus based on the blockchain in this embodiment corresponds to the method embodiment shown in fig. 2, and therefore, the above description about the method embodiment shown in fig. 2 is also applicable to the apparatus in this embodiment, and is not repeated herein.
Fig. 4 shows a schematic structural diagram of a computer device provided in an embodiment of the present specification, where the computer device may include: a processor 410, a memory 420, an input/output interface 430, a communication interface 440, and a bus 450. Wherein the processor 440, the memory 420, the input/output interface 430 and the communication interface 440 are communicatively coupled to each other within the device via a bus 450.
The processor 410 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 420 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 420 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 420 and called to be executed by the processor 410.
The input/output interface 430 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 440 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
bus 450 includes a pathway to transfer information between various components of the device, such as processor 410, memory 420, input/output interface 430, and communication interface 440.
it should be noted that although the above-mentioned device only shows the processor 410, the memory 420, the input/output interface 430, the communication interface 440 and the bus 450, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
the steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
the above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the scope of the present invention should be included in the scope of the present invention.
Claims (10)
1. A device data evidence storing method based on a block chain is applied to a terminal, and is characterized in that the method comprises the following steps:
Determining factory data of first equipment, wherein the factory data comprises an equipment identifier of the first equipment;
And sending the factory data to a block chain node so that the block chain node records the factory data in the block chain after verifying the factory data.
2. the method of claim 1, further comprising:
determining a device identifier of a second device, and determining whether the device identifier of the second device exists in the block chain;
If so, determining that the second equipment is a genuine product;
If not, determining that the second device is pirate.
3. The method of claim 1, wherein the device identification is a MAC address.
4. The method of claim 1, wherein the factory data further comprises a factory certificate, the factory certificate issued by an authority, the factory certificate having a signature of the authority.
5. The method of claim 4, wherein the step of verifying the factory data comprises:
And verifying the signature of the authority in the manufacturer certificate according to the public key of the authority.
6. The method of claim 1, wherein the step of sending the factory data to the blockchain node comprises:
Generating transaction information, wherein the transaction information comprises a roll-out address, a roll-in address, a fee and the factory data;
And sending the transaction information to the block chain node so that the block chain node verifies the transaction information and then records the verified transaction information in the block chain.
7. The utility model provides a device data deposit evidence device based on block chain, is applied to the terminal, its characterized in that, the device includes:
The device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining factory data of the first device, and the factory data comprises a device identifier of the first device;
And the sending unit is used for sending the factory data to the block chain node so that the block chain node records the factory data in the block chain after verifying the factory data.
8. The apparatus of claim 7, further comprising:
The determining unit is further configured to determine a device identifier of a second device, and determine whether the device identifier of the second device exists in the block chain;
if so, determining that the second equipment is a genuine product;
If not, determining that the second device is pirate.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any one of claims 1-6 when executing the program.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1-6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910818805.XA CN110543748A (en) | 2019-08-30 | 2019-08-30 | Block chain-based equipment data evidence storing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910818805.XA CN110543748A (en) | 2019-08-30 | 2019-08-30 | Block chain-based equipment data evidence storing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110543748A true CN110543748A (en) | 2019-12-06 |
Family
ID=68711331
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910818805.XA Pending CN110543748A (en) | 2019-08-30 | 2019-08-30 | Block chain-based equipment data evidence storing method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110543748A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111861466A (en) * | 2020-07-22 | 2020-10-30 | 无锡挚达物联科技有限公司 | Electric two-wheeled vehicle asset management method based on block chain |
| CN113177767A (en) * | 2020-01-08 | 2021-07-27 | 福历科技(上海)有限公司 | Equipment data processing method and device based on kungfu chain |
-
2019
- 2019-08-30 CN CN201910818805.XA patent/CN110543748A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113177767A (en) * | 2020-01-08 | 2021-07-27 | 福历科技(上海)有限公司 | Equipment data processing method and device based on kungfu chain |
| CN111861466A (en) * | 2020-07-22 | 2020-10-30 | 无锡挚达物联科技有限公司 | Electric two-wheeled vehicle asset management method based on block chain |
| CN111861466B (en) * | 2020-07-22 | 2021-07-06 | 无锡挚达物联科技有限公司 | Electric two-wheeled vehicle asset management method based on block chain |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107798650B (en) | Digital asset infringement judgment method and device based on block chain | |
| CN112165382B (en) | Software authorization method and device, authorization server side and terminal equipment | |
| CN109064334B (en) | Intelligent contract accounting method, computer device and readable storage medium | |
| KR101952498B1 (en) | Loan service providing method using black chain and system performing the same | |
| EP2924916A1 (en) | Security scheme for authenticating digital entities and aggregate object origins | |
| US20140095398A1 (en) | Double ID Anti-Counterfeit Method and System | |
| CN102855577B (en) | Multiple commodity antifake check method based on cloud computing | |
| CN109949058A (en) | Antifake method for products, device, electronic equipment and read/write memory medium | |
| CN111444209A (en) | Data processing method, device, equipment and medium based on block chain | |
| CN106779698A (en) | A kind of distribution for paying mark and its safe payment method, system and device | |
| CN102298756A (en) | Method for ensuring security of computer lottery trade information | |
| KR102333811B1 (en) | System and method for processing card payment based on block-chain | |
| CN114239066A (en) | Blockchain-based contract processing method and related equipment | |
| CN107994993B (en) | Application detection method and device | |
| CN110543748A (en) | Block chain-based equipment data evidence storing method and device | |
| CN111091430B (en) | Billing two-dimensional code processing method and system | |
| CN110941840B (en) | Data processing method, system and terminal | |
| CN109617695A (en) | Voting method, device, electronic equipment and storage medium based on block chain | |
| CN110599176B (en) | Block chain-based data processing method and device, storage medium and node equipment | |
| CN104217359A (en) | Software reselling method, device and system | |
| CN113469758A (en) | Billing method, billing device, billing equipment and storage medium for block chain and tax system | |
| CN110619557B (en) | Fixed asset lease management method and device and electronic equipment | |
| CN113128849A (en) | Lottery process management method, system, terminal device and storage medium | |
| CN103973644B (en) | Authentication method, device and system | |
| CN110909032A (en) | Method and device for managing data in block chain |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication |