CN109947617A - A kind of method, terminal and readable storage medium storing program for executing monitored application interface and show content - Google Patents

A kind of method, terminal and readable storage medium storing program for executing monitored application interface and show content Download PDF

Info

Publication number
CN109947617A
CN109947617A CN201910138579.0A CN201910138579A CN109947617A CN 109947617 A CN109947617 A CN 109947617A CN 201910138579 A CN201910138579 A CN 201910138579A CN 109947617 A CN109947617 A CN 109947617A
Authority
CN
China
Prior art keywords
control
target
interface
need
state change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910138579.0A
Other languages
Chinese (zh)
Other versions
CN109947617B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910138579.0A priority Critical patent/CN109947617B/en
Publication of CN109947617A publication Critical patent/CN109947617A/en
Application granted granted Critical
Publication of CN109947617B publication Critical patent/CN109947617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

  • User Interface Of Digital Computer (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application involves method, terminal and readable storage medium storing program for executing that a kind of monitoring application interface shows content, wherein this method comprises: starting target interface;During drawing to the control in the target interface, determine whether the control currently drawn is the control that need to be positioned;In the case where determining the control currently drawn is the control that need to be positioned, using the control currently drawn as target widget, and monitor whether the target widget occurs to show state change;In the case where determining generation display state change, the control information of the target widget is obtained, and send the status change notification for carrying the control information.The embodiment of the present application solves existing the technical issues of being only capable of monitoring interface, can not monitoring control, reaches the technical effect for being simple and efficient and realizing and being monitored the display state change of control.

Description

A kind of method, terminal and readable storage medium storing program for executing monitored application interface and show content
Technical field
This application involves wearable device field more particularly to a kind of method, terminals monitored application interface and show content And readable storage medium storing program for executing.
Background technique
Currently, generally requiring judgement when being adapted to the execution relevant treatment operations of third-party application and being currently up this and answer Which interface, and android system only provides the class name at the interface, but some third-party applications are at the same interface Different controls is increased in class name, to pass through the visible content different with invisible display of control.
However, because increase different controls, thus lead to not to navigate to currently showing by interface class name It is which interface.
In view of the above-mentioned problems, not yet proposing to efficiently solve scheme at present.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, this application provides a kind of prisons Application interface is listened to show method, terminal and the readable storage medium storing program for executing of content.
In a first aspect, this application provides a kind of methods that monitoring application interface shows content, comprising:
Start target interface;
During drawing to the control in the target interface, determine whether the control currently drawn is that need to determine The control of position;
In the case where determining the control currently drawn is the control that need to be positioned, using the control currently drawn as target control Part, and monitor whether the target widget occurs to show state change;
In the case where determining generation display state change, the control information of the target widget is obtained, and send carrying There is the status change notification of the control information.
In one embodiment, it in the case where determining the control currently drawn is the control that need to be positioned, will currently draw The control of system monitors whether the target widget occurs to show state change as target widget, comprising:
In the case where determining the control currently drawn is the control that need to be positioned, for the control setting prison currently drawn Listen label;
Monitor whether the target widget occurs to show state change according to monitoring label.
In one embodiment, the display state change includes following one: becoming to see this from visible state State becomes visible state from invisible mode.
In one embodiment, the control information includes at least one of: class name, the control ID, control of control Description information, control it is whether visible.
In one embodiment, starting target interface includes:
The starting to target application is received to request;
It is requested in response to the starting, starts the target application;
In the case where starting the target application, start the target interface.
In one embodiment, the target application is the application installed in android system.
In one embodiment, in the case where determining generation display state change, the control of the target widget is obtained Part information, and the status change notification for carrying the control information is sent, later, further includes:
Relevant treatment operations are executed according to the control information.
In one embodiment, it according to drawing result, is determining in the target interface with the presence or absence of the control that need to be positioned After part, further includes:
Determine whether to complete the drafting to controls all in the target interface;
The case where determining the drafting being completed to controls all in the target interface, and not finding the control that need to be positioned Under, return to instruction information, wherein the instruction information is used to indicate the control that does not find and need to position.
Second aspect, this application provides a kind of terminals, comprising:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The computer program realizes following steps when being executed by the processor:
Start target interface;
During drawing to the control in the target interface, determine whether the control currently drawn is that need to determine The control of position;
In the case where determining the control currently drawn is the control that need to be positioned, using the control currently drawn as target control Part, and monitor whether the target widget occurs to show state change;
In the case where determining generation display state change, the control information of the target widget is obtained, and send carrying There is the status change notification of the control information.
The third aspect, this application provides a kind of computer readable storage medium, on the computer readable storage medium It is stored with and monitors the program that application interface shows content, when the program for monitoring application interface display content is executed by processor Realize following steps:
Start target interface;
During drawing to the control in the target interface, determine whether the control currently drawn is that need to determine The control of position;
In the case where determining the control currently drawn is the control that need to be positioned, using the control currently drawn as target control Part, and monitor whether the target widget occurs to show state change;
In the case where determining generation display state change, the control information of the target widget is obtained, and send carrying There is the status change notification of the control information.
Above-mentioned technical proposal provided by the embodiments of the present application has the advantages that compared with prior art
This method provided by the embodiments of the present application is drawn in target interface during control in starting target interface, by Whether the control that a determination is currently drawn is the control that need to be positioned, in the case where the control for being determined as needing to position, just to this Control is monitored, to determine whether the control occurs to show state change.That is, realizing target during drawing control The identification of control, finally to realize the monitoring to target widget, so as to solve it is existing be only capable of monitoring interface, nothing The technical issues of method monitors control has reached the skill for being simple and efficient and realizing and being monitored the display state change of control Art effect.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram for the wearable device that each embodiment of the application provides;
Fig. 2 is another schematic diagram for the wearable device that each embodiment of the application provides;
Fig. 3 is the hardware structural diagram of the wearable device of each embodiment of the application;
Fig. 4 is the method flow diagram monitored application interface and show the method for content of the embodiment of the present application.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as wearable sets Standby, Intelligent bracelet, mobile phone, tablet computer, laptop, palm PC, personal digital assistant (PersonalDigital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation and pedometer etc. move Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, mobile terminal can also be made For wearable device.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 and Fig. 2 are please referred to, is the structural schematic diagram of wearable device provided by the embodiments of the present application, including can in figure Wearable device 100, referring to Fig. 3, its to realize the present invention a kind of wearable device of each embodiment hardware configuration signal Figure, the wearable device 100 may include: that RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio are defeated Out unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, connect The components such as mouth unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that in Fig. 3 The wearable device structure shown does not constitute the restriction to wearable device, wearable device may include than illustrate it is more or Less component perhaps combines certain components or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 3 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100 When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear, Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc.;Fingerprint sensor, pressure sensor, iris sensor, molecule sensor, the gyroscope, gas that can also configure as mobile phone The other sensors such as meter, hygrometer, thermometer, infrared sensor are pressed, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 3, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments, Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein Without limitation.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can For transmitting data between wearable device 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
Although Fig. 3 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned wearable mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.
Fig. 4 is the method stream that a kind of herein described server monitors that application interface shows method one embodiment of content Cheng Tu.Although this application provides as the following examples or method operating procedure shown in the drawings or terminal structure, based on normal Rule may include more or less operating procedure or module in the method or terminal without creative labor Unit.In the step of there is no necessary causalities in logicality or structure, the execution sequence of these steps or the mould of terminal Block structure is not limited to the embodiment of the present application description and execution shown in the drawings sequence or modular structure.The method or module knot The end product in practice of structure in application, can be connected according to embodiment or method shown in the drawings or modular structure into The execution of row sequence or parallel execution (such as the environment or even distributed treatment ring of parallel processor or multiple threads Border).
Specifically as shown in figure 4, the method that a kind of monitoring application interface that a kind of embodiment of the application provides shows content It may include steps of:
Step 401: starting target interface;
Step 402: during drawing to the control in the target interface, determining that the control currently drawn is The no control for that need to position;
That is, determining whether the control of current drafting is the control that need to be positioned one by one during drawing control.It can be with It is the image information for obtaining control to be identified in advance, then, object information and drawing result based on the control to be identified carry out Comparison, to determine whether the control currently drawn is the control that need to be positioned, if it does, determining that the control currently drawn to need The control of positioning, if mismatched, determining that the control currently drawn not is the control that need to be positioned.
It should be noted, however, that above-mentioned given matching way is only a kind of exemplary description, what is actually realized When.It can also be matched using other modes, the application is not especially limited this.
Step 403: in the case where determining the control currently drawn is the control that need to be positioned, the control currently drawn being made For target widget, and monitor whether the target widget occurs to show state change;
It is effectively monitored to realize, it can be in the case where determining in the presence of the control for needing to position, needs position Label is monitored in control setting;Determine whether the target widget occurs to show state change according to monitoring label.That is, being mesh It marks control and one monitoring label is set, need to monitor the display state change of the control for marking, be based on the monitoring Label may be implemented simply and efficiently to monitor.
Wherein, above-mentioned display state change may include following one: become invisible mode, by or not visible state Visible state becomes visible state.That is, control becomes invisible from visible, or become from invisible as it can be seen that all can serve as Display state changes, that is, requires to report
Step 404: in the case where determining generation display state change, the control information of the target widget is obtained, and Send the status change notification for carrying the control information.
During realization, above-mentioned control information can include but is not limited at least one of: the class name of control, Whether control ID, the description information of control, control are visible.
In upper example, in starting target interface, draw in target interface during control, determination is currently drawn one by one Whether control is the control that need to be positioned, and in the case where the control for being determined as needing to position, is just monitored the control, with true Whether the fixed control occurs to show state change.That is, the identification of target widget is realized, with final during drawing control Realize monitoring to target widget, so as to solve it is existing be only capable of monitoring interface, control can not be monitored The technical issues of, reach the technical effect for being simple and efficient and realizing and being monitored the display state change of control.
Above-mentioned steps 401 start target interface, may include:
S1: it receives the starting to target application and requests;
S2: it is requested in response to the starting, starts the target application;
S3: in the case where starting the target application, start the target interface.
Wherein, above-mentioned target application can be the application installed in android system, that is, for pacifying in android system The third-party application of dress can effectively monitor the variation of control in interface using the above method.
In one embodiment, in the case where determining generation display state change, the control of the target widget is obtained Part information, and the status change notification for carrying the control information is sent, later, phase can be executed according to the control information Close processing operation.I.e., it is possible to the operation executed needed for being executed according to above-mentioned control information.
During realization, the control in target interface is judged one by one, if all controls in target interface It is not the control that need to be positioned, then returns to instruction information, wherein the instruction information is used to indicate the control do not found and need to positioned Part.
The above method is illustrated below with reference to a specific embodiment, it should be noted, however, that the specific implementation Example does not constitute an undue limitation on the present application merely to the application is better described.
A kind of method that monitoring application interface shows content is provided in this example, may include steps of:
Step 1: when application starts some interface, when all controls at the interface are drawn, if it find that currently What is drawn is the control of required positioning, then enters step 2, otherwise enter step 5;
Step 2: increasing and monitor label;
Step 3: when visible or invisible variation occurs for the set control for monitoring label, getting the class of the control The information such as name, ID, description information, visibility, and send the changed notice of control;
Step 4: when receiving the changed notice of control, relevant treatment operations being executed according to control information;
Step 5: the control is not found in prompt.
Embodiments herein also provides the method monitored application interface and show content that can be realized in above-described embodiment The specific embodiment of a kind of electronic equipment of middle Overall Steps, the terminal specifically include following content:
Processor (processor), memory (memory), communication interface (Communications Interface) and Bus;
Wherein, the processor, memory, communication interface complete mutual communication by the bus;The processing Device is used to call the computer program in the memory, and the processor realizes above-mentioned implementation when executing the computer program The Overall Steps in the method for monitoring application interface display content in example, for example, the processor executes the computer journey Following step is realized when sequence:
Step 1: starting target interface;
Step 2: during drawing to the control in the target interface, whether the determining control currently drawn For the control that need to be positioned;
Step 3: in the case where determining the control currently drawn is the control that need to be positioned, using the control currently drawn as Target widget, and monitor whether the target widget occurs to show state change;
Step 4: in the case where determining generation display state change, obtaining the control information of the target widget, concurrently Send the status change notification for carrying the control information.
As can be seen from the above description, the embodiment of the present application in starting target interface, is drawn in target interface during control, Determine whether the control currently drawn is the control that need to be positioned one by one, it is just right in the case where the control for being determined as needing to position The control is monitored, to determine whether the control occurs to show state change.That is, realizing mesh during drawing control Mark control identification, finally to realize the monitoring to target widget, so as to solve it is existing be only capable of monitoring interface, The technical issues of can not monitoring control, has reached and has been simple and efficient what the display state change of control was monitored in realization Technical effect.
Embodiments herein also provides the method monitored application interface and show content that can be realized in above-described embodiment A kind of computer readable storage medium of middle Overall Steps is stored with computer program on the computer readable storage medium, The computer program realizes the whole monitored application interface and show the method for content in above-described embodiment when being executed by processor Step, for example, the processor realizes following step when executing the computer program:
Step 1: starting target interface;
Step 2: during drawing to the control in the target interface, whether the determining control currently drawn For the control that need to be positioned;
Step 3: in the case where determining the control currently drawn is the control that need to be positioned, using the control currently drawn as Target widget, and monitor whether the target widget occurs to show state change;
Step 4: in the case where determining generation display state change, obtaining the control information of the target widget, concurrently Send the status change notification for carrying the control information.
As can be seen from the above description, the embodiment of the present application in starting target interface, is drawn in target interface during control, Determine whether the control currently drawn is the control that need to be positioned one by one, it is just right in the case where the control for being determined as needing to position The control is monitored, to determine whether the control occurs to show state change.That is, realizing mesh during drawing control Mark control identification, finally to realize the monitoring to target widget, so as to solve it is existing be only capable of monitoring interface, The technical issues of can not monitoring control, has reached and has been simple and efficient what the display state change of control was monitored in realization Technical effect.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of method monitored application interface and show content characterized by comprising
Start target interface;
During drawing to the control in the target interface, determine whether the control currently drawn need to position Control;
In the case where determining the control currently drawn is the control that need to be positioned, using the control currently drawn as target widget, And monitor whether the target widget occurs to show state change;
In the case where determining generation display state change, the control information of the target widget is obtained, and send and carry institute State the status change notification of control information.
2. the method according to claim 1, wherein determining that the control currently drawn is the control that need to be positioned In the case of, using the control currently drawn as target widget, and monitor whether the target widget occurs to show state change, packet It includes:
In the case where determining the control currently drawn is the control that need to be positioned, mark is monitored for the control setting currently drawn Note;
Monitor whether the target widget occurs to show state change according to monitoring label.
3. the method according to claim 1, wherein the display state change includes following one: from State becomes invisible mode, becomes visible state from invisible mode.
4. the method according to claim 1, wherein the control information includes at least one of: control Whether class name, control ID, the description information of control, control are visible.
5. the method according to claim 1, wherein starting target interface includes:
The starting to target application is received to request;
It is requested in response to the starting, starts the target application;
In the case where starting the target application, start the target interface.
6. according to the method described in claim 5, it is characterized in that, the target application is answered for what is installed in android system With.
7. the method according to claim 1, wherein being obtained in the case where determining generation display state change The control information of the target widget, and the status change notification for carrying the control information is sent, later, further includes:
Relevant treatment operations are executed according to the control information.
8. method according to any one of claim 1 to 7, which is characterized in that according to drawing result, determine the mesh After demarcating in face with the presence or absence of the control that need to be positioned, further includes:
Determine whether to complete the drafting to controls all in the target interface;
In the case where determination is completed the drafting to controls all in the target interface and does not find the control that need to be positioned, Return to instruction information, wherein the instruction information is used to indicate the control that does not find and need to position.
9. a kind of terminal characterized by comprising
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step such as method described in any item of the claim 1 to 8 is realized when the computer program is executed by the processor Suddenly.
10. a kind of computer readable storage medium, which is characterized in that be stored with monitoring on the computer readable storage medium and answer With the program of contents displayed on interface, the application interface of monitoring shows that realization is as right is wanted when the program of content is executed by processor The step of monitoring application interface described in asking any one of 1 to 8 shows the method for content.
CN201910138579.0A 2019-02-25 2019-02-25 Method, terminal and readable storage medium for monitoring display content of application interface Active CN109947617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910138579.0A CN109947617B (en) 2019-02-25 2019-02-25 Method, terminal and readable storage medium for monitoring display content of application interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910138579.0A CN109947617B (en) 2019-02-25 2019-02-25 Method, terminal and readable storage medium for monitoring display content of application interface

Publications (2)

Publication Number Publication Date
CN109947617A true CN109947617A (en) 2019-06-28
CN109947617B CN109947617B (en) 2023-05-30

Family

ID=67008033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910138579.0A Active CN109947617B (en) 2019-02-25 2019-02-25 Method, terminal and readable storage medium for monitoring display content of application interface

Country Status (1)

Country Link
CN (1) CN109947617B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780967A (en) * 2019-10-30 2020-02-11 努比亚技术有限公司 Application display method, terminal and computer readable storage medium
CN111858331A (en) * 2020-07-16 2020-10-30 安徽听见科技有限公司 Method, device and equipment for detecting coverage of front-end control

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1204024A2 (en) * 2000-11-02 2002-05-08 Pascal Viguie Operating method for a computer help and support system
CN101046721A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method and device for controlling window interface display
CN104965642A (en) * 2014-05-23 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for generating a drop-down list
US9940203B1 (en) * 2015-06-11 2018-04-10 EMC IP Holding Company LLC Unified interface for cloud-based backup and restoration
CN107908443A (en) * 2017-10-10 2018-04-13 武汉极意网络科技有限公司 A kind of action listener method, smart machine and storage medium
CN108287745A (en) * 2018-02-11 2018-07-17 青岛海信电器股份有限公司 A kind of display methods and terminal device at the interfaces WebApp

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1204024A2 (en) * 2000-11-02 2002-05-08 Pascal Viguie Operating method for a computer help and support system
CN101046721A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method and device for controlling window interface display
CN104965642A (en) * 2014-05-23 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for generating a drop-down list
US9940203B1 (en) * 2015-06-11 2018-04-10 EMC IP Holding Company LLC Unified interface for cloud-based backup and restoration
CN107908443A (en) * 2017-10-10 2018-04-13 武汉极意网络科技有限公司 A kind of action listener method, smart machine and storage medium
CN108287745A (en) * 2018-02-11 2018-07-17 青岛海信电器股份有限公司 A kind of display methods and terminal device at the interfaces WebApp

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780967A (en) * 2019-10-30 2020-02-11 努比亚技术有限公司 Application display method, terminal and computer readable storage medium
CN111858331A (en) * 2020-07-16 2020-10-30 安徽听见科技有限公司 Method, device and equipment for detecting coverage of front-end control

Also Published As

Publication number Publication date
CN109947617B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN109271121A (en) A kind of application display method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109388193A (en) A kind of acquisition methods and electronic equipment of flexible display screen spread length
CN108366220A (en) A kind of video calling processing method and mobile terminal
CN109901695A (en) Display methods, mobile terminal and the computer readable storage medium of screen power saving
CN108897473A (en) A kind of interface display method and terminal
CN108595201A (en) A kind of application program update method and mobile terminal
CN109901809A (en) A kind of display control method, equipment and computer readable storage medium
CN110096203A (en) A kind of screenshot method and mobile terminal
CN110531915A (en) Screen operating method and terminal device
CN110213412A (en) A kind of display methods and terminal
CN109799912A (en) A kind of display control method, equipment and computer readable storage medium
CN109710130A (en) A kind of display methods and terminal
CN109992472A (en) A kind of interface monitoring method, terminal and computer readable storage medium
CN107766110A (en) A kind of message notification display method, terminal and computer-readable recording medium
CN109947484A (en) A kind of control method, terminal and computer readable storage medium waking up lock
CN109976844A (en) A kind of message display method and mobile terminal
CN109947617A (en) A kind of method, terminal and readable storage medium storing program for executing monitored application interface and show content
CN109144341A (en) A kind of application operating method and mobile terminal
CN109126127A (en) Game control method, dual-screen mobile terminal and computer readable storage medium
CN108540642A (en) The operating method and mobile terminal of mobile terminal
CN109947314A (en) A kind of touch controlled key processing method, terminal and computer readable storage medium
CN110213439A (en) A kind of message treatment method and terminal
CN110086929A (en) Breath screen display methods, mobile phone, wearable device and computer readable storage medium
CN109743634A (en) A kind of video playing control method and terminal

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