WO2020088104A1 - Method and apparatus for performing block chain record-keeping on webpage by means of file acquisition - Google Patents

Method and apparatus for performing block chain record-keeping on webpage by means of file acquisition Download PDF

Info

Publication number
WO2020088104A1
WO2020088104A1 PCT/CN2019/104926 CN2019104926W WO2020088104A1 WO 2020088104 A1 WO2020088104 A1 WO 2020088104A1 CN 2019104926 W CN2019104926 W CN 2019104926W WO 2020088104 A1 WO2020088104 A1 WO 2020088104A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
webpage
target
hash
playable
Prior art date
Application number
PCT/CN2019/104926
Other languages
French (fr)
Chinese (zh)
Inventor
杨新颖
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2020088104A1 publication Critical patent/WO2020088104A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]

Definitions

  • the embodiments of the present specification relate to the field of information technology, and in particular, to a method and device for blockchain certificate deposit on a web page through file acquisition.
  • blockchain technology can be used to deposit evidence on web pages that present network evidence.
  • the blockchain depositor can, at the request of the copyright owner, deposit certificates on the infringing webpage (the webpage presenting the infringing work) to preserve the evidence for subsequent rights protection.
  • the server of the blockchain depositor can access the webpage presenting the network evidence, directly take a screenshot of the webpage and deposit the certificate of the obtained webpage screenshot.
  • the screenshot of the web page directly presents the whole picture of the network evidence, which realizes the preservation of the network evidence.
  • the presentation method is dynamic (usually it takes a period of time to display the full picture of the network evidence, which is called playable file in this article), then in this case, The screenshots do not show the full picture of the network evidence, and cannot preserve the network evidence. Therefore, the server of the blockchain depositor often needs to trigger the playback of network evidence after accessing the webpage, spend time to record the entire playback process on the webpage, and then deposit the obtained record file.
  • the embodiments of the present specification provide a method and device for blockchain document depositing on a webpage through file acquisition.
  • the technical solution is as follows:
  • a method for blockchain certificate deposit on a webpage through file acquisition including:
  • Blockchain certification is performed on the target hash.
  • a device for blockchain certificate deposit on a webpage through file acquisition including:
  • Visit the module visit the target webpage
  • the first processing module takes a screenshot of the target webpage to obtain a screenshot of the webpage; and, reads the file storage address associated with the target webpage, and obtains a playable file from the file storage address;
  • a second processing module processing the webpage screenshot and the playable file into a target hash
  • the certificate storage module performs block chain certificate storage on the target hash.
  • the technical solution provided by the embodiment of the present specification relates to a target webpage associated with a playable file but not containing the playable file itself.
  • the blockchain certificate depositor takes a screenshot of the target webpage to obtain a webpage screenshot; another
  • the file storage address associated with the target web page is read, and the playable file is obtained from the file storage address.
  • a hash operation is performed on the screenshot of the web page and the playable file to obtain a target hash, and then the target hash is released to the blockchain for certificate storage.
  • This is equivalent to realizing the blockchain certificate for the webpage containing the playable file.
  • the server of the blockchain depositor does not need to spend time to record the playback process of the playable file, which improves the efficiency of deposit certification.
  • FIG. 1 is a schematic flowchart of a method for performing blockchain certificate deposit on a webpage through file acquisition according to an embodiment of the present specification
  • FIG. 2 is a schematic structural diagram of a Merkel tree constructed based on a file hash sequence provided by an embodiment of this specification;
  • FIG. 3 is a schematic diagram of updating a Merkel tree based on a new file hash sequence provided by an embodiment of this specification
  • FIG. 4 is a schematic flowchart of a method for depositing a blockchain certificate on a webpage through webpage monitoring provided by an embodiment of the present specification
  • FIG. 5 also provides a structural schematic diagram of an apparatus for performing blockchain certificate deposit on a webpage through webpage monitoring according to an embodiment of this specification
  • FIG. 6 is a schematic structural diagram of a computer device for configuring the method of the embodiment of the present specification.
  • FIG. 1 is a schematic flowchart of a method for performing blockchain certificate deposit on a webpage through file acquisition according to an embodiment of the present specification, including the following steps:
  • the execution subject of this method is generally the server of the blockchain depositor.
  • certificate deposit server refers to "blockchain depositor's server”.
  • the blockchain certificate depositor may be an institution that provides blockchain certificate deposit service.
  • the blockchain certificate depositor may be a node in the blockchain network, which accepts data deposit request externally, obtains the data to be deposited based on the data deposit request, and then constructs a data deposit transaction based on the data that requires deposit and Broadcasting, in addition, will also participate in the consensus among the nodes in the blockchain network in order to write the data that needs to be stored in the blockchain (shared ledger) that it maintains.
  • the blockchain depositor may also be a node in the blockchain network, but is responsible for accepting the data deposit request from the agent and performing certain processing on the data that needs to be deposited (such as taking a screenshot of the webpage that needs to be deposited) And hashing), submit the processing results to the blockchain network for certificate storage.
  • the method shown in FIG. 1 can be applied to the scenario of copyright infringement preservation, and can also be applied to the scenario of evidence preservation in other fields.
  • the scenario of copyright infringement evidence preservation will be taken as an example to explain this solution.
  • Those skilled in the art should understand that in the scenario of evidence preservation in other fields, it is also possible to use the method flow shown in FIG. 1 to obtain the block chain certificate of the webpage through file acquisition.
  • S102 Take a screenshot of the target webpage to obtain a screenshot of the webpage; and, read a file storage address associated with the target webpage, and obtain a playable file from the file storage address.
  • the certificate storage server may take a screenshot of the target webpage on the one hand to obtain a screenshot of the webpage; Get playable file from storage address.
  • the file storage address associated with the target webpage refers to the file storage address of the playable file used for playing by the target webpage.
  • the webpage does not include the playable file itself, but only includes the file storage address of the playable file.
  • the browser needs to parse out the file storage address from the webpage, obtain the playable file from the file storage address and play it.
  • S104 Process the webpage screenshot and the playable file into a target hash.
  • processing the data into a hash means that the data is used as an input of a hash algorithm to perform a hash calculation to obtain a corresponding hash value.
  • the certificate storage server may directly hash the screenshot of the web page and the playable file to obtain the target hash.
  • the webpage screenshot may be processed into a screenshot hash
  • the playable file may be processed into a file hash
  • the screenshot hash and the file hash may be processed into a target hash.
  • S106 Perform blockchain certificate storage on the target hash.
  • the hash value obtained after the hash operation of the data can uniquely identify the data, and can be regarded as the "fingerprint" of the data.
  • the hash value corresponding to the data will also change. Therefore, performing block chain certification on the target hash corresponding to the screenshot of the webpage and the playable file is equivalent to the target webpage, the playable file used for playing by the target webpage, and the target webpage and The corresponding relationship of the playable files is verified by the blockchain, which can prove the following facts:
  • the target webpage is real and has not been tampered with
  • the playable file is real and has not been tampered with
  • the target webpage is a webpage for playing the playable file.
  • the certificate storage server may submit the target hash to the blockchain network for certificate storage.
  • the certificate deposit server may construct a target transaction based on the target hash, and then broadcast the target transaction to other blocks except itself Chain nodes, so that each blockchain node stores the target transaction into its own blockchain based on a consensus mechanism.
  • the transaction described in this specification refers to a piece of data that a user creates through a client of the blockchain and needs to be finally released to the distributed database of the blockchain.
  • the narrow sense of the transaction refers to a value transfer issued by the user to the blockchain; for example, in the traditional Bitcoin blockchain network, the transaction can be a transfer initiated by the user in the blockchain.
  • the generalized transaction refers to a piece of business data with business intent published by the user to the blockchain; for example, the operator can build an alliance chain based on actual business needs, relying on the alliance chain to deploy some other types that have nothing to do with value transfer Online business (for example, rental business, vehicle scheduling business, insurance claims business, credit service, medical service, etc.), and in this type of alliance chain, the transaction can be a business with business intent issued by the user in the alliance chain Message or business request.
  • the blockchain depositor takes a screenshot of the target webpage on the one hand to obtain a screenshot of the webpage; on the other hand reads Obtain a file storage address associated with the target webpage, and obtain a playable file from the file storage address. Subsequently, a hash operation is performed on the screenshot of the web page and the playable file to obtain a target hash, and then the target hash is released to the blockchain for certificate storage. This is equivalent to realizing the blockchain certificate for the webpage containing the playable file. In this way, the server of the blockchain depositor does not need to spend time to record the playback process of the playable file, which improves the efficiency of deposit certification.
  • the target webpage can be used to play more than one playable file, which also means that there is more than one file storage address associated with the target webpage.
  • the certificate storage server may obtain a playable file from the file storage address for each file storage address associated with the target webpage as the playable file corresponding to the file storage address. Then, the playable files corresponding to the storage addresses of the files associated with the screenshot of the webpage and the target webpage are processed into target hashes.
  • the target webpage may include more than one subwebpage link. After the user clicks any subwebpage link, the user may enter the subwebpage corresponding to the subwebpage link, and the subwebpage is used to play a playable file.
  • the certificate storage server reads more than one file storage address associated with the target webpage, which may specifically be for each subpage link included in the target webpage, visit the subpage link, and then read the subpage The storage address of the file contained in the sub-page corresponding to the link.
  • the target web page can be associated according to the arrangement order of the sub-page links in the target web page
  • the playable files corresponding to the storage addresses of the files are sorted respectively to obtain a playable file sequence; then, the webpage screenshot and the playable file sequence are processed into a target hash.
  • the playable files corresponding to the storage addresses of the files associated with the target webpage may be sorted according to the arrangement order of the links of the subpages in the target webpage, which may specifically be based on the links of the subpages in the target webpage Sort the file storage addresses corresponding to the links of each sub-page; and then sort the playable files corresponding to the file storage addresses according to the order of the file storage addresses.
  • Blockchain certification of the target hash is not only equivalent to blockchain certification of the content of the target webpage, but also blockchain certification of the content layout of the target webpage.
  • the certificate storage server processes the webpage screenshot and the playable file sequence into a target hash, which may specifically be processing the webpage screenshot into a screenshot hash; for each of the playable file sequences Playable files, process the playable files into file hashes; sort the file hashes corresponding to the playable files according to the order of the playable files to obtain a file hash sequence; based on the file hash sequence , Construct a Merkel tree; process the screenshot hash and the root hash of the Merkel tree into a target hash.
  • FIG. 2 is a schematic diagram of a Merkel tree constructed based on a file hash sequence provided by an embodiment of this specification.
  • the root hash of the Merkle tree constructed based on the file hash sequence can uniquely identify the file hash sequence, and can be regarded as a “fingerprint” of the file hash sequence.
  • the file hash sequence is actually a mapping of the arrangement of the links of the subpages corresponding to the playable files in the target webpage.
  • the target web page needs to be re-registered. Specifically, the above method will still be used to obtain a new file hash sequence based on the current target webpage. Then, the Merkel tree is reconstructed based on the new file hash sequence to obtain a new root hash for verification.
  • the advantage of using the Merkel tree to store the file hash sequence is that when the content of the target web page changes less, the corresponding file hash sequence will also change less. At this time, only The new Merkel tree can be obtained by recalculating the hash value on the path related to the change in the old Merkel tree.
  • FIG. 4 is a schematic flow chart of a method for depositing a blockchain on a webpage through webpage monitoring provided by an embodiment of the present specification, including the following steps:
  • S400 Receive a webpage address sent by a user, and access a target webpage corresponding to the webpage address.
  • the execution subject of this method may also be a certificate deposit server.
  • the method shown in FIG. 4 can be applied to the scenario of copyright infringement preservation, and can also be applied to the scenario of evidence preservation in other fields.
  • the scenario of copyright infringement evidence preservation will be taken as an example to explain this solution.
  • Those skilled in the art should understand that, in the scenario of evidence preservation in other fields, it is also possible to deposit certificates on the blockchain of the webpage through the webpage monitoring through the method flow shown in FIG. 4.
  • the user In the context of preservation of copyright infringement evidence, the user is generally the copyright owner holding the copyright of the work.
  • a webpage target webpage
  • the user can access the certificate storage server through a browser and provide the webpage address of the target webpage to the certificate storage server.
  • HTML documents As we all know, web pages are actually loaded based on HyperText Markup Language (HTML) documents.
  • HTML documents generally refer to HTML documents of webpages.
  • HTML documents several HTML tags are used to mark different parts of the document content. For each tag, the document content marked by the mark corresponds to an element of the target webpage, and is used to load the element.
  • the certificate storage server may extract the tag of the target webpage from the document of the target webpage. Specifically, the certificate storage server may extract all tags of the target webpage, or may extract part of tags of the target webpage.
  • the tag has the following properties: the content of the document marked by the tag is more likely to change over time Changes occur over time (thus monitoring is necessary).
  • the tags used to mark website information (such as website domain name) of the target webpage are generally not extracted by the certificate storage server, because the website information is usually fixed.
  • the tags used to mark the number of article readings of the target webpage are generally extracted by the certificate storage server, because the number of article readings usually continues to increase.
  • S404 Determine the label specified by the user from the extracted labels as the specified label; and obtain the trigger condition for certificate deposit specified by the user.
  • S406 Monitor the designated tag, and when it is detected that the content of the document marked by the designated tag satisfies the trigger condition for deposit certification, perform blockchain deposit certification on the target webpage.
  • the user may register in the certificate storage server in advance, and specify a number of tags in advance. Therefore, in step S404, the certificate storage server may directly determine the label designated by the user in advance as the designated label from the extracted labels. It should be noted that the number of specified tags can be greater than one.
  • the certificate storage server may also provide the extracted label to the user for selection. Specifically, assuming that the user accesses the certificate storage server through a browser, the certificate storage server may provide the user with a selection interface displaying the extracted tags, and monitor the selection interface; for each displayed in the selection interface Tags, when it is detected that the tag is selected, the tag is determined as the tag specified by the user.
  • the extracted labels may be arranged in sequence, and each label has a corresponding check box next to it. The user selects the corresponding label by clicking the check box.
  • the certificate storage server may analyze the behavior data generated by the user on the Internet to infer a label that the user has a higher probability to select. For example, if the certificate storage server finds that the user is a novel author, then it is presumed that the user is interested in the tag used to mark the number of article readings of the target webpage, that is, the user has a higher probability Select the tag used to mark the number of articles read. Therefore, in the provided selection interface, the certificate storage server may highlight (eg, highlight) the label that the user has a high probability to select to prompt the user to make a selection.
  • the certificate storage server also needs to obtain the certificate storage trigger condition specified by the user.
  • the certificate storage server may provide a condition setting interface to the user, and receive the certificate storage trigger condition input by the user through the condition setting interface.
  • the certificate deposit server may monitor the designated tags, and once the deposit trigger condition is met, the blockchain deposit operation on the target webpage is triggered.
  • the work used for presenting the target webpage is referred to as the related work of the target webpage.
  • the related work of the target webpage There may be more than one related works of the target webpage.
  • the work concerned by the user among the related works of the target webpage is called a designated related work.
  • the target webpage is a music list webpage of a music website
  • the related works of the target webpage are music work A, music work B, music work C, and the copyright owner of music work B finds that the music website is unauthorized
  • the download service of music piece B is provided, then, the copyright owner of the music piece B can request the certificate deposit server to deposit the certificate to the target webpage.
  • the designated related work of the target webpage is music work B, and the copyright owner will designate the tag used to mark the music work B in the document of the target webpage as the designated label.
  • the document content marked by the designated tag includes relevant statistics corresponding to the designated related work of the target webpage, then when the relevant content of the designated related work of the target webpage When the statistical quantity reaches any candidate quantity in the candidate quantity set, it means that the content of the document marked by the specified label satisfies the trigger condition for certificate deposit.
  • the document content of the target webpage refers to the works presented by the target webpage.
  • the relevant statistics corresponding to the designated related works include, but are not limited to the following: downloads, readings, collections, playbacks, likes, etc.
  • Each candidate amount in the candidate amount set may be specified according to actual needs. Further, assuming that the candidate quantity set includes N candidate quantities, the N candidate quantities may be determined in the following manner:
  • every 20% increase in the relevant statistics corresponding to the designated related works of the target webpage will trigger the certificate deposit server to perform a blockchain certificate deposit operation on the target webpage.
  • the copyright owner can always document the maximum relevant statistics of the infringing work in order to request as much damage compensation as possible and maximize the punishment of the owner of the target page.
  • the copyright-related information corresponding to the designated related work refers to information that identifies the copyright status of the designated related work, such as authorization validity period information, authorization information, and work author information.
  • the target webpage needs to be re-blockchained for certificate deposit.
  • the document content marked by the designated tag includes the webpage location information corresponding to the designated associated work of the target webpage, then the webpage location information corresponding to the designated associated work of the target webpage occurs When it is changed, it means that the content of the document marked by the specified tag is sufficient for the trigger condition for the deposit.
  • the location information of the webpage corresponding to the designated associated work of the target webpage changes, which may specifically be: the location information of the webpage corresponding to the designated associated work of the target webpage changes, and the first location is in the target webpage
  • the similarity of the reference position of is lower than that of the second position and the reference position.
  • the first position is determined according to the position information of the webpage before the change, and corresponds to the position of the designated associated work in the target webpage;
  • the second position is based on the position information of the webpage after the change
  • the reference position can be set as required.
  • the target webpage is used to present a ranking of top ten downloaded music works on a music website
  • the ranking of top10 musical works on the target web page may change.
  • they are concerned about the ranking of designated related works (unauthorized by the copyright owner) in the ranking list.
  • a block chain certificate is deposited on the target webpage.
  • the certificate storage server may acquire, for each designated tag, the deposit triggering conditions specified by the user corresponding to the designated tag.
  • the certificate storage server can monitor each specified tag, and once the specified number of specified tags meets the corresponding trigger condition of the certificate deposit, it triggers the blockchain certificate deposit operation on the target webpage. That is to say, if there is a specified number of specified tags satisfying: for each specified tag in the specified number of specified tags, the document content marked by the specified tag satisfies the corresponding triggering condition for deposit proof; then the target webpage is triggered The blockchain deposit operation.
  • the blockchain depositor ’s server can, at the request of the copyright owner, determine the tag designated by the copyright owner from the target webpage document for monitoring, and on the other hand obtain the deposit designated by the copyright owner. Trigger conditions.
  • the server of the blockchain depositor detects that the content of the document marked by the label specified by the copyright owner meets the trigger condition of deposit deposit, it will trigger a blockchain deposit operation on the target webpage.
  • the copyright owner assigns the task of monitoring the target webpage to the server of the blockchain depositor through the specified tag and the specified trigger condition of the certificate deposit.
  • the copyright owner does not need to spend energy to continuously pay attention to the dynamics of the target page, which is more convenient for the copyright owner.
  • the certificate storage server may also acquire at least one time point specified by the user, and for each time point, when the time passes the time point, perform block chain certificate storage on the target webpage . In this way, timed deposit of the target webpage is achieved.
  • each of the above time points is actually specified by the user according to the specified period.
  • the user may reconfigure the certificate storage strategy for the target webpage.
  • the certificate storage server may receive the reconfiguration instruction sent by the user, and in response to the reconfiguration instruction, re-extract the label of the target webpage corresponding to the webpage address, so that the user may reassign the label and / or Specify the trigger condition for deposit.
  • the monitoring workload can also be determined according to the trigger condition for certificate deposit; the payment amount can be determined according to the workload; A payment interface is provided to the user so that the user can pay the payment amount.
  • the monitoring workload is positively related to the payment amount.
  • the standard for determining the payment amount according to the monitoring workload can be set by the blockchain depositor according to actual needs, which is not specifically limited in this specification.
  • the infringing work is the designated related work of the target webpage.
  • the user is actually related to the need to pay attention to the designated related works.
  • the document content marked by the specified tag may be related statistics corresponding to the specified related work, copyright status information, or the specified related work itself.
  • the time when the monitoring starts is recorded; and, when the designated related work monitored by the target webpage is deleted, the monitoring is ended, and the recording ends Monitoring time. Furthermore, according to the recorded start monitoring time and the end monitoring time, the survival period evidence corresponding to the target webpage can be generated, and the blockchain survival certificate can be performed on the survival period evidence.
  • step S406 if the designated associated work of the target webpage is a playable work (such as video, audio, etc.), then the blockchain certification of the target webpage may be specifically:
  • the embodiment of the present specification also correspondingly provides a block chain certificate depositing device for web pages through file acquisition, as shown in FIG. 5, including:
  • Access module 501 to access the target web page
  • the first processing module 502 takes a screenshot of the target webpage to obtain a screenshot of the webpage; and reads the file storage address associated with the target webpage and obtains a playable file from the file storage address;
  • the certificate storage module 504 publishes the target hash to the blockchain for certificate storage.
  • the second processing module 503 processes the web page screenshot into a screenshot hash, and processes the playable file into a file hash; processes the screenshot hash and the file hash into a target hash .
  • the first processing module 501 reads more than one file storage address associated with the target webpage; for each file storage address associated with the target webpage, obtains a playable file from the file storage address as the file storage address The corresponding playable file;
  • the second processing module 503 processes the playable files corresponding to the storage addresses of the files associated with the screenshot of the webpage and the target webpage into target hashes.
  • the target webpage contains more than one sub-webpage link
  • the first processing module 502 for each sub-page link included in the target web page, accesses the sub-page link; reads the file storage address contained in the sub-page corresponding to the sub-page link;
  • the second processing module 503 sorts the playable files corresponding to the storage addresses of the files associated with the target webpage respectively according to the arrangement order of the links of the subpages in the target webpage to obtain the playable file sequence;
  • the webpage screenshot and the playable file sequence are processed into a target hash.
  • the second processing module 503 processes the webpage screenshot into a screenshot hash; for each playable file in the playable file sequence, processes the playable file into a file hash; according to each playable file Sorting order of the files, sorting the file hash corresponding to each playable file to obtain a file hash sequence; building a Merkel tree based on the file hash sequence; and hashing the screenshot with the Merkel tree The root hash is processed into the target hash.
  • the certificate storage module 504 constructs a target transaction based on the target hash; broadcasts the target transaction to other blockchain nodes other than itself, so that each blockchain node bases the target on the consensus mechanism The transaction is deposited into its own blockchain.
  • Embodiments of this specification also provide a computer device, which includes at least a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the program to implement FIG. 1 and / or FIG. The function of the method shown in 4.
  • FIG. 6 shows a schematic diagram of a more specific hardware structure of a computing device provided by an embodiment of the present specification.
  • the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050.
  • the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 realize the communication connection between the devices within the device through the bus 1050.
  • the processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. Programs to implement the technical solutions provided by the embodiments of this specification.
  • the memory 1020 may be implemented in the form of ROM (Read Only Memory, Read Only Memory), RAM (Random Access Memory, Random Access Memory), static storage devices, and dynamic storage devices.
  • the memory 1020 may store an operating system and other application programs. When the technical solutions provided by the embodiments of the present specification are implemented by software or firmware, related program codes are stored in the memory 1020 and are called and executed by the processor 1010.
  • the input / output interface 1030 is used to connect input / output modules to realize information input and output.
  • the input / output / module can be configured as a component in the device (not shown in the figure), or can be externally connected to the device to provide corresponding functions.
  • the input device may include a keyboard, mouse, touch screen, microphone, various sensors, etc.
  • the output device may include a display, a speaker, a vibrator, an indicator light, and the like.
  • the communication interface 1040 is used to connect a communication module (not shown in the figure) to implement communication interaction between the device and other devices.
  • the communication module can realize communication through a wired method (such as USB, network cable, etc.), and can also realize communication through a wireless method (such as mobile network, WIFI, Bluetooth, etc.).
  • the bus 1050 includes a path for transferring information between various components of the device (eg, processor 1010, memory 1020, input / output interface 1030, and communication interface 1040).
  • the device may also include necessary for normal operation Other components.
  • the above-mentioned device may also include only the components necessary to implement the solutions of the embodiments of the present specification, rather than including all the components shown in the figures.
  • Embodiments of this specification also provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the functions of the method shown in FIG. 1 and / or FIG. 4.
  • Computer-readable media including permanent and non-permanent, removable and non-removable media, can store information by any method or technology.
  • the information may be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
  • the system, method, module or unit explained in the above embodiments may be implemented by a computer chip or entity, or by a product with a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game control Desk, tablet computer, wearable device, or any combination of these devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are a method and an apparatus for performing block chain record-keeping on a webpage by means of file acquisition. For a target webpage having a link to a playback file but not containing a playback file itself, a block chain record-keeping party takes a screenshot of the target webpage to obtain a webpage screenshot, and reads a file storage address linked to the target webpage to acquire the playback file from the file storage address. Thereafter, the block chain record-keeping party performs a hash operation on the webpage screenshot and the playback file to obtain a target hash, and then publishes the target hash to a block chain for record-keeping.

Description

一种通过文件获取对网页进行区块链存证的方法及装置Method and device for depositing blockchain certificate on webpage through file acquisition 技术领域Technical field
本说明书实施例涉及信息技术领域,尤其涉及一种通过文件获取对网页进行区块链存证的方法及装置。The embodiments of the present specification relate to the field of information technology, and in particular, to a method and device for blockchain certificate deposit on a web page through file acquisition.
背景技术Background technique
目前,出于网络证据保全的需要,可以借助区块链技术,对呈现了网络证据的网页进行存证。例如,在版权保护领域,区块链存证方可以应版权人的请求,对侵权网页(呈现了侵权作品的网页)进行存证,为后续的维权环节保全证据。At present, due to the need for the preservation of network evidence, blockchain technology can be used to deposit evidence on web pages that present network evidence. For example, in the field of copyright protection, the blockchain depositor can, at the request of the copyright owner, deposit certificates on the infringing webpage (the webpage presenting the infringing work) to preserve the evidence for subsequent rights protection.
假设网络证据是文本、图片等类型的文件,呈现方式静态化,那么,网络证据本身就是网页内容的一部分。此时,应版权人的请求,区块链存证方的服务器可以访问呈现了网络证据的网页,直接对该网页进行截图并对得到的网页截图存证。网页截图直接呈现了网络证据的全貌,实现了网络证据保全。Assuming that the network evidence is a file of type text, picture, etc., and the presentation mode is static, then the network evidence itself is part of the content of the web page. At this time, at the request of the copyright owner, the server of the blockchain depositor can access the webpage presenting the network evidence, directly take a screenshot of the webpage and deposit the certificate of the obtained webpage screenshot. The screenshot of the web page directly presents the whole picture of the network evidence, which realizes the preservation of the network evidence.
然而,假设网络证据是音频、视频等类型的文件,呈现方式动态化(通常需要播放一段时间才能呈现出网络证据的全貌,本文将之称为可播放文件),那么,这种情况下,网页截图并不能呈现出网络证据的全貌,无法实现网络证据保全。因此,区块链存证方的服务器往往需要在访问网页后触发网络证据的播放,耗费时间对网页上的整个播放过程进行记录,然后对得到的记录文件进行存证。However, assuming that the network evidence is an audio, video and other types of files, the presentation method is dynamic (usually it takes a period of time to display the full picture of the network evidence, which is called playable file in this article), then in this case, The screenshots do not show the full picture of the network evidence, and cannot preserve the network evidence. Therefore, the server of the blockchain depositor often needs to trigger the playback of network evidence after accessing the webpage, spend time to record the entire playback process on the webpage, and then deposit the obtained record file.
基于现有技术,需要一种效率更高的网页存证方法。Based on the existing technology, there is a need for a more efficient method of depositing web pages.
发明内容Summary of the invention
为了解决现有的网页存证方法较为低效的问题,本说明书实施例提供一种通过文件获取对网页进行区块链存证的方法及装置,技术方案如下:In order to solve the problem that the existing webpage certificate depositing method is relatively inefficient, the embodiments of the present specification provide a method and device for blockchain document depositing on a webpage through file acquisition. The technical solution is as follows:
根据本说明书实施例的第1方面,提供一种通过文件获取对网页进行区块链存证的方法,包括:According to a first aspect of the embodiments of the present specification, a method for blockchain certificate deposit on a webpage through file acquisition is provided, including:
访问目标网页;Visit the landing page;
对所述目标网页进行截图,得到网页截图;以及,读取所述目标网页关联的文件存储地址,并从所述文件存储地址获取可播放文件;Take a screenshot of the target webpage to obtain a webpage screenshot; and, read the file storage address associated with the target webpage, and obtain a playable file from the file storage address;
将所述网页截图与所述可播放文件处理成目标哈希;Processing the screenshot of the webpage and the playable file into a target hash;
对所述目标哈希进行区块链存证。Blockchain certification is performed on the target hash.
根据本说明书实施例的第2方面,提供一种通过文件获取对网页进行区块链存证的装置,包括:According to a second aspect of the embodiments of the present specification, there is provided a device for blockchain certificate deposit on a webpage through file acquisition, including:
访问模块,访问目标网页;Visit the module, visit the target webpage;
第一处理模块,对所述目标网页进行截图,得到网页截图;以及,读取所述目标网页关联的文件存储地址,并从所述文件存储地址获取可播放文件;The first processing module takes a screenshot of the target webpage to obtain a screenshot of the webpage; and, reads the file storage address associated with the target webpage, and obtains a playable file from the file storage address;
第二处理模块,将所述网页截图与所述可播放文件处理成目标哈希;A second processing module, processing the webpage screenshot and the playable file into a target hash;
存证模块,对所述目标哈希进行区块链存证。The certificate storage module performs block chain certificate storage on the target hash.
本说明书实施例所提供的技术方案,对于关联有可播放文件,却并未包含可播放文件本身的目标网页,区块链存证方一方面对所述目标网页进行截图,得到网页截图;另一方面读取所述目标网页关联的文件存储地址,从所述文件存储地址获取可播放文件。随后,对所述网页截图与所述可播放文件进行哈希运算,得到目标哈希,进而将所述目标哈希发布至区块链进行存证。这相当于实现了对包含可播放文件的网页的区块链存证。如此,区块链存证方的服务器不需要耗费时间对可播放文件的播放过程进行记录,提升了存证效率。The technical solution provided by the embodiment of the present specification relates to a target webpage associated with a playable file but not containing the playable file itself. On the one hand, the blockchain certificate depositor takes a screenshot of the target webpage to obtain a webpage screenshot; another On the one hand, the file storage address associated with the target web page is read, and the playable file is obtained from the file storage address. Subsequently, a hash operation is performed on the screenshot of the web page and the playable file to obtain a target hash, and then the target hash is released to the blockchain for certificate storage. This is equivalent to realizing the blockchain certificate for the webpage containing the playable file. In this way, the server of the blockchain depositor does not need to spend time to record the playback process of the playable file, which improves the efficiency of deposit certification.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书实施例。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the embodiments of the present specification.
此外,本说明书实施例中的任一实施例并不需要达到上述的全部效果。In addition, any of the embodiments of the present specification does not need to achieve all the above-mentioned effects.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书实施例中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the specification or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some of the embodiments described in the embodiments of this specification, and those of ordinary skill in the art can also obtain other drawings based on these drawings.
图1是本说明书实施例提供的一种通过文件获取对网页进行区块链存证的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for performing blockchain certificate deposit on a webpage through file acquisition according to an embodiment of the present specification;
图2是本说明书实施例提供的基于文件哈希序列构建的梅克尔树的结构示意图;2 is a schematic structural diagram of a Merkel tree constructed based on a file hash sequence provided by an embodiment of this specification;
图3是本说明书实施例提供的基于新文件哈希序列更新梅克尔树的示意图;3 is a schematic diagram of updating a Merkel tree based on a new file hash sequence provided by an embodiment of this specification;
图4是本说明书实施例提供的一种通过网页监测对网页进行区块链存证的方法的流程示意图;4 is a schematic flowchart of a method for depositing a blockchain certificate on a webpage through webpage monitoring provided by an embodiment of the present specification;
图5本说明书实施例还对应提供了一种通过网页监测对网页进行区块链存证的装置的结构示意图;FIG. 5 also provides a structural schematic diagram of an apparatus for performing blockchain certificate deposit on a webpage through webpage monitoring according to an embodiment of this specification;
图6是用于配置本说明书实施例方法的一种计算机设备的结构示意图。6 is a schematic structural diagram of a computer device for configuring the method of the embodiment of the present specification.
具体实施方式detailed description
为了使本领域技术人员更好地理解本说明书实施例中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行详细地描述,显然,所描述的实施例仅仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail in conjunction with the drawings in the embodiments of the present specification. Obviously, the described implementation Examples are only a part of the embodiments of this specification, but not all the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art should fall within the scope of protection.
以下结合附图,详细说明本说明书各实施例提供的技术方案。The technical solutions provided by the embodiments of this specification will be described in detail below in conjunction with the drawings.
图1是本说明书实施例提供的一种通过文件获取对网页进行区块链存证的方法的流程示意图,包括以下步骤:FIG. 1 is a schematic flowchart of a method for performing blockchain certificate deposit on a webpage through file acquisition according to an embodiment of the present specification, including the following steps:
S100:访问目标网页。S100: Visit the target webpage.
本方法的执行主体一般是区块链存证方的服务器。在后文中,为了描述的方便,以“存证服务器”代指“区块链存证方的服务器”。The execution subject of this method is generally the server of the blockchain depositor. In the following, for convenience of description, "certificate deposit server" refers to "blockchain depositor's server".
所述区块链存证方可以是提供区块链存证服务的机构。所述区块链存证方可以是区块链网络中的节点,对外受理数据存证请求,基于数据存证请求获取需要存证的数据,然后基于需要存证的数据构建数据存证交易并广播,此外,还会参与区块链网络中的各节点间的共识,以便将需要存证的数据写入自身维护的区块链(共享账本)中。The blockchain certificate depositor may be an institution that provides blockchain certificate deposit service. The blockchain certificate depositor may be a node in the blockchain network, which accepts data deposit request externally, obtains the data to be deposited based on the data deposit request, and then constructs a data deposit transaction based on the data that requires deposit and Broadcasting, in addition, will also participate in the consensus among the nodes in the blockchain network in order to write the data that needs to be stored in the blockchain (shared ledger) that it maintains.
所述区块链存证方也可以是不是区块链网络中的节点,而是负责代理受理数据存证请求,对需要存证的数据进行一定的处理(如对需要存证的网页进行截图并哈希化)后,将处理结果提交给区块链网络进行存证。The blockchain depositor may also be a node in the blockchain network, but is responsible for accepting the data deposit request from the agent and performing certain processing on the data that needs to be deposited (such as taking a screenshot of the webpage that needs to be deposited) And hashing), submit the processing results to the blockchain network for certificate storage.
图1所示的方法可以应用于版权侵权证据保全的场景,也可以应用于其他领域的证据保全的场景。下文将以版权侵权证据保全的场景为例,对本方案进行说明。本领域技术人员应当理解,在其他领域的证据保全的场景下,也可以通过图1所示的方法流程, 通过文件获取实现对网页的区块链存证。The method shown in FIG. 1 can be applied to the scenario of copyright infringement preservation, and can also be applied to the scenario of evidence preservation in other fields. In the following, the scenario of copyright infringement evidence preservation will be taken as an example to explain this solution. Those skilled in the art should understand that in the scenario of evidence preservation in other fields, it is also possible to use the method flow shown in FIG. 1 to obtain the block chain certificate of the webpage through file acquisition.
S102:对所述目标网页进行截图,得到网页截图;以及,读取所述目标网页关联的文件存储地址,并从所述文件存储地址获取可播放文件。S102: Take a screenshot of the target webpage to obtain a screenshot of the webpage; and, read a file storage address associated with the target webpage, and obtain a playable file from the file storage address.
在本说明书实施例中,存证服务器在访问目标网页之后,可以一方面对目标网页进行截图,得到网页截图;另一方面,读取所述目标网页关联的文件存储地址,以便从所述文件存储地址获取可播放文件。In the embodiment of the present specification, after accessing the target webpage, the certificate storage server may take a screenshot of the target webpage on the one hand to obtain a screenshot of the webpage; Get playable file from storage address.
其中,所述目标网页关联的文件存储地址,是指所述目标网页用于播放的可播放文件的文件存储地址。一般而言,对于用于播放可播放文件的网页而言,由于可播放文件的存储大小较大,因此该网页并不包含可播放文件本身,而是仅包含可播放文件的文件存储地址。当需要播放可播放文件时,浏览器需要从该网页中解析出文件存储地址,从文件存储地址获取可播放文件并播放。The file storage address associated with the target webpage refers to the file storage address of the playable file used for playing by the target webpage. Generally speaking, for a webpage used for playing a playable file, since the storage size of the playable file is large, the webpage does not include the playable file itself, but only includes the file storage address of the playable file. When the playable file needs to be played, the browser needs to parse out the file storage address from the webpage, obtain the playable file from the file storage address and play it.
S104:将所述网页截图与所述可播放文件处理成目标哈希。S104: Process the webpage screenshot and the playable file into a target hash.
在本说明书实施例中,将数据处理成哈希,是指以数据为哈希算法的输入,进行哈希计算,得到相应的哈希值。In the embodiment of the present specification, processing the data into a hash means that the data is used as an input of a hash algorithm to perform a hash calculation to obtain a corresponding hash value.
在步骤S104中,存证服务器可以直接对所述网页截图与所述可播放文件进行哈希计算,得到目标哈希。也可以一方面将所述网页截图处理成截图哈希,另一方面将所述可播放文件处理成文件哈希,最后,将所述截图哈希与所述文件哈希处理成目标哈希。In step S104, the certificate storage server may directly hash the screenshot of the web page and the playable file to obtain the target hash. On the one hand, the webpage screenshot may be processed into a screenshot hash, on the other hand, the playable file may be processed into a file hash, and finally, the screenshot hash and the file hash may be processed into a target hash.
S106:对所述目标哈希进行区块链存证。S106: Perform blockchain certificate storage on the target hash.
众所周知,数据经过哈希运算之后得到的哈希值,可以唯一标识该数据,可以视为该数据的“指纹”。该数据一旦被篡改,该数据对应的哈希值也会发生改变。因此,将所述网页截图与所述可播放文件对应的目标哈希进行区块链存证,相当于对所述目标网页、所述目标网页所用于播放的可播放文件以及所述目标网页与所述可播放文件的对应关系进行了区块链存证,可证明以下事实:As we all know, the hash value obtained after the hash operation of the data can uniquely identify the data, and can be regarded as the "fingerprint" of the data. Once the data is tampered with, the hash value corresponding to the data will also change. Therefore, performing block chain certification on the target hash corresponding to the screenshot of the webpage and the playable file is equivalent to the target webpage, the playable file used for playing by the target webpage, and the target webpage and The corresponding relationship of the playable files is verified by the blockchain, which can prove the following facts:
1、目标网页是真实存在且未经篡改的;1. The target webpage is real and has not been tampered with;
2、可播放文件是真实存在且未经篡改的;2. The playable file is real and has not been tampered with;
3、目标网页是用于播放所述可播放文件的网页。3. The target webpage is a webpage for playing the playable file.
于是,通过图1所示的方法,就实现了对关联有可播放文件,却并未包含可播放文件本身的网页的区块链存证。Therefore, through the method shown in FIG. 1, the blockchain certificate for the webpage associated with the playable file but not including the playable file itself is realized.
在本说明书实施例中,如果存证服务器不是区块链网络中的节点,那么存证服务器可以将所述目标哈希提交给区块链网络进行存证。In the embodiment of this specification, if the certificate storage server is not a node in the blockchain network, the certificate storage server may submit the target hash to the blockchain network for certificate storage.
如果存证服务器是区块链网络中的一个区块链节点,那么,存证服务器可以基于所述目标哈希,构建目标交易,然后将所述目标交易广播给除自身之外的其他区块链节点,以使各区块链节点基于共识机制,将所述目标交易存入自身的区块链。If the certificate deposit server is a blockchain node in the blockchain network, then the certificate deposit server may construct a target transaction based on the target hash, and then broadcast the target transaction to other blocks except itself Chain nodes, so that each blockchain node stores the target transaction into its own blockchain based on a consensus mechanism.
需要说明的是,在本说明书中所描述的交易(transaction),是指用户通过区块链的客户端创建,并需要最终发布至区块链的分布式数据库中的一笔数据。It should be noted that the transaction described in this specification refers to a piece of data that a user creates through a client of the blockchain and needs to be finally released to the distributed database of the blockchain.
也就是说,区块链中的交易,存在狭义的交易以及广义的交易之分。狭义的交易是指用户向区块链发布的一笔价值转移;例如,在传统的比特币区块链网络中,交易可以是用户在区块链中发起的一笔转账。而广义的交易是指用户向区块链发布的一笔具有业务意图的业务数据;例如,运营方可以基于实际的业务需求搭建一个联盟链,依托于联盟链部署一些与价值转移无关的其它类型的在线业务(比如,租房业务、车辆调度业务、保险理赔业务、信用服务、医疗服务等),而在这类联盟链中,交易可以是用户在联盟链中发布的一笔具有业务意图的业务消息或者业务请求。That is to say, there are narrow transactions and broad transactions in the transactions in the blockchain. The narrow sense of the transaction refers to a value transfer issued by the user to the blockchain; for example, in the traditional Bitcoin blockchain network, the transaction can be a transfer initiated by the user in the blockchain. The generalized transaction refers to a piece of business data with business intent published by the user to the blockchain; for example, the operator can build an alliance chain based on actual business needs, relying on the alliance chain to deploy some other types that have nothing to do with value transfer Online business (for example, rental business, vehicle scheduling business, insurance claims business, credit service, medical service, etc.), and in this type of alliance chain, the transaction can be a business with business intent issued by the user in the alliance chain Message or business request.
通过图1所示方法,对于关联有可播放文件,却并未包含可播放文件本身的目标网页,区块链存证方一方面对所述目标网页进行截图,得到网页截图;另一方面读取所述目标网页关联的文件存储地址,从所述文件存储地址获取可播放文件。随后,对所述网页截图与所述可播放文件进行哈希运算,得到目标哈希,进而将所述目标哈希发布至区块链进行存证。这相当于实现了对包含可播放文件的网页的区块链存证。如此,区块链存证方的服务器不需要耗费时间对可播放文件的播放过程进行记录,提升了存证效率。With the method shown in FIG. 1, for a target webpage associated with a playable file but not containing the playable file itself, the blockchain depositor takes a screenshot of the target webpage on the one hand to obtain a screenshot of the webpage; on the other hand reads Obtain a file storage address associated with the target webpage, and obtain a playable file from the file storage address. Subsequently, a hash operation is performed on the screenshot of the web page and the playable file to obtain a target hash, and then the target hash is released to the blockchain for certificate storage. This is equivalent to realizing the blockchain certificate for the webpage containing the playable file. In this way, the server of the blockchain depositor does not need to spend time to record the playback process of the playable file, which improves the efficiency of deposit certification.
此外,实际应用中,所述目标网页可以用于播放不止一个可播放文件,这也意味着,所述目标网页关联有不止一个文件存储地址。In addition, in actual applications, the target webpage can be used to play more than one playable file, which also means that there is more than one file storage address associated with the target webpage.
于是,存证服务器可以针对所述目标网页关联的每个文件存储地址,从该文件存储地址获取可播放文件,作为该文件存储地址对应的可播放文件。然后,将所述网页截图与所述目标网页关联的各文件存储地址分别对应的可播放文件处理成目标哈希。Therefore, the certificate storage server may obtain a playable file from the file storage address for each file storage address associated with the target webpage as the playable file corresponding to the file storage address. Then, the playable files corresponding to the storage addresses of the files associated with the screenshot of the webpage and the target webpage are processed into target hashes.
进一步地,有时,所述目标网页可以包含不止一个子网页链接,用户点击任一子网页链接后,可以进入该子网页链接对应的子网页,该子网页用于播放一个可播放文件。Further, sometimes, the target webpage may include more than one subwebpage link. After the user clicks any subwebpage link, the user may enter the subwebpage corresponding to the subwebpage link, and the subwebpage is used to play a playable file.
这种情况下,存证服务器读取所述目标网页关联的不止一个文件存储地址,具体可以是针对所述目标网页中包含的每个子网页链接,访问该子网页链接,然后读取该子网 页链接对应的子网页中包含的文件存储地址。In this case, the certificate storage server reads more than one file storage address associated with the target webpage, which may specifically be for each subpage link included in the target webpage, visit the subpage link, and then read the subpage The storage address of the file contained in the sub-page corresponding to the link.
并且,由于目标网页中各子网页链接一般是按一定顺序进行排列的,因此,在上述的步骤S104中,可以根据所述目标网页中各子网页链接的排列顺序,将所述目标网页关联的各文件存储地址分别对应的可播放文件进行排序,得到可播放文件序列;然后,将所述网页截图与所述可播放文件序列处理成目标哈希。In addition, since the sub-page links in the target web page are generally arranged in a certain order, in the above step S104, the target web page can be associated according to the arrangement order of the sub-page links in the target web page The playable files corresponding to the storage addresses of the files are sorted respectively to obtain a playable file sequence; then, the webpage screenshot and the playable file sequence are processed into a target hash.
其中,可以根据所述目标网页中各子网页链接的排列顺序,将所述目标网页关联的各文件存储地址分别对应的可播放文件进行排序,具体可以是根据所述目标网页中各子网页链接的排列顺序,对各子网页链接分别对应的文件存储地址进行排序;然后根据各文件存储地址的排列顺序,各文件存储地址分别对应的可播放文件进行排序。Wherein, the playable files corresponding to the storage addresses of the files associated with the target webpage may be sorted according to the arrangement order of the links of the subpages in the target webpage, which may specifically be based on the links of the subpages in the target webpage Sort the file storage addresses corresponding to the links of each sub-page; and then sort the playable files corresponding to the file storage addresses according to the order of the file storage addresses.
如此,一旦目标网页中各子网页链接的排列顺序发生变化,就会导致基于目标网页得到的目标哈希发生变化。将所述目标哈希进行区块链存证,不仅相当于将所述目标网页的内容进行了区块链存证,还相当于将所述目标网页的内容布局进行了区块链存证。In this way, once the arrangement order of the links of the subpages in the target webpage changes, the target hash obtained based on the target webpage will change. Blockchain certification of the target hash is not only equivalent to blockchain certification of the content of the target webpage, but also blockchain certification of the content layout of the target webpage.
更进一步地,存证服务器将所述网页截图与所述可播放文件序列处理成目标哈希,具体可以是将所述网页截图处理成截图哈希;针对所述可播放文件序列中的每个可播放文件,将该可播放文件处理成文件哈希;根据各可播放文件的排列顺序,对各可播放文件对应的文件哈希进行排序,得到文件哈希序列;基于所述文件哈希序列,构建梅克尔树;将所述截图哈希与所述梅克尔树的根哈希处理成目标哈希。Further, the certificate storage server processes the webpage screenshot and the playable file sequence into a target hash, which may specifically be processing the webpage screenshot into a screenshot hash; for each of the playable file sequences Playable files, process the playable files into file hashes; sort the file hashes corresponding to the playable files according to the order of the playable files to obtain a file hash sequence; based on the file hash sequence , Construct a Merkel tree; process the screenshot hash and the root hash of the Merkel tree into a target hash.
图2是本说明书实施例提供的基于文件哈希序列构建的梅克尔树示意图。如图2所示,基于所述文件哈希序列构建的梅克尔树的根哈希可以唯一标识所述文件哈希序列,可以视为所述文件哈希序列的“指纹”。而所述文件哈希序列,实际上是所述目标网页中,各可播放文件分别对应的子网页链接的排列情况的映射。2 is a schematic diagram of a Merkel tree constructed based on a file hash sequence provided by an embodiment of this specification. As shown in FIG. 2, the root hash of the Merkle tree constructed based on the file hash sequence can uniquely identify the file hash sequence, and can be regarded as a “fingerprint” of the file hash sequence. The file hash sequence is actually a mapping of the arrangement of the links of the subpages corresponding to the playable files in the target webpage.
一旦所述目标网页中某个子网页链接被更换,就需要对所述目标网页重新进行一次存证。具体地,仍然会采用上述方式,基于当前的目标网页得到新的文件哈希序列。然后,基于新的文件哈希序列重新构建梅克尔树得到新的根哈希进行存证。Once a sub-page link in the target web page is replaced, the target web page needs to be re-registered. Specifically, the above method will still be used to obtain a new file hash sequence based on the current target webpage. Then, the Merkel tree is reconstructed based on the new file hash sequence to obtain a new root hash for verification.
需要说明的是,采用梅克尔树的方式对文件哈希序列进行存储的优势在于,当目标网页的内容变动较少时,相应的文件哈希序列的变动也会较少,此时,只需要将旧的梅克尔树中与变动相关的路径上的哈希值重新计算即可得到新的梅克尔树。It should be noted that the advantage of using the Merkel tree to store the file hash sequence is that when the content of the target web page changes less, the corresponding file hash sequence will also change less. At this time, only The new Merkel tree can be obtained by recalculating the hash value on the path related to the change in the old Merkel tree.
如图3所示,假设目标网页中网页子链接3被更换网页子链接8,相应的文件哈希3也就被更换为文件哈希8,于是,再重新构建梅克尔树时,只需要将旧的梅克尔树中文 件哈希3-哈希6-哈希7这一路径进行更新即可(更新为文件哈希8-哈希9-哈希10)。最终,将根哈希更新为哈希10。如此,节省了存证服务器的计算资源。As shown in Figure 3, assuming that the sub-link 3 of the target web page is replaced by the sub-link 8 of the web page, the corresponding file hash 3 is also replaced by the file hash 8, so, when rebuilding the Merkle tree, only need to Update the path of file Hash 3-Hash 6-Hash 7 in the old Merkel tree (update to file Hash 8-Hash 9-Hash 10). Finally, the root hash is updated to hash 10. In this way, the computing resources of the certificate storage server are saved.
图4是本说明书实施例提供的一种通过网页监测对网页进行区块链存证的方法的流程示意图,包括以下步骤:FIG. 4 is a schematic flow chart of a method for depositing a blockchain on a webpage through webpage monitoring provided by an embodiment of the present specification, including the following steps:
S400:接收用户发送的网页地址,并访问所述网页地址对应的目标网页。S400: Receive a webpage address sent by a user, and access a target webpage corresponding to the webpage address.
本方法的执行主体也可以是存证服务器。The execution subject of this method may also be a certificate deposit server.
图4所示的方法可以应用于版权侵权证据保全的场景,也可以应用于其他领域的证据保全的场景。下文将以版权侵权证据保全的场景为例,对本方案进行说明。本领域技术人员应当理解,在其他领域的证据保全的场景下,也可以通过图4所示的方法流程,通过网页监测实现对网页的区块链存证。The method shown in FIG. 4 can be applied to the scenario of copyright infringement preservation, and can also be applied to the scenario of evidence preservation in other fields. In the following, the scenario of copyright infringement evidence preservation will be taken as an example to explain this solution. Those skilled in the art should understand that, in the scenario of evidence preservation in other fields, it is also possible to deposit certificates on the blockchain of the webpage through the webpage monitoring through the method flow shown in FIG. 4.
在版权侵权证据保全的场景下,所述用户一般是持有作品版权的版权人。所述用户当发现某个呈现了侵权作品的网页(目标网页)时,可以通过浏览器访问存证服务器,并将目标网页的网页地址提供给存证服务器。In the context of preservation of copyright infringement evidence, the user is generally the copyright owner holding the copyright of the work. When the user finds a webpage (target webpage) presenting the infringing work, he can access the certificate storage server through a browser and provide the webpage address of the target webpage to the certificate storage server.
S402:从所述目标网页的文档中提取标签。S402: Extract tags from the document of the target webpage.
众所周知,网页实际上是基于超文本标记语言(Hyper Text Markup Language,HTML)文档进行加载的,本文中所述的文档一般是指网页的HTML文档。在HTML文档中,使用若干HTML标签对不同部分的文档内容进行标记。针对每个标签,该标记所标记的文档内容对应于目标网页的一个元素,用于对该元素进行加载。As we all know, web pages are actually loaded based on HyperText Markup Language (HTML) documents. The documents described in this article generally refer to HTML documents of webpages. In HTML documents, several HTML tags are used to mark different parts of the document content. For each tag, the document content marked by the mark corresponds to an element of the target webpage, and is used to load the element.
在本说明书实施例中,存证服务器可以从目标网页的文档中,提取所述目标网页的标签。具体地,存证服务器可以提取所述目标网页的全部标签,也可以提取所述目标网页的部分标签。In the embodiment of the present specification, the certificate storage server may extract the tag of the target webpage from the document of the target webpage. Specifically, the certificate storage server may extract all tags of the target webpage, or may extract part of tags of the target webpage.
进一步地,当存证服务器提取的是所述目标网页的部分标签时,针对存证服务器提取的每个标签,该标签具有如下性质:该标签所标记的文档内容有较大可能随着时间的推移而发生变化(因而有监测的必要)。Further, when the certificate depositing server extracts some tags of the target webpage, for each tag extracted by the certificate depositing server, the tag has the following properties: the content of the document marked by the tag is more likely to change over time Changes occur over time (thus monitoring is necessary).
例如,目标网页的用于标记网站信息(如网站域名)的标签一般不会被存证服务器提取,因为网站信息通常是固定不变的。而目标网页的用于标记文章阅读数的标签一般会被存证服务器提取,因为文章阅读数通常会持续增加。For example, the tags used to mark website information (such as website domain name) of the target webpage are generally not extracted by the certificate storage server, because the website information is usually fixed. The tags used to mark the number of article readings of the target webpage are generally extracted by the certificate storage server, because the number of article readings usually continues to increase.
S404:从提取的标签中确定所述用户指定的标签,作为指定标签;以及获取所述用 户指定的存证触发条件。S404: Determine the label specified by the user from the extracted labels as the specified label; and obtain the trigger condition for certificate deposit specified by the user.
S406:针对所述指定标签进行监测,并当监测到所述指定标签所标记的文档内容满足所述存证触发条件时,对所述目标网页进行区块链存证。S406: Monitor the designated tag, and when it is detected that the content of the document marked by the designated tag satisfies the trigger condition for deposit certification, perform blockchain deposit certification on the target webpage.
在本说明书实施例中,所述用户可以预先在存证服务器上进行注册,并预先指定若干标签。于是,存证服务器在步骤S404中,可以直接从提取的标签中确定所述用户预先指定的标签,作为指定标签。需要说明的是,指定标签的数量可以大于1。In the embodiment of the present specification, the user may register in the certificate storage server in advance, and specify a number of tags in advance. Therefore, in step S404, the certificate storage server may directly determine the label designated by the user in advance as the designated label from the extracted labels. It should be noted that the number of specified tags can be greater than one.
此外,存证服务器也可以将提取的标签提供给所述用户进行选择。具体地,假设用户通过浏览器访问存证服务器,存证服务器可以将展示有提取的标签的选择界面提供给所述用户,并对所述选择界面进行监测;针对所述选择界面中展示的每个标签,当监测到该标签被选择时,将该标签确定为所述用户指定的标签。In addition, the certificate storage server may also provide the extracted label to the user for selection. Specifically, assuming that the user accesses the certificate storage server through a browser, the certificate storage server may provide the user with a selection interface displaying the extracted tags, and monitor the selection interface; for each displayed in the selection interface Tags, when it is detected that the tag is selected, the tag is determined as the tag specified by the user.
例如,在所述选择界面中,提取的各标签可以顺序排列,每个标签的旁边有相应的复选框,所述用户通过点击复选框的方式,选择相应的标签。For example, in the selection interface, the extracted labels may be arranged in sequence, and each label has a corresponding check box next to it. The user selects the corresponding label by clicking the check box.
进一步地,所述存证服务器可以通过分析所述用户在互联网上产生的行为数据,推测出所述用户有较大概率会选择的标签。例如,所述存证服务器发现所述用户是一位小说作者,那么,推测所述用户对目标网页的用于标记文章阅读数的标签感兴趣,也就是说,所述用户有较大概率会选择用于标记文章阅读数的标签。于是,存证服务器在提供的选择界面中,可以将所述用户有较大概率会选择的标签进行突出显示(如高亮显示),以提示所述用户进行选择。Further, the certificate storage server may analyze the behavior data generated by the user on the Internet to infer a label that the user has a higher probability to select. For example, if the certificate storage server finds that the user is a novel author, then it is presumed that the user is interested in the tag used to mark the number of article readings of the target webpage, that is, the user has a higher probability Select the tag used to mark the number of articles read. Therefore, in the provided selection interface, the certificate storage server may highlight (eg, highlight) the label that the user has a high probability to select to prompt the user to make a selection.
在本说明书实施例中,存证服务器还需要获取所述用户指定的存证触发条件。具体地,存证服务器可以将条件设置界面提供给所述用户,通过所述条件设置界面,接收所述用户输入的存证触发条件。In the embodiment of the present specification, the certificate storage server also needs to obtain the certificate storage trigger condition specified by the user. Specifically, the certificate storage server may provide a condition setting interface to the user, and receive the certificate storage trigger condition input by the user through the condition setting interface.
在本说明书实施例中,当指定标签的数量为1时,存证服务器可以针对所述指定标签进行监测,一旦存证触发条件满足,就触发对目标网页的区块链存证操作。In the embodiment of the present specification, when the number of designated tags is 1, the certificate deposit server may monitor the designated tags, and once the deposit trigger condition is met, the blockchain deposit operation on the target webpage is triggered.
在本文中,将所述目标网页用于呈现的作品称为所述目标网页的关联作品。所述目标网页的关联作品可以有不止一个。并且,将所述目标网页的关联作品中所述用户所关注的作品,称为指定关联作品。In this document, the work used for presenting the target webpage is referred to as the related work of the target webpage. There may be more than one related works of the target webpage. In addition, the work concerned by the user among the related works of the target webpage is called a designated related work.
例如,所述目标网页是某个音乐网站的音乐列表网页,所述目标网页的关联作品为音乐作品A、音乐作品B、音乐作品C,音乐作品B的版权人发现,该音乐网站未经授权提供了音乐作品B的下载服务,那么,音乐作品B的版权人可以请求存证服务器对 目标网页进行存证。所述目标网页的指定关联作品就是音乐作品B,该版权人会指定目标网页的文档中用于标记音乐作品B的标签,作为指定标签。For example, the target webpage is a music list webpage of a music website, and the related works of the target webpage are music work A, music work B, music work C, and the copyright owner of music work B finds that the music website is unauthorized The download service of music piece B is provided, then, the copyright owner of the music piece B can request the certificate deposit server to deposit the certificate to the target webpage. The designated related work of the target webpage is music work B, and the copyright owner will designate the tag used to mark the music work B in the document of the target webpage as the designated label.
在版权侵权证据保全的场景下,如果所述指定标签所标记的文档内容包括所述目标网页的指定关联作品所对应的相关统计量,那么,当所述目标网页的指定关联作品所对应的相关统计量达到备选量集合中的任一备选量时,意味着所述指定标签所标记的文档内容满足所述存证触发条件。In the context of preservation of copyright infringement evidence, if the document content marked by the designated tag includes relevant statistics corresponding to the designated related work of the target webpage, then when the relevant content of the designated related work of the target webpage When the statistical quantity reaches any candidate quantity in the candidate quantity set, it means that the content of the document marked by the specified label satisfies the trigger condition for certificate deposit.
其中,所述目标网页的文档内容是指所述目标网页所呈现的作品。所述指定关联作品对应的相关统计量包括但不限于以下:下载量、阅读量、收藏量、播放量、点赞量等。The document content of the target webpage refers to the works presented by the target webpage. The relevant statistics corresponding to the designated related works include, but are not limited to the following: downloads, readings, collections, playbacks, likes, etc.
所述备选量集合中的各备选量可以根据实际需要指定。进一步地,假设所述备选量集合中包含N个备选量,这N个备选量可以通过以下方式确定:Each candidate amount in the candidate amount set may be specified according to actual needs. Further, assuming that the candidate quantity set includes N candidate quantities, the N candidate quantities may be determined in the following manner:
设所述目标网页的指定关联作品所对应的相关统计量当前为x,指定比例为y(小于1);Assume that the relevant statistics corresponding to the designated related works of the target webpage are currently x, and the designated ratio is y (less than 1);
将x*(y+1)作为第一个备选量;Take x * (y + 1) as the first candidate;
将x*(y+1)2作为第二个备选量;Use x * (y + 1) 2 as the second candidate;
……...
将x(y+1)N作为第N个备选量。Let x (y + 1) N be the Nth candidate.
可见,通过上述方式确定备选量集合,实际上可以实现所述相关统计量每增加指定比例(如20%),就及时对目标网页进行一次区块链存证。It can be seen that, by determining the set of candidate quantities in the above manner, in fact, each time the relevant statistic increases by a specified percentage (for example, 20%), the target webpage is promptly registered with the blockchain.
例如,目标网页的指定关联作品对应的相关统计量每增加20%,就会触发存证服务器对目标网页执行一次区块链存证操作。如此,版权人总是可以对侵权作品的最大相关统计量进行存证,以便尽可能要求更大数额的侵权损害赔偿,最大程度地惩罚目标网页的所有者。For example, every 20% increase in the relevant statistics corresponding to the designated related works of the target webpage will trigger the certificate deposit server to perform a blockchain certificate deposit operation on the target webpage. In this way, the copyright owner can always document the maximum relevant statistics of the infringing work in order to request as much damage compensation as possible and maximize the punishment of the owner of the target page.
版权侵权证据保全的场景下,如果所述指定标签所标记的网页相关信息为,所述目标网页的指定关联作品或所述指定关联作品对应的版权相关信息,那么,当所述目标网页的指定关联作品发生改变时,或,当所述指定关联作品对应的版权相关信息发生改变时,意味着所述指定标签所标记的文档内容满足所述存证触发条件。In a scenario where copyright infringement evidence is preserved, if the webpage-related information marked by the designated tag is, the designated associated work of the target webpage or the copyright-related information corresponding to the designated associated work, then, when the target webpage is designated When the related work changes, or when the copyright-related information corresponding to the specified related work changes, it means that the document content marked by the specified tag satisfies the triggering condition for certificate deposit.
其中,所述指定关联作品对应的版权相关信息,是指标识所述指定关联作品的版权状态的信息,如授权有效期信息、是否授权的信息、作品作者信息等。一旦版权相关信 息发生变化,就意味着目标网页是否侵权的结论需要重新评估,此时,需要重新对目标网页进行区块链存证。Wherein, the copyright-related information corresponding to the designated related work refers to information that identifies the copyright status of the designated related work, such as authorization validity period information, authorization information, and work author information. Once the copyright-related information changes, it means that the conclusion of whether the target webpage is infringing needs to be re-evaluated. At this time, it is necessary to re-register the target webpage on the blockchain.
所述目标网页中的指定关联作品如果发生变化,也意味着目标网页是否还是侵权网页需要重新评估,此时,需要重新对目标网页进行区块链存证。If the designated related works in the target webpage change, it also means that whether the target webpage is still an infringing webpage needs to be re-evaluated. At this time, the target webpage needs to be re-blockchained for certificate deposit.
在版权侵权证据保全的场景下,如果所述指定标签所标记的文档内容包括所述目标网页的指定关联作品对应的网页位置信息,那么当所述目标网页的指定关联作品对应的网页位置信息发生改变时,意味着所述指定标签所标记的文档内容足所述存证触发条件。In a scenario where copyright infringement evidence is preserved, if the document content marked by the designated tag includes the webpage location information corresponding to the designated associated work of the target webpage, then the webpage location information corresponding to the designated associated work of the target webpage occurs When it is changed, it means that the content of the document marked by the specified tag is sufficient for the trigger condition for the deposit.
进一步地,所述目标网页的指定关联作品对应的网页位置信息发生改变,具体可以是:所述目标网页的指定关联作品对应的网页位置信息发生改变,并且,第一位置与所述目标网页中的参考位置的相近程度低于第二位置与所述参考位置的相近程度。其中,所述第一位置是根据改变前的所述网页位置信息确定的、所述目标网页中对应于所述指定关联作品的位置;所述第二位置是根据改变后的所述网页位置信息确定的、所述目标网页中对应于所述指定关联作品的位置。所述参考位置可以根据需要进行设定。Further, the location information of the webpage corresponding to the designated associated work of the target webpage changes, which may specifically be: the location information of the webpage corresponding to the designated associated work of the target webpage changes, and the first location is in the target webpage The similarity of the reference position of is lower than that of the second position and the reference position. Wherein, the first position is determined according to the position information of the webpage before the change, and corresponds to the position of the designated associated work in the target webpage; the second position is based on the position information of the webpage after the change The determined position in the target webpage corresponding to the designated related work. The reference position can be set as required.
举例来说,假设目标网页是用于呈现某音乐网站上下载量top10的音乐作品的排行榜,那么,随着时间的推移,所述目标网页上,top10音乐作品的排名情况有可能发生改变。对于版权人而言,其关注指定关联作品(未经版权人授权)在排行榜中的名次,指定关联作品的下载量越高,排名越靠前,版权人可诉求的侵权损害赔偿越高。于是,可以将目标网页的左上角设定为参考位置,并监测指定关联作品对应的位置在目标网页中的变化。当监测到指定关联作品对应的位置发生变化,且距离参考位置更近时(意味着指定关联作品排名上升),对目标网页进行一次区块链存证。For example, assuming that the target webpage is used to present a ranking of top ten downloaded music works on a music website, then, over time, the ranking of top10 musical works on the target web page may change. For copyright owners, they are concerned about the ranking of designated related works (unauthorized by the copyright owner) in the ranking list. The higher the download amount of the designated related works, the higher the ranking, and the higher the infringement damages that the copyright owner can claim. Therefore, the upper left corner of the target webpage can be set as the reference position, and the change of the position corresponding to the designated related work in the target webpage can be monitored. When it is detected that the position corresponding to the designated related work changes and is closer to the reference position (meaning that the ranking of the designated related work increases), a block chain certificate is deposited on the target webpage.
此外,如果指定标签的数量大于1,则存证服务器可以针对每个指定标签,获取所述用户指定的对应于该指定标签的存证触发条件。存证服务器可以针对每个指定标签进行监测,一旦监测到指定数量的指定标签满足自身对应的存证触发条件,就触发对目标网页的区块链存证操作。也就是说,若存在指定数量的指定标签满足:针对所述指定数量的指定标签中的每个指定标签,该指定标签所标记的文档内容满足自身对应的存证触发条件;则触发对目标网页的区块链存证操作。In addition, if the number of designated tags is greater than 1, the certificate storage server may acquire, for each designated tag, the deposit triggering conditions specified by the user corresponding to the designated tag. The certificate storage server can monitor each specified tag, and once the specified number of specified tags meets the corresponding trigger condition of the certificate deposit, it triggers the blockchain certificate deposit operation on the target webpage. That is to say, if there is a specified number of specified tags satisfying: for each specified tag in the specified number of specified tags, the document content marked by the specified tag satisfies the corresponding triggering condition for deposit proof; then the target webpage is triggered The blockchain deposit operation.
通过图4所示的方法,区块链存证方的服务器可以应版权人的请求,一方面从目标网页的文档中确定出版权人指定的标签进行监测,另一方面获取版权人指定的存证触发条件。区块链存证方的服务器当监测到版权人指定的标签所标记的文档内容满足所 述存证触发条件时,就会触发一次对目标网页的区块链存证操作。如此,版权人通过指定标签与指定存证触发条件,将监测目标网页的任务交由区块链存证方的服务器执行。版权人不需要耗费精力持续关注目标网页的动态,对版权人而言更为便利。Through the method shown in FIG. 4, the blockchain depositor ’s server can, at the request of the copyright owner, determine the tag designated by the copyright owner from the target webpage document for monitoring, and on the other hand obtain the deposit designated by the copyright owner. Trigger conditions. When the server of the blockchain depositor detects that the content of the document marked by the label specified by the copyright owner meets the trigger condition of deposit deposit, it will trigger a blockchain deposit operation on the target webpage. In this way, the copyright owner assigns the task of monitoring the target webpage to the server of the blockchain depositor through the specified tag and the specified trigger condition of the certificate deposit. The copyright owner does not need to spend energy to continuously pay attention to the dynamics of the target page, which is more convenient for the copyright owner.
另外,在本说明书实施例中,存证服务器还可以获取所述用户指定至少一个时间点,并针对每个时间点,当时间经过该时间点时,对所述目标网页进行区块链存证。如此,就实现了对所述目标网页的定时存证。In addition, in the embodiment of the present specification, the certificate storage server may also acquire at least one time point specified by the user, and for each time point, when the time passes the time point, perform block chain certificate storage on the target webpage . In this way, timed deposit of the target webpage is achieved.
需要说明的是,如果用户需要存证服务器每当经过指定周期对目标网页进行一次区块链存证,那么,上述的各时间点实际上是用户根据指定周期指定的。It should be noted that if the user needs the certificate deposit server to perform blockchain certificate deposit on the target webpage every time after a specified period, then each of the above time points is actually specified by the user according to the specified period.
此外,在本说明书实施例中,所述用户可以重新配置对目标网页的存证策略。具体地,存证服务器可以接收所述用户发送的重配置指令,并响应于所述重配置指令,重新提取所述网页地址对应的目标网页的标签,以便所述用户重新指定标签和/或重新指定存证触发条件。In addition, in the embodiment of the present specification, the user may reconfigure the certificate storage strategy for the target webpage. Specifically, the certificate storage server may receive the reconfiguration instruction sent by the user, and in response to the reconfiguration instruction, re-extract the label of the target webpage corresponding to the webpage address, so that the user may reassign the label and / or Specify the trigger condition for deposit.
还有,在本说明书实施例中,在获取所述用户指定的存证触发条件之后,还可以根据所述存证触发条件,确定监测工作量;根据所述监测工作量,确定付费金额;将付费界面提供给所述用户,以便所述用户支付所述付费金额。In addition, in the embodiment of the present specification, after obtaining the trigger condition for certificate deposit specified by the user, the monitoring workload can also be determined according to the trigger condition for certificate deposit; the payment amount can be determined according to the workload; A payment interface is provided to the user so that the user can pay the payment amount.
其中,所述监测工作量与所述付费金额正相关。根据所述监测工作量确定付费金额的标准可以由区块链存证方根据实际需要进行设置,本说明书对此不做具体限定。Among them, the monitoring workload is positively related to the payment amount. The standard for determining the payment amount according to the monitoring workload can be set by the blockchain depositor according to actual needs, which is not specifically limited in this specification.
进一步地,当目标网页上存在用户关注的侵权作品时,该侵权作品就是目标网页的指定关联作品。用户不论指定目标网页的文档中的哪些标签为指定标签,事实上都是与对指定关联作品的关注需求有关。例如,所述指定标签所标记的文档内容可以是指定关联作品对应的相关统计量、版权状态信息或指定关联作品本身。实践中,一旦所述指定关联作品被从目标网页中撤下之后,也就没必要对目标网页进行监测了。对用户而言,从对目标网页中的指定标签开始监测起,直至指定关联作品被撤下,所经过的期间实际上可以认为是可证明的、指定关联作品在目标网页上存续的期间,这是比较重要的证据。Further, when there is an infringing work that the user pays attention to on the target webpage, the infringing work is the designated related work of the target webpage. Regardless of which tags in the document of the designated target webpage are designated tags, the user is actually related to the need to pay attention to the designated related works. For example, the document content marked by the specified tag may be related statistics corresponding to the specified related work, copyright status information, or the specified related work itself. In practice, once the designated related work is removed from the target webpage, there is no need to monitor the target webpage. For users, from the beginning of monitoring the designated tags in the target webpage until the designated related works are removed, the elapsed period can actually be regarded as provable and the designated related works survive on the target webpage. Is more important evidence.
为此,在本说明书实施例中,当针对所述指定标签进行开始监测时,记录开始监测的时间;以及,当监测到所述目标网页的指定关联作品被删除时,结束监测,并记录结束监测的时间。进而,可以根据记录的开始监测的时间与结束监测的时间,生成所述目标网页对应的存续期间证据,并对所述存续期间证据进行区块链存证。For this reason, in the embodiment of the present specification, when the monitoring is started for the designated tag, the time when the monitoring starts is recorded; and, when the designated related work monitored by the target webpage is deleted, the monitoring is ended, and the recording ends Monitoring time. Furthermore, according to the recorded start monitoring time and the end monitoring time, the survival period evidence corresponding to the target webpage can be generated, and the blockchain survival certificate can be performed on the survival period evidence.
进一步地,在步骤S406中,若所述目标网页的指定关联作品为可播放作品(如视频、音频等),则对目标网页进行区块链存证,具体可以是:Further, in step S406, if the designated associated work of the target webpage is a playable work (such as video, audio, etc.), then the blockchain certification of the target webpage may be specifically:
对所述目标网页进行截图,得到网页截图;从所述目标网页中读取所述指定关联作品的作品存储地址,并从所述作品存储地址获取可播放作品;将所述网页截图与所述可播放作品处理成目标哈希;将所述目标哈希发布至区块链进行存证。Take a screenshot of the target webpage to obtain a webpage screenshot; read the work storage address of the specified associated work from the target webpage, and obtain a playable work from the work storage address; copy the webpage screenshot with the The playable work is processed into a target hash; the target hash is published to the blockchain for certificate storage.
基于图1所示的方法,本说明书实施例还对应提供了一种通过文件获取对网页进行区块链存证的装置,如图5所示,包括:Based on the method shown in FIG. 1, the embodiment of the present specification also correspondingly provides a block chain certificate depositing device for web pages through file acquisition, as shown in FIG. 5, including:
访问模块501,访问目标网页; Access module 501 to access the target web page;
第一处理模块502,对所述目标网页进行截图,得到网页截图;以及,读取所述目标网页关联的文件存储地址,并从所述文件存储地址获取可播放文件;The first processing module 502 takes a screenshot of the target webpage to obtain a screenshot of the webpage; and reads the file storage address associated with the target webpage and obtains a playable file from the file storage address;
第二处理模块503,将所述网页截图与所述可播放文件处理成目标哈希;A second processing module 503, processing the webpage screenshot and the playable file into a target hash;
存证模块504,将所述目标哈希发布至区块链进行存证。The certificate storage module 504 publishes the target hash to the blockchain for certificate storage.
所述第二处理模块503,将所述网页截图处理成截图哈希,以及,将所述可播放文件处理成文件哈希;将所述截图哈希与所述文件哈希处理成目标哈希。The second processing module 503 processes the web page screenshot into a screenshot hash, and processes the playable file into a file hash; processes the screenshot hash and the file hash into a target hash .
所述第一处理模块501,读取所述目标网页关联的不止一个文件存储地址;针对所述目标网页关联的每个文件存储地址,从该文件存储地址获取可播放文件,作为该文件存储地址对应的可播放文件;The first processing module 501 reads more than one file storage address associated with the target webpage; for each file storage address associated with the target webpage, obtains a playable file from the file storage address as the file storage address The corresponding playable file;
所述第二处理模块503,将所述网页截图与所述目标网页关联的各文件存储地址分别对应的可播放文件处理成目标哈希。The second processing module 503 processes the playable files corresponding to the storage addresses of the files associated with the screenshot of the webpage and the target webpage into target hashes.
所述目标网页中包含不止一个子网页链接;The target webpage contains more than one sub-webpage link;
所述第一处理模块502,针对所述目标网页中包含的每个子网页链接,访问该子网页链接;读取该子网页链接对应的子网页中包含的文件存储地址;The first processing module 502, for each sub-page link included in the target web page, accesses the sub-page link; reads the file storage address contained in the sub-page corresponding to the sub-page link;
所述第二处理模块503,根据所述目标网页中各子网页链接的排列顺序,对所述目标网页关联的各文件存储地址分别对应的可播放文件进行排序,得到可播放文件序列;将所述网页截图与所述可播放文件序列处理成目标哈希。The second processing module 503 sorts the playable files corresponding to the storage addresses of the files associated with the target webpage respectively according to the arrangement order of the links of the subpages in the target webpage to obtain the playable file sequence; The webpage screenshot and the playable file sequence are processed into a target hash.
所述第二处理模块503,将所述网页截图处理成截图哈希;针对所述可播放文件序列中的每个可播放文件,将该可播放文件处理成文件哈希;根据各可播放文件的排列顺序,对各可播放文件对应的文件哈希进行排序,得到文件哈希序列;基于所述文件哈 希序列,构建梅克尔树;将所述截图哈希与所述梅克尔树的根哈希处理成目标哈希。The second processing module 503 processes the webpage screenshot into a screenshot hash; for each playable file in the playable file sequence, processes the playable file into a file hash; according to each playable file Sorting order of the files, sorting the file hash corresponding to each playable file to obtain a file hash sequence; building a Merkel tree based on the file hash sequence; and hashing the screenshot with the Merkel tree The root hash is processed into the target hash.
所述存证模块504,基于所述目标哈希,构建目标交易;将所述目标交易广播给除自身之外的其他区块链节点,以使各区块链节点基于共识机制,将所述目标交易存入自身的区块链。The certificate storage module 504 constructs a target transaction based on the target hash; broadcasts the target transaction to other blockchain nodes other than itself, so that each blockchain node bases the target on the consensus mechanism The transaction is deposited into its own blockchain.
本说明书实施例还提供一种计算机设备,其至少包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,处理器执行所述程序时实现图1和/或图4所示方法的功能。Embodiments of this specification also provide a computer device, which includes at least a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the program to implement FIG. 1 and / or FIG. The function of the method shown in 4.
图6示出了本说明书实施例所提供的一种更为具体的计算设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。FIG. 6 shows a schematic diagram of a more specific hardware structure of a computing device provided by an embodiment of the present specification. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 realize the communication connection between the devices within the device through the bus 1050.
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. Programs to implement the technical solutions provided by the embodiments of this specification.
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 may be implemented in the form of ROM (Read Only Memory, Read Only Memory), RAM (Random Access Memory, Random Access Memory), static storage devices, and dynamic storage devices. The memory 1020 may store an operating system and other application programs. When the technical solutions provided by the embodiments of the present specification are implemented by software or firmware, related program codes are stored in the memory 1020 and are called and executed by the processor 1010.
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input / output interface 1030 is used to connect input / output modules to realize information input and output. The input / output / module can be configured as a component in the device (not shown in the figure), or can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, and the like.
通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 1040 is used to connect a communication module (not shown in the figure) to implement communication interaction between the device and other devices. The communication module can realize communication through a wired method (such as USB, network cable, etc.), and can also realize communication through a wireless method (such as mobile network, WIFI, Bluetooth, etc.).
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。The bus 1050 includes a path for transferring information between various components of the device (eg, processor 1010, memory 1020, input / output interface 1030, and communication interface 1040).
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device may also include necessary for normal operation Other components. In addition, those skilled in the art may understand that the above-mentioned device may also include only the components necessary to implement the solutions of the embodiments of the present specification, rather than including all the components shown in the figures.
本说明书实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现图1和/或图4所示方法的功能。Embodiments of this specification also provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the functions of the method shown in FIG. 1 and / or FIG. 4.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including permanent and non-permanent, removable and non-removable media, can store information by any method or technology. The information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. As defined in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本说明书实施例可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本说明书实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本说明书实施例各个实施例或者实施例的某些部分所述的方法。It can be known from the description of the above implementation manners that those skilled in the art can clearly understand that the embodiments of this specification can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions of the embodiments of the present specification can be embodied in the form of software products in essence or part of contributions to the existing technology, and the computer software products can be stored in a storage medium, such as ROM / RAM, Magnetic disks, optical disks, etc., include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in the embodiments of this specification or some parts of the embodiments.
上述实施例阐明的系统、方法、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The system, method, module or unit explained in the above embodiments may be implemented by a computer chip or entity, or by a product with a certain function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game control Desk, tablet computer, wearable device, or any combination of these devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置和设备实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的方法实施例仅仅是示意性的,其中所 述作为分离部件说明的模块可以是或者也可以不是物理上分开的,在实施本说明书实施例方案时可以把各模块的功能在同一个或多个软件和/或硬件中实现。也可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。The embodiments in this specification are described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the device and device embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For the related parts, refer to the description of the method embodiments. The method embodiments described above are only schematic, wherein the modules described as separate components may or may not be physically separated, and the functions of the modules may be the same when implementing the solution of the embodiments of the present specification Or multiple software and / or hardware. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without paying creative labor.
以上所述仅是本说明书实施例的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本说明书实施例原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本说明书实施例的保护范围。The above is only a specific implementation manner of the embodiments of this specification. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the embodiments of this specification, several improvements and retouches can be made. These Improvements and retouching should also be regarded as the scope of protection of the embodiments of this specification.

Claims (13)

  1. 一种通过文件获取对网页进行区块链存证的方法,包括:A method for depositing blockchain certificates on a webpage through file acquisition includes:
    访问目标网页;Visit the landing page;
    对所述目标网页进行截图,得到网页截图;以及,读取所述目标网页关联的文件存储地址,并从所述文件存储地址获取可播放文件;Take a screenshot of the target webpage to obtain a webpage screenshot; and, read the file storage address associated with the target webpage, and obtain a playable file from the file storage address;
    将所述网页截图与所述可播放文件处理成目标哈希;Processing the screenshot of the webpage and the playable file into a target hash;
    对所述目标哈希进行区块链存证。Blockchain certification is performed on the target hash.
  2. 如权利要求1所述的方法,将所述网页截图与所述可播放文件处理成目标哈希,具体包括:The method of claim 1, processing the webpage screenshot and the playable file into a target hash, specifically including:
    将所述网页截图处理成截图哈希,以及,将所述可播放文件处理成文件哈希;Processing the webpage screenshot into a screenshot hash, and processing the playable file into a file hash;
    将所述截图哈希与所述文件哈希处理成目标哈希。The hash of the screenshot and the hash of the file are processed into a target hash.
  3. 如权利要求1所述的方法,读取所述目标网页关联的文件存储地址,具体包括:The method of claim 1, reading the file storage address associated with the target webpage, specifically comprising:
    读取所述目标网页关联的不止一个文件存储地址;Reading more than one file storage address associated with the target webpage;
    从所述文件存储地址获取可播放文件,具体包括:Obtaining playable files from the file storage address specifically includes:
    针对所述目标网页关联的每个文件存储地址,从该文件存储地址获取可播放文件,作为该文件存储地址对应的可播放文件;For each file storage address associated with the target webpage, obtain a playable file from the file storage address as a playable file corresponding to the file storage address;
    将所述网页截图与所述目标文件处理成目标哈希,具体包括:Processing the webpage screenshot and the target file into a target hash specifically includes:
    将所述网页截图与所述目标网页关联的各文件存储地址分别对应的可播放文件处理成目标哈希。The playable file corresponding to the storage address of each file associated with the screenshot of the webpage and the target webpage is processed into a target hash.
  4. 如权利要求3所述的方法,所述目标网页中包含不止一个子网页链接;The method of claim 3, wherein the target webpage includes more than one sub-webpage link;
    读取所述目标网页关联的不止一个文件存储地址,具体包括:Reading more than one file storage address associated with the target webpage, specifically including:
    针对所述目标网页中包含的每个子网页链接,访问该子网页链接;For each sub-page link included in the target web page, access the sub-page link;
    读取该子网页链接对应的子网页中包含的文件存储地址;Read the file storage address contained in the subpage corresponding to the subpage link;
    将所述网页截图与所述目标网页关联的各文件存储地址分别对应的可播放文件处理成目标哈希,具体包括:Processing the playable file corresponding to the storage address of each file associated with the screenshot of the webpage and the target webpage as a target hash specifically includes:
    根据所述目标网页中各子网页链接的排列顺序,将所述目标网页关联的各文件存储地址分别对应的可播放文件进行排序,得到可播放文件序列;Sort the playable files corresponding to the storage addresses of the files associated with the target webpage respectively according to the arrangement order of the links of the subpages in the target webpage to obtain a playable file sequence;
    将所述网页截图与所述可播放文件序列处理成目标哈希。Processing the webpage screenshot and the playable file sequence into a target hash.
  5. 如权利要求4所述的方法,将所述网页截图与所述可播放文件序列处理成目标哈希,具体包括:The method of claim 4, processing the webpage screenshot and the playable file sequence into a target hash, specifically including:
    将所述网页截图处理成截图哈希;Processing the webpage screenshot into a screenshot hash;
    针对所述可播放文件序列中的每个可播放文件,将该可播放文件处理成文件哈希;For each playable file in the playable file sequence, process the playable file into a file hash;
    根据各可播放文件的排列顺序,对各可播放文件对应的文件哈希进行排序,得到文件哈希序列;According to the arrangement order of each playable file, sort the file hash corresponding to each playable file to obtain a file hash sequence;
    基于所述文件哈希序列,构建梅克尔树;Construct a Merkel tree based on the file hash sequence;
    将所述截图哈希与所述梅克尔树的根哈希处理成目标哈希。Processing the screenshot hash and the root hash of the Merkel tree into a target hash.
  6. 如权利要求1所述的方法,对所述目标哈希进行区块链存证,具体包括:The method according to claim 1, performing blockchain certification on the target hash, specifically including:
    基于所述目标哈希,构建目标交易;Build a target transaction based on the target hash;
    将所述目标交易广播给除自身之外的其他区块链节点,以使各区块链节点基于共识机制,将所述目标交易存入自身的区块链。Broadcast the target transaction to other blockchain nodes other than itself, so that each blockchain node stores the target transaction into its own blockchain based on a consensus mechanism.
  7. 一种通过文件获取对网页进行区块链存证的装置,包括:A device for block chain certificate deposit on webpage through file acquisition, including:
    访问模块,访问目标网页;Visit the module, visit the target webpage;
    第一处理模块,对所述目标网页进行截图,得到网页截图;以及,读取所述目标网页关联的文件存储地址,并从所述文件存储地址获取可播放文件;The first processing module takes a screenshot of the target webpage to obtain a screenshot of the webpage; and, reads the file storage address associated with the target webpage, and obtains a playable file from the file storage address;
    第二处理模块,将所述网页截图与所述可播放文件处理成目标哈希;A second processing module, processing the webpage screenshot and the playable file into a target hash;
    存证模块,对所述目标哈希进行区块链存证。The certificate storage module performs block chain certificate storage on the target hash.
  8. 如权利要求7所述的装置,所述第二处理模块,将所述网页截图处理成截图哈希,以及,将所述可播放文件处理成文件哈希;将所述截图哈希与所述文件哈希处理成目标哈希。The apparatus according to claim 7, the second processing module, processing the webpage screenshot into a screenshot hash, and processing the playable file into a file hash; and combining the screenshot hash with the The file hash is processed into the target hash.
  9. 如权利要求7所述的装置,所述第一处理模块,读取所述目标网页关联的不止一个文件存储地址;针对所述目标网页关联的每个文件存储地址,从该文件存储地址获取可播放文件,作为该文件存储地址对应的可播放文件;The apparatus of claim 7, the first processing module reads more than one file storage address associated with the target webpage; for each file storage address associated with the target webpage, obtains from the file storage address Play file, as the playable file corresponding to the file storage address;
    所述第二处理模块,将所述网页截图与所述目标网页关联的各文件存储地址分别对应的可播放文件处理成目标哈希。The second processing module processes the playable file corresponding to the storage address of each file associated with the screenshot of the webpage and the target webpage into a target hash.
  10. 如权利要求9所述的装置,所述目标网页中包含不止一个子网页链接;The apparatus of claim 9, the target webpage includes more than one sub-webpage link;
    所述第一处理模块,针对所述目标网页中包含的每个子网页链接,访问该子网页链接;读取该子网页链接对应的子网页中包含的文件存储地址;The first processing module, for each sub-page link included in the target web page, accesses the sub-page link; reads the file storage address contained in the sub-page corresponding to the sub-page link;
    所述第二处理模块,根据所述目标网页中各子网页链接的排列顺序,对所述目标网页关联的各文件存储地址分别对应的可播放文件进行排序,得到可播放文件序列;将所述网页截图与所述可播放文件序列处理成目标哈希。The second processing module sorts the playable files corresponding to the storage addresses of the files associated with the target webpage respectively according to the arrangement order of the links of the subpages in the target webpage to obtain a sequence of playable files; The web page screenshot and the playable file sequence are processed into a target hash.
  11. 如权利要求10所述的装置,所述第二处理模块,将所述网页截图处理成截图哈希;针对所述可播放文件序列中的每个可播放文件,将该可播放文件处理成文件哈希; 根据各可播放文件的排列顺序,对各可播放文件对应的文件哈希进行排序,得到文件哈希序列;基于所述文件哈希序列,构建梅克尔树;将所述截图哈希与所述梅克尔树的根哈希处理成目标哈希。The apparatus of claim 10, the second processing module processes the webpage screenshot into a screenshot hash; for each playable file in the playable file sequence, processes the playable file into a file Hash; sort the file hash corresponding to each playable file according to the arrangement order of each playable file to obtain a file hash sequence; based on the file hash sequence, construct a Merkle tree; use the screenshot It is hoped that the root hash of the Merkel tree is processed into a target hash.
  12. 如权利要求7所述的装置,所述存证模块,基于所述目标哈希,构建目标交易;将所述目标交易广播给除自身之外的其他区块链节点,以使各区块链节点基于共识机制,将所述目标交易存入自身的区块链。The apparatus of claim 7, the certificate depositing module, based on the target hash, constructs a target transaction; broadcasts the target transaction to other blockchain nodes except itself, so that each blockchain node Based on the consensus mechanism, the target transaction is deposited into its own blockchain.
  13. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1~6任一项所述的方法。A computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the program according to any one of claims 1 to 6 when executing the program method.
PCT/CN2019/104926 2018-10-31 2019-09-09 Method and apparatus for performing block chain record-keeping on webpage by means of file acquisition WO2020088104A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811283682.6A CN109614766B (en) 2018-10-31 2018-10-31 Method and device for carrying out block chaining and evidence saving on webpage through file acquisition
CN201811283682.6 2018-10-31

Publications (1)

Publication Number Publication Date
WO2020088104A1 true WO2020088104A1 (en) 2020-05-07

Family

ID=66002191

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104926 WO2020088104A1 (en) 2018-10-31 2019-09-09 Method and apparatus for performing block chain record-keeping on webpage by means of file acquisition

Country Status (3)

Country Link
CN (1) CN109614766B (en)
TW (1) TWI712907B (en)
WO (1) WO2020088104A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614766B (en) * 2018-10-31 2021-01-22 创新先进技术有限公司 Method and device for carrying out block chaining and evidence saving on webpage through file acquisition
CN110347645B (en) * 2019-06-19 2023-10-10 创新先进技术有限公司 Electronic file evidence storage method and device
CN110334542B (en) * 2019-06-20 2023-02-28 创新先进技术有限公司 Network evidence preservation and network evidence preservation verification method and device
CN110598476A (en) * 2019-09-19 2019-12-20 腾讯科技(深圳)有限公司 Block chain-based work evidence storing method and device and computer readable storage medium
CN110806913A (en) * 2019-10-30 2020-02-18 支付宝(杭州)信息技术有限公司 Webpage screenshot method, device and equipment
CN110851879B (en) * 2020-01-15 2023-03-21 蚂蚁区块链科技(上海)有限公司 Method, device and equipment for infringement and evidence preservation based on evidence preservation block chain
CN111079199B (en) * 2020-03-23 2020-07-28 杭州有数金融信息服务有限公司 Enterprise credit data screenshot tamper-proofing method based on block chain technology
CN113409045B (en) * 2021-01-27 2023-03-21 支付宝(杭州)信息技术有限公司 Data processing method and device based on block chain and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239332A (en) * 2013-06-18 2014-12-24 腾讯科技(深圳)有限公司 Webpage content processing method, webpage content processing device and browser client side
CN106815530A (en) * 2016-12-26 2017-06-09 北京爱接力科技发展有限公司 Data deposit card method, data verification method and device
CN108629038A (en) * 2018-05-11 2018-10-09 北京奇虎科技有限公司 Webpage based on block chain deposits card method and system
CN109614766A (en) * 2018-10-31 2019-04-12 阿里巴巴集团控股有限公司 It is a kind of that the method and device that block chain deposits card is carried out to webpage by file acquisition

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143055B (en) * 2014-08-16 2017-02-15 合一网络技术(北京)有限公司 Pirated video monitoring method and system
CN104536984B (en) * 2014-12-08 2017-10-13 北京邮电大学 The verification method and system of a kind of space text Top k inquiries in Outsourced database
US20160321434A1 (en) * 2015-05-01 2016-11-03 Monegraph, Inc. Digital content rights transactions using block chain systems
CN105611428A (en) * 2015-12-22 2016-05-25 北京安寻网络科技有限公司 Video evidence preserving and verifying method and device
CN110178338B (en) * 2016-08-24 2023-07-04 莱音娱乐有限公司 Computer-implemented method for creating an encrypted secure digital asset
CN107818108A (en) * 2016-09-13 2018-03-20 阿里巴巴集团控股有限公司 A kind of webpage rendering intent, apparatus and system
CN106682457A (en) * 2016-12-16 2017-05-17 北京握奇智能科技有限公司 Picture copyright protection method and picture copyright protection system based on blockchain technology
CN107784604A (en) * 2017-10-28 2018-03-09 北京安妮全版权科技发展有限公司 Copyright deposits card method, apparatus, storage medium and electronic equipment
CN108550037B (en) * 2018-04-11 2022-05-17 北京知金链网络技术有限公司 File processing method and device based on block chain
AU2018100999A4 (en) * 2018-07-17 2018-09-06 Cherkas, Ruslan Mr Integration of Cryptocurrency Splitting Technology, Highly Scalable Blockchain Network and Mirror Advertising Technology for transparency of Business Operations and Taxation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239332A (en) * 2013-06-18 2014-12-24 腾讯科技(深圳)有限公司 Webpage content processing method, webpage content processing device and browser client side
CN106815530A (en) * 2016-12-26 2017-06-09 北京爱接力科技发展有限公司 Data deposit card method, data verification method and device
CN108629038A (en) * 2018-05-11 2018-10-09 北京奇虎科技有限公司 Webpage based on block chain deposits card method and system
CN109614766A (en) * 2018-10-31 2019-04-12 阿里巴巴集团控股有限公司 It is a kind of that the method and device that block chain deposits card is carried out to webpage by file acquisition

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "The impact of blockchain deposit", 10 September 2018 (2018-09-10), pages 1 - 4, XP055698495, Retrieved from the Internet <URL:https://www.rideip.com/article/view/id-60.html> *

Also Published As

Publication number Publication date
TW202018556A (en) 2020-05-16
TWI712907B (en) 2020-12-11
CN109614766B (en) 2021-01-22
CN109614766A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
WO2020088104A1 (en) Method and apparatus for performing block chain record-keeping on webpage by means of file acquisition
WO2020088073A1 (en) Method and apparatus for performing blockchain evidence storage on webpage by means of webpage monitoring
WO2020029630A1 (en) Transaction method and system based on centralized clearing and blockchain record keeping
US10521812B2 (en) Method and system for upgrading a previously purchased media asset
WO2020029631A1 (en) Transaction method and system based on centralized settlement and blockchain deposit certificates
WO2020029629A1 (en) Transaction method and system based on centralized settlement and block chain storage
US7783624B2 (en) E-commerce system using searchable tags
US10929406B2 (en) Systems and methods for a self-services data file configuration with various data sources
CN110245069B (en) Page version testing method and device and page display method and device
US20080120609A1 (en) Method and System for Upgrading a Previously Purchased Media Asset
WO2017107620A1 (en) Method and system for loading page data
US20220337439A1 (en) Rights-enabled tokens for blockchain applications
US20240086414A1 (en) Efficient access of chainable records
BR102012019639A2 (en) methods and apparatus for dynamically delivering advertisements
WO2020082917A1 (en) Methods and systems for publishing programming problem, publishing solution code, and checking solution code
CN109302493B (en) User information sharing method and device, electronic equipment and storage medium
JP6505849B2 (en) Generation of element identifier
CN110245188B (en) Work list evidence-storing method, device and system based on blockchain
CN104361094A (en) Storage method and device for file in search result, and browser client
US10769388B2 (en) Changing a language for a user session replay
US10536458B2 (en) Method and apparatus for managing a transaction right
US8997131B1 (en) Advertisements for recorded content
CN118093586A (en) Data storage method, device, electronic equipment and medium
CN113934956A (en) Page loading method, device and equipment and readable storage medium
CN113535264A (en) API processing method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19879018

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19879018

Country of ref document: EP

Kind code of ref document: A1