Web page evidence implementation method and device based on blockchain, and computer storage medium
By analyzing and updating the target web pages, obtaining and storing undisplayed content, the problem of incomplete content on blockchain web pages is solved, and more comprehensive and accurate evidence storage is achieved, and the efficiency of rights protection is improved.
Patent Information
- Application Number
- CN202210655014.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-06-10
AI Technical Summary
When proofing of web pages based on blockchain, the content of the evidence is mostly web page screenshots, and the content that is not displayed cannot be screened, resulting in incomplete and inaccurate information. How to improve the comprehensiveness and accuracy of the content of web page evidence storage has become an important issue.
By determining the target web page to be verified, analyzing all display types corresponding to all contents contained, determining whether it includes the trigger display type, obtaining the target content corresponding to the trigger display type, and updating the target web page based on the content, and finally performing blockchain verification on the updated web page.
It improves the comprehensiveness and accuracy of web page evidence storage content, and enhances the efficiency and reliability of web page evidence storage content based on blockchain to protect rights.
Smart Images

Figure CN115080578B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain-based web page evidence implementation method and device, and a computer storage medium. Background Art
[0002] At present, for the purpose of preserving network evidence, blockchain technology can be used to store web pages that present network evidence. For example, in the field of copyright protection, blockchain evidence storage parties can, at the request of the copyright owner, store infringing web pages (web pages that present infringing works) to preserve evidence for subsequent rights protection links.
[0003] However, practice has found that when webpage evidence is stored based on blockchain, the content stored is mostly screenshots of webpages. Since the content of the webpage after the screenshot is the content displayed at the time of the screenshot, the content that was not displayed at the time of the screenshot cannot be captured and cannot be stored. In other words, the webpage content stored on blockchain has the problem of incomplete and inaccurate information. It can be seen that how to improve the comprehensiveness and accuracy of the content of webpage evidence based on blockchain is particularly important. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method and device for implementing web page evidence based on blockchain, and a computer storage medium, which can improve the comprehensiveness and accuracy of the content of web page evidence while implementing web page evidence based on blockchain.
[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a method for implementing webpage evidence storage based on blockchain, the method comprising:
[0006] Determine a target webpage to be documented, and analyze the target webpage to obtain all display types corresponding to all contents contained in the target webpage;
[0007] Determining whether all the display types include a trigger display type, where the trigger display type is a display type corresponding to the content displayed after a corresponding display trigger operation is detected;
[0008] When it is determined that all the display types include the trigger display type, acquiring the target content corresponding to the trigger display type;
[0009] performing an update operation on the target webpage based on the target content to obtain an updated target webpage, wherein the updated target webpage displays the target content;
[0010] Perform a blockchain notarization operation on the updated target webpage.
[0011] As an optional implementation manner, in the first aspect of the present invention, the analyzing the target webpage to obtain all display types corresponding to all contents contained in the target webpage includes:
[0012] Obtaining the open source source code of the target webpage;
[0013] Analyze the open source source code to obtain all functional components corresponding to the target webpage;
[0014] Analyze all the functional components to obtain all display types corresponding to all the contents contained in the target webpage; or,
[0015] The display contents and web page operations corresponding to the target web page at multiple different times are collected, and the display contents and web page operations corresponding to the target web page at multiple different times are compared and analyzed to obtain all display types corresponding to all contents contained in the target web page.
[0016] As an optional implementation, in the first aspect of the present invention, before performing an update operation on the target webpage based on the target content to obtain an updated target webpage, the method further includes:
[0017] Determine whether the trigger display type is a preset trigger display type, and when it is determined that the trigger display type is not the preset trigger display type, trigger the execution of the update operation on the target webpage based on the target content to obtain the updated target webpage; wherein the output content corresponding to the preset trigger display type is the audio and video content to be played;
[0018] When it is determined that the trigger display type is the preset trigger display type, obtaining a file storage address corresponding to the target webpage, wherein the file storage address is a storage address of the audio and video content;
[0019] According to the file storage address, obtaining the audio and video content corresponding to the target webpage;
[0020] Perform blockchain notarization operations on the target webpage and the audio and video content.
[0021] As an optional implementation manner, in the first aspect of the present invention, after determining that the trigger display type is not the preset trigger display type, the method further includes:
[0022] Performing a keyword extraction operation on the target content according to a predetermined evidence storage requirement factor to obtain a keyword extraction result;
[0023] Calculate the degree of match between the keywords in the keyword extraction result and the evidence storage requirement factor, and determine whether the calculated degree of match is greater than or equal to a preset degree of match threshold; when it is determined that the degree of match is greater than or equal to the preset degree of match threshold, trigger the execution of the operation of updating the target web page based on the target content to obtain an updated target web page.
[0024] As an optional implementation, in the first aspect of the present invention, the performing a blockchain evidence storage operation on the updated target webpage includes:
[0025] Dividing the content corresponding to the updated target webpage according to a predetermined information division rule to obtain at least one webpage content group to be stored;
[0026] For each of the web page content groups, determining an encoding rule corresponding to the web page content group, performing an encoding operation according to the encoding rule corresponding to the web page content group to obtain an encoding result corresponding to the web page content group, judging whether there is at least one target web page content group having a content association relationship with the web page content group in other web page content groups, and when the judgment result is yes, generating a corresponding association tag and adding the association tag to the encoding result corresponding to the web page content group to update the encoding result corresponding to the web page content group;
[0027] A blockchain notarization operation is performed on the encoding results corresponding to all the web page content groups.
[0028] As an optional implementation, in the first aspect of the present invention, the performing of a blockchain evidence storage operation on the encoding results corresponding to all the webpage content groups includes:
[0029] According to the importance values of the contents included in all the web page content groups, a storage priority is set for each of the web page content groups; wherein the higher the storage priority, the more important the contents included in the corresponding web page content group and the earlier the storage order of the corresponding web page content group;
[0030] Determine the web page content group to be processed in descending order of evidence priority, select a web page content group that has a content association relationship with the web page content group to be processed from the remaining web page content groups whose evidence priority is lower than that of the web page content group to be processed and whose evidence priority has not been adjusted, and use it as the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed, and perform an evidence priority adjustment operation on the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed according to the evidence priority of the web page content group to be processed;
[0031] Based on the evidence storage priorities corresponding to all the web page content groups, a blockchain evidence storage operation is performed on the encoding results corresponding to all the web page content groups.
[0032] As an optional embodiment, in the first aspect of the present invention, the method further comprises:
[0033] Monitoring a target key area of the target webpage based on the webpage address of the target webpage to obtain a monitoring result;
[0034] Whether the content of the target key area has changed is determined according to the monitoring result. When the determination result is yes, a blockchain notarization operation is performed on the changed content outputted by the target key area.
[0035] The second aspect of the present invention discloses a webpage evidence implementation device based on blockchain, the device comprising:
[0036] A determination module, used to determine a target web page to be stored;
[0037] An analysis module, used for analyzing the target webpage to obtain all display types corresponding to all contents contained in the target webpage;
[0038] A determination module, used to determine whether all the display types include a trigger display type, wherein the trigger display type is a display type corresponding to the content displayed after a corresponding display trigger operation is detected;
[0039] an acquisition module, configured to acquire target content corresponding to the trigger display type when the judgment module determines that all the display types include the trigger display type;
[0040] An updating module, configured to perform an updating operation on the target webpage based on the target content to obtain an updated target webpage, wherein the updated target webpage displays the target content;
[0041] The evidence storage module is used to perform a blockchain evidence storage operation on the updated target web page.
[0042] As an optional implementation, in the second aspect of the present invention, the specific manner in which the analysis module analyzes the target webpage to obtain all display types corresponding to all contents contained in the target webpage includes:
[0043] Obtaining the open source source code of the target webpage;
[0044] Analyze the open source source code to obtain all functional components corresponding to the target webpage;
[0045] Analyze all the functional components to obtain all display types corresponding to all the contents contained in the target webpage; or,
[0046] The display contents and web page operations corresponding to the target web page at multiple different times are collected, and the display contents and web page operations corresponding to the target web page at multiple different times are compared and analyzed to obtain all display types corresponding to all contents contained in the target web page.
[0047] As an optional implementation, in the second aspect of the present invention, the judgment module is further used to judge whether the trigger display type is a preset trigger display type before the update module performs an update operation on the target webpage based on the target content to obtain the updated target webpage, and when it is judged that the trigger display type is not the preset trigger display type, trigger the update module to perform the update operation on the target webpage based on the target content to obtain the updated target webpage; wherein the output content corresponding to the preset trigger display type is the audio and video content to be played;
[0048] The acquisition module is further configured to acquire the file storage address corresponding to the target webpage when the judgment module determines that the trigger display type is the preset trigger display type, wherein the file storage address is the storage address of the audio and video content; and acquire the audio and video content corresponding to the target webpage according to the file storage address;
[0049] The evidence storage module is also used to perform blockchain evidence storage operations on the target web page and the audio and video content.
[0050] As an optional implementation, in the second aspect of the present invention, the device further includes:
[0051] An extraction module, configured to perform a keyword extraction operation on the target content according to a predetermined evidence storage requirement factor to obtain a keyword extraction result after the judgment module judges that the trigger display type is not the preset trigger display type;
[0052] A calculation module, used to calculate the matching degree between the keywords in the keyword extraction result and the evidence storage requirement factor;
[0053] The judgment module is also used to judge whether the calculated matching degree is greater than or equal to a preset matching degree threshold. When it is judged that the matching degree is greater than or equal to the preset matching degree threshold, the update module is triggered to execute the update operation on the target web page based on the target content to obtain the updated target web page.
[0054] As an optional implementation, in the second aspect of the present invention, the specific manner in which the evidence storage module performs the blockchain evidence storage operation on the updated target webpage includes:
[0055] Dividing the content corresponding to the updated target webpage according to a predetermined information division rule to obtain at least one webpage content group to be stored;
[0056] For each of the web page content groups, determining an encoding rule corresponding to the web page content group, performing an encoding operation according to the encoding rule corresponding to the web page content group to obtain an encoding result corresponding to the web page content group, judging whether there is at least one target web page content group having a content association relationship with the web page content group in other web page content groups, and when the judgment result is yes, generating a corresponding association tag and adding the association tag to the encoding result corresponding to the web page content group to update the encoding result corresponding to the web page content group;
[0057] A blockchain notarization operation is performed on the encoding results corresponding to all the web page content groups.
[0058] As an optional implementation, in the second aspect of the present invention, the specific manner in which the evidence storage module performs a blockchain evidence storage operation on the encoding results corresponding to all the webpage content groups includes:
[0059] According to the importance values of the contents included in all the web page content groups, a storage priority is set for each of the web page content groups; wherein the higher the storage priority, the more important the contents included in the corresponding web page content group and the earlier the storage order of the corresponding web page content group;
[0060] Determine the web page content group to be processed in descending order of evidence priority, select a web page content group that has a content association relationship with the web page content group to be processed from the remaining web page content groups whose evidence priority is lower than that of the web page content group to be processed and whose evidence priority has not been adjusted, and use it as the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed, and perform an evidence priority adjustment operation on the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed according to the evidence priority of the web page content group to be processed;
[0061] Based on the evidence storage priorities corresponding to all the web page content groups, a blockchain evidence storage operation is performed on the encoding results corresponding to all the web page content groups.
[0062] As an optional implementation, in the second aspect of the present invention, the device further includes:
[0063] A monitoring module, used for monitoring a target key area of the target webpage based on the webpage address of the target webpage to obtain a monitoring result;
[0064] The judging module is further used to judge whether the content of the target key area has changed according to the monitoring result;
[0065] The evidence storage module is also used to perform a blockchain evidence storage operation on the changed content output by the target key area when the judgment module determines whether the content of the target key area has changed.
[0066] The third aspect of the present invention discloses another blockchain-based webpage evidence implementation device, the device comprising:
[0067] A memory storing executable program code;
[0068] a processor coupled to the memory;
[0069] The processor calls the executable program code stored in the memory to execute part or all of the steps in the blockchain-based web page evidence implementation method disclosed in the first aspect of the present invention.
[0070] The fourth aspect of the present invention discloses a computer-storable medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the blockchain-based web page evidence implementation method disclosed in the first aspect of the present invention.
[0071] The fifth aspect of an embodiment of the present invention discloses a computer program product. When the computer program product is run on a computer, the computer executes part or all of the steps in any blockchain-based web page evidence implementation method disclosed in the first aspect of the present invention.
[0072] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0073] The present invention can improve the comprehensiveness and accuracy of web page evidence content while realizing web page evidence based on blockchain, thereby facilitating the improvement of the efficiency and reliability of safeguarding rights based on web page evidence content on blockchain. In addition, the display type of the content contained in the web page can be analyzed based on the open source source code of the web page or the display content corresponding to different times and the corresponding web page operation. The former can improve the accuracy and completeness of all analyzed display types, and the latter can improve the efficiency and convenience of analyzing the display type. In addition, before updating the web page, it is possible to first determine whether the trigger display type is a preset trigger display type, and then perform a matching evidence processing operation according to the judgment result, which is conducive to improving the accuracy of the evidence processing operation, and can realize the evidence of audio and video content, and can also realize the evidence of other implicit content of non-audio and video content, which is conducive to further improving the comprehensiveness and accuracy of the evidence content. In addition, when it is determined that the trigger display type is not the preset trigger display type, the target content can be intelligently extracted according to the evidence demand factor, and then the update control of the web page can be realized according to the matching degree of the extracted keywords and the evidence demand factor, which is conducive to improving the accuracy of updating the web page and reducing unnecessary web page update operations while ensuring the evidence demand. In addition, when storing web pages, it is possible to intelligently group the content of the stored web pages and encode different groups based on different encoding rules, and then store the encoding results of each group based on the blockchain. This can reduce the amount of stored data while ensuring the accuracy of the stored results, which is beneficial to saving the storage space consumed by the blockchain, and can further improve the security of the stored content. Furthermore, the generated associated tags can be updated to the encoding results, which is beneficial to improving the efficiency of reading associated stored content when the stored content needs to be read later, and improving the integrity and comprehensiveness of the required stored content; in addition, when storing the encoding results, it is also possible to realize the sequential storage of the encoding results based on the determined storage priority, and it is also possible to adjust the storage priority, which is beneficial to improve the accuracy of the storage order and the reliability of the storage; in addition, it is also possible to realize intelligent monitoring of the content output of the target key area of the target web page. When changes are detected, the changed content is stored on the blockchain, which is beneficial to further improve the comprehensiveness of the content of web page storage based on the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0075] Figure 1It is a flowchart of a blockchain-based webpage evidence implementation method disclosed in an embodiment of the present invention;
[0076] Figure 2 It is a flowchart of another blockchain-based webpage evidence implementation method disclosed in an embodiment of the present invention;
[0077] Figure 3 It is a structural schematic diagram of a blockchain-based webpage evidence storage implementation device disclosed in an embodiment of the present invention;
[0078] Figure 4 It is a structural schematic diagram of another blockchain-based web page evidence implementation device disclosed in an embodiment of the present invention;
[0079] Figure 5 It is a structural diagram of another blockchain-based web page evidence implementation device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0080] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0081] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.
[0082] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0083] The present invention discloses a method and device for implementing webpage evidence storage based on blockchain, and a computer storage medium, which can improve the comprehensiveness and accuracy of webpage evidence content while implementing webpage evidence storage based on blockchain, thereby facilitating the improvement of the efficiency and reliability of rights protection based on webpage evidence content on blockchain. The following are detailed descriptions.
[0084] Embodiment 1
[0085] See also Figure 1 , Figure 1 This is a flowchart of a blockchain-based web page evidence implementation method disclosed in an embodiment of the present invention. Figure 1 The blockchain-based webpage evidence implementation method described above can be applied to an evidence control device, which is used to implement blockchain-based webpage evidence, and the evidence control device can be integrated in an evidence control device, which can be a local device or a cloud device, such as a cloud server, which is not limited in the embodiments of the present invention. Figure 1 As shown, the blockchain-based webpage evidence implementation method may include the following operations:
[0086] 101. Determine a target webpage to be documented, and analyze the target webpage to obtain all display types corresponding to all contents contained in the target webpage.
[0087] In the embodiment of the present invention, the target web page to be stored can be given by relevant personnel, or can be intelligently selected by the storage control device according to the determined rights protection information. Further, for the latter, the storage control device can first determine the list of web pages to be stored corresponding to the rights protection information, and then provide the list of web pages to be stored to the relevant personnel for selection, or select a web page with an infringement probability greater than or equal to a preset probability threshold from the list of web pages to be stored, which is not limited by the embodiment of the present invention. Optionally, the rights protection information includes content that needs to be protected, and the content that needs to be protected can be one of a work of art, a literary work, a musical work, a web page layout, etc., which is not limited by the embodiment of the present invention.
[0088] 102. Determine whether all display types include a trigger display type, where the trigger display type is a display type corresponding to content displayed after a corresponding display trigger operation is detected.
[0089] Among them, when the judgment result of step 102 is yes, step 103 is triggered to be executed; when the judgment result of step 102 is no, the blockchain evidence operation can be directly performed on the target web page.
[0090] 103. When it is determined that all display types include a trigger display type, obtain target content corresponding to the trigger display type.
[0091] The target content corresponding to the trigger display type may be text or a picture, which is not limited in the embodiment of the present invention.
[0092] 104. Perform an update operation on the target webpage based on the target content to obtain an updated target webpage, where the updated target webpage displays the target content.
[0093] Optionally, performing an update operation on the target webpage based on the target content to obtain an updated target webpage may include:
[0094] The display area of the target content in the target webpage is determined, and the target content is displayed in the display area to obtain an updated target webpage.
[0095] Among them, the display area of the target content gives priority to the original display area of the target content under the triggering of the triggering operation. However, if the original display area will cover the infringement-related content, it is necessary to re-determine a new display area, and the new display area cannot cover the infringement-related content. Preferably, when determining the new display area, it is possible to first determine whether there is content in the page content displayed by the target web page that is not related to the infringement and contains preset sensitive information. When the judgment result is yes, the display area corresponding to the content is determined as the display area of the target content, that is, the target content is overwritten and displayed on the content that is not related to the infringement and contains preset sensitive information. This can not only reduce the impact of the display of the target content on the infringement-related content, but also cover the sensitive content based on the target content, which can simplify the processing operation of sensitive content.
[0096] 105. Perform blockchain evidence storage operations on the updated target web page.
[0097] It can be seen that the method described in the embodiment of the present invention can improve the comprehensiveness and accuracy of the content of web page evidence while realizing web page evidence based on blockchain, which is beneficial to improving the efficiency and reliability of rights protection based on the content of web page evidence on blockchain.
[0098] In an optional embodiment, the above-mentioned analyzing the target webpage to obtain all display types corresponding to all contents contained in the target webpage may include:
[0099] Obtain the open source source code of the target web page;
[0100] Analyze the open source source code to obtain all functional components corresponding to the target web page;
[0101] Analyze all functional components to obtain all display types corresponding to all content contained in the target webpage; and / or,
[0102] The display contents and web page operations corresponding to the target web page at multiple different times are collected, and the display contents and web page operations corresponding to the target web page at multiple different times are compared and analyzed to obtain all display types corresponding to all contents contained in the target web page.
[0103] When the display type is analyzed in two ways, a comprehensive determination may be made based on the display types analyzed in the two ways, for example, by taking the union of the two.
[0104] It can be seen that this optional embodiment can also analyze the display type of the content contained in the web page based on the open source source code of the web page or the display content corresponding to different times and the corresponding web page operations. The former can improve the accuracy and completeness of all analyzed display types, and the latter can improve the efficiency and convenience of analyzing the display types.
[0105] In another optional embodiment, the above-mentioned blockchain evidence storage operation on the updated target webpage may include:
[0106] According to a predetermined information division rule, the content corresponding to the updated target webpage is divided to obtain at least one webpage content group to be stored;
[0107] For each web page content group, determine the encoding rule corresponding to the web page content group, perform encoding operations according to the encoding rule corresponding to the web page content group to obtain an encoding result (such as a hash value) corresponding to the web page content group, and determine whether there is at least one target web page content group in other web page content groups that has a content association relationship with the web page content group. When the determination result is yes, generate a corresponding association tag and add the association tag to the encoding result corresponding to the web page content group to update the encoding result corresponding to the web page content group;
[0108] Perform blockchain notarization operations on the encoding results corresponding to all web page content groups.
[0109] It can be seen that this optional embodiment can also intelligently implement the grouping of the stored web page content and encode different groups based on different encoding rules when storing web pages, and then store the encoding results of each group based on the blockchain. This can reduce the amount of stored data while ensuring the accuracy of the storage results, which is beneficial to saving the storage space consumed by the blockchain and can further improve the security of the stored content. Furthermore, the generated associated tags can be updated to the encoding results, which is beneficial to improve the efficiency of reading associated stored content when the stored content needs to be read later, and improve the integrity and comprehensiveness of the required stored content.
[0110] In this optional embodiment, further optionally, the above-mentioned blockchain evidence storage operation for the encoding results corresponding to all webpage content groups may include:
[0111] According to the importance of the contents included in all web page content groups, a storage priority is set for each web page content group; wherein the higher the storage priority, the more important the contents included in the corresponding web page content group and the earlier the storage order of the corresponding web page content group;
[0112] Determine the web page content group to be processed in descending order of evidence priority, select a web page content group that has a content association relationship with the web page content group to be processed from the remaining web page content groups whose evidence priority is lower than that of the web page content group to be processed and whose evidence priority has not been adjusted, and use it as the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed, and perform an evidence priority adjustment operation on the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed according to the evidence priority of the web page content group to be processed;
[0113] Based on the evidence storage priorities corresponding to all web page content groups, a blockchain evidence storage operation is performed on the encoding results corresponding to all web page content groups.
[0114] It can be seen that this optional embodiment can also realize sequential evidence storage of encoding results based on the determined evidence storage priority when storing encoding results, and can also adjust the evidence storage priority, which is beneficial to improve the accuracy of the evidence storage order and the reliability of the evidence storage.
[0115] Embodiment 2
[0116] See also Figure 2 , Figure 2 This is a flowchart of a blockchain-based web page evidence implementation method disclosed in an embodiment of the present invention. Figure 2 The blockchain-based webpage evidence implementation method described above can be applied to an evidence control device, which is used to implement blockchain-based webpage evidence, and the evidence control device can be integrated in an evidence control device, which can be a local device or a cloud device, such as a cloud server, which is not limited in the embodiments of the present invention. Figure 2 As shown, the blockchain-based webpage evidence implementation method may include the following operations:
[0117] 201. Determine a target webpage to be stored as evidence, and analyze the target webpage to obtain all display types corresponding to all contents contained in the target webpage.
[0118] 202. Determine whether all display types include a trigger display type, where the trigger display type is a display type corresponding to content displayed after a corresponding display trigger operation is detected.
[0119] 203. When it is determined that all display types include a trigger display type, obtain target content corresponding to the trigger display type.
[0120] 204. Determine whether the trigger display type is a preset trigger display type. When the judgment result of step 204 is no, step 205 is triggered to execute; when the judgment result of step 204 is yes, step 206-step 207 is triggered to execute.
[0121] 205. Perform an update operation on the target webpage based on the target content to obtain an updated target webpage, the updated target webpage displays the target content, and perform a blockchain notarization operation on the updated target webpage.
[0122] 206. Obtain a file storage address corresponding to the target webpage, where the file storage address is a storage address of the audio and video content.
[0123] 207. According to the file storage address, obtain the audio and video content corresponding to the target webpage, and perform blockchain notarization operations on the target webpage and the audio and video content.
[0124] It can be seen that the method described in the embodiment of the present invention can improve the comprehensiveness and accuracy of the content of web page evidence while realizing web page evidence based on blockchain, which is conducive to improving the efficiency and reliability of rights protection based on web page evidence content on blockchain. In addition, before updating the web page, it is possible to first determine whether the trigger display type is a preset trigger display type, and then perform a matching evidence processing operation based on the judgment result, which is conducive to improving the accuracy of the evidence processing operation, and can realize the evidence of audio and video content, and can also realize the evidence of other implicit content other than audio and video content, which is conducive to further improving the comprehensiveness and accuracy of the evidence content.
[0125] In an optional embodiment, after determining that the trigger display type is not a preset trigger display type, the method may further include the following operations:
[0126] Perform keyword extraction operation on target content according to the predetermined evidence storage demand factor to obtain keyword extraction results;
[0127] Calculate the matching degree between the keywords in the keyword extraction result and the evidence storage requirement factor, and determine whether the calculated matching degree is greater than or equal to the preset matching degree threshold. When it is determined that the matching degree is greater than or equal to the preset matching degree threshold, trigger the execution of the above-mentioned update operation on the target web page based on the target content to obtain the updated target web page.
[0128] It can be seen that this optional embodiment can also intelligently perform an extraction operation on the target content according to the evidence requirement factor when it is determined that the trigger display type is not the preset trigger display type, and then realize the update control of the web page according to the matching degree between the extracted keywords and the evidence requirement factor, which is beneficial to improve the accuracy of updating the web page and reduce unnecessary web page update operations while ensuring the evidence requirement.
[0129] In another optional embodiment, the method may further include the following operations:
[0130] Based on the webpage address of the target webpage, a target key area of the target webpage is monitored to obtain a monitoring result;
[0131] It is determined whether the content of the target key area has changed based on the monitoring results. If the judgment result is yes, a blockchain notarization operation is performed on the changed content outputted by the target key area.
[0132] It can be seen that this optional embodiment can also realize intelligent monitoring of the content outputted in the target key area of the target web page. When changes are detected, the changed content is stored on the blockchain, which is conducive to further improving the comprehensiveness of the content stored on the web page based on the blockchain.
[0133] Embodiment 3
[0134] See also Figure 3 , Figure 3 This is a schematic diagram of a blockchain-based web page evidence implementation device disclosed in an embodiment of the present invention. Figure 3 The described evidence storage control device is used to implement blockchain-based web page evidence storage, and the evidence storage control device can be integrated in an evidence storage control device, which can be a local device or a cloud device, such as a cloud server, which is not limited in the embodiments of the present invention. Figure 3 As shown, the blockchain-based webpage evidence implementation device may include:
[0135] Determination module 301, used to determine the target web page to be stored;
[0136] An analysis module 302 is used to analyze the target webpage to obtain all display types corresponding to all contents contained in the target webpage;
[0137] A determination module 303 is used to determine whether all display types include a trigger display type, where the trigger display type is a display type corresponding to the content displayed after a corresponding display trigger operation is detected;
[0138] The acquisition module 304 is used to acquire the target content corresponding to the triggering display type when the determination module 303 determines that all display types include the triggering display type;
[0139] An updating module 305 is used to perform an updating operation on the target webpage based on the target content to obtain an updated target webpage, where the updated target webpage displays the target content;
[0140] The evidence storage module 306 is used to perform a blockchain evidence storage operation on the updated target web page.
[0141] It can be seen that implementation Figure 3 The described device can improve the comprehensiveness and accuracy of web page evidence content while realizing web page evidence based on blockchain, thereby helping to improve the efficiency and reliability of rights protection based on web page evidence content on blockchain.
[0142] In an optional embodiment, the specific manner in which the analysis module 302 analyzes the target webpage to obtain all display types corresponding to all contents contained in the target webpage may include:
[0143] Obtain the open source source code of the target web page;
[0144] Analyze the open source source code to obtain all functional components corresponding to the target web page;
[0145] Analyze all functional components to obtain all display types corresponding to all content contained in the target webpage; and / or,
[0146] The display contents and web page operations corresponding to the target web page at multiple different times are collected, and the display contents and web page operations corresponding to the target web page at multiple different times are compared and analyzed to obtain all display types corresponding to all contents contained in the target web page.
[0147] It can be seen that implementation Figure 3 The described device can also analyze the display type of the content contained in the web page based on the open source source code of the web page or the display content corresponding to different times and the corresponding web page operations. The former can improve the accuracy and completeness of all analyzed display types, and the latter can improve the efficiency and convenience of analyzing the display types.
[0148] In another optional embodiment, the judgment module 303 is further used to judge whether the trigger display type is a preset trigger display type before the update module 305 performs an update operation on the target webpage based on the target content to obtain the updated target webpage, and when it is judged that the trigger display type is not the preset trigger display type, the update module 305 is triggered to perform the above-mentioned update operation on the target webpage based on the target content to obtain the updated target webpage; wherein the output content corresponding to the preset trigger display type is the audio and video content to be played;
[0149] The acquisition module 304 is further used to acquire the file storage address corresponding to the target webpage when the determination module 303 determines that the trigger display type is the preset trigger display type, where the file storage address is the storage address of the audio and video content; and acquire the audio and video content corresponding to the target webpage according to the file storage address;
[0150] The evidence storage module 306 is also used to perform blockchain evidence storage operations on the target web page and audio and video content.
[0151] It can be seen that this optional embodiment can also determine whether the trigger display type is the preset trigger display type before updating the web page, and then perform a matching evidence processing operation based on the determination result, which is beneficial to improving the accuracy of the evidence processing operation, and can realize the evidence of audio and video content, as well as the evidence of other implicit content other than audio and video content, which is beneficial to further improve the comprehensiveness and accuracy of the evidence content.
[0152] In yet another optional embodiment, Figure 4 As shown, the device may also include:
[0153] The extraction module 307 is used to perform a keyword extraction operation on the target content according to a predetermined evidence storage requirement factor to obtain a keyword extraction result after the judgment module 303 judges that the trigger display type is not a preset trigger display type;
[0154] A calculation module 308, used to calculate the matching degree between the keywords in the keyword extraction result and the evidence storage requirement factor;
[0155] The judgment module 303 is also used to judge whether the calculated matching degree is greater than or equal to the preset matching degree threshold. When it is judged that the matching degree is greater than or equal to the preset matching degree threshold, the update module 305 is triggered to execute the above-mentioned update operation on the target web page based on the target content to obtain the updated target web page.
[0156] It can be seen that implementation Figure 4 The described device can also intelligently perform an extraction operation on the target content according to the evidence requirement factor when it is determined that the trigger display type is not the preset trigger display type, and then realize the update control of the web page according to the matching degree between the extracted keywords and the evidence requirement factor, which is beneficial to improve the accuracy of updating the web page and reduce unnecessary web page update operations while ensuring the evidence requirement.
[0157] In another optional embodiment, the specific manner in which the evidence storage module 306 performs the blockchain evidence storage operation on the updated target webpage includes:
[0158] According to a predetermined information division rule, the content corresponding to the updated target webpage is divided to obtain at least one webpage content group to be stored;
[0159] For each web page content group, determining an encoding rule corresponding to the web page content group, performing an encoding operation according to the encoding rule corresponding to the web page content group to obtain an encoding result corresponding to the web page content group, judging whether there is at least one target web page content group having a content association relationship with the web page content group in other web page content groups, and when the judgment result is yes, generating a corresponding association tag and adding the association tag to the encoding result corresponding to the web page content group to update the encoding result corresponding to the web page content group;
[0160] Perform blockchain notarization operations on the encoding results corresponding to all web page content groups.
[0161] In this optional embodiment, further optionally, the specific manner in which the evidence storage module 306 performs the blockchain evidence storage operation on the encoding results corresponding to all webpage content groups includes:
[0162] According to the importance of the contents included in all web page content groups, a storage priority is set for each web page content group; wherein the higher the storage priority, the more important the contents included in the corresponding web page content group and the earlier the storage order of the corresponding web page content group;
[0163] Determine the web page content group to be processed in descending order of evidence priority, select a web page content group that has a content association relationship with the web page content group to be processed from the remaining web page content groups whose evidence priority is lower than that of the web page content group to be processed and whose evidence priority has not been adjusted, and use it as the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed, and perform an evidence priority adjustment operation on the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed according to the evidence priority of the web page content group to be processed;
[0164] Based on the evidence storage priorities corresponding to all web page content groups, a blockchain evidence storage operation is performed on the encoding results corresponding to all web page content groups.
[0165] It can be seen that this optional embodiment can also intelligently implement the grouping of web page content to be stored and encode different groups based on different encoding rules when storing web pages, and then store the encoding results of each group based on the blockchain. This can reduce the amount of stored data while ensuring the accuracy of the storage results, which is beneficial to saving the storage space consumed by the blockchain and can further improve the security of the stored content. Furthermore, the generated associated tags can be updated to the encoding results, which is beneficial to improve the efficiency of reading associated stored content when the stored content needs to be read later, and improve the integrity and comprehensiveness of the required stored content. In addition, when storing the encoding results, the sequential storage of the encoding results can be realized based on the determined storage priority, and the storage priority can also be adjusted, which is beneficial to improve the accuracy of the storage order and the reliability of the storage.
[0166] In yet another optional embodiment, Figure 4 As shown, the device may also include:
[0167] A monitoring module 309 is used to monitor the target key area of the target webpage based on the webpage address of the target webpage to obtain a monitoring result;
[0168] The judging module 303 is further used to judge whether the content of the target key area has changed according to the monitoring result;
[0169] The evidence storage module 306 is also used to perform a blockchain evidence storage operation on the changed content output of the target key area when the judgment module 303 determines whether the content of the target key area has changed.
[0170] It can be seen that this optional embodiment can also realize intelligent monitoring of the content outputted in the target key area of the target web page. When changes are detected, the changed content is stored on the blockchain, which is conducive to further improving the comprehensiveness of the content stored on the web page based on the blockchain.
[0171] Embodiment 4
[0172] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of another blockchain-based web page evidence implementation device disclosed in an embodiment of the present invention. Figure 5 The described evidence storage control device is used to implement blockchain-based web page evidence storage, and the evidence storage control device can be integrated in an evidence storage control device, which can be a local device or a cloud device, such as a cloud server, which is not limited in the embodiments of the present invention. Figure 5 As shown, the blockchain-based webpage evidence implementation device may include: a memory 401 storing executable program code;
[0173] a processor 402 coupled to the memory 401;
[0174] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the blockchain-based web page evidence implementation method described in Example 1 or Example 2.
[0175] Embodiment 5
[0176] An embodiment of the present invention discloses a computer storage medium, which is used to store computer instructions. When the computer instructions are called, they are used to execute the steps in the blockchain-based web page evidence implementation described in Example 1 or Example 2.
[0177] Embodiment 6
[0178] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the blockchain-based web page evidence implementation described in Example 1 or Example 2.
[0179] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0180] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0181] Finally, it should be noted that the blockchain-based web page evidence implementation method and device, and computer storage medium disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments.
Claims
1. A method for implementing web page evidence storage based on blockchain, characterized in that: The method comprises: Determine a target webpage to be documented, and analyze the target webpage to obtain all display types corresponding to all contents contained in the target webpage; Determining whether all the display types include a trigger display type, where the trigger display type is a display type corresponding to the content displayed after a corresponding display trigger operation is detected; When it is determined that all the display types include the trigger display type, acquiring the target content corresponding to the trigger display type; performing an update operation on the target webpage based on the target content to obtain an updated target webpage, wherein the updated target webpage displays the target content; Performing a blockchain notarization operation on the updated target webpage; Wherein, before performing an updating operation on the target webpage based on the target content to obtain an updated target webpage, the method further includes: Determine whether the trigger display type is a preset trigger display type, and when it is determined that the trigger display type is not the preset trigger display type, trigger the execution of the update operation on the target webpage based on the target content to obtain the updated target webpage; wherein the output content corresponding to the preset trigger display type is the audio and video content to be played; When it is determined that the trigger display type is the preset trigger display type, obtaining a file storage address corresponding to the target webpage, wherein the file storage address is a storage address of the audio and video content; According to the file storage address, obtaining the audio and video content corresponding to the target webpage; Perform blockchain notarization operations on the target webpage and the audio and video content.
2. The method for implementing web page evidence storage based on blockchain according to claim 1 is characterized in that: The analyzing the target webpage to obtain all display types corresponding to all contents contained in the target webpage includes: Obtaining the open source source code of the target webpage; Analyze the open source source code to obtain all functional components corresponding to the target webpage; Analyze all the functional components to obtain all display types corresponding to all the contents contained in the target webpage; or, The display contents and web page operations corresponding to the target web page at multiple different times are collected, and the display contents and web page operations corresponding to the target web page at multiple different times are compared and analyzed to obtain all display types corresponding to all contents contained in the target web page.
3. The method for implementing web page evidence storage based on blockchain according to claim 1 is characterized in that: After determining that the trigger display type is not the preset trigger display type, the method further includes: Performing a keyword extraction operation on the target content according to a predetermined evidence storage requirement factor to obtain a keyword extraction result; Calculate the degree of match between the keywords in the keyword extraction result and the evidence storage requirement factor, and determine whether the calculated degree of match is greater than or equal to a preset degree of match threshold; when it is determined that the degree of match is greater than or equal to the preset degree of match threshold, trigger the execution of the operation of updating the target web page based on the target content to obtain an updated target web page.
4. The method for implementing web page evidence storage based on blockchain according to claim 3 is characterized in that: The performing of the blockchain evidence storage operation on the updated target webpage includes: Dividing the content corresponding to the updated target webpage according to a predetermined information division rule to obtain at least one webpage content group to be stored; For each of the web page content groups, determining an encoding rule corresponding to the web page content group, performing an encoding operation according to the encoding rule corresponding to the web page content group to obtain an encoding result corresponding to the web page content group, judging whether there is at least one target web page content group having a content association relationship with the web page content group in other web page content groups, and when the judgment result is yes, generating a corresponding association tag and adding the association tag to the encoding result corresponding to the web page content group to update the encoding result corresponding to the web page content group; A blockchain notarization operation is performed on the encoding results corresponding to all the web page content groups.
5. The method for implementing web page evidence storage based on blockchain according to claim 4 is characterized in that: The performing of blockchain evidence storage operation on the encoding results corresponding to all the webpage content groups includes: According to the importance values of the contents included in all the web page content groups, a storage priority is set for each of the web page content groups; wherein the higher the storage priority, the more important the contents included in the corresponding web page content group and the earlier the storage order of the corresponding web page content group; Determine the web page content group to be processed in descending order of evidence priority, select a web page content group that has a content association relationship with the web page content group to be processed from the remaining web page content groups whose evidence priority is lower than that of the web page content group to be processed and whose evidence priority has not been adjusted, and use it as the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed, and perform an evidence priority adjustment operation on the web page content group whose evidence priority is to be adjusted corresponding to the web page content group to be processed according to the evidence priority of the web page content group to be processed; A blockchain notarization operation is performed on the encoding results corresponding to all the web page content groups based on the notarization priorities corresponding to all the web page content groups.
6. The method for implementing web page evidence storage based on blockchain according to claim 5 is characterized in that: The method further comprises: Monitoring a target key area of the target webpage based on the webpage address of the target webpage to obtain a monitoring result; Whether the content of the target key area has changed is determined according to the monitoring result. When the determination result is yes, a blockchain notarization operation is performed on the changed content outputted by the target key area.
7. A webpage evidence storage implementation device based on blockchain, characterized in that: The device comprises: A determination module, used to determine a target web page to be stored; An analysis module, used for analyzing the target webpage to obtain all display types corresponding to all contents contained in the target webpage; A determination module, used to determine whether all the display types include a trigger display type, wherein the trigger display type is a display type corresponding to the content displayed after a corresponding display trigger operation is detected; an acquisition module, configured to acquire target content corresponding to the trigger display type when the judgment module determines that all the display types include the trigger display type; An updating module, configured to perform an updating operation on the target webpage based on the target content to obtain an updated target webpage, wherein the updated target webpage displays the target content; A proof storage module, used to perform a blockchain proof storage operation on the updated target web page; The judgment module is further configured to, before the update module performs an update operation on the target webpage based on the target content to obtain an updated target webpage, determine whether the trigger display type is a preset trigger display type, and when it is determined that the trigger display type is not the preset trigger display type, trigger the update module to perform the update operation on the target webpage based on the target content to obtain an updated target webpage; wherein the output content corresponding to the preset trigger display type is the audio and video content to be played; The acquisition module is further configured to acquire the file storage address corresponding to the target webpage when the judgment module determines that the trigger display type is the preset trigger display type, wherein the file storage address is the storage address of the audio and video content; and acquire the audio and video content corresponding to the target webpage according to the file storage address; The evidence storage module is also used to perform blockchain evidence storage operations on the target web page and the audio and video content.
8. A webpage evidence implementation device based on blockchain, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the steps in the blockchain-based web page evidence implementation method as described in any one of claims 1-6.
9. A computer storage medium, characterized in that The computer storage medium stores computer instructions, which, when called, are used to execute the steps in the blockchain-based web page evidence implementation method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
method and a device for carrying out block chain storage on a webpage through webpage monitoring
CN109582885A
Method and device for carrying out block chain storage on a webpage through file acquisition
CN109614766A