CN110380870A - The allograph method and device thereof of the block chain private key of electric business platform user - Google Patents
The allograph method and device thereof of the block chain private key of electric business platform user Download PDFInfo
- Publication number
- CN110380870A CN110380870A CN201910805685.XA CN201910805685A CN110380870A CN 110380870 A CN110380870 A CN 110380870A CN 201910805685 A CN201910805685 A CN 201910805685A CN 110380870 A CN110380870 A CN 110380870A
- Authority
- CN
- China
- Prior art keywords
- user
- electric business
- request
- private key
- public key
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses the allograph method and device thereof of the block chain private key of electric business platform user, which comprises electric business server receives the user's operation data cochain request that user equipment is sent, and the user's operation data cochain request includes User ID;When electric business server judges that the user's operation meets preset condition, the corresponding client public key of User ID is inquired according to User ID;Client public key, the request of user's operation data cochain and electric business privacy key signing messages are sent to signature machine by electric business server;Electric business server receives the user's operation data cochain request of private key for user signature;The user's operation data cochain that electric business server sends private key for user signature requests to give any one block chain node, so that user's operation is stored in block chain account book by any one block chain node.Server ensure that the safety of private key in the application, and can help user equipment allograph, be able to ascend the experience of user.
Description
Technical field
The present invention relates to internet big data technical field, the allograph method of the block chain private key of electric business platform user and its
Device.
Background technique
Currently, block chain technology is the distributed storage account book with technologies such as Encryption Algorithm, common recognition mechanism.With block
The utilization of chain technology, more and more internet datas can be stored on block chain.
At this point, user possesses a pair of of public key and private key on block chain, public key and private key are corresponding.User is in block
When being operated on chain, require to be signed with private key;On block chain, private key represents user, therefore user needs to keep
Private key.
However, private key is a string of characters, user is very difficult to remember;And it is directed to for existing Internet user, user
Most familiar of mode is the correspondence usage mode of username and password.Therefore, a kind of user how is found not need to save private key,
Also it can guarantee the mode of private key safety to help user's allograph, become problem to be solved.
Above description understands just to facilitate, and should not be limited to the prior art of the application.
Summary of the invention
Based on the above issues, the allograph method and device thereof of the block chain private key of the embodiment of the present application electric business platform user,
This method can allow the administration authority of private key to server, and user equipment does not need storage private key;And server ensure that private key
Safety, and user equipment allograph can be helped;Thus, it is possible to allow user in the case where unaware is to private key, block is experienced
The service of chain, and then promote the experience of user.
The application first aspect discloses the allograph method of the block chain private key of electric business platform user, which comprises
Electric business server receives the user's operation data cochain request that user equipment is sent, the user's operation data cochain
Request includes User ID;Wherein, the user's operation data cochain request includes the request of commodity publication data cochain, commodity purchasing
The request of data cochain, the request of goods browse data cochain, the request of articles storage data cochain, the comment data cochain request of commodity
And commodity thumb up data cochain request one of or it is a variety of;
When the electric business server judges that the user's operation meets preset condition, the use is inquired according to the User ID
The corresponding client public key of family ID;Wherein, the electric business server preserves at least one User ID and at least one client public key,
And at least one described User ID and at least one described client public key correspond;
The electric business server by the client public key, the user's operation data cochain request and the electric business service
Device private key signature information, is sent to signature machine, so that after the signature machine is verified the electric business privacy key, inquiry
The corresponding private key for user of the client public key, and asked for an autograph with the private key for user to the user's operation data cochain;Its
In, the electric business privacy key signing messages includes that the electric business privacy key grasps the client public key and the user
Make the private key signature information of data cochain request, the signature machine preserves at least one private key for user and at least one user is public
Key, at least one described private key for user and at least one described client public key correspond;
The electric business server receives the user's operation data cochain request of the private key for user signature;
The user's operation data cochain that the electric business server sends the private key for user signature is requested to any one
A block chain node, so that any one described block chain node verifies the private key for user, and completes after knowing together, it will
In the user's operation deposit block chain account book.
In one possible implementation, the user's operation data in the user's operation data cochain request include closing
Attribute and dereferenced attribute, the numerical value of the relating attribute are superimposed automatically;Wherein, the user's operation data correlation attribute packet
It includes and thumbs up quantity, number of reviews, browses the one or more of quantity.
In one possible implementation, the electric business server pays out the upper link resources expense of the user equipment, institute
Stating upper link resources expense includes block chain node cpu resource usage charges, block chain node RAM resource usage charges, block chain node net
Network bandwidth resources usage charges and block chain node packing cochain take one or more.
In one possible implementation, which comprises the electric business server judges that the user's operation is
It is no to meet preset condition, the preset condition include the user whether be the electric business server registration user, the use
Whether family operation is valid operation that the electric business server provides;Wherein,
The valid operation of the electric business server includes commodity publication operation, goods browse operation, articles storage operation, quotient
Product purchase operation, commodity comment operation and commodity thumb up operation one of or a variety of operations.
In one possible implementation, the method also includes: the electric business server receives the user equipment
The user's registration of transmission is requested;
User's registration request is sent to the signature machine by the electric business server, so that the signature machine is according to institute
User's registration request is stated, generates and stores the client public key and the private key for user;
The electric business server receives the client public key that the signature machine is sent, and generates the User ID, saves
The User ID and the corresponding client public key of the User ID;The electric business server saves at least one User ID and at least one
A client public key, the User ID and the client public key correspond;
The electric business server sends the response that the User ID and the user's registration are completed to the user equipment and disappears
Breath.
The application second aspect discloses the allograph device of the block chain private key of electric business platform user, and described device is electric business
Server, described device include transmission unit, processing unit and receiving unit;Wherein,
The receiving unit receives the user's operation data cochain request that user equipment is sent, the user's operation data
Cochain request includes User ID;Wherein, the user's operation data cochain request includes the request of commodity publication data cochain, commodity
Buy the request of data cochain, goods browse data cochain is requested, articles storage data cochain is requested, the comment data cochain of commodity
Request and commodity thumb up data cochain request one of or it is a variety of;
The processing unit when judging that the user's operation meets preset condition, inquires the use according to the User ID
The corresponding client public key of family ID;Wherein, the electric business server preserves at least one User ID and at least one client public key,
And at least one described User ID and at least one described client public key correspond;
The transmission unit, by the client public key, user's operation data cochain request and the electric business service
Device private key signature information, is sent to signature machine, so that after the signature machine is verified the electric business privacy key, inquiry
The corresponding private key for user of the client public key, and asked for an autograph with the private key for user to the user's operation data cochain;Its
In, the electric business privacy key signing messages includes that the electric business privacy key grasps the client public key and the user
Make the private key signature information of data cochain request, the signature machine preserves at least one private key for user and at least one user is public
Key, at least one described private key for user and at least one described client public key correspond;
The receiving unit receives the user's operation data cochain request of the private key for user signature;
The transmission unit, the user's operation data cochain for sending the private key for user signature are requested to any one
Block chain node, so that any one described block chain node verifies the private key for user, and completes after knowing together, by institute
It states in user's operation deposit block chain account book.
In one possible implementation, the user's operation data in the user's operation data cochain request include closing
Attribute and dereferenced attribute, the numerical value of the relating attribute are superimposed automatically;Wherein, the user's operation data correlation attribute packet
It includes and thumbs up quantity, number of reviews, browses the one or more of quantity.
In one possible implementation, the electric business server pays out the upper link resources expense of the user equipment, institute
Stating upper link resources expense includes block chain node cpu resource usage charges, block chain node RAM resource usage charges, block chain node net
Network bandwidth resources usage charges and block chain node packing cochain take one or more.
In one possible implementation, which comprises whether the processing unit judges the user's operation
Meet preset condition, the preset condition include the user whether be the electric business server registration user, the user
Whether operation is valid operation that the electric business server provides;Wherein,
The valid operation of the electric business server includes commodity publication operation, goods browse operation, articles storage operation, quotient
Product purchase operation, commodity comment operation and commodity thumb up operation one of or a variety of operations.
In one possible implementation, the method also includes the receiving units, receive the user equipment hair
The user's registration request sent;
User's registration request is sent to the signature machine, so that the signature machine is according to institute by the transmission unit
User's registration request is stated, generates and stores the client public key and the private key for user;
The receiving unit receives the client public key that the signature machine is sent, and generates the User ID, saves institute
State User ID and the corresponding client public key of the User ID;The electric business server saves at least one User ID and at least one
Client public key, the User ID and the client public key correspond;
The transmission unit, Xiang Suoshu user equipment send the response that the User ID and the user's registration are completed and disappear
Breath.
The application can allow the administration authority of private key to server, and user equipment does not need storage private key;And server is protected
The safety of private key has been demonstrate,proved, and user equipment allograph can be helped;Thus, it is possible to allow user in the case where unaware is to private key,
The service of block chain is experienced, and then promotes the experience of user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only invent some embodiments, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the allograph method flow schematic diagram of the block chain private key of electric business platform user disclosed in the present application;
Fig. 2 is the allograph method flow schematic diagram of the block chain private key of another electric business platform user disclosed in the present application;
Fig. 3 is the allograph device structure schematic diagram of the block chain private key of electric business platform user disclosed in the present application;
Fig. 4 is the allograph apparatus structure schematic diagram of the block chain private key of electric business platform user disclosed in the present application.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
" first " " second " in the application is only to be easy to understand, and is distinguished to technology word, and is not understood to successively, or
As restrictive understanding.
In order to facilitate understanding of embodiments of the present invention, it is further explained below in conjunction with attached drawing with specific embodiment
Bright, embodiment does not constitute the restriction to the embodiment of the present invention.
As shown in Figure 1, the allograph method of the block chain private key of electric business platform user, the method includes the steps S101-
S105。
S101, electric business server receive the user's operation data cochain request that user equipment is sent, the user's operation number
It include User ID according to cochain request;Wherein, the user's operation data cochain request includes the request of commodity publication data cochain, quotient
Product buy the request of data cochain, goods browse data cochain is requested, articles storage data cochain is requested, in the comment data of commodity
Chain request and commodity thumb up data cochain request one of or it is a variety of.
In one example, the user's operation data in user's operation data cochain request include relating attribute and non-
The numerical value of relating attribute, the relating attribute is superimposed automatically;Wherein, the user's operation data correlation attribute includes thumbing up number
Amount, browses the one or more of quantity at number of reviews.
S102 when the electric business server judges that the user's operation meets preset condition, is inquired according to the User ID
The corresponding client public key of the User ID;Wherein, the electric business server preserves at least one User ID and at least one use
Family public key, and at least one described User ID and at least one described client public key correspond.
In one example, which comprises it is default that the electric business server judges whether the user's operation meets
Condition, the preset condition include the user whether be the electric business server registration user, whether the user's operation
The valid operation provided for the electric business server;Wherein, the valid operation of the electric business server include commodity publication operation,
Goods browse operation, articles storage operation, commodity purchasing operation, the comment of commodity operates and one thumbed up in operation of commodity
Kind or a variety of operations.
S103, the electric business server by the client public key, the user's operation data cochain request and the electricity
Quotient's privacy key signing messages, is sent to signature machine, so that the signature machine is verified the electric business privacy key
Afterwards, the corresponding private key for user of the client public key is inquired, and the user's operation data cochain is requested with the private key for user
Signature;Wherein, the electric business privacy key signing messages includes the electric business privacy key to the client public key and institute
The private key signature information of user's operation data cochain request is stated, the signature machine preserves at least one private key for user and at least one
A client public key, at least one described private key for user and at least one described client public key correspond.
S104, the electric business server receive the user's operation data cochain request of the private key for user signature.
S105, the user's operation data cochain that the electric business server sends private key for user signature are requested to appointing
It anticipates a block chain node, so that any one described block chain node verifies the private key for user, and completes common recognition
Afterwards, the user's operation is stored in block chain account book.
In one example, the electric business server pays out the upper link resources expense of the user equipment, the upper link resources
Take including block chain node cpu resource usage charges, block chain node RAM resource usage charges, block chain meshed network bandwidth resources
Usage charges and block chain node packing cochain take one or more.
In one example, the method also includes: the electric business servers to receive the user that the user equipment is sent
Registration request;The electric business server by the user's registration request be sent to the signature machine so that the signature machine according to
The user's registration request, generates and stores the client public key and the private key for user;Described in the electric business server receives
The client public key that signature machine is sent, and the User ID is generated, save the User ID and the corresponding use of the User ID
Family public key;The electric business server saves at least one User ID and at least one client public key, the User ID and the use
Family public key corresponds;The electric business server sends what the User ID and the user's registration were completed to the user equipment
Response message.
The application can allow the administration authority of private key to server, and user equipment does not need storage private key;And server is protected
The safety of private key has been demonstrate,proved, and user equipment allograph can be helped;Thus, it is possible to allow user in the case where unaware is to private key,
By way of username and password, to experience the service of block chain, and then the experience of user is promoted;In addition, private key is stored in
In signature machine, signature machine can only be accessed by Intranet, and server can not get private key, further ensure depositing for private key
Storage safety.
In addition, the risk of loss is also not present in the private key of user in the application, and define the operating right of user;When
When the operation of user is illegal, server does not just execute above-mentioned allograph process.
Below by taking Fig. 2 as an example, the private key allograph method of the application is described in detail, as shown in Figure 2.
S201, user equipment send user's registration and request to give electric business server.
User's registration request is transmitted to signature machine by S202, electric business server.
S203, the signature machine are that the user generates client public key and private key for user, and stores the client public key and user's private
Key.
Signature machine can only receive Intranet access, that is, only electric business server is able to access that the signature machine, to guarantee
The safety of private key.Several public keys and several private keys are stored on signature machine, public key and private key correspond.
S204, signature machine return to client public key and give electric business server.
S205, electric business server generates User ID, and stores several User ID and several client public key, User ID and user
Public key corresponds.
The User ID is unique identity of the user in electric business server.
The User ID is returned to user equipment by S206, electric business server, prompts user equipment that user's registration is completed.
S207, user equipment send user's operation data cochain and request to give electric business server, and cochain request includes user
ID。
The user's operation refers to the valid operation in electric business platform, these operations are all electric business users provided by the server
Use function;The user's operation includes the uplink operation of user's operation data.
S208, electric business server judge that user's operation data cochain request in the case where meeting preset condition, inquires the user
The corresponding public key of ID.
Preset condition specifically include that trade user ID whether be electric business platform registration user, verify user's operation data
It whether is legal operation data type.
S209, electric business server sign to the client public key and user's operation data with own private key, and by the label
Name information and the client public key and the user's operation data are sent to signature machine.
S210, signature machine verifies the signature of privacy key, and after being verified, it is corresponding to inquire the client public key
Private key for user, and signed with operation data of the private key for user to the user.
S211, the user's operation data cochain that signature machine signs private key for user are requested, and electric business server is sent to.
The user's operation data cochain request that the private key for user is signed is sent to any one area by S212, electric business server
Block chain node.
S213, block chain node are verified the private key of the user, are verified, and complete after knowing together, by the user
The user's operation data cochain of operation data cochain request.
The so-called cochain of the application refers to user's operation data, is stored on distributed block chain account book;For tool
The uplink operation of body, those skilled in the art can carry out according to conventional mode, and details are not described herein.
As shown in figure 4, the allograph device of the block chain private key of electric business platform user, described device is electric business server, institute
Stating device includes transmission unit, processing unit and receiving unit.
The receiving unit receives the user's operation data cochain request that user equipment is sent, the user's operation data
Cochain request includes User ID;Wherein, the user's operation data cochain request includes the request of commodity publication data cochain, commodity
Buy the request of data cochain, goods browse data cochain is requested, articles storage data cochain is requested, the comment data cochain of commodity
Request and commodity thumb up data cochain request one of or it is a variety of;
The processing unit when judging that the user's operation meets preset condition, inquires the use according to the User ID
The corresponding client public key of family ID;Wherein, the electric business server preserves at least one User ID and at least one client public key,
And at least one described User ID and at least one described client public key correspond;
The transmission unit, by the client public key, user's operation data cochain request and the electric business service
Device private key signature information, is sent to signature machine, so that after the signature machine is verified the electric business privacy key, inquiry
The corresponding private key for user of the client public key, and asked for an autograph with the private key for user to the user's operation data cochain;Its
In, the electric business privacy key signing messages includes that the electric business privacy key grasps the client public key and the user
Make the private key signature information of data cochain request, the signature machine preserves at least one private key for user and at least one user is public
Key, at least one described private key for user and at least one described client public key correspond;
The receiving unit receives the user's operation data cochain request of the private key for user signature;
The transmission unit, the user's operation data cochain for sending the private key for user signature are requested to any one
Block chain node, so that any one described block chain node verifies the private key for user, and completes after knowing together, by institute
It states in user's operation deposit block chain account book.
In one example, the user's operation data in user's operation data cochain request include relating attribute and non-
The numerical value of relating attribute, the relating attribute is superimposed automatically;Wherein, the user's operation data correlation attribute includes thumbing up number
Amount, browses the one or more of quantity at number of reviews.
In one example, the electric business server pays out the upper link resources expense of the user equipment, the upper link resources
Take including block chain node cpu resource usage charges, block chain node RAM resource usage charges, block chain meshed network bandwidth resources
Usage charges and block chain node packing cochain take one or more.
In one example, which comprises the processing unit judges whether the user's operation meets default item
Part, the preset condition include the user whether be the electric business server registration user, the user's operation whether be
The valid operation that the electric business server provides;Wherein,
The valid operation of the electric business server includes commodity publication operation, goods browse operation, articles storage operation, quotient
Product purchase operation, commodity comment operation and commodity thumb up operation one of or a variety of operations.
In one example, the method also includes the receiving units, receive user's note that the user equipment is sent
Volume request;
User's registration request is sent to the signature machine, so that the signature machine is according to institute by the transmission unit
User's registration request is stated, generates and stores the client public key and the private key for user;
The receiving unit receives the client public key that the signature machine is sent, and generates the User ID, saves institute
State User ID and the corresponding client public key of the User ID;The electric business server saves at least one User ID and at least one
Client public key, the User ID and the client public key correspond;
The transmission unit, Xiang Suoshu user equipment send the response that the User ID and the user's registration are completed and disappear
Breath.
The application can allow the administration authority of private key to server, and user equipment does not need storage private key;And server is protected
The safety of private key has been demonstrate,proved, and user equipment allograph can be helped;Thus, it is possible to allow user in the case where unaware is to private key,
The service of block chain is experienced, and then promotes the experience of user;In addition, private key is stored in signature machine, signature machine can only be by interior
Net access, and server can not get private key, further ensure the storage safety of private key.
The application discloses a kind of computer equipment again, including memory, processor and storage are on a memory and can be
The computer program run on processor, the processor realize the method in above-mentioned any embodiment when executing described program.
Disclosed herein as well is a kind of computer readable storage medium, calculating is stored on the computer readable storage medium
Machine program, the computer program realize the method in above-mentioned any embodiment when being executed by processor.
Fig. 3 shows a kind of computer equipment structural schematic diagram, which may include: processor 310, storage
Device 320, input/output interface 330, communication interface 340 and bus 350.Wherein processor 340, memory 320, input/output
Interface 330 and communication interface 340 pass through the communication connection between the realization of bus 350 inside equipment.
Processor 310 can use general CPU (Central Processing Unit, central processing unit), micro process
Device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one or
The modes such as multiple integrated circuits are realized, for executing relative program, to realize technical solution provided by this specification embodiment.
Memory 320 can use ROM (Read Only Memory, read-only memory), RAM (Random Access
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 320 can store
Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware
When, relevant program code is stored in memory 320, and execution is called by processor 310.
Input/output interface 330 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loudspeaker, vibrator, indicator light etc..
Communication interface 340 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 350 includes an access, in various components (such as the processor 310, memory 320, input/output of equipment
Interface 330 and communication interface 340) between transmit information.
It should be noted that although above equipment illustrates only processor 310, memory 320, input/output interface
330, communication interface 340 and bus 350, but in the specific implementation process, which can also include realizing to operate normally
Necessary other assemblies.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising realizing in above equipment
Component necessary to this specification example scheme, without including all components shown in figure.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all any modification, equivalent substitution, improvement and etc. within the scope of the present invention, done should be included in this hair
Within bright protection scope.
Claims (10)
1. the allograph method of the block chain private key of electric business platform user, which is characterized in that the described method includes:
Electric business server receives the user's operation data cochain request that user equipment is sent, the user's operation data cochain request
Including User ID;Wherein, the user's operation data cochain request includes the request of commodity publication data cochain, commodity purchasing data
Cochain request, goods browse data cochain request, articles storage data cochain request, commodity comment data cochain request and
Commodity thumb up one of data cochain request or a variety of;
When the electric business server judges that the user's operation meets preset condition, the User ID is inquired according to the User ID
Corresponding client public key;Wherein, the electric business server preserves at least one User ID and at least one client public key, and institute
It states at least one User ID and at least one described client public key corresponds;
The electric business server is private by the client public key, user's operation data cochain request and the electric business server
Key signing messages is sent to signature machine, so that after the signature machine is verified the electric business privacy key, described in inquiry
The corresponding private key for user of client public key, and asked for an autograph with the private key for user to the user's operation data cochain;Wherein, institute
Stating electric business privacy key signing messages includes the electric business privacy key to the client public key and the user's operation number
According to the private key signature information that cochain is requested, the signature machine preserves at least one private key for user and at least one client public key,
At least one described private key for user and at least one described client public key correspond;
The electric business server receives the user's operation data cochain request of the private key for user signature;
The user's operation data cochain that the electric business server sends the private key for user signature requests to give any one area
Block chain node, so that any one described block chain node verifies the private key for user, and completes after knowing together, it will be described
User's operation is stored in block chain account book.
2. the method according to claim 1, wherein the user's operation in user's operation data cochain request
Data include relating attribute and dereferenced attribute, and the numerical value of the relating attribute is superimposed automatically;Wherein, the user's operation data
Relating attribute includes thumbing up quantity, number of reviews, browsing the one or more of quantity.
3. the method according to claim 1, wherein the electric business server pays out the cochain of the user equipment
Resource is taken, and the upper link resources are taken including block chain node cpu resource usage charges, block chain node RAM resource usage charges, block
Chain meshed network bandwidth resources usage charges and block chain node packing cochain take one or more.
4. the method according to claim 1, wherein the described method includes:
The electric business server judges whether the user's operation meets preset condition, and the preset condition includes that the user is
Whether the no registration user for the electric business server, the user's operation are valid operation that the electric business server provides;
Wherein,
The valid operation of the electric business server includes commodity publication operation, goods browse operation, articles storage operation, commodity purchase
That buys operation, the comment operation of commodity and commodity thumbs up one of operation or a variety of operations.
5. the method according to claim 1, wherein the method also includes:
The electric business server receives the user's registration request that the user equipment is sent;
User's registration request is sent to the signature machine by the electric business server, so that the signature machine is according to the use
Family registration request generates and stores the client public key and the private key for user;
The electric business server receives the client public key that the signature machine is sent, and generates the User ID, described in preservation
User ID and the corresponding client public key of the User ID;The electric business server saves at least one User ID and at least one use
Family public key, the User ID and the client public key correspond;
The electric business server sends the response message that the User ID and the user's registration are completed to the user equipment.
6. the allograph device of the block chain private key of electric business platform user, which is characterized in that described device is electric business server, described
Device includes transmission unit, processing unit and receiving unit;Wherein,
The receiving unit receives the user's operation data cochain request that user equipment is sent, the user's operation data cochain
Request includes User ID;Wherein, the user's operation data cochain request includes the request of commodity publication data cochain, commodity purchasing
The request of data cochain, the request of goods browse data cochain, the request of articles storage data cochain, the comment data cochain request of commodity
And commodity thumb up data cochain request one of or it is a variety of;
The processing unit when judging that the user's operation meets preset condition, inquires the User ID according to the User ID
Corresponding client public key;Wherein, the electric business server preserves at least one User ID and at least one client public key, and institute
It states at least one User ID and at least one described client public key corresponds;
The transmission unit, the client public key, user's operation data cochain request and the electric business server is private
Key signing messages is sent to signature machine, so that after the signature machine is verified the electric business privacy key, described in inquiry
The corresponding private key for user of client public key, and asked for an autograph with the private key for user to the user's operation data cochain;Wherein, institute
Stating electric business privacy key signing messages includes the electric business privacy key to the client public key and the user's operation number
According to the private key signature information that cochain is requested, the signature machine preserves at least one private key for user and at least one client public key,
At least one described private key for user and at least one described client public key correspond;
The receiving unit receives the user's operation data cochain request of the private key for user signature;
The transmission unit, the user's operation data cochain for sending the private key for user signature request to give any one block
Chain node, so that any one described block chain node verifies the private key for user, and completes after knowing together, by the use
In family operation deposit block chain account book.
7. device according to claim 6, which is characterized in that the user's operation in the user's operation data cochain request
Data include relating attribute and dereferenced attribute, and the numerical value of the relating attribute is superimposed automatically;Wherein, the user's operation data
Relating attribute includes thumbing up quantity, number of reviews, browsing the one or more of quantity.
8. device according to claim 6, which is characterized in that the electric business server pays out the cochain of the user equipment
Resource is taken, and the upper link resources are taken including block chain node cpu resource usage charges, block chain node RAM resource usage charges, block
Chain meshed network bandwidth resources usage charges and block chain node packing cochain take one or more.
9. device according to claim 6, which is characterized in that the described method includes:
The processing unit, judges whether the user's operation meets preset condition, and the preset condition includes that the user is
Whether the no registration user for the electric business server, the user's operation are valid operation that the electric business server provides;
Wherein,
The valid operation of the electric business server includes commodity publication operation, goods browse operation, articles storage operation, commodity purchase
That buys operation, the comment operation of commodity and commodity thumbs up one of operation or a variety of operations.
10. device according to claim 6, which is characterized in that the method also includes:
The receiving unit receives the user's registration request that the user equipment is sent;
User's registration request is sent to the signature machine, so that the signature machine is according to the use by the transmission unit
Family registration request generates and stores the client public key and the private key for user;
The receiving unit receives the client public key that the signature machine is sent, and generates the User ID, saves the use
Family ID and the corresponding client public key of the User ID;The electric business server saves at least one User ID and at least one user
Public key, the User ID and the client public key correspond;
The transmission unit, Xiang Suoshu user equipment send the response message that the User ID and the user's registration are completed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910805685.XA CN110380870B (en) | 2019-08-29 | 2019-08-29 | Block chain private key signing method and device for e-commerce platform user |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910805685.XA CN110380870B (en) | 2019-08-29 | 2019-08-29 | Block chain private key signing method and device for e-commerce platform user |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110380870A true CN110380870A (en) | 2019-10-25 |
CN110380870B CN110380870B (en) | 2020-12-22 |
Family
ID=68261036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910805685.XA Active CN110380870B (en) | 2019-08-29 | 2019-08-29 | Block chain private key signing method and device for e-commerce platform user |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110380870B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111259455A (en) * | 2020-01-15 | 2020-06-09 | 厦门顺势共识信息科技有限公司 | Block chain private key escrow method and system |
CN111488354A (en) * | 2020-04-08 | 2020-08-04 | 北京瑞策科技有限公司 | Data processing method and device based on service data block chain |
TWI773161B (en) * | 2021-03-02 | 2022-08-01 | 雲想科技股份有限公司 | Digital signature private key verification method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108566274A (en) * | 2018-03-15 | 2018-09-21 | 中国地质大学(武汉) | Method, equipment and the storage device of slitless connection between a kind of block chain Verification System |
CN108900464A (en) * | 2018-04-26 | 2018-11-27 | 平安科技(深圳)有限公司 | Electronic device, data processing method and computer storage medium based on block chain |
-
2019
- 2019-08-29 CN CN201910805685.XA patent/CN110380870B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108566274A (en) * | 2018-03-15 | 2018-09-21 | 中国地质大学(武汉) | Method, equipment and the storage device of slitless connection between a kind of block chain Verification System |
CN108900464A (en) * | 2018-04-26 | 2018-11-27 | 平安科技(深圳)有限公司 | Electronic device, data processing method and computer storage medium based on block chain |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111259455A (en) * | 2020-01-15 | 2020-06-09 | 厦门顺势共识信息科技有限公司 | Block chain private key escrow method and system |
CN111259455B (en) * | 2020-01-15 | 2023-01-03 | 易联众信息技术股份有限公司 | Block chain private key escrow method and system |
CN111488354A (en) * | 2020-04-08 | 2020-08-04 | 北京瑞策科技有限公司 | Data processing method and device based on service data block chain |
TWI773161B (en) * | 2021-03-02 | 2022-08-01 | 雲想科技股份有限公司 | Digital signature private key verification method |
Also Published As
Publication number | Publication date |
---|---|
CN110380870B (en) | 2020-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110324363B (en) | Uplink method and device for Internet e-commerce associated data | |
CN110380870A (en) | The allograph method and device thereof of the block chain private key of electric business platform user | |
CN113538018A (en) | NFT work processing method and device based on block chain | |
CN110232286A (en) | A kind of electric quotient data cochain method and its equipment for applying intelligent contract | |
CN110674218A (en) | Company business license tracing method and device related to block chain | |
CN109951487A (en) | A kind of portal authentication method and device | |
CN110377645A (en) | Be related to block chain thumbs up data sharing method and its system | |
CN110377644A (en) | It is related to the search data sharing method and its system of block chain | |
CN110401544A (en) | The allograph method and device thereof of the block chain private key of knowledge payment platform user | |
CN110413699A (en) | The cochain method and device thereof of user's ballot associated data | |
CN110264206A (en) | A kind of electric quotient data cochain method and its equipment based on block chain | |
CN110263100A (en) | Using the shared economic data cochain method and its equipment of intelligent contract | |
CN110380871A (en) | The allograph method and device thereof of the user blocks chain private key of search platform | |
CN110401543A (en) | It is related to the allograph method and device thereof of the block chain private key of recruitment platform user | |
CN110399427A (en) | By means of the ad click data sharing method and its system of block chain | |
CN110377646A (en) | Knowledge payment data sharing method and its system based on block chain | |
CN110427379A (en) | The cochain method and device thereof of user's search associated data | |
CN110351389A (en) | The cochain method and device thereof of communities of users associated data | |
CN110213296A (en) | It is a kind of that data cochain method and its equipment are thumbed up based on block chain | |
CN110233853A (en) | It is a kind of to thumb up data cochain method and its equipment applied to block chain | |
CN110392113A (en) | Community data sharing method and its system based on block chain | |
CN110427766B (en) | Internet tourism data chaining method and device | |
CN110414254A (en) | The cochain method and device thereof of user's investigation associated data | |
CN110427425A (en) | Evaluation data sharing method and its system based on block chain | |
CN110362634A (en) | It is related to the electric quotient data sharing method and its system of block chain |
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 | ||
CB02 | Change of applicant information |
Address after: 100085 No. 108, 1st Floor, No. 9, Shangdi Jiujie, Haidian District, Beijing Applicant after: Beijing ruice Technology Co., Ltd Address before: 100085 No. 108, 1st Floor, No. 9, Shangdi Jiujie, Haidian District, Beijing Applicant before: BEIJING AIMO RUICE TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |