CN108845924B - Control response area display control method, electronic device, and storage medium - Google Patents

Control response area display control method, electronic device, and storage medium Download PDF

Info

Publication number
CN108845924B
CN108845924B CN201710327383.7A CN201710327383A CN108845924B CN 108845924 B CN108845924 B CN 108845924B CN 201710327383 A CN201710327383 A CN 201710327383A CN 108845924 B CN108845924 B CN 108845924B
Authority
CN
China
Prior art keywords
area
response
control
display control
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710327383.7A
Other languages
Chinese (zh)
Other versions
CN108845924A (en
Inventor
何兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710327383.7A priority Critical patent/CN108845924B/en
Priority to PCT/CN2017/091356 priority patent/WO2018205392A1/en
Publication of CN108845924A publication Critical patent/CN108845924A/en
Application granted granted Critical
Publication of CN108845924B publication Critical patent/CN108845924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing 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 invention discloses a method, which comprises the following steps: after receiving a control response region explicit opening instruction which is sent by a user and aims at an application program, detecting all click events of the user aiming at the application program; if a click event of a user is detected, determining a click sensing area corresponding to the click event through a display system, and generating a first area picture in a preset form in the click sensing area; determining response controls of the application program responding to the click events, determining control pixel areas corresponding to the response controls according to configuration files of the application program, wherein the configuration files comprise the pixel areas of the controls of the application program, and generating second area pictures in a preset form in the control pixel areas corresponding to the response controls. The invention also discloses an electronic device with the control response area display control system and a medium.

Description

Control response area display control method, electronic device, and storage medium
Technical Field
The present invention relates to the field of touch display technologies, and in particular, to a control response area display control method, an electronic device, and a storage medium.
Background
At present, in the development and test of an application program (APP), in order to achieve certain visual effects, some clickable areas are made smaller or even unobvious, and for some clickable controls without borders and with transparent backgrounds, developers and testers cannot visually determine the coordinates and the sizes of the clickable areas on a screen by naked eyes, so that the APP may have the following problems: overlapping areas exist among the clickable controls, so that misoperation often occurs; the clickable area is not consistent with development and design, so that rework is often generated and manpower and material resources are wasted; the clickable area is too small, resulting in invalid click operations often occurring.
Disclosure of Invention
The invention mainly aims to provide a control response area display control method, and aims to realize that the coordinates and the size of a clickable control on a screen can be visually seen in the development and test of an application program, so that the problems of the application program can be better found and improved.
In order to achieve the above object, the method for controlling display of a control response area provided by the present invention comprises the steps of:
A. after receiving a control response region explicit opening instruction which is sent by a user and aims at an application program, a control response region display control system detects all click events of the user aiming at the application program;
B. if a click event of a user is detected, the control response region display control system determines a click sensing region corresponding to the click event through the display system, and generates a first region picture in a preset form in the click sensing region; and
C. and the control response area display control system determines a response control of the application program responding to the click event, determines a control pixel area corresponding to each response control according to a configuration file of the application program, wherein the configuration file comprises the pixel area of each control of the application program, and generates a second area picture in a preset form in the control pixel area corresponding to each response control.
Preferably, the first area picture is a gradually changed animation, and/or the second area picture is a gradually changed animation.
Preferably, in the step C, "a second area picture in a preset form is generated in a control pixel area corresponding to each response control" is replaced with:
and determining the area picture in the preset form corresponding to each response control according to the mapping relation between the predetermined control and the area picture in the preset form, and generating the corresponding area picture in the preset form in the control pixel area corresponding to each response control, wherein different controls correspond to different area pictures.
Preferably, the step C is replaced by:
the control response area display control system analyzes whether a plurality of response controls respond to the click event;
if a plurality of response controls respond to the click event, the control response area display control system analyzes whether the pixel areas of the plurality of response controls have overlapping areas; and
if the pixel areas of a plurality of response controls have the overlapped area, the control response area display control system determines the overlapped area, generates a second area picture in a preset form in the area except the overlapped area in the pixel area of each response control, and generates a third area picture in the preset form in the overlapped area, wherein the third area picture is different from the second area picture.
Preferably, the control response region display control method further includes:
and after receiving a control response region explicit closing instruction which is sent by the user and aims at the application program, the control response region display control system stops detecting all click events of the user aiming at the application program.
The invention further provides an electronic device, which comprises a memory, a processor and a control response area display control system which is stored on the memory and can run on the processor, wherein when the processor executes the control response area display control system, the following steps can be realized:
A. after receiving a control response region explicit opening instruction which is sent by a user and aims at an application program, a control response region display control system detects all click events of the user aiming at the application program;
B. if a click event of a user is detected, the control response region display control system determines a click sensing region corresponding to the click event through the display system, and generates a first region picture in a preset form in the click sensing region; and
C. and the control response area display control system determines a response control of the application program responding to the click event, determines a control pixel area corresponding to each response control according to a configuration file of the application program, wherein the configuration file comprises the pixel area of each control of the application program, and generates a second area picture in a preset form in the control pixel area corresponding to each response control.
Preferably, when the processor executes the control response region display control system, the step of "generating a second region picture in a preset form in the control pixel region corresponding to each response control" in step C may be replaced by the following step:
and determining the area picture in the preset form corresponding to each response control according to the mapping relation between the predetermined control and the area picture in the preset form, and generating the corresponding area picture in the preset form in the control pixel area corresponding to each response control, wherein different controls correspond to different area pictures.
Preferably, when the processor executes the control response region display control system, the step C may be replaced by the following step:
analyzing whether a plurality of response controls respond to the click event;
if a plurality of response controls respond to the click event, the control response area display control system analyzes whether the pixel areas of the plurality of response controls have overlapping areas; and
if the pixel areas of a plurality of response controls have the overlapped area, the control response area display control system determines the overlapped area, generates a second area picture in a preset form in the area except the overlapped area in the pixel area of each response control, and generates a third area picture in the preset form in the overlapped area, wherein the third area picture is different from the second area picture.
The present invention also provides a computer-readable storage medium storing the control-responsive-region display control system, the control-responsive-region display control system being executable by at least one processor to implement the steps of:
A. after receiving a control response region explicit opening instruction which is sent by a user and aims at an application program, a control response region display control system detects all click events of the user aiming at the application program;
B. if a click event of a user is detected, the control response region display control system determines a click sensing region corresponding to the click event through the display system, and generates a first region picture in a preset form in the click sensing region; and
C. and the control response area display control system determines a response control of the application program responding to the click event, determines a control pixel area corresponding to each response control according to a configuration file of the application program, wherein the configuration file comprises the pixel area of each control of the application program, and generates a second area picture in a preset form in the control pixel area corresponding to each response control.
According to the invention, the second area picture in the preset form is generated in the control pixel area corresponding to the response control responding to the click event, and the pixel area of the response control is highlighted, so that a user can visually see the coordinate position and the size of the control responding to the click event in the development design or test process of an application program; therefore, the problems of overlapping areas among the clicking areas of the controls, improper sizes of the clicking areas of the controls and the like can be better found in the development design or test of the application program, and the problems are solved, so that the waste of rework and manpower and material resources is reduced; in addition, the scheme of the invention also generates a first area picture in a preset form in the click sensing area of the screen, so that the current user operation can be clearly known when the software records the video, and the whole test process of the application program is recorded.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a control response area display control method according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a control response area display control method according to a second embodiment of the present invention.
FIG. 3 is a schematic diagram of an operating environment of a control response area display control system according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a control response area display control system according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a control response area display control system according to a second embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a control response area display control system according to three embodiments of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, fig. 1 is a schematic flowchart of a control response area display control method according to an embodiment of the present invention. In this embodiment, the control response area display control method includes the following steps:
in step S10, after receiving a control response region explicit open instruction for an application sent by a user, the control response region display control system detects all click events of the user for the application.
In this embodiment, the control response region display control system may generate an explicit viewing function control on the operation interface of the application program, and may send an explicit opening instruction of the control response region through the explicit viewing function control (for example, the explicit viewing function control includes an opening option, and a user clicks the opening option, that is, sends the explicit opening instruction of the control response region); the control response area display control system can also comprise a voice control starting switch, and sends out the current starting instruction of the control response area according to a received preset voice instruction; and so on. And when the control response area display control system receives the explicit opening instruction of the control response area, starting a detection function and detecting all click events of the application program.
In step S20, if a click event of the user is detected, the control response area display control system determines a click sensing area corresponding to the click event through the display system, and generates a first area picture in a preset form in the click sensing area.
When the control response area display control system detects a click event, determining a click sensing area of the click event on a screen through the display system, and generating a first area picture in a preset form in the click sensing area so as to highlight the click sensing area; wherein the preset form of the first area screen may be a gradual animation, a still screen, or a slide show form screen, etc.
Step S30, the control response area display control system determines a response control that the application program responds to the click event, and determines a control pixel area corresponding to each response control according to a configuration file of the application program, where the configuration file includes the pixel area of each control of the application program, and generates a second area picture in a preset form in the control pixel area corresponding to each response control.
The response control refers to a control responding to the click event in the application program. The control response area display control system finds out the control pixel area corresponding to each response control according to a configuration file (the configuration file comprises all the controls in the application and the pixel area configured for each control) of the application, and generates a second area picture in a preset form in the control pixel area corresponding to each response control, so that each control pixel area is displayed in an intuitive mode. Wherein, the second area picture in the preset form can be a gradual animation, a static picture or a picture in a slide show form, etc.; the first area screen and the second area screen may be the same or different.
In other embodiments, the control response area display control method of this embodiment further includes the following steps:
and after receiving a control response region explicit closing instruction which is sent by the user and aims at the application program, the control response region display control system stops detecting all click events of the user aiming at the application program.
The control response region display control system can generate an explicit viewing function control on an operation interface of the application program, and can send a control response region explicit opening instruction and a control response region explicit closing instruction through the explicit viewing function control. For example, the explicit viewing function control comprises an open option and a close option, the user clicks the open option to send an explicit open instruction of the control response region, and the user clicks the close option to send an explicit close instruction of the control response region. When a development tester needs to test the application program, the development tester can detect all click events of a user for the application program by clicking an opening option of an explicit viewing function control so that a control response area display control system can detect all click events of the user; after the test is finished, the closing option of the explicit viewing function control can be clicked, so that the control response area display control system stops detecting all click events of the user for the application program.
In another embodiment, the step S30 of the above embodiment that "generate the second area picture in the preset form in the control pixel area corresponding to each response control" may be replaced with:
and determining the area picture in the preset form corresponding to each response control according to the mapping relation between the predetermined control and the area picture in the preset form, and generating the corresponding area picture in the preset form in the control pixel area corresponding to each response control, wherein different controls correspond to different area pictures.
The control response area display control system is provided with a mapping relation table of the control of the application program and an area picture in a preset form, namely each control of the application program has a determined area picture formed in a preset manner corresponding to the area picture, the preset form area picture corresponding to each response control is determined by searching the mapping relation table, and the corresponding preset form area picture is generated in the control pixel area corresponding to each response control; in addition, when a plurality of controls respond to the same click event of the application program, the coincidence condition between the control pixel regions corresponding to the response controls can be visually found.
As shown in fig. 2, fig. 2 is a schematic flowchart of a control response area display control method according to a second embodiment of the present invention. In the present embodiment, step S30 of the above embodiment is replaced with:
step S40, the control response area display control system analyzes whether a plurality of response controls respond to the click event;
step S50, if there are multiple response controls responding to the click event, the control response area display control system analyzes whether there is overlapping area in the pixel area of multiple response controls;
after the control response area display control system analyzes that a plurality of (e.g., two, three, four, or more) response controls respond to the click event, the control response area display control system analyzes whether there is an overlap area between the pixel areas of the response controls. For example, the coordinates of the pixel regions of the respective response controls may be analyzed by the display system to determine whether there are the same coordinate points, and if there are the same coordinate points, it indicates that there is an overlap between the pixel regions of the respective response controls, otherwise, there is no overlap region. If only one control is responded to the click event, a second area picture (for example, a gradual-change animation or a static picture) in a preset form or other processing is generated in the pixel area of the response control.
Step S60, if there is an overlapping area in the pixel areas of multiple response controls, the control response area display control system determines the overlapping area, generates a second area screen in a preset form in the area except the overlapping area in the control pixel area of each response control, and generates a third area screen in a preset form in the overlapping area, where the third area screen is different from the second area screen.
After the control response area display control system confirms that the pixel areas of the multiple response controls have the overlapped areas, the overlapped areas in front of the pixel areas of the multiple response controls are determined, a third area picture in a preset form is generated in the overlapped areas, and second area pictures in a preset form are generated in the areas, except the overlapped areas, in the control pixel areas of the response controls, wherein the third area picture is different from the second area picture, so that a development tester can directly observe the size of the overlapped areas, and the development tester can better adjust and modify the pixel areas of the controls. The third area picture is a gradually changing animation, a static picture or a picture in a slide show form, and the like. And if the control response area display control system analyzes that the pixel areas without response controls have overlapping areas, generating a second area picture in a preset form or performing other processing in the pixel areas of the response controls.
The invention further provides a control response area display control system.
Please refer to fig. 3, which is a schematic diagram illustrating an operating environment of the control response area display control system 10 according to the preferred embodiment of the present invention.
In the present embodiment, the control response region display control system 10 is installed and operated in the electronic apparatus 1. The electronic device 1 may be a desktop computer, a notebook, a palm computer, a server, or other computing equipment. The electronic device 1 may include, but is not limited to, a memory 11, a processor 12, and a display 13. Fig. 3 only shows the electronic device 1 with components 11-13, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may alternatively be implemented.
The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a hard disk or a memory of the electronic device 1. The memory 11 may also be an external storage device of the electronic apparatus 1 in other embodiments, such as a plug-in hard disk provided on the electronic apparatus 1, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic apparatus 1. The memory 11 is used for storing application software installed in the electronic device 1 and various types of data, such as program codes of the control response area display control system 10. The memory 11 may also be used to temporarily store data that has been output or is to be output.
Processor 12, which in some embodiments may be a Central Processing Unit (CPU), microprocessor or other data Processing chip, is configured to execute program code stored in memory 11 or process data, such as executing control response area display control system 10.
The display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 13 is used for displaying information processed in the electronic apparatus 1 and for displaying a visualized user interface, such as a service customization interface or the like. The components 11-13 of the electronic device 1 communicate with each other via a system bus.
Fig. 4 is a functional block diagram of a control response area display control system 10 according to an embodiment of the present invention. In this embodiment, the control response region display control system 10 may be divided into one or more modules, and the one or more modules are stored in the memory 11 and executed by one or more processors (in this embodiment, the processor 12) to complete the present invention. For example, in fig. 4, the control response region display control system 10 can be divided into a detection module 101, a first generation module 102, and a second generation module 103. The module referred to in the present invention refers to a series of computer program instruction segments capable of performing specific functions, and is more suitable than a program for describing the execution process of the control response region display control system 10 in the electronic device 1, wherein:
the detection module 101 is configured to detect all click events of a user for an application program after receiving a control response region explicit start instruction sent by the user for the application program;
in this embodiment, the control response region display control system 10 may generate an explicit viewing function control on the operation interface of the application program, and may send an explicit opening instruction of the control response region through the explicit viewing function control (for example, the explicit viewing function control includes an opening option, and a user clicks the opening option, that is, sends the explicit opening instruction of the control response region); the control response area display control system 10 may also include a voice-operated start switch, and sends out a current start instruction of the control response area according to a received preset voice instruction; and so on. When the detection module 101 receives a control response region explicit start instruction sent by a user for an application, the detection module starts a detection function to detect all click events of the application.
The first generating module 102 is configured to, when the detecting module detects a click event of a user, determine, by using a display system, a click sensing area corresponding to the click event, and generate a first area picture in a preset form in the click sensing area;
when the detecting module 101 detects a click event, the first generating module 102 determines a click sensing area of the click event on the screen through the display system, and generates a first area picture in a preset form in the click sensing area to highlight the click sensing area; wherein the preset form of the first area screen may be a gradual animation, a still screen, or a slide show form screen, etc.
The second generating module 103 is configured to determine a response control that the application program responds to the click event, determine a control pixel area corresponding to each response control according to a configuration file of the application program, where the configuration file includes the pixel area of each control of the application program, and generate a second area picture in a preset form in the control pixel area corresponding to each response control.
The response control refers to a control responding to the click event in the application program. The second generating module 103 finds out the control pixel area corresponding to each response control according to a configuration file for searching the application (the configuration file includes all the controls in the application and the pixel area configured for each control), and generates a second area picture in a preset form in the control pixel area corresponding to each response control, so that each control pixel area is displayed in an intuitive manner. Wherein, the second area picture in the preset form can be a gradual animation, a static picture or a picture in a slide show form, etc.; the first area screen and the second area screen may be the same or different.
Compared with the prior art, the scheme of the embodiment generates the second area picture in the preset form in the control pixel area corresponding to the response control responding to the click event, and highlights the pixel area of the response control, so that a user can visually see the coordinate position and the size of the control responding to the click event in the development design or test process of the application program; therefore, the problems that an overlapping area exists between the clicking areas of the controls, the sizes of the clicking areas of the controls are not proper and the like can be better found in the development design or test of the application program, and the waste of rework and manpower and material resources is reduced. In addition, the scheme of the embodiment also generates a first area picture in a preset form in the click sensing area of the screen, so that the current user operation can be clearly known when the software records the video, and the whole testing process of the application program is recorded.
Preferably, the detecting module 101 is further configured to stop detecting all click events of the user for the application program after receiving a control response region explicit close instruction sent by the user for the application program.
The control response region display control system 10 may generate an explicit viewing function control on the operation interface of the application, and may send a control response region explicit opening instruction and a control response region explicit closing instruction through the explicit viewing function control. For example, the explicit viewing function control comprises an open option and a close option, the user clicks the open option to send an explicit open instruction of the control response region, and the user clicks the close option to send an explicit close instruction of the control response region. When a development tester needs to test the application program, the detection module 101 can detect all click events of the user for the application program by clicking the opening option of the explicit viewing function control; after the test is completed, the detection module 101 may stop detecting all click events of the user for the application by clicking the close option of the explicit view functionality control.
As shown in fig. 5, fig. 5 is a schematic structural diagram of a second embodiment of the control response area display control system 10 according to the present invention, in this embodiment, the second generating module 103 is replaced with:
a third generating module 104, configured to determine response controls for the application to respond to the click event, determine control pixel regions corresponding to the response controls according to a configuration file of the application, determine a region picture in a preset form corresponding to each response control according to a mapping relationship between a predetermined control and a region picture in a preset form, and generate a corresponding region picture in a preset form in the control pixel region corresponding to each response control, where different controls correspond to different region pictures.
The control response region display control system 10 has a mapping relationship table between the control of the application program and a region picture in a preset form, that is, each control of the application program has a region picture which is determined to be formed in a preset form and corresponds to the region picture, the third generation module determines a region picture in a preset form corresponding to each response control by searching the mapping relationship table 104, and generates a corresponding region picture in a preset form in a control pixel region corresponding to each response control; in addition, when a plurality of controls respond to the same click event of the application program, the coincidence condition between the control pixel regions corresponding to the response controls can be visually found.
Fig. 6 is a schematic structural diagram of a control response area display control system 10 according to three embodiments of the present invention. In this embodiment, the second generating module 103 is replaced by a fourth generating module 105, and the fourth determining module 105 includes:
a first analyzing unit 1051, configured to analyze whether there are multiple response controls responding to the click event;
a second analysis unit 1052, configured to analyze whether there is an overlapping area in a pixel area of multiple response controls when there are multiple response controls responding to the click event;
after the first analysis unit 1051 analyzes that a plurality of (e.g., two, three, four, or more) response controls respond to the click event, the second analysis unit 1052 analyzes whether there is an overlapping region between pixel regions of the response controls. For example, the coordinates of the pixel regions of the respective response controls may be analyzed by the display system to determine whether there are the same coordinate points, and if there are the same coordinate points, it indicates that there is an overlap between the pixel regions of the respective response controls, otherwise, there is no overlap region. If the first analysis unit 1051 analyzes that only one control responds to the click event, a second area picture (for example, a gradual animation or a static picture) in a preset form or other processing is generated in the pixel area of the responding control.
A generating unit 1053, configured to, when there is an overlapping region in a pixel region of multiple response controls, determine the overlapping region by the control response region display control system 10, generate a second region screen in a preset form in a region other than the overlapping region in the pixel region of each response control, and generate a third region screen in a preset form in the overlapping region, where the third region screen is different from the second region screen.
After the second analysis unit 1052 determines that the pixel areas of the multiple response controls have the overlapping areas, the overlapping areas before the pixel areas of the multiple response controls are determined, a third area picture in a preset form is generated in the overlapping areas, and second area pictures in a preset form are generated in the areas except the overlapping areas in the control pixel areas of the response controls, wherein the third area picture is different from the second area picture, so that a development tester can directly observe the size of the overlapping areas, and the development tester can better adjust and modify the pixel areas of the control controls. The third area picture is a gradually changed animation, static picture or picture in a slide show form. The third area picture is a gradually changing animation, a static picture or a picture in a slide show form, and the like. If the second analysis unit 1052 analyzes that there is an overlapping area in the pixel area without the response control, the generation unit 1053 generates a second area screen in a preset form or other processing in the pixel area of each response control.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (5)

1. A control response area display control method is characterized by comprising the following steps:
A. after receiving a control response region explicit opening instruction which is sent by a user and aims at an application program, a control response region display control system detects all click events of the user aiming at the application program;
B. if a click event of a user is detected, the control response region display control system determines a click sensing region corresponding to the click event through the display system, and generates a first region picture in a preset form in the click sensing region; and
C. the control response area display control system determines a response control of the application program responding to the click event, determines a control pixel area corresponding to each response control according to a configuration file of the application program, wherein the configuration file comprises the pixel area of each control of the application program, and generates a second area picture in a preset form in the control pixel area corresponding to each response control;
or, whether a plurality of response controls respond to the click event is analyzed;
if a plurality of response controls respond to the click event, the control response area display control system analyzes whether the pixel areas of the plurality of response controls have overlapping areas;
if the pixel areas of a plurality of response controls have the overlapped area, the control response area display control system determines the overlapped area, generates a second area picture in a preset form in the area except the overlapped area in the pixel area of each response control, and generates a third area picture in a preset form in the overlapped area, wherein the third area picture is different from the second area picture, if the control response area display control system analyzes that the pixel area without the response control has the overlapped area, the control response area display control system analyzes whether the pixel area with the plurality of response controls has the overlapped area, and the control response area display control system analyzes whether the pixel area with the plurality of response controls has the overlapped area comprises the following steps: and confirming whether the pixel areas of the response controls have the same coordinate points or not, and if so, determining that the pixel areas of the response controls have overlapping areas.
2. The control-response-area-display control method according to claim 1, wherein the first area screen is a gradually changing animation, and/or wherein the second area screen is a gradually changing animation.
3. The control response region display control method according to claim 1 or 2, characterized by further comprising:
and after receiving a control response region explicit closing instruction which is sent by the user and aims at the application program, the control response region display control system stops detecting all click events of the user aiming at the application program.
4. An electronic device, comprising a memory, a processor, and a control response region display control system stored in the memory and operable on the processor, wherein when the processor executes the control response region display control system, the following steps are performed:
A. after receiving a control response region explicit opening instruction which is sent by a user and aims at an application program, a control response region display control system detects all click events of the user aiming at the application program;
B. if a click event of a user is detected, the control response region display control system determines a click sensing region corresponding to the click event through the display system, and generates a first region picture in a preset form in the click sensing region; and
C. the control response area display control system determines a response control of the application program responding to the click event, determines a control pixel area corresponding to each response control according to a configuration file of the application program, wherein the configuration file comprises the pixel area of each control of the application program, and generates a second area picture in a preset form in the control pixel area corresponding to each response control;
or, whether a plurality of response controls respond to the click event is analyzed;
if a plurality of response controls respond to the click event, the control response area display control system analyzes whether the pixel areas of the plurality of response controls have overlapping areas;
if the pixel areas of a plurality of response controls have the overlapped area, the control response area display control system determines the overlapped area, generates a second area picture in a preset form in the area except the overlapped area in the pixel area of each response control, and generates a third area picture in a preset form in the overlapped area, wherein the third area picture is different from the second area picture, if the control response area display control system analyzes that the pixel area without the response control has the overlapped area, the control response area display control system analyzes whether the pixel area with the plurality of response controls has the overlapped area, and the control response area display control system analyzes whether the pixel area with the plurality of response controls has the overlapped area comprises the following steps: and confirming whether the pixel areas of the response controls have the same coordinate points or not, and if so, determining that the pixel areas of the response controls have overlapping areas.
5. A computer-readable storage medium having stored thereon a control-responsive-region display control system executable by at least one processor to perform the steps of:
A. after receiving a control response region explicit opening instruction which is sent by a user and aims at an application program, a control response region display control system detects all click events of the user aiming at the application program;
B. if a click event of a user is detected, the control response region display control system determines a click sensing region corresponding to the click event through the display system, and generates a first region picture in a preset form in the click sensing region; and
C. the control response area display control system determines a response control of the application program responding to the click event, determines a control pixel area corresponding to each response control according to a configuration file of the application program, wherein the configuration file comprises the pixel area of each control of the application program, and generates a second area picture in a preset form in the control pixel area corresponding to each response control;
or, whether a plurality of response controls respond to the click event is analyzed;
if a plurality of response controls respond to the click event, the control response area display control system analyzes whether the pixel areas of the plurality of response controls have overlapping areas;
if the pixel areas of a plurality of response controls have the overlapped area, the control response area display control system determines the overlapped area, generates a second area picture in a preset form in the area except the overlapped area in the pixel area of each response control, and generates a third area picture in a preset form in the overlapped area, wherein the third area picture is different from the second area picture, if the control response area display control system analyzes that the pixel area without the response control has the overlapped area, the control response area display control system analyzes whether the pixel area with the plurality of response controls has the overlapped area, and the control response area display control system analyzes whether the pixel area with the plurality of response controls has the overlapped area comprises the following steps: and confirming whether the pixel areas of the response controls have the same coordinate points or not, and if so, determining that the pixel areas of the response controls have overlapping areas.
CN201710327383.7A 2017-05-10 2017-05-10 Control response area display control method, electronic device, and storage medium Active CN108845924B (en)

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 CN108845924A (en) 2018-11-20
CN108845924B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840299A (en) * 2010-03-18 2010-09-22 华为终端有限公司 Touch operation method, device and mobile terminal

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6832355B1 (en) * 1998-07-28 2004-12-14 Microsoft Corporation Web page display system
CN101515227B (en) * 2008-02-20 2011-05-25 联想(北京)有限公司 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
JP5652652B2 (en) * 2010-12-27 2015-01-14 ソニー株式会社 Display control apparatus and method
CN104247392A (en) * 2012-03-06 2014-12-24 苹果公司 Fanning user interface controls for media editing application
CN103941956B (en) * 2013-01-21 2017-12-26 联想(北京)有限公司 A kind of display methods and electronic equipment
CN105164628B (en) * 2013-03-14 2018-11-16 华为技术有限公司 The lens of mobile device touch graphical effect
JP2015141539A (en) * 2014-01-28 2015-08-03 株式会社東芝 Failure injection program
CN103793143A (en) * 2014-02-13 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Display method and device for user interface keys
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
CN105788451B (en) * 2014-12-24 2020-08-25 联想(北京)有限公司 Electronic equipment, processing method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840299A (en) * 2010-03-18 2010-09-22 华为终端有限公司 Touch operation method, device and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Learn 2 Code with MIT App Inventor;EDWARDM;《https://coldstreams.com/appinventor/2014/09/08/display-warning-and-alert-box-messages-in-app-inventor-apps/》;20140908;全文 *

Also Published As

Publication number Publication date
WO2018205392A1 (en) 2018-11-15
CN108845924A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN107025174B (en) Method, device and readable storage medium for user interface anomaly test of equipment
US8984437B2 (en) Controlling display of a plurality of windows
US20180173614A1 (en) Technologies for device independent automated application testing
US9519401B2 (en) Providing context menu based on predicted commands
AU2016286308A1 (en) Robotic process automation
EP3543847A1 (en) Service processing method and device
WO2021208512A1 (en) Method and apparatus for acquiring control information of user interface, terminal and storage medium
CN107608609B (en) Event object sending method and device
US9053241B2 (en) Scripting application with role identification
US9804955B2 (en) Method and apparatus for creating reference images for an automated test of software with a graphical user interface
CN108845924B (en) Control response area display control method, electronic device, and storage medium
EP2807541B1 (en) Image-based application automation
US9720592B2 (en) Mobile gesture reporting and replay with unresponsive gestures identification and analysis
CN103034575A (en) Crash analysis method and device
CN111324352A (en) Code generation method of application page and related equipment
CN112579187A (en) Optimization method and device for cold start of application program
CN105700923A (en) Method and system for installing application program
CN112783756A (en) Automatic test method, terminal, system and storage medium
CN112286782B (en) Control shielding detection method, software detection method, device and medium
TW201820198A (en) Detection system and detection method
CN104679389A (en) Interface display method and device
CN109246468B (en) Video list switching method, device and storage medium based on education system
CN105446785A (en) Method and system for unloading application program
WO2015039585A1 (en) Method and device for testing software reliability
US9128613B2 (en) Positioning clickable hotspots on a touchscreen display

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