CN111338955B - Software graphical interface testing method and device, software development system and server - Google Patents

Software graphical interface testing method and device, software development system and server Download PDF

Info

Publication number
CN111338955B
CN111338955B CN202010124251.6A CN202010124251A CN111338955B CN 111338955 B CN111338955 B CN 111338955B CN 202010124251 A CN202010124251 A CN 202010124251A CN 111338955 B CN111338955 B CN 111338955B
Authority
CN
China
Prior art keywords
rendering
information
graphic
software
graphic rendering
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.)
Expired - Fee Related
Application number
CN202010124251.6A
Other languages
Chinese (zh)
Other versions
CN111338955A (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.)
Wuhan Hongshu Information Technology Co ltd
Original Assignee
Wuhan Hongshu Information Technology 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 Wuhan Hongshu Information Technology Co ltd filed Critical Wuhan Hongshu Information Technology Co ltd
Priority to CN202011030098.7A priority Critical patent/CN112181826A/en
Priority to CN202011030113.8A priority patent/CN112181827A/en
Priority to CN202010124251.6A priority patent/CN111338955B/en
Publication of CN111338955A publication Critical patent/CN111338955A/en
Application granted granted Critical
Publication of CN111338955B publication Critical patent/CN111338955B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The embodiment of the application provides a software graphics interface testing method, a software graphics interface testing device, a software development system and a server, which can effectively test a software graphics interface aiming at an associated graphics rendering model with rendering service association, and further judge a software graphics interface testing result of the software graphics interface aiming at the associated graphics rendering model by identifying the associated graphics rendering model, so that a developer can further optimize according to the software graphics interface testing result, the rendering effect aiming at the associated graphics rendering model in the subsequent software using process can be improved, and the rendering error condition can be improved.

Description

Software graphical interface testing method and device, software development system and server
Technical Field
The application relates to the technical field of computers, in particular to a software graphical interface testing method and device, a software development system and a server.
Background
The software development kit usually needs to be tested in advance before formal compilation is completed, and part of the work in the testing process is to test the software graphic interface so as to control whether the subsequent call of the software graphic interface in the rendering process meets better performance indexes. In a conventional scheme, for a certain software development kit, a plurality of models to be rendered are generally input for pre-rendering, so as to determine whether the rendering process of each model to be rendered meets the standard according to the calling parameter information of a software graphical interface until the rendering is completed.
However, the inventor researches and discovers that for a certain software service, an actual rendering process is not always completely the rendering of a single model, but is the synchronous rendering of a plurality of associated models (for example, rendering models adjacent to the rendering service), so that if a conventional test scheme is adopted, a software graphics interface cannot be effectively tested against the associated models, which graphics rendering models are associated graphics rendering models cannot be well identified, and the calling test condition of the software graphics interface against the associated graphics rendering models cannot be effectively judged, so that a developer cannot perform targeted project optimization, and a better rendering effect cannot be achieved against the associated graphics rendering models in the subsequent software use process, and even a rendering error condition may exist, which seriously affects user experience.
Disclosure of Invention
In view of this, an object of the present application is to provide a software graphics interface testing method, device, software development system, and server, which can effectively test a software graphics interface for an associated graphics rendering model with rendering service association, and then further determine a software graphics interface testing result of the software graphics interface for the associated graphics rendering model by identifying the associated graphics rendering model, so that a developer can further optimize according to the software graphics interface testing result, so as to improve a rendering effect for the associated graphics rendering model in a subsequent software use process, and improve a rendering error condition.
In a first aspect, the present application provides a software graphics interface testing method, applied to a server, where the server is in communication connection with a plurality of software development terminals, and the method includes:
running the target software development packages submitted by the plurality of software development terminals in a preset rendering mode of the server, running each graph rendering model according to programmable dyeing correlation compiling information of the target software development packages related to the software service to be tested in the preset rendering mode to obtain calling log information of a software graphic interface of each graph rendering model in the rendering process, and respectively extracting calling parameter information of the corresponding graph rendering model under each preset test label from the calling log information corresponding to each graph rendering model;
respectively eliminating non-service calling parameter information of each corresponding graphic rendering model under each preset test label from calling parameter information of each graphic rendering model under each preset test label to obtain service calling parameter information of each graphic rendering model under each preset test label, and respectively dividing the service calling parameter information of each graphic rendering model under each preset test label into service calling parameter information of the corresponding graphic rendering model under a first type of preset test label and service calling parameter information under a second type of preset test label, wherein the first type of preset test label is used for representing a graphic interface calling relationship, and the second type of preset test label is used for representing a graphic interface access process and an access verification process;
according to the business calling parameter information of each graphic rendering model under the first type of preset test label, acquiring a test item of the corresponding graphic rendering model under each preset test label contained in the first type of preset test label, generating a corresponding test matrix by taking each graphic rendering model as a row unit and taking the test item of the corresponding graphic rendering model under each preset test label contained in the first type of preset test label as a column unit, and identifying the test matrix to acquire a test result label corresponding to each graphic rendering model;
regarding each graphic rendering model belonging to the same test result label, taking every two graphic rendering models as a related object, and respectively judging whether the two graphic rendering models contained in the corresponding related object are related graphic rendering models or not according to the service calling parameter information of the two graphic rendering models contained in each related object under the second-class preset test label;
outputting a corresponding software graphic interface test result according to a judgment result, and outputting an optimizable item corresponding to the software graphic interface according to the software graphic interface test result, wherein the software graphic interface test result at least comprises all graphic rendering models under each test result label and service calling parameter information of each graphic rendering model under each preset test label, all associated graphic rendering models under each test result label and service calling parameter information of two graphic rendering models contained in each set of associated graphic rendering models under the second type of preset test labels, and the optimizable item is used for representing a test label item with abnormal service calling parameter information.
In a possible design of the first aspect, the step of running each graphics rendering model according to the programmable dyeing correlation compilation information of the target software development kit related to the software service to be tested to obtain the call log information of the software graphics interface of each graphics rendering model in the rendering process includes:
establishing programmable dyeing compiling information of the target software development kit according to information to be compiled of the programmable dyeing compiling components of the target software development kit by the plurality of software development terminals, wherein the programmable dyeing compiling information is used for reflecting dyeing programming control information when images are rendered in the target software development kit;
compiling and updating the programmable dyeing compiling information of the programmable dyeing compiling component of the target software development kit according to a compiling script corresponding to a target software service to obtain programmable dyeing associated compiling information of the target software development kit associated with the target software service;
determining business dyeing rendering parameter information of the target software development kit according to the programmable dyeing correlation compiling information of the target software development kit;
and running each graphics rendering model according to the service dyeing rendering parameter information to obtain the calling log information of the software graphics interface of each graphics rendering model in the rendering process.
In a possible design of the first aspect, the step of establishing the programmable coloring compilation information of the target software development kit according to the information to be compiled of the programmable coloring compilation component of the target software development kit by the plurality of software development terminals includes:
acquiring a first to-be-compiled item service characteristic of each to-be-compiled item in the to-be-compiled information, wherein the first to-be-compiled item service characteristic is used for representing a compiled byte code of the to-be-compiled item;
performing feature recognition on the first project service feature to be compiled to obtain first dyeing node feature information and dyeing node control feature information corresponding to the first dyeing node feature information;
acquiring first graphical control information and graphical control interaction information of the item to be compiled, and extracting control component information of the first graphical control information, wherein the control component information of the first graphical control information comprises a specified graphical control component;
acquiring appointed graphic control components of a preset historical project to be compiled, and adjusting the appointed graphic control components of the first graphical control information according to the appointed graphic control components to enable rendering logic between the appointed graphic control components in the first graphical control information to be matched with the rendering logic between the appointed graphic control components in the preset historical project to be compiled;
obtaining control component information of second graphical control component information according to each adjusted designated graphical control component in the first graphical control component information, and generating second graphical control component information according to the control component information of the second graphical control component information;
searching and obtaining dyeing node control characteristic information matched with the graph control interaction information and first dyeing node characteristic information corresponding to the dyeing node control characteristic information according to the graph control interaction information and control component information of the second graphical control information, and adjusting the first dyeing node characteristic information corresponding to the dyeing node control characteristic information according to the control component information of the second graphical control information to obtain second dyeing node characteristic information;
and mapping and associating the second dyeing node characteristic information and the second graphical control information to establish programmable dyeing compiling information of the target software development kit.
In a possible design of the first aspect, the step of running each graphics rendering model according to the service coloring rendering parameter information to obtain call log information of a software graphics interface of each graphics rendering model in a rendering process includes:
calling the software graphic interface to access a corresponding programmable dyeing controller according to the service dyeing rendering parameter information, and running each graphic rendering model through the programmable dyeing controller;
determining a graphic interface parameter corresponding to the calling parameter line information of each graphic rendering model according to the obtained calling parameter line information of different calling log types called by each graphic rendering model, wherein the calling parameter line information of different calling log types respectively corresponds to different graphic interface parameters;
determining summarized recorded line data of different calling parameter line information of each graphics rendering model, and acquiring a first behavior sequence of at least two same graphics interface calling behaviors in a plurality of corresponding graphics interface calling behaviors and at least one second behavior sequence of which the calling times are greater than preset times in the remaining graphics interface calling behaviors according to the summarized recorded line data;
generating a call log crawling task for determining call log information of the software graphical interface according to a behavior sequence which is selected from the first behavior sequence and has the calling times larger than a set time as a target behavior sequence and the at least one second behavior sequence, wherein the call log crawling task comprises the target behavior sequence and the at least one second behavior sequence;
and respectively determining the calling log information of the software graphical interface of each graphic rendering model in the rendering process according to the calling log crawling task.
In a possible design of the first aspect, the step of determining, according to the call log crawling task, call log information of a software graphics interface of each graphics rendering model in a rendering process includes:
determining a target behavior sequence and calling parameter row information corresponding to each target graphical interface calling behavior in the at least one second behavior sequence according to the calling log crawling task;
and determining the calling log information of the software graphical interface of each graphic rendering model in the rendering process according to the calling parameter row information corresponding to the calling behavior of each target graphical interface.
In a possible design of the first aspect, the step of respectively determining whether two graphics rendering models included in corresponding associated objects are associated graphics rendering models according to the service invocation parameter information of the two graphics rendering models included in each associated object under the second-class preset test tag includes:
calculating the calling level between the process calling relations between the graphic interface access processes corresponding to the two graphic rendering models contained in each associated object respectively aiming at the two graphic rendering models contained in each associated object;
judging whether the calling level is greater than or equal to a preset calling level, if so, judging that two graphic rendering models contained in the associated object are similar graphic rendering models, and under the condition that the access verification processes respectively corresponding to the two graphic rendering models contained in the associated object are matched, judging that the two graphic rendering models contained in the associated object are associated graphic rendering models, otherwise, judging that the two graphic rendering models contained in the associated object are not associated graphic rendering models.
In a possible design of the first aspect, the determining that the two graphics rendering models included in the associated object are associated graphics rendering models when it is determined that the access verification processes corresponding to the two graphics rendering models included in the associated object respectively match includes:
if the two graphic rendering models contained in the associated object have access verification processes and the two access verification processes are the same, determining that the two graphic rendering models contained in the associated object are associated graphic rendering models;
if one of the two graphic rendering models contained in the associated object has an access verification process, determining that the two graphic rendering models contained in the associated object are associated graphic rendering models;
if the two graphic rendering models contained in the associated object do not have the access verification process, judging that the two graphic rendering models contained in the associated object are associated graphic rendering models;
and if the two graphic rendering models contained in the associated object have access verification processes which are different, determining that the two graphic rendering models contained in the associated object are suspected associated graphic rendering models.
In a second aspect, an embodiment of the present application further provides a software graphics interface testing apparatus, which is applied to a server, where the server is in communication connection with a plurality of software development terminals, and the apparatus includes:
the extraction module is used for running the target software development packages submitted by the software development terminals in a preset rendering mode of the server, running each graph rendering model according to the programmable dyeing correlation compilation information of the target software development packages related to the software service to be tested in the preset rendering mode to obtain the calling log information of the software graphical interface of each graph rendering model in the rendering process, and respectively extracting the calling parameter information of the corresponding graph rendering model under each preset test label from the calling log information corresponding to each graph rendering model;
the dividing module is used for respectively eliminating the non-service calling parameter information of each corresponding graphic rendering model under each preset test label from the calling parameter information of each graphic rendering model under each preset test label so as to obtain the service calling parameter information of each graphic rendering model under each preset test label, and respectively dividing the service calling parameter information of each graphic rendering model under each preset test label into the service calling parameter information of the corresponding graphic rendering model under a first type of preset test label and the service calling parameter information under a second type of preset test label, wherein the first type of preset test label is used for representing a graphic interface calling relationship, and the second type of preset test label is used for representing a graphic interface access process and an access verification process;
the identification module is used for acquiring test items of corresponding graphic rendering models under the preset test labels contained in the first type of preset test labels according to the service calling parameter information of each graphic rendering model under the first type of preset test labels, generating corresponding test matrixes by taking each graphic rendering model as a row unit and taking the test items of the corresponding graphic rendering models under the preset test labels contained in the first type of preset test labels as a column unit, and identifying the test matrixes to acquire test result labels corresponding to each graphic rendering model;
the judging module is used for respectively judging whether the two graphic rendering models contained in the corresponding associated object are associated graphic rendering models or not by taking every two graphic rendering models as an associated object according to the service calling parameter information of the two graphic rendering models contained in each associated object under the second-class preset test label;
and the output module is used for outputting a corresponding software graphical interface test result according to a judgment result and outputting an optimizable item corresponding to the software graphical interface according to the software graphical interface test result, wherein the software graphical interface test result at least comprises all the graphic rendering models under each test result label and the service calling parameter information of each graphic rendering model under each preset test label, all the associated graphic rendering models under each test result label and the service calling parameter information of two graphic rendering models contained in each group of associated graphic rendering models under the second type of preset test labels, and the optimizable item is used for representing a test label item with abnormal service calling parameter information.
In a third aspect, an embodiment of the present application further provides a software development system, where the software development system includes a server and a plurality of software development terminals communicatively connected to the server;
the software development terminals are used for sending target software development packages which are completed in a matched development mode to the server;
the server is used for running the target software development packages submitted by the plurality of software development terminals in a preset rendering mode of the server, running each graph rendering model according to the programmable dyeing correlation compilation information of the target software development packages related to the software service to be tested in the preset rendering mode to obtain the calling log information of the software graphical interface of each graph rendering model in the rendering process, and respectively extracting the calling parameter information of the corresponding graph rendering model under each preset test label from the calling log information corresponding to each graph rendering model;
the server is used for respectively eliminating non-service calling parameter information of each corresponding graphic rendering model under each preset test label from calling parameter information of each graphic rendering model under each preset test label so as to obtain service calling parameter information of each graphic rendering model under each preset test label, and respectively dividing the service calling parameter information of each graphic rendering model under each preset test label into service calling parameter information of the corresponding graphic rendering model under a first type of preset test label and service calling parameter information under a second type of preset test label, wherein the first type of preset test label is used for representing a graphic interface calling relationship, and the second type of preset test label is used for representing a graphic interface access process and an access verification process;
the server is used for acquiring test items of corresponding graphic rendering models under the preset test labels included in the first type of preset test labels according to the service calling parameter information of each graphic rendering model under the first type of preset test labels, generating corresponding test matrixes by taking each graphic rendering model as a row unit and taking the test items of the corresponding graphic rendering models under the preset test labels included in the first type of preset test labels as a column unit, and identifying the test matrixes to acquire test result labels corresponding to each graphic rendering model;
the server is used for respectively judging whether the two graphic rendering models contained in the corresponding associated object are associated graphic rendering models or not by taking every two graphic rendering models as an associated object according to the service calling parameter information of the two graphic rendering models contained in each associated object under the second-class preset test label aiming at the graphic rendering models belonging to the same test result label;
the server is used for outputting a corresponding software graphical interface test result according to a judgment result and outputting an optimizable item corresponding to the software graphical interface according to the software graphical interface test result, wherein the software graphical interface test result at least comprises all the graphic rendering models under each test result label and the service calling parameter information of each graphic rendering model under each preset test label, all the associated graphic rendering models under each test result label and the service calling parameter information of two graphic rendering models contained in each group of associated graphic rendering models under the second type of preset test labels, and the optimizable item is used for representing the test label item with abnormal service calling parameter information.
In a fourth aspect, an embodiment of the present application further provides a server, where the server includes a processor, a machine-readable storage medium, and a network interface, where the machine-readable storage medium, the network interface, and the processor are connected through a bus system, the network interface is configured to be communicatively connected to at least one software development terminal, the machine-readable storage medium is configured to store a program, an instruction, or code, and the processor is configured to execute the program, the instruction, or the code in the machine-readable storage medium to perform the software graphical interface testing method in the first aspect or any one of the possible designs in the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are detected on a computer, the instructions cause the computer to perform the software graphics interface testing method in the first aspect or any one of the possible designs of the first aspect.
According to any one of the aspects, the software graphics interface can be effectively tested aiming at the associated graphics rendering model with rendering service association, and by identifying the associated graphics rendering model and then further judging the software graphics interface test result of the software graphics interface to the associated graphics rendering model, developers can further optimize according to the software graphics interface test result, so that the rendering effect of the associated graphics rendering model in the subsequent software using process can be improved, and the condition of rendering errors can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic view of an application scenario of a software development system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a software graphics interface testing method according to an embodiment of the present application;
FIG. 3 is a functional block diagram of a software graphics interface testing apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic block diagram of a server for implementing the software graphics interface testing method according to an embodiment of the present application.
Detailed Description
The present application will now be described in detail with reference to the drawings, and the specific operations in the method embodiments may also be applied to the apparatus embodiments or the system embodiments. In the description of the present application, "at least one" includes one or more unless otherwise specified. "plurality" means two or more. For example, at least one of A, B and C, comprising: a alone, B alone, a and B in combination, a and C in combination, B and C in combination, and A, B and C in combination.
Fig. 1 is an interaction diagram of a software development system 10 according to an embodiment of the present application. The software development system 10 may include a server 100 and a software development terminal 200 communicatively connected to the server 100 through a network, and the server 100 may include a processor for executing an instruction operation therein. The software development system 10 shown in fig. 1 is only one possible example, and in other possible embodiments, the software development system 10 may include only one of the components shown in fig. 1 or may also include other components.
The network may be used for the exchange of information and/or data. In some embodiments, one or more components in the software development system 10 (e.g., the server 100, the software development terminal 200, and the database) may send information and/or data to other components. In some embodiments, the network may be any type of wired or wireless network, or combination thereof. Merely by way of example, Network 130 may include a wired Network, a Wireless Network, a fiber optic Network, a telecommunications Network, an intranet, the internet, a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), a WLAN, a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a Public Switched Telephone Network (PSTN), a bluetooth Network, a ZigBee Network, a Near Field Communication (NFC) Network, or the like, or any combination thereof.
The aforementioned database may store data and/or instructions. In some embodiments, the database may store data distributed to the software development terminal 200. In some embodiments, the database may store data and/or instructions for the exemplary methods described herein. In some embodiments, the database may include mass storage, removable storage, volatile Read-write Memory, or Read-Only Memory (ROM), among others, or any combination thereof. By way of example, mass storage may include magnetic disks, optical disks, solid state drives, and the like; removable memory may include flash drives, floppy disks, optical disks, memory cards, zip disks, tapes, and the like; volatile read-write Memory may include Random Access Memory (RAM); the RAM may include Dynamic RAM (DRAM), Double data Rate Synchronous Dynamic RAM (DDR SDRAM); static RAM (SRAM), Thyristor-Based Random Access Memory (T-RAM), Zero-capacitor RAM (Zero-RAM), and the like. By way of example, ROMs may include Mask Read-Only memories (MROMs), Programmable ROMs (PROMs), Erasable Programmable ROMs (PERROMs), Electrically Erasable Programmable ROMs (EEPROMs), compact disk ROMs (CD-ROMs), digital versatile disks (ROMs), and the like. In some embodiments, the database may be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, across clouds, multiple clouds, or the like, or any combination thereof.
In some embodiments, the database may be connected to a network to communicate with one or more components in the software development system 10 (e.g., the server 100, the software development terminal 200, etc.). One or more components in software development system 10 may access data or instructions stored in a database via a network. In some embodiments, the database may be directly connected to one or more components in the software development system 10 (e.g., the server 100, the software development terminal 200, etc.; or, in some embodiments, the database may be part of the server 100.
In this embodiment, the software development terminal 200 may be a computer device for executing software development work, such as a server, a high performance computer, and the like, and this embodiment is not limited in particular herein.
To solve the technical problem in the foregoing background art, fig. 2 is a schematic flowchart of a software graphics interface testing method provided in this embodiment, which may be executed by the server 100 shown in fig. 1, and the software graphics interface testing method is described in detail below.
Step S110, running the target software development kit submitted by the plurality of software development terminals 200 in a preset rendering mode of the server 100, running each graphics rendering model in the preset rendering mode according to the programmable dyeing correlation compilation information of the target software development kit related to the software service to be tested, to obtain the call log information of the software graphics interface of each graphics rendering model in the rendering process, and extracting the call parameter information of the corresponding graphics rendering model in each preset test label from the call log information corresponding to each graphics rendering model.
Step S120, respectively eliminating non-service calling parameter information of each corresponding graphic rendering model under each preset test label from calling parameter information of each graphic rendering model under each preset test label to obtain service calling parameter information of each graphic rendering model under each preset test label, and respectively dividing service calling parameter information of each graphic rendering model under each preset test label into service calling parameter information of each corresponding graphic rendering model under a first type of preset test label and service calling parameter information under a second type of preset test label.
Step S130, obtaining test items of the corresponding graphic rendering model under each preset test label contained in the first type of preset test label according to the service calling parameter information of each graphic rendering model under the first type of preset test label, generating a corresponding test matrix by taking each graphic rendering model as a row unit and taking the test items of the corresponding graphic rendering model under each preset test label contained in the first type of preset test label as a column unit, and identifying the test matrix to obtain a test result label corresponding to each graphic rendering model.
Step S140, regarding each graphic rendering model belonging to the same test result label, taking every two graphic rendering models as an associated object, and respectively determining whether two graphic rendering models included in the corresponding associated object are associated graphic rendering models according to the service invocation parameter information of the two graphic rendering models included in each associated object under the second-class preset test label.
And S150, outputting a corresponding software graphic interface test result according to the judgment result, and outputting an optimizable item corresponding to the software graphic interface according to the software graphic interface test result.
In this embodiment, the first type of preset test tag may be used to represent a graphical interface invoking relationship (e.g., list a function invoking relationship, a method invoking relationship, etc.). The second type of preset test tag can be used for representing a graphical interface access process and an access verification process. The graphical interface access process can be used for representing a process started when the graphical interface access is called, and the access verification process can be used for representing a verification process started when the graphical interface is accessed.
In this embodiment, the software graphics interface test result may include at least all the graphics rendering models under each test result tag and the business call parameter information of each graphics rendering model under each preset test tag, all the associated graphics rendering models under each test result tag and the business call parameter information of two graphics rendering models included in each group of associated graphics rendering models under the second type of preset test tags, and the optimizable item may be used to represent a test tag item in which the business call parameter information is abnormal.
Based on the design, the embodiment can effectively test the software graphic interface aiming at the associated graphic rendering model with rendering service association, and further judge the software graphic interface test result of the software graphic interface aiming at the associated graphic rendering model by identifying the associated graphic rendering model, so that developers can further optimize according to the software graphic interface test result, the rendering effect aiming at the associated graphic rendering model in the subsequent software using process can be improved, and the rendering error condition can be improved.
In a possible design, for step S110, in order to adapt to different software service requirements and improve the rendering effect for a specific target software service in the software using process, the present embodiment may establish programmable dyeing compilation information of a target software development kit according to-be-compiled information of a programmable dyeing compilation component of the target software development kit by a plurality of software development terminals 200, where the programmable dyeing compilation information is used to reflect dyeing programming control information when performing image rendering in the target software development kit.
On the basis, the programmable dyeing compiling information of the programmable dyeing compiling component of the target software development kit can be compiled and updated according to the compiling script corresponding to the target software service, and the programmable dyeing associated compiling information of the target software development kit associated with the target software service is obtained.
It should be noted that the target software service may be determined according to specific development requirements and usage requirements, for example, the target software service may be a report presentation service, an advertisement rendering service, a game rendering service, a rendering service of a login entry, and the like, and is not limited herein. In the compiling and updating process, the compiling script corresponding to the target software service may be configured in advance, the specific configuration mode may be determined according to the specific rendering requirement related to the target software service, the process of configuring the compiling script is the prior art, and this embodiment is not described in detail herein.
Then, the service dyeing rendering parameter information of the target software development kit can be determined according to the programmable dyeing correlation compiling information of the target software development kit.
The service dyeing rendering parameter information reflects the rendering control relationship between the service dyeing nodes and the dyeing control components, namely how each service dyeing node and the corresponding dyeing control component cooperate to complete the corresponding rendering calling work. The traffic staining node may comprise a staining attribute matching an associated control coefficient of the staining control component.
Therefore, each graphics rendering model can be operated according to the service dyeing rendering parameter information to obtain the calling log information of the software graphics interface of each graphics rendering model in the rendering process.
As a possible example, in the process of establishing the programmable dyeing compilation information of the target software development kit according to the to-be-compiled information of the programmable dyeing compilation component of the target software development kit by the plurality of software development terminals 200, in order to improve rendering reliability and avoid a situation that dyeing points possibly generated by subsequent rendering are abnormally overlapped, the embodiment may specifically obtain a first to-be-compiled item service feature of each to-be-compiled item in the to-be-compiled information, where the first to-be-compiled item service feature is used to represent compiled bytecode of the to-be-compiled item.
On the basis, feature recognition can be carried out on the first project service feature to be compiled, first dyeing node feature information and dyeing node control feature information corresponding to the first dyeing node feature information are obtained, then first graphical control information and graphical control interaction information of the project to be compiled are obtained, control component information of the first graphical control information is extracted, and the control component information of the first graphical control information comprises designated graphical control components.
And then, acquiring the appointed graphic control component of the preset historical project to be compiled, and adjusting the appointed graphic control component of the first graphical control information according to the appointed graphic control component, so that the rendering logic between the appointed graphic control components in the first graphical control information is matched with the rendering logic between the appointed graphic control components in the preset historical project to be compiled. And then, obtaining control component information of second graphical control information according to each adjusted designated graphical control component in the first graphical control information, and generating the second graphical control information according to the control component information of the second graphical control information.
Therefore, dyeing node control characteristic information matched with the graph control interaction information and first dyeing node characteristic information corresponding to the dyeing node control characteristic information can be searched and obtained according to the graph control interaction information and the control component information of the second graphical control information, the first dyeing node characteristic information corresponding to the dyeing node control characteristic information is adjusted according to the control component information of the second graphical control information, the second dyeing node characteristic information is obtained, and therefore the second dyeing node characteristic information and the second graphical control information are subjected to mapping association processing to establish programmable dyeing compiling information of the target software development kit.
Therefore, based on the design, the rendering reliability can be improved by performing mapping association processing on the second dyeing node characteristic information and the second graphical control information, and the condition that dyeing points are abnormally overlapped possibly generated in subsequent rendering is avoided.
In a possible design, in the process of determining the service rendering parameter information of the target software development kit according to the programmable dyeing correlation compilation information of the target software development kit, in order to effectively compile and update the programmable dyeing compilation information of the programmable dyeing compilation component of the target software development kit according to the compilation script corresponding to the target software service and improve the integrity of the compilation and update, the server 100 may further be preconfigured with service feature set data of the target software service, and an initial service rendering boundary range and a rendering extension range corresponding to each of a plurality of service feature data in the service feature set data.
In this embodiment, in the range of the initial service rendering boundary corresponding to at least part of the specified service feature data in the plurality of service feature data, the service rendering boundary of the range of the initial service rendering boundary may be shifted according to the compiling script corresponding to the target software service, and the rendering degree and the rendering duration depth corresponding to the service feature sub-data at the position of the current service rendering boundary in the specified service feature data may be calculated.
It should be noted that the unit range of the offset may be understood as a preset unit interval corresponding to the specified service characteristic data, and the preset unit interval may be determined according to the specified service characteristic data, and is not limited specifically herein.
Then, a rendering degree curve and a rendering continuous depth curve corresponding to the specified service feature data can be respectively determined according to the rendering degree and the rendering continuous depth corresponding to the service feature sub-data at the position of the current service rendering boundary, then a rendering degree maximum point of the rendering degree curve and a rendering continuous depth maximum point of the rendering continuous depth curve are determined, the rendering degree curve slope at a time sample point before the rendering degree maximum point in the rendering degree curve is calculated, and the rendering continuous depth curve slope at the time sample point before the rendering continuous depth maximum point in the rendering continuous depth curve is calculated. Wherein, the rendering degree curve slope or the rendering continuous depth curve slope respectively corresponds to the time sampling points one by one.
Then, the programmable staining items of the time sampling points corresponding to the slope of the curve with the maximum slope among the plurality of slopes of the rendering degree curve and the plurality of slopes of the rendering duration depth curve can be used as the programmable staining items of the designated business feature data, and the rendering speed corresponding to the designated programmable staining items is determined based on the rendering extension ranges respectively corresponding to the plurality of business feature data.
When the rendering speed corresponding to the appointed programmable dyeing item is within the preset rendering speed range, adding the appointed programmable dyeing item into the first programmable dyeing item sequence, and then obtaining the rendering extension ranges corresponding to the plurality of first programmable dyeing items in the first programmable dyeing item sequence from the rendering extension ranges corresponding to the plurality of service characteristic data respectively. The service characteristic data, the programmable dyeing items, the rendering extension range and the rendering speed are in one-to-one correspondence.
For another example, when an absolute value of a difference between rendering speeds corresponding to first programmable staining items of two associated programmable staining items in the first programmable staining item sequence is smaller than a preset speed threshold, layer positions corresponding to the first programmable staining items of the two associated programmable staining items respectively are used as the same layer position, a set formed by the first programmable staining items belonging to the same layer position is used as a first programmable staining item subset, and a plurality of first programmable staining item subsets in the first programmable staining item sequence are obtained.
Then, fitting processing can be performed on the rendering expansion range and the rendering speed corresponding to the first programmable staining item of the plurality of first programmable staining item subsets respectively to obtain a plurality of rendering fitting curves, and the intersection area between two associated rendering fitting curves in the plurality of rendering fitting curves is determined respectively.
For example, when the absolute value of the difference between the rendering speed corresponding to the intersection region and the rendering speed corresponding to the designated associated intersection region is smaller than a preset speed threshold (e.g., 2 cm/ms), the programmable stain item corresponding to the intersection region is used as a new first programmable stain item, a new first programmable stain item sequence is obtained, and a plurality of new rendering fit curves corresponding to the new first programmable stain item sequence are generated. Wherein the rendering speed corresponding to the designated associated intersection region represents the rendering speed corresponding to the first programmable coloring item of the programmable coloring item associated with the programmable coloring item corresponding to the intersection region.
On the basis, target service rendering boundary ranges corresponding to the plurality of service characteristic data are determined according to the plurality of new rendering fitting curves (for example, the target service rendering boundary ranges corresponding to the plurality of service characteristic data can be determined according to the overlapping position points of the boundary ranges in the plurality of new rendering fitting curves), and for the specified service characteristic data in the plurality of service characteristic data, first specified service characteristic subdata in the specified service characteristic data within the target service rendering boundary range corresponding to the specified service characteristic data is obtained.
Then, feature vectors of first service rendering boundaries corresponding to the plurality of time sample points in the first designated service feature sub-data respectively can be further calculated, and the programmable dyeing item of the time sample point corresponding to the feature vector of the first service rendering boundary with the largest value in the feature vectors of the plurality of first service rendering boundaries is used as a second programmable dyeing item of the designated service feature data.
Next, determining a second programmable coloring project sequence based on a second programmable coloring project of the specified business feature data, when the absolute value of the time difference between the programmable staining items of the associated service characteristic data in the second programmable staining item sequence is larger than or equal to the preset time difference threshold, taking the target service rendering boundary range as a new initial service rendering boundary range, and generating a new target service rendering boundary range corresponding to the plurality of service characteristic data and a new second programmable staining project sequence until the absolute value of the time difference between the programmable staining projects of the associated service characteristic data in the new second programmable staining project sequence is less than a preset time difference threshold or the iteration number is equal to a preset iteration number, and the new second programmable staining project sequence is used as the second programmable staining project sequence of the business characteristic set data again.
Then, a final service rendering boundary range corresponding to the plurality of service characteristic data respectively can be determined based on the second programmable dyeing project sequence, a target programmable dyeing project sequence of the plurality of service characteristic data is determined based on the final service rendering boundary range, and then a corresponding target programmable dyeing project in the programmable dyeing compiling information of the programmable dyeing compiling component of the target software development kit is compiled and updated according to the determined target programmable dyeing project sequence of the plurality of service characteristic data, so that the programmable dyeing associated compiling information of the target software development kit related to the target software service is obtained.
Therefore, by adopting the design, the programmable dyeing compiling information of the programmable dyeing compiling component of the target software development kit can be compiled and updated effectively according to the compiling script corresponding to the target software service, and the completeness of the compiling and updating is improved.
It should be noted that, in a possible design, in the process of determining the target programmable coloring project sequence of the multiple service characteristic data based on the final service rendering boundary range, the embodiment obtains, for the service characteristic data specified in the multiple service characteristic data, second specified service characteristic sub-data in the final service rendering boundary range corresponding to the specified service characteristic data in the specified service characteristic data.
Then, calculating feature vectors of second service rendering boundaries corresponding to a plurality of time sample points in second specified service feature sub-data respectively, taking a programmable dyeing item of the time sample point corresponding to the feature vector of the second service rendering boundary with the largest value in the feature vectors of the plurality of second service rendering boundaries as a third programmable dyeing item of specified service feature data, and determining a third programmable dyeing item sequence based on the third programmable dyeing item of the specified service feature data, thereby determining the third programmable dyeing item sequence as a target programmable dyeing item sequence.
In a possible design, in the process of operating each graphics rendering model according to the service rendering parameter information to obtain the call log information of the software graphics interface of each graphics rendering model in the rendering process, in order to reduce the amount of computation and improve the testing speed, in this embodiment, the software graphics interface may be called according to the service rendering parameter information to access the corresponding programmable rendering controller, each graphics rendering model is operated through the programmable rendering controller, and then the graphics interface parameter corresponding to the call parameter row information of each graphics rendering model is determined according to the obtained call parameter row information of different call log types called for each graphics rendering model, wherein the call parameter row information of different call log types respectively corresponds to different graphics interface parameters.
On the basis, the collected recorded line data of different calling parameter line information of each graphics rendering model can be determined, and according to the collected recorded line data, a first behavior sequence of at least two same graphics interface calling behaviors in the corresponding multiple graphics interface calling behaviors and at least one second behavior sequence of which the calling times are greater than the preset times in the remaining graphics interface calling behaviors are obtained.
And then, generating a call log crawling task for determining call log information of the software graphical interface according to the behavior sequence which is selected from the first behavior sequence and has the calling times larger than the set times as a target behavior sequence and at least one second behavior sequence, wherein the call log crawling task comprises the target behavior sequence and the at least one second behavior sequence.
Therefore, the call log information of the software graphical interface of each graphics rendering model in the rendering process can be respectively determined according to the call log crawling task. For example, the target behavior sequence and the calling parameter line information corresponding to each target graphical interface calling behavior in the at least one second behavior sequence may be determined according to the call log crawling task, and the call log information of the software graphical interface in the rendering process of each graphics rendering model may be determined according to the calling parameter line information corresponding to each target graphical interface calling behavior.
In one possible design, for step S140, for two graphics rendering models included in each associated object, a call level between process call relationships between graphics interface access processes respectively corresponding to the two graphics rendering models included in the associated object is calculated. For example, the calling level may be determined according to a calling class corresponding to a process calling relationship between graphics interface access processes respectively corresponding to two graphics rendering models included in the associated object and a calling level corresponding to a preset different class. Then, whether the calling level is greater than or equal to a preset calling level or not can be judged, if the calling level is greater than or equal to the preset calling level, the two graphic rendering models contained in the associated object are judged to be similar graphic rendering models, under the condition that the access verification processes corresponding to the two graphic rendering models contained in the associated object are respectively matched, the two graphic rendering models contained in the associated object are judged to be associated graphic rendering models, and otherwise, the two graphic rendering models contained in the associated object are judged not to be associated graphic rendering models.
For another example, if there is an access verification process in both graphics rendering models included in the associated object and the two access verification processes are the same, it is determined that the two graphics rendering models included in the associated object are associated graphics rendering models.
Or if one of the two graphics rendering models contained in the associated object has an access verification process, determining that the two graphics rendering models contained in the associated object are associated graphics rendering models.
Or if the two graphics rendering models contained in the associated object do not have the access verification process, determining that the two graphics rendering models contained in the associated object are associated graphics rendering models.
Or if the two graphics rendering models contained in the associated object have access verification processes and the two access verification processes are different, determining that the two graphics rendering models contained in the associated object are suspected associated graphics rendering models.
Thus, the associated graph rendering model can be effectively identified, so that for the software graphical interface test result output in step S150, all associated graph rendering models under each test result label and the service invocation parameter information of two graph rendering models included in each group of associated graph rendering models under the second preset test label can be obtained, and by identifying the associated graph rendering model, a developer can further optimize according to the software graphical interface test result, for example, the server 100 can determine an optimizable item by comparing the difference between the service invocation parameter information and the service invocation parameter information in the normal range, the optimizable item is used for representing a test label item in which the service invocation parameter information is abnormal, and thus the developer can further optimize the optimizable item, so as to improve the rendering effect for such associated graph rendering model in the subsequent software use process And the condition of rendering errors is improved. In addition, developers can also judge whether the identified associated graph rendering model is accurate, namely whether the identified associated graph rendering model is a real associated graph rendering model according to the service configuration condition and the actual scene, so that whether the software graph interface test result is reasonable can be conveniently and manually checked.
Fig. 3 is a schematic functional module diagram of a software graphics interface testing apparatus 300 according to an embodiment of the present disclosure, where the embodiment can divide the functional modules of the software graphics interface testing apparatus 300 according to the foregoing method embodiment. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one processing block. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation. For example, in the case of dividing each functional module according to each function, the software graphic interface testing apparatus 300 shown in fig. 3 is only a schematic diagram of an apparatus. The software graphic interface testing apparatus 300 may include an extracting module 310, a dividing module 320, an identifying module 330, a determining module 340, and an outputting module 350, and the functions of the functional modules of the software graphic interface testing apparatus 300 are described in detail below.
The extracting module 310 is configured to run a target software development kit submitted by the plurality of software development terminals 200 in a preset rendering mode of the server 100, run each graphics rendering model in the preset rendering mode according to the programmable dyeing correlation compilation information of the target software development kit related to the software service to be tested, obtain call log information of a software graphics interface of each graphics rendering model in the rendering process, and extract call parameter information of the corresponding graphics rendering model under each preset test label from the call log information corresponding to each graphics rendering model.
The dividing module 320 is configured to respectively remove non-service calling parameter information of each graphics rendering model under each preset test label from calling parameter information of each graphics rendering model under each preset test label to obtain service calling parameter information of each graphics rendering model under each preset test label, and respectively divide the service calling parameter information of each graphics rendering model under each preset test label into service calling parameter information of the corresponding graphics rendering model under a first type of preset test label and service calling parameter information under a second type of preset test label, where the first type of preset test label is used for representing a graphics interface calling relationship, and the second type of preset test label is used for representing a graphics interface access process and an access verification process.
The identification module 330 is configured to obtain, according to the service invocation parameter information of each graphic rendering model under the first type of preset test tag, a test item of the corresponding graphic rendering model under each preset test tag included in the first type of preset test tag, generate a corresponding test matrix by using each graphic rendering model as a row unit and using the test item of the corresponding graphic rendering model under each preset test tag included in the first type of preset test tag as a column unit, and identify the test matrix to obtain a test result tag corresponding to each graphic rendering model.
The determining module 340 is configured to, for each graphics rendering model belonging to the same test result tag, take every two graphics rendering models as an associated object, and respectively determine whether two graphics rendering models included in the corresponding associated object are associated graphics rendering models according to the service invocation parameter information of the two graphics rendering models included in each associated object under the second-class preset test tag.
And the output module 350 is configured to output a corresponding software graphics interface test result according to the determination result, and output an optimizable item corresponding to the software graphics interface according to the software graphics interface test result, where the software graphics interface test result at least includes all graphics rendering models under each test result label and service invocation parameter information of each graphics rendering model under each preset test label, all associated graphics rendering models under each test result label and service invocation parameter information of two graphics rendering models included in each group of associated graphics rendering models under a second type of preset test label, and the optimizable item is used to represent a test label item in which the service invocation parameter information is abnormal.
Further, fig. 4 is a schematic structural diagram of a server 100 for executing the software graphics interface testing method according to an embodiment of the present application. As shown in FIG. 4, the server 100 may include a network interface 110, a machine-readable storage medium 120, a processor 130, and a bus 140. The processor 130 may be one or more, and one processor 130 is illustrated in fig. 4 as an example. The network interface 110, the machine-readable storage medium 120, and the processor 130 may be connected by a bus 140 or otherwise, as exemplified by the connection by the bus 140 in fig. 4.
The machine-readable storage medium 120 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the software graphical interface testing method in the embodiment of the present application (for example, the extraction module 310, the division module 320, the identification module 330, the determination module 340, and the output module 350 of the software graphical interface testing apparatus 300 shown in fig. 3). The processor 130 executes various functional applications and data processing of the terminal device by detecting the software programs, instructions and modules stored in the machine-readable storage medium 120, that is, the software graphical interface testing method is implemented, and details are not repeated herein.
The machine-readable storage medium 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the machine-readable storage medium 120 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DR RAM). It should be noted that the memories of the systems and methods described herein are intended to comprise, without being limited to, these and any other suitable memory of a publishing node. In some examples, the machine-readable storage medium 120 may further include memory located remotely from the processor 130, which may be connected to the server 100 over a network. Examples of such networks include, but are not limited to, the internet, an intranet of items to be compiled, a local area network, a mobile communications network, and combinations thereof.
The processor 130 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 130. The processor 130 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
The server 100 can perform information interaction with other devices (such as the software development terminal 200) through the network interface 110. Network interface 110 may be a circuit, bus, transceiver, or any other device that may be used to exchange information. Processor 130 may send and receive information using network interface 110.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, to the extent that such expressions and modifications of the embodiments of the application fall within the scope of the claims and their equivalents, the application is intended to embrace such alterations and modifications.

Claims (10)

1. A software graphical interface testing method is applied to a server which is in communication connection with a plurality of software development terminals, and comprises the following steps:
running the target software development packages submitted by the plurality of software development terminals in a preset rendering mode of the server, running each graph rendering model according to programmable dyeing correlation compiling information of the target software development packages related to the software service to be tested in the preset rendering mode to obtain calling log information of a software graphic interface of each graph rendering model in the rendering process, and respectively extracting calling parameter information of the corresponding graph rendering model under each preset test label from the calling log information corresponding to each graph rendering model;
respectively eliminating non-service calling parameter information of each corresponding graphic rendering model under each preset test label from calling parameter information of each graphic rendering model under each preset test label to obtain service calling parameter information of each graphic rendering model under each preset test label, and respectively dividing the service calling parameter information of each graphic rendering model under each preset test label into service calling parameter information of the corresponding graphic rendering model under a first type of preset test label and service calling parameter information under a second type of preset test label, wherein the first type of preset test label is used for representing a graphic interface calling relationship, and the second type of preset test label is used for representing a graphic interface access process and an access verification process;
according to the business calling parameter information of each graphic rendering model under the first type of preset test label, acquiring a test item of the corresponding graphic rendering model under each preset test label contained in the first type of preset test label, generating a corresponding test matrix by taking each graphic rendering model as a row unit and taking the test item of the corresponding graphic rendering model under each preset test label contained in the first type of preset test label as a column unit, and identifying the test matrix to acquire a test result label corresponding to each graphic rendering model;
regarding each graphic rendering model belonging to the same test result label, taking every two graphic rendering models as a related object, and respectively judging whether the two graphic rendering models contained in the corresponding related object are related graphic rendering models or not according to the service calling parameter information of the two graphic rendering models contained in each related object under the second-class preset test label;
outputting a corresponding software graphic interface test result according to a judgment result, and outputting an optimizable item corresponding to the software graphic interface according to the software graphic interface test result, wherein the software graphic interface test result at least comprises all graphic rendering models under each test result label and service calling parameter information of each graphic rendering model under each preset test label, all associated graphic rendering models under each test result label and service calling parameter information of two graphic rendering models contained in each set of associated graphic rendering models under the second type of preset test labels, and the optimizable item is used for representing a test label item with abnormal service calling parameter information.
2. The software graphics interface testing method of claim 1, wherein the step of running each graphics rendering model according to the programmable dyeing associated compilation information of the target software development kit associated with the software service to be tested to obtain the call log information of the software graphics interface of each graphics rendering model during the rendering process comprises:
establishing programmable dyeing compiling information of the target software development kit according to information to be compiled of the programmable dyeing compiling components of the target software development kit by the plurality of software development terminals, wherein the programmable dyeing compiling information is used for reflecting dyeing programming control information when images are rendered in the target software development kit;
compiling and updating the programmable dyeing compiling information of the programmable dyeing compiling component of the target software development kit according to a compiling script corresponding to a target software service to obtain programmable dyeing associated compiling information of the target software development kit associated with the target software service;
determining business dyeing rendering parameter information of the target software development kit according to the programmable dyeing correlation compiling information of the target software development kit;
and running each graphics rendering model according to the service dyeing rendering parameter information to obtain the calling log information of the software graphics interface of each graphics rendering model in the rendering process.
3. The software graphical interface testing method according to claim 2, wherein the step of establishing the programmable coloring compilation information of the target software development kit according to the information to be compiled of the programmable coloring compilation component of the target software development kit by the plurality of software development terminals includes:
acquiring a first to-be-compiled item service characteristic of each to-be-compiled item in the to-be-compiled information, wherein the first to-be-compiled item service characteristic is used for representing a compiled byte code of the to-be-compiled item;
performing feature recognition on the first project service feature to be compiled to obtain first dyeing node feature information and dyeing node control feature information corresponding to the first dyeing node feature information;
acquiring first graphical control information and graphical control interaction information of the item to be compiled, and extracting control component information of the first graphical control information, wherein the control component information of the first graphical control information comprises a specified graphical control component;
acquiring appointed graphic control components of a preset historical project to be compiled, and adjusting the appointed graphic control components of the first graphical control information according to the appointed graphic control components to enable rendering logic between the appointed graphic control components in the first graphical control information to be matched with the rendering logic between the appointed graphic control components in the preset historical project to be compiled;
obtaining control component information of second graphical control component information according to each adjusted designated graphical control component in the first graphical control component information, and generating second graphical control component information according to the control component information of the second graphical control component information;
searching and obtaining dyeing node control characteristic information matched with the graph control interaction information and first dyeing node characteristic information corresponding to the dyeing node control characteristic information according to the graph control interaction information and control component information of the second graphical control information, and adjusting the first dyeing node characteristic information corresponding to the dyeing node control characteristic information according to the control component information of the second graphical control information to obtain second dyeing node characteristic information;
and mapping and associating the second dyeing node characteristic information and the second graphical control information to establish programmable dyeing compiling information of the target software development kit.
4. The software graphics interface testing method of claim 2, wherein the step of running each graphics rendering model according to the service coloring rendering parameter information to obtain the call log information of the software graphics interface of each graphics rendering model in the rendering process comprises:
calling the software graphic interface to access a corresponding programmable dyeing controller according to the service dyeing rendering parameter information, and running each graphic rendering model through the programmable dyeing controller;
determining a graphic interface parameter corresponding to the calling parameter line information of each graphic rendering model according to the obtained calling parameter line information of different calling log types called by each graphic rendering model, wherein the calling parameter line information of different calling log types respectively corresponds to different graphic interface parameters;
determining summarized recorded line data of different calling parameter line information of each graphics rendering model, and acquiring a first behavior sequence of at least two same graphics interface calling behaviors in a plurality of corresponding graphics interface calling behaviors and at least one second behavior sequence of which the calling times are greater than preset times in the remaining graphics interface calling behaviors according to the summarized recorded line data;
generating a call log crawling task for determining call log information of the software graphical interface according to a behavior sequence which is selected from the first behavior sequence and has the calling times larger than a set time as a target behavior sequence and the at least one second behavior sequence, wherein the call log crawling task comprises the target behavior sequence and the at least one second behavior sequence;
and respectively determining the calling log information of the software graphical interface of each graphic rendering model in the rendering process according to the calling log crawling task.
5. The method for testing the software graphical interface according to claim 4, wherein the step of determining the call log information of the software graphical interface of each graphics rendering model during the rendering process according to the call log crawling task comprises:
determining a target behavior sequence and calling parameter row information corresponding to each target graphical interface calling behavior in the at least one second behavior sequence according to the calling log crawling task;
and determining the calling log information of the software graphical interface of each graphic rendering model in the rendering process according to the calling parameter row information corresponding to the calling behavior of each target graphical interface.
6. The software graphics interface testing method according to any one of claims 1 to 5, wherein the step of respectively determining whether the two graphics rendering models included in the corresponding associated object are associated graphics rendering models according to the service invocation parameter information of the two graphics rendering models included in each associated object under the second-class preset test tag includes:
calculating the calling level between the process calling relations between the graphic interface access processes corresponding to the two graphic rendering models contained in each associated object respectively aiming at the two graphic rendering models contained in each associated object;
judging whether the calling level is greater than or equal to a preset calling level, if so, judging that two graphic rendering models contained in the associated object are similar graphic rendering models, and under the condition that the access verification processes respectively corresponding to the two graphic rendering models contained in the associated object are matched, judging that the two graphic rendering models contained in the associated object are associated graphic rendering models, otherwise, judging that the two graphic rendering models contained in the associated object are not associated graphic rendering models.
7. The software graphics interface testing method of claim 6, wherein the step of determining that the two graphics rendering models included in the associated object are associated graphics rendering models when it is determined that the access verification processes corresponding to the two graphics rendering models included in the associated object respectively match comprises:
if the two graphic rendering models contained in the associated object have access verification processes and the two access verification processes are the same, determining that the two graphic rendering models contained in the associated object are associated graphic rendering models;
if one of the two graphic rendering models contained in the associated object has an access verification process, determining that the two graphic rendering models contained in the associated object are associated graphic rendering models;
if the two graphic rendering models contained in the associated object do not have the access verification process, judging that the two graphic rendering models contained in the associated object are associated graphic rendering models;
and if the two graphic rendering models contained in the associated object have access verification processes which are different, determining that the two graphic rendering models contained in the associated object are suspected associated graphic rendering models.
8. A software graphical interface testing device is applied to a server which is in communication connection with a plurality of software development terminals, and comprises:
the extraction module is used for running the target software development packages submitted by the software development terminals in a preset rendering mode of the server, running each graph rendering model according to the programmable dyeing correlation compilation information of the target software development packages related to the software service to be tested in the preset rendering mode to obtain the calling log information of the software graphical interface of each graph rendering model in the rendering process, and respectively extracting the calling parameter information of the corresponding graph rendering model under each preset test label from the calling log information corresponding to each graph rendering model;
the dividing module is used for respectively eliminating the non-service calling parameter information of each corresponding graphic rendering model under each preset test label from the calling parameter information of each graphic rendering model under each preset test label so as to obtain the service calling parameter information of each graphic rendering model under each preset test label, and respectively dividing the service calling parameter information of each graphic rendering model under each preset test label into the service calling parameter information of the corresponding graphic rendering model under a first type of preset test label and the service calling parameter information under a second type of preset test label, wherein the first type of preset test label is used for representing a graphic interface calling relationship, and the second type of preset test label is used for representing a graphic interface access process and an access verification process;
the identification module is used for acquiring test items of corresponding graphic rendering models under the preset test labels contained in the first type of preset test labels according to the service calling parameter information of each graphic rendering model under the first type of preset test labels, generating corresponding test matrixes by taking each graphic rendering model as a row unit and taking the test items of the corresponding graphic rendering models under the preset test labels contained in the first type of preset test labels as a column unit, and identifying the test matrixes to acquire test result labels corresponding to each graphic rendering model;
the judging module is used for respectively judging whether the two graphic rendering models contained in the corresponding associated object are associated graphic rendering models or not by taking every two graphic rendering models as an associated object according to the service calling parameter information of the two graphic rendering models contained in each associated object under the second-class preset test label;
and the output module is used for outputting a corresponding software graphical interface test result according to a judgment result and outputting an optimizable item corresponding to the software graphical interface according to the software graphical interface test result, wherein the software graphical interface test result at least comprises all the graphic rendering models under each test result label and the service calling parameter information of each graphic rendering model under each preset test label, all the associated graphic rendering models under each test result label and the service calling parameter information of two graphic rendering models contained in each group of associated graphic rendering models under the second type of preset test labels, and the optimizable item is used for representing a test label item with abnormal service calling parameter information.
9. The software development system is characterized by comprising a server and a plurality of software development terminals which are in communication connection with the server;
the software development terminals are used for sending target software development packages which are completed in a matched development mode to the server;
the server is used for running the target software development packages submitted by the plurality of software development terminals in a preset rendering mode of the server, running each graph rendering model according to the programmable dyeing correlation compilation information of the target software development packages related to the software service to be tested in the preset rendering mode to obtain the calling log information of the software graphical interface of each graph rendering model in the rendering process, and respectively extracting the calling parameter information of the corresponding graph rendering model under each preset test label from the calling log information corresponding to each graph rendering model;
the server is used for respectively eliminating non-service calling parameter information of each corresponding graphic rendering model under each preset test label from calling parameter information of each graphic rendering model under each preset test label so as to obtain service calling parameter information of each graphic rendering model under each preset test label, and respectively dividing the service calling parameter information of each graphic rendering model under each preset test label into service calling parameter information of the corresponding graphic rendering model under a first type of preset test label and service calling parameter information under a second type of preset test label, wherein the first type of preset test label is used for representing a graphic interface calling relationship, and the second type of preset test label is used for representing a graphic interface access process and an access verification process;
the server is used for acquiring test items of corresponding graphic rendering models under the preset test labels included in the first type of preset test labels according to the service calling parameter information of each graphic rendering model under the first type of preset test labels, generating corresponding test matrixes by taking each graphic rendering model as a row unit and taking the test items of the corresponding graphic rendering models under the preset test labels included in the first type of preset test labels as a column unit, and identifying the test matrixes to acquire test result labels corresponding to each graphic rendering model;
the server is used for respectively judging whether the two graphic rendering models contained in the corresponding associated object are associated graphic rendering models or not by taking every two graphic rendering models as an associated object according to the service calling parameter information of the two graphic rendering models contained in each associated object under the second-class preset test label aiming at the graphic rendering models belonging to the same test result label;
the server is used for outputting a corresponding software graphical interface test result according to a judgment result and outputting an optimizable item corresponding to the software graphical interface according to the software graphical interface test result, wherein the software graphical interface test result at least comprises all the graphic rendering models under each test result label and the service calling parameter information of each graphic rendering model under each preset test label, all the associated graphic rendering models under each test result label and the service calling parameter information of two graphic rendering models contained in each group of associated graphic rendering models under the second type of preset test labels, and the optimizable item is used for representing the test label item with abnormal service calling parameter information.
10. A server, characterized in that the server comprises a processor, a machine-readable storage medium, and a network interface, the machine-readable storage medium, the network interface and the processor are connected through a bus system, the network interface is used for being connected with at least one software development terminal in a communication mode, the machine-readable storage medium is used for storing programs, instructions or codes, and the processor is used for executing the programs, the instructions or the codes in the machine-readable storage medium to execute the software graphical interface testing method according to any one of claims 1 to 7.
CN202010124251.6A 2020-02-27 2020-02-27 Software graphical interface testing method and device, software development system and server Expired - Fee Related CN111338955B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202011030098.7A CN112181826A (en) 2020-02-27 2020-02-27 Software graphic interface testing method, device and system
CN202011030113.8A CN112181827A (en) 2020-02-27 2020-02-27 Software graphic interface testing method and device and software development system
CN202010124251.6A CN111338955B (en) 2020-02-27 2020-02-27 Software graphical interface testing method and device, software development system and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010124251.6A CN111338955B (en) 2020-02-27 2020-02-27 Software graphical interface testing method and device, software development system and server

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN202011030113.8A Division CN112181827A (en) 2020-02-27 2020-02-27 Software graphic interface testing method and device and software development system
CN202011030098.7A Division CN112181826A (en) 2020-02-27 2020-02-27 Software graphic interface testing method, device and system

Publications (2)

Publication Number Publication Date
CN111338955A CN111338955A (en) 2020-06-26
CN111338955B true CN111338955B (en) 2020-11-13

Family

ID=71185625

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202011030113.8A Pending CN112181827A (en) 2020-02-27 2020-02-27 Software graphic interface testing method and device and software development system
CN202010124251.6A Expired - Fee Related CN111338955B (en) 2020-02-27 2020-02-27 Software graphical interface testing method and device, software development system and server
CN202011030098.7A Pending CN112181826A (en) 2020-02-27 2020-02-27 Software graphic interface testing method, device and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202011030113.8A Pending CN112181827A (en) 2020-02-27 2020-02-27 Software graphic interface testing method and device and software development system

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011030098.7A Pending CN112181826A (en) 2020-02-27 2020-02-27 Software graphic interface testing method, device and system

Country Status (1)

Country Link
CN (3) CN112181827A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112633501A (en) * 2020-12-25 2021-04-09 深圳晶泰科技有限公司 Development method and system of machine learning model framework based on containerization technology
CN114461516B (en) * 2021-12-23 2024-03-29 连邦网络科技服务南通有限公司 Software graphic interface test method capable of automatically deleting data and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520731A (en) * 2008-02-27 2009-09-02 埃森哲环球服务有限公司 Graphical user interface application comparator
CN106462487A (en) * 2014-05-16 2017-02-22 微软技术许可有限责任公司 Detecting conformance of graphical output data from an application to a convention
US10467316B2 (en) * 2017-10-13 2019-11-05 Capital One Services, Llc Systems and methods for web analytics testing and web development

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8856594B2 (en) * 2011-06-29 2014-10-07 Infosys Limited Method and system for an end-to-end solution in a test automation framework
US20160077955A1 (en) * 2014-09-16 2016-03-17 International Business Machines Corporation Regression testing of responsive user interfaces

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520731A (en) * 2008-02-27 2009-09-02 埃森哲环球服务有限公司 Graphical user interface application comparator
CN106462487A (en) * 2014-05-16 2017-02-22 微软技术许可有限责任公司 Detecting conformance of graphical output data from an application to a convention
US10467316B2 (en) * 2017-10-13 2019-11-05 Capital One Services, Llc Systems and methods for web analytics testing and web development

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"GCanvas 渲染引擎介绍";韦青;《https://fed.taobao.org/blog/taofed/do71ct/gcanvas/》;20170727;全文 *
"移动 GPU 中通用图形应用编程接口库的设计";谢晓燕;《实验室研究与探索》;20190228;全文 *

Also Published As

Publication number Publication date
CN112181826A (en) 2021-01-05
CN111338955A (en) 2020-06-26
CN112181827A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN109375945B (en) Firmware version detection method and vulnerability repair rate evaluation method for Internet of things equipment
EP3178011B1 (en) Method and system for facilitating terminal identifiers
Legay et al. Scalable verification of Markov decision processes
CN108491321B (en) Method and device for determining test case range and storage medium
CN111338955B (en) Software graphical interface testing method and device, software development system and server
CN108694320B (en) Method and system for measuring sensitive application dynamic under multiple security environments
CN111132145A (en) Network communication safety monitoring method, device, server and network communication system
CN106326120B (en) Regression testing method and device for application software and electronic equipment
CN108563951B (en) Virus detection method and device
CN112579462B (en) Test case acquisition method, system, equipment and computer readable storage medium
CN114692169B (en) Page vulnerability processing method applying big data and AI analysis and page service system
CN114218568B (en) Big data attack processing method and system applied to cloud service
CN111338622B (en) Supply chain code identification method, device, server and readable storage medium
CN107357721B (en) Method and device for testing system
CN113448862A (en) Software version testing method and device and computer equipment
CN109753384B (en) Cloud host snapshot backup method and device, computer equipment and storage medium
CN111367528B (en) Compiling method and device of software development kit, software development system and server
CN116629330A (en) Operator detection method and device and computer equipment
CN114564523B (en) Big data vulnerability analysis method and cloud AI system for intelligent virtual scene
CN114462040A (en) Malicious software detection model training method, malicious software detection method and malicious software detection device
CN110177006B (en) Node testing method and device based on interface prediction model
CN113313419A (en) Information system window change risk obtaining method and device
CN111209509B (en) Information display method and device based on big data platform and big data platform
CN111340683B (en) Image data processing method, image data processing device, image processing system and server
CN115687158B (en) Protocol software testing method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No.1-1, Yunnan Private Science and Technology Park, xiaoshiba, high tech Zone, Kunming City, Yunnan Province

Applicant after: Wang Jian

Address before: Room 406, 10 / F, Haian software technology R & D building, Haian economic and Technological Development Zone, Nantong, Jiangsu

Applicant before: Wang Jian

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201021

Address after: 430000 liberation Avenue, Jiang'an District, Wuhan, Hubei 1863

Applicant after: Wuhan Hongshu Information Technology Co.,Ltd.

Address before: No.1-1, Yunnan Private Science and Technology Park, xiaoshiba, high tech Zone, Kunming City, Yunnan Province

Applicant before: Wang Jian

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201113