CN111459775B - Web system function evaluation method, device, electronic equipment and readable storage medium - Google Patents

Web system function evaluation method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111459775B
CN111459775B CN202010109124.9A CN202010109124A CN111459775B CN 111459775 B CN111459775 B CN 111459775B CN 202010109124 A CN202010109124 A CN 202010109124A CN 111459775 B CN111459775 B CN 111459775B
Authority
CN
China
Prior art keywords
node
web system
graph
stack
request data
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.)
Active
Application number
CN202010109124.9A
Other languages
Chinese (zh)
Other versions
CN111459775A (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.)
Beijing Shulide Technology Co ltd
Original Assignee
Beijing Shulide 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 Beijing Shulide Technology Co ltd filed Critical Beijing Shulide Technology Co ltd
Priority to CN202010109124.9A priority Critical patent/CN111459775B/en
Publication of CN111459775A publication Critical patent/CN111459775A/en
Application granted granted Critical
Publication of CN111459775B publication Critical patent/CN111459775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a Web system function evaluation method, a Web system function evaluation device, an electronic device and a readable storage medium. The method comprises the following steps: the method comprises the steps of obtaining a plurality of request data of a Web system, generating a user access sequence according to the obtained request data, traversing the request data according to the sequence in the user access sequence, generating a Web system function decomposition diagram, and evaluating the Web system according to the Web system function decomposition diagram and an evaluation index to obtain the value of the evaluation index of the Web system. By acquiring the request data of the Web system and traversing the request data in sequence, the influence caused by invasion of the Web system can be avoided, and the evaluation of the Web system can be completed without acquiring the source code of the Web system.

Description

Web system function evaluation method, device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and apparatus for evaluating a Web system function, an electronic device, and a readable storage medium.
Background
The functionality of Web applications is now increasingly moving towards larger and more complex applications. The functions of Web system integration are becoming more and more abundant, and the system function design needs to guide the user operation more reasonably while providing a great deal of data services for the user. However, the lack of system function design affects the user experience of accessing the Web system, for example: (1) The direct jump from the parent page to the child page is absent between the parent page and the child page of some websites; (2) Repeated functional links may cause interference with the user identification data; (3) The non-obvious prompt icon makes it difficult for the user to access the desired data area. Therefore, how to evaluate the functions of the Web system becomes an important research point.
In the prior art, when evaluating the functions of the Web system, the Web system is invasive, a large amount of operation load is added to the Web system, so that the normal operation of the Web system is influenced, the risk of damaging the Web system exists, or a service side is required to provide source codes of the Web system, and the application range is influenced.
Disclosure of Invention
The embodiment of the invention provides a Web system function evaluation method based on a user access sequence, which aims to avoid invading a Web system and acquiring a source code of the Web system so as to evaluate the Web system.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for evaluating a Web system function based on a user access sequence, where the method includes:
acquiring a plurality of request data of a Web system, and generating a user access sequence;
traversing the user access sequence in sequence to generate a Web system function decomposition diagram;
and obtaining the value of the evaluation index of the Web system according to the Web system functional decomposition diagram and the evaluation index.
Optionally, after obtaining the value of the evaluation index of the Web system, the method further includes:
generating an optimization strategy of the Web system according to the value of the evaluation index of the Web system and the standard value of the evaluation index corresponding to the Web system;
And optimizing the Web system according to the optimization strategy.
Optionally, the request data includes URL and HTTP response message, and the step of traversing the user access sequence in order generates a Web system function decomposition diagram includes:
setting a node query stack, wherein the node query stack is initially empty;
the following traversal operations are performed sequentially for each requested data in the sequence of user accesses:
judging whether a first preset field in the HTTP response message of the current request data is first preset content, if not, ending the operation of the current request data and operating the next request data;
if yes, generating a graph node for the current request data, generating a main title and a sub-title for the graph node according to a first preset rule, initializing the access amount of the graph node to be 1, initializing the URL of the graph node to be the URL of the current request data, and initializing the Response Body of the graph node to be the Response Body in the HTTP Response message of the current request data;
traversing the node query stack from the stack top to the stack bottom, searching whether a second graph node which is the same as the URL of the graph node exists in the node query stack, if so, adding 1 to the access amount of the second graph node, stopping searching, ending the operation on the current request data, and entering the operation on the next request data;
If the node query stack does not exist, traversing the node query stack from the stack top to the stack bottom, and determining the father-son relationship of the graph node according to the text content of the Response Body, the URL, the main title and the subtitle;
storing the traversing result of the graph node, and adding the graph node to the stack top of the node query stack;
after traversing operation is carried out on each request data in the user access sequence, a filled node query stack is obtained;
and generating the Web system function decomposition diagram according to the filled node query stack.
Optionally, traversing the node query stack from the stack top to the stack bottom, determining the parent-child relationship of the graph node according to the text content, URL, main title and sub-title of the Response Body, including:
searching whether a third graph node containing the URL of the graph node exists in the text content of Response Body in the node query stack, and if so, setting a parent node-child node relationship for the third graph node and the graph node;
if the node query stack does not exist, traversing the node query stack from the stack top to the stack bottom, searching whether a fourth graph node which is the same as the main title of the graph node exists in the node query stack, if the node query stack does not exist, setting a parent node-child node relation for the fourth graph node and the graph node, replacing the main title of the graph node with the child title of the graph node, judging whether the graph node splits the child node, if the node query stack does not exist, splitting the fourth graph node into one child node, and taking the child title of the fourth graph node as the main title of the split child node.
Optionally, the evaluation index includes an abstract graph index and a specific function index, and obtaining, according to the Web system function decomposition graph, a value of the evaluation index of the Web system includes:
according to the Web system function decomposition diagram, obtaining the value of an abstract diagram index of the Web system, and converting the value of the abstract diagram index into the value of a specific function index, wherein the abstract diagram index at least comprises the depth of the diagram, the width of the diagram and the degree of departure of a node, and the specific function index at least comprises the access depth of the Web system, the access width of the Web system and the complexity of a page;
generating an optimization strategy of the Web system according to the value of the evaluation index of the Web system and the standard value of the evaluation index corresponding to the Web system, wherein the optimization strategy comprises the following steps:
comparing the value of the abstract graph index and the value of the specific function index of the Web system with the standard value of the abstract graph index and the standard value of the specific function index corresponding to the Web system, and generating an optimization strategy of the Web system according to the comparison result.
Optionally, the method further comprises:
and obtaining the overall score of the Web system according to the value of the evaluation index and a preset scoring rule.
Optionally, before obtaining the value of the evaluation index of the Web system according to the functional exploded view of the Web system and the evaluation index, the method further includes:
Judging the category of the Web system, and setting a corresponding evaluation index according to the category of the Web system.
In a second aspect, an embodiment of the present invention provides a Web system function evaluation apparatus based on a user access sequence, where the apparatus includes:
the first generation module is used for acquiring a plurality of request data of the Web system and generating a user access sequence;
the second generation module is used for traversing the user access sequence in sequence to generate a Web system function decomposition diagram;
and the evaluation module is used for obtaining the value of the evaluation index of the Web system according to the Web system functional decomposition diagram and the evaluation index.
Optionally, after the evaluation module, the apparatus further comprises:
the third generation module is used for generating an optimization strategy of the Web system according to the value of the evaluation index of the Web system and the standard value of the evaluation index corresponding to the Web system;
and the optimization module is used for optimizing the Web system according to the optimization strategy.
Optionally, the second generating module includes:
the setting submodule is used for setting a node query stack, and the node query stack is initially empty;
performing a traversal operation of the following modules on each request data in the user access sequence in turn:
The first judging sub-module is used for judging whether a first preset field in the HTTP response message of the current request data is the first preset content, if not, ending the operation of the current request data and operating the next request data;
the map node generating module is used for generating a map node for the current request data, generating a main title and a sub-title for the map node according to a first preset rule, initializing the access amount of the map node to be 1, initializing the URL of the map node to be the URL of the current request data, and initializing the Response Body of the map node to be the Response Body in the HTTP Response message of the current request data;
the first searching sub-module is used for traversing the node query stack from the stack top to the stack bottom, searching whether a second graph node which is the same as the URL of the graph node exists in the node query stack, if so, adding 1 to the access quantity of the second graph node, stopping searching, ending the operation on the current request data, and entering the operation on the next request data;
the father-son relation determining sub-module is used for traversing the node query stack from the stack top to the stack bottom and determining the father-son relation of the graph node according to the text content, the URL, the main title and the subtitle of the Response Body;
A storage sub-module, configured to store a traversal result of the graph node, and add the graph node to a stack top of the node query stack;
the obtaining submodule is used for obtaining a filled node query stack after traversing operation is performed on each request data in the user access sequence;
and the first generation sub-module is used for generating the Web system function decomposition diagram according to the filled node query stack.
Optionally, the parent-child relationship determination submodule includes:
a first searching subunit, configured to search whether a third graph node whose text content of Response Body includes a URL of the graph node exists in the node query stack, and if so, set a "father node-child node" relationship for the third graph node and the graph node;
and the second searching subunit is configured to, if no third graph node exists in which the text content of Response Body contains the URL of the graph node, traverse the node query stack from the stack top to the stack bottom, search whether a fourth graph node identical to the main title of the graph node exists in the node query stack, set a relationship of 'father node-child node' for the fourth graph node and the graph node if the fourth graph node exists, replace the main title of the graph node with the subtitle of the graph node, determine whether the graph node splits the subnode, and if not, split the fourth graph node by one child node, and use the subtitle of the fourth graph node as the main title of the split subnode.
Optionally, the evaluation module includes:
the evaluation submodule is used for obtaining the value of an abstract graph index of the Web system according to the Web system function decomposition graph, converting the value of the abstract graph index into the value of a specific function index, wherein the abstract graph index at least comprises the depth of the graph, the width of the graph and the degree of emergence of a node, and the specific function index at least comprises the access depth of the Web system, the access width of the Web system and the complexity of a page;
the third generating module includes:
and the second generation submodule is used for comparing the value of the abstract graph index and the value of the specific function index of the Web system with the standard value of the abstract graph index and the specific function index corresponding to the Web system, and generating the optimization strategy of the Web system according to the comparison result.
Optionally, the apparatus further comprises:
and the scoring module is used for obtaining the overall score of the Web system according to the value of the evaluation index and a preset scoring rule.
Optionally, before the evaluation module, the apparatus further comprises:
and the classification module is used for judging the category of the Web system and setting a corresponding evaluation index according to the category of the Web system.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to perform the steps of the user access sequence based Web system function evaluation method of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for evaluating a Web system function based on a user access sequence according to the first aspect.
In the embodiment of the invention, the multiple request data of the Web system are acquired, the user access sequence is generated according to the acquired request data, the request data are traversed according to the sequence in the user access sequence, the Web system function decomposition diagram is generated, and the Web system is evaluated according to the Web system function decomposition diagram and the evaluation index, so that the value of the evaluation index of the Web system is obtained. By acquiring the request data of the Web system and traversing the request data in sequence, the influence caused by invasion of the Web system can be avoided, and the evaluation of the Web system can be completed without acquiring the source code of the Web system.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of steps of a method for evaluating Web system functionality based on a user access sequence in an embodiment of the invention;
FIG. 2 is a flow chart of steps of a method for generating a functional exploded view of a Web system in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of an exploded view of a Web system in accordance with an embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of another method for evaluating Web system functionality based on a user access sequence in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of a Web system function evaluation device based on a user access sequence in an embodiment of the invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
FIG. 1 is a flowchart of steps of a method for evaluating a Web system function based on a user access sequence in an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step S101: and acquiring a plurality of request data of the Web system, and generating a user access sequence.
In this embodiment, in order to record the access sequence of the user conveniently, the request data of each time of the Web system may be captured and saved in time sequence through a preset browser, and the user access sequence may be generated by a plurality of request data according to the captured time sequence, or the request data of each time of the Web system may be acquired by a network proxy, and the user access sequence may be generated by a plurality of request data according to the acquisition time.
Step S102: and traversing the user access sequence in sequence to generate a Web system function decomposition diagram.
Processing each request data according to the sequence of each request data in the user access sequence to obtain the processing result of each request data, and generating a Web system function decomposition diagram according to the processing result of each request data.
Fig. 2 is a flowchart of steps of a method for generating a functional exploded view of a Web system according to an embodiment of the present invention. In one possible embodiment, as shown in fig. 2, the method comprises the steps of:
Step S201: setting a node query stack, wherein the node query stack is initially empty.
An initial empty node query stack is set for storing the traversing result of the user access sequence in sequence.
And sequentially performing the following step S202-step S206 traversal operation for each request data in the user access sequence:
step S202: judging whether a first preset field in the HTTP response message of the current request data is the first preset content, if not, ending the operation of the current request data and operating the next request data.
In this embodiment, the acquired request data includes URL and HTTP response message, and it is determined whether the first preset field in the HTTP response message of the current request data is the first preset content, if not, the traversing operation of the current request data is ended, and the traversing operation is restarted for the next request data, if yes, step S203 is continuously executed.
The HTTP response message comprises a message protocol, a version, a state code, a state description, a response header and a response body, wherein when the HTTP response message is implemented, the first preset field is a Content-Type field in the response header, the first preset Content is text/html, and if yes, the subsequent traversal operation is carried out by judging whether the Content-Type field (namely the Type of the access data) in the response header in the HTTP response message is text/html; otherwise, the traversing operation of the current request data is ended, and the traversing operation of the next request data is entered.
Step S203: if so, generating a graph node for the current request data, generating a main header and a sub-header for the graph node according to a first preset rule, initializing the access amount of the graph node to 1, initializing the URL of the graph node to the URL of the current request data, and initializing the Response Body of the graph node to the Response Body in the HTTP Response message of the current request data.
In this embodiment, if the first preset field in the HTTP Response packet of the current request data is the first preset content, a map node is generated for the current request data, and a main header and a sub-header are generated for the map node according to a first preset rule, and the access amount of the map node is initialized to 1, the URL of the map node is initialized to the URL of the current request data, and the Response Body of the map node is initialized to the Response Body in the HTTP Response packet of the current request data, where the Response Body is a Response Body, and is a component of the HTTP Response packet.
In the implementation, if the "Content-Type" field (i.e. the Type of the access data) in the response header in the HTTP response message is "text/HTML", the response body in the HTTP response message is an HTML file, a graph node is generated for the current request data, and a main header and a sub-header are generated for the graph node according to a first preset rule, where the first preset rule is: the field content pointed by the path of 'HTML- > head- > title' in the HTML file is taken out and used as the main title of the node; the last level of sub-path in the URL path is fetched as a sub-title of the node. For example, fig. 3 is a schematic structural diagram of a functional exploded view of a Web system in an embodiment of the present invention, as shown in fig. 3, if the field content pointed by the path "HTML- > head- > title" in the HTML file is "supervision information disclosure directory", the "supervision information disclosure directory" is used as a main header of the graph node, for example, a Web page "http:// www.csrc.gov.cn/pub/zjhpublic/", where the last-level sub-path in the URL path is "zjhpublic", the "zjhpublic" is used as a sub-header of the graph node, then the access amount of the graph node is initialized to 1, the URL of the graph node is initialized to the URL of the current request data, and the Response Body of the graph node is initialized to the Response Body in the HTTP Response message of the current request data.
Step S204: traversing the node query stack from the stack top to the stack bottom, searching whether a second graph node which is the same as the URL of the graph node exists in the node query stack, if so, adding 1 to the access amount of the second graph node, stopping searching, ending the operation on the current request data, and entering the operation on the next request data.
In this embodiment, the data of the graph node in the node query stack is traversed from the stack top to the stack bottom, and whether the second graph node identical to the URL of the current graph node exists is searched, if so, it is explained that the searched second graph node is identical to the current graph node, the current graph node is not required to be saved again, 1 is directly added to the access amount of the searched second graph node, the traversing operation of the current request data is finished, and the traversing operation of the next request data is entered.
Step S205: if the node query stack does not exist, traversing the node query stack from the stack top to the stack bottom, and determining the parent-child relationship of the graph node according to the text content of the Response Body, the URL, the main title and the subtitle.
In this embodiment, if there is no second graph node identical to the URL of the current graph node, traversing the data of the graph node in the node query stack from the stack top to the stack bottom, and determining the parent-child relationship of the graph node according to the text content of the Response Body, the URL, the main header and the sub-header.
In a possible implementation, the step S205 includes the following sub-steps:
step S205-1: and searching whether a third graph node containing the URL of the graph node exists in the text content of the Response Body in the node query stack, and if so, setting a parent node-child node relation for the third graph node and the graph node.
In this embodiment, whether the third graph node whose text content of Response Body includes the URL of the graph node exists in the node query stack is searched, if the text content of Response Body of the third graph node includes the URL of the graph node, a parent-child relationship exists between the third graph node and the current graph node, and the searched third graph node is a parent node and the current graph node is a child node.
Step S205-2: if the node query stack does not exist, traversing the node query stack from the stack top to the stack bottom, searching whether a fourth graph node which is the same as the main title of the graph node exists in the node query stack, if the node query stack does not exist, setting a parent node-child node relation for the fourth graph node and the graph node, replacing the main title of the graph node with the child title of the graph node, judging whether the graph node splits the child node, if the node query stack does not exist, splitting the fourth graph node into one child node, and taking the child title of the fourth graph node as the main title of the split child node.
In this embodiment, if there is no third graph node whose Response Body text content includes the URL of the graph node, traversing the data of the graph node in the node query stack from the top to the bottom of the stack, searching whether there is a fourth graph node in the node query stack that is the same as the main title of the graph node, if there is, but if there is, the URL of the fourth graph node is not the same as the URL of the current graph node, and the Response Body text content of the fourth graph node does not include the URL of the current graph node, then the fourth graph node is a graph node that is similar to but different from the current graph node, a "father node—child node" relationship is set for the fourth graph node and the graph node, the fourth graph node is a father node, the main title of the current graph node is replaced by the child title of the current graph node, and judging again whether the fourth graph node splits the child node, if there is no child node, splitting the fourth graph node and taking the fourth graph node as the child node and the child node as the child node, and distinguishing the two child nodes from the main title of the fourth graph node.
Through the above step S205-1 and step S205-2, the parent-child relationship between the graph nodes can be determined.
Step S206: and storing the traversing result of the graph node, and adding the graph node to the stack top of the node query stack.
In this embodiment, through the above steps, the traversing result of the current graph node can be obtained, the traversing result of the graph node is saved, and the current graph node is added to the stack top of the query stack, so as to facilitate the subsequent traversing operation of the node query stack.
Step S207: and after traversing operation is carried out on each request data in the user access sequence, obtaining a filled node query stack.
Step S208: and generating the Web system function decomposition diagram according to the filled node query stack.
In this embodiment, after performing the traversing operation on each request data in the user access sequence, a filled node query stack may be obtained, where different graph nodes and traversing results of the graph nodes are stored in the filled node query stack, including the number of accesses of the graph nodes and a parent-child relationship between the graph nodes, and based on the number of accesses of the graph nodes and the parent-child relationship between the graph nodes in the filled node query stack, a Web system functionally exploded graph may be generated, where each directed edge is a "parent node-child node" relationship between the graph nodes, and an arrow is pointed to a child node by the parent node.
Step S104: and obtaining the value of the evaluation index of the Web system according to the Web system functional decomposition diagram and the evaluation index.
In this embodiment, according to the generated functional exploded view of the Web system, each evaluation index of the Web system is evaluated to obtain the values of each evaluation index of the Web system, thereby completing the evaluation of the Web system.
In a possible embodiment, before step S104, the method further comprises:
judging the category of the Web system, and setting a corresponding evaluation index according to the category of the Web system.
In this embodiment, in the setting process of the evaluation index, the current Web system may be divided into various categories, such as an electronic shopping system, a government management system, a search engine system, and the like, and the evaluation index is specifically designed according to the characteristics of the category, which is helpful for improving the accuracy degree of the evaluation result.
In a possible implementation, the evaluation index includes an abstract map index and a specific function index, and step S104 includes:
according to the Web system function decomposition diagram, obtaining a value of an abstract diagram index of the Web system, converting the value of the abstract diagram index into a value of a specific function index, wherein the abstract diagram index at least comprises a diagram depth, a diagram width and a node output degree, and the specific function index at least comprises a Web system access depth, a Web system access width and a page complexity, wherein the diagram depth corresponds to the Web system access depth, the diagram width corresponds to the Web system access width, and the node output degree corresponds to the page complexity.
In this embodiment, first, each of the image indicators of the obtained functional exploded view of the Web system is evaluated, and then, in combination with specific service requirements, each of the image indicators is converted into each of the specific functional indicators, so as to obtain the value of the specific functional indicator of the Web system.
In a possible embodiment, after obtaining the value of the evaluation index of the Web system, the method further includes:
and obtaining the overall score of the Web system according to the value of the evaluation index and a preset scoring rule.
In this embodiment, the obtained values of the evaluation indexes may be converted according to a preset scoring rule, so as to obtain a score of each index, and an overall score of the Web system may be obtained according to the score of each index.
In specific implementation, the evaluation index may be: the access depth of the Web system, the access width of the Web system and the complexity of the home page can be scored as follows: if the value of the access depth of the Web system is 1-6, the score of the access depth of the Web system is 100; if the value of the access depth of the Web system is 7-10, the score of the access depth of the Web system is 60, and if the value of the access depth of the Web system is more than 10, the score of the access depth of the Web system is 600/the value of the access depth of the Web system. If the value of the access width of the Web system is 1-10, the score of the access width of the Web system is 100; if the value of the access width of the Web system is 11-15, the score of the access width of the Web system is 60, and if the value of the access width of the Web system is greater than 15, the score of the access width of the Web system is 900/the value of the access depth of the Web system. If the value of the complexity of the home page is 1-10, the score of the complexity of the home page is 100; if the complexity of the top page is 11-15, the complexity of the top page is scored as 60, and if the complexity of the top page is greater than 15, the complexity of the top page is scored as 900/the complexity of the top page.
In calculating the overall score of the Web system, the weight of the access depth of the Web system may be set to 40%, the weight of the access width of the Web system may be set to 40%, and the weight of the complexity of the top page may be set to 20%, for example: if the score of the access depth of the Web system is 100, the score of the access width of the Web system is 60, and the score of the complexity of the home page is 60, the overall score of the Web system is: 100×40% +60×40% +60×20% = 76.
In particular implementations, the scoring rules may be set in connection with a particular business, not just the scoring rules described above, but also in greater detail.
In the embodiment, the values of all evaluation indexes are scored by setting the preset scoring rule, and the overall score of the Web system is calculated, so that the evaluation result of the Web system can be more concisely and clearly embodied.
In the embodiment of the invention, the multiple request data of the Web system are acquired, the user access sequence is generated according to the acquired request data, the request data are traversed according to the sequence in the user access sequence, the Web system function decomposition diagram is generated, and the Web system is evaluated according to the Web system function decomposition diagram and the evaluation index, so that the value of the evaluation index of the Web system is obtained. By acquiring the request data of the Web system and traversing the request data in sequence, the influence caused by invasion of the Web system can be avoided, and the evaluation of the Web system can be completed without acquiring the source code of the Web system.
FIG. 4 is a flowchart illustrating steps of another method for evaluating functions of a Web system based on a user access sequence in accordance with an embodiment of the present invention. As shown in fig. 4, the method comprises the steps of:
step S401: and acquiring a plurality of request data of the Web system, and generating a user access sequence.
Step S402: and traversing the user access sequence in sequence to generate a Web system function decomposition diagram.
Step S403: and obtaining the value of the evaluation index of the Web system according to the Web system functional decomposition diagram and the evaluation index.
The content of step S401 to step S403 is the same as the content of step S101 to step S103, and the specific explanation can refer to the explanation of step S101 to step S103, and will not be repeated here.
Step S404: and generating an optimization strategy of the Web system according to the value of the evaluation index of the Web system and the standard value of the evaluation index corresponding to the Web system.
In this embodiment, the obtained value of the evaluation index of the Web system is compared with the standard value of the evaluation index corresponding to the Web system, and an optimization strategy of the Web system is generated according to the comparison result.
In a possible implementation, the step S404 includes:
comparing the value of the abstract graph index and the value of the specific function index of the Web system with the standard value of the abstract graph index and the standard value of the specific function index corresponding to the Web system, and generating an optimization strategy of the Web system according to the comparison result.
In this embodiment, the value of the abstract map index and the value of the specific function index of the Web system are compared with the standard values of the abstract map index and the specific function index corresponding to the Web system, so that an optimization strategy of the Web system is generated according to the comparison result.
Because the abstract graph index value of the Web system is similar to the specific function index value, when in implementation, the optimization strategy of the Web system can be obtained by directly comparing the specific function index value of the Web system with the standard value of the specific function index corresponding to the Web system.
For example: if the value of the home page complexity of the Web system is 8 and the standard value of the home page complexity corresponding to the Web system is 1-4, the home page complexity of the Web system is too large, and the generated optimization strategy can be as follows: splitting the home page function into 2 to 4 new sub pages, so that the number of the sub pages of the home page is not more than 4, and the output degree of each sub page node is not more than 10.
Step S405: and optimizing the Web system according to the optimization strategy.
And optimizing the Web system according to the generated optimization strategy, so that the value of the evaluation index of the Web system is within the range of the standard value.
In the embodiment of the invention, the obtained value of the evaluation index of the Web system is compared with the standard value of the evaluation index corresponding to the Web system to generate the optimization strategy, so that the current Web system can be optimized, and better use experience is provided for users.
Based on the same inventive concept, an embodiment of the present invention provides a Web system function evaluation device based on a user access sequence. Referring to fig. 5, fig. 5 is a schematic diagram of a Web system function evaluation apparatus based on a user access sequence in an embodiment of the present invention. As shown in fig. 5, the apparatus includes:
a first generating module 501, configured to obtain a plurality of request data of a Web system, and generate a user access sequence;
a second generating module 502, configured to sequentially traverse the user access sequence, and generate a Web system function decomposition diagram;
and the evaluation module 503 is configured to obtain a value of the evaluation index of the Web system according to the functional decomposition diagram of the Web system and the evaluation index.
Optionally, after the evaluation module, the apparatus further comprises:
the third generation module is used for generating an optimization strategy of the Web system according to the value of the evaluation index of the Web system and the standard value of the evaluation index corresponding to the Web system;
and the optimization module is used for optimizing the Web system according to the optimization strategy.
Optionally, the second generating module includes:
the setting submodule is used for setting a node query stack, and the node query stack is initially empty;
Performing a traversal operation of the following modules on each request data in the user access sequence in turn:
the first judging sub-module is used for judging whether a first preset field in the HTTP response message of the current request data is the first preset content, if not, ending the operation of the current request data and operating the next request data;
the map node generating module is used for generating a map node for the current request data, generating a main title and a sub-title for the map node according to a first preset rule, initializing the access amount of the map node to 0, initializing the URL of the map node to the URL of the current request data, and initializing the Response Body of the map node to the Response Body in the HTTP Response message of the current request data;
the first searching sub-module is used for traversing the node query stack from the stack top to the stack bottom, searching whether a second graph node which is the same as the URL of the graph node exists in the node query stack, if so, adding 1 to the access quantity of the second graph node, stopping searching, ending the operation on the current request data, and entering the operation on the next request data;
The father-son relation determining sub-module is used for traversing the node query stack from the stack top to the stack bottom and determining the father-son relation of the graph node according to the text content, the URL, the main title and the subtitle of the Response Body;
a storage sub-module, configured to store a traversal result of the graph node, and add the graph node to a stack top of the node query stack;
the obtaining submodule is used for obtaining a filled node query stack after traversing operation is performed on each request data in the user access sequence;
and the first generation sub-module is used for generating the Web system function decomposition diagram according to the filled node query stack.
Optionally, the parent-child relationship determination submodule includes:
a first searching subunit, configured to search whether a third graph node whose text content of Response Body includes a URL of the graph node exists in the node query stack, and if so, set a "father node-child node" relationship for the third graph node and the graph node;
and the second searching subunit is configured to, if no third graph node exists in which the text content of Response Body contains the URL of the graph node, traverse the node query stack from the stack top to the stack bottom, search whether a fourth graph node identical to the main title of the graph node exists in the node query stack, set a relationship of 'father node-child node' for the fourth graph node and the graph node if the fourth graph node exists, replace the main title of the graph node with the subtitle of the graph node, determine whether the graph node splits the subnode, and if not, split the fourth graph node by one child node, and use the subtitle of the fourth graph node as the main title of the split subnode.
Optionally, the evaluation module includes:
the evaluation submodule is used for obtaining the value of an abstract graph index of the Web system according to the Web system function decomposition graph, converting the value of the abstract graph index into the value of a specific function index, wherein the abstract graph index at least comprises the depth of the graph, the width of the graph and the degree of emergence of a node, and the specific function index at least comprises the access depth of the Web system, the access width of the Web system and the complexity of a page;
the third generating module includes:
and the second generation submodule is used for comparing the value of the abstract graph index and the value of the specific function index of the Web system with the standard value of the abstract graph index and the specific function index corresponding to the Web system, and generating the optimization strategy of the Web system according to the comparison result.
Optionally, the apparatus further comprises:
and the scoring module is used for obtaining the overall score of the Web system according to the value of the evaluation index and a preset scoring rule.
Optionally, before the evaluation module, the apparatus further comprises:
and the classification module is used for judging the category of the Web system and setting a corresponding evaluation index according to the category of the Web system.
Referring to fig. 6, fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, and power supply 611. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In an embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a desktop computer, a tablet computer, a notebook computer, a palm computer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 610; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 600. The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, the graphics processor 6041 processing image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. Microphone 6042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 6061 and/or the backlight when the electronic device 600 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 605 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 606 is used to display information input by a user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 6071 or thereabout using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 610, and receives and executes commands sent from the processor 610. In addition, the touch panel 6071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 6071 may be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 610 to determine a type of a touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 608 is an interface to which an external device is connected to the electronic apparatus 600. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 600 or may be used to transmit data between the electronic apparatus 600 and an external device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a storage program area that may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may also include a power supply 611 (e.g., a battery) for powering the various components, and preferably the power supply 611 may be logically coupled to the processor 610 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, including: the processor 610, the memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program when executed by the processor 610 implements the processes of the method embodiment based on applet simulation positioning and achieves the same technical effects, and is not repeated herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the method embodiment based on applet simulation positioning, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (9)

1. A Web system function evaluation method based on a user access sequence, the method comprising:
acquiring a plurality of request data of a Web system, and generating a user access sequence;
traversing the user access sequence in sequence to generate a Web system function decomposition diagram;
obtaining the value of the evaluation index of the Web system according to the Web system function decomposition diagram and the evaluation index;
the request data comprises a URL and an HTTP response message, wherein the user access sequence is traversed in sequence, and a Web system function decomposition diagram is generated, and the method comprises the following steps:
setting a node query stack, wherein the node query stack is initially empty;
the following traversal operations are performed sequentially for each requested data in the sequence of user accesses:
judging whether a first preset field in the HTTP response message of the current request data is first preset content, if not, ending the operation of the current request data and operating the next request data;
if yes, generating a graph node for the current request data, generating a main title and a sub-title for the graph node according to a first preset rule, initializing the access amount of the graph node to be 1, initializing the URL of the graph node to be the URL of the current request data, and initializing the Response Body of the graph node to be the Response Body in the HTTP Response message of the current request data;
Traversing the node query stack from the stack top to the stack bottom, searching whether a second graph node which is the same as the URL of the graph node exists in the node query stack, if so, adding 1 to the access amount of the second graph node, stopping searching, ending the operation on the current request data, and entering the operation on the next request data;
if the node query stack does not exist, traversing the node query stack from the stack top to the stack bottom, and determining the father-son relationship of the graph node according to the text content of the Response Body, the URL, the main title and the subtitle;
storing the traversing result of the graph node, and adding the graph node to the stack top of the node query stack;
after traversing operation is carried out on each request data in the user access sequence, a filled node query stack is obtained;
and generating the Web system function decomposition diagram according to the filled node query stack.
2. The method according to claim 1, wherein after obtaining the value of the evaluation index of the Web system, the method further comprises:
generating an optimization strategy of the Web system according to the value of the evaluation index of the Web system and the standard value of the evaluation index corresponding to the Web system;
And optimizing the Web system according to the optimization strategy.
3. The method of claim 1, wherein traversing the node query stack from top of stack to bottom of stack, determining parent-child relationships of graph nodes based on text content of Response Body, URL, main title, and sub-title, comprises:
searching whether a third graph node containing the URL of the graph node exists in the text content of Response Body in the node query stack, and if so, setting a parent node-child node relationship for the third graph node and the graph node;
if the node query stack does not exist, traversing the node query stack from the stack top to the stack bottom, searching whether a fourth graph node which is the same as the main title of the graph node exists in the node query stack, if the node query stack does not exist, setting a parent node-child node relation for the fourth graph node and the graph node, replacing the main title of the graph node with the child title of the graph node, judging whether the graph node splits the child node, if the node query stack does not exist, splitting the fourth graph node into one child node, and taking the child title of the fourth graph node as the main title of the split child node.
4. The method according to claim 2, wherein the evaluation index includes an abstract graph index and a specific function index, and obtaining the value of the evaluation index of the Web system according to the Web system function decomposition graph includes:
according to the Web system function decomposition diagram, obtaining the value of an abstract diagram index of the Web system, and converting the value of the abstract diagram index into the value of a specific function index, wherein the abstract diagram index at least comprises the depth of the diagram, the width of the diagram and the degree of departure of a node, and the specific function index at least comprises the access depth of the Web system, the access width of the Web system and the complexity of a page;
generating an optimization strategy of the Web system according to the value of the evaluation index of the Web system and the standard value of the evaluation index corresponding to the Web system, wherein the optimization strategy comprises the following steps:
comparing the value of the abstract graph index and the value of the specific function index of the Web system with the standard value of the abstract graph index and the standard value of the specific function index corresponding to the Web system, and generating an optimization strategy of the Web system according to the comparison result.
5. The method according to claim 1, wherein the method further comprises:
and obtaining the overall score of the Web system according to the value of the evaluation index and a preset scoring rule.
6. The method of claim 1, further comprising, prior to deriving the value of the evaluation index for the Web system from the Web system functional breakdown graph and the evaluation index:
judging the category of the Web system, and setting a corresponding evaluation index according to the category of the Web system.
7. A Web system function evaluation device based on a user access sequence, the device comprising:
the first generation module is used for acquiring a plurality of request data of the Web system and generating a user access sequence;
the second generation module is used for traversing the user access sequence in sequence to generate a Web system function decomposition diagram;
the evaluation module is used for obtaining the value of the evaluation index of the Web system according to the Web system functional decomposition diagram and the evaluation index;
the second generation module is used for traversing the user access sequence in sequence according to the following steps to generate a Web system function decomposition diagram:
setting a node query stack, wherein the node query stack is initially empty;
the following traversal operations are performed sequentially for each requested data in the sequence of user accesses:
judging whether a first preset field in the HTTP response message of the current request data is first preset content, if not, ending the operation of the current request data and operating the next request data;
If yes, generating a graph node for the current request data, generating a main title and a sub-title for the graph node according to a first preset rule, initializing the access amount of the graph node to be 1, initializing the URL of the graph node to be the URL of the current request data, and initializing the Response Body of the graph node to be the Response Body in the HTTP Response message of the current request data;
traversing the node query stack from the stack top to the stack bottom, searching whether a second graph node which is the same as the URL of the graph node exists in the node query stack, if so, adding 1 to the access amount of the second graph node, stopping searching, ending the operation on the current request data, and entering the operation on the next request data;
if the node query stack does not exist, traversing the node query stack from the stack top to the stack bottom, and determining the father-son relationship of the graph node according to the text content of the Response Body, the URL, the main title and the subtitle;
storing the traversing result of the graph node, and adding the graph node to the stack top of the node query stack;
after traversing operation is carried out on each request data in the user access sequence, a filled node query stack is obtained;
And generating the Web system function decomposition diagram according to the filled node query stack.
8. An electronic device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the user access sequence based Web system function evaluation method according to any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, implements the steps of the user access sequence based Web system function evaluation method according to any one of claims 1 to 6.
CN202010109124.9A 2020-02-21 2020-02-21 Web system function evaluation method, device, electronic equipment and readable storage medium Active CN111459775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010109124.9A CN111459775B (en) 2020-02-21 2020-02-21 Web system function evaluation method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010109124.9A CN111459775B (en) 2020-02-21 2020-02-21 Web system function evaluation method, device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111459775A CN111459775A (en) 2020-07-28
CN111459775B true CN111459775B (en) 2023-08-08

Family

ID=71680198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010109124.9A Active CN111459775B (en) 2020-02-21 2020-02-21 Web system function evaluation method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111459775B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021079A (en) * 2016-05-06 2016-10-12 华南理工大学 A Web application performance testing method based on a user frequent access sequence model
CN107483622A (en) * 2017-09-06 2017-12-15 广州供电局有限公司 Browser operation behavioral data acquisition method based on component
US10083324B1 (en) * 2016-03-17 2018-09-25 EMC IP Holding Company LLC Qualified web application security based on multi-layered evaluation of web application hierarchy

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8695027B2 (en) * 2011-06-30 2014-04-08 Mcafee, Inc. System and method for application security assessment
US10873794B2 (en) * 2017-03-28 2020-12-22 Cisco Technology, Inc. Flowlet resolution for application performance monitoring and management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10083324B1 (en) * 2016-03-17 2018-09-25 EMC IP Holding Company LLC Qualified web application security based on multi-layered evaluation of web application hierarchy
CN106021079A (en) * 2016-05-06 2016-10-12 华南理工大学 A Web application performance testing method based on a user frequent access sequence model
CN107483622A (en) * 2017-09-06 2017-12-15 广州供电局有限公司 Browser operation behavioral data acquisition method based on component

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马春燕 ; 朱怡安 ; 陆伟 ; .Web服务自动化测试技术.计算机科学.2012,162-167. *

Also Published As

Publication number Publication date
CN111459775A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN108255382B (en) Method and device for recommending floating menu content
CN108632658B (en) Bullet screen display method and terminal
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN111368290B (en) Data anomaly detection method and device and terminal equipment
CN111597542B (en) Verification information sharing method and device, electronic equipment and storage medium
CN107911812B (en) Method for adjusting preferred public land mobile network PPLMN list and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN110381204B (en) Information display method, mobile terminal and computer readable storage medium
CN108449481A (en) A kind of associated person information recommends method and terminal
CN107992615B (en) Website recommendation method, server and terminal
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
CN103246847B (en) A kind of method and apparatus of macrovirus killing
CN111061446A (en) Display method and electronic equipment
CN112612552B (en) Application resource loading method and device, electronic equipment and readable storage medium
CN108491143B (en) Object movement control method and mobile terminal
CN108306817B (en) Information positioning processing method and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN111290673B (en) Message processing method and electronic equipment
CN109857673B (en) Control identification method and device
CN110781390A (en) Information recommendation method and mobile terminal
CN107957789B (en) Text input method and mobile terminal
CN108804615B (en) Sharing method and server
CN111459775B (en) Web system function evaluation method, device, electronic equipment and readable storage medium
CN110851042A (en) Interface display method and electronic equipment
CN110928616A (en) Shortcut icon management method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant