CN107491377A - Pop-up box processing method, device, terminal and computer-readable recording medium - Google Patents
Pop-up box processing method, device, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107491377A CN107491377A CN201710735305.0A CN201710735305A CN107491377A CN 107491377 A CN107491377 A CN 107491377A CN 201710735305 A CN201710735305 A CN 201710735305A CN 107491377 A CN107491377 A CN 107491377A
- Authority
- CN
- China
- Prior art keywords
- layer
- pop
- box
- description information
- drafting
- 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
Links
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention discloses a kind of pop-up box processing method, applied to field of terminal technology, this method includes:When listening to figure layer drafting event, obtain the description information for the figure layer drawn, according to the description information of figure layer judge draw figure layer whether be pop-up box interface, if the interface of pop-up box, processing logic corresponding with the description information of figure layer is then obtained, simulated operation corresponding to processing logic is performed to pop-up box.The embodiment of the invention also discloses a kind of pop-up box processing unit, terminal and computer-readable recording medium, improves the fluency to application simulation test.
Description
Technical field
The invention belongs to field of terminal technology, more particularly to a kind of pop-up box processing method, device, terminal and computer can
Read storage medium.
Background technology
Widely available with mobile intelligent terminals such as smart mobile phone, tablet personal computers, all kinds of terminal applies are using process
In can have various pop-up box situations, give user various promptings, such as low battery pop-up box, application permission pop-up box etc..
In simulating using test process, in order to which analog subscriber operation needs to use types of applications, make in test
Such pop-up box for not knowing when to eject during, it will break simulation test operation, influence the survey used application simulation
Examination.
The content of the invention
The present invention provides a kind of pop-up box processing method, device, terminal and computer-readable recording medium, in solving
Disconnected simulation test operation, the problem of influenceing the test used application simulation.
First aspect of the embodiment of the present invention provides a kind of pop-up box processing method, including:
When listening to figure layer drafting event, the description information of the figure layer of drafting is obtained;
According to the description information of the figure layer judge the drafting figure layer whether be pop-up box interface;
If the interface of the pop-up box, then processing logic corresponding with the description information of the figure layer is obtained;
Simulated operation corresponding to the processing logic is performed to the pop-up box.
Second aspect of the embodiment of the present invention provides a kind of pop-up box processing unit, including:
Acquisition module, for when listening to figure layer drafting event, obtaining the description information of the figure layer of drafting;
Judge module, for judged according to the description information of the figure layer drafting figure layer whether be pop-up box boundary
Face;
The acquisition module, if being additionally operable to the interface of the pop-up box, then obtain the description information pair with the figure layer
The processing logic answered;
Execution module, for performing simulated operation corresponding to the processing logic to the pop-up box.
The third aspect of the embodiment of the present invention provides a kind of terminal, including:
Memory, processor and storage are on a memory and the computer program that can run on a processor, its feature exist
The pop-up box processing method that first aspect of the embodiment of the present invention provides is realized when, the computing device described program.
Fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, the computer program realize the pop-up box processing method that first aspect of the embodiment of the present invention provides when being executed by processor.
It was found from the embodiments of the present invention, pop-up box processing method, device, terminal and storage provided by the invention are situated between
Matter, during the simulation test to application, terminal monitoring figure layer is drawn, and is judged whether according to the description information of the figure layer of drafting
The interface of pop-up box is being drawn, if so, the processing logic for handling the pop-up box is then obtained according to the description information of the figure layer, and it is right
The pop-up box perform the processing logic automatically corresponding to simulated operation, can avoid needing manual confirmation to perform needed for the pop-up box
Operation so that simulation test does not interrupt because of pop-up box, improves the fluency of simulation test.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention.
Fig. 1 is the schematic flow sheet for the pop-up box processing method that first embodiment of the invention provides;
Fig. 2 is the schematic flow sheet for the pop-up box processing method that second embodiment of the invention provides;
Fig. 3 is the structural representation for the pop-up box processing unit that fifth embodiment of the invention provides;
Fig. 4 is the structural representation for the pop-up box processing unit that sixth embodiment of the invention provides;
Fig. 5 shows a kind of hardware structure diagram of terminal.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality
It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Pop-up box processing method provided in an embodiment of the present invention, tested suitable for analog subscriber and apply (APPLICATION)
Scene in, the application is built in terminal.In simulation test, the figure layer of terminal monitory system is drawn, if it find that drawing
Figure layer corresponding to pop-up box, then send broadcast, default treatment progress is when capturing the broadcast, according to the figure in the broadcast
Layer information, the logic of processing pop-up box is obtained, processing logic corresponding to the description information of figure layer, and the pop-up box is performed at this
Manage simulated operation corresponding to logic so that the pop-up box is handled automatically during simulation test, after avoiding it from ejecting
Palpus artificial selection handles logic and influences the continuity of simulation test.
Terminal refers to include mobile phone, PDA (PERSONAL DIGITAL ASSISTANT), notebook computer, PC
The electronic equipments such as (PERSONAL COMPUTE) machine.
Referring to Fig. 1, Fig. 1 is the implementation process schematic diagram for the pop-up box processing method that first embodiment of the invention provides,
This method can be applied in terminal, comprise the following steps:
S101, when listening to figure layer and drawing event, obtain the description information of the figure layer of drafting;
During the simulation test to application, the monitoring module in terminal monitors figure layer and draws event, is obtained when monitoring
Take the description information of the figure layer of drafting.
The description information of figure layer is to describe the information of figure layer base attribute, it may include the identification information of figure layer, the class of figure layer
Type, level and focus attribute.
The identification information of figure layer has uniqueness, and each figure layer has unique identification information, and the identification information is as schemed
The ID (IDENTITY) of layer.
The type of figure layer can recognize that the mode of figure layer output.For example, the type of figure layer is Popup View, then it represents that should
Figure layer is pop-up box.
The level of figure layer refers to the position relationship of figure layer and other figure layers.
Focus attribute refers to whether figure layer obtains focus.
Focus attribute need to be configured in systems, be arranged to automatically obtain focus, obtain focus figure layer can by with
Family operates.
S102, judged according to the description information of the figure layer drafting figure layer whether be pop-up box interface;
Figure layer corresponding to the interface of pop-up box has fixed characteristic, according to the description information of the figure layer, it can be determined that current
The figure layer drawn whether be pop-up box interface.
If the interface of S103, the pop-up box, then processing logic corresponding with the description information of the figure layer is obtained;
If the figure layer currently drawn is the interface of pop-up box, is obtained according to the description information of the figure layer and handle the pop-up box
Handle logic.
S104, simulated operation corresponding to the processing logic is performed to the pop-up box.
According to the processing logical process pop-up box, the simulated operation to the pop-up box is performed, can skip needs user true
The step of recognizing so that simulation test is continued.
In the embodiment of the present invention, during the simulation test to application, terminal monitoring figure layer is drawn, according to the figure of drafting
The description information of layer judges whether drawing the interface of pop-up box, is somebody's turn to do if so, then obtaining processing according to the description information of the figure layer
The processing logic of pop-up box, and simulated operation corresponding to performing the processing logic automatically to the pop-up box, can avoid need to be manually true
Operation needed for the pop-up box can be performed by recognizing so that simulation test does not interrupt because of pop-up box, improves the smoothness of simulation test
Degree.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of the pop-up box processing method in second embodiment of the invention, this method
It can be applicable in terminal, this method comprises the following steps:
S201, when listening to figure layer and drawing event, obtain the description information of the figure layer of drafting;
In the simulation test to application, the monitoring module in terminal monitors figure layer and draws event, obtains and paints when monitoring
The description information of the figure layer of system.
The description information of figure layer is to describe the information of figure layer base attribute, it may include the identification information of figure layer, the class of figure layer
Type, level and focus attribute.
Whether S202, the type for judging the figure layer are preset kind, whether the level of the figure layer is the superiors and the figure
Whether the focus attribute of layer is to obtain focus, if the type of the figure layer is preset kind, the level of the figure layer is the superiors and should
For the focus attribute of figure layer to obtain focus, then the figure layer for confirming the drafting is the interface of the pop-up box;
The preset kind refers to layer type corresponding to pop-up box.It can be specifically the figure layer of Popup View types.
When the type of a figure layer is preset kind, the level of the figure layer is the superiors, and, the focus attribute of the figure layer
To obtain focus, then the figure layer for confirming the drafting is the interface of the pop-up box.
If the interface of S203, the pop-up box, then send system broadcasts, to cause default treatment progress, capturing
During the system broadcasts, the description information of the figure layer in the system broadcasts, obtain corresponding with the description information of the figure layer
Handle logic;
Terminal sends system broadcasts, the description information of the figure layer is carried in the broadcast, i.e. carry ID, the class of the figure layer
The relevant information of type, level and focus attribute.
Default treatment progress, i.e., an application program is set operationally to capture the system broadcasts in systems, according to
The description information of the figure layer in the system broadcasts, obtain processing logic corresponding with the description information of the figure layer.
Processing logic refers to the processing mode to the pop-up box, i.e., how to handle the dialog box.
The description information of the figure layer includes the identification information of figure layer, and the identification information has uniqueness.Obtain and the figure layer
Description information corresponding to processing logic specifically, specific figure layer can be confirmed according to figure layer identification information, in default figure layer
For identification information with the corresponding relation of processing critical field, searching processing critical field corresponding with the figure layer, the processing is crucial
Field is text message, implication to handle the mode of pop-up box corresponding to the figure layer, the processing critical field may include " to allow ",
" refusal " " next step " " cancellation " etc., according to the corresponding processing critical field found, determine the processing logic.
Further, after the processing logic with the figure layer is got, it can determine whether that the figure layer for drawing figure layer draws process
Whether drafting to the figure layer is completed, if not completing the drafting of the figure layer, instructing the figure layer to draw process stopping drafting should
Figure layer, if completing the drafting of the figure layer, cancel and export the figure layer.
The pop-up box can not be shown, so that simulation test flow is more smooth, therefore, be patrolled obtaining the processing to figure layer
After volume, it can judge whether the figure layer completes, unfinished then stopping is drawn, and is completed cancellation output, can be reduced system
Consumption, improve system flow degree so that simulation test smooth degree is more preferable.
It should be noted that the pop-up box can also be shown so that simulation test is true closer under being operated in user
Scene, improve the degree of accuracy of simulation test.
S204, by the default treatment progress, to button control corresponding to handling logic in the pop-up box, perform simulation
Clicking operation.
Simulated operation corresponding to the processing logic is performed to the pop-up box by the default treatment progress.
If the processing critical field is " permission ", click is simulated to the button control of the correspondence " permission " in the pop-up box
Operation, so as to continue executing with the flow after " permission " corresponding to the pop-up box.
If the processing critical field is " cancellation ", click is simulated to the button control of the correspondence " cancellation " in the pop-up box
Operation, so as to continue executing with the flow after " cancellation " corresponding to the pop-up box.
The pop-up box is handled by the default treatment progress, can skip the step of needing user to confirm so that simulation is surveyed
Examination is continued.
In the embodiment of the present invention, during the simulation test to application, terminal monitoring figure layer is drawn, according to the figure of drafting
The description information of layer judges whether drawing the interface of pop-up box, is somebody's turn to do if so, then obtaining processing according to the description information of the figure layer
The processing logic of pop-up box, and simulated operation corresponding to performing the processing logic automatically to the pop-up box, can avoid need to be manually true
Operation needed for the pop-up box can be performed by recognizing so that simulation test does not interrupt because of pop-up box, improves the smoothness of simulation test
Degree.
Refer to Fig. 3, Fig. 3 is the structural representation of pop-up box processing unit in third embodiment of the invention, the pop-up box
Processing unit can be built in terminal, for performing the pop-up box processing method in above-mentioned Fig. 1, embodiment illustrated in fig. 2, the ejection
Frame processing unit includes:Acquisition module 301, judge module 302 and execution module 303.
Acquisition module 301, for when listening to figure layer drafting event, obtaining the description information of the figure layer of drafting;
During the simulation test to application, the monitoring module in terminal monitors figure layer and draws event, is obtained when monitoring
Take the description information of the figure layer of drafting.
The description information of figure layer is to describe the information of figure layer base attribute, it may include the identification information of figure layer, the class of figure layer
Type, level and focus attribute.
The identification information of figure layer has uniqueness, and each figure layer has unique identification information, and the identification information is as schemed
The ID of layer.
The type of figure layer can recognize that the mode of figure layer output.For example, the type of figure layer is Popup View, then it represents that should
Figure layer is pop-up box.
The level of figure layer refers to the position relationship of figure layer and other figure layers.
Focus attribute refers to whether figure layer obtains focus.
Focus attribute need to be configured in systems, be arranged to automatically obtain focus, obtain focus figure layer can by with
Family operates.
Judge module 302, for judged according to the description information of the figure layer drafting figure layer whether be pop-up box boundary
Face;
Acquisition module 301, if being additionally operable to the interface of the pop-up box, then obtain place corresponding with the description information of the figure layer
Manage logic;
Execution module 303, for performing simulated operation corresponding to the processing logic to the pop-up box.
The details of the present embodiment not to the greatest extent, refers to the description of earlier figures 1, embodiment illustrated in fig. 2, here is omitted.
In the embodiment of the present invention, during the simulation test to application, terminal monitoring figure layer is drawn, according to the figure of drafting
The description information of layer judges whether drawing the interface of pop-up box, is somebody's turn to do if so, then obtaining processing according to the description information of the figure layer
The processing logic of pop-up box, and simulated operation corresponding to performing the processing logic automatically to the pop-up box, can avoid need to be manually true
Operation needed for the pop-up box can be performed by recognizing so that simulation test does not interrupt because of pop-up box, improves the smoothness of simulation test
Degree.
Refer to Fig. 4, Fig. 4 is the structural representation of pop-up box processing unit in fourth embodiment of the invention, the pop-up box
Processing unit can be built in terminal, for performing the pop-up box processing method in above-mentioned Fig. 1~embodiment illustrated in fig. 2, the ejection
Frame processing unit and the difference of Fig. 3 shown devices are:
Acquisition module 301, if specifically for the interface of the pop-up box, then system broadcasts are sent, to cause default place
Reason process, when capturing the system broadcasts, the description information of the figure layer in the system broadcasts, obtain and the figure layer
Processing logic corresponding to description information.
Default treatment progress, i.e., an application program is set operationally to capture the system broadcasts in systems, according to
The description information of the figure layer in the system broadcasts, obtain processing logic corresponding with the description information of the figure layer.
Processing logic refers to the processing mode to the pop-up box, i.e., how to handle the dialog box.
The description information of the figure layer includes the identification information of figure layer, in addition to the type of the figure layer, level and focus category
Property.
Acquisition module 301 includes:
Search submodule 3011, for the identification information according to the figure layer, identification information and processing in default figure layer
In the corresponding relation of critical field, processing critical field corresponding with the figure layer is searched;
The processing critical field is text message, and implication to handle the mode of pop-up box corresponding to the figure layer, close by the processing
Key field may include " to allow ", " refusal " " next step " " cancellation " etc..
Determination sub-module 3012, for determining the processing logic according to the corresponding processing critical field.
Judge module 302 includes:
Judging submodule 3021, for judge the figure layer type whether be preset kind, the figure layer level whether be
Whether the focus attribute of the superiors and the figure layer is to obtain focus;
Submodule 3022 is confirmed, if the type for the figure layer is preset kind, the level of the figure layer is the superiors and should
For the focus attribute of figure layer to obtain focus, then the figure layer for confirming the drafting is the interface of the pop-up box.
The preset kind refers to layer type corresponding to pop-up box.It can be specifically the figure layer of Popup View types.
Further, execution module 303, it is additionally operable to, by the default treatment progress, patrol the processing in the pop-up box
Button control corresponding to volume, perform simulation clicking operation;
If for example, the processing critical field is " permission ", to the button control mould of the correspondence " permission " in the pop-up box
Intend clicking operation, so as to continue executing with the flow after " permission " corresponding to the pop-up box.
If the processing critical field is " cancellation ", click is simulated to the button control of the correspondence " cancellation " in the pop-up box
Operation, so as to continue executing with the flow after " cancellation " corresponding to the pop-up box.
The pop-up box is handled by the default treatment progress, can skip the step of needing user to confirm so that simulation is surveyed
Examination is continued.
Judge module 302, it is additionally operable to judge that figure layer draws the drafting whether process completes the figure layer;
The device can further include:
Processing module 401, if the drafting for not completing the figure layer, instruct the figure layer to draw process and stop drawing behaviour
Make;If completing the drafting of the figure layer, cancel and export the figure layer.
The pop-up box can not be shown, so that simulation test flow is more smooth, therefore, be patrolled obtaining the processing to figure layer
After volume, it can judge whether the figure layer completes, unfinished then stopping is drawn, and is completed cancellation output, can be reduced system
Consumption, improve system flow degree so that simulation test smooth degree is more preferable.
The details of the present embodiment not to the greatest extent, refers to description of the earlier figures 1 to embodiment illustrated in fig. 3, here is omitted.
In the embodiment of the present invention, during the simulation test to application, terminal monitoring figure layer is drawn, according to the figure of drafting
The description information of layer judges whether drawing the interface of pop-up box, is somebody's turn to do if so, then obtaining processing according to the description information of the figure layer
The processing logic of pop-up box, and simulated operation corresponding to performing the processing logic automatically to the pop-up box, can avoid need to be manually true
Operation needed for the pop-up box can be performed by recognizing so that simulation test does not interrupt because of pop-up box, improves the smoothness of simulation test
Degree.
Referring to Fig. 5, Fig. 5 is terminal hardware structural representation provided in an embodiment of the present invention.
Terminal described in the present embodiment, including:
Memory 51, processor 52 and the computer program that can be run on memory 51 and on a processor is stored in, located
Reason device realizes the pop-up box processing method described in 1~embodiment illustrated in fig. 2 of earlier figures when performing described program.
Further, the terminal also includes:
At least one input equipment 53;At least one output equipment 54.
Above-mentioned memory 51, the input equipment 53 of processor 52 and output equipment 54 are connected by bus 55.
Wherein, input equipment 53 concretely camera, contact panel, physical button or mouse etc..Output equipment
54 concretely display screens.
Memory 51 can be high random access memory body (RAM, Random Access Memory) memory, also may be used
For non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 51 is used for one group of storage can
Configuration processor code, processor 52 couple with memory 51.
Further, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, the computer-readable storage
Medium can be disposed in the terminal in the various embodiments described above, and the computer-readable recording medium can be shown in earlier figures 5
Memory in embodiment.Computer program is stored with the computer-readable recording medium, when the program is executed by processor
Realize the pop-up box processing method described in 1~embodiment illustrated in fig. 2 of earlier figures.Further, the computer can storage medium
Can also be USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that each functional module in each embodiment of the present invention can be integrated in a processing module
In or modules be individually physically present, can also two or more modules be integrated in a module.It is above-mentioned
Integrated module can both be realized in the form of hardware, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody.
It should be noted that for foregoing each method embodiment, in order to which simplicity describes, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
It is to pop-up box processing method provided by the present invention, device, terminal and computer-readable recording medium above
Description, for those skilled in the art, according to the thought of the embodiment of the present invention, in specific embodiments and applications
It will change, to sum up, this specification content should not be construed as limiting the invention.
Claims (12)
1. a kind of pop-up box processing method, it is characterised in that methods described includes:
When listening to figure layer drafting event, the description information of the figure layer of drafting is obtained;
According to the description information of the figure layer judge the drafting figure layer whether be pop-up box interface;
If the interface of the pop-up box, then processing logic corresponding with the description information of the figure layer is obtained;
Simulated operation corresponding to the processing logic is performed to the pop-up box.
2. according to the method for claim 1, it is characterised in that if the interface of the pop-up box, then obtain and institute
Stating processing logic corresponding to the description information of figure layer includes:
If the interface of the pop-up box, then send system broadcasts, to cause default treatment progress capturing the system
During broadcast, the description information of the figure layer in the system broadcasts, obtain corresponding with the description information of the figure layer
Handle logic.
3. according to the method for claim 2, it is characterised in that the mark that the description information of the figure layer includes figure layer is believed
Cease, then acquisition processing logic corresponding with the description information of the figure layer specifically includes:
According to the identification information of the figure layer, the identification information of default figure layer with the corresponding relation of processing critical field,
Search processing critical field corresponding with the figure layer;
The processing logic is determined according to the corresponding processing critical field.
4. according to the method described in any one of claims 1 to 3, it is characterised in that the description information of the figure layer also includes institute
The type, level and focus attribute of figure layer are stated, the description information according to the figure layer judges that the figure layer of the drafting is
The no interface for pop-up box includes:
Whether the type for judging the figure layer is preset kind, whether the level of the figure layer is the superiors and the figure layer
Whether focus attribute is to obtain focus;
If the focus attribute that the type of the figure layer is preset kind, the level of the figure layer is the superiors and the figure layer is obtains
Focus is obtained, then the figure layer for confirming the drafting is the interface of the pop-up box.
5. according to the method for claim 4, it is characterised in that described corresponding to the pop-up box execution processing logic
Simulated operation include:
By the default treatment progress, to button control corresponding to processing logic described in the pop-up box, simulation is performed
Clicking operation.
6. according to the method for claim 5, it is characterised in that obtain processing corresponding with the description information of the figure layer and patrol
After volume, in addition to:
Judge that figure layer draws the drafting whether process completes the figure layer;
If not completing the drafting of the figure layer, instruct the figure layer to draw process and stop drawing operation;
If completing the drafting of the figure layer, cancel and export the figure layer.
7. a kind of pop-up box processing unit, it is characterised in that described device includes:
Acquisition module, for when listening to figure layer drafting event, obtaining the description information of the figure layer of drafting;
Judge module, for judged according to the description information of the figure layer drafting figure layer whether be pop-up box interface;
The acquisition module, if being additionally operable to the interface of the pop-up box, then obtain corresponding with the description information of the figure layer
Handle logic;
Execution module, for performing simulated operation corresponding to the processing logic to the pop-up box.
8. device according to claim 7, it is characterised in that the acquisition module, if specifically for the pop-up box
Interface, then system broadcasts are sent, to cause default treatment progress when capturing the system broadcasts, according to the system
The description information of the figure layer in broadcast, obtain processing logic corresponding with the description information of the figure layer.
9. device according to claim 8, it is characterised in that the mark that the description information of the figure layer includes figure layer is believed
Breath, then acquisition module includes:
Submodule is searched, for the identification information according to the figure layer, in identification information and the processing keyword of default figure layer
In the corresponding relation of section, processing critical field corresponding with the figure layer is searched;
Determination sub-module, for determining the processing logic according to the corresponding processing critical field;
The description information of the figure layer also includes type, level and the focus attribute of the figure layer, then the judge module bag
Include:
Judging submodule, for judge the figure layer type whether be preset kind, the figure layer level whether be most
Whether layer and the focus attribute of the figure layer are to obtain focus;
Submodule is confirmed, if the type for the figure layer is preset kind, the level of the figure layer is the superiors and the figure
For the focus attribute of layer to obtain focus, then the figure layer for confirming the drafting is the interface of the pop-up box.
10. device according to claim 9, it is characterised in that
The execution module, it is additionally operable to by the default treatment progress, it is corresponding to handling logic described in the pop-up box
Button control, perform simulation clicking operation;
The judge module, it is additionally operable to judge that figure layer draws the drafting whether process completes the figure layer;
Described device also includes:
Processing module, if the drafting for not completing the figure layer, instruct the figure layer to draw process and stop drawing operation;If
The drafting of the figure layer is completed, then cancels exporting the figure layer.
11. a kind of terminal, including:Memory, processor and storage are on a memory and the computer that can run on a processor
Program, it is characterised in that realized during the computing device described program at the pop-up box described in any one of claim 1 to 6
Reason method.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program
The pop-up box processing method described in any one of claim 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710735305.0A CN107491377B (en) | 2017-08-24 | 2017-08-24 | Popup frame processing method, device, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710735305.0A CN107491377B (en) | 2017-08-24 | 2017-08-24 | Popup frame processing method, device, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107491377A true CN107491377A (en) | 2017-12-19 |
CN107491377B CN107491377B (en) | 2020-11-20 |
Family
ID=60650914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710735305.0A Active CN107491377B (en) | 2017-08-24 | 2017-08-24 | Popup frame processing method, device, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107491377B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040153830A1 (en) * | 2002-09-30 | 2004-08-05 | Ensco, Inc. | Method and system for object level software testing |
US20040255269A1 (en) * | 2003-06-12 | 2004-12-16 | Santori Michael L. | Automatically configuring a graphical user interface element to bind to a graphical program |
US20110029604A1 (en) * | 2002-08-27 | 2011-02-03 | Intel Corporation | User interface to facilitate exchanging files among processor-based devices |
CN104484273A (en) * | 2014-12-19 | 2015-04-01 | 广州博冠信息科技有限公司 | Test method for application program, device and system |
CN105159545A (en) * | 2015-09-30 | 2015-12-16 | 北京奇虎科技有限公司 | Method and device for processing popup box on intelligent terminal for test |
CN105573911A (en) * | 2015-12-10 | 2016-05-11 | 北京奇虎科技有限公司 | Application popup window processing method and apparatus |
CN105786687A (en) * | 2014-12-22 | 2016-07-20 | 博雅网络游戏开发(深圳)有限公司 | Mobile application test method and device |
-
2017
- 2017-08-24 CN CN201710735305.0A patent/CN107491377B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110029604A1 (en) * | 2002-08-27 | 2011-02-03 | Intel Corporation | User interface to facilitate exchanging files among processor-based devices |
US20040153830A1 (en) * | 2002-09-30 | 2004-08-05 | Ensco, Inc. | Method and system for object level software testing |
US20040255269A1 (en) * | 2003-06-12 | 2004-12-16 | Santori Michael L. | Automatically configuring a graphical user interface element to bind to a graphical program |
CN104484273A (en) * | 2014-12-19 | 2015-04-01 | 广州博冠信息科技有限公司 | Test method for application program, device and system |
CN105786687A (en) * | 2014-12-22 | 2016-07-20 | 博雅网络游戏开发(深圳)有限公司 | Mobile application test method and device |
CN105159545A (en) * | 2015-09-30 | 2015-12-16 | 北京奇虎科技有限公司 | Method and device for processing popup box on intelligent terminal for test |
CN105573911A (en) * | 2015-12-10 | 2016-05-11 | 北京奇虎科技有限公司 | Application popup window processing method and apparatus |
Non-Patent Citations (1)
Title |
---|
FOREVREHAILONG: "android开发popupwindow判断是否弹出", 《HTTPS://BLOG.CSDN.NET/FOREVREHAILONG/ARTICLE/DETAILS/77162614》 * |
Also Published As
Publication number | Publication date |
---|---|
CN107491377B (en) | 2020-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108416003A (en) | A kind of picture classification method and device, terminal, storage medium | |
CN104793875A (en) | Application screen splitting method and device and intelligent terminal | |
CN106201427A (en) | A kind of application program launching method and terminal unit | |
CN105843637A (en) | Application program classification method and user terminal | |
CN112286485B (en) | Method and device for controlling application through voice, electronic equipment and storage medium | |
CN103870199A (en) | Method for recognizing user operation mode on handheld device and handheld device | |
CN107729836A (en) | Face identification method and Related product | |
CN105264507A (en) | Apparatus and method of recognizing external device in a communication system | |
CN104731696A (en) | Method of locating bug in procedure code and relevant device | |
CN106598530A (en) | Display panel configuration method and device | |
CN104267922A (en) | Information processing method and electronic equipment | |
CN105302619A (en) | Information processing method and device and electronic equipment | |
CN106326120A (en) | Regression testing method and device for application software and electronic equipment | |
CN113568833A (en) | Test case determination method and device, computer equipment and readable storage medium | |
CN110046009B (en) | Recording method, recording device, server and readable storage medium | |
CN105468716A (en) | Picture search device and method, and terminal | |
CN104751350A (en) | Information display method and terminal | |
CN112835497A (en) | Method and device for quickly entering electronic whiteboard and storage medium | |
CN109085983A (en) | Method of controlling operation thereof, device, storage medium and electronic equipment | |
CN103076971B (en) | The process management method of mobile terminal and mobile terminal | |
CN107679222A (en) | Image processing method, mobile terminal and computer-readable recording medium | |
CN104750401A (en) | Touch method and related device as well as terminal equipment | |
CN107491377A (en) | Pop-up box processing method, device, terminal and computer-readable recording medium | |
CN114237182B (en) | Robot scheduling method and system | |
CN115700845A (en) | Face recognition model training method, face recognition device and related 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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |