CN110515514A - A kind of data processing method, device and storage medium - Google Patents

A kind of data processing method, device and storage medium Download PDF

Info

Publication number
CN110515514A
CN110515514A CN201910816748.1A CN201910816748A CN110515514A CN 110515514 A CN110515514 A CN 110515514A CN 201910816748 A CN201910816748 A CN 201910816748A CN 110515514 A CN110515514 A CN 110515514A
Authority
CN
China
Prior art keywords
screenshot
task
address
target
information
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.)
Granted
Application number
CN201910816748.1A
Other languages
Chinese (zh)
Other versions
CN110515514B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910816748.1A priority Critical patent/CN110515514B/en
Publication of CN110515514A publication Critical patent/CN110515514A/en
Application granted granted Critical
Publication of CN110515514B publication Critical patent/CN110515514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present application discloses a kind of data processing method, device and storage medium, wherein method includes: task confirmation operation of the response for the triggering of task creation interface, obtains the pad parameter information being filled in task creation interface;It include N number of screenshot address and K model information in pad parameter information;N number of screenshot address is based on determined by the M address screened from address database;The screenshot instruction for carrying N number of screenshot address and K model information is sent to service server, so that the service server is based on the screenshot instruction execution target screenshot task;Target screenshot task includes multiple sub- screenshot tasks;The corresponding screenshot address of one sub- screenshot task;Receive the screenshot result that service server is returned based on every sub- screenshot task;One screenshot result includes the screenshot picture in the K model information respectively of target pages corresponding to a screenshot address.Using the application, the efficiency of screenshot and the accuracy of screenshot can be improved.

Description

A kind of data processing method, device and storage medium
Technical field
This application involves Internet technical field more particularly to a kind of data processing methods, device and storage medium.
Background technique
Existing webpage capture is primarily referred to as artificial screenshot, for example, developer can pass through the methods of button, keyboard people Work intercepts the size of specific webpage (i.e. target pages).
For example, during carrying out screenshot to the target pages by artificial screenshot mode, for some terminal device For, need to adjust repeatedly institute's screenshot to screenshot picture size (for example, need repeatedly expand or shrink screenshot area etc.). Therefore, it is directed to for different terminal equipment, is necessarily required to carry out multiple screenshot respectively.However due to the difference of manual screenshot, The size that the screenshot picture being truncated to every time is inevitably resulted in by way of artificial screenshot is difficult to accurate match to corresponding machine The size of type thereby reduces the accuracy of screenshot.In addition, if desired carrying out screenshot processing to a large amount of Webpage, then must The workload of developer can be so greatly increased, and needs to consume longer artificial screenshot duration, to reduce screenshot Efficiency.
Summary of the invention
The embodiment of the present application provides a kind of data processing method, device and storage medium, and the accuracy of screenshot can be improved With the efficiency of screenshot.
On the one hand the embodiment of the present application provides a kind of data processing method, the method is applied to terminal, comprising:
Response is obtained and is filled in the task creation interface for the task confirmation operation of task creation interface triggering Pad parameter information;It include N number of screenshot address and K model information in the pad parameter information;N number of screenshot address is Based on determined by the M address screened from address database;N is the positive integer less than or equal to M;K is positive integer;
The screenshot instruction for carrying N number of screenshot address and the K model information is sent to service server, so that institute It states service server and is based on the screenshot instruction execution target screenshot task;The target screenshot task is appointed comprising multiple sub- screenshots Business;The corresponding screenshot address of one sub- screenshot task;
Receive the screenshot result that the service server is returned based on every sub- screenshot task;One screenshot result includes one The screenshot picture in the K model information respectively of target pages corresponding to a screenshot address.
Wherein, the method also includes:
Response is operated for the task creation of historic task list triggering, by display circle where the historic task list Face jumps to task creation interface to be filled;
Response is directed to the padding at the task creation interface to be filled, the determining and task creation to be filled The task creation interface to be filled for carrying the pad parameter information is determined as appointing by the associated pad parameter information in interface Business creation interface.
Wherein, response is directed to the padding at the task creation interface to be filled, determining to appoint with described to be filled The business creation associated pad parameter information in interface, the task creation interface to be filled for carrying the pad parameter information is true It is set to task creation interface, comprising:
The task creation interface to be filled is determined as to the filling interface of target screenshot task;The filling interface packet Containing multiple regions to be filled;
Response for each of filling interface region to be filled padding, acquisition be filled in it is described each to Pad parameter information in filling region;The pad parameter information includes following at least one parameter information: task names, N A screenshot address, user identity information and K model information;The user identity information in the service server for holding Simulation logs in the target pages of each screenshot address when the row target screenshot task;
Filling circle of the task names, N number of screenshot address, user identity information and K model information will be carried Face is determined as the task creation interface.
Wherein, the response is directed to the padding in each of filling interface region to be filled, and acquisition is filled in Pad parameter information in each region to be filled, comprising:
Response obtains the target screenshot and appoints for the first padding of the first area triggering in the filling interface The task names of business;
Response is obtained from service server for the second padding of the second area triggering in the filling interface The associated address database of second area is appointed based on the address in the address database is determining with the target screenshot It is engaged in associated N number of screenshot address;
Response is directed to the third padding of the third region triggering in the filling interface, obtains and logs in often for simulating The user identity information of the target pages of a screenshot address;
Response is wrapped for the 4th padding of the fourth region triggering in the filling interface from the fourth region K model information is obtained in the multiple model informations contained;
The task names, N number of screenshot address, user identity information and K model information are determined as being filled in Pad parameter information in the filling interface.
Wherein, the response takes for the second padding of the second area triggering in the filling interface from business Obtain the associated address database of the second area on business device, based on the address in the address database it is determining with it is described The associated N number of screenshot address of target screenshot task, comprising:
Response is obtained from service server for the second padding of the second area triggering in the filling interface The filling interface, is jumped to the ground for being used to show the address database by the associated address database of second area The resource display interface of location;
Response obtains operation for the label of resource display interface triggering, obtains target labels information, based on described Target labels information screens the M address to match with the target labels information in the address of the address database;
Response is directed to the selection operation of the M address, and N number of address is obtained from the M address respectively as wait cut Figure address obtains each second area that the filling region is copied to screenshot address and the target screenshot task phase Associated N number of screenshot address.
Wherein, the method also includes:
Target screenshot task with the task names is added to the historic task list, obtains goal task column Table shows the task shape of the target screenshot task associated with the N number of screenshot address in the goal task list State;
The progress notification information that the service server is returned when executing the target screenshot task is received, institute is based on State the task status that progress notification information adjusts the target screenshot task.
Wherein, the task status of the target screenshot task includes following at least one state: task wait state, task Execution state, task terminate state;It includes Mission Success state and mission failure state that the task, which terminates state,.
On the one hand the embodiment of the present application provides a kind of data processing method, the method is applied to service server, packet It includes:
Receive the screenshot instruction that the pad parameter information in terminal task based access control creation interface is sent;The pad parameter letter It include N number of screenshot address and K model information in breath;N number of screenshot address is based on the M screened from address database Determined by a address;N is the positive integer less than or equal to M;K is positive integer;
N number of screenshot address and K model information are added to based on screenshot instruction and are used for performance objective screenshot The task queue of task;The target screenshot task includes multiple sub- screenshot tasks;The corresponding screenshot of one sub- screenshot task Address;
Sequence executes every sub- screenshot task in the task queue, obtains every corresponding section of sub- screenshot task Figure is as a result, return to the terminal for the corresponding screenshot result of every sub- screenshot task.
Wherein, the sequence executes every sub- screenshot task in the task queue, obtains every sub- screenshot and appoints Corresponding screenshot be engaged in as a result, the corresponding screenshot result of every sub- screenshot task is returned to the terminal, comprising:
The sub- screenshot task for being located at head of the queue is determined as to screenshot task in the task queue, described will be appointed to screenshot Corresponding screenshot address of being engaged in is determined as to screenshot address;
By in the pad parameter information user identity information, to the identification information and the K machine of screenshot address The dimension information of type information is as task parameters;
The task parameters are passed to browser, are logged in passing through user identity information simulation in the browser The target pages to screenshot address;
Shot operation is carried out to the target pages to screenshot address by the K model information, it is described to obtain To the corresponding screenshot result of screenshot task;
It is described when screenshot task in completion, described the task queue will be exported to screenshot task, until the task Every sub- screenshot task in queue is used as described when screenshot address, obtains the corresponding screenshot of described every sub- screenshot task As a result.
Wherein, the method also includes:
When carrying out shot operation to the target pages when screenshot address by the K model information, institute is monitored The screenshot progress to screenshot task is stated, and progress notification information is sent to the terminal based on the screenshot progress.
Wherein, the method also includes:
If detecting, there are the model informations of screenshot failure in the K model information, by screenshot failure Model information is determined as target model information;
It repeats to carry out shot operation to the target pages to screenshot address based on the target model information, according to weight The corresponding screenshot state of multiple shot operation, statistics repeat the number of screenshot failure;
When the number is greater than failure threshold value, terminate described to screenshot task, and notifies the terminal described wait cut The task status of the target screenshot task is identified as mission failure state in goal task list where figure task.
On the one hand the embodiment of the present application provides a kind of data processing equipment, described device is applied to terminal, comprising:
Task confirmation module, for responding the task confirmation operation for being directed to the triggering of task creation interface, acquisition is filled in institute State the pad parameter information in task creation interface;Include N number of screenshot address and K type letter in the pad parameter information Breath;N number of screenshot address is based on determined by the M address screened from address database;N is less than or equal to M Positive integer;K is positive integer;
Screenshot instruction sending module carries N number of screenshot address and the K type for sending to service server The screenshot of information instructs, so that the service server is based on the screenshot instruction execution target screenshot task;The target is cut Figure task includes multiple sub- screenshot tasks;The corresponding screenshot address of one sub- screenshot task;
Screenshot result receiving module, the screenshot knot returned for receiving the service server based on every sub- screenshot task Fruit;One screenshot result includes the screenshot in the K model information respectively of target pages corresponding to a screenshot address Picture.
Wherein, described device further include:
Page jump module appoints the history for responding the task creation operation for being directed to historic task list triggering Display interface where business list jumps to task creation interface to be filled;
Module is filled at interface, for responding the padding for being directed to the task creation interface to be filled, determining and institute The associated pad parameter information in task creation interface to be filled is stated, the to be filled of the pad parameter information will be carried and appointed Business creation interface is determined as task creation interface.
Wherein, filling module in interface includes:
Filling interface determination unit, for the task creation interface to be filled to be determined as filling out for target screenshot task Fill interface;The filling interface includes multiple regions to be filled;
Area filling unit is obtained for responding the padding for being directed to each of filling interface region to be filled Take the pad parameter information being filled in each region to be filled;The pad parameter information includes following at least one ginseng Number information: task names, N number of screenshot address, user identity information and K model information;The user identity information is used for When the service server executes the target screenshot task, simulation logs in the target pages of each screenshot address;
Interface determination unit, for the task names, N number of screenshot address, user identity information and K will to be carried The filling interface of model information is determined as the task creation interface.
Wherein, the area filling unit includes:
Name acquiring subelement, for responding the first filling behaviour of the first area being directed in filling interface triggering Make, obtains the task names of the target screenshot task;
Address obtains subelement, for responding the second filling behaviour of the second area being directed in filling interface triggering Make, the associated address database of the second area is obtained from service server, based on the ground in the address database Location determines N number of screenshot address associated with the target screenshot task;
Mark obtains subelement, for responding the third filling behaviour of the third region being directed in filling interface triggering Make, obtains the user identity information for simulating the target pages for logging in each screenshot address;
Type obtains subelement, for responding the 4th filling behaviour of the fourth region being directed in filling interface triggering Make, K model information is obtained from multiple model informations that the fourth region is included;
Parameter determines subelement, is used for the task names, N number of screenshot address, user identity information and K type The pad parameter information of information being determined as being filled in the filling interface.
Wherein, the address acquisition subelement includes:
Database obtains subelement, for responding the second filling behaviour of the second area being directed in filling interface triggering Make, the associated address database of the second area is obtained from service server, the filling interface is jumped to and is used for Show the resource display interface of the address of the address database;
Label obtains subelement, for responding the label acquisition operation for being directed to resource display interface triggering, obtains mesh Label information is marked, is screened in the address of the address database based on the target labels information and the target labels information The M address to match;
Address determines subelement, for responding the selection operation for being directed to the M address, obtains N from the M address A address is respectively as to screenshot address, by each second area for being copied to the filling region to screenshot address, obtain with The associated N number of screenshot address of target screenshot task.
Wherein, described device further include:
Screenshot task adding module is appointed for the target screenshot task with the task names to be added to the history Business list, obtains goal task list, shows in the goal task list associated with N number of screenshot address described The task status of target screenshot task;
Task status adjusts module, is returned for receiving the service server when executing the target screenshot task Progress notification information, the task status of the target screenshot task is adjusted based on the progress notification information.
Wherein, the task status of the target screenshot task includes following at least one state: task wait state, task Execution state, task terminate state;It includes Mission Success state and mission failure state that the task, which terminates state,.
On the one hand the embodiment of the present application provides a kind of data processing equipment, described device is applied to terminal, comprising: processing Device, memory and network interface;
The processor is connected with memory, network interface, wherein network interface is for providing network communication function, institute Memory is stated for storing program code, the processor is for calling said program code, to execute such as the embodiment of the present application Method in one side.
On the one hand the embodiment of the present application provides a kind of computer storage medium, the computer storage medium is stored with meter Calculation machine program, the computer program include program instruction, execute such as this Shen when the processor executes described program instruction It please method in embodiment one side.
On the one hand the embodiment of the present application provides a kind of data processing equipment, described device is applied to service server, packet It includes:
Screenshot command reception module, section sent for receiving the pad parameter information in terminal task based access control creation interface Figure instruction;It include N number of screenshot address and K model information in the pad parameter information;N number of screenshot address be based on from Determined by the M address screened in address database;N is the positive integer less than or equal to M;K is positive integer;
Task queue determining module is added N number of screenshot address and K model information for being instructed based on the screenshot Add to the task queue for performance objective screenshot task;The target screenshot task includes multiple sub- screenshot tasks;One son Screenshot task corresponds to a screenshot address;
Screenshot result return module obtains described for sequentially executing every sub- screenshot task in the task queue The corresponding screenshot of every sub- screenshot task is as a result, return to the end for the corresponding screenshot result of described every sub- screenshot task End.
Wherein, the screenshot result return module includes:
To screenshot determination unit, for the sub- screenshot task for being located at head of the queue to be determined as to screenshot in the task queue Task is determined as described to the corresponding screenshot address of screenshot task to screenshot address;
Task parameters determination unit, for by the pad parameter information user identity information, to screenshot address Identification information and the dimension information of the K model information are as task parameters;
Parameter is passed to unit, for the task parameters to be passed to browser, to pass through the use in the browser Identification information simulation in family logs in the target pages to screenshot address;
Page screenshot unit, for being cut by the K model information to the target pages to screenshot address Graphic operation, it is described to the corresponding screenshot result of screenshot task to obtain;
Task output unit described will export the task to screenshot task for completing described when screenshot task Queue obtains every height until every sub- screenshot task in the task queue is used as described when screenshot address The corresponding screenshot result of screenshot task.
Wherein, the screenshot result return module further include:
Progress monitoring unit, for being carried out by the K model information to the target pages to screenshot address When shot operation, the monitoring screenshot progress to screenshot task, and progress is sent to the terminal based on the screenshot progress Notification information.
Wherein, the screenshot result return module further include:
Target type determination unit, if for detecting the type letter in the K model information there are screenshot failure Breath, then the model information by screenshot failure is determined as target model information;
Target type Multiplexing Unit, for being repeated based on the target model information to the page object to screenshot address Face carries out shot operation, and according to the corresponding screenshot state of duplicate shot operation, statistics repeats the number of screenshot failure;
Screenshot end unit, it is described to screenshot task for terminating when the number is greater than failure threshold value, and notify institute Terminal is stated to be identified as the task status of the target screenshot task in the goal task list where the task to screenshot Mission failure state.
The embodiment of the present application provides a kind of data processing equipment, and described device is applied to service server, comprising: processing Device, memory and network interface;
The processor is connected with memory, network interface, wherein network interface is for providing network communication function, institute Memory is stated for storing program code, the processor is for calling said program code, to execute such as the embodiment of the present application Method in one side.
On the one hand the embodiment of the present application provides a kind of computer storage medium, the computer storage medium is stored with meter Calculation machine program, the computer program include program instruction, execute such as this Shen when the processor executes described program instruction It please method in embodiment one side.
In the embodiment of the present application, terminal can respond the task confirmation operation for the triggering of task creation interface, obtain The pad parameter information being filled in the task creation interface;It may include N number of screenshot address in the pad parameter information With K model information;N number of screenshot address is based on determined by the M address screened from address database;N is Positive integer less than or equal to M;K is positive integer;Further, service server is receiving the instruction of screenshot transmitted by terminal Later, it is available for carrying out N number of screenshot address of screenshotss processing (screenshot processing can also be referred to as), and can be multiplexed not The automatic performance objective screenshot task of the size (i.e. K model information) of same type machine;The target screenshot task may include multiple Sub- screenshot task;One sub- screenshot task can correspond to a screenshot address;It is understood that service server is executing mesh During marking screenshot task, every sub- screenshot task can be sequentially executed, to obtain the corresponding screenshot of every sub- screenshot task As a result, wherein a screenshot result may include target pages corresponding to a screenshot address and believe respectively in the K type Screenshot picture in breath.It can be seen that since the embodiment of the present application is not necessarily to manually adjust the size of each intercepted picture, i.e., eventually End can control the picture that service server intelligent intercepting adapts to different type of machines by screenshot instruction, so as to improve screenshot Accuracy.Further, since the service server can realize batch screenshot to the target pages of different screenshot addresses, and then can be with Improve the efficiency of screenshot.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of network architecture provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram of a scenario of data interaction provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of data processing method provided by the embodiments of the present application;
Fig. 4 is a kind of schematic diagram that screenshot task is created in exploitation test application provided by the embodiments of the present application;
Fig. 5 is a kind of schematic diagram at determining task creation interface provided by the embodiments of the present application;
Fig. 6 is a kind of schematic diagram for obtaining N number of screenshot address provided by the embodiments of the present application;
Fig. 7 is a kind of schematic diagram of a scenario of screenshot instruction provided by the embodiments of the present application;
Fig. 8 is that a kind of scene for consulting screenshot result associated with target screenshot task provided by the embodiments of the present application is shown It is intended to;
Fig. 9 is the flow diagram of another data processing method provided by the embodiments of the present application;
Figure 10 is a kind of schematic diagram of a scenario for obtaining goal task list provided by the embodiments of the present application;
Figure 11 is a kind of schematic diagram of the overall flow of performance objective screenshot task provided by the embodiments of the present application;
Figure 12 is a kind of schematic diagram of a scenario that big figure is checked in task details page provided by the embodiments of the present application;
Figure 13 is a kind of schematic diagram for comparing history screenshot result provided by the embodiments of the present application;
Figure 14 is a kind of structural schematic diagram of data processing equipment provided by the embodiments of the present application;
Figure 15 is a kind of structural schematic diagram of computer equipment provided by the embodiments of the present application;
Figure 16 is the structural schematic diagram of another data processing equipment provided by the embodiments of the present application;
Figure 17 is the structural schematic diagram of another computer equipment provided by the embodiments of the present application;
Figure 18 is the structural schematic diagram of another data processing system provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
It referring to Figure 1, is a kind of structural schematic diagram of network architecture provided by the embodiments of the present application.As shown in Figure 1, described The network architecture can be applied to webpage capture system, which may include that service server 2000 and user are whole Hold cluster;The user terminal cluster may include multiple user terminals, as shown in Figure 1, can specifically include user terminal 3000a, user terminal 3000b ..., user terminal 3000n;
Wherein, any one user terminal in multiple user terminals as shown in Figure 1 can be based on browser/service Device mode (Browser/Server, B/S) or customer end/server mode (Client/Server, C/S) and business service Device 2000 carries out data communication.
As shown in Figure 1, the user terminal 3000a, user terminal 3000b ..., user terminal 3000n can respectively with The service server 2000 is connected to the network, and the multiple user terminal can pass through business service platform and business service The interaction between business datum is realized between device 2000.It should be appreciated that in the embodiment of the present application, each user terminal can be with Unified screenshotss processing is carried out by the business service platform courses service server 2000, is intercepted with batch with various sizes of Specific webpage, for example, the size of the specific webpage (i.e. target pages) in distinct device can be intercepted in batches, to help user It gets with various sizes of screenshot picture, so as to the bandwagon effect of acquired picture after abundant screenshotss.
For ease of understanding, the embodiment of the present application is using a user terminal in the multiple user terminal as target user For terminal, to be set forth under target application scene, data friendship is carried out between the target terminal user and service server 2000 Mutual detailed process.It is understood that the target application scene in the embodiment of the present application may include image procossing scene, open It sends out test scene and other needs to carry out the application scenarios of batch screenshot, will not be limited here.Wherein, target User terminal may include: the entity devices such as smart phone, tablet computer, laptop.
For example, being that the target terminal user can be responded to be created for task in image procossing scene in target application scene The task confirmation operation of interface triggering is built, to obtain the pad parameter information being filled in the task creation interface;Wherein, should It may include N number of screenshot address and K model information in pad parameter information;The task creation interface can be target application Display interface where (for example, image processing application) corresponding business service platform.For example, in the image procossing scene, Each screenshot address may be used to obtain the Target Photo that image procossing (for example, filter processing) is stored afterwards.It should to understand Display effect of the Target Photo in distinct device after image procossing, the target terminal user can be to service servers 2000 The screenshot instruction for carrying N number of screenshot address and K model information is sent, so that the service server is instructed based on the screenshot Performance objective screenshot task, at this point, the target screenshot task can be understood as in the service server 2000, interception is every in batches Screenshot picture of the Target Photo in distinct device after a image procossing.For example, each screenshot address institute can be intercepted automatically Corresponding target pages (the H5 page i.e. where Target Photo) the screenshot picture in the K model information respectively, thus User can be to aid in, and that the Target Photo after image procossing is understood in the target terminal user is aobvious in distinct device respectively Show effect.
Optionally, for another example, exploitation test scene in, above-mentioned service server platform can be used for destination item into Row exploitation test, i.e., the business service platform that this can also be used to carry out exploitation test by the embodiment of the present application, which is referred to as to develop, to be surveyed Try frame.Wherein, which can use in a browser in the form of a web page, can also be transplanted to client In (i.e. for carrying out the application program of exploitation test), it will not be limited here.The embodiment of the present application can will be used for The application program for carrying out exploitation test is referred to as exploitation test application, and in exploitation test scene, which can be with Towards developer, tester and designer etc., the embodiment of the present application will not be limited.
Wherein it is possible to understand, in the case where developing test scene, target terminal user and service server 2000 can be total to With for (a kind of to be shown in being write in entity device with H5 language for example, the H5 page to the different pages under destination item Webpage) carry out intelligent screenshot processing.For example, target terminal user can (i.e. above-mentioned business takes by exploitation test frame Business platform) to the transmission screenshot instruction of service server 2000, so as to remote control business server by being taken with the business Screenshot picture of the business associated screenshot tool intelligent intercepting difference H5 page of platform in distinct device, to realize that batch is cut Figure, so as to analyze and excavate display effect of the different H5 pages in same equipment.In addition, the embodiment of the present application can be with By screenshot picture of the same H5 page of screenshot tool intelligent intercepting in distinct device, existed with analyzing and excavating the same H5 page Compatibility in distinct device.
For ease of understanding, the embodiment of the present application will be passed through so that target application scene is exploitation test scene as an example with illustrating Above-mentioned business service platform realizes the detailed process of batch screenshot to the H5 page in destination item.
Wherein, the destination item, which may include wechat reading project or QQ mailbox bookstore project etc., has a large amount of electronics The H5 project of reading matter (for example, e-book, e-novel), each electron reading in these H5 projects can correspond to one A URL (Uniform Resource Locator, uniform resource locator) address.Each address URL may be used to access The target pages (i.e. the H5 page) of specific electron reading matter.In exploitation test scene, to help developer to quickly understand this Compatibility of the corresponding target pages in a little addresses URL in distinct device, the embodiment of the present application can pass through above-mentioned target application The business service platform (for example, exploitation test frame) integrated in (for example, exploitation test application), creation is automatic for carrying out The target screenshot task of screenshot, so as to each of the interception and the target screenshot task automatically in service server 2000 The corresponding screenshot of sub- screenshot task as a result, can help developer to understand the target pages of each screenshot address in difference in turn Display effect in entity device (for example, mobile phone).
For example, what the embodiment of the present application can be frequently encountered in the process of development based on the H5 page under wechat reading project Compatibility issue and scene make and use above-mentioned business service platform, so as to pass through the service server platform to industry Business server 2000 realizes long-range control.Wherein, the above-mentioned webpage capture comprising target terminal user and service server 2000 System may include following two funtion part:
1) URL pool.URL pool can be used for including the address URL of all H5 pages in current H5 project, so, The address set for including a large amount of addresses URL can be referred to as URL pool by the embodiment of the present application, can also be referred to as number of addresses According to library, each address URL in the address database may be collectively referred to as address.
Wherein, the embodiment of the present application can be displayed on list display interface system corresponding to of the URL pool in terminal Referred to as resource display interface may include multiple addresses URL (for example, may include 10 URL in each resource display interface Address, each address URL may be used to access the details page of a book), and can each resource display interface of continuous updating In shown these addresses URL.It is understood that the address URL in URL pool is to be provided with respective labels information The address URL.Wherein it is possible to understand, corresponding label can be arranged for the address URL in URL pool in developer Information, can also for the URL pool in the corresponding heading message of URL address preparation, in order to it is subsequent can be to these URL It, can be based on the target labels information got quickly in the URL pool during the corresponding target pages in address are tested Retrieval is matched to the M address URL in son, so as to from the M address URL quick obtaining to N number of section for being tested Figure address.So the embodiment of the present application is by being arranged corresponding label information for the address URL of different attribute, it can be in screenshot N number of screenshot address for being tested is got during task creation online, is searched so as to effectively improve data The efficiency of rope, and then the process of creation target screenshot task can be accelerated in exploitation terminal.
2) screenshot tool.Screenshot tool in the exploitation test frame can provide the service of automatic screenshot function to be a kind of Process, which, which can integrate, is mounted in service server 2000, appoints so as to create target screenshot in terminal After business, control service server 2000 can by way of task to every sub- screenshot task of the target screenshot task into Row tissue calls the screenshot tool to realize batch screenshot in a manner of through task queue, right respectively to obtain N number of screenshot address The screenshot result answered.
It should be appreciated that developer can select cutting for specific webpage from the associated resource display interface of URL pool Figure address, for example, can be filtered out from the resource display interface where the M address searched out N number of for what is tested Screenshot address, i.e. URL pool can support the further selection to the address URL filtered out;Optionally, developer can also To be manually entered the screenshot address for needing to carry out screenshot in URL pool, i.e. URL pool is also supported with directly filling in screenshot Location.
In addition, in the exploitation test frame with incidence relation screenshot tool, can also be to more during screenshot A equipment size be multiplexed, and successively to obtain screenshot picture of each screenshot address in distinct device, and can use and appoint The form of business organizes these screenshot results, simultaneous in distinct device to help developer to understand same screenshot address Capacitive.
For ease of understanding, further, Fig. 2 is referred to, is a kind of scene of data interaction provided by the embodiments of the present application Schematic diagram.Terminal as shown in Figure 2 can be that the terminal of exploitation test frame is integrated in exploitation test application.Wherein, lead to Target screenshot task can be created by crossing the exploitation test frame, may also help in target user (for example, exploit person shown in Fig. 2 Member) the created target screenshot task of remote control business server execution.For example, developer as shown in Figure 2 can lead to The task creation interface 100a crossed in terminal carries out human-computer interaction, to get developer for the task creation in the terminal It, can be from the terminal when task confirmation operation (for example, trigger action) of the confirmation creation target screenshot task in the 100a of interface In get N number of screenshot address (for example, 3 addresses URL) in shown task creation interface 100a.In addition, in order to help Developer understands display effect of the target pages of each screenshot address in different terminal equipment, and the embodiment of the present application may be used also To obtain K model information (for example, 6 model informations) from the 100a of the task creation interface, so as to which N number of section will be carried The instruction of the screenshot of figure address and K model information is sent to service server shown in Fig. 2, so that the service server can be with base N number of screenshot address (i.e. 3 addresses URL, for example, these three addresses URL can be address 1, address 2 in screenshot instruction With address 3) and the unified building of K model information (i.e. 6 model informations) obtain it is shown in Fig. 2 for performance objective screenshot task Task queue A.As shown in Fig. 2, may include multiple sub- screenshot tasks shown in Fig. 2, the multiple son in task queue A Screenshot task specifically may include sub- screenshot task 10a, sub- screenshot task 20a, sub- screenshot task 30a.Further, Fig. 2 institute The service server shown can be multiplexed this 6 model informations, during executing every sub- screenshot task so as to automatic Interception obtains screenshot picture of the target pages of each screenshot address (i.e. each address URL) in distinct device.For example, can be with It is truncated to 6 screenshot pictures corresponding with the target pages of address above mentioned 1 automatically in service server, can also be taken in business Automatically the corresponding 6 screenshot pictures of corresponding with address above mentioned 2 target pages are truncated in business device, it can also be in service server In be truncated to the corresponding 6 screenshot pictures of corresponding with address above mentioned 3 target pages automatically, so as to help developer fast Speed recognizes display effect of the same screenshot address in distinct device, i.e., compatibility of the same screenshot address in distinct device Property.It, can be by the screenshot result being truncated in batches (corresponding 6 screenshots in i.e. each address URL in addition, by way of task Picture) return to terminal shown in Fig. 2.I.e. the embodiment of the present application can be automatically performed every sub- screenshot task in service server When, it is associated with this 3 screenshot addresses can to notify that terminal dynamically adjusts in the display interface where goal task list The task status of target screenshot task.Wherein, the adjustment of the task status of target screenshot task is being held based on service server Determined by the progress notification information returned during row target screenshot task.
Wherein, the task status of the target screenshot task may include following at least one state: task wait state is appointed Business execution state, task terminate state;It includes Mission Success state and mission failure state that the task, which terminates state,.
Wherein, when executing every sub- screenshot task shown in Fig. 2, service server 2000 is required to pass incoming parameter Enter browser, so that the browser being integrated in the service server 2000 can be passed to the letter of the user identifier in parameter by this Breath simulation logs in the target pages of each screenshot address, so as to be multiplexed this K model information to the mesh of each screenshot address It marks the page and carries out shot operation, so as to respectively obtain screenshot result associated with each screenshot address.Wherein, one is cut Figure result may include screenshot picture of the target pages corresponding to a screenshot address respectively in the K model information.
It can be seen that the embodiment of the present application can be multiplexed the size of different type of machines by above-mentioned screenshot tool, so as to Interception is suitable for the picture of different type of machines in batches in above-mentioned service server 2000, quickly to obtain the different web pages page not With the display effect in equipment, so as to help to develop the compatibility for quickly understanding the different web pages page in distinct device Property.It is understood that for other for being realized and being criticized by business service platform for carrying out the application scenarios of batch screenshot The specific implementation of amount screenshot may refer to realize batch screenshot in embodiment corresponding to above-mentioned Fig. 2 in the case where developing test scene Detailed process, will not continue to repeat here.
Wherein, the target terminal user obtains pad parameter information and the service server 2000 and is executing mesh When marking screenshot task, the detailed process of the corresponding screenshot result of every sub- screenshot task is obtained, may refer to following Fig. 3 extremely Embodiment corresponding to Figure 12.
Further, Fig. 3 is referred to, is a kind of flow diagram of data processing method provided by the embodiments of the present application. The method can be applied to terminal, as shown in figure 3, the method may include:
Step S101, response obtain for the task confirmation operation of task creation interface triggering and are filled in the task wound Build the pad parameter information in interface;
Wherein, N number of screenshot address and K model information be may include in the pad parameter information;N number of screenshot Location is based on determined by the M address screened from address database;N can be the positive integer less than or equal to M;K can Think positive integer.
Wherein, which can use for URL pool in embodiment corresponding to above-mentioned Fig. 1, URL pool In the address URL for including the H5 page in all H5 projects.In other words, target user (for example, developer etc.) is in needs pair During the H5 page in these H5 projects carries out intelligent screenshotss (i.e. intelligent screenshot), can by target labels information from this The address URL of specific webpage is filtered out in these addresses URL that URL pool is included, it can in sub (the i.e. number of addresses of URL pool According to library) in filter out the M address to match with the target labels information, so as to ensure that target user can be quickly from M The screenshot address of the specific webpage for carrying out screenshot is determined in a address.It is understood that terminal is being filled in When all pad parameter information in task creation interface, step S102 can be further executed, so that service server can be with Instruct the specific webpage (target pages) for these addresses URL for calling above-mentioned screenshot tool to be truncated to automatically in difference based on screenshot Screenshot picture in equipment.Wherein, terminal described in the embodiment of the present application can be above-mentioned target terminal user.
Wherein, the business service platform in the embodiment of the present application can integrate in the application program in entity device, should Application program can be understood as one kind in target application environment with above-mentioned target application, the target application, can be used in pair Webpage in all H5 projects carries out the internal applications of unified screenshotss.
Wherein it is possible to understand, terminal, can also be by integrating before execute step S101 in target application Business service platform creates new screenshot task.For example, the terminal can lead to when target application environment is exploitation test environment It crosses the exploitation test frame integrated in exploitation test application and creates new screenshot task.
For ease of understanding, further, Fig. 4 is referred to, is provided by the embodiments of the present application a kind of in exploitation test application In create screenshot task schematic diagram.As shown in figure 4, the business service platform integrated in the exploitation test application is (i.e. Exploitation test frame) it may include multiple functional modules, the multiple functional module specifically may include task list module 10a, task creation module 10b, URL pool submodule 10c, user management module 10d.Wherein, task list module 10 can be used In adding new screenshot task in task list, and new screenshot task can be referred to as target screenshot task.Wherein, appoint Business creation module 10b can be used for filling pad parameter letter associated with the target screenshot task in task creation interface Breath, to generate screenshot instruction based on pad parameter information.Wherein, URL pool submodule 10c can be used for storing all be provided with The address URL of label information, and can be determined and the target from URL pool during creating target screenshot task The associated N number of screenshot address of screenshot task.Wherein, the user management module 10d can be used for managing is surveyed using the exploitation Try user of service's list of frame (business service platform), i.e., at this using the user in list (for example, developer, test Personnel and designer etc.) just there is the permission for using the exploitation test frame, for example, user shown in Fig. 41 and user 2 All have the permission using the business service platform.
For ease of understanding, the embodiment of the present application is by for being developer using the user in list, further to explain It states target user shown in Fig. 4 (for example, user 1) and target screenshot times is created by exploitation test frame (i.e. business service platform) The detailed process of business.Wherein, the task list before creating new screenshot task can be referred to as to go through by the embodiment of the present application History task list can recorde multiple history screenshot tasks shown in Fig. 4 in the historic task list.The multiple history screenshot Task may include the screenshot task that same user (for example, same developer) is created, and also may include different user (example Such as, different developers) the screenshot task that is created, it here will be not specific to using the user of the business service platform to carry out Limitation.
Wherein, as shown in figure 4, the multiple history screenshot task specifically may include and as shown in Figure 4 be created by user 1 The task names built are the screenshot task 9 of task 40a, the screenshot task 8 for being task 40b by the task names that user 1 is created, The screenshot task 7 for being task 40c by the task names that user 1 is created is task 40d by the task names that user 1 is created Screenshot task 6, the task names created by user 1 are the screenshot task 5 of task 40e, the task name created by user 2 The referred to as screenshot task 4 of task 40f, the screenshot task 3 for being task 40g by the task names that user 2 is created, by 2 institute of user The task names of creation are the screenshot task 2 of task 40h, the screenshot task for being task 40i by the task names that user 1 is created 1.In other words, the screenshot task 9 in historic task list, screenshot task 8, screenshot task 7, screenshot task 6, screenshot task 5, Screenshot task 4, screenshot task 3, screenshot task 2, screenshot task 1 can be according to the successive suitable of the timestamp of creation screenshot task Sequence carries out arrangement from bottom to top.
Wherein it is possible to understand, each history screenshot task in the historic task list is appointed according to creation screenshot Determined by the successive timestamp of business, cut for example, the creation time stamp of the screenshot task 1 in the historic task list is less than The creation time of figure task 2 is stabbed, so screenshot task 2 can be enumerated into display in screenshot task 1 in the historic task list Top, and so on, most newly created screenshot task (i.e. target screenshot task) can be enumerated display by the embodiment of the present application In the top of screenshot task 9, to obtain goal task list.The embodiment of the present application can be by going through where the target screenshot task History task list is determined as goal task list.
Wherein, as shown in figure 4, target user (for example, user 1) can be right in business service platform as shown in Figure 4 " creation screenshot task " button in task list (task list here can be historic task list) executes trigger action, At this point, the trigger action that should be executed for " creation screenshot task " button may be collectively referred to as task creation operation.Further, should User terminal used in target user (referred to as terminal) can respond the task creation for historic task list triggering Display interface where historic task list shown in Fig. 4, is jumped to task creation interface to be filled by operation.Wherein, should Task creation interface to be filled can be filling interface 100a as shown in Figure 4.
Further, terminal can be responded for the task creation interface (filling interface i.e. shown in Fig. 4 to be filled Padding 100a) determines pad parameter information associated with the task creation interface to be filled, and can will take Task creation interface to be filled with the pad parameter information is determined as task creation interface.
Wherein it is possible to understand, user 1 can be by the business service platform described in Fig. 4 (in exploitation test scene Under, which can be referred to as to develop test frame), rapidly (included in H5 project from URL pool The address database of all addresses URL) in choose and can fill N number of screenshot address in region 2 shown in Fig. 4.
As shown in figure 4, may include multiple regions to be filled in filling interface 100a, the multiple area to be filled Domain specifically may include: region 1 shown in Fig. 4, region 2, region 3, region 4.Wherein, region 1 shown in Fig. 4 can be used for connecing Receive the task names of the target screenshot task of target user institute typing.Region 3 shown in Fig. 4 can be used for receiving target user institute The user identity information of typing, region 4 shown in Fig. 4 can be used for receiving K model information selected by target user.This Outside, region 2 shown in Fig. 4 can be used for receiving target user and screen the N number of screenshot address determined from address database. Each screenshot address in N number of screenshot address is the ground selected by the M address to match with target identification information Location.
For ease of understanding, further, Fig. 5 is referred to, is a kind of determining task creation circle provided by the embodiments of the present application The schematic diagram in face.Wherein, filling interface 200a as shown in Figure 5 can be the filling interface in embodiment corresponding to above-mentioned Fig. 4 100a.In other words, above-mentioned task creation circle to be filled can be referred to as the filling of target screenshot task by the embodiment of the present application Interface (filling interface 200a as shown in Figure 5).
Wherein, region 1 shown in fig. 5 can be referred to as first area by the embodiment of the present application, by region 2 shown in fig. 5 Referred to as second area, is referred to as third region for region 3 shown in fig. 5, and region 4 shown in fig. 5 is referred to as the fourth region.
Based in embodiment corresponding to above-mentioned Fig. 4 to region 1, region 2, region 3, the region 4 in filling interface 100a Description.As shown in figure 5, user 1 (i.e. target user) can execute padding for each region to be filled in the terminal, with It, can be with when each of multiple regions to be filled shown in Fig. 5 region to be filled is filled with corresponding pad parameter information Further the task creation interface (filling interface 200a i.e. shown in fig. 5) to be filled for carrying the pad parameter information is claimed Be task creation circle interface, so as to further execute step S101, so that terminal can be responded for task creation circle The task confirmation operation of face triggering, obtains the pad parameter information being filled in the task creation interface, at this point, pad parameter It may include N number of screenshot address in region 2 shown in fig. 5 and K model information in region 4 in information.In addition, filling ginseng Number information can also include the task names (for example, AAABBB) in region 1 shown in fig. 5, the text AAABBB in the region 1 It can be used to indicate that the subsequent task names for being shown in the target screenshot task in inside historic task, in addition, the pad parameter Information can also include the user identity information (for example, character string 10352) in region 3 shown in fig. 5, the user identity information It can be the account information etc. for being subsequently used for the registration user that simulation logs in each screenshot address.
Wherein, N number of screenshot address in task creation interface 200b shown in fig. 5 be target user from the region 2 (i.e. Second area) determined by M address being filtered out in associated address database (i.e. above-mentioned URL pool submodule).Its In, terminal used in target user (for example, user 1) can be referred to as terminal by the embodiment of the present application, and can will be with this There is terminal the background server of network connection relation to be referred to as service server.
For ease of understanding, further, Fig. 6 is referred to, is a kind of N number of screenshot address of acquisition provided by the embodiments of the present application Schematic diagram.Wherein, triggering is executed for " URL pool " button in the filling interface 300a that target user can be shown in Fig. 6 Operation, to obtain address database associated with the second area (region 2 shown in fig. 6) (i.e. from service server Above-mentioned URL pool), and the address in the address database that will acquire is shown in each page by way of paging On.For example, can show 10 addresses on each page, and any one address on each page can be referred to as one A example.Wherein, a page can be referred to as a resource display interface.
Wherein, the trigger action executed for " URL pool " button can be referred to as the second filling by the embodiment of the present application Operation, so, terminal can respond the second padding for the second area triggering in the filling interface, quickly obtain employment The associated address database of the second area is obtained on business server, and further by the filling interface (i.e. shown in Fig. 6 Filling interface 300a) jump to resource display interface for showing the address of the address database (for example, shown in Fig. 6 Resource display interface 300b, at this point, can show 10 addresses in resource display interface 300a).Wherein it is possible to understand It is that the embodiment of the present application can carry out continuous updating to 10 examples being shown in each resource display interface, so as to Form new resource display interface.
Further, as shown in fig. 6, target user (for example, developer) can be in resource display interface 300b It is manually entered target labels information, for example, the embodiment of the present application can be by 1 He of label in label typing shown in fig. 6 region Label 2 is referred to as target labels information, so as to be based on target labels information in address database (URL pool i.e. shown in fig. 6 Son) address in M address matching with the target labels information (i.e. label 1 and label 2) of screening.For example, available M=8 address shown in fig. 6.8 addresses as shown in FIG. 6 are specifically as follows address 30a, address 30b, address 30c, address 30d, address 30e, address 30f, address 30g, address 30h.This 8 addresses can be the intelligent institute from each resource display interface What is searched at least carries the address of label 1 and label 2.
Wherein, resource display interface 300a label 1 shown in Fig. 6 can be wechat novel label, and label 2 can be book Nationality details tab, label 3 can be brief note Jie label, and label 4 can be to restocking label, and label 5 can be public platform label, Label 6 can be wechat reading label, and label 7 can be band toolbar labels etc., here will be not to belonging to specific label Classification dimension is limited.
Wherein it is possible to understand, the embodiment of the present application can be according to the difference of each address in the address database Attribute is that corresponding label information is arranged in these addresses URL, and the URL so as to which these are accomplished fluently label information is entered into screenshot System, in order to which developer is when triggering above-mentioned " URL pool " button, can be got from screenshot system include it is all The address of label information is carried, and then these addresses for carrying label information can be shown by way of paging corresponding In the page.
Wherein, the embodiment of the present application can be respectively provided with corresponding label by each address URL taken in URL pool and believe Breath, and during the label information of each address URL is set, it can divide to obtain by the attribute of different dimensions corresponding Label.For ease of understanding, the embodiment of the present application can be by taking electron reading (for example, e-book) as an example, each e-book The address URL can be corresponded to, then the embodiment of the present application can divide the label of e-book by following dimension, In other words, the label segment of the address URL of each e-book may include at least one dimension in following dimension:
1) it can be divided according to module (such as wechat novel module, first dimension such as mailbox bookstore module);
2) it can be divided according to content of pages (such as books details, reader, second dimension such as idea details);
3) (band Bar, band Alert etc. third dimension) can be showed according to UI (i.e. user interface) to be divided;
4) it can be divided according to these dimensions such as data types (for example, the fourth dimensions such as public platform degree);
Further, it is to be appreciated that the application is in addition to being setting label information in each address URL in URL pool in advance, Some new labels can also be added to for the corresponding address URL manually during carrying out address screening using URL pool.It can With understanding, these labels and title entrained by each URL can help target user (for example, developer) opening The page of needs is quickly searched out when hair test.Books such as short for brief introduction, can be in the related urls address institute of books details Tab bar on manual editing, addition " brief note Jies " label, so as to test books details brief introduction when can be quick Find suitable use-case.
In addition, URL pool shown in fig. 6 can support following some characteristics:
1) while searching for the address URL by keyword (i.e. target labels information), support search URL can also be synchronized The title and label of the corresponding page in address;As shown in fig. 6, space or English comma progress can be used between multiple keywords It separates, for example, can be separated by comma between the label 1 and label 2 in label typing region.
2) the cross-page address selection URL is supported, since the address in URL pool can be shown by way of paging, 10 addresses URL can be shown on i.e. each paging page, so when searching the M address to match with target labels information Quantity be greater than each paging page threshold value (for example, 10) when, developer chooses N number of screenshot address from M address When forming a target screenshot task, can it is cross-page choose different resource display interface in URL, form a task.
3) direct editing existing each URL on the list column in the resource display interface where URL pool is supported Location and title and label information.
4) label information of the multiple URL of batch modification in the resource display interface where URL pool, the side of modification are supported Formula can specifically include " increasing new label information in batches ", " deleting existing label information in batches ", " batch replacement label letter Cease " etc..
Step S102, the screenshot for sending carrying N number of screenshot address and the K model information to service server refer to It enables, so that the service server is based on the screenshot instruction execution target screenshot task;
Wherein, the target screenshot task may include multiple sub- screenshot tasks;One sub- screenshot task can correspond to one A screenshot address;
Wherein it is possible to understand, it, can after target user has executed padding for each region to be filled To obtain the task creation interface 200b in embodiment corresponding to above-mentioned Fig. 5, at this point, can wrap in the 200b of the task creation interface Containing N number of screenshot address and K model information.For ease of understanding, further, Fig. 7 is referred to, is provided by the embodiments of the present application A kind of schematic diagram of a scenario of screenshot instruction.Wherein, task creation interface 200c shown in Fig. 7 is that target user passes through above-mentioned business Service platform is completed to obtained display interface after the padding in each region to be filled.N number of screenshot address as shown in Figure 7 Can be N=4 address being chosen from M=8 address in embodiment corresponding to above-mentioned Fig. 6, this 4 screenshot addresses can more than Address 30a, address 30b, address 30c, the address 30d in embodiment corresponding to Fig. 6 are stated, for example, screenshot address 1 shown in Fig. 7 It can be to carry out the address after copy function in be filled in region 2 to the address 30a in embodiment corresponding to Fig. 6, with such It pushes away, available 4 screenshot addresses shown in Fig. 7.
Wherein, K model information as shown in Figure 7 can in embodiment corresponding to above-mentioned Fig. 6 from 8 model informations K=6 model information of selection, this 6 model informations can in embodiment corresponding to Fig. 6 model information 1, model information 2, Model information 3, model information 4, model information 7 and model information 8.
As shown in fig. 7, target user can execute task confirmation operation for task creation interface 200c, so as to incite somebody to action Pad parameter information in the 200c of the task creation interface is added in screenshot instruction, this is carried pad parameter information Screenshot instruction is sent to service server shown in Fig. 7, so that service server can be N number of with this based on the screenshot instruction execution The associated target screenshot task in screenshot address, wherein the target screenshot task may include multiple sub- screenshot tasks;Each One sub- screenshot task can correspond to a screenshot address;For example, the task queue that service server shown in Fig. 7 is created In may include multiple sub- screenshot tasks;The multiple sub- screenshot task specifically may include sub- screenshot task 60a, and son is cut Figure task 70a, sub- screenshot task 80a, sub- screenshot task 90a.Sub- screenshot task 60a in the task queue can be screenshot The corresponding sub- screenshot task in address 1;Sub- screenshot task 70a in the task queue can cut for the corresponding son in screenshot address 2 Figure task;Sub- screenshot task 80a in the task queue can be the corresponding sub- screenshot task in screenshot address 3;In the task Sub- screenshot task 90a in queue can be the corresponding sub- screenshot task in screenshot address 4.Wherein it is possible to understand, the present invention Sub- screenshot task 60a in embodiment can be for positioned at the sub- screenshot task of head of the queue, sub- screenshot task 90a can be for positioned at tail of the queue Sub- screenshot task.
Wherein, the embodiment of the present application is being organized together multiple screenshot addresses in the form of task, so as to have Effect ground reduces the number of interaction, i.e., the embodiment of the present application can in the case where sending screenshot to service server and instructing, Can remote control business server execute every sub- screenshot task in the target screenshot task.
In addition, to guarantee that service server will not cause excessive resource to damage during screenshot to service server Consumption, the embodiment of the present application can successively execute every sub- screenshot task by way of task queue shown in Fig. 7, until executing Complete all sub- screenshot tasks, the corresponding screenshot result of available every sub- screenshot task.Further, the embodiment of the present application Can with the form of task (i.e. sub- screenshot task) by be multiplexed the obtained screenshot picture of different type of machines information organize, with into One step executes step S103, and the target pages so as to help developer to quickly understand each screenshot address are set in difference Display effect in standby.
Step S103 receives the screenshot result that the service server is returned based on every sub- screenshot task;
Specifically, terminal can receive screenshot result of the service server based on every sub- screenshot task return wherein, and one A screenshot result may include screenshot figure of the target pages corresponding to a screenshot address respectively in the K model information Piece.
For ease of understanding, further, Fig. 8 is referred to, is a kind of access provided by the embodiments of the present application and target screenshot The schematic diagram of a scenario of the associated screenshot result of task.Wherein, in the goal task list described in Fig. 8 can with Dynamically Announce with The task status of the above-mentioned associated target screenshot task in N number of screenshot address.As shown in figure 8, target user can pass through triggering Task names are the screenshot task (i.e. target screenshot task) of task 40j, to check the task details of the target screenshot task.
It, can should for example, when terminal is when receiving the trigger action on list column where the target screenshot task The corresponding trigger action of target screenshot task is referred to as task details and checks operation, so as to task details shown in Fig. 8 Page 400a shows the task details of the target screenshot task.It is understood that terminal can also receive the business service The progress notification information that device is returned when executing the target screenshot task, so as to based on the progress notification letter received Breath dynamic adjusts the task status of target screenshot task shown in Fig. 8.
Wherein, when service server is in the successful execution target screenshot task, i.e., the service server determines completion pair When shot operation under K model information of each screenshot address in the target screenshot task, the target screenshot can be terminated Task, and the list column where the target screenshot task for notifying terminal shown in Fig. 8 is by the task status tune of target screenshot task Whole is Mission Success state.It, can be at this point, terminal is when receiving the task details for the target screenshot task and checking operation The corresponding screenshot of each sub- screenshot task of display in task details page 400a shown in Fig. 8 as a result, can show respectively K screenshot picture associated with every sub- screenshot task.For example, can show that sub- screenshot is appointed in task details page 400a 1 corresponding screenshot be engaged in as a result, can simultaneously show the corresponding screenshot result of sub- screenshot task 2.
Wherein, screenshot task 1 can appoint for sub- screenshot corresponding to the screenshot address 1 in embodiment corresponding to above-mentioned Fig. 7 Business, as shown in figure 8, screenshot task 1 can be cut K associated with the target pages of the screenshot address 1 in the form of task Figure picture is organized, to obtain K=6 associated with the screenshot task 1 shown in Fig. 8 screenshot pictures.Wherein, target is used The target pages of the screenshot address 1 are consulted in the task details page 400a that family (for example, above-mentioned user 1) can be shown in Fig. 8 Display effect in K=6 equipment respectively, so as to help target user to quickly understand the page object of the screenshot address 1 Compatibility of the face in distinct device.And so on, it is looked into the task details page 400a that target user can also be shown in Fig. 8 The target pages of the screenshot address 2 display effect in K=6 equipment respectively is read, so as to help target user quick Understand compatibility of the target pages of the screenshot address 2 in distinct device.It can be seen that the embodiment of the present application is by executing It is multiplexed K model information when every sub- screenshot task, the corresponding target pages in each screenshot address can be truncated in batches not With the screenshot picture in equipment, so as to improve screenshot efficiency.
Wherein, the task status of target screenshot task shown in Fig. 8 includes following at least one state: task dispatching waits for shape State, execution status of task, task terminate state;Wherein, it includes Mission Success state and mission failure that the task, which terminates state, State.
For example, when target user is when executing task confirmation operation for task creation interface at the T1 moment, it can be in T2 It carves and the target screenshot task that task names are task 40j is added to historic task list associated with the task creation interface In, to obtain goal task list shown in Fig. 8.At this point, the terminal can will carry N number of screenshot address and K model information Screenshot instruction be sent to service server.Further, the screenshot that service server is sent in T2 reception to the terminal When instruction, the corresponding sub- screenshot in each screenshot address can be created based on screenshot instruction in the embodiment corresponding to above-mentioned Fig. 7 and appointed Business, to obtain the corresponding task queue of target screenshot task.
Wherein, service server before sequentially executing every sub- screenshot task, cut by the target that terminal can be shown in Fig. 8 In taskbar where figure task, the task status of the target screenshot is adjusted to task wait state.Further, business takes Business device is when sequentially executing every sub- screenshot task, in the taskbar where the target screenshot task that terminal can be shown in Fig. 8, The task status of the target screenshot is adjusted to execution status of task.It is understood that service server executes often in sequence When a sub- screenshot task, the screenshot progress of every sub- screenshot task can be monitored, so as to every based on what is monitored The screenshot progress of a sub- screenshot task sends progress notification information to terminal.It is understood that the progress notification information can be with For reflecting whether service server has executed every sub- screenshot task in target screenshot task.
Wherein, if service server determines the shot operation completed to every sub- screenshot task, terminal can be In taskbar where target screenshot task shown in Fig. 8, the task status of the target screenshot, which is adjusted to task, terminates state. As shown in figure 8, task, which terminates state, may include Mission Success state and mission failure state.
Wherein, as shown in figure 8, the embodiment of the present application can be in the case where determining the successful situation of task execution, i.e. successful execution In the case where the complete target screenshot task, terminal can be notified to appoint the target screenshot in the goal task list described in Fig. 8 The task status of business, which is determined as task, terminates Mission Success state in state.I.e. as shown in figure 8, terminal can be in task names For task status as display in the taskbar where task 40j " task execution success ".
Wherein, as shown in figure 8, the embodiment of the present application can also be in the case where determining task execution failure, i.e. the target In the case where any one sub- screenshot task execution failure in screenshot task, terminate the target screenshot task, to avoid calculating The waste of resource, in addition, the service server can also notify terminal to cut the target in the goal task list described in Fig. 8 The task status of figure task, which is determined as task, terminates mission failure state in state.I.e. as shown in figure 8, terminal can be in task Task status as " task execution failure " is shown in taskbar where entitled task 40c.
It can be seen that target user (for example, user 1 in embodiment corresponding to above-mentioned Fig. 4) can by the terminal to Service server sends screenshot instruction, and every sub- screenshot task in task queue is executed with remote control business server.In During every sub- screenshot task execution, the browser in service server can pass through the use in above-mentioned pad parameter information Family identification information, which is simulated, logs in the target pages of each screenshot address, in the browser of the service server intelligent intercepting it is every The target pages of a screenshot address screenshot picture in distinct device, so as to improve the efficiency of screenshot.Further, since each Sub- screenshot task can be multiplexed K model information, so as to be truncated to the mesh of each screenshot address in batches in a browser The screenshot picture of the page is marked, in order to which succeeding target user is by triggering corresponding screenshot picture, presentation can be simulated in the terminal Maximum screenshot picture of this screenshot picture in relevant device.
In the embodiment of the present application, terminal can respond the task confirmation operation for the triggering of task creation interface, obtain The pad parameter information being filled in the task creation interface;It may include N number of screenshot address in the pad parameter information With K model information;N number of screenshot address is based on determined by the M address screened from address database;N is Positive integer less than or equal to M;K is positive integer;Further, service server is receiving the instruction of screenshot transmitted by terminal Later, it is available for carrying out N number of screenshot address of screenshotss processing (screenshot processing can also be referred to as), and can be multiplexed not The automatic performance objective screenshot task of the size (i.e. K model information) of same type machine;The target screenshot task may include multiple Sub- screenshot task;One sub- screenshot task can correspond to a screenshot address;It is understood that service server is executing mesh During marking screenshot task, every sub- screenshot task can be sequentially executed, to obtain the corresponding screenshot of every sub- screenshot task As a result, wherein a screenshot result may include target pages corresponding to a screenshot address and believe respectively in the K type Screenshot picture in breath.It can be seen that since the embodiment of the present application is not necessarily to manually adjust the size of each intercepted picture, i.e., eventually End can control the picture that service server intelligent intercepting adapts to different type of machines by screenshot instruction, so as to improve screenshot Accuracy.Further, since the service server can realize batch screenshot to the target pages of different screenshot addresses, and then can be with Improve the efficiency of screenshot.
Further, Fig. 9 is referred to, is the process signal of another data processing method provided by the embodiments of the present application Figure.As shown in figure 9, the method is related to the terminal and service server for participating in carrying out screenshot, the method may include:
Step S201, response is operated for the task creation of historic task list triggering, by the historic task list institute Display interface jump to task creation interface to be filled;
Wherein, terminal can respond the task creation operation for historic task list triggering, by the historic task list The display interface at place jumps to task creation interface to be filled.Wherein, the display interface where historic task list jumps The detailed process at task creation interface to be filled may refer in embodiment corresponding to above-mentioned Fig. 4 to by historic task list institute Display interface jump to the description of filling interface 100a, will not continue to repeat here.
Step S202, response are directed to the padding at the task creation interface to be filled, it is determining with it is described to be filled The associated pad parameter information in task creation interface, task creation circle to be filled of the pad parameter information will be carried Face is determined as task creation interface;
Wherein, terminal can respond the padding for task creation interface to be filled, determine to be filled with this The associated pad parameter information in task creation interface, and the task creation interface to be filled for carrying pad parameter information is true It is set to task creation interface.
Wherein, it is right to may include above-mentioned Fig. 5 institute for the associated pad parameter information in the task creation interface to be filled with this Answer the task names being located in region 1 in embodiment, N number of screenshot address in region 2, user's mark in region 3 Know information and the K model information in region 4.
Wherein it is possible to understand, when target user is in the task creation interface in embodiment corresponding to above-mentioned Fig. 4 " task creation " button execute trigger action when, terminal can further execute following step S203, and can be under execution It is synchronous that the target screenshot task that task names are " AAABBB " is added to historic task list when stating step S203, to obtain Goal task list, so as to the display mesh associated with the N number of screenshot address in the goal task list Mark the task status of screenshot task.
Step S203, response obtain for the task confirmation operation of task creation interface triggering and are filled in the task wound Build the pad parameter information in interface;
It wherein, include N number of screenshot address and K model information in the pad parameter information;N number of screenshot address is Based on determined by the M address screened from address database;N is the positive integer less than or equal to M;K is positive integer.
Optionally, terminal can also synchronize when executing step S203 and appoint the target screenshot with the task names Business is added to the historic task list, obtains goal task list, shows and described N number of section in the goal task list The task status of the associated target screenshot task in figure address;Further, terminal can also receive the business service The progress notification information that device is returned when executing the target screenshot task, and can be adjusted based on the progress notification information The task status of the target screenshot task.
Wherein, for ease of understanding, further, referring to Figure 10, it is a kind of acquisition target provided by the embodiments of the present application The schematic diagram of a scenario of task list.Wherein, historic task list as shown in Figure 10 can be in embodiment corresponding to above-mentioned Fig. 4 Task list module 10a under task list.As shown in Figure 10, target user can trigger Figure 10 in business service platform " creation screenshot task " button in shown historic task list.At this point, terminal can respond the trigger action, it will be shown in Figure 10 Historic task list where display interface to jump to the institute of the task creation module 10b in embodiment corresponding to above-mentioned Fig. 4 right The task creation interface answered.Further, target user can hold for " task creation " button in the task creation interface Row trigger action, so as to be the target screenshot task of AAABBB (i.e. task names are full dose task) by above-mentioned task names It is added to historic task list shown in Fig. 10.
Wherein, the embodiment of the present application can by each screenshot task in historic task list as shown in Figure 10 To be referred to as history screenshot task, and the screenshot task created in the historic task list is referred to as target screenshot task. Further, as shown in Figure 10, the embodiment of the present application can will carry the target screenshot task that the task names are full dose task The historic task list at place is referred to as goal task list.And so on, when target user needs in the goal task list When the new target screenshot task of middle creation, which can be determined as to new historic task list, and this is new Historic task list in task names be full dose task screenshot task be referred to as new history screenshot task, so as to New target screenshot task updates the new historic task list.Wherein, terminal is new to this based on new target screenshot task The detailed process that historic task list is updated, may refer to will be under task list module 10b in embodiment corresponding to Figure 10 Historic task list update be goal task list specific implementation, will not continue to repeat here.
Step S204, the screenshot for sending carrying N number of screenshot address and the K model information to service server refer to It enables;
Wherein it is possible to understand, terminal can be believed after having executed above-mentioned steps S203 according to the pad parameter N number of screenshot address and K model information in breath generate screenshot instruction, so as to which screenshot instruction is sent to business service Device, so that the service server can further execute step S204, i.e. service server can be instructed based on the screenshot Performance objective screenshot task;Wherein, the target screenshot task may include multiple sub- screenshot tasks;One sub- screenshot task can With a corresponding screenshot address;
N number of screenshot address and K model information are added to based on screenshot instruction and are used to execute by step S205 The task queue of target screenshot task;
Specifically, service server can be based on extracting N number of screenshot address and K from the screenshot instruction received Model information is used for appointing for performance objective screenshot task so as to which N number of screenshot address and K model information to be added to Business queue.
Wherein it is possible to understand, it may include multiple sub- screenshot tasks in the task queue, to avoid server from calculating The waste of resource, the embodiment of the present application can sequentially execute every sub- screenshot task in the task queue, to obtain every height The corresponding screenshot result of screenshot task.
It is used as example, can be obtained first in the task queue and be located at the sub- screenshot task of head of the queue to screenshot task, Preferentially to execute the sub- screenshot task for being located at head of the queue.It is understood that when service server is executing the task queue In positioned at the sub- screenshot task of head of the queue when, can further will with this be located at the sub- screenshot task of head of the queue it is adjacent it is next son cut Figure task as new to screenshot task, until every sub- screenshot task in the task queue is selected as appointing to screenshot When business, the corresponding screenshot result of available every sub- screenshot task.
Wherein, the service server sequence executes every sub- screenshot task in the task queue, obtains described every The corresponding screenshot of a sub- screenshot task is as a result, return to the terminal for the corresponding screenshot result of described every sub- screenshot task Detailed process can be described as:
The sub- screenshot task for being located at head of the queue can be determined as to screenshot task by service server in the task queue, It is determined as described to the corresponding screenshot address of screenshot task to screenshot address;By the user identifier in the pad parameter information Information, to the identification information of screenshot address and the dimension information of the K model information as task parameters;Further, The task parameters can be passed to browser by service server, to pass through the user identity information mould in the browser It is quasi- to log in the target pages to screenshot address;Further, service server can be by the K model information to institute It states and carries out shot operation to the target pages of screenshot address, it is described to the corresponding screenshot result of screenshot task to obtain;Further , service server can be described when screenshot task in completion, described the task queue will be exported to screenshot task, until Every sub- screenshot task in the task queue is used as described when screenshot address, obtains every sub- screenshot task pair The screenshot result answered.
For ease of understanding, further, referring to Figure 11, it is that a kind of performance objective screenshot provided by the embodiments of the present application is appointed The schematic diagram of the overall flow of business.Screenshot tool in step 10 as shown in figure 11 can be understood as one kind and be integrated in business clothes The process that can be used in offer screenshot service in business device, the screenshot tool can be constantly in starting shape in service server State can be with so as to when receiving the screenshot that the terminal for having network connection relation with the service server is sent and instructing Triggering calls the process for providing screenshot service in the service server to execute screenshot task.For in service server Automatic screenshot service is provided.
Wherein, the step 30 of step 20- shown in Figure 11 may refer to the description to above-mentioned steps S204- step S205, this In will not continue to repeat.Further, the step 40 according to Figure 11 is it is found that service server is appointed in sequence execution When the every sub- screenshot task in queue of being engaged in, required task when screenshot can be passed into the browser of the service server Parameter, for example, can by above-mentioned pad parameter information user identity information (for example, above-mentioned 10352) shown in Fig. 7, to The identification information (for example, identification information at the tail portion of above-mentioned each screenshot address shown in Fig. 7) of screenshot address and the K The dimension information of a model information is passed to browser as task parameters.So as to successfully start up browsing in service server When device, execute Figure 11 shown in step 60, for example, can in task queue by be located at head of the queue sub- screenshot task be determined as to Screenshot task, and this being waited for, the corresponding screenshot address of screenshot task (for example, screenshot address 1 described in above-mentioned Fig. 7) determines To log in the target pages for waiting for screenshot address 1 to simulate by above-mentioned user identity information to screenshot address.Further, Service server can execute step 70, to intercept and store K model information respectively in a browser (for example, above-mentioned Fig. 7 institute 6 model informations shown) corresponding screenshot picture.
Wherein it is possible to understand, it, can be true by the step 110 described in Figure 11 for every sub- screenshot task Protect independently executing for each screenshot.For example, the every screenshot for having executed a model information of service server, then can close current Browser label in a browser, and can synchronize and create new browser label, to repeat step shown in Figure 11 60- step 80 can be with when service server confirmation has been completed for the corresponding sub- screenshot task in all screenshot addresses Further execute step 100 shown in Figure 11.
Wherein it is possible to understand, if service server is truncated to the target pages of screenshot address 1 in model information 1 Screenshot picture, then current label in a browser can be closed, and new browser label can be created, to intercept screenshot Screenshot picture of the target pages of address 1 in model information 2, and so on, it can successively obtain the screenshot address 1 and exist respectively Screenshot picture in K model information, i.e. service server carry out the mistake of screenshot in target a bowl of nooldes for the screenshot address 1 Cheng Zhong can carry out screenshot with one type of a type, to ensure the independence of each screenshot.Similarly, for other screenshots The acquisition process of screenshot picture of the address in K model information can be believed referring to the interception screenshot address 1 in K type together The description of screenshot picture in breath will not continue to repeat here.
As shown in figure 11, service server can further execute step 140 in the case where browser starts and fails, It needs to notify terminal that task status is shown as mission failure state in the taskbar where target screenshot task.In addition, As shown in figure 11, service server can also for some screenshot address target pages carry out screenshot, and screenshot failure In the case of, step S120 is further executed, and above-mentioned steps can be executed when number of retries is more than 3 times (fail threshold value) S140。
For example, for ease of understanding, the embodiment of the present application by taking the sub- screenshot task for being located at head of the queue is to screenshot task as an example, if Service server is carrying out screenshot for screenshot address 1 (i.e. to screenshot task corresponding to screenshot address) corresponding target pages During, detect that there are the model informations of screenshot failure (for example, embodiment corresponding to above-mentioned Fig. 7 in K model information In model information 3), then the model information 3 can be referred to as target model information, and the target model information can be based on The target pages that screenshot address is treated in repetition carry out shot operation, according to the corresponding screenshot state of duplicate shot operation, system The number of screenshot failure again is counted weight, and then can be terminated described to screenshot times when the number is greater than failure threshold value (i.e. 3 times) Business, and notify task of the terminal in the goal task list where the task to screenshot by the target screenshot task Status indicator is mission failure state.
Wherein it is possible to understand, as shown in the step 150 of Figure 11, service server can also pass through the K machine When type information carries out shot operation to the target pages when screenshot address, by described in supervision monitoring the process to screenshot task Screenshot progress, and progress notification information is sent to the terminal based on the screenshot progress, for example, the service server can be with Per a Task Progress is synchronized to terminal every few seconds, with the more task status of fresh target screenshot task in goal task list. In other words, terminal can receive the progress notification information that the service server is returned when executing the target screenshot task, And the task status of the target screenshot task can be adjusted based on the progress notification information.
Step S206 receives the screenshot result that the service server is returned based on every sub- screenshot task;
Wherein, a screenshot result may include target pages corresponding to a screenshot address respectively in the K machine Screenshot picture in type information.
Wherein, for ease of understanding, the embodiment of the present application is exploitation test scene with above-mentioned target application scene, in the exploitation Under test scene, the business service platform being integrated in above-mentioned target application can be the exploitation with screenshot task creation function Test frame, at this point, the target application can be exploitation test application.So this, which is integrated, is deployed with the exploitation test application User terminal (for example, user terminal 3000a in embodiment corresponding to above-mentioned Fig. 1) can be used for creating new screenshot task, And the new screenshot task of creation can be referred to as target screenshot task.At the same time, the embodiment of the present application can pass through industry The screenshot tool being engaged in server executes the target screenshot task.
Wherein, screenshot tool of the integrated installation in service server may include two functional modules, a function mould Block (for example, first functional module), which can integrate, is deployed in user terminal (example used in target user (for example, developer) Such as, above-mentioned user terminal 3000a shown in FIG. 1) in, for example, terminal can create mesh by above-mentioned exploitation test frame When marking screenshot task, the corresponding screenshot instruction of the target screenshot task is generated, which is created with remote control business server The corresponding task queue of screenshot task;Another functional module (for example, second functional module), which can integrate, to be deployed in for providing In the service server of automatic screenshot service, for executing every sub- screenshot task in the task queue.Wherein, it is integrated with The terminal of one functional module can be referred to as the corresponding web front end of screenshot tool;It is integrated with the business clothes of the second functional module Business device 2000 can be referred to as the corresponding background terminal of screenshot tool.
Wherein, which can be the use of object-oriented user (for example, development of user, test user, designing user) In the visualization interface for carrying out human-computer interaction, i.e. the web front end can be used for providing a visual display for target user Interface to help target user to create new screenshot task in the web front end, and can refresh newly-built screenshot task in real time Task Progress, background terminal is then used to provide automatic screenshot service when receiving screenshot instruction, and will cut for every height Terminal is returned to when the screenshot fructufy of figure task, the automatic of batch webpage is cut so as to be realized in service server Figure, to help target user to understand display effect of the target pages in distinct device corresponding to each screenshot address.
Optionally, target user can also be in obtaining the corresponding screenshot result of every sub- screenshot task, in target screenshot The corresponding task details page of task checks maximum screenshot of the screenshot picture in relevant device under certain sub- screenshot task.For It is easy to understand, further, referring to Figure 12, it is provided by the embodiments of the present application a kind of to check big figure in task details page Schematic diagram of a scenario.As shown in figure 12, target user can trigger screenshot address 1 in model information in task details page 400b Screenshot picture in 2, so as to which the target pages of the screenshot address 1 are presented in the display interface 400c shown in Figure 12 in machine Maximum screenshot picture in the corresponding equipment of type information 2.Since the corresponding screenshot result of every sub- screenshot task passes through task Form be organized, so, target user can display interface 400c shown in Figure 12 by trigger button A check with The maximum screenshot picture of the adjacent upper model information (for example, model information 1) of the model information 2 can also be pressed by triggering Button B checks the maximum screenshot picture of the next model information (for example, model information 3) adjacent with the model information 2.
Wherein it is possible to understand, the maximum screenshot of some model information is checked in target user (for example, developer) When picture, it can be ensured that be shown in the size of each equipment in display interface 400c with entity device (for example, mobile phone) Size it is identical, and true device pixel ratio can be simulated, and the Background for the equipment that can arrange in pairs or groups, with more true simulation Effect of the content page of the maximum screenshot picture being truncated on mobile phone.
Optionally, target user can also be in task details page by the region where triggering screenshot address, to check All screenshot results associated with the screenshot address.For ease of understanding, further, referring to Figure 13, it is that the application is implemented A kind of schematic diagram for comparison history screenshot result that example provides.As shown in figure 13, target user can be in the task details of terminal The region where screenshot address 1 (for example, http: // .../752512) is triggered in page 400a, so as to from business service Associated with the screenshot address 1 all history screenshots are obtained on device as a result, simultaneously can will institute associated with the screenshot address 1 There is history screenshot result (for example, being the associated history screenshot result 1 of 40j to task names and being 40b related with task names The history screenshot result 2 of connection) be shown in comparison page 500a shown in Figure 13, with compared in the comparison page 500a page with The situation of change of time.In other words, the embodiment of the present application can help target user (for example, opening in such a way that screenshot compares Hair family) quickly understand the situation of change of user interface (i.e. the interface UI) associated with the screenshot address, and then can be with Helping target user, quickly positioning searches the situation of change of corresponding UI element in the interface UI.
In the embodiment of the present application, terminal can respond the task confirmation operation for the triggering of task creation interface, obtain The pad parameter information being filled in the task creation interface;It may include N number of screenshot address in the pad parameter information With K model information;N number of screenshot address is based on determined by the M address screened from address database;N is Positive integer less than or equal to M;K is positive integer;Further, service server is receiving the instruction of screenshot transmitted by terminal Later, it is available for carrying out N number of screenshot address of screenshotss processing (screenshot processing can also be referred to as), and can be multiplexed not The automatic performance objective screenshot task of the size (i.e. K model information) of same type machine;The target screenshot task may include multiple Sub- screenshot task;One sub- screenshot task can correspond to a screenshot address;It is understood that service server is executing mesh During marking screenshot task, every sub- screenshot task can be sequentially executed, to obtain the corresponding screenshot of every sub- screenshot task As a result, wherein a screenshot result may include target pages corresponding to a screenshot address and believe respectively in the K type Screenshot picture in breath.It can be seen that since the embodiment of the present application is not necessarily to manually adjust the size of each intercepted picture, i.e., eventually End can control the picture that service server intelligent intercepting adapts to different type of machines by screenshot instruction, so as to improve screenshot Accuracy.Further, since the service server can realize batch screenshot to the target pages of different screenshot addresses, and then can be with Improve the efficiency of screenshot.
Further, referring to Figure 14, it is a kind of structural schematic diagram of data processing equipment provided by the embodiments of the present application, The data processing equipment 1 can integrate applied to terminal, which can be the user terminal in embodiment corresponding to above-mentioned Fig. 1 3000a.As shown in figure 14, which may include: task confirmation module 10, and screenshot instruction sending module 20 is cut Figure result receiving module 30;Further, which can also include: page jump module 40, interface fill mould Block 50, screenshot task adding module 60 and task status adjust module 70;
Task confirmation module 10, for responding the task confirmation operation for being directed to the triggering of task creation interface, acquisition is filled in Pad parameter information in the task creation interface;Include N number of screenshot address and K type letter in the pad parameter information Breath;N number of screenshot address is based on determined by the M address screened from address database;N is less than or equal to M Positive integer;K is positive integer;
Screenshot instruction sending module 20 carries N number of screenshot address and the K machine for sending to service server The screenshot of type information instructs, so that the service server is based on the screenshot instruction execution target screenshot task;The target Screenshot task includes multiple sub- screenshot tasks;The corresponding screenshot address of one sub- screenshot task;
Screenshot result receiving module 30, the screenshot returned for receiving the service server based on every sub- screenshot task As a result;One screenshot result includes the cutting in the K model information respectively of target pages corresponding to a screenshot address Figure picture.
Optionally, page jump module 40, for responding the task creation operation for being directed to historic task list triggering, by institute Display interface where stating historic task list jumps to task creation interface to be filled;
Interface fill module 50, for respond be directed to the task creation interface to be filled padding, determine and The associated pad parameter information in task creation interface to be filled, will carry the to be filled of the pad parameter information Task creation interface is determined as task creation interface.
Wherein, filling module 50 in interface includes: filling interface determination unit 501, and area filling unit 502, interface determines Unit 503;
Filling interface determination unit 501, for the task creation interface to be filled to be determined as target screenshot task Filling interface;The filling interface includes multiple regions to be filled;
Area filling unit 502, for responding the padding for being directed to each of filling interface region to be filled, Obtain the pad parameter information being filled in each region to be filled;The pad parameter information includes following at least one Parameter information: task names, N number of screenshot address, user identity information and K model information;The user identity information is used In when the service server executes the target screenshot task simulation log in the target pages of each screenshot address;
Wherein, the area filling unit 502 includes: name acquiring subelement 5021, and address obtains subelement 5022, mark Know and obtain subelement 5023, type obtains subelement 5024, and parameter determines subelement 5025;
Name acquiring subelement 5021, for responding the first filling of the first area being directed in filling interface triggering Operation, obtains the task names of the target screenshot task;
Address obtains subelement 5022, for responding the second filling of the second area being directed in filling interface triggering Operation, obtains the associated address database of the second area, based in the address database from service server Address determines N number of screenshot address associated with the target screenshot task;
Wherein, it includes: that database obtains subelement 5026 that the address, which obtains subelement 5022, and label obtains subelement 5027, address determines subelement 5028;
Database obtains subelement 5026, and second for responding the second area being directed in filling interface triggering is filled out Operation is filled, the associated address database of the second area is obtained from service server, the filling interface is jumped to For showing the resource display interface of the address of the address database;
Label obtains subelement 5027, for responding the label acquisition operation for being directed to resource display interface triggering, obtains Target labels information is taken, is screened in the address of the address database based on the target labels information and the target labels The M address that information matches;
Address determines subelement 5028, for responding the selection operation for being directed to the M address, from the M address N number of address is obtained to obtain each second area for being copied to the filling region to screenshot address respectively as to screenshot address To N number of screenshot address associated with the target screenshot task.
Wherein, database obtains subelement 5026, and label obtains subelement 5027, and address determines the specific of subelement 5028 Implementation may refer to the description in embodiment corresponding to above-mentioned Fig. 3 to the detailed process for obtaining N number of screenshot address, here will It does not continue to be repeated.
Mark obtains subelement 5023, for responding the third filling of the third region being directed in filling interface triggering Operation obtains the user identity information for simulating the target pages for logging in each screenshot address;
Type obtains subelement 5024, for responding the 4th filling of the fourth region being directed in filling interface triggering Operation obtains K model information from multiple model informations that the fourth region is included;
Parameter determines subelement 5025, for the task names, N number of screenshot address, user identity information and K is a The pad parameter information of model information being determined as being filled in the filling interface.
Wherein, name acquiring subelement 5021, address obtain subelement 5022, and mark obtains subelement 5023, and type obtains Subelement 5024 is taken, it is right in embodiment corresponding to above-mentioned Fig. 3 that parameter determines that the specific implementation of subelement 5025 may refer to The description of each filling region will not continue to repeat here.
Interface determination unit 503, for will carry the task names, N number of screenshot address, user identity information and The filling interface of K model information is determined as the task creation interface.
Wherein, the filling interface determination unit 501, area filling unit 502, the specific reality of interface determination unit 503 Existing mode may refer to the description in embodiment corresponding to above-mentioned Fig. 3 to task creation interface, will not continue to go to live in the household of one's in-laws on getting married here It states.
Wherein, screenshot task adding module 60, for will have the target screenshot task of the task names to be added to institute Historic task list is stated, goal task list is obtained, is shown in the goal task list related to N number of screenshot address The task status of the target screenshot task of connection;
Task status adjusts module 70, is returned for receiving the service server when executing the target screenshot task The progress notification information returned, the task status of the target screenshot task is adjusted based on the progress notification information.
Wherein, the task status of the target screenshot task includes following at least one state: task wait state, task Execution state, task terminate state;It includes Mission Success state and mission failure state that the task, which terminates state,.
Wherein, the task confirmation module 10, screenshot instruction sending module 20, the specific reality of screenshot result receiving module 30 Existing mode may refer to the description in above-mentioned Fig. 3 corresponding embodiment to step S101- step S103, will not continue to carry out here It repeats;In addition, the page jump module 40, module 50, screenshot task adding module 60 and task status adjustment are filled in interface The specific implementation of module 70 may refer to the description in embodiment corresponding to above-mentioned Fig. 9 to step S201- step S204, this In will not continue to repeat.
In the embodiment of the present application, terminal can respond the task confirmation operation for the triggering of task creation interface, obtain The pad parameter information being filled in the task creation interface;It may include N number of screenshot address in the pad parameter information With K model information;N number of screenshot address is based on determined by the M address screened from address database;N is Positive integer less than or equal to M;K is positive integer;Further, service server is receiving the instruction of screenshot transmitted by terminal Later, it is available for carrying out N number of screenshot address of screenshotss processing (screenshot processing can also be referred to as), and can be multiplexed not The automatic performance objective screenshot task of the size (i.e. K model information) of same type machine;The target screenshot task may include multiple Sub- screenshot task;One sub- screenshot task can correspond to a screenshot address;It is understood that service server is executing mesh During marking screenshot task, every sub- screenshot task can be sequentially executed, to obtain the corresponding screenshot of every sub- screenshot task As a result, wherein a screenshot result may include target pages corresponding to a screenshot address and believe respectively in the K type Screenshot picture in breath.It can be seen that since the embodiment of the present application is not necessarily to manually adjust the size of each intercepted picture, i.e., eventually End can control the picture that service server intelligent intercepting adapts to different type of machines by screenshot instruction, so as to improve screenshot Accuracy.Further, since the service server can realize batch screenshot to the target pages of different screenshot addresses, and then can be with Improve the efficiency of screenshot.
Further, referring to Figure 15, it is a kind of structural schematic diagram of computer equipment provided by the embodiments of the present application.Such as Shown in Figure 15, the computer equipment 1000 can be applied to terminal, which can be the use in above-mentioned Fig. 1 corresponding embodiment Family terminal 3000a, the computer equipment 1000 may include: processor 1001, network interface 1004 and memory 1005, this Outside, the computer equipment 1000 can also include: user interface 1003 and at least one communication bus 1002.Wherein, it communicates Bus 1002 is for realizing the connection communication between these components.Wherein, user interface 1003 may include display screen (Display), keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Net Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1004 can be High speed RAM memory is also possible to non-labile memory (non-volatile memory), for example, at least a disk Memory.Memory 1005 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 1001.Such as figure Shown in 15, as may include operating system, network communication module, user in a kind of memory 1005 of computer storage medium Interface module and equipment control application program.
Network interface 1004 in the computer equipment 1000 can send screenshot instruction to service server, and can be selected Family interface 1003 can also include display screen (Display), keyboard (Keyboard).In computer equipment 1000 shown in figure 15 In, network interface 1004 can provide network communication function;And user interface 1003 is mainly used for providing the interface of input for user; And processor 1001 can be used for that the equipment stored in memory 1005 is called to control application program, to realize:
Response is obtained and is filled in the task creation interface for the task confirmation operation of task creation interface triggering Pad parameter information;It include N number of screenshot address and K model information in the pad parameter information;N number of screenshot address is Based on determined by the M address screened from address database;N is the positive integer less than or equal to M;K is positive integer;
The screenshot instruction for carrying N number of screenshot address and the K model information is sent to service server, so that institute It states service server and is based on the screenshot instruction execution target screenshot task;The target screenshot task is appointed comprising multiple sub- screenshots Business;The corresponding screenshot address of one sub- screenshot task;
Receive the screenshot result that the service server is returned based on every sub- screenshot task;One screenshot result includes one The screenshot picture in the K model information respectively of target pages corresponding to a screenshot address.
It should be appreciated that corresponding to the executable Fig. 3 and Fig. 9 above of computer equipment 1000 described in the embodiment of the present application To the description of the data processing method in embodiment, also can be performed in embodiment corresponding to Figure 14 above to the data processing The description of device 1, details are not described herein.In addition, being described to using the beneficial effect of same procedure, also no longer repeated.
In addition, it need to be noted that: the embodiment of the present application also provides a kind of computer storage medium, and the meter Computer program performed by the data processing equipment 1 being mentioned above, and the computer journey are stored in calculation machine storage medium Sequence includes program instruction, when the processor executes described program instruction, is able to carry out the corresponding implementation of Fig. 3 above and Fig. 9 Therefore description in example to the data processing method will be repeated no longer here.In addition, having to using same procedure Beneficial effect description, is also no longer repeated.For undisclosed skill in computer storage medium embodiment involved in the application Art details please refers to the description of the application embodiment of the method.
Further, referring to Figure 16, it is the structural representation of another data processing equipment provided by the embodiments of the present application Figure, the data processing equipment 2 can integrate applied to service server, which can be real corresponding to above-mentioned Fig. 1 Apply the service server 2000 in example.As shown in figure 16, which may include: screenshot command reception module 100, task queue determining module 200, screenshot result return module 300;Further, which can also wrap Contain: module 50 is filled at page jump module 40, interface, and screenshot task adding module 60 and task status adjust module 70;
Screenshot command reception module 100 is sent for receiving the pad parameter information in terminal task based access control creation interface Screenshot instruction;It include N number of screenshot address and K model information in the pad parameter information;N number of screenshot address is base Determined by the M address screened from address database;N is the positive integer less than or equal to M;K is positive integer;
Task queue determining module 200, for being believed N number of screenshot address and K type based on screenshot instruction Breath is added to the task queue for performance objective screenshot task;The target screenshot task includes multiple sub- screenshot tasks;One A corresponding screenshot address of sub- screenshot task;
Screenshot result return module 300 obtains institute for sequentially executing every sub- screenshot task in the task queue The corresponding screenshot of every sub- screenshot task is stated as a result, the corresponding screenshot result of described every sub- screenshot task is returned to the end End.
Wherein, the screenshot result return module 300 includes: to screenshot determination unit 3001, task parameters determination unit 3002, parameter is passed to unit 3003, page screenshot unit 3004, task output unit 3005, progress monitoring unit 3006, target Type determination unit 3007, target type Multiplexing Unit 3008, screenshot end unit 3009;
To screenshot determination unit 3001, in the task queue by the sub- screenshot task for being located at head of the queue be determined as to Screenshot task is determined as described to the corresponding screenshot address of screenshot task to screenshot address;
Task parameters determination unit 3002, for by the user identity information, to screenshot in the pad parameter information The identification information of location and the dimension information of the K model information are as task parameters;
Parameter is passed to unit 3003, for the task parameters to be passed to browser, to pass through institute in the browser It states user identity information simulation and logs in the target pages to screenshot address;
Page screenshot unit 3004, for by the K model information to the target pages to screenshot address into Row shot operation, it is described to the corresponding screenshot result of screenshot task to obtain;
Task output unit 3005 will be described to described in the output of screenshot task for described when screenshot task in completion Task queue obtains described every until every sub- screenshot task in the task queue is used as described when screenshot address The corresponding screenshot result of a sub- screenshot task.
Progress monitoring unit 3006, for by the K model information to the target pages to screenshot address When carrying out shot operation, the monitoring screenshot progress to screenshot task, and sent based on the screenshot progress to the terminal Progress notification information.
Target type determination unit 3007, if there are the machines of screenshot failure in the K model information for detecting Type information, then the model information by screenshot failure is determined as target model information;
Target type Multiplexing Unit 3008, for being repeated based on the target model information to the mesh to screenshot address It marks the page and carries out shot operation, according to the corresponding screenshot state of duplicate shot operation, statistics repeats the number of screenshot failure;
Screenshot end unit 3009, it is described to screenshot task for terminating when the number is greater than failure threshold value, and lead to Know the terminal in the goal task list where the task to screenshot by the task status mark of the target screenshot task Knowing is mission failure state.
Wherein, described to screenshot determination unit 3001, task parameters determination unit 3002, parameter is passed to unit 3003, page Face screenshot unit 3004, task output unit 3005, progress monitoring unit 3006, target type determination unit 3007, target machine Type Multiplexing Unit 3008, the specific implementation of screenshot end unit 3009 may refer to above-mentioned to every sub- screenshot task of acquisition The description of the detailed process of corresponding screenshot result will not continue to repeat here.
Wherein, screenshot command reception module 100, task queue determining module 200, the tool of screenshot result return module 300 Body implementation may refer to the description in embodiment corresponding to above-mentioned Fig. 3 to step S101- step S103, here will not be followed by It is continuous to be repeated.
In addition, being described to using the beneficial effect of same procedure, also no longer repeated.
Further, referring to Figure 17, it is the structural schematic diagram of another computer equipment provided by the embodiments of the present application. As shown in figure 17, the computer equipment 4000 can be applied to service server, which can be above-mentioned Fig. 1 pairs The service server 2000 in embodiment is answered, the computer equipment 4000 may include: processor 4001, network interface 4004 With memory 4005, in addition, the computer equipment 4000 can also include: that user interface 4003 and at least one communication are total Line 4002.Wherein, communication bus 4002 is for realizing the connection communication between these components.Wherein, user interface 4003 can be with Including display screen (Display), keyboard (Keyboard), optional user interface 4003 can also include standard wireline interface, Wireless interface.Network interface 4004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Storage Device 4004 can be high speed RAM memory, be also possible to non-labile memory (non-volatile memory), such as At least one magnetic disk storage.Memory 4005 optionally can also be that at least one is located remotely from depositing for aforementioned processor 4001 Storage device.As shown in figure 17, as may include that operating system, network are logical in a kind of memory 4005 of computer storage medium Believe that module, Subscriber Interface Module SIM and equipment control application program.
Network interface 4004 in the computer equipment 4000 can receive terminal and send screenshot instruction, and optional user connects Mouth 4003 can also include display screen (Display), keyboard (Keyboard).In the computer equipment 4000 shown in Figure 17, Network interface 4004 can provide network communication function;And user interface 4003 is mainly used for providing the interface of input for user;And Processor 4001 can be used for that the equipment stored in memory 4005 is called to control application program, to realize:
Receive the screenshot instruction that the pad parameter information in terminal task based access control creation interface is sent;The pad parameter letter It include N number of screenshot address and K model information in breath;N number of screenshot address is based on the M screened from address database Determined by a address;N is the positive integer less than or equal to M;K is positive integer;
N number of screenshot address and K model information are added to based on screenshot instruction and are used for performance objective screenshot The task queue of task;The target screenshot task includes multiple sub- screenshot tasks;The corresponding screenshot of one sub- screenshot task Address;
Sequence executes every sub- screenshot task in the task queue, obtains every corresponding section of sub- screenshot task Figure is as a result, return to the terminal for the corresponding screenshot result of every sub- screenshot task.
It should be appreciated that corresponding to the executable Fig. 3 and Fig. 9 above of computer equipment 4000 described in the embodiment of the present application To the description of the data processing method in embodiment, also can be performed in embodiment corresponding to Figure 16 above to the data processing The description of device 2, details are not described herein.In addition, being described to using the beneficial effect of same procedure, also no longer repeated.
In addition, it need to be noted that: the embodiment of the present application also provides a kind of computer storage medium, and the meter Computer program performed by the data processing equipment 2 being mentioned above, and the computer journey are stored in calculation machine storage medium Sequence includes program instruction, when the processor executes described program instruction, is able to carry out the corresponding implementation of Fig. 3 above and Fig. 9 Therefore description in example to the data processing method will be repeated no longer here.In addition, having to using same procedure Beneficial effect description, is also no longer repeated.For undisclosed skill in computer storage medium embodiment involved in the application Art details please refers to the description of the application embodiment of the method.
Further, referring to Figure 18, it is the structural representation of another data processing system provided by the embodiments of the present application Figure.The data processing system 3 may include data processing equipment 1a and data processing equipment 1b.Wherein, the data processing dress Setting 1a can be the data processing equipment 1 in embodiment corresponding to above-mentioned Figure 14, it is to be understood that data processing equipment 1a It can integrate the user terminal 3000a in the embodiment corresponding to above-mentioned Fig. 1, therefore, will no longer repeat here, wherein The data processing equipment 1b can be the data processing dress in embodiment corresponding to above-mentioned Figure 16 of embodiment corresponding to above-mentioned Fig. 1 Set 2, it is to be understood that data processing equipment 1b can integrate the service server in the embodiment corresponding to above-mentioned Fig. 1 2000, therefore, will no longer it repeat here.In addition, being described to using the beneficial effect of same procedure, also no longer go to live in the household of one's in-laws on getting married It states.For undisclosed technical detail in data processing system embodiment involved in the application, it is real to please refer to the application method Apply the description of example.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only the application preferred embodiment, cannot limit the right model of the application with this certainly It encloses, therefore according to equivalent variations made by the claim of this application, still belongs to the range that the application is covered.

Claims (15)

1. a kind of data processing method, the method is applied to terminal characterized by comprising
Response obtains the filling being filled in the task creation interface for the task confirmation operation of task creation interface triggering Parameter information;It include N number of screenshot address and K model information in the pad parameter information;N number of screenshot address is to be based on Determined by the M address screened from address database;N is the positive integer less than or equal to M;K is positive integer;
The screenshot instruction for carrying N number of screenshot address and the K model information is sent to service server, so that the industry Server be engaged in based on the screenshot instruction execution target screenshot task;The target screenshot task includes multiple sub- screenshot tasks; The corresponding screenshot address of one sub- screenshot task;
Receive the screenshot result that the service server is returned based on every sub- screenshot task;One screenshot result includes one and cuts The screenshot picture in the K model information respectively of target pages corresponding to figure address.
2. the method according to claim 1, wherein further include:
Response jumps the display interface where the historic task list for the task creation operation of historic task list triggering Go to task creation interface to be filled;
Response is directed to the padding at the task creation interface to be filled, the determining and task creation interface to be filled The task creation interface to be filled for carrying the pad parameter information is determined as task wound by associated pad parameter information Build interface.
3. according to the method described in claim 2, it is characterized in that, response filling out for the task creation interface to be filled Operation is filled, pad parameter information associated with the task creation interface to be filled is determined, the pad parameter will be carried The task creation interface to be filled of information is determined as task creation interface, comprising:
The task creation interface to be filled is determined as to the filling interface of target screenshot task;The filling interface includes more A region to be filled;
For the padding in each of filling interface region to be filled, acquisition is filled in described each to be filled for response Pad parameter information in region;The pad parameter information includes following at least one parameter information: task names, N number of section Figure address, user identity information and K model information;The user identity information is used to execute institute in the service server Simulation logs in the target pages of each screenshot address when stating target screenshot task;
The filling interface for carrying the task names, N number of screenshot address, user identity information and K model information is true It is set to the task creation interface.
4. according to the method described in claim 3, it is characterized in that, the response is for each of described filling interface wait fill out The padding in region is filled, the pad parameter information being filled in each region to be filled is obtained, comprising:
Response obtains the target screenshot task for the first padding of the first area triggering in the filling interface Task names;
The second padding that response is triggered for the second area in the filling interface, from service server described in acquisition The associated address database of second area, based on the address determination and the target screenshot task phase in the address database Associated N number of screenshot address;
Response obtains for the third padding of the third region triggering in the filling interface and logs in each section for simulating The user identity information of the target pages of figure address;
Response is directed to the 4th padding of the fourth region triggering in the filling interface, is included from the fourth region K model information is obtained in multiple model informations;
By the task names, N number of screenshot address, user identity information and K model information be determined as being filled in it is described Pad parameter information in filling interface.
5. according to the method described in claim 4, it is characterized in that, the response is for the second area in the filling interface Second padding of triggering, obtains the associated address database of the second area from service server, based on described Address in address database determines N number of screenshot address associated with the target screenshot task, comprising:
The second padding that response is triggered for the second area in the filling interface, from service server described in acquisition The filling interface, is jumped to the address for being used to show the address database by the associated address database of second area Resource display interface;
Response obtains operation for the label of resource display interface triggering, obtains target labels information, is based on the target Label information screens the M address to match with the target labels information in the address of the address database;
Response is directed to the selection operation of the M address, and N number of address is obtained from the M address respectively as to screenshot Location obtains each second area that the filling region is copied to screenshot address associated with the target screenshot task N number of screenshot address.
6. according to the method described in claim 2, it is characterized by further comprising:
Target screenshot task with the task names is added to the historic task list, obtains goal task list, The task status of the target screenshot task associated with the N number of screenshot address is shown in the goal task list;
Receive the progress notification information that the service server is returned when executing the target screenshot task, based on it is described into Degree notification information adjusts the task status of the target screenshot task.
7. according to the method described in claim 6, it is characterized in that, the task status of the target screenshot task include with down toward A kind of few state: task wait state, execution status of task, task terminate state;The task terminate state include task at Function state and mission failure state.
8. a kind of data processing method, the method is applied to service server characterized by comprising
Receive the screenshot instruction that the pad parameter information in terminal task based access control creation interface is sent;In the pad parameter information Include N number of screenshot address and K model information;N number of screenshot address is based on the M ground screened from address database Determined by location;N is the positive integer less than or equal to M;K is positive integer;
N number of screenshot address and K model information are added to based on screenshot instruction and are used for performance objective screenshot task Task queue;The target screenshot task includes multiple sub- screenshot tasks;The corresponding screenshot address of one sub- screenshot task;
Sequence executes every sub- screenshot task in the task queue, obtains the corresponding screenshot knot of described every sub- screenshot task The corresponding screenshot result of every sub- screenshot task is returned to the terminal by fruit.
9. according to the method described in claim 8, it is characterized in that, the sequence executes every height in the task queue section Figure task obtains the corresponding screenshot of every sub- screenshot task as a result, will the corresponding screenshot knot of the every a sub- screenshot task Fruit returns to the terminal, comprising:
The sub- screenshot task for being located at head of the queue is determined as to screenshot task in the task queue, it will be described to screenshot task pair The screenshot address answered is determined as to screenshot address;
User identity information in the pad parameter information, the identification information to screenshot address and the K type are believed The dimension information of breath is as task parameters;
The task parameters are passed to browser, it is described to be logged in the browser by user identity information simulation Target pages to screenshot address;
Shot operation is carried out to the target pages to screenshot address by the K model information, it is described wait cut to obtain The corresponding screenshot result of figure task;
It is described when screenshot task in completion, described the task queue will be exported to screenshot task, until the task queue In every sub- screenshot task be used as described when screenshot address, obtain the corresponding screenshot knot of described every sub- screenshot task Fruit.
10. according to the method described in claim 9, it is characterized by further comprising:
When carrying out shot operation to the target pages when screenshot address by the K model information, monitoring it is described to The screenshot progress of screenshot task, and progress notification information is sent to the terminal based on the screenshot progress.
11. according to the method described in claim 10, it is characterized by further comprising:
If detecting, there are the model informations of screenshot failure in the K model information, by the type of screenshot failure Information is determined as target model information;
It repeats to carry out shot operation to the target pages to screenshot address based on the target model information, according to duplicate The corresponding screenshot state of shot operation, statistics repeat the number of screenshot failure;
When the number is greater than failure threshold value, terminate described to screenshot task, and the terminal is notified to appoint described to screenshot The task status of the target screenshot task is identified as mission failure state in goal task list where being engaged in.
12. a kind of data processing equipment, described device is applied to terminal characterized by comprising
Task confirmation module, for responding the task confirmation operation for being directed to the triggering of task creation interface, acquisition is filled in described appoint Pad parameter information in business creation interface;It include N number of screenshot address and K model information in the pad parameter information;Institute Stating N number of screenshot address is based on determined by the M address screened from address database;N is just whole less than or equal to M Number;K is positive integer;
Screenshot instruction sending module carries N number of screenshot address and the K model information for sending to service server Screenshot instruction so that the service server be based on the screenshot instruction execution target screenshot task;The target screenshot is appointed Business includes multiple sub- screenshot tasks;The corresponding screenshot address of one sub- screenshot task;
Screenshot result receiving module, the screenshot result returned for receiving the service server based on every sub- screenshot task; One screenshot result includes the screenshot figure in the K model information respectively of target pages corresponding to a screenshot address Piece.
13. a kind of data processing equipment, described device is applied to service server characterized by comprising
Screenshot command reception module refers to for receiving the screenshot that the pad parameter information in terminal task based access control creation interface is sent It enables;It include N number of screenshot address and K model information in the pad parameter information;N number of screenshot address is based on from address Determined by the M address screened in database;N is the positive integer less than or equal to M;K is positive integer;
N number of screenshot address and K model information are added to by task queue determining module for being instructed based on the screenshot Task queue for performance objective screenshot task;The target screenshot task includes multiple sub- screenshot tasks;One sub- screenshot Task corresponds to a screenshot address;
Screenshot result return module obtains described each for sequentially executing every sub- screenshot task in the task queue The corresponding screenshot of sub- screenshot task is as a result, return to the terminal for the corresponding screenshot result of described every sub- screenshot task.
14. a kind of computer equipment characterized by comprising processor, memory and network interface;
The processor is connected with memory, network interface, wherein network interface is described to deposit for providing data communication function Reservoir is for storing program code, and the processor is for calling said program code, to execute as claim 1-11 is any Method described in.
15. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program include program instruction, and described program instructs when being executed by a processor, execute such as claim 1-11 Described in any item methods.
CN201910816748.1A 2019-08-30 2019-08-30 Data processing method, device and storage medium Active CN110515514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910816748.1A CN110515514B (en) 2019-08-30 2019-08-30 Data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910816748.1A CN110515514B (en) 2019-08-30 2019-08-30 Data processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110515514A true CN110515514A (en) 2019-11-29
CN110515514B CN110515514B (en) 2023-11-07

Family

ID=68629587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910816748.1A Active CN110515514B (en) 2019-08-30 2019-08-30 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110515514B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372344A (en) * 2020-02-28 2020-07-03 中国工商银行股份有限公司 Method, device and system for processing job information
CN113687750A (en) * 2020-05-08 2021-11-23 腾讯科技(深圳)有限公司 Screenshot processing method and device
CN114745558A (en) * 2021-01-07 2022-07-12 北京字节跳动网络技术有限公司 Live broadcast monitoring method, device, system, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071438A (en) * 2007-03-26 2007-11-14 腾讯科技(深圳)有限公司 Capture server, distribution server, method and system for generating webpage capture
US20080127186A1 (en) * 2006-07-27 2008-05-29 Hemant Kanodia System for analyzing batch processes
CN103336814A (en) * 2013-06-28 2013-10-02 优视科技有限公司 Method and device of processing screenshot of web page
CN103544101A (en) * 2012-07-16 2014-01-29 深圳市世纪光速信息技术有限公司 Wireless platform development automatic test system and method
CN103546518A (en) * 2012-07-17 2014-01-29 深圳市世纪光速信息技术有限公司 Adaption testing method and adaption testing system for mobile terminal
CN103546907A (en) * 2012-07-11 2014-01-29 深圳市世纪光速信息技术有限公司 System and method for testing wireless application protocol webpage
CN104765678A (en) * 2014-01-08 2015-07-08 阿里巴巴集团控股有限公司 Method and device for testing applications on mobile terminal
CN106886491A (en) * 2017-01-17 2017-06-23 博彦科技股份有限公司 Webpage compatibility test method and device
CN109491744A (en) * 2018-11-06 2019-03-19 成都知道创宇信息技术有限公司 A kind of webpage capture system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127186A1 (en) * 2006-07-27 2008-05-29 Hemant Kanodia System for analyzing batch processes
CN101071438A (en) * 2007-03-26 2007-11-14 腾讯科技(深圳)有限公司 Capture server, distribution server, method and system for generating webpage capture
CN103546907A (en) * 2012-07-11 2014-01-29 深圳市世纪光速信息技术有限公司 System and method for testing wireless application protocol webpage
CN103544101A (en) * 2012-07-16 2014-01-29 深圳市世纪光速信息技术有限公司 Wireless platform development automatic test system and method
CN103546518A (en) * 2012-07-17 2014-01-29 深圳市世纪光速信息技术有限公司 Adaption testing method and adaption testing system for mobile terminal
CN103336814A (en) * 2013-06-28 2013-10-02 优视科技有限公司 Method and device of processing screenshot of web page
CN104765678A (en) * 2014-01-08 2015-07-08 阿里巴巴集团控股有限公司 Method and device for testing applications on mobile terminal
CN106886491A (en) * 2017-01-17 2017-06-23 博彦科技股份有限公司 Webpage compatibility test method and device
CN109491744A (en) * 2018-11-06 2019-03-19 成都知道创宇信息技术有限公司 A kind of webpage capture system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372344A (en) * 2020-02-28 2020-07-03 中国工商银行股份有限公司 Method, device and system for processing job information
CN113687750A (en) * 2020-05-08 2021-11-23 腾讯科技(深圳)有限公司 Screenshot processing method and device
CN113687750B (en) * 2020-05-08 2023-10-27 腾讯科技(深圳)有限公司 Screenshot processing method and device
CN114745558A (en) * 2021-01-07 2022-07-12 北京字节跳动网络技术有限公司 Live broadcast monitoring method, device, system, equipment and medium
CN114745558B (en) * 2021-01-07 2024-04-09 北京字节跳动网络技术有限公司 Live broadcast monitoring method, device, system, equipment and medium

Also Published As

Publication number Publication date
CN110515514B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
US10618137B2 (en) Automated constructing method of cloud manufacturing service and cloud manufacturing system
CN109684054B (en) Information processing method and device, electronic equipment and memory
CN110515514A (en) A kind of data processing method, device and storage medium
CN111104635B (en) Method and device for generating form webpage
US10922282B2 (en) On-demand collaboration user interfaces
US11138216B2 (en) Automatically invoked unified visualization interface
CN109783388A (en) UI automated testing method, device and electronic equipment
CN105637478A (en) Computer-aided development of native mobile application code
CN106648556A (en) Front end and back end integrated development testing method and device
US11079987B2 (en) Creation of component templates
CN110502212A (en) It is a kind of towards the multilingual online Development Support method of high concurrent
US20210409327A1 (en) Creating endpoints
CN113885860A (en) Method and equipment for automatically configuring management page to generate interface service
CN111797340B (en) Service packaging system for user-defined extraction flow
CN112035555B (en) Information display method, device and equipment
CN109543166A (en) Generation method, server and the computer readable storage medium of house property poster template
CN113515715B (en) Buried point event code generation method, buried point event code processing method and related equipment
CN107870805A (en) The information processing method and device of task system
CN109165049A (en) Module data processing method and processing device
CN109992614A (en) Data capture method, device and server
Nagy et al. Cloud-based Serverless Solution for Facilitating the Organisation of Athletics Competitions
US11461429B1 (en) Systems and methods for website segmentation and quality analysis
US20230370331A1 (en) Parameter value setting system, control method of parameter value setting system and program
US11899737B1 (en) System and method for managing information sourced by a primary server that is sent to other servers when a user interacts with a web page without distorting the other servers
CN108595586B (en) Method and device for determining search keywords

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
GR01 Patent grant
GR01 Patent grant