Specific embodiment
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 a kind of method for depositing card to webpage progress block chain by file acquisition that this specification embodiment provides
Flow diagram, comprising the following steps:
S100: access target webpage.
The executing subject of this method is usually the server that block chain deposits card side.Below, for convenience of description, with
In " deposit server " generation, refers to " server that block chain deposits card side ".
The block chain, which deposits card side, can be to provide the mechanism that block chain deposits card service.The block chain, which deposits card side, can be
Node in block chain network, externally accepts data and deposits card request, deposits the data that card request needs to deposit card based on data, so
Card transaction is deposited based on the data building data for needing to deposit card afterwards and is broadcasted, in addition, can also participate in each node in block chain network
Between common recognition, so as to will need to deposit card data write-in self maintained block chain (shared account book) in.
The block chain deposits card side and is also possible to not be the node in block chain network, and is responsible for agency and accepts data and deposit
Card request, after carrying out certain processing (such as carrying out screenshot and hashed to the webpage for needing to deposit card) to the data for needing to deposit card,
Processing result is submitted to block chain network to carry out depositing card.
Method shown in FIG. 1 can be applied to the scene of the copyright infringement preservation of evidence, also can be applied to other field
The scene of the preservation of evidence.Hereafter by by taking the scene of the copyright infringement preservation of evidence as an example, this programme is illustrated.Art technology
Personnel should be appreciated that under the scene of the preservation of evidence of other field, can also pass through text by method flow shown in FIG. 1
Part obtains realization and deposits card to the block chain of webpage.
S102: screenshot is carried out to the target webpage, obtains webpage capture;And to read the target webpage associated
File storage address, and obtained from the file storage address and can play file.
In this specification embodiment, deposit server, can be on the one hand to target webpage after access target webpage
Screenshot is carried out, webpage capture is obtained;On the other hand, the associated file storage address of the target webpage is read, so as to from described
File storage address, which obtains, can play file.
Wherein, the associated file storage address of the target webpage, refer to the target webpage for broadcasting it is playable
The file storage address of file.For the webpage for playing playable file, due to can play file
Storage size is larger, thus the webpage and do not include can play file itself, but only comprising can play file file storage
Address.When needing to play playable file, browser needs parse file storage address from the webpage, store from file
Address, which obtains, can play file and plays.
S104: by the webpage capture and the playable file process at target Hash.
In this specification embodiment, Hash is processed data into, refers to the input using data as hash algorithm, is breathed out
It is uncommon to calculate, obtain corresponding cryptographic Hash.
In step S104, deposit server directly can carry out Hash to the webpage capture and the playable file
It calculates, obtains target Hash.The webpage capture on the one hand can also be processed into screenshot Hash, on the other hand be broadcast described
File process is put into file Hash, finally, the screenshot Hash and the file Hash are processed into target Hash.
S106: block chain is carried out to the target Hash and deposits card.
It is well known that data can be considered as by the cryptographic Hash obtained after Hash operation with the unique identification data
" fingerprint " of the data.The data are once tampered, and the corresponding cryptographic Hash of the data can also change.Therefore, by the net
Page screenshot target Hash progress block chain corresponding with the playable file deposits card, is equivalent to the target webpage, described
The corresponding relationship of the used playable file played of target webpage and the target webpage and the playable file carries out
Block chain deposits card, provable following facts:
1, target webpage is necessary being and is not tampered;
2, can play file is necessary being and is not tampered;
3, target webpage is the webpage for playing the playable file.
Then, it by method shown in FIG. 1, is achieved that playable file is associated with, but not comprising can play text
The block chain of the webpage of part itself deposits card.
In this specification embodiment, if deposit server is not the node in block chain network, card service is deposited
The target Hash can be submitted to block chain network and carry out depositing card by device.
If deposit server is a block chain node in block chain network, deposit server can be based on
The target Hash constructs target transaction, the target transaction is then broadcast to other block chain nodes in addition to itself,
So that each block chain node is based on common recognition mechanism, the target transaction is stored in the block chain of itself.
It should be noted that transaction (transaction) described in this specification, refers to that user passes through block chain
Client creation, and need finally to be distributed to data in the distributed data base of block chain.
That is, 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 is
Refer to the value Transfer that user issues to block chain;For example, transaction can be use in traditional bit coin block chain network
Initiate in block chain one of family transfers accounts.And the transaction of broad sense refers to that one that user issues to block chain there is business to be intended to
Business datum;For example, operator can build alliance's chain based on actual business demand, alliance's chain deployment one is relied on
A bit it is unrelated with value Transfer it is other types of line service (for example, business of renting a house, vehicle scheduling business, settlement of insurance claim business,
Credit services, medical services etc.), and in this kind of alliance's chain, transaction, which can be one that user issues in alliance's chain, to be had
The service message or service request that business is intended to.
It does not but include the target network that can play file itself for being associated with playable file by method shown in Fig. 1
Page, block chain deposit card side and on the one hand carry out screenshot to the target webpage, obtain webpage capture;On the other hand the target is read
The file storage address of Webpage correlation, obtaining from the file storage address can play file.Then, to the webpage capture with
The playable file carries out Hash operation, obtains target Hash, and then the target Hash is distributed to block chain and is deposited
Card.This, which is equivalent to realize, deposits card to the block chain of the webpage comprising can play file.In this way, block chain deposits the server of card side
Do not need expend the time playing process of playable file is recorded, improve and deposit card efficiency.
In addition, the target webpage, which can be used for playing more than one, can play file, this is also meaned in practical application
, the target webpage is associated with more than one file storage address.
Then, deposit server can be directed to the associated each file storage address of the target webpage, deposit from this document
It stores up address and obtains playable file, as the corresponding playable file of this document storage address.Then, by the webpage capture with
The corresponding playable file process of the associated each file storage address of the target webpage is at target Hash.
Further, sometimes, the target webpage may include the link of more than one sub-pages, and user clicks any subnet
After page link, the sub-pages can be entered and link corresponding sub-pages, the sub-pages are for playing a playable file.
In this case, deposit server reads the associated more than one file storage address of target webpage, specifically
It can be for each sub-pages link for including in the target webpage, access sub-pages link, then read the subnet
Page links the file storage address for including in corresponding sub-pages.
Also, it is usually arranged in certain sequence due to sub-pages each in target webpage link, above-mentioned
Step S104 in, can according to sub-pages each in the target webpage link putting in order, the target webpage is associated with
The corresponding playable file of each file storage address be ranked up, obtain can play file sequence;Then, by the net
Page screenshot and the playable file series processing are at target Hash.
Wherein it is possible to which putting in order according to sub-pages each in target webpage link, the target webpage is associated with
The corresponding playable file of each file storage address be ranked up, specifically can be according to son each in the target webpage
Web page interlinkage puts in order, and links corresponding file storage address to each sub-pages and is ranked up;Then according to each text
Part storage address puts in order, and the corresponding playable file of each file storage address is ranked up.
Once will lead in this way, each putting in order for sub-pages link changes in target webpage based on target network
The target Hash that page obtains changes.Target Hash progress block chain is deposited into card, is not just corresponded to the target network
The content of page has carried out block chain and deposits card, also corresponds to the contents and distribution of the target webpage having carried out block chain to deposit card.
Further, deposit server breathes out the webpage capture with the playable file series processing at target
It is uncommon, it specifically can be and the webpage capture be processed into screenshot Hash;It can be broadcast for each of described playable file sequence
File is put, this be can play into file process into file Hash;According to putting in order for each playable file, to each playable file
Corresponding file Hash is ranked up, and obtains file Hash sequence;Based on the file Hash sequence, Mei Keer tree is constructed;It will
The screenshot Hash and the root Hash of the Mei Keer tree are processed into target Hash.
Fig. 2 is the Mei Keer tree schematic diagram based on the building of file Hash sequence that this specification embodiment provides.Such as Fig. 2 institute
Show, the root Hash of the Mei Keer tree based on file Hash sequence building can be with file Hash sequence described in unique identification, can
To be considered as " fingerprint " of the file Hash sequence.And the file Hash sequence, in the actually described target webpage, respectively may be used
The mapping of the arranging situation of the corresponding sub-pages link of played file.
Once the link of some sub-pages is replaced in the target webpage, it is necessary to re-start one to the target webpage
It is secondary to deposit card.Specifically, aforesaid way still can be used, new file Hash sequence is obtained based on current target webpage.Then,
Mei Keer tree is rebuild based on new file Hash sequence obtain new root Hash carry out depositing card.
It should be noted that the advantage stored by the way of Mei Keer tree to file Hash sequence is, work as mesh
When the content of mark webpage changes less, the variation of corresponding file Hash sequence also can be less, at this time, it is only necessary to by old plum gram
Cryptographic Hash in your tree on path relevant to variation, which recalculates, can be obtained new Mei Keer tree.
As shown in Figure 3, it is assumed that webpage sublink 3 is replaced webpage sublink 8, corresponding file Hash 3 in target webpage
Also it is just replaced by file Hash 8, then, then when rebuilding Mei Keer tree, it is only necessary to breathe out file in old Mei Keer tree
Uncommon 7 this path of 3- Hash 6- Hash is updated and (can be updated to file Hash 8- Hash 9- Hash 10).Finally, root is breathed out
It is uncommon to be updated to Hash 10.In this way, saving the computing resource of deposit server.
Fig. 4 is a kind of method for depositing card to webpage progress block chain by webpage monitoring that this specification embodiment provides
Flow diagram, comprising the following steps:
S400: the web page address that user sends is received.
Fig. 4 is a kind of method for depositing card to webpage progress block chain by webpage monitoring that this specification embodiment provides
Flow diagram, comprising the following steps:
S400: the web page address that user sends is received, and accesses the corresponding target webpage of the web page address.
The executing subject of this method is also possible to deposit server.
Method shown in Fig. 4 can be applied to the scene of the copyright infringement preservation of evidence, also can be applied to other field
The scene of the preservation of evidence.Hereafter by by taking the scene of the copyright infringement preservation of evidence as an example, this programme is illustrated.Art technology
Personnel should be appreciated that under the scene of the preservation of evidence of other field, can also pass through net by method flow shown in Fig. 4
Page monitoring, which is realized, deposits card to the block chain of webpage.
Under the scene of the copyright infringement preservation of evidence, the user is usually the copyright owner for holding works copyright.The use
Family can access deposit server when finding that some presents webpage (target webpage) of infringement works by browser, and
The web page address of target webpage is supplied to deposit server.
S402: label is extracted from the document of the target webpage.
It is well known that webpage be actually based on hypertext markup language (Hyper Text Markup Language,
HTML) document is loaded, and document described herein generally refers to the html document of webpage.In html document, use
The document content of different piece is marked in several html tags.The document content marked for each label, the label
Corresponding to an element of target webpage, for being loaded to the element.
In this specification embodiment, deposit server can extract the target webpage from the document of target webpage
Label.Specifically, deposit server can extract whole labels of the target webpage, can also extract the target webpage
Part labels.
Further, when deposit server extract be the part labels of the target webpage when, for deposit server
Extract each label, the label have the property that the document content that the label is marked have it is larger may be with the time
It elapses and changes (thus the necessity for having monitoring).
For example, will not be by deposit server the label for label web information (such as website domain name) of target webpage
Extract because site information be usually fixed it is constant.And the label for marking article to read number of target webpage generally can
It is extracted by deposit server, because article is read number and would generally be continued to increase.
S404: the label that the user specifies is determined from the label of extraction, as specified label;And obtain the use
What family was specified deposits card trigger condition.
S406: being monitored for the specified label, and works as and monitor the document content that the specified label is marked
When depositing card trigger condition described in satisfaction, block chain is carried out to the target webpage and deposits card.
In this specification embodiment, the user can register on deposit server in advance, and preassign
Several labels.Then, deposit server in step s 404, can determine that the user refers in advance directly from the label of extraction
Fixed label, as specified label.It should be noted that the quantity of specified label can be greater than 1.
It is selected in addition, the label of extraction can also be supplied to the user by deposit server.Specifically, it is assumed that use
Family accesses deposit server by browser, and deposit server can will show that the selection interface for having the label of extraction is supplied to institute
User is stated, and the selection interface is monitored;For each label shown in the selection interface, when monitoring the mark
When label are selected, which is determined as the label that the user specifies.
For example, each label of extraction can be arranged sequentially in the selection interface, have beside each label corresponding
Check box, the user select corresponding label by way of clicking check box.
Further, the behavioral data that the deposit server can be generated on the internet by analyzing the user,
Deduce the label that the user has greater probability that can select.For example, the deposit server finds that the user is one small
Say author, then, thus it is speculated that the user is interested in the label for marking article to read number of target webpage, that is to say, that
The user has greater probability that can select the label for marking article to read number.Then, selection of the deposit server in offer
In interface, the label that the user has greater probability that can select can be highlighted and (be such as highlighted), to prompt
User is stated to select.
In this specification embodiment, deposit server also needs to obtain that the user specifies deposits card trigger condition.Tool
Body, condition setting interface can be supplied to the user by deposit server, by the condition setting interface, described in reception
Card trigger condition is deposited in user's input.
In this specification embodiment, when the quantity of specified label is 1, deposit server can be directed to the specified mark
Label are monitored, and are met once depositing card trigger condition, just triggering deposits card operation to the block chain of target webpage.
Herein, the works of the target webpage for rendering are known as to the association works of the target webpage.It is described
The association works of target webpage can have more than one.Also, user described in the association works by the target webpage is closed
The works of note, referred to as specified associations works.
For example, the target webpage is the music list webpage of some music website, the association works of the target webpage
Copyright owner for musical works A, musical works B, musical works C, musical works B has found that the music website provides without permission
The download service of musical works B, then, the copyright owner of musical works B can request deposit server to carry out target webpage
Deposit card.The specified associations works of the target webpage are exactly musical works B, which can specify in the document of target webpage and use
In the label of label musical works B, as specified label.
Under the scene of the copyright infringement preservation of evidence, if the document content that the specified label is marked includes the mesh
ASSOCIATE STATISTICS amount corresponding to the specified associations works of webpage is marked, then, when the specified associations works institute of the target webpage is right
When the ASSOCIATE STATISTICS amount answered reaches any alternative amount in alternative duration set, it is meant that in the document that the specified label is marked
Hold and deposits card trigger condition described in meeting.
Wherein, the document content of the target webpage refers to the works that the target webpage is presented.The specified associations
The corresponding ASSOCIATE STATISTICS amount of works includes but is not limited to following: download, amount of reading, amount of collection, playback volume, the amount of thumbing up etc..
Each alternative amount in the alternative duration set can specify according to actual needs.Further, it is assumed that described alternative
Include N number of alternative amount in duration set, this N number of alternative amount can determine in the following manner:
If ASSOCIATE STATISTICS amount corresponding to the specified associations works of the target webpage is currently x, designated ratio is that y is (small
In 1);
By x* (y+1) as first alternative amount;
By x* (y+1)2As second alternative amount;
……
By x (y+1)NIt is alternatively measured as n-th.
As it can be seen that determining alternative duration set through the above way, it can actually realize that the every increase of the ASSOCIATE STATISTICS amount refers to
Certainty ratio (such as 20%) deposits card with regard to carrying out a block chain to target webpage in time.
For example, the corresponding ASSOCIATE STATISTICS amount of the specified associations works of target webpage is every to increase by 20%, it will trigger and deposit card clothes
Business device executes a block chain to target webpage and deposits card operation.In this way, copyright owner always can be to the maximal correlation of infringement works
Statistic carries out depositing card, to require the compensation for damage of greater amount as far as possible, farthest punishes target webpage
The owner.
It is described if the webpage relevant information that the specified label is marked is under the scene of the copyright infringement preservation of evidence
The specified associations works of target webpage or the corresponding copyright relevant information of the specified associations works, then, when the target network
When the specified associations works of page change, or, when the corresponding copyright relevant information of the specified associations works changes,
Mean that document content that the specified label marked deposits card trigger condition described in meeting.
Wherein, the corresponding copyright relevant information of the specified associations works refers to the version for identifying the specified associations works
The information of power state, such as authorization validity period information, the information whether authorized, works author information.Once copyright relevant information
Change, it is meant that conclusion that whether target webpage encroaches right needs reappraise, at this time, it may be necessary to again to target webpage into
Row block chain deposits card.
Specified associations works in the target webpage if there is a change, also imply that whether target webpage still encroaches right
Webpage needs reappraise, at this time, it may be necessary to which carrying out block chain to target webpage again deposits card.
Under the scene of the copyright infringement preservation of evidence, if the document content that the specified label is marked includes the mesh
The corresponding web placement information of specified associations works for marking webpage, then the specified associations works when the target webpage are corresponding
When web placement information changes, it is meant that deposit card trigger condition described in the document content foot that the specified label is marked.
Further, the corresponding web placement information of the specified associations works of the target webpage changes, and specifically may be used
To be: the corresponding web placement information of the specified associations works of the target webpage changes, also, first position with it is described
The close degree of reference position in target webpage is lower than the close degree of the second position and the reference position.Wherein, described
First position is to correspond to the specified associations in target webpage determining according to the web placement information before change, described
The position of works;The second position is right in target webpage determining according to the web placement information after change, described
The position of specified associations works described in Ying Yu.The reference position, which can according to need, to be set.
As an example it is assumed that target webpage is the row of the musical works of download top10 on certain music website for rendering
Row list, then, over time, on the target webpage, the ranking of top10 musical works, which is likely to occur, to be changed
Become.For copyright owner, ranking of the concern specified associations works (being authorized without copyright owner) in ranking list, specified associations
The download of works is higher, and ranking is more forward, copyright owner can demand compensation for damage it is higher.Thus it is possible to by target network
The upper left corner of page is set as reference position, and monitors variation of the corresponding position of specified associations works in target webpage.Work as prison
It measures the corresponding position of specified associations works to change, and (means that specified associations works are arranged when distance reference position is closer
Name rises), a block chain is carried out to target webpage and deposits card.
In addition, if the quantity of specified label is greater than 1, then deposit server can obtain institute for each specified label
State that user specifies correspond to the specified label deposit card trigger condition.Deposit server can be carried out for each specified label
Monitoring, once monitor the specified label of specified quantity meet itself it is corresponding deposit card trigger condition, just triggering to target webpage
Block chain deposit card operation.That is, the specified label of specified quantity meets if it exists: for the specified of the specified quantity
Each of label specifies label, and document content which is marked meets itself and corresponding deposits card trigger condition;Then
Triggering deposits card operation to the block chain of target webpage.
By method shown in Fig. 4, the server that block chain deposits card side can answer the request of copyright owner, on the one hand from target
The label for determining that copyright owner specifies in the document of webpage is monitored, and is on the other hand obtained the card of depositing that copyright owner specifies and is triggered item
Part.The server that block chain deposits card side ought monitor that the document content that the label that copyright owner specifies is marked deposits card touching described in meeting
When clockwork spring part, it will trigger and card operation once is deposited to the block chain of target webpage.In this way, copyright owner is by specified label and specifies
Card trigger condition is deposited, the server that the task of monitoring objective webpage transfers to block chain to deposit card side is executed.Copyright owner does not need to consume
Expense energy gives more sustained attention the dynamic of target webpage, more convenient for copyright owner.
In addition, deposit server can also obtain the user and specify at least one time in this specification embodiment
Point, and it is directed to each time point, when the time passing through the time point, block chain is carried out to the target webpage and deposits card.In this way, just
It realizes and card is deposited to the timing of the target webpage.
It should be noted that if user needs deposit server primary whenever carrying out by the specified period to target webpage
Block chain deposits card, then, above-mentioned each time point is actually that user specifies according to the specified period.
In addition, the user, which can reconfigure, deposits card strategy to target webpage in this specification embodiment.Specifically
Ground, deposit server can receive the reconfiguration instructions that the user sends, and in response to the reconfiguration instructions, extract again
The label of the corresponding target webpage of the web page address deposits card touching so that the user reassigns label and/or reassigns
Clockwork spring part.
It, can be with root after depositing card trigger condition obtain that the user specifies in addition, in this specification embodiment
Card trigger condition is deposited according to described, determines operator monitoring amount;According to the operator monitoring amount, payment amount is determined;To pay interface
It is supplied to the user, so that the user pays the payment amount.
Wherein, the operator monitoring amount and the payment amount are positively correlated.Payment gold is determined according to the operator monitoring amount
The standard of volume can deposit card side by block chain and be configured according to actual needs, and this specification is not specifically limited in this embodiment.
Further, when, there are when the infringement works of user's concern, which is exactly target webpage on target webpage
Specified associations works.No matter it is specified label that user, which specifies which label in the document of target webpage, be in fact all with
It is related to the concern demand of specified associations works.For example, the document content that the specified label is marked can be specified associations
The corresponding ASSOCIATE STATISTICS amount of works, copyright status information or specified associations works itself.In practice, once the specified associations are made
Product also need not just be monitored target webpage by after removing in target webpage.For a user, to target network
Specified label in page starts to monitor, until specified associations works are removed, can actually be considered during passing through
For evincible, specified associations works during surviving on target webpage, this is important evidence.
For this purpose, when start monitoring for the specified label, record starts to monitor in this specification embodiment
Time;And when the specified associations works for monitoring the target webpage are deleted, terminate monitoring, and record end is supervised
The time of survey.In turn, the target webpage pair can be generated according to the time for starting monitoring of record and the time of end monitoring
The duration evidence answered, and block chain is carried out to the duration evidence and deposits card.
Further, in step S406, if the specified associations works of the target webpage are that can play works (as regarded
Frequently, audio etc.), then block chain is carried out to target webpage and deposit card, specifically may is that
Screenshot is carried out to the target webpage, obtains webpage capture;The specified associations are read from the target webpage
The works storage address of works, and obtained from the works storage address and can play works;By the webpage capture and it is described can
It plays works and is processed into target Hash;The target Hash is distributed to block chain to carry out depositing card.
Based on method shown in FIG. 1, this specification embodiment also it is corresponding provide it is a kind of by file acquisition to webpage into
Row block chain deposits the device of card, as shown in Figure 5, comprising:
Access modules 501, access target webpage;
First processing module 502 carries out screenshot to the target webpage, obtains webpage capture;And read the target
The file storage address of Webpage correlation, and obtained from the file storage address and can play file;
Second processing module 503, by the webpage capture and the playable file process at target Hash;
Card module 504 is deposited, the target Hash is distributed to block chain and carries out depositing card.
The webpage capture is processed into screenshot Hash by the Second processing module 503, and, by the playable text
Part is processed into file Hash;The screenshot Hash and the file Hash are processed into target Hash.
The first processing module 501 reads the associated more than one file storage address of the target webpage;For institute
The associated each file storage address of target webpage is stated, obtaining from this document storage address can play file, deposit as this document
Store up the corresponding playable file in address;
The Second processing module 503, by the webpage capture and the associated each file storage address of the target webpage
Corresponding playable file process is at target Hash.
It is linked in the target webpage comprising more than one sub-pages;
The first processing module 502 links for each sub-pages for including in the target webpage, accesses the subnet
Page link;It reads the sub-pages and links the file storage address for including in corresponding sub-pages;
The Second processing module 503, according to putting in order for sub-pages each in target webpage link, to the mesh
The corresponding playable file of each file storage address of mark Webpage correlation is ranked up, and obtains can play file sequence;It will
The webpage capture and the playable file series processing are at target Hash.
The webpage capture is processed into screenshot Hash by the Second processing module 503;For the playable file sequence
Each of column can play file, this can play file process into file Hash;According to putting in order for each playable file,
The corresponding file Hash of each playable file is ranked up, file Hash sequence is obtained;Based on the file Hash sequence, structure
Build Mei Keer tree;The root Hash of the screenshot Hash and the Mei Keer tree is processed into target Hash.
It is described to deposit card module 504, it is based on the target Hash, constructs target transaction;The target transaction is broadcast to and is removed
The target transaction is stored in itself so that each block chain node is based on common recognition mechanism by other block chain nodes except itself
Block chain.
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 Fig. 1 and/or Fig. 4 when executing described program
The function of shown method.
Fig. 6 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,
The equipment may include: processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus
1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050
The now communication connection inside equipment each other.
Processor 1010 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 1020 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 1020 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 1020, and execution is called by processor 1010.
Input/output interface 1030 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 1040 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 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeated
Outgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface
1030, communication interface 1040 and bus 1050, 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 and/or Fig. 4 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 device 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.