CN109901968A - A kind of automation page data method of calibration and device - Google Patents

A kind of automation page data method of calibration and device Download PDF

Info

Publication number
CN109901968A
CN109901968A CN201910095986.8A CN201910095986A CN109901968A CN 109901968 A CN109901968 A CN 109901968A CN 201910095986 A CN201910095986 A CN 201910095986A CN 109901968 A CN109901968 A CN 109901968A
Authority
CN
China
Prior art keywords
page
data
screenshot
verified
content
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910095986.8A
Other languages
Chinese (zh)
Inventor
马玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910095986.8A priority Critical patent/CN109901968A/en
Publication of CN109901968A publication Critical patent/CN109901968A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a kind of automation page data method of calibration and device.First the page is intercepted automatically using the perform script write in advance, to obtain page screenshot to be verified;To the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as text data;According still further to preconfigured, the text data is verified for the verification rule of the page, it determines whether the content of pages is expected content according to check results, so that it is determined that whether the content of page presentation is correct, realizes the quality monitoring for page real time content.

Description

A kind of automation page data method of calibration and device
Technical field
This specification is related to Internet technical field more particularly to a kind of automation page data method of calibration and device.
Background technique
For at present, the page of many mobile APP is in real-time change state, and the prior art can not monitor this page In real-time change content whether meet expection.Such as: ant wealth APP is to provide the APP of stock market, and the personal share of the inside is detailed Feelings page is related to many data, and has some conversion relations between data, such as: circulation value=capital stock in circulation * stock at that time Valence, and the data of the page are dynamic changes, and the prior art cannot continue the data reduction for automatically judging the page Whether relationship shows correctly.Lack a kind of automatic Verification method at present, realizes and the real time data of the page is verified.
Summary of the invention
In view of the above technical problems, this specification embodiment provides a kind of automation page data method of calibration and device, Technical solution is as follows:
According to this specification embodiment in a first aspect, providing a kind of automation page data method of calibration, this method packet It includes:
The page is intercepted automatically using the perform script write in advance, to obtain page screenshot to be verified;
To the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as text data;
According to preconfigured, the text data is verified for the verification rule of the page, according to verification As a result determine whether the content of pages is expected content.
According to the second aspect of this specification embodiment, a kind of automation page data calibration equipment, the device packet are provided It includes:
Picture interception module: for using the perform script write in advance to intercept the page automatically, to obtain to school The page screenshot tested;
Picture recognition module: for carrying out picture recognition to the page screenshot, the content in page screenshot is corresponding Be converted to text data;
Data check module: for according to preconfigured, for the page verification rule to the text data It is verified, determines whether the content of pages is expected content according to check results.
According to the third aspect of this specification embodiment, a kind of computer equipment is provided, including memory, processor and deposit Store up the computer program that can be run on a memory and on a processor, wherein the processor is realized when executing described program A kind of automation page data method of calibration, this method comprises:
The page is intercepted automatically using the perform script write in advance, to obtain page screenshot to be verified;
To the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as text data;
According to preconfigured, the text data is verified for the verification rule of the page, according to verification As a result determine whether the content of pages is expected content.
Technical solution provided by this specification embodiment provides a kind of automation page data method of calibration, first leads to It crosses script and obtains page screenshot automatically, then the critical data in screenshot is taken out by picture recognition technology, utilize predefined school It tests rule and determines whether meet expection to critical data, so that it is determined that whether the content of page presentation is correct, realize for the page The quality monitoring of real time content.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not This specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification embodiment for those of ordinary skill in the art can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is a kind of flow chart of the automation page data method of calibration shown in one exemplary embodiment of this specification;
Fig. 2 is another process of the automation page data method of calibration shown in one exemplary embodiment of this specification Figure;
Fig. 3 is another process of the automation page data method of calibration shown in one exemplary embodiment of this specification Figure;
Fig. 4 is a kind of timing signal of the automation page data method of calibration shown in one exemplary embodiment of this specification Figure;
Fig. 5 is a kind of schematic diagram of the automation page data calibration equipment shown in one exemplary embodiment of this specification;
Fig. 6 is a kind of structural schematic diagram of computer equipment shown in one exemplary embodiment of this specification.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... " or " in response to determination ".
For at present, the page of many mobile APP is in real-time change state, and the prior art can not monitor this page In real-time change content whether meet expection.Such as: ant wealth APP is to provide the APP of stock market, and the personal share of the inside is detailed Feelings page is related to many data, and has some conversion relations between data, such as: circulation value=capital stock in circulation * stock at that time Valence, and the data of the page are dynamic changes, and the prior art cannot continue the data reduction for automatically judging the page Whether relationship shows correctly.Lack a kind of automatic Verification method at present, realizes and the real time data of the page is verified.
In view of the above problems, this specification embodiment provides a kind of automation page data method of calibration and a kind of use In the automation page data calibration equipment for executing this method, the automation page data verification side being related to below to the present embodiment Method is described in detail, shown in Figure 1, and this method may comprise steps of:
S101 intercepts the page using the perform script write in advance, automatically to obtain page screenshot to be verified;
Perform script is made of different execution order, these, which execute to include at least in order, has preset interception opportunity Page interception instruction.It is appreciated that being directed to different application scenarios, perform script can be all made of page interception instruction, It can also be formed by various other execute instruction with page interception instruction combined crosswise.Wherein, the computer that perform script uses Language is not construed as limiting, and can be selected according to the actual situation, such as: Scala, JavaScript, VBScript etc. pass through calculating The mode that machine language specifically writes perform script instruction belongs to the prior art, and details are not described herein.
The perform script write in advance can be used existing scheme, such as Macaca UI automatic test software and come in fact Existing, this kind of software with self-setting and can realize that UI is automated, and execute operating user interface automatically, some is pressed such as automatically clicking Button automatically opens some page, automatic screenshot etc..
Wherein, page screenshot to be verified can be the screenshot of webpage, be also possible to interface screenshot of software etc., to be verified The page etc. can reside in the end PC, the arbitrary equipments such as mobile phone terminal, different client devices type is to side provided in this embodiment Method does not impact.
S102, to the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as textual data According to;
By the content of pages corresponding conversion in page screenshot be text data mode there are many, can be according to application demand Corresponding selection.For example, using OCR (Optical Character Recognition, optical character identification) picture recognition Technology, electronic equipment (such as scanner or digital camera) check the character printed on paper, are determined by detecting dark, bright mode Then shape is translated into computword with character identifying method by its shape;That is, being directed to printed character, use is optical Text conversion in paper document is become the image file of black and white lattice by mode, and further identifies the image text of black and white lattice Dot matrix image is converted into text formatting by part.
Further, picture recognition can be made to be more in line with the specific need of application scenarios by way of training learning model It asks, i.e., extracts picture recognition process only by training learning model and partially meet the content of text of demand in full page.With Just the picture recognition time is reduced, improves picture recognition efficiency, while can also simplified in next step using verification rule verification textual data According to workload.
For example, data routing inspection only focuses on the stock certificate data page in the case where the data routing inspection of dynamic page should have scene Whether the connection between a few a numerical value is accurate, then when carrying out picture recognition, can make picture recognition by training learning model Process only extracts the text and number of concern.
S103 verifies the text data for the verification rule of the page according to preconfigured, according to Check results determine whether the content of pages is expected content.
Verification rule is preset for the detected rule of full content or partial content in the page, for determining page Whether face meets expection.Inspection rule may include the rule of the examination to page text, pass through the page extracted or interface pair The writing text answered determines wherein whether text mistake occurs.Verification rule may include the examination rule for page data, Determine wherein whether numerical value mistake occurs by the corresponding numerical value text of the page extracted or interface.
For example, under a kind of specific application scenarios, container in certain two parts or a few partial pages in the page It is relevant, it needs mistake whether occur using the incidence relation of related content in the verification rule verification page, then in advance The specific calculating interrelational form that the incidence relation is first written in verification rule obtains the page after picture recognition is extracted when each After the text of face, whether the association for calculating attentinal contents using calculation preset in verification rule is correct.Such as: in some stocks Ticket in the display page of fund class, has incidence relation, if total infusion of financial resources=user of user is each between each funds data The sum of the infusion of financial resources of a stock.
Method provided by the present application is applied to the page for having verification demand, interface etc..Specific application scenarios can there are many, For example: the correctness of the contents displayed on interface on smart machine (mobile phone etc.) APP verifies, dynamic interface (stock certificate data page Face) data correctness inspection etc..
It illustrates this specification embodiment and a kind of application scenarios 1 for automating page data method of calibration is provided:
The UI automatic test of mobile APP is to complete specific movement by client by script, such as: automatically clicking some Button horizontally slips to the page and enters the next stage page etc., in order to verify the jumping of the various pages, interaction flow whether Meeting expection, the prior art allows the method for the automatic screenshot of client by one step of every execution, content of pages recorded, Check whether page presentation meets expection by way of artificially verifying picture again below, this duplicate verifying work generates very More artificial wastes.And apply the automation page data method of calibration of the application can be to avoid artificial repeated work.
It illustrates this specification embodiment and a kind of application scenarios 2 for automating page data method of calibration is provided:
The pages of many mobile APP are in real-time change state, and the prior art can not monitor it is real-time in this page Whether changing content meets expection.Such as: ant wealth APP is to provide the APP of stock market, and the personal share details page of the inside is related to There are some conversion relations to many data, and between data, such as: circulation value=capital stock in circulation * share price, and the page at that time The data in face are dynamic changes, and the prior art cannot continue automatically to judge whether the data reduction relationship of the page opens up Show correct.And apply the application automation page data method of calibration can by write script automatically regular intercept page come Carry out dynamic data inspection.
The automation page data method of calibration for above-mentioned application scenarios 1 that the present embodiment is related to is carried out below detailed Illustrate, shown in Figure 2, this method may comprise steps of:
S201 makes client execute at least one specified U/I action automatically, and a page is executed after each U/I action Interception result is determined as page screenshot to be verified by intercept operation;
S202, to the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as textual data According to;
S203 extracts strategy using preset data and extracts the focused data for being used to verify in the text data;
S204 verifies the critical data extracted for the verification rule of the page according to preconfigured, Determine whether the content of pages is expected content according to check results.
The UI automatic test of mobile APP is all to complete specific movement, such as Macaca by client by script at present It is the UI automatic test solution of a set of multiterminal.It can be used for clicking some button, the page horizontally slipped and entered Next stage page etc. is operated by these and is able to validate only that the jumping of the various pages, interaction flow meets expection, and shown on the page Particular content can not be verified;So just execute a step by every sometimes and allow the method for the automatic screenshot of client, Content of pages is recorded, behind check whether page presentation meets expection by way of artificially verifying picture again, it is this Duplicate verifying work generates many artificial wastes.The picture intercepted automatically by UI can be automatically performed school by machine in fact It tests, is extracted target data in picture by OCR identification technology, data check rule is added by script, to realize Whether picture presentation content meets expected verification.
The automation page data method of calibration for above-mentioned application scenarios 2 that the present embodiment is related to is carried out below detailed Illustrate, shown in Figure 3, this method may comprise steps of:
S301 carries out automatic continuous section to the page according to the perform script comprising different cutting time points write in advance It takes, to obtain the page screenshot to be verified of corresponding different cutting time points;
Wherein it is possible to which at the specific time point that the regulation page intercepts in the perform script write in advance, such as carry out in 13:00 Intercept for the first time, carry out second in 13:20 and intercept ... can also in the perform script write in advance the regulation page frequency, such as It was once intercepted every 5 minutes.Specifically screenshot method can be set according to specifically application scenarios, such as: it needs Whether the incremental data of monitoring dynamic page can be associated with correctly in each data movement, then can will intercept frequency following dynamic page The data movement frequency in face is configured, and carries out data school to be truncated to the page automatically after the variation of each page data It tests.
S302 after triggering page screenshot, establishes a new thread for executing the data school for being directed to the page screenshot Test process;
S303, to the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as textual data According to;
S304 extracts strategy using preset data and extracts the focused data for being used to verify in the text data;
S305 verifies the critical data extracted for the verification rule of the page according to preconfigured, Determine whether the content of pages is expected content according to check results.
S306 summarizes all check results, and reports exception.
Multiple check results of the multiple page screenshots of correspondence are stored as check results file, and needle by predetermined format merging Abnormal check results therein are sounded an alarm.
Fig. 4 is a kind of concrete application timing diagram for the automation page data method of calibration that this specification provides, this is specific Application scenarios carry out the page using MacacaUI automation scheme and intercept automatically, carry out picture knowledge using OCR picture recognition technology Not, which is only for example, other automatic screenshots and picture recognition scheme can be used to be replaced.Wherein, the timing diagram Each step is specifically used for:
Timing diagram steps 1 and 2: triggering macaca perform script carries out screenshot to the page to be verified;
Timing diagram step 3: after triggering screenshot each time, the corresponding new thread of creation one executes the subsequent check of screenshot;
Timing diagram step 4,5: page screenshot is sent to OCR identifier and carries out image recognition, obtains recognition result;
Timing diagram step 6: the business datum for needing to verify in recognition result is extracted;
Timing diagram step 7,8: business datum is verified according to verification rule;
Timing diagram step 9: check results are integrated, and check results are stored;
Timing diagram step 10: if check results have failure, alert notice related personnel;
Corresponding to above method embodiment, this specification embodiment also provides a kind of automation page data method of calibration dress It sets, it is shown in Figure 5, the apparatus may include: picture interception module 510, picture recognition module 520 and data correction verification module 530。
Picture interception module 510: for using the perform script write in advance to intercept the page automatically, with obtain to The page screenshot of verification;
Picture recognition module 520: for carrying out picture recognition to the page screenshot, by the content pair in page screenshot Text data should be converted to;
Data check module 530: for according to preconfigured, for the page verification rule to the textual data According to being verified, determine whether the content of pages is expected content according to check results.
Further, described device may also include data extraction module: extract for extracting strategy using preset data Focused data in the text data for verification.
Further, described device may also include thread and establish module: after triggering page screenshot every time, establish one New thread is used to execute the data check process for the page screenshot.
Further, described device may also include abnormality alarm module: for that will correspond to multiple schools of multiple page screenshots It tests result and is stored as check results file by predetermined format merging, and sounded an alarm for abnormal check results therein.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in On reservoir and the computer program that can run on a processor, wherein processor realizes aforementioned automation when executing described program Page data method of calibration is applied to client, and the method includes at least:
The page is intercepted automatically using the perform script write in advance, to obtain page screenshot to be verified;
To the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as text data;
According to preconfigured, the text data is verified for the verification rule of the page, according to verification As a result determine whether the content of pages is expected content.
Fig. 6 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram, The equipment may include: processor 1110, memory 1120, input/output interface 1130, communication interface 1140 and bus 1150.Wherein processor 1110, memory 1120, input/output interface 1130 and communication interface 1140 are real by bus 1150 The now communication connection inside equipment each other.
Processor 1110 can use general CPU (Central Processing Unit, central processing unit), micro- place Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodiment Case.
Memory 1120 can use ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1120 can store Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware When, relevant program code is stored in memory 1120, and execution is called by processor 1110.
Input/output interface 1130 is for connecting input/output module, to realize information input and output.Input and output/ Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display, Loudspeaker, vibrator, indicator light etc..
Communication interface 1140 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly (such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1150 include an access, equipment various components (such as processor 1110, memory 1120, input/it is defeated Outgoing interface 1130 and communication interface 1140) between transmit information.
It should be noted that although above equipment illustrates only processor 1110, memory 1120, input/output interface 1130, communication interface 1140 and bus 1150, but in the specific implementation process, which can also include realizing normal fortune Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey Automation page data method of calibration above-mentioned is realized when sequence is executed by processor, is applied to client, and the method is at least wrapped It includes:
The page is intercepted automatically using the perform script write in advance, to obtain page screenshot to be verified;
To the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as text data;
According to preconfigured, the text data is verified for the verification rule of the page, according to verification As a result determine whether the content of pages is expected content.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not In the case where making the creative labor, it can understand and implement.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment Method described in certain parts of a embodiment or embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description Module may or may not be physically separated, can be each module when implementing this specification example scheme Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.

Claims (15)

1. a kind of automation page data method of calibration, which comprises
The page is intercepted automatically using the perform script write in advance, to obtain page screenshot to be verified;
To the page screenshot carry out picture recognition, using by the content corresponding conversion in page screenshot as text data;
According to preconfigured, the text data is verified for the verification rule of the page, according to check results Determine whether the content of pages is expected content.
2. the method as described in claim 1, described to be intercepted automatically using the perform script write in advance to the page, to obtain Take page screenshot to be verified, comprising:
Automatic continuous interception is carried out to the page according to the perform script comprising different cutting time points write in advance, with acquisition pair Answer the page screenshot to be verified of different cutting time points.
3. the method as described in claim 1, described to be intercepted automatically using the perform script write in advance to the page, to obtain Take page screenshot to be verified, comprising:
So that client is executed at least one specified U/I action automatically, a page intercept operation executed after each U/I action, Interception result is determined as page screenshot to be verified.
4. the method as described in claim 1, it is described text data is verified according to predefined verification rule before, also wrap It includes:
Strategy, which is extracted, using preset data extracts the focused data for being used to verify in the text data.
5. the method as described in claim 1, it is described obtain page screenshot to be verified after, further includes:
Every time after triggering page screenshot, a new thread is established for executing the data check stream for being directed to the page screenshot Journey.
6. the method as described in claim 1, the preconfigured page verification rule includes data check rule, the number Whether the incidence relation of the data according to verification rule for including in test page is correct.
7. the method as described in claim 1, described to carry out according to preconfigured page verification rule to the text data After verification, further includes:
Multiple check results of the multiple page screenshots of correspondence are stored as check results file by predetermined format merging, and are directed to it In abnormal check results sound an alarm.
8. a kind of automation page data calibration equipment, described device include:
Picture interception module: to be verified to obtain for using the perform script write in advance to intercept the page automatically Page screenshot;
Picture recognition module: for carrying out picture recognition to the page screenshot, by the content corresponding conversion in page screenshot For text data;
Data check module: for being carried out to the text data for the verification rule of the page according to preconfigured Verification, determines whether the content of pages is expected content according to check results.
9. device as claimed in claim 8, described to be intercepted automatically using the perform script write in advance to the page, to obtain Take page screenshot to be verified, comprising:
Automatic continuous interception is carried out to the page according to the perform script comprising different cutting time points write in advance, with acquisition pair Answer the page screenshot to be verified of different cutting time points.
10. device as claimed in claim 8, described to be intercepted automatically using the perform script write in advance to the page, with Obtain page screenshot to be verified, comprising:
So that client is executed at least one specified U/I action automatically, a page intercept operation executed after each U/I action, Interception result is determined as page screenshot to be verified.
11. device as claimed in claim 8, it is described text data is verified according to predefined verification rule before, also Include:
Data extraction module: the attention number for being used to verify in the text data is extracted for using preset data to extract strategy According to.
12. device as claimed in claim 8, it is described obtain page screenshot to be verified after, further includes:
Thread establishes module: for every time trigger page screenshot after, establish a new thread for execute be directed to the page The data check process of screenshot.
13. device as claimed in claim 8, the preconfigured page verification rule includes data check rule, described Whether the incidence relation of data of the data check rule for including in test page is correct.
14. device as claimed in claim 8, described to carry out according to preconfigured page verification rule to the text data After verification, further includes:
Abnormality alarm module: for being stored as verifying by predetermined format merging by the multiple check results for corresponding to multiple page screenshots Destination file, and sounded an alarm for abnormal check results therein.
15. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, wherein the processor realizes the method as described in claim 1 when executing described program.
CN201910095986.8A 2019-01-31 2019-01-31 A kind of automation page data method of calibration and device Pending CN109901968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910095986.8A CN109901968A (en) 2019-01-31 2019-01-31 A kind of automation page data method of calibration and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910095986.8A CN109901968A (en) 2019-01-31 2019-01-31 A kind of automation page data method of calibration and device

Publications (1)

Publication Number Publication Date
CN109901968A true CN109901968A (en) 2019-06-18

Family

ID=66944519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910095986.8A Pending CN109901968A (en) 2019-01-31 2019-01-31 A kind of automation page data method of calibration and device

Country Status (1)

Country Link
CN (1) CN109901968A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413499A (en) * 2019-07-30 2019-11-05 秒针信息技术有限公司 Information on services monitoring method, device, equipment and storage medium
CN110633461A (en) * 2019-09-10 2019-12-31 北京百度网讯科技有限公司 Document detection processing method and device, electronic equipment and storage medium
CN111064977A (en) * 2019-12-05 2020-04-24 任子行网络技术股份有限公司 Method, system and readable storage medium for online monitoring of network integrated art program record
CN111104308A (en) * 2019-11-12 2020-05-05 贝壳技术有限公司 Display page testing method and device, storage medium and electronic equipment
CN111401416A (en) * 2020-03-05 2020-07-10 支付宝(杭州)信息技术有限公司 Abnormal website identification method and device and abnormal countermeasure identification method
CN111562965A (en) * 2020-04-27 2020-08-21 深圳木成林科技有限公司 Page data verification method and device based on decision tree
CN112559331A (en) * 2020-12-10 2021-03-26 京东数字科技控股股份有限公司 Test method and device
CN113312053A (en) * 2020-02-27 2021-08-27 北京沃东天骏信息技术有限公司 Data processing method and device
CN113660535A (en) * 2021-08-18 2021-11-16 海看网络科技(山东)股份有限公司 System and method for monitoring content change of EPG column of IPTV service
CN113672453A (en) * 2021-07-27 2021-11-19 北京达佳互联信息技术有限公司 Display page monitoring method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090265689A1 (en) * 2008-04-16 2009-10-22 Microsoft Corporation Generic validation test famework for graphical user interfaces
CN104978270A (en) * 2015-07-03 2015-10-14 上海触乐信息科技有限公司 Automatic software testing method and apparatus
CN107704389A (en) * 2017-09-26 2018-02-16 无线生活(杭州)信息科技有限公司 A kind of page method of testing and device
CN107862258A (en) * 2017-10-24 2018-03-30 广东小天才科技有限公司 Method, device and equipment for checking text content in video and storage medium
CN108205674A (en) * 2017-12-22 2018-06-26 广州爱美互动网络科技有限公司 Content identification method, electronic equipment, storage medium and the system of social APP
CN108446227A (en) * 2018-03-12 2018-08-24 广东睿江云计算股份有限公司 A kind of virtual machine browser compatibility test method based on selenium
CN108563963A (en) * 2018-04-16 2018-09-21 深信服科技股份有限公司 Webpage tamper detection method, device, equipment and computer readable storage medium
CN108595583A (en) * 2018-04-18 2018-09-28 平安科技(深圳)有限公司 Dynamic chart class page data crawling method, device, terminal and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090265689A1 (en) * 2008-04-16 2009-10-22 Microsoft Corporation Generic validation test famework for graphical user interfaces
CN104978270A (en) * 2015-07-03 2015-10-14 上海触乐信息科技有限公司 Automatic software testing method and apparatus
CN107704389A (en) * 2017-09-26 2018-02-16 无线生活(杭州)信息科技有限公司 A kind of page method of testing and device
CN107862258A (en) * 2017-10-24 2018-03-30 广东小天才科技有限公司 Method, device and equipment for checking text content in video and storage medium
CN108205674A (en) * 2017-12-22 2018-06-26 广州爱美互动网络科技有限公司 Content identification method, electronic equipment, storage medium and the system of social APP
CN108446227A (en) * 2018-03-12 2018-08-24 广东睿江云计算股份有限公司 A kind of virtual machine browser compatibility test method based on selenium
CN108563963A (en) * 2018-04-16 2018-09-21 深信服科技股份有限公司 Webpage tamper detection method, device, equipment and computer readable storage medium
CN108595583A (en) * 2018-04-18 2018-09-28 平安科技(深圳)有限公司 Dynamic chart class page data crawling method, device, terminal and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413499B (en) * 2019-07-30 2023-12-19 秒针信息技术有限公司 Service information monitoring method, device, equipment and storage medium
CN110413499A (en) * 2019-07-30 2019-11-05 秒针信息技术有限公司 Information on services monitoring method, device, equipment and storage medium
CN110633461A (en) * 2019-09-10 2019-12-31 北京百度网讯科技有限公司 Document detection processing method and device, electronic equipment and storage medium
CN110633461B (en) * 2019-09-10 2024-01-16 北京百度网讯科技有限公司 Document detection processing method, device, electronic equipment and storage medium
CN111104308A (en) * 2019-11-12 2020-05-05 贝壳技术有限公司 Display page testing method and device, storage medium and electronic equipment
CN111064977A (en) * 2019-12-05 2020-04-24 任子行网络技术股份有限公司 Method, system and readable storage medium for online monitoring of network integrated art program record
CN113312053A (en) * 2020-02-27 2021-08-27 北京沃东天骏信息技术有限公司 Data processing method and device
CN111401416A (en) * 2020-03-05 2020-07-10 支付宝(杭州)信息技术有限公司 Abnormal website identification method and device and abnormal countermeasure identification method
CN111401416B (en) * 2020-03-05 2022-10-21 支付宝(杭州)信息技术有限公司 Abnormal website identification method and device and abnormal countermeasure identification method
CN111562965A (en) * 2020-04-27 2020-08-21 深圳木成林科技有限公司 Page data verification method and device based on decision tree
CN111562965B (en) * 2020-04-27 2024-01-05 深圳手回科技集团有限公司 Page data verification method and device based on decision tree
CN112559331A (en) * 2020-12-10 2021-03-26 京东数字科技控股股份有限公司 Test method and device
CN113672453A (en) * 2021-07-27 2021-11-19 北京达佳互联信息技术有限公司 Display page monitoring method and device, electronic equipment and storage medium
CN113672453B (en) * 2021-07-27 2024-06-28 北京达佳互联信息技术有限公司 Monitoring method and device for display page, electronic equipment and storage medium
CN113660535A (en) * 2021-08-18 2021-11-16 海看网络科技(山东)股份有限公司 System and method for monitoring content change of EPG column of IPTV service

Similar Documents

Publication Publication Date Title
CN109901968A (en) A kind of automation page data method of calibration and device
CN111177005B (en) Service application testing method, device, server and storage medium
CN108959068B (en) Software interface testing method, device and storage medium
CN111309505B (en) Page exception handling method and device and electronic equipment
CN111045935B (en) Automatic version auditing method, device, equipment and storage medium
CN110647523B (en) Data quality analysis method and device, storage medium and electronic equipment
WO2020096665A2 (en) System error detection
CN109324956B (en) System testing method, apparatus and computer readable storage medium
CN107291612B (en) Test method and device
CN110955409A (en) Method and device for creating resources on cloud platform
Tuovenen et al. MAuto: Automatic mobile game testing tool using image-matching based approach
CN115904989A (en) Interface testing method, device, equipment and readable storage medium
CN112035350A (en) Test method and device for block chain system and computer equipment
CN117172237A (en) Data analysis method and device, electronic equipment and storage medium
CN112084114B (en) Method and apparatus for testing interfaces
US9104573B1 (en) Providing relevant diagnostic information using ontology rules
CN111949510B (en) Test processing method, device, electronic equipment and readable storage medium
CN107622013B (en) Distributed system testing method and device
CN112799956B (en) Asset identification capability test method, device and system device
CN111143220B (en) Training system and method for software test
CN114115628A (en) U shield display information acquisition method, device, equipment, medium and program product applied to U shield test
CN114357814A (en) Automatic driving simulation test method, device, equipment and computer readable medium
JP6798050B1 (en) Generator, generation method and generation program
EP3014562A1 (en) Simulating sensors
CN114153729A (en) Webpage testing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201015

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201015

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20190618

RJ01 Rejection of invention patent application after publication