CN108845924A - Control response region display control method, electronic device and storage medium - Google Patents
Control response region display control method, electronic device and storage medium Download PDFInfo
- Publication number
- CN108845924A CN108845924A CN201710327383.7A CN201710327383A CN108845924A CN 108845924 A CN108845924 A CN 108845924A CN 201710327383 A CN201710327383 A CN 201710327383A CN 108845924 A CN108845924 A CN 108845924A
- Authority
- CN
- China
- Prior art keywords
- control
- response
- region
- display
- presets
- 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/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention discloses a kind of method, which includes:After the dominant open command of control response region for an application program for receiving user's sending, all click events for this application to user are detected;If detecting the click event of user, the corresponding click sensing region of the click event is determined by display system, and in the first area picture for clicking sensing Area generation presets;Determine the response control that the application program responds the click event, and the corresponding control pixel region of each response control is determined according to the configuration file of the application program, the pixel region of each control in configuration file including the application program, and the second area picture of presets is generated in the corresponding control pixel region of each response control.The invention also discloses a kind of electronic device with control response region display control program and there is medium.
Description
Technical field
The present invention relates to technical field of touch-control display, in particular to a kind of control response region display control method, electronics
Device and storage medium.
Background technique
Currently, application program (APP) exploitation, test in, in order to reach certain visual effects, some can click on area do
It is smaller or even unobvious, for some Rimless and background transparent clicks control, and developer and tester cannot be straight
The with the naked eye determination seen can click on area coordinate on the screen and size, lead to APP it is possible that following problem:It can click
There is overlapping region between control, leads to maloperation frequent occurrence;Can click on area and exploitation, different design, cause frequent occurrence
It does over again, wasting manpower and material resources;Can click on area it is too small, cause frequent occurrence invalid clicks operation.
Summary of the invention
The main object of the present invention is to provide a kind of control response region display control method, it is intended to realize in application program
Exploitation test in, can intuitively see the coordinate that can be clicked control on the screen and size, preferably find application program
There are the problem of carry out it is perfect.
To achieve the above object, control response region display control method proposed by the present invention, including step:
A, after the dominant open command of control response region for an application program for receiving user's sending, control is rung
Display control program all click events for this application to user in region are answered to detect;
If B, detecting the click event of user, control response region display control program is true by display system
The fixed corresponding click sensing region of the click event, and drawn in the first area for clicking sensing Area generation presets
Face;And
C, control response region display control program determines the response control that the application program responds the click event
Part, and the corresponding control pixel region of each response control, the configuration file are determined according to the configuration file of the application program
In include the application program each control pixel region, and generate in the corresponding control pixel region of each response control pre-
If the second area picture of form.
Preferably, the first area picture is the animation of gradual change, and/or, the second area picture is the dynamic of gradual change
It draws.
Preferably, " second area of presets is generated in the corresponding control pixel region of each response control in step C
The step of picture ", replaces with:
According to the mapping relations of predetermined control and the regional display of presets, determine that each response control is corresponding
Presets regional display, and generate corresponding presets region in the corresponding control pixel region of each response control
Picture, different controls correspond to different regional displays.
Preferably, the step C is replaced with:
Control response region display control program has analysed whether that multiple response controls respond the click event;
If there is multiple response controls to respond the click event, the analysis of control response region display control program is
The no pixel region overlapping region with the presence of multiple response controls;And
If control response region display control program determines with the presence of the pixel region overlapping region of multiple response controls
The overlapping region, of the Area generation presets in addition to the overlapping region in the pixel region of each response control
Two regional displays, and the third regional display of presets, the third regional display and second area are generated in the overlapping region
Picture is different.
Preferably, the control response region display control method further includes:
After the dominant out code of control response region for this application for receiving user's sending, control response area
Domain display control program stops all click events for this application to user and detects.
The present invention also proposes a kind of electronic device, which includes memory, processor and be stored in the storage
On device and the control response region display control program that can run on the processor, the processor execute the control and ring
, it can be achieved that following steps when answering region display control program:
A, after the dominant open command of control response region for an application program for receiving user's sending, control is rung
Display control program all click events for this application to user in region are answered to detect;
If B, detecting the click event of user, control response region display control program is true by display system
The fixed corresponding click sensing region of the click event, and drawn in the first area for clicking sensing Area generation presets
Face;And
C, control response region display control program determines the response control that the application program responds the click event
Part, and the corresponding control pixel region of each response control, the configuration file are determined according to the configuration file of the application program
In include the application program each control pixel region, and generate in the corresponding control pixel region of each response control pre-
If the second area picture of form.
Preferably, when the processor executes the control response region display control program, can also be achieved will be in step C
The step of " the second area picture that presets are generated in the corresponding control pixel region of each response control ", replaces with
Following steps:
According to the mapping relations of predetermined control and the regional display of presets, determine that each response control is corresponding
Presets regional display, and generate corresponding presets region in the corresponding control pixel region of each response control
Picture, different controls correspond to different regional displays.
Preferably, when the processor executes the control response region display control program, it can also be achieved and replace step C
It is changed to following steps:
Analyse whether that multiple response controls respond the click event;
If there is multiple response controls to respond the click event, the analysis of control response region display control program is
The no pixel region overlapping region with the presence of multiple response controls;And
If control response region display control program determines with the presence of the pixel region overlapping region of multiple response controls
The overlapping region, of the Area generation presets in addition to the overlapping region in the pixel region of each response control
Two regional displays, and the third regional display of presets, the third regional display and second area are generated in the overlapping region
Picture is different.
The present invention also proposes a kind of computer readable storage medium, and the computer-readable recording medium storage has the control
Part response region display control program, the control response region display control program can be executed by least one processor, with
Realize following steps:
A, after the dominant open command of control response region for an application program for receiving user's sending, control is rung
Display control program all click events for this application to user in region are answered to detect;
If B, detecting the click event of user, control response region display control program is true by display system
The fixed corresponding click sensing region of the click event, and drawn in the first area for clicking sensing Area generation presets
Face;And
C, control response region display control program determines the response control that the application program responds the click event
Part, and the corresponding control pixel region of each response control, the configuration file are determined according to the configuration file of the application program
In include the application program each control pixel region, and generate in the corresponding control pixel region of each response control pre-
If the second area picture of form.
The present invention is generated default by the control pixel region corresponding to the response control responded to click event
The second area picture of form, the pixel region of response control is highlighted, so that in the exploitation design or survey of application program
During examination, user can intuitively see the coordinate position and size of the control responded to click event;In this way,
It can preferably find that there are overlapping regions, control between the click on area of control in the exploitation design or test of application program
The problems such as click on area size is improper simultaneously solves, and reduces the waste done over again with manpower and material resources;Also, the present invention program is also being shielded
The first area picture of the click sensing Area generation presets of curtain, allows clear when software recorded video
Know current user's operation, the entire test process of records application program.
Detailed description of the invention
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, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
The structure shown according to these attached drawings obtains other attached drawings.
Fig. 1 is the flow diagram of one embodiment of control response region display control method of the present invention.
Fig. 2 is the flow diagram of two embodiment of control response region display control method of the present invention.
Fig. 3 is the running environment schematic diagram of one embodiment of control response region display control program of the present invention.
Fig. 4 is the structural schematic diagram of one embodiment of control response region display control program of the present invention.
Fig. 5 is the structural schematic diagram of two embodiment of control response region display control program of the present invention.
Fig. 6 is the structural schematic diagram of three embodiment of control response region display control program of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the invention.
As shown in FIG. 1, FIG. 1 is the flow diagrams of one embodiment of control response region display control method of the present invention.This
In embodiment, which includes the following steps:
Step S10, after the dominant open command of control response region for an application program for receiving user's sending,
Control response region display control program all click events for this application to user are detected.
In the present embodiment, control response region display control program can generate one in the operation interface of the application program
A dominant look facility control can issue the dominant open command of control response region by the dominant look facility control
(for example, the dominant look facility control includes opening option, user clicks the unlatching option, that is, issues the control response area
The dominant open command in domain);Control response region display control program is also possible to include that switch is opened in acoustic control, default according to receiving
Phonetic order to issue the existing open command of control response region;Etc..When control response region display control program
After receiving the dominant open command of control response region, detecting function is opened, all click events of the application program are carried out
Detecting.
Step S20, if detecting the click event of user, control response region display control program passes through display
System determines the corresponding click sensing region of the click event, and in firstth area for clicking sensing Area generation presets
Domain picture.
When control response region display control program detects a click event, which is determined by display system
The click sensing region of event on the screen, and in the first area picture of click sensing Area generation presets, it will
The click sensing region highlights;Wherein, the first area picture of the presets can be the animation of gradual change, static picture
Face or lantern slide play the picture, etc. of form.
Step S30, control response region display control program determine what the application program responded the click event
Response control, and the corresponding control pixel region of each response control is determined according to the configuration file of the application program, it is described to match
The pixel region of each control in file including the application program is set, and in the corresponding control pixel region of each response control
Generate the second area picture of presets.
Wherein, response control refers to the control responded in the application program to the click event of generation.Control is rung
Answer region display control program according to search the application program configuration file (include in the application program in the configuration file
All controls and for each control configuration pixel region), to find out the corresponding control pixel region of each response control
Domain makes each control picture to generate the second area picture of presets in the corresponding control pixel region of each response control
Plain region is shown with intuitive way.Wherein, the second area picture of the presets can be the animation, static of gradual change
Picture or lantern slide play the picture, etc. of form;The first area picture can be identical with second area picture, can also be with
It is different.
In other embodiments, the embodiment of the present invention control response region display control method is further comprising the steps of:
After the dominant out code of control response region for this application for receiving user's sending, control response area
Domain display control program stops all click events for this application to user and detects.
Control response region display control program can generate one in the operation interface of the application program and dominant check
Functionality controls can issue the dominant open command of control response region and control response region by the dominant look facility control
Dominant out code.For example, the dominant look facility control includes opening option and the off option, user clicks unlatching choosing
, the dominant open command of control response region is issued, user clicks the off option, then it is aobvious to issue the control response region
Property out code.Exploitation tester, can be by clicking dominant look facility control when needing to test the application program
Unlatching option, detect control response region display control program all click events for this application to user
It surveys;After the completion of test, control response region display control system can be made by the off option of the dominant look facility control of click
System stops all click events for this application to user and detects.
In another embodiment, can by above-described embodiment step S30 " in the corresponding control picture of each response control
The second area picture of plain Area generation presets " replaces with:
According to the mapping relations of predetermined control and the regional display of presets, determine that each response control is corresponding
Presets regional display, and generate corresponding presets region in the corresponding control pixel region of each response control
Picture, different controls correspond to different regional displays.
The regional display of control and presets in control response region display control program with the application program
Mapping table, i.e. each control of the application program have the regional display for the default formation having determined to be corresponding to it, and lead to
It crosses and searches the mapping table, determine the corresponding presets regional display of each response control, and in each response control pair
The control pixel region answered generates corresponding presets regional display;Since the corresponding regional display of the control of each response is each
It is not identical, in this way, can preferably facilitate observation of the exploitation tester to test process, in addition, ought have multiple controls pair simultaneously
The same click event of the application program is responded, can intuitively find the corresponding control pixel region of each response control it
Between coincidence situation.
As shown in Fig. 2, Fig. 2 is the flow diagram of two embodiment of control response region display control method of the present invention.?
In the present embodiment, the step S30 of above-described embodiment is replaced with:
Step S40, control response region display control program analysed whether multiple response controls to the click event into
Row response;
Step S50, if there is multiple response controls to respond the click event, control response region display control system
System analyses whether the pixel region overlapping region with the presence of multiple response controls;
Multiple (for example, two, three, four, or more) have been obtained in the analysis of control response region display control program
After response control responds the click event, control response region display control program analyzes the pixel of each response control
Whether there is overlapping region between region.For example, can be carried out by coordinate of the display system to the pixel region of each response control
Analysis, be confirmed whether there are identical coordinate points, if there is identical coordinate points, then illustrate each response control pixel region it
Between exist be overlapped, conversely, then be not present overlapping region.If analysis show that only one control is responded for the click event
When, then the second area picture of presets is generated (for example, the picture of gradual-change animation or static state in the pixel region of the response control
Face etc.) or other processing.
Step S60, if with the presence of the pixel region overlapping region of multiple response controls, control response region display control
System determines the overlapping region, the Area generation in addition to the overlapping region in the control pixel region of each response control
The second area picture of presets, and the third regional display of presets is generated in the overlapping region, which draws
Face is different from second area picture.
After control response region display control program confirms with the presence of the pixel region overlapping region of multiple response controls,
It determines the overlapping region before the pixel region of multiple response controls, the third region of presets is generated in overlapping region
Picture, the secondth area of the Area generation presets in addition to overlapping region in the control pixel region of each response control
Domain picture, wherein third regional display is different from second area picture, in this way, exploitation tester can observe directly weight
The size for closing region makes exploitation tester preferably adjust the pixel region for modifying each control.The third regional display is gradually
Animation, tableaux or the lantern slide of change play the picture etc. of form.If the analysis of control response region display control program obtains
Not responding to the pixel region of control, there are overlapping regions, then generate the of presets in the pixel region of each response control
Two regional displays or other processing.
The present invention also proposes a kind of control response region display control program.
Referring to Fig. 3, being the running environment signal of 10 preferred embodiment of control response region display control program of the present invention
Figure.
In the present embodiment, control response region display control program 10 is installed and is run in electronic device 1.Electronics dress
Setting 1 can be the calculating equipment such as desktop PC, notebook, palm PC and server.The electronic device 1 may include, but
It is not limited only to, memory 11, processor 12 and display 13.Fig. 3 illustrates only the electronic device 1 with component 11-13, still
It should be understood that, it is not required that implement all components shown, the implementation that can be substituted is more or less component.
Memory 11 can be the internal storage unit of electronic device 1 in some embodiments, such as the electronic device 1
Hard disk or memory.Memory 11 is also possible to the External memory equipment of electronic device 1, such as electronics dress in further embodiments
Set the plug-in type hard disk being equipped on 1, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, memory 11 can also be both interior including electronic device 1
Portion's storage unit also includes External memory equipment.Memory 11 is for storing the application software for being installed on electronic device 1 and all kinds of
Data, such as the program code etc. of control response region display control program 10.Memory 11 can be also used for temporarily storing
The data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), microprocessor or other data processing chips, program code or processing data for being stored in run memory 11, example
Such as execute control response region display control program 10.
Display 13 can be in some embodiments light-emitting diode display, liquid crystal display, touch-control liquid crystal display and
OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Display 13 is for being shown in
The information that is handled in electronic device 1 and for showing visual user interface, such as business customizing interface etc..Electronic device
1 component 11-13 is in communication with each other by system bus.
Referring to Fig. 4, being the functional block diagram of 10 1 embodiment of control response region display control program of the present invention.At this
In embodiment, control response region display control program 10 can be divided into one or more modules, one or more mould
Block is stored in memory 11, and performed by one or more processors (the present embodiment is processor 12), to complete this
Invention.For example, control response region display control program 10 can be divided into the generation of detecting module 101, first in Fig. 4
Module 102 and the second generation module 103.The so-called module of the present invention is the series of computation machine journey for referring to complete specific function
Sequence instruction segment, the implementation procedure than program more suitable for description control response region display control program 10 in the electronic apparatus 1,
Wherein:
Detecting module 101, for dominant being opened in the control response region for an application program for receiving user's sending
After opening instruction, all click events for this application to user are detected;
In the present embodiment, control response region display control program 10 can generate in the operation interface of the application program
One dominant look facility control can issue the dominant unlatching of the control response region by the dominant look facility control and refer to
It enables and (for example, the dominant look facility control clicks the unlatching option including opening option, user, that is, issues the control response
The dominant open command in region);Control response region display control program 10 is also possible to include that switch is opened in acoustic control, according to reception
Preset phonetic order is to issue the existing open command of control response region;Etc..When detecting module 101 receives user
After the dominant open command of control response region for an application program issued, detecting function is opened, to the application program
All click events detected.
First generation module 102 passes through display system when for detecting the click event of user in detecting module
It determines the corresponding click sensing region of the click event, and is drawn in the first area for clicking sensing Area generation presets
Face;
When detecting module 101 detects a click event, the first generation module 102 determines the point by display system
The click sensing region of event on the screen is hit, and senses the first area picture of Area generation presets in the click, with
The click sensing region is highlighted;Wherein, the first area picture of the presets can be the animation, static of gradual change
Picture or lantern slide play the picture, etc. of form.
Second generation module 103, the response control that the click event is responded for determining the application program, and root
The corresponding control pixel region of each response control is determined according to the configuration file of the application program, and including in the configuration file should
The pixel region of each control of application program, and presets are generated in the corresponding control pixel region of each response control
Second area picture.
Wherein, response control refers to the control responded in the application program to the click event of generation.Second is raw
At module 103 according to search the application program configuration file (include all controls in the application program in the configuration file
Part and the pixel region configured for each control), to find out the corresponding control pixel region of each response control, each
The corresponding control pixel region of a response control generates the second area picture of presets, makes each control pixel region with straight
The mode of sight is shown.Wherein, the second area picture of the presets can be the animation of gradual change, static picture or magic lantern
The picture, etc. of piece broadcasting form;The first area picture may be the same or different with second area picture.
Compared with prior art, this embodiment scheme is by corresponding to the response control responded to click event
Control pixel region generates the second area picture of presets, the pixel region of response control is highlighted, so that answering
With in the exploitation design or test process of program, user can intuitively see the seat of the control responded to click event
Cursor position and size;In this way, application program exploitation design or test in can preferably find control click on area it
Between the problems such as there are the click on area size of overlapping region, control is improper and solve, reduce the waste done over again with manpower and material resources.
Also, this embodiment scheme is also in the first area picture of the click sensing Area generation presets of screen, so that in software
Current user's operation, the entire test process of records application program are clear that when recorded video.
Preferably, the detecting module 101 is also used in the control for this application response for receiving user's sending
After the dominant out code in region, stops all click events for this application to user and detect.
Control response region display control program 10 can generate one in the operation interface of the application program and dominant look into
It sees functionality controls, the dominant open command of control response region and control response area can be issued by the dominant look facility control
The dominant out code in domain.For example, the dominant look facility control includes opening option and the off option, user clicks unlatching choosing
, the dominant open command of control response region is issued, user clicks the off option, then it is aobvious to issue the control response region
Property out code.Exploitation tester, can be by clicking dominant look facility control when needing to test the application program
Unlatching option, detect all click events for this application to user of detecting module 101;It is completed in test
Afterwards, detecting module 101 can be made to stop to user for the application program by the off option of the dominant look facility control of click
All click events detected.
As shown in figure 5, Fig. 5 is the structural schematic diagram of 10 2 embodiment of control response region display control program of the present invention,
In the present embodiment, second generation module 103 replaces with:
Third generation module 104, the response control that the click event is responded for determining the application program, according to
The configuration file of the application program determines the corresponding control pixel region of each response control, further according to predetermined control with
The mapping relations of the regional display of presets determine the regional display of the corresponding presets of each response control, and each
The corresponding control pixel region of a response control generates corresponding presets regional display, and different controls corresponds to different areas
Domain picture.
The regional display of control and presets in control response region display control program 10 with the application program
Mapping table, i.e. each control of the application program has the regional display for the default formation having determined to be corresponding to it,
Third generation module logical 104, which is crossed, searches the mapping table, determines the corresponding presets regional display of each response control, and
Corresponding presets regional display is generated in the corresponding control pixel region of each response control;Due to the control of each response
Corresponding regional display is different, in this way, can preferably facilitate observation of the exploitation tester to test process, in addition, working as
There are multiple controls to respond the same click event of the application program simultaneously, can intuitively find that each response control is corresponding
Control pixel region between coincidence situation.
As shown in fig. 6, Fig. 6 is the structural schematic diagram of 10 3 embodiment of control response region display control program of the present invention.
In the present embodiment, second generation module 103 replaces with the 4th generation module 105, and the 4th determining module 105 includes:
First analytical unit 1051, for having analysed whether that multiple response controls respond the click event;
Second analytical unit 1052, for analysing whether when there is multiple response controls to respond the click event
With the presence of the pixel region overlapping region of multiple response controls;
Multiple (for example, two, three, four, or more) response controls have been obtained in the analysis of the first analytical unit 1051
After responding to the click event, whether the second analytical unit 1052 is analyzed between the pixel region of each response control weight
Close region.For example, can analyze by coordinate of the display system to the pixel region of each response control, it is confirmed whether there is phase
Same coordinate points then illustrate there is coincidence between the pixel region of each response control if there is identical coordinate points, conversely,
Overlapping region is then not present.If the analysis of the first analytical unit 1051 show that only one control is responded for the click event
When, then the second area picture of presets is generated (for example, the picture of gradual-change animation or static state in the pixel region of the response control
Face etc.) or other processing.
Generation unit 1053, for when with the presence of the pixel region overlapping region of multiple response controls, then control to respond
Region display control program 10 determine the overlapping region, in the pixel region of each response control in addition to the overlapping region
Area generation presets second area picture, and the overlapping region generate presets third regional display, should
Third regional display is different from second area picture.
After the second analytical unit 1052 confirms with the presence of the pixel region overlapping region of multiple response controls, determine more
Overlapping region before the pixel region of a response control generates the third regional display of presets in overlapping region,
The second area picture of the Area generation presets in addition to overlapping region in the control pixel region of each response control,
Wherein, third regional display is different from second area picture, in this way, exploitation tester can observe directly overlapping region
Size makes exploitation tester preferably adjust the pixel region for modifying each control.The third regional display be gradual change animation,
Tableaux or lantern slide play the picture of form.The third regional display is that animation, tableaux or the lantern slide of gradual change are broadcast
Put the picture etc. of form.If the second analytical unit 1052 analyzes and does not respond to the pixel region of control there are overlapping region,
Second area picture or other processing of the generation unit 1053 in the pixel region generation presets of each response control.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of control response region display control method, which is characterized in that the control response region display control method packet
Include step:
A, after the dominant open command of control response region for an application program for receiving user's sending, control response area
Display control program all click events for this application to user in domain are detected;
If B, detecting the click event of user, control response region display control program is determined by display system should
The corresponding click sensing region of click event, and in the first area picture for clicking sensing Area generation presets;And
C, control response region display control program determines the response control that the application program responds the click event, and
The corresponding control pixel region of each response control is determined according to the configuration file of the application program, includes in the configuration file
The pixel region of each control of the application program, and presets are generated in the corresponding control pixel region of each response control
Second area picture.
2. control response region display control method as described in claim 1, which is characterized in that the first area picture is
The animation of gradual change, and/or, the second area picture is the animation of gradual change.
3. control response region display control method as described in claim 1, which is characterized in that will be " described each in step C
The corresponding control pixel region of a response control generates the second area picture of presets " the step of replace with:
According to the mapping relations of predetermined control and the regional display of presets, determine that each response control is corresponding pre-
If the regional display of form, and generate corresponding presets region in the corresponding control pixel region of each response control and draw
Face, different controls correspond to different regional displays.
4. control response region display control method as described in claim 1, which is characterized in that the step C is replaced with:
Analyse whether that multiple response controls respond the click event;
If there is multiple response controls to respond the click event, control response region display control program has been analysed whether
There are overlapping regions for the pixel region of multiple response controls;And
If control response region display control program determines that this is heavy with the presence of the pixel region overlapping region of multiple response controls
Close region, the secondth area of the Area generation presets in addition to the overlapping region in the pixel region of each response control
Domain picture, and the third regional display of presets, the third regional display and second area picture are generated in the overlapping region
It is different.
5. the control response region display control method as described in any one of Claims 1-4, which is characterized in that the party
Method further includes:
After the dominant out code of control response region for this application for receiving user's sending, control response region is aobvious
Show that control system stops all click events for this application to user and detects.
6. a kind of electronic device, which is characterized in that the electronic device includes memory, processor and is stored on the memory
And the control response region display control program that can be run on the processor, the processor execute the control response area
, it can be achieved that following steps when the display control program of domain:
A, after the dominant open command of control response region for an application program for receiving user's sending, control response area
Display control program all click events for this application to user in domain are detected;
If B, detecting the click event of user, control response region display control program is determined by display system should
The corresponding click sensing region of click event, and in the first area picture for clicking sensing Area generation presets;And
C, control response region display control program determines the response control that the application program responds the click event, and
The corresponding control pixel region of each response control is determined according to the configuration file of the application program, includes in the configuration file
The pixel region of each control of the application program, and presets are generated in the corresponding control pixel region of each response control
Second area picture.
7. electronic device as claimed in claim 6, which is characterized in that the processor executes the control response region and shows
When control system, can also be achieved will be " described to generate presets in the corresponding control pixel region of each response control in step C
Second area picture " the step of replace with following steps:
According to the mapping relations of predetermined control and the regional display of presets, determine that each response control is corresponding pre-
If the regional display of form, and generate corresponding presets region in the corresponding control pixel region of each response control and draw
Face, different controls correspond to different regional displays.
8. electronic device as claimed in claim 6, which is characterized in that the processor executes the control response region and shows
When control system, it can also be achieved and step C is replaced with into following steps:
Analyse whether that multiple response controls respond the click event;
If there is multiple response controls to respond the click event, control response region display control program has been analysed whether
There are overlapping regions for the pixel region of multiple response controls;And
If control response region display control program determines that this is heavy with the presence of the pixel region overlapping region of multiple response controls
Close region, the secondth area of the Area generation presets in addition to the overlapping region in the pixel region of each response control
Domain picture, and the third regional display of presets, the third regional display and second area picture are generated in the overlapping region
It is different.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has the control
Response region display control program, the control response region display control program can be executed by least one processor, with reality
Existing following steps:
A, after the dominant open command of control response region for an application program for receiving user's sending, control response area
Display control program all click events for this application to user in domain are detected;
If B, detecting the click event of user, control response region display control program is determined by display system should
The corresponding click sensing region of click event, and in the first area picture for clicking sensing Area generation presets;And
C, control response region display control program determines the response control that the application program responds the click event, and
The corresponding control pixel region of each response control is determined according to the configuration file of the application program, includes in the configuration file
The pixel region of each control of the application program, and presets are generated in the corresponding control pixel region of each response control
Second area picture.
10. computer readable storage medium as claimed in claim 9, which is characterized in that the step C replaces with following step
Suddenly:
Analyse whether that multiple response controls respond the click event;
If there is multiple response controls to respond the click event, control response region display control program has been analysed whether
There are overlapping regions for the pixel region of multiple response controls;And
If control response region display control program determines that this is heavy with the presence of the pixel region overlapping region of multiple response controls
Close region, the secondth area of the Area generation presets in addition to the overlapping region in the pixel region of each response control
Domain picture, and the third regional display of presets, the third regional display and second area picture are generated in the overlapping region
It is different.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710327383.7A CN108845924B (en) | 2017-05-10 | 2017-05-10 | Control response area display control method, electronic device, and storage medium |
PCT/CN2017/091356 WO2018205392A1 (en) | 2017-05-10 | 2017-06-30 | Control response area display control method, electronic apparatus, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710327383.7A CN108845924B (en) | 2017-05-10 | 2017-05-10 | Control response area display control method, electronic device, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108845924A true CN108845924A (en) | 2018-11-20 |
CN108845924B CN108845924B (en) | 2021-04-23 |
Family
ID=64104367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710327383.7A Active CN108845924B (en) | 2017-05-10 | 2017-05-10 | Control response area display control method, electronic device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108845924B (en) |
WO (1) | WO2018205392A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781644A (en) * | 2019-11-04 | 2020-02-11 | 北京联想协同科技有限公司 | File preview method, equipment and computer storage medium |
CN111580919A (en) * | 2020-05-14 | 2020-08-25 | 北京字节跳动网络技术有限公司 | View linkage processing method and device of application program and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111273971B (en) * | 2018-12-04 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Method and device for processing information in view and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050086597A1 (en) * | 1998-07-28 | 2005-04-21 | Microsoft Corporation | Web page display system |
CN101515227A (en) * | 2008-02-20 | 2009-08-26 | 联想(北京)有限公司 | Window management method and computer |
CN101630224A (en) * | 2009-08-14 | 2010-01-20 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for processing control icons on interface and touch terminal |
CN101840299A (en) * | 2010-03-18 | 2010-09-22 | 华为终端有限公司 | Touch operation method, device and mobile terminal |
CN102591570A (en) * | 2010-12-27 | 2012-07-18 | 索尼公司 | Apparatus and method for controlling graphical user interface, computer storage device |
CN103793143A (en) * | 2014-02-13 | 2014-05-14 | 宇龙计算机通信科技(深圳)有限公司 | Display method and device for user interface keys |
CN103941956A (en) * | 2013-01-21 | 2014-07-23 | 联想(北京)有限公司 | Display method and electronic device |
CN104247392A (en) * | 2012-03-06 | 2014-12-24 | 苹果公司 | Fanning user interface controls for media editing application |
US20150212923A1 (en) * | 2014-01-28 | 2015-07-30 | Kabushiki Kaisha Toshiba | Nontransitory processor readable recording medium having fault injection program recorded therein and fault injection method |
CN105788451A (en) * | 2014-12-24 | 2016-07-20 | 联想(北京)有限公司 | Electronic equipment, processing method and apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105164628B (en) * | 2013-03-14 | 2018-11-16 | 华为技术有限公司 | The lens of mobile device touch graphical effect |
CN103914260B (en) * | 2014-03-31 | 2021-03-23 | 苏州浩辰软件股份有限公司 | Control method and device for operation object based on touch screen |
CN104063673B (en) * | 2014-06-20 | 2016-12-07 | 北京奇虎科技有限公司 | A kind of method carrying out information input in a browser and browser device |
-
2017
- 2017-05-10 CN CN201710327383.7A patent/CN108845924B/en active Active
- 2017-06-30 WO PCT/CN2017/091356 patent/WO2018205392A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050086597A1 (en) * | 1998-07-28 | 2005-04-21 | Microsoft Corporation | Web page display system |
CN101515227A (en) * | 2008-02-20 | 2009-08-26 | 联想(北京)有限公司 | Window management method and computer |
CN101630224A (en) * | 2009-08-14 | 2010-01-20 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for processing control icons on interface and touch terminal |
CN101840299A (en) * | 2010-03-18 | 2010-09-22 | 华为终端有限公司 | Touch operation method, device and mobile terminal |
CN102591570A (en) * | 2010-12-27 | 2012-07-18 | 索尼公司 | Apparatus and method for controlling graphical user interface, computer storage device |
CN104247392A (en) * | 2012-03-06 | 2014-12-24 | 苹果公司 | Fanning user interface controls for media editing application |
CN103941956A (en) * | 2013-01-21 | 2014-07-23 | 联想(北京)有限公司 | Display method and electronic device |
US20150212923A1 (en) * | 2014-01-28 | 2015-07-30 | Kabushiki Kaisha Toshiba | Nontransitory processor readable recording medium having fault injection program recorded therein and fault injection method |
CN103793143A (en) * | 2014-02-13 | 2014-05-14 | 宇龙计算机通信科技(深圳)有限公司 | Display method and device for user interface keys |
CN105788451A (en) * | 2014-12-24 | 2016-07-20 | 联想(北京)有限公司 | Electronic equipment, processing method and apparatus |
Non-Patent Citations (2)
Title |
---|
EDWARDM: "Learn 2 Code with MIT App Inventor", 《HTTPS://COLDSTREAMS.COM/APPINVENTOR/2014/09/08/DISPLAY-WARNING-AND-ALERT-BOX-MESSAGES-IN-APP-INVENTOR-APPS/》 * |
JSPTA: "如何判断2个区域是否重叠", 《HTTP://CLUB.EXCELHOME.NET/THREAD-799372-1-1.HTML》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781644A (en) * | 2019-11-04 | 2020-02-11 | 北京联想协同科技有限公司 | File preview method, equipment and computer storage medium |
CN111580919A (en) * | 2020-05-14 | 2020-08-25 | 北京字节跳动网络技术有限公司 | View linkage processing method and device of application program and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018205392A1 (en) | 2018-11-15 |
CN108845924B (en) | 2021-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11650910B2 (en) | Automated testing method and apparatus, storage medium and electronic device | |
US9274742B2 (en) | Visual-symbolic control of remote devices having display-based user interfaces | |
CN103279278B (en) | A kind of method and apparatus obtaining icon details in terminal interface | |
US9246773B2 (en) | System, method, and graphical user interface for application topology mapping in hosted computing environments | |
CN104571693B (en) | Information processing method and electronic equipment | |
CN105988860B (en) | Method for executing application program and mobile device | |
CN111814885B (en) | Method, system, device and medium for managing image frames | |
US20120313962A1 (en) | Electronic device and method for generating graphical user interface thereof | |
CN104391797A (en) | GUI (graphical user interface) widget identification method and device | |
AU2018257221A1 (en) | Service processing method and device | |
US9053241B2 (en) | Scripting application with role identification | |
CN109783351A (en) | Interface detection method, apparatus and computer readable storage medium | |
CN111488109A (en) | Method, device, terminal and storage medium for acquiring control information of user interface | |
CN106020697A (en) | Control method and device for display elements | |
CN111179268B (en) | Abnormality detection method and device for vehicle-mounted terminal and vehicle-mounted terminal | |
CN108845924A (en) | Control response region display control method, electronic device and storage medium | |
CN106775182A (en) | A kind for the treatment of method and apparatus of suspension control | |
CN106101450A (en) | The compensation method of a kind of ambient light intensity and mobile terminal | |
CN113032273B (en) | Application program debugging method and device, computer equipment and storage medium | |
CN107102950A (en) | A kind of applied program testing method and device | |
CN108228065A (en) | Detect the method, apparatus and electronic equipment of UI control informations | |
CN105574150A (en) | Data processing method and device | |
US9477399B1 (en) | Automated interaction for mobile applications | |
CN107239222A (en) | The control method and terminal device of a kind of touch-screen | |
CN109542553A (en) | The information extraction method and device and storage medium of user interface UI element |
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 |