CN110032597A - The visible processing method and device of application program operation behavior - Google Patents

The visible processing method and device of application program operation behavior Download PDF

Info

Publication number
CN110032597A
CN110032597A CN201811457631.0A CN201811457631A CN110032597A CN 110032597 A CN110032597 A CN 110032597A CN 201811457631 A CN201811457631 A CN 201811457631A CN 110032597 A CN110032597 A CN 110032597A
Authority
CN
China
Prior art keywords
operation information
operating procedure
key
value pair
cluster
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811457631.0A
Other languages
Chinese (zh)
Other versions
CN110032597B (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.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811457631.0A priority Critical patent/CN110032597B/en
Publication of CN110032597A publication Critical patent/CN110032597A/en
Application granted granted Critical
Publication of CN110032597B publication Critical patent/CN110032597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification

Abstract

This disclosure relates to the visible processing method and device of application program operation behavior.The described method includes: obtaining the operation information collection of each operating procedure in the operation behavior path at least one sequence of operation of application program, operation information collection includes the steps that each operating procedure is numbered and the operation information of each operating procedure in corresponding operating behavior path;The operation information collection for each operating procedure numbered with same steps is clustered, to obtain each operation information cluster corresponding with number of steps, operation information cluster includes the set of the operation information of the operating procedure with corresponding number of steps of at least one sequence of operation;Obtained each operation information cluster is stored as structural data;And it is based on structural data, generate the visualization display in the operation behavior path of at least one sequence of operation.The device and method can intuitively show the operation behavior routing information for the sequence of operation of application program.

Description

The visible processing method and device of application program operation behavior
Technical field
This disclosure relates to field of computer technology, and in particular, to the visible processing method of application program operation behavior And device.
Background technique
The automatic test of application program is the behavioral test of manual operation to be converted into machine execution, to application program The process tested.Automatic test can substitute the manual testing to application program in the past, be one kind can save manpower, Time and hardware resource, and improve the means of testing of testing efficiency.Under different types of application program automated test frame, Writing and executing for test case is an indispensable ring.For the test case write, the test case is obtained to application Behavior path data when program is tested helps to analyze test process and application program itself.
In addition, for oneself installation application program on the subscriber terminal, be also required to obtain in some cases user for Behavior path data when application program is operated, and then by analyzing behavior path data, it is application program Subsequent development and update help is provided.
However how intuitively to get the behavior path inline data structure of test case or the operation of user, Yi Jiru Fruit goes to retrodict the design logic of measurand or the object to be operated by behavior path data, and still none is mature at present Solution.
Summary of the invention
In view of above-mentioned, present disclose provides the visible processing method and device of a kind of application program operation behavior, the dresses Operation behavior routing information for the sequence of operation of application program can intuitively be shown with method by setting, to facilitate to behaviour Make behavior or application program itself to be analyzed.
According to one aspect of the disclosure, a kind of visible processing method of application program operation behavior is provided, comprising: The operation information collection of each operating procedure in the operation behavior path at least one sequence of operation of application program is obtained, The operation information collection includes the steps that each operating procedure is numbered and each operating procedure in corresponding operating behavior path Operation information;The operation information collection for each operating procedure numbered with same steps is clustered, with obtain with The corresponding each operation information cluster of the number of steps, the operation information cluster includes at least one sequence of operation The set of the operation information of operating procedure with corresponding number of steps;Obtained each operation information cluster is stored as tying Structure data;And it is based on the structural data, generate the visual of the operation behavior path of at least one sequence of operation Change display.
Optionally, in one example, key-value pair expression can be used in the operation information cluster and the operation information, In the corresponding key-value pair of operation information cluster, the step of key instruction operating procedure, is numbered, and value indicates the behaviour The operation information for making step, in the key-value pair corresponding to the operation information, key indicates that the type of the operation information, value refer to Show the particular content of the operation information.
Optionally, in one example, obtained each operation information cluster is stored as structural data can wrap It includes: for each operating procedure at least one described sequence of operation, the key assignments that the operation information of the operating procedure is clustered A part of value in the key-value pair of the operation information cluster of previous operating procedure as the operating procedure is embedded in described In the operation information cluster of previous operating procedure.
Optionally, in one example, the operation information of the operating procedure includes sequence of operation mark, operation step The Page Name of the page and the operation content of the operating procedure where rapid, and obtained each operation information is clustered Being stored as structural data can also include: to cluster for each operation information, to each of same page title The operation information of the sequence of operation merges.
Optionally, in one example, it is clustered for each operation information, to each of same page title It may include: to have same page title in each operation information cluster that the operation information of the sequence of operation, which merges, The operation information of each sequence of operation: by any page name key in the Page Name key-value pair in each operation information Value pair, as the Page Name key-value pair after merging;And in the operation information except the Page Name key-value pair it The key-value pair of outer other types of operation information, using any key in each key-value pair of the operation information of the type as conjunction Key in the key-value pair of this type operation information after and, and will be in each key-value pair of the operation information of this type Value is combined, the value using in the key-value pair as this type operation information after merging.
Optionally, in one example, the structural data can be the structural data of JSON format.
Optionally, in one example, it is based on the structural data, generates the operation of at least one sequence of operation The visualization display in behavior path may include: that the operation information of the operating procedure is clustered conduct for each operating procedure The child node of the operation information cluster of the previous operating procedure of the operating procedure, and the operation information of the operating procedure is clustered The father node of the operation information cluster of latter operation step as the operating procedure, generates at least one sequence of operation The visualization display in operation behavior path.
Optionally, in one example, the sequence of operation may include the test case for the application program.
According to another aspect of the present disclosure, a kind of visualization processing device of application program operation behavior is also provided, comprising: Operation information collection acquiring unit is configured as obtaining in the operation behavior path at least one sequence of operation of application program Each operating procedure operation information collection, the operation information collection includes each operating procedure in corresponding operating behavior path The step of number and each operating procedure operation information;Operation information clustering unit, be configured as to have be synchronised Suddenly the operation information collection for each operating procedure numbered is clustered, to obtain each behaviour corresponding with the number of steps Make information cluster, the operation information cluster includes the operation step with corresponding number of steps of at least one sequence of operation The set of rapid operation information;Structure storage element is configured as being stored as tying by obtained each operation information cluster Structure data;And visualization display processing unit, it is configured as generating at least one described behaviour based on the structural data Make the visualization display in the operation behavior path of sequence.
Optionally, in one example, key-value pair expression can be used in the operation information cluster and the operation information, In the corresponding key-value pair of operation information cluster, the step of key instruction operating procedure, is numbered, and value indicates the behaviour The operation information for making step, in the key-value pair corresponding to the operation information, key indicates that the type of the operation information, value refer to Show the particular content of the operation information.
Optionally, in one example, the structure storage element can be configured as: at least one described behaviour Make each operating procedure in sequence, the key-value pair that the operation information of the operating procedure is clustered is as the previous of the operating procedure The operation information that a part of the value of the key-value pair of the operation information cluster of operating procedure is embedded in the previous operating procedure is poly- In class.
Optionally, in one example, the operation information of the operating procedure includes sequence of operation mark, operation step The Page Name of the page where rapid and the operation content of the operating procedure and the structure storage element can also quilts Be configured that for each operation information cluster, to the operation information of each sequence of operation with same page title into Row merges.
Optionally, in one example, the structure storage element can be configured as: poly- for each operation information The operation information of each sequence of operation with same page title in class: by the Page Name in each operation information Any page name key value pair in key-value pair, as the Page Name key-value pair after merging;And in the operation information The other types of operation information in addition to the Page Name key-value pair key-value pair, by each of the operation information of the type Any key in a key-value pair is as the key in the key-value pair of this type operation information after merging, and by this type Value in each key-value pair of operation information is combined, using in the key-value pair as this type operation information after merging Value.
Optionally, in one example, the visualization display processing unit can be configured as: walk for each operation Suddenly, the son by the operation information cluster of the operating procedure as the operation information cluster of the previous operating procedure of the operating procedure saves Point, and the operation information of operating procedure cluster is clustered as the operation information of the latter operation step of the operating procedure Father node generates the visualization display in the operation behavior path of at least one sequence of operation.
According to another aspect of the present disclosure, a kind of calculating equipment is also provided, comprising: at least one processor, and with institute State the memory of at least one processor coupling, the memory store instruction, when described instruction is by least one described processing When device executes, so that at least one described processor executes method as described above.
According to another aspect of the present disclosure, a kind of non-transitory machinable medium is also provided, being stored with can hold Row instruction, described instruction make the machine execute method as described above upon being performed.
Using disclosed method and device, pass through the operation of each operating procedure to each sequence of operation got Information cluster and structured storage, can visualization display be directed to the operation behavior path of application program.The visualization is aobvious Show result can the intuitively internal logic structure of display operation behavior path and application program, to help to improve to behaviour Make the analysis efficiency of behavior path or application program.
Using disclosed method and device, the data of various operation informations are indicated in the way of key-value pair, thus It can be improved the treatment effeciency of the processing such as the cluster to operation information, merging, improve data storage efficiency.
Using disclosed method and device, by being merged based on Page Name to operation information, for each step It is rapid to generate using Page Name as the structure of unique index, so that the courses of action of each sequence of operation be made to be associated with based on Page Name Get up, and then the aobvious intuitive of visualization generated can be enhanced.
Using disclosed method and device, by being walked the operation information collection of next operating procedure as its previous operation The operation information that a part of rapid operation information collection is embedded in previous operating procedure is concentrated, and it is suitable for being capable of forming with operating procedure The tree data structure of sequence, so that the visualization display structure ultimately generated more intuitively shows courses of action and application The internal logic structure of program.
Using disclosed method and device, by being walked the operation information collection of each operating procedure as its previous operation The child node of rapid operation information collection, and the father node of the operation information collection as its next operating procedure, can generate tree-shaped Visualization display structure.The tree-shaped visualization combine can more intuitively show the operation behavior path for application program with And the internal logic structure of application program.
Detailed description of the invention
By referring to following attached drawing, may be implemented to further understand the nature and advantages of present disclosure.? In attached drawing, similar assembly or feature can have identical appended drawing reference.Attached drawing be for provide to the embodiment of the present invention into One step understands, and constitutes part of specification, is used to explain the implementation of the disclosure together with following specific embodiment Example, but do not constitute the limitation to embodiment of the disclosure.In the accompanying drawings:
Fig. 1 is the flow chart according to the visible processing method of the application program operation behavior of an embodiment of the present disclosure;
Fig. 2 is in the visible processing method according to the application program operation behavior of an embodiment of the present disclosure by cluster One example of the operation information cluster after operation;
Fig. 3 is the flow chart according to the visible processing method of the application program operation behavior of another embodiment of the disclosure;
Fig. 4 is the merging process according to the visible processing method of the application program operation behavior of an embodiment of the present disclosure Flow chart;
Fig. 5 is the knot generated in visible processing method according to the application program operation behavior of an embodiment of the present disclosure One example of structure data;
Fig. 6 is the knot generated in visible processing method according to the application program operation behavior of another embodiment of the disclosure One example of structure data;
Fig. 7 is generated using the visible processing method of the application program operation behavior according to an embodiment of the present disclosure Visualization display an example;
Fig. 8 is the structural frames according to the visualization processing device of the application program operation behavior of an embodiment of the present disclosure Figure;
Fig. 9 is the calculating according to the visualization processing for realizing application program operation behavior of an embodiment of the present disclosure The structural block diagram of equipment.
Specific embodiment
Theme described herein is discussed below with reference to example embodiment.It should be understood that discussing these embodiments only It is in order to enable those skilled in the art can better understand that being not to claim to realize theme described herein Protection scope, applicability or the exemplary limitation illustrated in book.It can be in the protection scope for not departing from present disclosure In the case of, the function and arrangement of the element discussed are changed.Each example can according to need, omit, substitute or Add various processes or component.In addition, feature described in relatively some examples can also be combined in other examples.
As used in this article, term " includes " and its modification indicate open term, are meant that " including but not limited to ". Term "based" indicates " being based at least partially on ".Term " one embodiment " and " embodiment " expression " at least one implementation Example ".Term " another embodiment " expression " at least one other embodiment ".Term " first ", " second " etc. may refer to not Same or identical object.Here may include other definition, either specific or implicit.Unless bright in context It really indicates, otherwise the definition of a term is consistent throughout the specification.
The visible processing method and device of the application program operation behavior of the disclosure are described presently in connection with attached drawing.
Fig. 1 is the flow chart according to the visible processing method of the application program operation behavior of an embodiment of the present disclosure.
As shown in Figure 1, being obtained in the operation behavior path at least one sequence of operation of application program in block S110 Each operating procedure operation information collection.Operation behavior path in the disclosure refers to the operation behavior institute for application program The path that the information such as the page of the operating procedure of process, the sequence of each operating procedure, process are constituted.The sequence of operation refers to by one The operation behavior example for application program of series of operative steps composition, such as can be the test use for application program Example can also be the sequence of operation for the operation behavior that user executes for application program.More specifically, in one example, Application program can be Third-party payment application, and the sequence of operation may include delivery operation, reimbursement operation, logon operation, account Grade confirmation operation etc..Acquired operation information collection may include step of each operating procedure in corresponding operating behavior path The operation information of rapid number and each operating procedure.Here, the operation information of acquired each operating procedure can be this All operation informations involved in operating procedure, are also possible to part operation information.
In one example, the operation information of operating procedure may include the corresponding sequence of operation title of the operating procedure, The information such as operation content of the Page Name of the page where the operating procedure, the operating procedure, can also include the operating procedure The page infos such as the page elements of the place page.The operation content of operating procedure for example can be click next step, click confirms, Click the specific operation contents such as permission, account input, Password Input.Operation content can be to be made in respective behavior path The operation content of current operation step is jumped to from previous operating procedure.For example, if being jumped to currently from previous operating procedure The operation of operating procedure is " clicking in next step ", then the operation content of current operation step is " clicking in next step ".In addition, behaviour Making content can also include specifically jumping path.Such as an example for delivery operation, first operating procedure place The page can be the initial sign-in page, and the page where second operating procedure can authorize the page for permission.If initially stepping on Permission where jumping to second operating procedure when entering to execute operation " clicking in next step " on the page authorizes the page.So for Second operating procedure, operation content can be " by first step to second step, clicking in next step " or " by The initial sign-in page to permission authorizes the page, clicks in next step " etc. forms content.In this case, first operating procedure Operation content can be empty set.
After getting operation information collection as described above, in block S120, to each behaviour numbered with same steps The operation information collection for making step is clustered, to obtain each operation information cluster corresponding with number of steps.Each operation sequence Each operating procedure of column is all by independent numbering.Thus for each operating procedure in each sequence of operation, corresponding There is respective number of steps in behavior path.
Fig. 2 is an example according to the operation information cluster after cluster operation of one embodiment of the disclosure. As shown in Fig. 2, operation information cluster includes the operation of the operating procedure with corresponding number of steps of at least one sequence of operation The set of information.In operation information cluster after cluster operation shown in Fig. 2, operating procedure number 1 is respectively illustrated to behaviour Make the operation information cluster of number of steps n.Wherein n is the maximum value of number of steps in each sequence of operation.With number of steps 1 For operation information cluster, wherein respectively including the operation information corresponding to test case A, corresponding to the operation of test case B The subsets such as operation information (use-case title that A~X be test case) of the information ... corresponding to test case X.Each operation sequence The operation information of each operating procedure of column may include operation information of the corresponding test case in cycle and taking corresponding operation, such as use-case Title, Page Name, page info, operation content etc..
After clustering to operation information collection, in block S130, obtained each operation information cluster is stored as structure Change data.Structural data corresponds to the structure of aftermentioned visualization display.
As shown in Fig. 2, key-value pair expression can be used in operation information cluster and operation information.Corresponding to operation information In key-value pair, key indicates the type of operation information.For example, test is used in the cluster of operation information corresponding to number of steps 1 Operation information subset corresponding to example A includes four key-value pairs, and the key of each key-value pair is respectively the type of operation information, that is, is used Example title, Page Name, page info, operation content.The particular content of the value instruction operation information of each key-value pair.Such as use-case The value of title key-value pair is " A ", and the value of Page Name key-value pair is " XX ".Each operation information cluster can also be with key-value pair Form indicates.In the corresponding key-value pair of operation information cluster, the step of key instruction operating procedure, is numbered, and value instruction behaviour Make the operation information of step.By taking the operation information cluster of number of steps 1 in Fig. 2 as an example, key is the particular content of number of steps " 1 " is worth each operation information for number of steps 1, i.e., use-case title: A, Page Name: XX, page info: XX, in operation Hold: XX etc. each test case correspond to number of steps 1 operation information.
After structural data storage, in block S140, it is based on structural data, generates the operation of at least one sequence of operation The visualization display in behavior path.In one example, visualization display may include that the connection between each operating procedure is closed Operation information in the operation information subset of system and each operating procedure.It, can as a result, in visualization display generated Intuitively know that relationship between the courses of action, the operation information in courses of action, each sequence of operation of each sequence of operation etc. is believed Breath.The operation information shown in visualization display can be all operation informations involved in cycle and taking corresponding operation, can also be with It is part operation information.
Fig. 3 is the flow chart according to the visible processing method of the application program operation behavior of another embodiment of the disclosure.
As shown in figure 3, in one example, when obtaining operation information collection in block S310 and carry out clustering it in block S320 It afterwards, can be for each operation information cluster corresponding with number of steps, to same page title further in block S330 The operation information subset of each sequence of operation merge.Thus it is numbered when the step of operating procedure in each sequence of operation The identical and place page is classified into together when also identical, each so as to intuitively embody in the visualization display ultimately generated Association between the sequence of operation.
Fig. 4 is the merging process according to the visible processing method of the application program operation behavior of an embodiment of the present disclosure Flow chart.
As shown in figure 4, in block S331, it can be for each with same page title in each operation information cluster The operation information of the sequence of operation makees any page name key value pair in the Page Name key-value pair in each operation information For the Page Name key-value pair after merging.
Then in block S332, for other type operations information in addition to Page Name key-value pair in the operation information Key-value pair, using any key in each key-value pair of the operation information of the type as merge after this type operation information Key-value pair in key, and the value in each key-value pair of the operation information of this type is combined, using as merging Value in the key-value pair of this type operation information afterwards.
Fig. 5 is the knot generated in visible processing method according to the application program operation behavior of an embodiment of the present disclosure One example of structure data.The structuring number after merging to the identical operation information of Page Name is shown in Fig. 5 According to example.With reference to Fig. 5, for the operation information corresponding to the number of steps 1 in structural data shown in fig. 5, operation letter The type of breath has number of steps, Page Name, use-case title, operation content etc..Due to the use-case title 1 in use-case title~use The Page Name of the page is a1 where first operating procedure of example title n, therefore for the operating procedure to Page Name Identical operation information subset merge after Page Name key-value pair are as follows: " Page Name: a1 ", to removing page in operation information subset The result that the key-value pair of other types (i.e. use-case title and operation content) except the title of face merges are as follows: " use-case title: [use Example 1, use-case 2 ... use-case n] ", " operation content: XX (corresponding to each test case the operating procedure operation content) ".
In addition, in another example, can also be walked in block S340 for each operation at least one sequence of operation Suddenly, the key-value pair that the operation information of the operating procedure clusters is gathered as the operation information of the previous operating procedure of the operating procedure A part of value in the key-value pair of class is embedded in the operation information cluster of previous operating procedure.It is indicated when using key-value pair It, can be as shown in figure 5, it be " interior for increasing a key in the value of the operation information cluster of each operating procedure when operation information collection The operation information of the latter operation step of the operating procedure is clustered the key-value pair as the key for " content " by the key-value pair of appearance " Value, so that the operation information of latter operation step cluster is embedded into previous operation as the content of its previous operating procedure In the operation information cluster of step.
Fig. 6 is the knot generated in visible processing method according to the application program operation behavior of an embodiment of the present disclosure One example of structure data.Fig. 6 shows the example of the structural data after union operation and embedding operation.Scheming In 6, all test cases include b1 and b2 in the Page Name of the page where the corresponding operating procedure of number of steps 2, and step is compiled Numbers 2 all operation informations have been embedded in the value for the key-value pair that key is " content " by the content as number of steps 1.Into one Step ground, the operation information of number of steps 3 have been embedded in the content key-value pair of number of steps 2 by the content as number of steps 2 Value in.
Above embodiments are for first carrying out the sequence that union operation (block S330) then executes embedding operation (block S340) It illustrates the example of generation structural data process, but in another example of the disclosure, embedding operation can also be first carried out, Then union operation is executed.In another example, union operation can also be only carried out or only carry out embedding operation.These are belonged to The range of the embodiment of the present disclosure.
After generating structural data as described above, behaviour can be generated according further to the structural data for generating and storing Make the visualization display in path.An example for generating visualization display is shown in the block S350 of Fig. 3.
In block S350, it can be directed to each operating procedure, the operation information cluster of the operating procedure is walked as the operation The child node of the operation information cluster of rapid previous operating procedure, and it regard the operation information of operating procedure cluster as the behaviour The father node for making the operation information cluster of the latter operation step of step, generates the operation behavior path of at least one sequence of operation Visualization display.
Fig. 7 is generated using the visible processing method of the application program operation behavior according to an embodiment of the present disclosure Visualization display result an example.Fig. 7 is the JSON format using disclosed method to five Test cases technologies Visualization display example.It can be seen from figure 7 that all test cases share a root node, this shows all tests The first step of use-case is all the same, i.e., is since the initial sign-in page.Two tests close to the upper part of Fig. 7 are used Example, the two jump to after operation " Click is in next step " (clicking in next step) respectively from respective first operating procedure The different page, thus second operating procedure of the two is shown as different child nodes respectively.For close to the lower part of Fig. 7 Three test cases divided, the operation content (i.e. the operation content of second step) from first step to second step are equal For " Check open AlipayHK ",
Folded flex has been carried out to the operation content of three test cases in Fig. 7.Under it can further be seen that in Fig. 7 It include verification step (i.e. " Check " corresponding operating procedure) in three test cases of side.In verification step, used by test Such as the page of application program is equally confirmed with people, thus there is no page jump from first operating procedure to second operating procedure Turn, the page where the two is " the initial sign-in page ".In each operating procedure of each test case, latter operation step Suddenly it is shown by the child node as previous operating procedure, each courses of action are shown with operating procedures order, and Page Name is The unique index of each operating procedure, each Page Name have unique father node.One father node can have multiple sub- sections Point.In the result of visualization display, further it is shown that the operation content of each operating procedure.It follows that aobvious by visualization Show the connection that can intuitively know between the behavior path data and each test case of test case.
Fig. 8 is the structure according to the visualization processing device 800 of the application program operation behavior of an embodiment of the present disclosure Block diagram.As shown in figure 8, device 800 includes operation information collection acquiring unit 810, operation information clustering unit 820, structuring Storage unit 830 and visualization display processing unit 840.
Operation information collection acquiring unit 810 is configured as obtaining the operation of at least one sequence of operation for application program The operation information collection of each operating procedure in behavior path, operation information collection include each operating procedure in corresponding operating behavior The operation information of step number and each operating procedure in path.It gets and is walked corresponding to each operation of each sequence of operation After rapid operation information, operation information clustering unit 820 can be to each operating procedure numbered with same steps Operation information collection is clustered, and to obtain each operation information cluster corresponding with number of steps, operation information cluster includes institute State the set of the operation information of the operating procedure with corresponding number of steps of at least one sequence of operation.Structure storage element Obtained each operation information cluster can be stored as structural data by 830.Visualization display processing unit 840 is configured To generate the visualization display in the operation behavior path of at least one sequence of operation based on structural data.In one example, Visualization display includes the operation information of the connection relationship and each operating procedure between each operating procedure.
As an example, key-value pair expression can be used in operation information cluster and operation information, clusters in operation information In corresponding key-value pair, key instruction operating procedure the step of number, and value instruction operating procedure operation information, operating In key-value pair corresponding to information, key indicates the type of operation information, the particular content of value instruction operation information.
In one example, structure storage element 830 can also be for each of at least one described sequence of operation Operating procedure, the key-value pair that the operation information of the operating procedure is clustered is as the operation of the previous operating procedure of the operating procedure A part of the value of the key-value pair of information cluster is embedded in the operation information cluster of previous operating procedure.
In one example, the operation information of operating procedure may include the page where sequence of operation mark, operating procedure Page Name and operating procedure the information such as operation content.It can also include the page info of the page where operating procedure. Structure storage element 830 can also be clustered for each operation information, to each sequence of operation with same page title Operation information merge.
In one example, structure storage element 830 can have same page in each operation information cluster The operation information of each sequence of operation of face title performs the following operations, it may be assumed that by the Page Name key assignments in each operation information Any page name key value pair of centering, as the Page Name key-value pair after merging;And for removing in the operation information The key-value pair of other types of operation information except the Page Name key-value pair, by each key of the operation information of the type It is worth any key of centering as the key in the key-value pair of this type operation information after merging, and by the operation of this type Value in each key-value pair of information is combined, the value using in the key-value pair as this type operation information after merging.
In one example, visualization display processing unit 840 can be directed to each operating procedure, by the operating procedure Operation information clusters the child node of the operation information cluster of the previous operating procedure as the operating procedure, and the operation is walked The father node of the operation information cluster of latter operation step of the rapid operation information cluster as the operating procedure, generation are described extremely The visualization display in the operation behavior path of few sequence of operation.
Above by reference to Fig. 1 to Fig. 8, to the visible processing method and device according to the application program operation behavior of the disclosure Embodiment be described.To the details mentioned in the description of embodiment of the method, it is being equally applicable to the disclosure above The embodiment of device.
The visualization processing device of the application program operation behavior of the disclosure can use hardware realization, can also use soft The combination of part or hardware and software is realized.In the disclosure, the visualization processing device of application program operation behavior is for example It can use and calculate equipment realization.
Fig. 9 is that the calculating according to an embodiment of the present disclosure for realizing the visualization processing of application program operation behavior is set Standby structural block diagram.According to one embodiment, calculating equipment 900 may include at least one processor 910, this at least one at It is computer-readable to manage the execution of device 910 at least one of storage or coding in computer readable storage medium (that is, memory 920) It instructs (that is, above-mentioned element realized in a software form).
In one embodiment, computer executable instructions are stored in memory 920, make at least one when implemented A processor 910: each operating procedure in the operation behavior path at least one sequence of operation of application program is obtained Operation information collection, operation information collection includes the steps that each operating procedure is numbered and each in corresponding operating behavior path The operation information of operating procedure;The operation information collection for each operating procedure numbered with same steps is clustered, with It is clustered to each operation information corresponding with number of steps, operation information cluster includes having at least one sequence of operation The set of the operation information of the operating procedure of corresponding number of steps;Obtained each operation information cluster is stored as structuring Data;And it is based on structural data, generate the visualization display in the operation behavior path of at least one sequence of operation.
It should be understood that the computer executable instructions stored in memory 920 make at least one processing when implemented Device 910 carries out the above various operations and functions described in conjunction with Fig. 1-8 in each embodiment of the disclosure.
According to one embodiment, a kind of program product of such as non-transitory machine readable media is provided.Non-transitory Machine readable media can have instruction (that is, above-mentioned element realized in a software form), which when executed by a machine, makes It obtains machine and executes the above various operations and functions described in conjunction with Fig. 1-8 in each embodiment of the disclosure.Specifically, Ke Yiti For being furnished with the system or device of readable storage medium storing program for executing, store on the readable storage medium storing program for executing any in realization above-described embodiment The software program code of the function of embodiment, and read and execute the computer of the system or device or processor and be stored in Instruction in the readable storage medium storing program for executing.
In this case, it is real that any one of above-described embodiment can be achieved in the program code itself read from readable medium The function of example is applied, therefore the readable storage medium storing program for executing of machine readable code and storage machine readable code constitutes of the invention one Point.
The embodiment of readable storage medium storing program for executing include floppy disk, hard disk, magneto-optic disk, CD (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD-RW), tape, non-volatile memory card and ROM.It selectively, can be by communication network Network download program code from server computer or on cloud.
It should be noted that step and unit not all in above-mentioned each process and each system construction drawing is all necessary , certain step or units can be ignored according to the actual needs.Each step execution sequence be not it is fixed, can be according to need It is determined.Apparatus structure described in the various embodiments described above can be physical structure, be also possible to logical construction, that is, have A little units may be realized by same physical entity, be realized alternatively, some units may divide by multiple physical entities, alternatively, can be with It is realized jointly by certain components in multiple autonomous devices.
In the above various embodiments, hardware cell or module mechanically or can be realized electrically.For example, one Hardware cell, module or processor may include permanent dedicated circuit or logic (such as special processor, FPGA or ASIC) corresponding operating is completed.Hardware cell or processor can also include programmable logic or circuit (such as general processor or Other programmable processors), interim setting can be carried out by software to complete corresponding operating.Concrete implementation mode is (mechanical Mode or dedicated permanent circuit or the circuit being temporarily arranged) it can be determined based on cost and temporal consideration.
Exemplary embodiment is described in conjunction with the specific embodiment that attached drawing illustrates above, it is not intended that may be implemented Or fall into all embodiments of the protection scope of claims." exemplary " meaning of the term used in entire this specification Taste " be used as example, example or illustration ", be not meant to than other embodiments " preferably " or " there is advantage ".For offer pair The purpose of the understanding of described technology, specific embodiment include detail.However, it is possible in these no details In the case of implement these technologies.In some instances, public in order to avoid the concept to described embodiment causes indigestion The construction and device known is shown in block diagram form.
The optional embodiment of embodiment of the disclosure, still, the implementation of the disclosure is described in detail in conjunction with attached drawing above Example be not limited to the above embodiment in detail, in the range of the technology design of embodiment of the disclosure, can to this The technical solution of disclosed embodiment carries out a variety of simple variants, these simple variants belong to the protection of embodiment of the disclosure Range.
The foregoing description of present disclosure is provided so that any those of ordinary skill in this field can be realized or make Use present disclosure.To those skilled in the art, the various modifications carried out to present disclosure are apparent , also, can also answer generic principles defined herein in the case where not departing from the protection scope of present disclosure For other modifications.Therefore, present disclosure is not limited to examples described herein and design, but disclosed herein with meeting Principle and novel features widest scope it is consistent.

Claims (16)

1. a kind of visible processing method of application program operation behavior, comprising:
Obtain the operation letter of each operating procedure in the operation behavior path at least one sequence of operation of application program Breath collection, the operation information collection include the steps that each operating procedure is numbered and each operation in corresponding operating behavior path The operation information of step;
The operation information collection for each operating procedure numbered with same steps is clustered, to obtain and the step Corresponding each operation information cluster is numbered, the operation information cluster includes that having at least one sequence of operation corresponds to The set of the operation information of the operating procedure of number of steps;
Obtained each operation information cluster is stored as structural data;And
Based on the structural data, the visualization display in the operation behavior path of at least one sequence of operation is generated.
2. the method for claim 1, wherein the operation information cluster and the operation information use key-value pair table Show, in the corresponding key-value pair of operation information cluster, the step of key instruction operating procedure is numbered, and described in value instruction The operation information of operating procedure, in the key-value pair corresponding to the operation information, key indicates the type of the operation information, value Indicate the particular content of the operation information.
3. method according to claim 2, wherein obtained each operation information cluster is stored as structural data packet It includes:
For each operating procedure at least one described sequence of operation, the key assignments that the operation information of the operating procedure is clustered A part of value in the key-value pair of the operation information cluster of previous operating procedure as the operating procedure is embedded in described In the operation information cluster of previous operating procedure.
4. method as claimed in claim 3, wherein the operation information of the operating procedure includes that the sequence of operation identifies, is described The Page Name of the page and the operation content of the operating procedure where operating procedure, and
Obtained each operation information cluster is stored as structural data further include:
It is clustered for each operation information, the operation information of each sequence of operation with same page title is closed And.
5. method as claimed in claim 4, wherein for each operation information cluster, to same page title The operation information of each sequence of operation merge and include:
For the operation information of each sequence of operation with same page title in each operation information cluster:
By any page name key value pair in the Page Name key-value pair in each operation information, as the page after merging Face title key-value pair;And
It, will for the key-value pair of the other types of operation information in addition to the Page Name key-value pair in the operation information In key-value pair of any key as this type operation information after merging in each key-value pair of the operation information of the type Key, and the value in each key-value pair of the operation information of this type is combined, using as the type after merging Value in the key-value pair of type operation information.
6. such as method as claimed in any one of claims 1 to 5, wherein the structural data is the structuring number of JSON format According to.
7. the method as described in any in claim 3-5, wherein be based on the structural data, generate it is described at least one The visualization display in the operation behavior path of the sequence of operation includes:
For each operating procedure, the operation information of the operating procedure is clustered into the previous operating procedure as the operating procedure The child node of operation information cluster, and the latter operation by the operation information of operating procedure cluster as the operating procedure walks The father node of rapid operation information cluster, generates the visualization display in the operation behavior path of at least one sequence of operation.
8. such as method as claimed in any one of claims 1 to 5, wherein the sequence of operation includes the survey for the application program Example on probation.
9. a kind of visualization processing device of application program operation behavior, comprising:
Operation information collection acquiring unit is configured as obtaining the operation behavior road of at least one sequence of operation for application program The operation information collection of each operating procedure in diameter, the operation information collection include each operating procedure on corresponding operating behavior road The operation information of step number and each operating procedure in diameter;
Operation information clustering unit is configured as the operation information to each operating procedure numbered with same steps Collection is clustered, and to obtain each operation information cluster corresponding with the number of steps, the operation information cluster includes institute State the set of the operation information of the operating procedure with corresponding number of steps of at least one sequence of operation;
Structure storage element is configured as obtained each operation information cluster being stored as structural data;And
Visualization display processing unit is configured as generating at least one sequence of operation based on the structural data The visualization display in operation behavior path.
10. device as claimed in claim 9, wherein the operation information cluster and the operation information use key-value pair table Show, in the corresponding key-value pair of operation information cluster, the step of key instruction operating procedure is numbered, and described in value instruction The operation information of operating procedure, in the key-value pair corresponding to the operation information, key indicates the type of the operation information, value Indicate the particular content of the operation information.
11. device as claimed in claim 10, wherein the structure storage element is configured as:
For each operating procedure at least one described sequence of operation, the key assignments that the operation information of the operating procedure is clustered To a part of the value of the key-value pair of the operation information of the previous operating procedure as operating procedure cluster be embedded in it is described before In the operation information cluster of one operating procedure.
12. device as claimed in claim 11, wherein the operation information of the operating procedure includes sequence of operation mark, institute The Page Name of the page and the operation content of the operating procedure where stating operating procedure, and
The structure storage element is also configured to
It is clustered for each operation information, the operation information of each sequence of operation with same page title is closed And.
13. device as claimed in claim 12, wherein the structure storage element is configured as:
For the operation information of each sequence of operation with same page title in each operation information cluster:
By any page name key value pair in the Page Name key-value pair in each operation information, as the page after merging Face title key-value pair;And
It, will for the key-value pair of the other types of operation information in addition to the Page Name key-value pair in the operation information In key-value pair of any key as this type operation information after merging in each key-value pair of the operation information of the type Key, and the value in each key-value pair of the operation information of this type is combined, using as the type after merging Value in the key-value pair of type operation information.
14. the device as described in any in claim 11-13, wherein the visualization display processing unit is configured as:
For each operating procedure, the operation information of the operating procedure is clustered into the previous operating procedure as the operating procedure The child node of operation information cluster, and the latter operation by the operation information of operating procedure cluster as the operating procedure walks The father node of rapid operation information cluster, generates the visualization display in the operation behavior path of at least one sequence of operation.
15. a kind of calculating equipment, comprising:
At least one processor, and
The memory coupled at least one described processor, the memory store instruction, when described instruction by it is described at least When one processor executes, so that at least one described processor executes the method as described in any in claims 1 to 8.
16. a kind of non-transitory machinable medium, is stored with executable instruction, described instruction makes upon being performed The machine executes the method as described in any in claims 1 to 8.
CN201811457631.0A 2018-11-30 2018-11-30 Visual processing method and device for operation behaviors of application program Active CN110032597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811457631.0A CN110032597B (en) 2018-11-30 2018-11-30 Visual processing method and device for operation behaviors of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811457631.0A CN110032597B (en) 2018-11-30 2018-11-30 Visual processing method and device for operation behaviors of application program

Publications (2)

Publication Number Publication Date
CN110032597A true CN110032597A (en) 2019-07-19
CN110032597B CN110032597B (en) 2023-04-11

Family

ID=67235286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811457631.0A Active CN110032597B (en) 2018-11-30 2018-11-30 Visual processing method and device for operation behaviors of application program

Country Status (1)

Country Link
CN (1) CN110032597B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674030A (en) * 2019-08-27 2020-01-10 北京金堤科技有限公司 Application testing method and device, computer readable storage medium and electronic equipment
CN111324582A (en) * 2020-02-18 2020-06-23 支付宝(杭州)信息技术有限公司 Method and device for visually backtracking and processing business processing behaviors
CN111338920A (en) * 2020-02-18 2020-06-26 成都品果科技有限公司 Method for recording user operation steps based on stack during photo editing
CN112199133A (en) * 2020-09-01 2021-01-08 北京达佳互联信息技术有限公司 Information aggregation method and device, electronic equipment and storage medium
CN113742630A (en) * 2021-09-16 2021-12-03 阿里巴巴新加坡控股有限公司 Image processing method, electronic device, and computer storage medium
CN113792247A (en) * 2021-11-12 2021-12-14 中航金网(北京)电子商务有限公司 Method, apparatus, device and medium for generating functional flow chart based on code characteristics
CN116701524A (en) * 2023-08-07 2023-09-05 腾讯科技(深圳)有限公司 Construction method and device of operation path tree, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060279577A1 (en) * 2004-01-28 2006-12-14 Reuven Bakalash Graphics processing and display system employing multiple graphics cores on a silicon chip of monolithic construction
CN105138357A (en) * 2015-08-11 2015-12-09 中山大学 Method and device for implementing mobile application operation assistant
US20160191553A1 (en) * 2014-12-24 2016-06-30 Fujitsu Limited Alert transmission method, computer-readable recording medium, and alert transmission apparatus
CN106156194A (en) * 2015-04-21 2016-11-23 阿里巴巴集团控股有限公司 A kind of method and device forming user operation path
CN106648397A (en) * 2015-11-02 2017-05-10 网易(杭州)网络有限公司 Game operation recording and processing method and system for mobile terminal
CN108255691A (en) * 2018-01-29 2018-07-06 百度在线网络技术(北京)有限公司 Thermodynamic chart methods of exhibiting and device
CN108388508A (en) * 2018-01-29 2018-08-10 华南理工大学 A kind of test cases selection method based on user conversation and hierarchical clustering algorithm
CN108647064A (en) * 2018-03-16 2018-10-12 阿里巴巴集团控股有限公司 The method and device of courses of action navigation
CN108647133A (en) * 2018-04-28 2018-10-12 深圳市小牛在线互联网信息咨询有限公司 User's operation track recording method, device, storage medium and computer equipment
CN108665513A (en) * 2017-03-27 2018-10-16 腾讯科技(深圳)有限公司 Drawing practice based on user behavior data and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060279577A1 (en) * 2004-01-28 2006-12-14 Reuven Bakalash Graphics processing and display system employing multiple graphics cores on a silicon chip of monolithic construction
US20160191553A1 (en) * 2014-12-24 2016-06-30 Fujitsu Limited Alert transmission method, computer-readable recording medium, and alert transmission apparatus
CN106156194A (en) * 2015-04-21 2016-11-23 阿里巴巴集团控股有限公司 A kind of method and device forming user operation path
CN105138357A (en) * 2015-08-11 2015-12-09 中山大学 Method and device for implementing mobile application operation assistant
CN106648397A (en) * 2015-11-02 2017-05-10 网易(杭州)网络有限公司 Game operation recording and processing method and system for mobile terminal
CN108665513A (en) * 2017-03-27 2018-10-16 腾讯科技(深圳)有限公司 Drawing practice based on user behavior data and device
CN108255691A (en) * 2018-01-29 2018-07-06 百度在线网络技术(北京)有限公司 Thermodynamic chart methods of exhibiting and device
CN108388508A (en) * 2018-01-29 2018-08-10 华南理工大学 A kind of test cases selection method based on user conversation and hierarchical clustering algorithm
CN108647064A (en) * 2018-03-16 2018-10-12 阿里巴巴集团控股有限公司 The method and device of courses of action navigation
CN108647133A (en) * 2018-04-28 2018-10-12 深圳市小牛在线互联网信息咨询有限公司 User's operation track recording method, device, storage medium and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
REBECCA CATHEY 等: "Behavior Analysis via Execution Path Clusters" *
曾茂希: "移动应用崩溃监控和用户行为分析的研究" *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110674030A (en) * 2019-08-27 2020-01-10 北京金堤科技有限公司 Application testing method and device, computer readable storage medium and electronic equipment
CN111324582A (en) * 2020-02-18 2020-06-23 支付宝(杭州)信息技术有限公司 Method and device for visually backtracking and processing business processing behaviors
CN111338920A (en) * 2020-02-18 2020-06-26 成都品果科技有限公司 Method for recording user operation steps based on stack during photo editing
CN111338920B (en) * 2020-02-18 2023-04-07 成都品果科技有限公司 Method for recording user operation steps based on stack during photo editing
CN112199133A (en) * 2020-09-01 2021-01-08 北京达佳互联信息技术有限公司 Information aggregation method and device, electronic equipment and storage medium
US11474993B2 (en) 2020-09-01 2022-10-18 Beijing Daija Internet Information Technology Co., Ltd. Method for aggregating information, electronic device, and storage medium
CN113742630A (en) * 2021-09-16 2021-12-03 阿里巴巴新加坡控股有限公司 Image processing method, electronic device, and computer storage medium
CN113742630B (en) * 2021-09-16 2023-12-15 阿里巴巴新加坡控股有限公司 Image processing method, electronic device, and computer storage medium
CN113792247A (en) * 2021-11-12 2021-12-14 中航金网(北京)电子商务有限公司 Method, apparatus, device and medium for generating functional flow chart based on code characteristics
CN116701524A (en) * 2023-08-07 2023-09-05 腾讯科技(深圳)有限公司 Construction method and device of operation path tree, electronic equipment and storage medium
CN116701524B (en) * 2023-08-07 2024-02-27 腾讯科技(深圳)有限公司 Construction method and device of operation path tree, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110032597B (en) 2023-04-11

Similar Documents

Publication Publication Date Title
CN110032597A (en) The visible processing method and device of application program operation behavior
CN109857668A (en) UI automated function test method, test device, test equipment and storage medium
CN102402481B (en) The fuzz testing of asynchronous routine code
CN106127872B (en) Work attendance method, client and equipment based on mobile terminal
CN109460279A (en) Forms pages development approach, device, equipment and storage medium based on small routine
CN104462979B (en) The automation dynamic testing method and device of a kind of application program
JP2016532942A (en) Method and apparatus for constructing event knowledge database
CN110633390A (en) Method and device for acquiring user behavior path
CN109739494A (en) A kind of API based on Tree-LSTM uses code building formula recommended method
US10067859B2 (en) Constructing test-centric model of application
WO2006007588A2 (en) Method and system for test case generation
CN109743286A (en) A kind of IP type mark method and apparatus based on figure convolutional neural networks
CN109831357A (en) A kind of service verification method, apparatus, storage medium and server
CN109806592A (en) A kind of monitoring method and device of game resource
Abdulla et al. Verification of directed acyclic ad hoc networks
CN110333990A (en) Data processing method and device
CN109614308A (en) Test data generating method, device and computer equipment based on crawler log
US20170308379A1 (en) Evaluating documentation coverage
Ivanchikj et al. Modeling microservice conversations with restalk
CN111708712A (en) User behavior test case generation method, flow playback method and electronic equipment
JP5422589B2 (en) Module analysis system, module analysis method, and module analysis program
KR20160066769A (en) Method for heterogeneous sensors mashup, recording medium and device for performing the method
CN103606042B (en) Services Composition instance migration availability deciding method based on dynamic dependency graph
CN110389897A (en) SDK logic test method, device, storage medium and server
CN106055714A (en) Method for capturing cloud calculating data from RIA (Rich Internet Application) page

Legal Events

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

Effective date of registration: 20201012

Address after: English genus

Applicant after: Advanced innovation technology Co.,Ltd.

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

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20201012

Address after: English genus

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: English genus

Applicant before: Advanced innovation technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240229

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: English genus

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: United Kingdom

TR01 Transfer of patent right