CN110598377A - Software serial number management method and device based on block chain - Google Patents

Software serial number management method and device based on block chain Download PDF

Info

Publication number
CN110598377A
CN110598377A CN201910918554.2A CN201910918554A CN110598377A CN 110598377 A CN110598377 A CN 110598377A CN 201910918554 A CN201910918554 A CN 201910918554A CN 110598377 A CN110598377 A CN 110598377A
Authority
CN
China
Prior art keywords
serial number
information
target
uplink
software
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
CN201910918554.2A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910918554.2A priority Critical patent/CN110598377A/en
Publication of CN110598377A publication Critical patent/CN110598377A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The embodiment of the application provides a software serial number management method and device based on a block chain, wherein the method comprises the following steps: acquiring a serial number uplink request corresponding to a target agent object, and acquiring to-be-uplink data corresponding to the target agent object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object; when detecting that the target sequence number information is different from the associated sequence number information corresponding to the associated proxy object and the target sequence number information exists in the software block chain, generating a sequence number block based on the data to be uplink and adding the sequence number block to the software block chain; the target proxy object and the associated proxy object are both associated with the source object information. By adopting the embodiment of the application, the effectiveness of software serial number management can be improved.

Description

Software serial number management method and device based on block chain
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for managing software serial numbers based on a block chain.
Background
With the rapid development of internet technology, more and more application software is provided, and the frequency of using the application software by users is increased. For each application software, a manufacturer can generate a plurality of legal serial numbers corresponding to the application software, and a user only has the authority of legally using the application software if the user holds the legal serial numbers of the application software.
In the existing serial number selling process, after a manufacturer generates a plurality of legal serial numbers corresponding to application software, the legal serial numbers can be sold to an agent, and then the legal serial numbers are sold to users or enterprises. The selling process of the legal serial number involves multiple parties, so that the legal serial number is easy to leak in the flowing process, and the opportunity of producing pirated serial numbers is provided for illegal manufacturers. When a user purchases a serial number of application software, it is difficult to ensure the validity of the serial number due to the liquidity involved between the parties.
Disclosure of Invention
The embodiment of the application provides a software serial number management method and device based on a block chain, which can improve the effectiveness of software serial number management.
An embodiment of the present application provides a software serial number management method based on a block chain, including:
acquiring a serial number uplink request corresponding to a target agent object, and acquiring to-be-uplink data corresponding to the target agent object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object;
when detecting that the target sequence number information is different from the associated sequence number information corresponding to the associated proxy object and the target sequence number information exists in a software block chain, generating a sequence number block based on the data to be uplink and adding the sequence number block to the software block chain; the target proxy object and the associated proxy object are both associated with the source object information.
Wherein the method further comprises:
acquiring an associated proxy object associated with the source object information based on the source object information in the data to be uplink;
acquiring associated serial number information from uplink data corresponding to the associated proxy object, and adding the associated serial number information to a serial number set;
and when the associated serial number information in the serial number set is the same as the target serial number information, determining that the serial number uplink request is illegal, and sending abnormal prompt information to the terminal equipment corresponding to the target agent object.
Wherein the method further comprises:
traversing all blocks included in the software block chain based on the target sequence number information in the data to be uplink;
if the target serial number information does not exist in the software block chain, determining the target serial number information as an abnormal serial number, determining that the serial number uplink request is illegal, and sending abnormal prompt information to terminal equipment corresponding to the target agent object.
Wherein the generating a sequence number block based on the data to be uplink and adding the sequence number block to the software block chain comprises:
based on a key corresponding to the target proxy object, performing signature verification on the data to be uplink;
when the uplink data to be tested passes the verification, packaging the target object information, the source object information, the software information and the target serial number information into the serial number block;
and verifying the serial number blocks according to a consensus mechanism, and adding the verified serial number blocks to the software block chain.
Wherein, the checking the uplink data based on the key corresponding to the target proxy object includes:
decrypting the digital signature carried by the data to be linked based on the secret key to obtain a first hash value corresponding to the digital signature;
performing hash operation on the data to be uplink based on hash operation to generate a second hash value corresponding to the data to be uplink;
and if the first hash value is detected to be the same as the second hash value, determining that the uplink data to be checked passes the check.
Wherein the method further comprises:
acquiring a chaining request carrying to-be-uplink software data associated with a source object; the software data to be uplink comprises the source object information, the software information and a serial number set;
packing the source object information, the software information and the serial number set into a history block, and adding the history block to the software block chain; the set of sequence numbers includes the target sequence number information.
Wherein the method further comprises:
when a serial number query request aiming at the target serial number information and sent by a request terminal is received, acquiring an associated block corresponding to the target serial number information from the software block chain based on the serial number query request; the associated block comprises the sequence number block;
and generating a flow track corresponding to the target serial number information based on the associated block, determining production object information corresponding to the target serial number information based on the flow track, and sending the production object information serving as a query result back to the request terminal.
An embodiment of the present application provides a block chain-based software serial number management apparatus, including:
an obtaining module, configured to obtain a serial number uplink request corresponding to a target agent object, and obtain to-be-uplink data corresponding to the target agent object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object;
a first uplink module, configured to generate a sequence number block based on the to-be-uplink data and add the sequence number block to a software block chain when it is detected that the target sequence number information is different from associated sequence number information corresponding to an associated proxy object and the target sequence number information exists in the software block chain; the target proxy object and the associated proxy object are both associated with the source object information.
Wherein the apparatus further comprises:
an associated object obtaining module, configured to obtain an associated proxy object associated with the source object information based on the source object information in the data to be uplink;
a serial number adding module, configured to obtain associated serial number information from uplink data corresponding to the associated proxy object, and add the associated serial number information to a serial number set;
and the comparison module is used for confirming that the uplink request of the serial number is illegal when the associated serial number information in the serial number set is the same as the target serial number information, and sending abnormal prompt information to the terminal equipment corresponding to the target agent object.
Wherein the apparatus further comprises:
a traversing module, configured to traverse all blocks included in the software block chain based on the target sequence number information in the data to be uplink;
and the detection module is used for determining the target serial number information as an abnormal serial number if the target serial number information does not exist in the software block chain, determining that the uplink request of the serial number is illegal, and sending abnormal prompt information to the terminal equipment corresponding to the target agent object.
Wherein the first uplink module comprises:
the signature verification unit is used for verifying the signature of the data to be uplink based on the key corresponding to the target proxy object;
a block packing unit, configured to pack the target object information, the source object information, the software information, and the target sequence number information into the sequence number block when the to-be-uplink data check label passes;
and the verification unit is used for verifying the serial number blocks according to a consensus mechanism and adding the verified serial number blocks to the software block chain.
Wherein, the check-signing unit comprises:
the decryption subunit is configured to decrypt, based on the key, the digital signature carried by the to-be-uplinked data, and obtain a first hash value corresponding to the digital signature;
the Hash operation subunit is configured to perform a Hash operation on the to-be-uplink data based on the Hash operation, and generate a second Hash value corresponding to the to-be-uplink data;
and the judging subunit is configured to determine that the to-be-linked chain data is checked if it is detected that the first hash value is the same as the second hash value.
Wherein the apparatus further comprises:
a cochain request acquisition module, configured to acquire a cochain request carrying to-be-cochain software data associated with a source object; the software data to be uplink comprises the source object information, the software information and a serial number set;
a second uplink module, configured to pack the source object information, the software information, and the set of sequence numbers into a history block, and add the history block to the software block chain; the set of sequence numbers includes the target sequence number information.
Wherein the apparatus further comprises:
the query request acquisition module is used for acquiring the associated blocks corresponding to the target serial number information from the software block chain based on the serial number query request when receiving the serial number query request aiming at the target serial number information sent by a request terminal; the associated block comprises the sequence number block;
and the query module is used for generating a flow track corresponding to the target serial number information based on the association block, determining production object information corresponding to the target serial number information based on the flow track, and sending the production object information serving as a query result back to the request terminal.
An aspect of the embodiments of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the steps of the method in an aspect of the embodiments of the present application.
An aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a processor, perform the steps of the method as described in an aspect of embodiments of the present application.
According to the method and the device, the data to be uplink corresponding to the target agent object can be obtained, the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object, when the target serial number information and the associated serial number information corresponding to the associated agent object are detected to be different and the target serial number information exists in a software block chain, a serial number block is generated according to the data to be uplink, the serial number block is added into the software block chain, and the target agent object and the associated agent object are both associated with the source object information. Due to the decentralization and the non-tamper property of the block chain, the software serial number information is open and transparent to the management node with the inquiry authority, and the accuracy, the credibility and the traceability of the software serial number information record are improved. All software serial numbers produced by manufacturers and the flowing process of the software serial numbers can be recorded in a software block chain, so that the effectiveness of software serial number management can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an uplink scenario of a software serial number according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a block chain-based software serial number management method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a signature for uplink data to be transmitted according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another software serial number management method based on a blockchain according to an embodiment of the present application;
fig. 5 is a schematic view of a scenario of querying a serial number according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a block chain-based software serial number management apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The related technical terms of the embodiments of the present application explain: the software serial number refers to an identification code (similar to a human identification number) composed of a string of numbers, letters or other symbols generated by performing encryption calculation according to computer hardware information installed by user software. In general, when software is initially installed, a corresponding software serial number needs to be input, so that the software can be subjected to copyright verification. Meanwhile, various functions of the legal software can be realized only after the software passes legal verification, and a user can normally install and use the software, acquire upgrade services and the like. In other words, a software serial number can be understood as a technical protection measure for preventing piracy, and a copyright owner can control the service life of software through the serial number.
The Blockchain (Blockchain) is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission (P2P transmission), a consensus mechanism, an encryption algorithm and the like, and is essentially a decentralized database; the blockchain can be composed of a plurality of serial transaction records (also called blocks) which are connected in series by cryptography and protect the contents, and the distributed accounts connected in series by the blockchain can effectively record the transaction by multiple parties and can permanently check the transaction (can not be tampered). The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in the block chain network; in other words, the consensus mechanism is a mathematical algorithm commonly recognized by network nodes of the blockchain.
Please refer to fig. 1, which is a diagram illustrating an uplink scenario of a software serial number according to an embodiment of the present application. As shown in fig. 1, the server 10c may be represented as any blockchain node in the blockchain network, the terminal device 10a, the terminal device 10d, and the terminal device 10f may be represented as user terminals corresponding to an agent, and the terminal device 10a, the terminal device 10d, and the terminal device 10f may all send serial number information purchased by the agent to the blockchain node in the blockchain network, such as the server 10 c. When the agent a purchases a serial number 1 of the software a from the manufacturer a, the terminal device 10a corresponding to the agent a may package the purchased serial number 1 (which may be referred to as target serial number information), the software a (which may be referred to as software information) to which the serial number 1 belongs, the manufacturer a (which may be referred to as source object information) of the serial number 1, and the agent a (which may be referred to as target object information) into to-be-uplink data 10b, and send a data uplink request to the server 10c, where the data uplink request may carry the to-be-uplink data 10 b.
After receiving the to-be-uplink data 10B uploaded by the terminal device 10a, the server 10C may determine all associated agents associated with the agent a based on the source object information in the to-be-uplink data 10B, that is, determine the other agents, such as the agent B and the agent C, having the transaction records with the manufacturer a; further, the server 10C may obtain data uploaded to the server 10C by all relevant agents, such as data 10e uploaded by the terminal device 10d corresponding to the agent B, data 10g uploaded by the terminal device 10g corresponding to the agent C, and the like; and acquiring corresponding serial number information from the data uploaded by all the associated agents, namely acquiring the serial number information from the data 10e as the serial number 2, acquiring the serial number information from the data 10g as the serial number n and the like. Comparing the serial number 1 in the data to be uplink 10b with the serial number information uploaded by all associated agents, if the serial number 1 exists in the serial number information uploaded by all associated agents, indicating that the serial number 1 uploaded by the agent A is already given to other agents by the manufacturer A, namely the agent A does not have the authority of owning the serial number 1, directly sending serial number abnormal prompt information to the terminal equipment 10a, and stopping executing subsequent steps; if the serial number information uploaded by all the associated agents is different from the serial number 1, the serial number 1 is only allocated to the agent A, and further the subsequent steps can be continuously executed. Meanwhile, after receiving the data to be uplink 10b uploaded by the terminal device 10a, the server 10c may also read all data stored in the software block chain 10h, and detect whether the serial number 1 exists in the software block chain 10 h. If the serial number 1 exists in the software block chain 10h and the serial number information uploaded by all the associated agents is different from the serial number 1, the data 10b to be uplink may be packed into a serial number block 10i, and the serial number block 10i is added to the software block chain 10h after the serial number 10i is identified. All serial number information produced by a manufacturer and the flow process of the serial number information can be recorded in the software block chain 10 h.
It should be noted that a plurality of serial numbers can be produced by the same manufacturer, and the manufacturer can upload all the serial numbers carrying information of the manufacturer to the blockchain network, so that the blockchain network records the produced serial numbers. Subsequently, the manufacturer may sell the serial number of production to a plurality of agents, and after receiving the serial number sold by the manufacturer, the agents may also link the serial number carrying the agent information and the manufacturer information. It should be understood that the same serial number of the same software cannot be sold to multiple agents repeatedly, so that the serial number information to be linked needs to be detected before the serial number information is linked, and the serial number information can be linked only when the serial number information is not purchased by the other agents and is actually produced by the manufacturer.
The terminal device 10a, the terminal device 10d, and the terminal device 10f may each include a mobile phone, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device (e.g., a smart watch, a smart band, etc.), and the like.
Please refer to fig. 2, which is a flowchart illustrating a block chain-based software serial number management method according to an embodiment of the present application. As shown in fig. 2, the method may include:
step S101, obtaining a serial number uplink request corresponding to a target agent object, and obtaining data to be uplink corresponding to the target agent object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object;
specifically, after the target proxy object obtains the target serial number, the terminal device corresponding to the target proxy object (corresponding to the terminal device 10a in the embodiment corresponding to fig. 1) may upload the target object information corresponding to the target proxy object and the source object information and the software information corresponding to the software serial number together to the blockchain network, and send a serial number uplink request associated with the target proxy object to the blockchain network. After receiving the serial number uplink request, the node server (corresponding to the server 10c in the embodiment shown in fig. 1) uses the target object information corresponding to the target proxy object and the source object information, the software information, and the target serial number corresponding to the software serial number as to-be-uplink data based on the serial number uplink request.
The target agent object can refer to a user, an enterprise and an agent purchasing a software serial number, and target object information corresponding to the target agent object can be represented as information such as the name and the number of the target agent object; the source object information can refer to the name, number and other information of a manufacturer and/or an agent selling the serial number of the software; the software information may refer to related information of software to which the serial number purchased by the target agent object belongs, such as information of software name, software version number, and the like; the target serial number information may refer to information such as the serial number and serial number label purchased by the target proxy object from the source object.
For example, the agent a purchases a serial number 1 and a serial number 2 of the software a from the manufacturer a, and then the agent a may upload the name of the agent a, the name of the manufacturer a, the name and the version number of the software a, the serial number 1, and the serial number 2 to the blockchain network through the belonging terminal, and after receiving a serial number uplink request sent by the terminal device to which the agent a belongs, the node server may use the name of the agent a, the name of the manufacturer a, the name and the version number of the software a, the serial number 1, and the serial number 2 as data to be uplink; at this time, the agent a is a target agent object, the name of the agent a is target object information, the name of the manufacturer a is source object information, the name and the version number of the software a are software information, and the serial number 1 and the serial number 2 are target serial number information. If the agent A purchases a serial number 1 and a serial number 2 from the manufacturer A, and sells the serial number 1 to the enterprise A, the enterprise A can upload the name of the enterprise A, the name of the agent A, the name of the manufacturer A, the name and the version number of the software A and the serial number 1 to a block chain network, and after receiving a serial number chaining request sent by terminal equipment to which the enterprise A belongs, the node server can take the name of the enterprise A, the name of the agent A, the name of the manufacturer A, the name and the version number of the software A and the serial number 1 as data to be chained; at this time, the enterprise a is a target agent object, the name of the enterprise a is target object information, the name of the agent a and the name of the manufacturer a are source object information, the name and the version number of the software a are software information, and the serial number 1 is target serial number information.
Optionally, in order to prevent the to-be-uplink data from being tampered in the uplink process (for example, the to-be-uplink data associated with the target proxy object is maliciously intercepted in the uplink process, and is changed into data corresponding to other proxy objects, etc.), before the terminal device corresponding to the target proxy object uploads the to-be-uplink data to the block chain network, a digital signature corresponding to the to-be-uplink data may be generated, so that the node server may perform signature verification on the actually received data, and further determine whether the received data is to-be-uplink data sent by the terminal device corresponding to the target proxy object. Taking the above example as an example, a process of generating a digital signature by a terminal device corresponding to a target proxy object is specifically described: the agent A purchases a serial number 1 and a serial number 2 of the software A from a manufacturer A, a terminal device corresponding to the agent A can take the name of the agent A, the name of the manufacturer A, the name and the version number of the software A, the serial number 1 and the serial number 2 as data to be uplink, Hash operation is carried out on the data to be uplink by using a Hash algorithm (also called as a Hash algorithm, or a Hash function, or a Hash algorithm), and the data to be uplink is converted into a Hash value with a fixed length; the terminal device corresponding to the agent a may generate a key pair, where the key pair may include a public key and a private key, and the terminal device may notify all the blockchain nodes in the blockchain network of the public key, and the private key is managed by itself. The terminal device can encrypt the hash value converted from the data to be uplink by using a private key to obtain a digital signature corresponding to the data to be uplink (the digital signature can be decrypted by using a public key of the terminal device), and then the data to be uplink carrying the digital signature is uploaded to the blockchain network. The hash algorithm may compress data or messages into digests, not only fix the format of the data, but also reduce the amount of the data, and the hash algorithm may include, but is not limited to, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512. Taking the SHA-256 algorithm as an example, the SHA-256 algorithm can generate a 256-bit hash value for any size of data, and can generate different hash values for different data.
Optionally, in order to ensure confidentiality of the data to be uplink, the terminal device corresponding to the target proxy object may further encrypt the data to be uplink by using a private key. In other words, the data to be uplink may be a cipher text carrying a digital signature.
Step S102, when detecting that the target serial number information is different from the associated serial number information corresponding to the associated proxy object and the target serial number information exists in a software block chain, generating a serial number block based on the data to be uplink and adding the serial number block to the software block chain; the target proxy object and the associated proxy object are both associated with the source object information.
Specifically, after receiving the data to be uplink, the node server also needs to verify the data to be uplink, and only after the data to be uplink passes the verification, the data to be uplink can be packed into the sequence number block. The verification process for the data to be uplink may include the following aspects:
on one hand, the node server may obtain an associated proxy object associated with the source object information according to the source object information in the data to be uplink, obtain associated sequence number information from uplink data corresponding to the associated proxy object, and add the obtained associated sequence number information to the sequence number set. When the associated serial number information in the serial number set is the same as the target serial number information in the to-be-uplink data, it may be determined that the serial number uplink request is illegal, and then the to-be-uplink data is determined as invalid data to be deleted, and an abnormal prompt message is sent to the terminal device corresponding to the target agent object, where the abnormal prompt message may be: the target serial number information is already used by the remaining proxy objects, and the target proxy objects do not have the right to use the target serial number information. When the associated serial number information is not the same as the target serial number information in the serial number set, it may be determined that the target serial number information is not used by the remaining proxy objects, and then a subsequent detection process may be performed. For example, a manufacturer may produce a plurality of serial numbers and sell the produced serial numbers to a plurality of agents, and after purchasing the serial numbers, the agents may upload information related to the purchased serial numbers to the blockchain network to request uplink. When the target agent purchases a certain serial number (i.e. target serial number information) from the manufacturer and requests to uplink, the node server may obtain the other agents who purchase serial numbers from the manufacturer (i.e. associated agent objects), obtain their respective purchased serial numbers from the data uploaded by the other agents, and detect whether the serial number purchased by the target agent is the same as the serial number purchased by the other agents, that is, detect whether the manufacturer repeatedly sells the same serial number to different agents.
On the other hand, the node server may traverse all blocks included in the software block chain according to the target sequence number information in the to-be-uplink data, and when the target sequence number information does not exist in the software block chain, may determine the target sequence number information as an abnormal sequence number, and may further determine that the sequence number uplink request is illegal, determine the to-be-uplink data as invalid data to delete, and send an abnormal prompt message to the terminal device corresponding to the target proxy object, where the abnormal prompt message may be: the target serial number information is a non-genuine serial number and a buying-and-buying-genuine serial number. When the target serial number information exists in the software block chain, the target serial number information is represented as a legal serial number. It should be understood that all manufacturers need to chain all produced serial numbers after producing the genuine serial numbers, so if the target serial number information purchased by the target agent object is stored in the software block chain, it indicates that the target serial number information is the genuine serial number. Only when the target sequence number information in the data to be uplink simultaneously satisfies: firstly, the target serial number information is different from the associated serial number information corresponding to the associated proxy object; the target serial number information is a legal serial number; the data to be uplink is determined to meet the detection condition, and the data to be uplink can be packed into a serial number block.
In another aspect, after receiving the data to be uplink, if the data to be uplink carries a digital signature, the node server needs to perform signature verification on the data to be uplink, and the specific signature verification process may include: the node server can decrypt the digital signature carried by the data to be uplink according to the public key of the terminal equipment corresponding to the target agent object, obtain a first hash value corresponding to the digital signature, further perform hash operation on the data to be uplink based on a hash algorithm, generate a second hash value corresponding to the data to be uplink, if the first hash value is detected to be the same as the second hash value, the data to be uplink is verified and signed to pass, the uplink request is determined to be legal, namely, a block of the data to be uplink can be generated, and the block which achieves common identification is added to a software block chain. If the digital signature carried in the data to be uplink received by the node server is not the digital signature of the terminal device corresponding to the target proxy object, that is, the digital signature in the data to be uplink is generated by using a false private key, the node server directly displays that the decryption fails when decrypting by using a real public key.
Please refer to fig. 3, which is a schematic diagram of an inspection tag of to-be-linked data according to an embodiment of the present invention. As shown in fig. 3, after receiving the to-be-uplink data 20a uploaded by the terminal device corresponding to the target agent object, the server 10c may obtain a digital signature 20b carried by the to-be-uplink data 20a, and decrypt the digital signature 20b by using the public key 20c corresponding to the terminal device corresponding to the target agent object, so as to obtain a hash value 1, and then the server 10c may perform a hash operation on the to-be-uplink data 20a by using a hash algorithm 20d (the hash algorithm 20d is a hash algorithm used by the terminal device to generate the digital signature 20 b), so as to obtain a hash value 2 corresponding to the to-be-uplink data 20a, and if the hash value 1 is equal to the hash value 2, it indicates that the to-be-uplink data 20a has not been tampered in the uploading process, and the signature passes the verification; if the hash value 1 is not equal to the hash value 2, it indicates that there may be tampering in the uploading process of the actual transaction data in the to-be-uplink data 20a, and the verification tag does not pass, and deletes the to-be-uplink data 20 a. It should be understood that, before uploading the to-be-uplink data 20a, the client notifies the server 10c of the public key 20c and the hash algorithm 20d used for generating the digital signature 20b, and if the to-be-uplink data 20a is tampered during the uploading process and the digital signature 20b received by the server 10c is not the digital signature originally generated by the terminal device, the server 10c cannot solve the problem when decrypting the digital signature 20b by using the public key 20c corresponding to the terminal device.
It should be noted that, the above-mentioned detection process of whether the target serial number information is repeated (i.e. whether the target serial number information purchased by the target agent is the same as the associated serial number information purchased by the associated agent), the detection process of whether the target serial number information is a legal serial number (i.e. whether the target serial number information exists in the software block chain), and the signature verification process are all verifications performed by the node server after receiving the data to be linked, and the three verification processes are not in chronological order. If the node server receives the data to be linked, the node server can check the label of the data to be linked, can detect whether the target serial number information is a repeated serial number after the label is passed, and then detects whether the target serial number information is a legal serial number when the target serial number information is not the repeated serial number; whether the target sequence number information in the data to be uplink is a legal serial number or not can be detected firstly, whether the target sequence number information is a repeated serial number or not can be detected when the target sequence number information is the legal serial number, and on the premise of not repeating, the data to be uplink is subjected to signature verification, and a specific detection and verification sequence is not limited. When the verification process meets the condition, the node server can pack the data to be linked into the sequence number block. Of course, if any of the above mentioned verification processes does not meet the requirements, the data to be uplink may be determined as invalid data to be deleted, and subsequent verification is not performed any more, for example, after the node server receives the data to be uplink, it first performs a signature verification on the data to be uplink, and if the signature verification fails, the data to be uplink is directly determined as invalid data to be deleted, and it is not necessary to perform a detection process of whether the target serial number information is repeated and a detection process of whether the target serial number information is a legal serial number.
When the data to be uplink is verified to pass, the target serial number information in the data to be uplink is detected to be different from the associated serial number information corresponding to the associated proxy object, and the target serial number information exists in the software block chain, the node server can pack the data to be uplink into the serial number block, and verify the generated serial number block according to a common identification mechanism, and the verified serial number block can be added to the software block chain. The specific generation process of the sequence number block may include: acquiring a generation timestamp corresponding to each block in the software block chain, wherein the block with the largest generation timestamp is the latest block recorded in the software block chain; acquiring a hash value corresponding to the latest block and the current time, generating a hash value corresponding to the data to be uplink, and generating block header data in the serial number block based on the hash value corresponding to the latest block, the current time and the hash value corresponding to the data to be uplink; and generating block data of the serial number block based on the data to be uplink, and generating the serial number block according to the block head data and the block data. The node server can broadcast the generated serial number block to other block chain nodes in the block chain network, analyze the data to be uplink in the serial number block through a common identification mechanism, determine whether the target object information, the source object information, the software information and the target serial number information in the data to be uplink are valid information, determine whether the manufacturer corresponding to the target serial number information is determined according to the source object information, determine whether the software information and the target serial number information in the data to be uplink are reasonable and the like according to the manufacturer, if the data to be uplink in the serial number block is determined to be valid data, indicate that the serial number block passes the verification, and return the verification result to the node server, and indicate that the serial number block passes the verification when most of the block chain nodes (such as more than 50% of the block chain nodes) in the block chain network return the verification result to the node server, the verified sequence number block may be added to the chain of software blocks.
According to the method and the device, the data to be uplink corresponding to the target agent object can be obtained, the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object, when the target serial number information and the associated serial number information corresponding to the associated agent object are detected to be different and the target serial number information exists in a software block chain, a serial number block is generated according to the data to be uplink, the serial number block is added into the software block chain, and the target agent object and the associated agent object are both associated with the source object information. Due to the decentralization and the non-tamper property of the block chain, the software serial number information is open and transparent to the management node with the inquiry authority, and the accuracy, the credibility and the traceability of the software serial number information record are improved. All software serial numbers produced by manufacturers and the flowing process of the software serial numbers can be recorded in a software block chain, so that the effectiveness of software serial number management can be improved.
Please refer to fig. 4, which is a flowchart illustrating another software serial number management method based on a block chain according to an embodiment of the present application. As shown in fig. 4, the method may include:
step S201, obtaining a chain loading request carrying to-be-chain-loaded software data associated with a source object; the software data to be uplink comprises the source object information, the software information and a serial number set;
specifically, before acquiring the uplink request of the serial number corresponding to the target proxy object, the node server may further receive an uplink request carrying to-be-uplink software data associated with the source object. In other words, after the source object produces or purchases the serial number of the software, the source object may upload the produced or purchased serial number (i.e., the serial number set, if the source object produces or purchases 5 serial numbers, there are 5 serial numbers in the serial number set), the software information corresponding to the serial number, and the source object information as the to-be-uplink software data to the blockchain network, and the node server may obtain the to-be-uplink software data based on the uplink request.
In order to prevent the to-be-uplink software data from being tampered in the uploading process, before the terminal device corresponding to the source object uploads the to-be-uplink software data to the blockchain network, a digital signature corresponding to the to-be-uplink software data can be generated, so that the node server can perform signature verification on actually received data, and further determine whether the received data is the to-be-uplink software data sent by the source object. The process of generating the digital signature may refer to the description of step S101 in the embodiment corresponding to fig. 2, and is not described herein again.
Step S202, packaging the source object information, the software information and the serial number set into a history block, and adding the history block to the software block chain; the set of sequence numbers includes the target sequence number information;
specifically, after receiving the to-be-uplink software data uploaded by the terminal device corresponding to the source object, the node server may also perform signature verification on the received to-be-uplink software data, and the signature verification process may refer to the embodiment corresponding to fig. 3, which is not described herein again. The node server may package the to-be-linked-chain software data that passes the check and sign into a history block, that is, package the source object information, the software information, and all serial number information in the serial number set into the history block, and a generation process of the history block is similar to a generation process of the serial number block in the embodiment corresponding to fig. 2, and is not described here again. The serial number set refers to all serial numbers produced by the same manufacturer, and comprises target serial number information and associated serial number information.
Step S203, obtaining a serial number uplink request corresponding to a target agent object, and obtaining data to be uplink corresponding to the target agent object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object;
step S204, when detecting that the target serial number information is different from the associated serial number information corresponding to the associated proxy object and the target serial number information exists in a software block chain, generating a serial number block based on the data to be uplink and adding the serial number block to the software block chain; the target proxy object and the associated proxy object are both associated with the source object information;
the specific implementation process of steps S201 to S202 may refer to steps S101 to S102 in the embodiment corresponding to fig. 2, which is not described herein again.
Step S205, when a serial number query request aiming at the target serial number information sent by a request terminal is received, acquiring an associated block corresponding to the target serial number information from the software block chain based on the serial number query request; the associated block comprises the sequence number block;
specifically, after the user purchases the target serial number information, the target serial number information may be input on the serial number query platform, so that the request terminal to which the serial number query platform belongs sends a serial number query request for the target serial number information to the blockchain network. After receiving the serial number query request, the node server may determine, according to the serial number query request, all blocks in the software block chain in which the target serial number information is stored as associated blocks, where the associated blocks may include the serial number blocks and the history blocks.
Step S206, generating a flow track corresponding to the target serial number information based on the associated block, determining production object information corresponding to the target serial number information based on the flow track, and sending the production object information as a query result back to the request terminal.
Specifically, the node server may generate a flow trajectory corresponding to the target serial number information based on the obtained associated block, and if the manufacturer produces the target serial number information, upload the manufacturer information, the software information, and the target serial number information to the block chain network, and package the block chain links into blocks to write in the software block chain; after the manufacturer sells the target serial number information to the agent A, the agent A uploads the information of the agent A, the manufacturer information, the target serial number information and the software information to the block chain network again, and the block chain links are packaged into blocks to be written into the software block chain; after the agent a sells the target serial number information to the user a, the terminal device corresponding to the user a may upload the information of the user a, the information of the agent a, the information of the manufacturer, the target serial number information, and the software information to the block chain network, and package the block chain links into blocks to write in the software block chain. Therefore, the flow trace of the target sequence number information can be obtained as follows: manufacturer-agent a-user a. And then, the production object information corresponding to the target serial number information can be determined according to the flow track, and the production object information is returned to the request terminal as a query result, so that a user can obtain the source of the target serial number information.
It should be understood that, after the user or the enterprise purchases the software serial number, the user or the enterprise may input the purchased serial number information on the serial number query platform to query whether the purchased serial number is a legal serial number, and if the purchased serial number is a legal serial number, the source of the purchased serial number (i.e., production object information) may be further queried. Please refer to fig. 5, which is a scene diagram illustrating a serial number query according to an embodiment of the present disclosure. As shown in fig. 5, when the user purchases serial number 123xxxabc, the user can input serial number 123xxxabc for query on the serial number query platform provided by the requesting terminal 30 a. After the user inputs the completion serial number and selects the query button, the request terminal 30a may send a serial number query request to the server 10c (which may be any blockchain node in the blockchain network, here, taking the server 10c as an example), and obtain all blocks recorded with the sequence number 123xxxabc from the software blockchain 30g (which is equivalent to the software blockchain 10h in the embodiment corresponding to fig. 1) based on the serial number query request, and if the serial number 123xxxabc does not exist in the software blockchain 30g, may determine the serial number 123xxxabc as a pirate serial number; if the software block chain 30g has the sequence number 123xxxabc, and as shown in fig. 5, the blocks 30b, 30c, and 30d each have the sequence number 123xxxabc stored therein, the blocks 30b, 30c, and 30d may be referred to as associated blocks corresponding to the sequence number 123 xxxabc. Reading all the data stored in the block 30b, the block 30c, and the block 30d, a flow trace 30e corresponding to the sequence number 123xxxabc can be generated, where the flow trace 30e specifically is: manufacturer a-agent a-enterprise a, based on the flow trajectory 30e, may obtain a query result 30f, where the query result 30f is: the serial number 123xxxabc is a genuine serial number, and the manufacturer of the serial number 123xxxabc is manufacturer a. The server 10c may return the query result 30f to the requesting terminal 30a for viewing of the query result 30f by the user.
According to the method and the device, the data to be uplink corresponding to the target agent object can be obtained, the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object, when the target serial number information and the associated serial number information corresponding to the associated agent object are detected to be different and the target serial number information exists in a software block chain, a serial number block is generated according to the data to be uplink, the serial number block is added into the software block chain, and the target agent object and the associated agent object are both associated with the source object information. Due to the decentralization and the non-tamper property of the block chain, the software serial number information is open and transparent to the management node with the inquiry authority, and the accuracy, the credibility and the traceability of the software serial number information record are improved. All software serial numbers produced by manufacturers and the flowing process of the software serial numbers can be recorded in a software block chain, so that the effectiveness of software serial number management can be improved.
Fig. 6 is a schematic structural diagram of a software serial number management device based on a block chain according to an embodiment of the present application. As shown in fig. 6, the block chain-based software serial number management apparatus 1 may include: an acquisition module 11, a first uplink module 12;
an obtaining module 11, configured to obtain a serial number uplink request corresponding to a target proxy object, and obtain to-be-uplink data corresponding to the target proxy object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object;
a first uplink module 12, configured to, when it is detected that the target sequence number information is different from associated sequence number information corresponding to an associated proxy object and the target sequence number information exists in a software block chain, generate a sequence number block based on the data to be uplink and add the sequence number block to the software block chain; the target proxy object and the associated proxy object are both associated with the source object information.
The specific functional implementation manners of the obtaining module 11 and the first uplink module 12 may refer to steps S101 to S102 in the embodiment corresponding to fig. 2, which are not described herein again.
Referring to fig. 6, the device 1 for managing software serial number based on block chain may further include: a cochain request acquisition module 13, a second cochain module 14, an associated object acquisition module 15, a serial number adding module 16, a comparison module 17, a traversal module 18, a detection module 19, an inquiry request acquisition module 20, and an inquiry module 21;
a uplink request obtaining module 13, configured to obtain an uplink request carrying to-be-uplink software data associated with the source object; the software data to be uplink comprises the source object information, the software information and a serial number set;
a second uplink module 14, configured to pack the source object information, the software information, and the set of sequence numbers into a history block, and add the history block to the software block chain; the set of sequence numbers includes the target sequence number information;
an associated object obtaining module 15, configured to obtain an associated proxy object associated with the source object information based on the source object information in the data to be uplink;
a serial number adding module 16, configured to obtain associated serial number information from uplink data corresponding to the associated proxy object, and add the associated serial number information to a serial number set;
a comparison module 17, configured to determine that the serial number uplink request is illegal when the associated serial number information in the serial number set is the same as the target serial number information, and send an abnormal prompt message to a terminal device corresponding to the target agent object;
a traversing module 18, configured to traverse all blocks included in the software block chain based on the target sequence number information in the data to be uplink;
a detection module 19, configured to determine, if the target serial number information does not exist in the software blockchain, the target serial number information as an abnormal serial number, determine that the serial number uplink request is illegal, and send an abnormal prompt message to a terminal device corresponding to the target proxy object;
a query request obtaining module 20, configured to, when receiving a serial number query request for the target serial number information sent by a request terminal, obtain, based on the serial number query request, an associated block corresponding to the target serial number information from the software block chain; the associated block comprises the sequence number block;
the query module 21 is configured to generate a flow trace corresponding to the target serial number information based on the association block, determine production object information corresponding to the target serial number information based on the flow trace, and send the production object information as a query result back to the request terminal.
The specific functional implementation manners of the uplink request obtaining module 13 and the second uplink module 14 may refer to step S201-not-thick S202 in the embodiment corresponding to fig. 4, the associated object obtaining module 15, the serial number adding module 16, the comparing module 17, and the traversing module 18, and the specific functional implementation manner of the detecting module 19 may refer to step S102, the query request obtaining module 20, and the query module 21 may refer to step S205-step S206 in the embodiment corresponding to fig. 4, which is not described herein again.
Referring also to fig. 6, the first uplink module 12 may include: a signature verification unit 121, a block packing unit 122, a verification unit 123;
an approval unit 121, configured to perform an approval process on the data to be uplink based on the key corresponding to the target proxy object;
a block packing unit 122, configured to pack the target object information, the source object information, the software information, and the target sequence number information into the sequence number block when the to-be-uplink data check passes;
the verifying unit 123 is configured to verify the serial number blocks according to a consensus mechanism, and add the verified serial number blocks to the software block chain.
The specific functional implementation manners of the signature verification unit 121, the block packing unit 122, and the verification unit 123 may refer to step S102 in the embodiment corresponding to fig. 2, which is not described herein again.
Referring to fig. 6, the signature verification unit 121 may include: a decryption subunit 1211, a hash operation subunit 1212, a judgment subunit 1213;
a decryption subunit 1211, configured to decrypt, based on the key, the digital signature carried by the to-be-uplink data, and obtain a first hash value corresponding to the digital signature;
a hash operation sub-unit 1212, configured to perform a hash operation on the data to be uplink based on the hash operation, and generate a second hash value corresponding to the data to be uplink;
a determining subunit 1213, configured to determine that the to-be-linked chain data has a signature check pass if it is detected that the first hash value is the same as the second hash value.
The specific functional implementation manners of the decryption subunit 1211, the hash operation subunit 1212, and the judgment subunit 1213 may refer to step S102 in the embodiment corresponding to fig. 2, which is not described herein again.
According to the method and the device, the data to be uplink corresponding to the target agent object can be obtained, the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object, when the target serial number information and the associated serial number information corresponding to the associated agent object are detected to be different and the target serial number information exists in a software block chain, a serial number block is generated according to the data to be uplink, the serial number block is added into the software block chain, and the target agent object and the associated agent object are both associated with the source object information. Due to the decentralization and the non-tamper property of the block chain, the software serial number information is open and transparent to the management node with the inquiry authority, and the accuracy, the credibility and the traceability of the software serial number information record are improved. All software serial numbers produced by manufacturers and the flowing process of the software serial numbers can be recorded in a software block chain, so that the effectiveness of software serial number management can be improved.
Fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 7, the computer apparatus 1000 may include: the processor 1001, the network interface 1004, and the memory 1005, and the computer apparatus 1000 may further include: a user interface 1003, and at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1004 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 7, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the computer device 1000 shown in fig. 7, the network interface 1004 may provide a network communication function; the user interface 1003 is an interface for providing a user with input; and the processor 1001 may be used to invoke a device control application stored in the memory 1005 to implement:
acquiring a serial number uplink request corresponding to a target agent object, and acquiring to-be-uplink data corresponding to the target agent object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object;
when detecting that the target sequence number information is different from the associated sequence number information corresponding to the associated proxy object and the target sequence number information exists in a software block chain, generating a sequence number block based on the data to be uplink and adding the sequence number block to the software block chain; the target proxy object and the associated proxy object are both associated with the source object information.
It should be understood that the computer device 1000 described in this embodiment of the present application may perform the description of the method for managing software serial numbers based on a block chain in the embodiment corresponding to any one of fig. 2 and fig. 4, and may also perform the description of the device 1 for managing software serial numbers based on a block chain in the embodiment corresponding to fig. 6, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present application further provides a computer-readable storage medium, where a computer program executed by the aforementioned software serial number management apparatus 1 based on a block chain is stored in the computer-readable storage medium, and the computer program includes a program instruction, and when the processor executes the program instruction, the description of the software serial number management method based on the block chain in the embodiment corresponding to any one of fig. 2 and fig. 4 can be executed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A software serial number management method based on a block chain is characterized by comprising the following steps:
acquiring a serial number uplink request corresponding to a target agent object, and acquiring to-be-uplink data corresponding to the target agent object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object;
when detecting that the target sequence number information is different from the associated sequence number information corresponding to the associated proxy object and the target sequence number information exists in a software block chain, generating a sequence number block based on the data to be uplink and adding the sequence number block to the software block chain; the target proxy object and the associated proxy object are both associated with the source object information.
2. The method of claim 1, further comprising:
acquiring an associated proxy object associated with the source object information based on the source object information in the data to be uplink;
acquiring associated serial number information from uplink data corresponding to the associated proxy object, and adding the associated serial number information to a serial number set;
and when the associated serial number information in the serial number set is the same as the target serial number information, determining that the serial number uplink request is illegal, and sending abnormal prompt information to the terminal equipment corresponding to the target agent object.
3. The method of claim 1, further comprising:
traversing all blocks included in the software block chain based on the target sequence number information in the data to be uplink;
if the target serial number information does not exist in the software block chain, determining the target serial number information as an abnormal serial number, determining that the serial number uplink request is illegal, and sending abnormal prompt information to terminal equipment corresponding to the target agent object.
4. The method of claim 1, wherein generating a sequence number block based on the data to be uplink, and adding the sequence number block to the software block chain comprises:
based on a key corresponding to the target proxy object, performing signature verification on the data to be uplink;
when the uplink data to be tested passes the verification, packaging the target object information, the source object information, the software information and the target serial number information into the serial number block;
and verifying the serial number blocks according to a consensus mechanism, and adding the verified serial number blocks to the software block chain.
5. The method of claim 4, wherein the verifying the uplink data based on the key corresponding to the target proxy object comprises:
decrypting the digital signature carried by the data to be linked based on the secret key to obtain a first hash value corresponding to the digital signature;
performing hash operation on the data to be uplink based on hash operation to generate a second hash value corresponding to the data to be uplink;
and if the first hash value is detected to be the same as the second hash value, determining that the uplink data to be checked passes the check.
6. The method of claim 1, further comprising:
acquiring a chaining request carrying to-be-uplink software data associated with a source object; the software data to be uplink comprises the source object information, the software information and a serial number set;
packing the source object information, the software information and the serial number set into a history block, and adding the history block to the software block chain; the set of sequence numbers includes the target sequence number information.
7. The method of claim 1, further comprising:
when a serial number query request aiming at the target serial number information and sent by a request terminal is received, acquiring an associated block corresponding to the target serial number information from the software block chain based on the serial number query request; the associated block comprises the sequence number block;
and generating a flow track corresponding to the target serial number information based on the associated block, determining production object information corresponding to the target serial number information based on the flow track, and sending the production object information serving as a query result back to the request terminal.
8. A software serial number management apparatus based on a block chain, comprising:
an obtaining module, configured to obtain a serial number uplink request corresponding to a target agent object, and obtain to-be-uplink data corresponding to the target agent object based on the serial number uplink request; the data to be uplink comprises target object information, source object information, software information and target serial number information corresponding to the target agent object;
a chaining module, configured to generate a sequence number block based on the to-be-uplink data and add the sequence number block to a software block chain when it is detected that the target sequence number information is different from associated sequence number information corresponding to an associated proxy object and the target sequence number information exists in the software block chain; the target proxy object and the associated proxy object are both associated with the source object information.
9. A computer arrangement comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the steps of the method according to any one of claims 1 to 7.
CN201910918554.2A 2019-09-26 2019-09-26 Software serial number management method and device based on block chain Pending CN110598377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910918554.2A CN110598377A (en) 2019-09-26 2019-09-26 Software serial number management method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910918554.2A CN110598377A (en) 2019-09-26 2019-09-26 Software serial number management method and device based on block chain

Publications (1)

Publication Number Publication Date
CN110598377A true CN110598377A (en) 2019-12-20

Family

ID=68863814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910918554.2A Pending CN110598377A (en) 2019-09-26 2019-09-26 Software serial number management method and device based on block chain

Country Status (1)

Country Link
CN (1) CN110598377A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078745A (en) * 2019-12-20 2020-04-28 京东数字科技控股有限公司 Data uplink method and device based on block chain technology
CN111339198A (en) * 2020-02-27 2020-06-26 百度在线网络技术(北京)有限公司 Block chain-based water affair processing method, device, system, equipment and medium
CN111967875A (en) * 2020-08-19 2020-11-20 上海网班教育科技股份有限公司 Block chain-based file uplink evidence storing method and device
CN113094759A (en) * 2020-01-08 2021-07-09 福历科技(上海)有限公司 Data processing method and device based on kungfu chain

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078745A (en) * 2019-12-20 2020-04-28 京东数字科技控股有限公司 Data uplink method and device based on block chain technology
CN113094759A (en) * 2020-01-08 2021-07-09 福历科技(上海)有限公司 Data processing method and device based on kungfu chain
CN111339198A (en) * 2020-02-27 2020-06-26 百度在线网络技术(北京)有限公司 Block chain-based water affair processing method, device, system, equipment and medium
CN111339198B (en) * 2020-02-27 2023-09-19 百度在线网络技术(北京)有限公司 Block chain-based water treatment method, device, system, equipment and medium
CN111967875A (en) * 2020-08-19 2020-11-20 上海网班教育科技股份有限公司 Block chain-based file uplink evidence storing method and device

Similar Documents

Publication Publication Date Title
US11258792B2 (en) Method, device, system for authenticating an accessing terminal by server, server and computer readable storage medium
CN110598377A (en) Software serial number management method and device based on block chain
TWI557589B (en) Secure software product identifier for product validation and activation
CN109978688A (en) The access control method and its contract generator and server of distributed common recognition system
KR101948721B1 (en) Method and apparatus for examining forgery of file by using file hash value
CN110519309B (en) Data transmission method, device, terminal, server and storage medium
US8495383B2 (en) Method for the secure storing of program state data in an electronic device
CN109905360B (en) Data verification method and terminal equipment
CN109740309B (en) File protection method and device
CN110246039B (en) Transaction monitoring method and device based on alliance chain and electronic equipment
US7995766B2 (en) Group subordinate terminal, group managing terminal, server, key updating system, and key updating method therefor
CN113767382A (en) Method and system for universal sourcing solution for blockchain supply chain applications
CN108965228B (en) Dispute relief system with KYC data mark of multiple keys and method thereof
CN111339201B (en) Evaluation method and system based on block chain
CN112699353B (en) Financial information transmission method and financial information transmission system
EP4092984A1 (en) Data processing method and apparatus, device and medium
US20070239617A1 (en) Method and apparatus for temporarily accessing content using temporary license
JP4295684B2 (en) Program production device
CN110992034A (en) Supply chain transaction privacy protection system and method based on block chain and related equipment
CN110232570B (en) Information supervision method and device
CN105022651A (en) Anti-piratic method in equipment production process and firmware burning device
CN115941279A (en) Encryption and decryption method, system and equipment for user identification in data
CN112702354B (en) Data resource sharing traceability method and device based on blockchain technology
CN114329567A (en) Bid file generation method, verification method, electronic device and medium
CN112825093B (en) Security baseline checking method, host, server, electronic device 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