A kind of cloud wallet construction method and server
Technical field
The present invention relates to technical field of information processing, and in particular to a kind of cloud wallet construction method and server.
Background technology
Prior art is when building cloud wallet, it is necessary to which the environment required for the application program and program of correlation is deployed in into appearance
In device, then using by copying container into other computers, realize that cloud wallet is built.Program configuration, program deployment and ring
Border deployment is required for manual handle, artificial copy is also required to when carrying out the deployment of wallet cluster to complete, existing cloud wallet
Building mode is less efficient.
The content of the invention
Therefore, the technical problem to be solved in the present invention is that overcome existing existing cloud wallet building mode efficiency low lacks
Fall into, so as to provide a kind of cloud wallet construction method, server, terminal, system and computer-readable medium.
According in a first aspect, one embodiment of the present of invention provides a kind of cloud wallet construction method, including:Receiving terminal is sent out
The user profile and cloud wallet configuration information sent;Area corresponding with the user profile is built according to the cloud wallet configuration information
Block chain cloud wallet cluster.
Further, cloud wallet configuration information includes hardware configuration information and software environment configuration information.
Further, block chain cloud wallet collection corresponding with the user profile is built according to the cloud wallet configuration information
Group, including:Cloud main frame is built according to the hardware configuration information;According to the software environment configuration information on the cloud main frame
Build the software environment of cloud wallet;Under the software environment of the cloud wallet on the cloud main frame, block chain cloud wallet is built
Cluster;Digital asset address is distributed for each sub- wallet in the block chain cloud wallet cluster;Start the block chain cloud money
Each sub- wallet node in bag cluster, each sub- wallet node are corresponding with its digital asset address respectively.
Further, digital asset information is also included in cloud wallet configuration information.For the block chain cloud wallet cluster
In each sub- wallet distribution digital asset address the step of after, in addition to:According to the digital asset information to corresponding
Shift digital asset in digital asset address.
Further, cloud wallet configuration information also includes security policy information.
Further, block chain cloud wallet collection corresponding with the user profile is built according to the cloud wallet configuration information
Group, including:The security strategy of each sub- wallet in the block chain cloud wallet cluster is set according to the security policy information.
Further, user profile includes user name, password and real name information.
Further, cloud wallet construction method also includes carrying out real-name authentication according to the real name information.
Further, cloud wallet construction method also includes the public key that receiving terminal is sent.
Further, cloud wallet construction method also includes building user account according to the user profile;Build the public affairs
Relationship maps between key and the user account.
According to second aspect, one embodiment of the present of invention provides a kind of cloud wallet construction method, including:Sent out to server
User profile and cloud wallet configuration information are sent, to cause the server according to cloud wallet configuration information structure and the use
Block chain cloud wallet cluster corresponding to the information of family.
According to the third aspect, one embodiment of the present of invention provides a kind of server, including:At least one processor and
The memory being connected with least one processor communication;Wherein, have can be by least one place for the memory storage
The instruction that device performs is managed, the instruction is by least one computing device, so that at least one computing device is such as
Cloud wallet construction method described in first aspect embodiment.
According to fourth aspect, one embodiment of the present of invention provides a kind of terminal, including:At least one processor and with
The memory of at least one processor communication connection;Wherein, have can be by least one processing for the memory storage
The instruction that device performs, the instruction is by least one computing device, so that at least one computing device such as the
Cloud wallet construction method described in two aspect embodiments.
According to the 5th aspect, one embodiment of the present of invention provides a kind of system, including:As described in third aspect embodiment
Server and the terminal as described in fourth aspect embodiment.
According to the 6th aspect, one embodiment of the present of invention provides a kind of computer-readable medium, including program, the journey
Sequence can be executed by processor, to realize the cloud wallet structure side as described in first aspect embodiment or second aspect embodiment
Method.
Technical solution of the present invention, have the following advantages that:
1. cloud wallet construction method, server, terminal, system and computer-readable medium provided by the invention, due to profit
Cloud wallet configuration information is selected with terminal, block chain cloud money is built according to cloud wallet configuration information automatically using the server in high in the clouds
Bag cluster, the automation rapid build of cloud wallet is realized, from by the trouble for manually building cloud wallet.
2. cloud wallet construction method, server, terminal, system and computer-readable medium provided by the invention, due to
After the hardware environment needed for cloud wallet is automatically configured using the server in high in the clouds, each sub- wallet node is distributed automatically so that
User can directly be accessed each sub- wallet node by terminal and sub- wallet is managed after the completion of cloud wallet structure, from
The server in high in the clouds is managed to each sub- wallet, realizes decentralization management, enhances what cloud wallet ran or merchandised
Security.
3. cloud wallet construction method, server, terminal, system and computer-readable medium provided by the invention, due to end
End sends and includes security policy information into the cloud wallet configuration information of cloud server so that cloud server is in structure cloud money
The security strategy that personalization can be carried out during bag is set, and meets the cloud wallet safety management needs of different user.
4. cloud wallet construction method, server, terminal, system and computer-readable medium provided by the invention, due to right
The real name information included in user profile that terminal is sent carries out real-name authentication so that structure and the equal energy of management to cloud wallet
Bound with user, improve the security of cloud wallet operation.
5. cloud wallet construction method, server, terminal, system and computer-readable medium provided by the invention, due to end
Public key is only uploaded to the server in high in the clouds by end, and private key retention terminal is locally stored, and changes existing ideal money
System, if bit coin system is to the storage mode of public and private key.In bit coin system, using bit coin address as public key, by user
The address of account and private key are all stored in bit coin wallet file, and encryption and decryption computing is carried out to private key using client software,
Private key storage and the potential safety hazard used be present.Private key retention terminal is locally stored the present invention, improves security.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a specific example of the cloud wallet construction method of the embodiment of the present invention 1;
Fig. 2 is to utilize cloud wallet configuration information structure block chain cloud money in the cloud wallet construction method of the embodiment of the present invention 1
The flow chart of one specific example of bag cluster;
Fig. 3 is a tool for building user account in the cloud wallet construction method of the embodiment of the present invention 2 using user profile
The flow chart of body example;
Fig. 4 is the theory diagram for being used to build a specific example of the server of cloud wallet of the embodiment of the present invention 4;
Fig. 5 is the theory diagram for being used to build a specific example of the terminal of cloud wallet of the embodiment of the present invention 5;
Fig. 6 is the theory diagram for being used to build a specific example of the system of cloud wallet of the embodiment of the present invention 6;
Fig. 7 is the flow chart of a specific example of the cloud wallet management method of the embodiment of the present invention 8.
Reference:
1- servers, 11- memories, 12- processors, 2- terminals, 21- memories, 22- processors.
Embodiment
Technical scheme is clearly and completely described below in conjunction with accompanying drawing, it is clear that described implementation
Example is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill
The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In the description of the invention, it is necessary to illustrate, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can
To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected by intermediary, can be with
It is the connection of two element internals, can is wireless connection or wired connection.For one of ordinary skill in the art
For, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
As long as in addition, technical characteristic involved in invention described below different embodiments non-structure each other
It is be combined with each other into conflict can.
Embodiment 1
Embodiment 1 provides a kind of cloud wallet construction method, applied on the server in high in the clouds, as shown in figure 1, it is included such as
Lower step:
Step S1:The user profile and cloud wallet configuration information that receiving terminal is sent.
Step S2:Block chain cloud wallet cluster corresponding with user profile is built according to cloud wallet configuration information.In order to suitable
Profit completes the structure of cloud wallet, and the cloud wallet configuration information sent by terminal should at least include hardware configuration information and software loop
Border configuration information.Using the specific method of cloud wallet configuration information structure block chain cloud wallet cluster as shown in Fig. 2 including following
Step:
Step S21:Cloud main frame is built according to hardware configuration information.
Step S22:The software environment of cloud wallet is built according to software environment configuration information on cloud main frame.
Step S23:Under the software environment of cloud wallet on cloud main frame, block chain cloud wallet cluster is built.Block chain cloud
The setting quantity of wallet cluster neutron wallet according to the relevant information included in cloud wallet configuration information, it is necessary to be configured.When
When not providing the quantity of sub- wallet in cloud wallet configuration information, default setting can be carried out according to default quantity.
Step S24:Digital asset address is distributed for each sub- wallet in block chain cloud wallet cluster.When cloud wallet configures
When information includes the digital asset information such as digital asset type and quantity, each sub- money in for block chain cloud wallet cluster
Behind bag distribution digital asset address, it is also necessary to shift digital asset to corresponding digital asset address according to digital asset information.
Step S25:Start each sub- wallet node in block chain cloud wallet cluster.Each sub- wallet node respectively with its
Digital asset address is corresponding.
In order to ensure the safe for operation of block chain cloud wallet cluster, and personalized cloud wallet safety management is realized, used
Family can write the security policy informations such as interface access rights in the cloud wallet configuration information sent by terminal.When cloud wallet
When security policy information is included in configuration information, the server in high in the clouds can also be according to security policy information to block chain cloud wallet collection
Each sub- wallet in group carries out security strategy setting., can be according to if being free of security policy information in cloud wallet configuration information
Security strategy that default safe mode is given tacit consent to each sub- wallet in block chain cloud wallet cluster is set, and to terminal
Feedback-related information, so that obtaining user fully knows that the security strategy of its cloud wallet is set, security strategy is carried out when necessary
Change is set, to improve the safety in operation of cloud wallet.
Embodiment 2
Embodiment 2 provides a kind of cloud wallet construction method, and applied on the server in high in the clouds, it includes the complete of embodiment 1
Portion's step, to avoid repeating, it will not be repeated here.The cloud wallet construction method that embodiment 2 provides, discloses and utilizes user profile
The specific method of user account is built, as shown in figure 3, it comprises the following steps:
Step S31:User account is built according to user profile.For building the user profile of user account, at least should
Including username and password.The user name that is sent for user by terminal, it is necessary to carry out the duplicate checking processing of user name first, with
The user name for avoiding bearing the same name causes obscuring for user account management.
Step S32:Real name information in user profile carries out real-name authentication.In order to further improve structure cloud wallet
Security, and improve from now on cloud wallet operation safety and reliability, it is necessary to user in a specific real-time mode
Real-name authentication is carried out, this just needs user together to submit its real name information when submitting user profile.
Step S33:When real-name authentication by when, receiving terminal send public key.In a specific real-time mode, in real name
Certification is by rear, information from the server in high in the clouds to terminal feedback user identity information that be verified from, and now, terminal generation is private
Key and public key corresponding with private key, private key retention terminal is locally stored, public key is uploaded to the server in high in the clouds.By private
Key is retained terminal and is locally stored, and changes private key is stored in into the feelings in digital wallet file in the prior art completely
Condition, there is user directly to hold and using private key, be advantageous to improve storage and the safety in utilization of private key.
Step S34:Build the relationship maps between public key and user account.Entered in user by terminal login user account
And when operating cloud wallet, private key signature is carried out and by operation requests together with its corresponding private key to the operation requests each time of user
Signature result is together uploaded to the server in high in the clouds, and server by utilizing has the public key of relationship maps relation to behaviour with user account
The private key signature included in asking is verified, corresponding operating can be just performed only after being verified, and improves cloud wallet
The security of operation.
In the cloud wallet construction method of embodiment 2, the method and step using user profile structure user account can be pacified
Come between step S1 and step S2.
Embodiment 3
Embodiment 3 provides a kind of cloud wallet construction method, and in the terminal held applied to user, it includes:To server
Send user profile and cloud wallet configuration information, with cause the server according to cloud wallet configuration information structure with it is described
Block chain cloud wallet cluster corresponding to user profile.
The cloud wallet construction method of embodiment 3 to user profile and cloud wallet with embodiment 1 or embodiment 2, matching somebody with somebody confidence
The requirement of breath and processing method are consistent, to avoid repeating, will not be repeated here.In addition, the cloud wallet construction method of embodiment 3
In, the step of can building user account and real-name authentication, specific processing method is corresponding with the method in embodiment 2, is
Avoid repeating, will not be repeated here.
Embodiment 4
Embodiment 4 provides a kind of server 1 for being used to build cloud wallet, and reference picture 4, it includes memory 11 and processor
12, processor 12 is used to read the instruction stored in memory 11, to perform the cloud wallet as described in embodiment 1 or embodiment 2
Construction method.
Embodiment 5
Embodiment 5 provides a kind of terminal 2 for being used to build cloud wallet, and reference picture 5, it includes memory 21 and processor
22, processor 22 is used to read the instruction stored in memory 21, to perform cloud wallet construction method as described in Example 3.
Embodiment 6
Embodiment 6 provides a kind of system for building cloud wallet, and reference picture 6, it includes service as described in Example 4
Device 1 and as described in Example 5 terminal 2.
Embodiment 7
Embodiment 7 provides a kind of computer-readable medium, including program, and the program can be executed by processor, to realize
Any one cloud wallet construction method as described in embodiment 1 to embodiment 3.
Embodiment 8
Embodiment 8 provides a kind of cloud wallet management method, and applied on the server in high in the clouds, reference picture 7, it includes following
Step:
Step S4:The cloud wallet access request that receiving terminal is sent.Cloud wallet access request should include user profile and
The signature generated by the private key preserved in terminal.
Step S5:Judge the signature of cloud wallet access request whether by the checking of public key corresponding with user profile.
Step S6:When signature passes through through public key verifications corresponding with user profile, it is allowed to which terminal connection adds and user
Local block chain cloud wallet corresponding to information.
Step S7:The cloud wallet operation requests that receiving terminal is sent.Cloud wallet operation requests should be through preserving in terminal
Private key is signed.
Step S8:Judge the signature of cloud wallet operation requests whether by the checking of public key corresponding with user profile.
Step S9:When cloud wallet operation requests through public key verifications corresponding with user profile by when, perform cloud wallet behaviour
Ask corresponding operation.
Step S10:Terminate.When the signature of cloud wallet access request or cloud wallet operation requests is through corresponding with user profile
Public key verifications are obstructed out-of-date, can directly terminate.
In the cloud wallet management method of embodiment 8, access of the user to cloud wallet and each time operation requests, it is both needed to use
The private key that terminal local preserves carries out private key signature to request, is that the server for ensureing high in the clouds can enter to operation requests each time
Row public and private key checking, cloud wallet is avoided to be operated and caused any property loss by other people of illegal user.The cloud wallet of embodiment 8
Management method is applied to by the cloud wallet construction method any one of embodiment 1-3 the cloud wallet that builds.For profit
The cloud wallet built with other methods, as long as terminal storage has private key, it can equally utilize the cloud wallet management method of embodiment 8
Conduct interviews and run, can equally ensure the transaction security of ideal money.
The cloud wallet built at different cloud servers is managed collectively in order to facilitate user, the cloud money of embodiment 8
Package management method is supported to connect in other block chain cloud wallets and added.Now, cloud wallet operation requests connect and add other areas
The request of block chain cloud wallet, the request need also exist for the private key through being preserved in terminal and signed.When connection adds other blocks
The request of chain cloud wallet through public key verifications corresponding with user profile by when, connection add corresponding to other block chain cloud money
Bag.Need to illustrate when, when connection adds other block chain cloud wallets, it is necessary to meet the operation of other block chain cloud wallets
The dependency rule of server.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, above-described embodiment is only intended to clearly illustrate example, and is not the restriction to embodiment.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of change or
Change.There is no necessity and possibility to exhaust all the enbodiments.And the obvious change thus extended out or
Among changing still in the protection domain of the invention.