Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Page comparison method and device

A page and comparison result technology, applied in the network field, can solve the problems of automation efficiency and effect discount, spend a lot of manual labor, etc., and achieve the effect of improving accuracy

Active Publication Date: 2015-04-29
ALIBABA GRP HLDG LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This requires the insertion of manually excluded actions in the automation process, which interrupts the automation process and greatly reduces the efficiency and effect of automation; at the same time, with the development of front-end technology, there are more and more pages that change dynamically, and the areas that can change dynamically Also more and more, manually excluding these areas takes a lot of manual labor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page comparison method and device
  • Page comparison method and device
  • Page comparison method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] Embodiment 1, a method for page comparison, such as figure 2 shown, including:

[0054] S201. Taking screenshots of the first page at multiple times during the predetermined time length to obtain multiple first pictures;

[0055] S202. Using any one of the first pictures as a reference picture, respectively compare the other first pictures with the reference picture;

[0056] S203. According to the comparison result, identify different parts as dynamic change regions.

[0057] In this embodiment, the first said first picture may be used as the reference picture, but other first pictures may also be selected as the reference picture.

[0058]In this embodiment, the first page refers to the current page to be screenshotted; if it is to compare the screenshots of the main branches, then in step 201, the current version of the first page is screenshotted; if it is to compare the screenshots of multiple browsers, Then step 201 is to take a screenshot of the first page di...

Embodiment 2

[0085] Embodiment 2, a device for page comparison, such as Figure 4 shown, including:

[0086] The first screenshot unit 41 is configured to take screenshots of the first page at multiple moments during the predetermined time length to obtain multiple first pictures;

[0087] The first comparison unit 42 is configured to use any one of the first pictures as a reference picture, and respectively compare other first pictures with the reference picture;

[0088] The identification unit 43 is configured to identify different parts as dynamic change areas according to the comparison result.

[0089] In an implementation manner of this embodiment, the recognition unit 43 recognizes different parts as dynamic change regions according to the comparison result, which may specifically refer to:

[0090] The identification unit 43 marks different pixel points on the reference picture according to the comparison result; and identifies the area formed by the marked pixel points in the r...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a page comparison method and a device. The method comprises the following steps of respectively carrying out screenshot on a first page at a plurality of moments in the scheduled time length, so as to obtain a plurality of first pictures; by taking any one of the first pictures as a reference picture, respectively comparing the other first pictures with the reference picture; identifying the different parts to be dynamic change areas according to the comparison result. According to the page comparison method and the device, the influences of the dynamic change areas can be avoided in the page comparison process.

Description

technical field [0001] The invention relates to the network field, in particular to a method and device for page comparison. Background technique [0002] Image comparison is widely used in the process of automatic website verification, such as figure 1 As shown, the following steps 101-104 are included. [0003] 101. Enter the URL (uniform resource locator) of the page to be screenshotted in the browser; [0004] 102. For the displayed current page, take screenshots in different situations. [0005] 103. Compare the pictures obtained in the screenshots. [0006] 104. Determine whether there are differences between the pictures. If there are differences, the verification fails, indicating that the webpages corresponding to the screenshots have differences and output the differences; if there are no differences, the verification passes, indicating that the screenshots The corresponding web pages are the same. [0007] The screenshot in different situations described in s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 栗志果
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products