Summary of the invention
In order to which the usufruct of the user to arrangement of work list carries out depositing card, this specification embodiment provides a kind of based on area
Card method, apparatus is deposited in the works list of block chain and system, technical solution are as follows:
According to the 1st of this specification embodiment aspect, a kind of works list based on block chain is provided and deposits card method, user
The client provided by works service provider obtains works from the server of works service provider and uses service;Works service provider provides
Client also have the function of dock block chain network;
The described method includes:
Destination client obtains the works list comprising at least one works mark that target user determines;The target visitor
Family end is client used in target user, and the target user is any user, and the works list is that the target is used
What family determined after obtaining one or more works using service from the server;
Card is deposited in the list of the user identifier of the destination client building comprising the works list and the target user
Transaction;
Card transaction is deposited into the list and submits to the block chain network in the destination client;
The list is deposited card transaction and is distributed to block chain by the block chain network.
According to the 2nd of this specification embodiment aspect, a kind of works list based on block chain is provided and deposits card method, user
The client provided by works service provider obtains works from the server of works service provider and uses service;Works service provider provides
Client also have the function of dock block chain network;
The described method includes:
Destination client obtains the works list comprising at least one works mark that target user determines;The target visitor
Family end is client used in target user, and the target user is any user, and the works list is that the target is used
What family determined after obtaining one or more works using service from the server;
Card transaction is deposited in the list of user identifier of the building comprising the works list and the target user;
Card transaction is deposited into the list and submits to the block chain network, so that the block chain network deposits the list
Card transaction is distributed to block chain.
According to the 3rd of this specification embodiment aspect, a kind of works list based on block chain is provided and deposits card method, user
The client provided by works service provider obtains works from the server of works service provider and uses service;Works service provider provides
Client also have the function of dock block chain network;
The described method includes:
List is deposited card transaction and is distributed to block chain by block chain network;
Wherein, it is that destination client constructs and submits to the block chain network that card transaction is deposited in the list;The column
Table deposits the user identifier that card transaction includes works list and target user;The destination client is that the target user is used
Client, the target user is any user, and the works list is the target user to be obtained from the server
It is determined after one or more works use services;The works list is identified comprising at least one works.
According to the 4th of this specification embodiment the aspect, a kind of works list deposit system based on block chain, user are provided
The client provided by works service provider obtains works from the server of works service provider and uses service;Works service provider provides
Client also have the function of dock block chain network;
The system comprises clients and block chain network:
Destination client obtains the works list comprising at least one works mark that target user determines;The target
Client is client used in target user, and the target user is any user, and the works list is the target
What user determined after obtaining one or more works using service from the server;Building includes the works list and institute
Card transaction is deposited in the list for stating the user identifier of target user;Card transaction is deposited into the list and submits to the block chain network;
The list is deposited card transaction and is distributed to block chain by the block chain network.
According to the 5th of this specification embodiment aspect, a kind of works list based on block chain is provided and deposits card device, user
The client provided by works service provider obtains works from the server of works service provider and uses service;Works service provider provides
Client also have the function of dock block chain network;
Described device is client used in target user, and the target user is any user;
Described device includes:
Module is obtained, the works list comprising at least one works mark that target user determines is obtained;The works column
Table is that the target user determines after obtaining one or more works using service from the server;
Module is constructed, card transaction is deposited in the list of user identifier of the building comprising the works list and the target user;
Module is submitted, card transaction is deposited into the list and submits to the block chain network, so that the block chain network will
The list deposits card transaction and is distributed to block chain.
According to the 6th of this specification embodiment aspect, a kind of works list based on block chain is provided and deposits card device, user
The client provided by works service provider obtains works from the server of works service provider and uses service;Works service provider provides
Client also have the function of dock block chain network;
Described device is any node in the block chain network, and described device includes:
List is deposited card transaction and is distributed to block chain by writing module;
Wherein, it is that destination client constructs and submits to the block chain network that card transaction is deposited in the list;The column
Table deposits the user identifier that card transaction includes works list and target user;The destination client is that the target user is used
Client, the target user is any user, and the works list is the target user to be obtained from the server
It is determined after one or more works use services;The works list is identified comprising at least one works.
Technical solution provided by this specification embodiment, user, can after obtaining works using service by client
Works list is sorted out with the preference according to oneself, client can will mention after the works list and the user identifier binding of the user
It is sent to block chain network, and is finally written to block chain.Since the data being written in block chain are difficult to be tampered,
It realizes and card is deposited to " usufruct that the user possesses the works list ".
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
This specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Specific embodiment
This is sentenced for works service provider is music platform, is illustrated to the background of this specification embodiment.
The copyright that music platform usually holds a large amount of musical works (is usually commercially available to the creator of musical works
), musical works, which is provided, to the user of music platform uses service, such as music audition, music download, music reorganization.In skill
On art is realized, music platform generally can be User Exploitation client, and user installs client in the equipment such as oneself computer, mobile phone
Behind end, so that it may access the server of music platform by client, obtain musical works and use service.
User can sort out works according to the appreciation preference of oneself after obtaining works using service by client
List.For example, some users can pick out the musical works of specific artistic style, shape from the musical works on music platform
Song is singly stored in service by Cheng Gedan (i.e. works list), in this way, when the user wants audition song every time, so that it may logical
It crosses client and transfers song list progress audition from server.
The single value (i.e. other users are ready that payment is single using these songs) with higher of some songs, works service provider also inclines
To in by these songs, singly other users earning income is given in distribution.However, in practice, since these songs are singly directly stored in works
On the server of service provider, therefore, works service provider does not often recognize to arrange the usufruct of the single user of these songs.User wants
When being put to the proof, often lack believable evidence approach.
For this purpose, introducing block chain technology, the client that works service provider is developed and block in this specification embodiment
Chain network docking, in this way, the works list can be submitted to block chain network by client when user sorts out works list
It carries out depositing card, the subsequent usufruct that can be proved the user and possess the works list.
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.
Fig. 1 is the process signal that card method is deposited in a kind of works list based on block chain that this specification embodiment provides
Figure, includes the following steps:
S100: destination client obtains the works list comprising at least one works mark that target user determines.
In practical applications, the client that user generally passes through that works service provider provides is obtained from the server of works service provider
It is taken as product and uses service.Wherein, the works using service can be works browsing service (such as audition music, read novel),
Works download service, works reorganization service (after such as adapting works, reorganization works are uploaded to server and are stored)
In this specification embodiment, the client that works service provider provides also has the function of docking block chain network.
Specifically, works service provider when developing client, needs built-in block chain functional module or block chain in the client
Software Development Kit (Software Development Kit, SDK).In this way, the client that works service provider provides is not only
It is works service client and block chain client.Client can be submitted to block chain network and be traded, and block chain network can
Block chain is distributed to the transaction for submitting client.
It should be noted that transaction (transfer) described in this specification, refers to that user passes through block chain visitor
The creation of family end, and a data for needing finally to be distributed in the distributed data base of block chain.
Wherein, the transaction in block chain, there are points of the transaction of narrow sense and the transaction of broad sense.The transaction of narrow sense refers to use
The value Transfer that family is issued to block chain;For example, transaction can be user and exist in traditional bit coin block chain network
One initiated in block chain transfers accounts.And the transaction of broad sense refers to the industry being intended to business that user issues to block chain
Business data;For example, operator can build alliance's chain based on actual business demand, rely on the deployment of alliance's chain it is some with
Unrelated other types of of value Transfer is in line service (for example, business of renting a house, vehicle scheduling business, settlement of insurance claim business, credit
Service, medical services etc.), and in this kind of alliance's chain, transaction, which can be one that user issues in alliance's chain, has business
The service message or service request of intention.
It should also be noted that, block chain network herein specifically can be alliance's chain network.
In this specification embodiment, for convenience of description, any user is known as target user, target user is made
Client is known as destination client.Assuming that target user is using service from the one or more works of server acquisition
After works list has been determined.
Specifically, target user carries out works mark housekeeping operation on the client, sorts out comprising at least one works
The works list of mark.For example, can to pick out 10 lieds from 100 songs that oneself was listened to whole by target user
A works list is managed into, and gives a name " folk rhyme 10 is first " to the works list.
In addition, destination client can obtain the works usage record of the target user from the server, then from
At least one works mark is extracted in the works usage record.Then, destination client can be generated comprising described at least one
The works list of a works mark, and the target user is requested to confirm the works list.Target user can be according to oneself
Appreciation preference, choose whether to confirm the works list.If the user confirms the works list, destination client is just
The works list that the works list can be determined as the target user.
It should be noted that the works list can be identified not only comprising several works, it can also include each works
Identify the information such as creator, genre classification, the content summary of corresponding works.
S102: the list of the user identifier of the destination client building comprising the works list and the target user
Deposit card transaction.
S104: card transaction is deposited into the list and submits to the block chain network in the destination client.
Block chain network is docked due to having the function of in destination client, can construct and meet block chain data format
It is required that list deposit card trade and submit to block chain network.
S106: the list is deposited card transaction and is distributed to block chain by the block chain network.
The list is deposited card transaction and is distributed to block chain by block chain network, it is meant that " the works list is institute
State target user arrangement " the fact that carried out depositing card.It is subsequent, target user can with deposited in block chain card the fact that
For evidence, the usufruct of works list is advocated by Xiang Zuopin service provider.
In addition, in this specification embodiment, since subsequent needs are pushed away from the server of works service provider to other users
Works list is sold, therefore, the server needs to get the works list.
Specifically, if the works service provider is responsible for managing at least one node in the block chain network,
Destination client no longer needs to upload the works list to the server.The server can pass through the works service provider
The node of management reads previously described list from block chain and deposits card transaction, deposits to extract in card transaction from the list of reading and make
Product list.
If any node in the block chain network is managed by the works service provider, target visitor
Family end can upload the works list to the server, alternatively, the server can request in the block chain network
Any node the works list is provided.
It, can also be true to target user using the intelligent contract mechanism in block chain network in this specification embodiment
Fixed works list carries out value assessment, and assessment result can deposit card in block chain, to take for succeeding target user and works
The income dispute of business quotient provides evidence.
Wherein, the assessment result can be purchasing price or be divided into ratio.The purchasing price is the works clothes
The price of payment needed for business quotient purchases the works list to the target user, it is described be divided into ratio be the target user with
The works service provider to sell the income obtained after the works list be divided into based on ratio.
Specifically, intelligent contract can be disposed in block chain network, record assessment logic in the intelligence contract;Institute
After commentary estimates logic for carrying out value analysis to the works list, determines purchasing price or be divided into ratio.
In this way, being deposited the list before card transaction is distributed to block chain in the block chain network, can call described
Intelligent contract is deposited the works list in card transaction according to list described in the assessment logical AND recorded in the intelligent contract, is determined
Purchasing price is divided into ratio, and by the purchasing price or be divided into ratio be written the list deposit card transaction transaction execute knot
Fruit (or transaction receipt).In turn, the list can be deposited card transaction and deposit card transaction with the list by the block chain network
Transaction implementing result be distributed to block chain.
It should be noted that purchasing price is higher in general, the value of works list is bigger;The value of works list
It is bigger, it is bigger to be divided into accounting corresponding to target user in ratio.
The mode that value analysis is carried out to works list, can specifically be designed according to actual needs.For example, can be with needle
To each works displayed in works list, the artistic valence of the works is analyzed using artistic value analysis model trained in advance
Value exports the corresponding artistic score value of the works.The sum of artistic score value of all works displayed in works list can characterize work
The artistic value of product list.Wherein, the artistic value analysis model, which can be, has marked artistic score value using a large amount of in advance
Works be sample, obtained using the training of Supervised machine learning algorithm.
In addition, in practical applications, user can be by client that works service provider provides from the clothes of works service provider
Business device buys works list.After user buys works list, server can establish the user identifier and works list of user
Corresponding relationship between List Identification.User can be carried out by the client of oneself from the works list that server obtains purchase
It uses.For example, user can obtain the song list of purchase from the server of music platform, then by the client of music platform
The song displayed in downloading song list.
In this specification embodiment, if being (the i.e. intelligence once bought out to the works list before works service provider
Energy contract has determined purchasing price, and works service provider pays purchasing price to target user), then works service provider goes out
The income for selling works list acquisition is generally not necessarily to be divided into target user.
If having arranged to be divided into ratio (i.e. intelligent contract, which has determined, is divided into ratio) with target user before works service provider,
So works service provider often sell a works list it is necessary to user's payment based on purchase works list the purchase amount of money to true
The target user for being set for product list is divided into.In practice, target user does not often know about the effective sale feelings of works list
Condition, therefore, works service provider may deliberately conceal the sales situation of works list, with reach be divided into less to target user or regardless of
At purpose.
For this purpose, in this specification embodiment, if the assessment logic is used to carry out value analysis to the works list
Afterwards, determination is divided into ratio, then the record of selling of works list sold each time is also required to carry out depositing card and publicity.
Specifically, in this specification embodiment, purchase client can receive the purchase request of purchase user's input;Its
In, List Identification of the purchase request comprising the works list and the purchase amount of money;The purchase client is the purchase
Client used by a user.Then, the purchase client can construct comprising the List Identification, the purchase amount of money with
The list purchase-transaction of the user identifier of the purchase user.Then, the purchase client mentions the list purchase-transaction
The block chain network is given, so that the list purchase-transaction is distributed to block chain by the block chain network.
So, the record that works service provider sells works list can also deposit card in block chain, can not distort.It determines
The target user of works list can sell record according to the works list in block chain and be divided into ratio, Xiang Zuopin service provider rope
Take Benefit share.
Further, it can also be recorded in intelligent contract and be divided into logic.Block chain network can be according in intelligent contract
Record the purchase amount of money being divided into logical AND list purchase-transaction, determine target user it is deserved be divided into the amount of money.Then will divide
At the transaction implementing result of amount of money write-in list purchase-transaction.Then, block chain network can purchase list purchase-transaction and list
The transaction implementing result for buying transaction is distributed to block chain.
Fig. 2 is a kind of structural representation for works list deposit system based on block chain that this specification embodiment provides
Figure, the client that user is provided by works service provider obtain works from the server of works service provider and use service;Works clothes
The client that business quotient provides also has the function of docking block chain network;
The system comprises clients and block chain network:
Destination client obtains the works list comprising at least one works mark that target user determines;The target
Client is client used in target user, and the target user is any user, and the works list is the target
What user determined after obtaining one or more works using service from the server;Building includes the works list and institute
Card transaction is deposited in the list for stating the user identifier of target user;Card transaction is deposited into the list and submits to the block chain network;
The list is deposited card transaction and is distributed to block chain by the block chain network.
Fig. 3 is a kind of structural representation that card device is deposited based on the works list of block chain that this specification embodiment provides
Figure, the client that user is provided by works service provider obtain works from the server of works service provider and use service;Works clothes
The client that business quotient provides also has the function of docking block chain network;
Described device is client used in target user, and the target user is any user;
Described device includes:
Module 301 is obtained, the works list comprising at least one works mark that target user determines is obtained;The works
List is that the target user determines after obtaining one or more works using service from the server;
Module 302 is constructed, the list of user identifier of the building comprising the works list and the target user is deposited card and handed over
Easily;
Module 303 is submitted, card transaction is deposited into the list and submits to the block chain network, so that the block chain network
Card transaction is deposited into the list and is distributed to block chain.
Fig. 4 is a kind of structural representation that card device is deposited based on the works list of block chain that this specification embodiment provides
Figure, the client that user is provided by works service provider obtain works from the server of works service provider and use service;Works clothes
The client that business quotient provides also has the function of docking block chain network;
Described device is any node in the block chain network, and described device includes:
List is deposited card transaction and is distributed to block chain by writing module 401;
Wherein, it is that destination client constructs and submits to the block chain network that card transaction is deposited in the list;The column
Table deposits the user identifier that card transaction includes works list and target user;The destination client is that the target user is used
Client, the target user is any user, and the works list is the target user to be obtained from the server
It is determined after one or more works use services;The works list is identified comprising at least one works.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, wherein processor realizes method shown in Fig. 1 when executing described program
Function.
Fig. 5 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,
The equipment may include: processor 1410, memory 1420, input/output interface 1430, communication interface 1440 and bus
1450.Wherein processor 1410, memory 1420, input/output interface 1430 and communication interface 1440 are real by bus 1450
The now communication connection inside equipment each other.
Processor 1410 can use general CPU (Central Processing Unit, central processing unit), micro- place
Reason 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 side provided by this specification embodiment
Case.
Memory 1420 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 1420 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 1420, and execution is called by processor 1410.
Input/output interface 1430 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 1440 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 1450 include an access, equipment various components (such as processor 1410, memory 1420, input/it is defeated
Outgoing interface 1430 and communication interface 1440) between transmit information.
It should be noted that although above equipment illustrates only processor 1410, memory 1420, input/output interface
1430, communication interface 1440 and bus 1450, but in the specific implementation process, which can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment
Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The function of method shown in Fig. 1 is realized when sequence is executed by processor.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, method, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for method and
For apparatus embodiments, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Embodiment of the method described above is only schematical, wherein described be used as separation unit
The module that part illustrates may or may not be physically separated, can be when implementing this specification example scheme
The function of each module is realized in the same or multiple software and or hardware.It can also select according to the actual needs therein
Some or all of the modules achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not making the creative labor
In the case where, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.