CN116225881B - Monitoring system and method without response by application click - Google Patents
Monitoring system and method without response by application click Download PDFInfo
- Publication number
- CN116225881B CN116225881B CN202310503954.3A CN202310503954A CN116225881B CN 116225881 B CN116225881 B CN 116225881B CN 202310503954 A CN202310503954 A CN 202310503954A CN 116225881 B CN116225881 B CN 116225881B
- Authority
- CN
- China
- Prior art keywords
- uitouch
- data
- processed
- gesture
- response
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 title claims description 11
- 238000012545 processing Methods 0.000 claims abstract description 24
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3438—Recording 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 monitoring of user actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3409—Recording 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3466—Performance evaluation by tracing or monitoring
- G06F11/3485—Performance evaluation by tracing or monitoring for I/O devices
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to the technical field of application software, and discloses a monitoring system without response of application click, which comprises the following components: the user operation analysis module is used for acquiring UITOuch data of a user on the touch screen and a corresponding UIView object; the gesture recognition module is used for recognizing the appointed gesture; if the identification fails, the UITOuch data is sent to a UIREsponder module, otherwise, the UITOuch data is not sent; the UIREspoonder module is used for distributing the UITOuch data according to a responder chain and corresponds to each node of the responder chain; if the processing cannot be performed, the processing is transferred to the next response device, and the processing is repeated until the UITOuch data is processed or the next response device does not exist; and the response checking module is used for receiving the UITOuch data at the tail end of the responder chain, judging that the UITOuch data is unresponsive if the UITOuch data is received, otherwise, the UITOuch data is regarded as being responded, so that elements which can be clicked by a user but are not responded can be identified in the page, and subsequently, the elements can be improved, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of application software, in particular to a monitoring system and a monitoring method without response of application clicking.
Background
When the mobile device is clicked on the screen, the application program in the foreground receives touch data and processes the touch data, if the user thinks that the touch data can be clicked, the user can click, and at the moment, if the foreground application does not process the clicking of the user, the user can be confused.
Therefore, in the design of the application software of the mobile device, whether the clicking operation of the user is unresponsive needs to be monitored so as to collect problems and optimize the use experience. In the prior art, the monitoring application needs to traverse the view tree without response to click, and also needs to check whether the control realizes click monitoring or whether gestures are added or not, and whether the methods of touchBegan and the like are realized or not, but the efficiency of traversing the view tree is low, the situations needing judgment are too many, and misjudgment is easy to occur.
Disclosure of Invention
The invention aims to provide a monitoring system and a monitoring method without response by application click, which solve the following technical problems:
how to provide a simple and efficient method for monitoring judgment by using click non-response.
The aim of the invention can be achieved by the following technical scheme:
an application click non-responsive listening system comprising:
the user operation analysis module is used for acquiring UITOuch data of a user on the touch screen and a corresponding UIView object;
the gesture recognition module is connected with the user operation analysis module and is used for recognizing a specified gesture; if the identification fails, the UITOuch data is sent to a UIREsponder module, otherwise, the UITOuch data is not sent;
the UIREspoonder module is used for distributing the UITOuch data according to a responder chain, and judging whether the UITOuch data can be processed or not according to each node of the responder chain; if the processing cannot be performed, the processing is transferred to the next response device, and the processing is repeated until the UITOuch data is processed or the next response device does not exist;
and the response checking module is used for receiving the UITOuch data at the tail end of the responder chain, judging that the UITOuch data is not responded if the UITOuch data is received, and otherwise, treating the UITOuch data as being responded.
As a further scheme of the invention: and the UIWIndow module containing the UIVIew object is configured with the corresponding appointed gesture.
A monitoring method without response of application click comprises the following steps:
acquiring UITOuch data of a user on a touch screen and a corresponding UIView object;
identifying a specified gesture; if the identification fails, the UITOuch data is sent to a UIREsponder module, otherwise, the UITOuch data is not sent;
distributing the UITOuch data according to a responder chain, and judging whether the UITOuch data can be processed per se according to each node of the responder chain; if the processing cannot be performed, the processing is transferred to the next response device, and the processing is repeated until the UITOuch data is processed or the next response device does not exist;
and receiving the UITOuch data at the end of the responder chain, if so, judging that the UITOuch data is unresponsive, otherwise, treating the UITOuch data as having been responded.
As a further scheme of the invention: for an application, if the application has a plurality of uisindows, adding a specified gesture to each uisindow;
if the Uitouch data is processed, the specified gesture will not receive the Uitouch data, and if the Uitouch is processed by the specified gesture, it may be determined that the Uitouch data is not processed, and it may be determined that the user clicks unresponsiveness.
As a further scheme of the invention: the UITouch data includes uiileable data, UITextField data, uibetton data.
As a further scheme of the invention: each node corresponds to one uiiview, and the root node is uiyindow.
The invention has the beneficial effects that: according to the invention, whether the application has response or not in touch operation does not need to be judged by traversing the view tree, the system can send the UITouch data to the foreground application when the user touches the screen by adding a designated gesture corresponding to configuration to each UIWIndow, at the moment, the foreground application can find the uppermost view where the UITouch is located first, then the gesture recognizer judges whether the UITouch data can be processed or not, and then each node of the responder chain judges whether the UITouch data can be processed or not, so that elements which can be considered to be clicked by the user but elements which do not respond can be identified, and the user experience can be improved for the elements later.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a diagram of content displayed by an application on a mobile terminal according to the present invention;
FIG. 2 is a tree traversal schematic;
fig. 3 is a flowchart of the processing of UITouch data in the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. 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.
As shown in fig. 1, the content displayed by the application on the mobile phone changes when the page changes. A tree is a data structure that is a set of n (n > =0) finite nodes that have a hierarchical relationship.
The tree has the following characteristics: each node has zero or more child nodes; nodes without parent nodes are called root nodes; each non-root node has and has only one parent node; in addition to the root node, each child node may be divided into a plurality of disjoint sub-trees.
As shown in fig. 2, which is a schematic diagram of tree traversal, for each node it knows what its parent node is and which child nodes are. It will be understood that the presence of each other, e.g., a-B, can be known to each other by wired connections in the figures, and that indirect access, e.g., B-C, can only be achieved without a direct wired connection.
A and B are directly connected, B is a child node of A, and A is a parent node of B; whereas B and C have no direct connection, but a can be found by B and then C by a.
A view tree is an application of this data structure to a tree, each node being a uikiew. The root node is UIWIndow, then a plurality of sub-nodes are arranged below the UIWIndow, and a plurality of nodes are arranged below the sub-nodes; the existing non-response detection needs to traverse each node, detects the processing result of each node to judge whether Uitouch data is responded and processed, and the deeper the tree hierarchy is, the longer the nodes are, the longer the time needed for traversing the tree is, and the lower the efficiency is.
Referring to fig. 3, the present invention is a listening system without response in application click, including:
the user operation analysis module is used for acquiring UITOuch data of a user on the touch screen and a corresponding UIView object;
the gesture recognition module is connected with the user operation analysis module and is used for recognizing a specified gesture; if the identification fails, the UITOuch data is sent to a UIREsponder module, otherwise, the UITOuch data is not sent;
the UIREspoonder module is used for distributing the UITOuch data according to a responder chain, and judging whether the UITOuch data can be processed or not according to each node of the responder chain; if the processing cannot be performed, the processing is transferred to the next response device, and the processing is repeated until the UITOuch data is processed or the next response device does not exist;
and the response checking module is used for receiving the UITOuch data at the tail end of the responder chain, judging that the UITOuch data is not responded if the UITOuch data is received, and otherwise, treating the UITOuch data as being responded.
In this embodiment, it is not necessary to determine whether an application has a response when the application faces a touch operation by traversing the view tree, by adding a designated gesture corresponding to configuration to each uirindow, when a user touches the screen, the system will send uilouch data to the foreground application, at this time, the foreground application will find the uppermost view where uilouch is located first, then determine whether the uilouch data can be processed by the gesture recognizer, and then determine whether the uilouch data can be processed by each node of the responder chain, so that elements that the user thinks can click in the page but elements that do not respond can be identified, and subsequently, improvement can be made for these elements, thereby improving user experience.
As a further scheme of the invention: and the UIWIndow module containing the UIVIew object is configured with the corresponding appointed gesture.
Uixiew represents a view, and in iOS systems, most of the visible content is one uixiew, which can be subdivided into buttons uibeton, labels uiileble data, pictures, etc. Uiiview combines with each other to form a colorful interface.
Uires is used to handle user inputs such as clicks and swipes. UIView is also a uiiresponsor, so UIView can handle user input and UView can finish seeing and clicking on content. In the prior art, while click events may be handled in uiaplication and uiaplication deltaate, general applications will not handle click events in uiaplication and uiaplication deltaate because uiaplication and uiaplication deltaate have deviated from the specific interface content.
Thus, in the system architecture of the present invention, if a click is processed by uiapp application and uiapp application delete also indicates that the click is not responded to by the view, it is a no-response click. By the design, the influence on the original data processing logic is very small, but the efficiency is very high.
As a further scheme of the invention: a monitoring method without response of application click comprises the following steps:
acquiring UITOuch data of a user on a touch screen and a corresponding UIView object;
identifying a specified gesture; if the identification fails, the UITOuch data is sent to a UIREsponder module, otherwise, the UITOuch data is not sent;
distributing the UITOuch data according to a responder chain, and judging whether the UITOuch data can be processed per se according to each node of the responder chain; if the processing cannot be performed, the processing is transferred to the next response device, and the processing is repeated until the UITOuch data is processed or the next response device does not exist;
and receiving the UITOuch data at the end of the responder chain, if so, judging that the UITOuch data is unresponsive, otherwise, treating the UITOuch data as having been responded.
As a further scheme of the invention: for an application, if the application has a plurality of uisindows, adding a specified gesture to each uisindow;
if the Uitouch data is processed, the specified gesture will not receive the Uitouch data, and if the Uitouch is processed by the specified gesture, it may be determined that the Uitouch data is not processed, and it may be determined that the user clicks unresponsiveness.
As a further scheme of the invention: the UITouch data includes uifiew itself and all objects inherited from uifiew, such as UILabel, UITextField, UIButton, etc.
As a further scheme of the invention: each node corresponds to one uiiview, and the root node is uiyindow.
The foregoing describes one embodiment of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by the present invention.
Claims (2)
1. A listening system for application click non-response comprising:
the user operation analysis module is used for acquiring UITOuch data of a user on the touch screen and a corresponding UIView object;
the gesture recognition module is connected with the user operation analysis module and is used for recognizing a specified gesture; if the identification fails, the UITOuch data is sent to a UIREsponder module, otherwise, the UITOuch data is not sent;
the UIREspoonder module is used for distributing the UITOuch data according to a responder chain, and judging whether the UITOuch data can be processed or not according to each node of the responder chain; if the processing cannot be performed, the processing is transferred to the next response device, and the processing is repeated until the UITOuch data is processed or the next response device does not exist;
the response checking module is used for receiving the UITOuch data at the end of the responder chain, judging that the UITOuch data is not responded if the UITOuch data is received, and otherwise, treating the UITOuch data as being responded;
if the Uitouch data is processed, the specified gesture does not receive the Uitouch data, and if the Uitouch is processed by the specified gesture, it can be determined that the Uitouch data is not processed, and it can be determined that the user clicks no response;
the UIWIndow module containing the UIVIew object is configured with the corresponding appointed gesture; each uiyindow is preconfigured with a corresponding specified gesture; whether the current unresponsiveness is application unresponsiveness or gesture recognizer unresponsiveness is determined by specifying a gesture.
2. An application click non-response monitoring method, which is applied to the application click non-response monitoring system as claimed in any one of claims 1, and comprises the following steps:
acquiring UITOuch data of a user on a touch screen and a corresponding UIView object;
identifying a specified gesture; if the identification fails, the UITOuch data is sent to a UIREsponder module, otherwise, the UITOuch data is not sent;
distributing the UITOuch data according to a responder chain, and judging whether the UITOuch data can be processed per se according to each node of the responder chain; if the processing cannot be performed, the processing is transferred to the next response device, and the processing is repeated until the UITOuch data is processed or the next response device does not exist;
receiving the UITOuch data at the end of the responder chain, if so, judging that the UITOuch data is unresponsive, otherwise, treating the UITOuch data as being responded;
if the Uitouch data is processed, the specified gesture does not receive the Uitouch data, and if the Uitouch is processed by the specified gesture, it can be determined that the Uitouch data is not processed, and it can be determined that the user clicks no response;
for an application, if the application has a plurality of uisindows, adding a specified gesture to each uisindow;
if the Uitouch data is processed, the specified gesture does not receive the Uitouch data, and if the Uitouch is processed by the specified gesture, it can be determined that the Uitouch data is not processed, and it can be determined that the user clicks no response;
each uiyindow is preconfigured with a corresponding specified gesture; judging whether the current unresponsiveness is application unresponsiveness or gesture recognizer unresponsiveness through a specified gesture;
the UITouch data comprises UILable data, UITextField data and UIButton data;
each node corresponds to one uiiview, and the root node is uiyindow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310503954.3A CN116225881B (en) | 2023-05-06 | 2023-05-06 | Monitoring system and method without response by application click |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310503954.3A CN116225881B (en) | 2023-05-06 | 2023-05-06 | Monitoring system and method without response by application click |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116225881A CN116225881A (en) | 2023-06-06 |
CN116225881B true CN116225881B (en) | 2024-01-26 |
Family
ID=86577229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310503954.3A Active CN116225881B (en) | 2023-05-06 | 2023-05-06 | Monitoring system and method without response by application click |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116225881B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014190841A1 (en) * | 2013-05-31 | 2014-12-04 | Tencent Technology (Shenzhen) Company Limited | Data recovery method, device and system using same |
WO2015176672A1 (en) * | 2014-05-22 | 2015-11-26 | 北京奇虎科技有限公司 | Method and apparatus for obtaining response priority for application triggering |
CN110597450A (en) * | 2019-09-16 | 2019-12-20 | 广东小天才科技有限公司 | False touch prevention identification method and device, touch reading equipment and touch reading identification method thereof |
CN112749362A (en) * | 2019-10-31 | 2021-05-04 | 腾讯科技(深圳)有限公司 | Control creating method, device, equipment and storage medium |
CN115657924A (en) * | 2022-10-28 | 2023-01-31 | 粤港澳大湾区数字经济研究院(福田) | Touch screen event processing method and related device |
-
2023
- 2023-05-06 CN CN202310503954.3A patent/CN116225881B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014190841A1 (en) * | 2013-05-31 | 2014-12-04 | Tencent Technology (Shenzhen) Company Limited | Data recovery method, device and system using same |
WO2015176672A1 (en) * | 2014-05-22 | 2015-11-26 | 北京奇虎科技有限公司 | Method and apparatus for obtaining response priority for application triggering |
CN110597450A (en) * | 2019-09-16 | 2019-12-20 | 广东小天才科技有限公司 | False touch prevention identification method and device, touch reading equipment and touch reading identification method thereof |
CN112749362A (en) * | 2019-10-31 | 2021-05-04 | 腾讯科技(深圳)有限公司 | Control creating method, device, equipment and storage medium |
CN115657924A (en) * | 2022-10-28 | 2023-01-31 | 粤港澳大湾区数字经济研究院(福田) | Touch screen event processing method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN116225881A (en) | 2023-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108829560B (en) | Data monitoring method and device, computer equipment and storage medium | |
CN108768943B (en) | Method and device for detecting abnormal account and server | |
US10346521B2 (en) | Efficient event delegation in browser scripts | |
US20210397157A1 (en) | Robust user interface related robotic process automation | |
CN106874135B (en) | Method, device and equipment for detecting machine room fault | |
CN111309574B (en) | Information processing method, device and equipment | |
CN106528409A (en) | Application crash problem finding method and device | |
CN110727572A (en) | Buried point data processing method, device, equipment and storage medium | |
US10187264B1 (en) | Gateway path variable detection for metric collection | |
CN116015842A (en) | Network attack detection method based on user access behaviors | |
WO2013143407A1 (en) | Data processing, data collection | |
CN116225881B (en) | Monitoring system and method without response by application click | |
CN108287831B (en) | URL classification method and system and data processing method and system | |
CN111026972B (en) | Subscription data pushing method, device, equipment and storage medium in Internet of things | |
CN110995687A (en) | Cat pool equipment identification method, device, equipment and storage medium | |
CN116226256A (en) | ETL flow visualization method, device, equipment and storage medium | |
CN115495740A (en) | Virus detection method and device | |
CN102457559B (en) | Transaction processing method by using server cluster | |
CN111948967B (en) | Power data acquisition method and system based on big data | |
CN112131082A (en) | Method, device and storage medium for realizing software system state detection | |
CN113626301A (en) | Method and device for generating test script | |
CN112565271B (en) | Web attack detection method and device | |
CN107609008A (en) | A kind of data importing device and method from relevant database to Kafka based on Apache Sqoop | |
CN116974856B (en) | Method, device, equipment and medium for automatically acquiring log file | |
CN110569459A (en) | statistical method and device for webpage information |
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 |