WO2018205392A1 - Control response area display control method, electronic apparatus, and storage medium - Google Patents

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

Info

Publication number
WO2018205392A1
WO2018205392A1 PCT/CN2017/091356 CN2017091356W WO2018205392A1 WO 2018205392 A1 WO2018205392 A1 WO 2018205392A1 CN 2017091356 W CN2017091356 W CN 2017091356W WO 2018205392 A1 WO2018205392 A1 WO 2018205392A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
response
control
application
user
Prior art date
Application number
PCT/CN2017/091356
Other languages
French (fr)
Chinese (zh)
Inventor
何兵
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2018205392A1 publication Critical patent/WO2018205392A1/en

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

Definitions

  • 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.
  • the main object of the present invention is to provide a control response display control method for a control, which aims to realize the coordinates and size of the clickable control on the screen in the development test of the application, and to better discover the existence of the application.
  • the problem is perfected.
  • the control response area display control method proposed by the first aspect of the present invention comprises the steps of:
  • control response area display control system After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
  • 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 image in a preset form in the click sensing area.
  • the control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
  • a second aspect of the present invention provides an electronic device including a storage device, a processing device, and a control response area display control system.
  • the control response area display control system is stored in the storage device and includes at least one computer readable instruction.
  • the at least one computer readable instruction is executable by the processing device to implement the steps of:
  • control response area display control system After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
  • 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 image in a preset form in the click sensing area.
  • the control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
  • a third aspect of the invention provides a computer readable storage medium having stored thereon at least one computer readable instruction executable by a processing device to:
  • control response area display control system After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
  • 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 image in a preset form in the click sensing area.
  • the control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
  • the invention generates a second area image in a preset form by using a control pixel area corresponding to the response control responding to the click event, and highlights the pixel area of the response control, so that the application is used in the development design or testing process of the application.
  • the problem of unsuitable size and the like is solved, and the waste of rework and human and material resources is reduced; and the solution of the present invention also generates a first area picture in a preset form in the click sensing area of the screen, so that the software can clearly know when recording the video.
  • FIG. 1 is a schematic diagram of an application environment of a preferred embodiment of a control response area display control method according to the present invention
  • FIG. 2 is a schematic flow chart of an embodiment of a control response area display control method according to the present invention.
  • FIG. 3 is a schematic flow chart of a second embodiment of a control response display control method according to the present invention.
  • FIG. 4 is a schematic structural diagram of an embodiment of a control response area display control system according to the present invention.
  • FIG. 5 is a schematic structural diagram of a second embodiment of a control response area display control system according to the present invention.
  • FIG. 6 is a schematic structural diagram of a third embodiment of a control response area display control system according to the present invention.
  • FIG. 1 it is a schematic diagram of an application environment of a preferred embodiment of a control response area display control method according to the present invention.
  • the application environment diagram includes an electronic device 1 and a terminal device 2.
  • the electronic device 1 can perform data interaction with the terminal device 2 through a suitable technology such as a network or a near field communication technology.
  • the terminal device 2 includes, but is not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, or an individual.
  • PDA Personal Digital Assistant
  • game console Internet Protocol Television (IPTV)
  • smart wearable device etc.
  • the electronic device 1 is an apparatus capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance.
  • the electronic device 1 may be a computer, a single network server, a server group composed of multiple network servers, or a cloud-based cloud composed of a large number of hosts or network servers, where cloud computing is a type of distributed computing, A super virtual computer consisting of a loosely coupled set of computers.
  • the electronic device 1 includes, but is not limited to, a storage device 11, a processing device 12, and a network interface 13 that are communicably connected to each other through a system bus. It should be noted that FIG. 1 only shows the electronic device 1 having the components 11-13, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
  • the storage device 11 includes a memory and at least one type of readable storage medium.
  • the memory provides a cache for the operation of the electronic device 1;
  • the readable storage medium may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a card type memory, or the like.
  • the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1; in other embodiments, the non-volatile storage medium may also be external to the electronic device 1.
  • a storage device such as a plug-in hard disk equipped with an electronic device 1, a smart memory card (SMC), a Secure Digital (SD) card, a flash card, or the like.
  • SMC smart memory card
  • SD Secure Digital
  • the readable storage medium of the storage device 11 is generally used to store an operating system installed in the electronic device 1 and various types of application software, such as a program response control area display control system 10 in the embodiment of the present application. .
  • application software such as a program response control area display control system 10 in the embodiment of the present application.
  • the storage device 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • Processing device 12 may, in some embodiments, include one or more microprocessors, microcontrollers, digital processors, and the like.
  • the processing device 12 is generally used to control the operation of the electronic device 1, for example, to perform control and processing related to data interaction or communication with the terminal device 2.
  • the processing device 12 is configured to run program code or process data stored in the storage device 11, such as running a control response area display control system 10 or the like.
  • the network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 1 and other electronic devices.
  • the network interface 13 is mainly used to connect the electronic device 1 with one or more terminal devices 2, and establish a data transmission channel and a communication connection between the electronic device 1 and one or more terminal devices 2.
  • the control response area display control system 10 includes at least one computer readable instruction stored in the storage device 11, the at least one computer readable instruction being executable by the processing device 12 to implement the control response area display control method of various embodiments of the present application. .
  • the at least one computer readable instruction can be classified into different logic modules depending on the functions implemented by its various parts.
  • the control response area display control system 10 when executed by the processing device 12, the following operations are performed: the control response area display control system is received after receiving the explicit response command from the control response area of the application issued by the user. Detecting all click events of the user for the application; if a click event of the user is detected, the control response area display control system determines the click sensing area corresponding to the click event through the display system, and clicks on the click The sensing area generates a first area image in a preset form; the control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application The configuration file includes a pixel area of each control of the application, and generates a second area image in a preset form in a control pixel area corresponding to each response control.
  • FIG. 2 is a schematic flowchart diagram of an embodiment of a control response area display control method according to the present invention.
  • the control response area display control method includes the following steps:
  • Step S10 After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application.
  • control response area display control system may generate an explicit view function control on the operation interface of the application, and the explicit view function control may issue the control response area explicit open command (for example, the The explicit viewing function control includes an opening option, and the user clicks the opening option, that is, the control response area explicit opening instruction is issued; the control response area display control system may also include a voice control opening switch, according to receiving the preset voice command. Issue the current open command of the control response area; and so on.
  • the control response area display control system receives the explicit response command of the control response area, the detection function is turned on, and all click events of the application are detected.
  • Step S20 if a click event of the user is detected, the control response area display control system A click sensing area corresponding to the click event is determined by the display system, and a first area screen of a preset form is generated in the click sensing area.
  • the display system determines a click sensing area of the click event on the screen, and generates a first area image in a preset form in the click sensing area to The click sensing area is highlighted; wherein the first area picture of the preset form may be a gradation animation, a static picture or a slide show form, and the like.
  • Step S30 the control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and a second area picture of a preset form is generated in a control pixel area corresponding to each response control.
  • the response control refers to the control in the application that responds to the click event that occurred.
  • the control response area display control system searches for the application's configuration file (which includes all the controls in the application and the pixel area configured for each control) to find the control pixel area corresponding to each response control.
  • the second area image in a preset form is generated in the control pixel area corresponding to each response control, so that each control pixel area is displayed in an intuitive manner.
  • the second area picture of the preset form may be a gradation animation, a static picture or a picture in a slide show format, and the like; the first area picture and the second area picture may be the same or different.
  • control response area display control method of the embodiment further includes the following steps:
  • control response area display control system After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
  • the control response area display control system can generate an explicit view function control on the operation interface of the application, and the explicit view function control can issue the control response area explicit open instruction and the control response area explicit close instruction.
  • the explicit viewing function control includes an opening option and a closing option, and the user clicks the opening option to issue the control response area explicit opening instruction, and the user clicks the close option to issue the control response area explicit closing instruction.
  • the control response area display control system can detect all click events of the user for the application by clicking the option of the explicit view function control; after the test is completed, The control response area display control system can stop detecting all click events of the user for the application by clicking the close option of the explicit view function control.
  • step S30 of the above embodiment may be replaced with:
  • the control response area displays a mapping relationship table between the control having the application in the control system and the area image of the preset form, that is, each control of the application has an area image formed by the preset preset corresponding to the control, by searching
  • the mapping relationship table determines a preset form area picture corresponding to each response control, and generates a corresponding preset form area picture in the control pixel area corresponding to each response control; since each response control corresponding area picture is different, It is better to develop the tester's observation of the test process.
  • FIG. 3 is a schematic flowchart of a second embodiment of a control response display control method according to the present invention.
  • step S30 of the above embodiment is replaced with:
  • Step S40 the control response area display control system analyzes whether there are multiple response controls responding to the click event
  • Step S50 if a plurality of response controls respond to the click event, the control response area display control system analyzes whether there is a coincidence area in the pixel area of the plurality of response controls;
  • the control response area display control system analyzes each response control Whether there is a coincident area between the pixel areas. For example, the coordinates of the pixel area of each response control can be analyzed by the display system to confirm whether there are the same coordinate points. If there are the same coordinate points, it means that there is a coincidence between the pixel areas of the respective response controls, and vice versa. There is a coincident area. If the analysis concludes that only one control responds to the click event, a second region of the preset form (eg, a gradient animation or a static image, etc.) or other processing is generated in the pixel region of the response control.
  • a second region of the preset form eg, a gradient animation or a static image, etc.
  • Step S60 if there is a coincidence area in the pixel area of the plurality of response controls, the control response area display control system determines the coincidence area, and generates a preset form in the area other than the coincidence area in the control pixel area of each response control. a second area picture, and a third area picture in a preset form is generated in the overlapping area, the third area picture being different from the second area picture.
  • the coincidence area before the pixel area of the plurality of response controls is determined, and the third area picture of the preset form is generated in the coincidence area
  • An area other than the coincidence area in the control pixel area of each response control generates a second area picture in a preset form, wherein the third area picture is different from the second area picture, so that the development tester can directly observe the coincidence area
  • the size allows the development tester to better adjust the pixel area of each control.
  • the third area picture is a gradation animation, a still picture, or a slide show format picture. If the control response area display control system analyzes that there is a coincident area in the pixel area of the non-responsive control, a second area picture or other processing in a preset form is generated in the pixel area of each response control.
  • the invention also proposes a control response area display control system.
  • FIG. 4 is a functional block diagram of an embodiment of the control response area display control system 10 of the present invention.
  • the control response area display control system 10 can be partitioned into one or more modules, one or more modules being stored in a memory and executed by one or more processors to complete the present invention.
  • the control response area display control system 10 can be divided into a detection module 101, a first generation module 102, and a second generation module 103.
  • module refers to a series of computer program instruction segments capable of performing a specific function, which is more suitable than the program to describe the execution process of the control response area display control system 10 in the electronic device, wherein:
  • the detecting module 101 is configured to detect, when the user sends an explicit response command to the control area of the application for the application, to detect all click events of the user for the application;
  • control response area display control system 10 can generate an explicit view function control on the operation interface of the application, by which the control response area explicit open command can be issued (for example,
  • the explicit viewing function control includes an opening option, and the user clicks the opening option, that is, the control response area explicit opening instruction is issued;
  • the control response area display control system 10 may also include a voice control opening switch, according to the preset voice received.
  • the instruction is to issue the current open command of the control response area; and so on.
  • the detecting module 101 receives the explicit opening command of the control response area of the application issued by the user, the detecting module 101 turns on the detecting 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 the user, determine, by the display system, a click sensing area corresponding to the click event, and generate a preset form in the click sensing area a regional picture;
  • 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 image in a preset form in the click sensing area. And highlighting the click sensing area; wherein the first area picture of the preset form may be a gradation animation, a static picture or a slide show form, and the like.
  • a second generation module 103 configured to determine a response control of the application response to the click event, and determine, according to the configuration file of the application, a control pixel area corresponding to each response control, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
  • the response control refers to the control in the application that responds to the click event that occurred.
  • the second generation module 103 is configured to find a configuration file of the application (the configuration file includes all the controls in the application and a pixel area configured for each control) to find a control pixel area corresponding to each response control.
  • the second area image in a preset form is generated in the control pixel area corresponding to each response control, so that each control pixel area is displayed in an intuitive manner.
  • the second area picture of the preset form may be a gradation animation, a static picture or a picture in a slide show format, and the like; the first area picture and the second area picture may be the same or different.
  • the solution of the embodiment passes the response control in response to the click event.
  • the corresponding control pixel area generates a second area picture in a preset form, and the pixel area of the response control is highlighted, so that the user can intuitively see the response to the click event during the development design or testing process of the application.
  • the coordinate position and size of the control in this way, in the development design or test of the application, it is better to find the overlap area between the click areas of the control, the size of the click area of the control is not suitable, and solve the problem, and reduce the rework and manpower. Waste of material resources.
  • the solution in this 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 entire testing process of the application is recorded.
  • the detecting module 101 is further configured to stop detecting all click events of the user for the application after receiving the explicit closing command of the control response area sent by the user for the application.
  • the control response area display control system 10 can generate an explicit view function control on the operation interface of the application, by which the control response area explicit open command and the control response area explicit close command can be issued.
  • the explicit viewing function control includes an opening option and a closing option, and the user clicks the opening option to issue the control response area explicit opening instruction, and the user clicks the close option to issue the control response area explicit closing instruction.
  • the detection module 101 can detect all click events of the user for the application by clicking the explicit option of the function control; after the test is completed, By clicking the close option of the explicit view function control, the detection module 101 stops detecting all click events of the user for the application.
  • FIG. 5 is a schematic structural diagram of a second embodiment of the control response area display control system 10 of the present invention.
  • the second generation module 103 is replaced by:
  • a third generation module 104 configured to determine a response control of the application response to the click event, determine a control pixel area corresponding to each response control according to the configuration file of the application, and then according to the predetermined control and the preset form
  • the mapping relationship of the area pictures determines the area screen of the preset form corresponding to each response control, and generates a corresponding preset form area picture in the control pixel area corresponding to each response control, and different controls correspond to different area pictures.
  • the control response area displays a mapping relationship table between the control having the application and the area image of the preset form in the control system 10, that is, each control of the application has an area map formed by the preset preset corresponding thereto,
  • the third generation module passes through the mapping table to find the preset form area picture corresponding to each response control, and generates a corresponding preset form area picture in the control pixel area corresponding to each response control; corresponding to each response control
  • the area screens are different. In this way, it is better to develop the tester's observation of the test process.
  • the corresponding response controls can be intuitively found. The coincidence between the control pixel regions.
  • FIG. 6 is a schematic structural diagram of a third embodiment of a control response area display control system 10 according to the present invention.
  • the second generation module 103 is replaced by a fourth generation module 105
  • the fourth determination module 105 includes:
  • a first analyzing unit 1051 configured to analyze whether a plurality of response controls respond to the click event
  • the second analyzing unit 1052 is configured to analyze whether there is a coincident area in a pixel area of the plurality of response controls when there are multiple response controls responding to the click event;
  • the second analyzing unit 1052 analyzes the pixel regions of the respective response controls. Is there a coincident area between them? For example, the coordinates of the pixel area of each response control can be analyzed by the display system to confirm whether there are the same coordinate points. If there are the same coordinate points, it means that there is a coincidence between the pixel areas of the respective response controls, and vice versa. There is a coincident area.
  • the first analyzing unit 1051 analyzes that only one control responds to the click event, generating a second area image (for example, a gradient animation or a static picture, etc.) or other in a preset form in the pixel area of the response control deal with.
  • a second area image for example, a gradient animation or a static picture, etc.
  • the generating unit 1053 is configured to: when the overlapping area exists in the pixel area of the plurality of response controls, the control response area display control system 10 determines the overlapping area, and generates the area other than the overlapping area in the pixel area of each response control a second area picture in a preset form, and a third area picture in a preset form is generated in the overlap area, the third area picture being different from the second area picture.
  • the second analyzing unit 1052 confirms that there are overlapping regions in the pixel regions of the plurality of response controls, the overlapping regions before the pixel regions of the plurality of response controls are determined, and the third region images in the preset form are generated in the overlapping regions.
  • the size allows the development tester to better adjust the pixel area of each control.
  • the third area picture is a picture in the form of a gradation animation, a still picture, or a slide show.
  • the third area picture is a gradation animation, a still picture, or a slide show format picture. If the second analyzing unit 1052 analyzes that there is a coincident region in the pixel region of the response control, the generating unit 1053 generates a second region screen or other processing in a preset form in the pixel region of each response control.

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

A control response area display control method, an electronic apparatus (1), and a storage medium. The method comprises: detecting all click events of a user for an application program after receiving a control response area display enabling instruction for the application program sent by a user (S10); if a click event of the user is detected, determining, by means of a display system, a click sensing area corresponding to the click event, and generating a preset form of a first area picture on the click sensing area (S20); and determining response controls of the application program that responds to the click event, determining, according to a configuration file of the application program, control pixel areas corresponding to the response controls, the configuration file comprising pixel areas of controls of the application program, and generating a preset form of a second area picture on the control pixel areas corresponding to the response controls (S30). By means of the method, the electronic apparatus (1), and the storage medium, coordinates and sizes of clickable controls on a screen can be directly seen during development testing of an application program.

Description

控制响应区域显示控制方法、电子装置及存储介质Control response area display control method, electronic device and storage medium
优先权申明Priority claim
本申请基于巴黎公约申明享有2017年5月10日递交的申请号为CN2017103273837、名称为“控制响应区域显示控制方法、电子装置及存储介质”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application is based on the priority of the Chinese Patent Application entitled "Control Response Area Display Control Method, Electronic Device and Storage Medium", which is filed on May 10, 2017, with the application number of CN2017103273837, which is filed on May 10, 2017. It is incorporated herein by reference.
技术领域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 technique
目前,应用程序(APP)在开发、测试中,为了达到某些视觉效果,有些可点击区域做的比较小甚至不明显,对于一些无边框且背景透明的可点击控件,开发者和测试者不能直观的用肉眼确定可点击区域在屏幕上的坐标与大小,导致APP可能会出现如下问题:可点击控件之间有重叠区域,导致经常发生误操作;可点击区域与开发、设计不符,导致经常发生返工,浪费人力物力;可点击区域太小,导致经常发生无效点击操作。At present, in the development and testing of applications (APP), in order to achieve certain visual effects, some clickable areas are relatively small or not obvious. For some clickable controls without borders and transparent background, developers and testers cannot. Intuitive use of the naked eye to determine the coordinates and size of the clickable area on the screen, resulting in the APP may have the following problems: there may be overlapping areas between the clickable controls, resulting in frequent misoperations; clickable areas do not match development and design, resulting in frequent Rework occurs, waste of manpower and material resources; the clickable area is too small, resulting in frequent invalid click operations.
发明内容Summary of the invention
本发明的主要目的是提供一种控件响应区域显示控制方法,旨在实现在应用程序的开发测试中,能够直观的看到可点击控件在屏幕上的坐标和大小,更好的发现应用程序存在的问题进行完善。The main object of the present invention is to provide a control response display control method for a control, which aims to realize the coordinates and size of the clickable control on the screen in the development test of the application, and to better discover the existence of the application. The problem is perfected.
本发明第一方面提出的控件响应区域显示控制方法,包括步骤:The control response area display control method proposed by the first aspect of the present invention comprises the steps of:
A、在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测;A. After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
B、若侦测到用户的一个点击事件,则控件响应区域显示控制系统通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面;及B. 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 image in a preset form in the click sensing area. ;and
C、控件响应区域显示控制系统确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。C. The control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
本发明第二方面提供一种电子装置,该电子装置包括存储设备、处理设备及控件响应区域显示控制系统,该控件响应区域显示控制系统存储于该存储设备中,包括至少一个计算机可读指令,该至少一个计算机可读指令可被所述处理设备执行,以实现如下步骤: A second aspect of the present invention provides an electronic device including a storage device, a processing device, and a control response area display control system. The control response area display control system is stored in the storage device and includes at least one computer readable instruction. The at least one computer readable instruction is executable by the processing device to implement the steps of:
A、在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测;A. After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
B、若侦测到用户的一个点击事件,则控件响应区域显示控制系统通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面;及B. 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 image in a preset form in the click sensing area. ;and
C、控件响应区域显示控制系统确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。C. The control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
本发明第三方面提供一种计算机可读存储介质,其上存储有至少一个可被处理设备执行以实现以下操作的计算机可读指令:A third aspect of the invention provides a computer readable storage medium having stored thereon at least one computer readable instruction executable by a processing device to:
A、在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测;A. After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
B、若侦测到用户的一个点击事件,则控件响应区域显示控制系统通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面;及B. 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 image in a preset form in the click sensing area. ;and
C、控件响应区域显示控制系统确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。C. The control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
本发明通过在对点击事件进行响应的响应控件所对应的控件像素区域生成预设形式的第二区域画面,将响应控件的像素区域突出显示,使得在应用程序的开发设计或测试过程中,使用者能够直观的看到对点击事件进行响应的控件的坐标位置和大小;这样,在应用程序的开发设计或测试中就能更好的发现控件的点击区域之间存在重叠区域、控件的点击区域大小不合适等问题并解决,降低返工和人力物力的浪费;并且,本发明方案还在屏幕的点击感测区域生成预设形式的第一区域画面,使得在软件录制视频的时候可以清楚的知道当前的用户操作,记录应用程序的整个测试过程。The invention generates a second area image in a preset form by using a control pixel area corresponding to the response control responding to the click event, and highlights the pixel area of the response control, so that the application is used in the development design or testing process of the application. The ability to visually see the coordinate position and size of the control that responds to the click event; thus, in the development design or test of the application, it is better to find that there is an overlap area between the click areas of the control and the click area of the control. The problem of unsuitable size and the like is solved, and the waste of rework and human and material resources is reduced; and the solution of the present invention also generates a first area picture in a preset form in the click sensing area of the screen, so that the software can clearly know when recording the video. The current user action, recording the entire testing process of the application.
附图说明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 embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and those skilled in the art can obtain other drawings according to the structures shown in the drawings without any creative work.
图1为本发明控件响应区域显示控制方法较佳实施例的应用环境示意图; 1 is a schematic diagram of an application environment of a preferred embodiment of a control response area display control method according to the present invention;
图2为本发明控件响应区域显示控制方法一实施例的流程示意图;2 is a schematic flow chart of an embodiment of a control response area display control method according to the present invention;
图3为本发明控件响应区域显示控制方法二实施例的流程示意图;3 is a schematic flow chart of a second embodiment of a control response display control method according to the present invention;
图4为本发明控件响应区域显示控制系统一实施例的结构示意图;4 is a schematic structural diagram of an embodiment of a control response area display control system according to the present invention;
图5为本发明控件响应区域显示控制系统二实施例的结构示意图;5 is a schematic structural diagram of a second embodiment of a control response area display control system according to the present invention;
图6为本发明控件响应区域显示控制系统三实施例的结构示意图。FIG. 6 is a schematic structural diagram of a third embodiment of a control response area display control system according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。The principles and features of the present invention are described in the following with reference to the accompanying drawings.
参阅图1所示,是本发明实现控件响应区域显示控制方法的较佳实施例的应用环境示意图。该应用环境示意图包括电子装置1及终端设备2。电子装置1可以通过网络、近场通信技术等适合的技术与终端设备2进行数据交互。Referring to FIG. 1 , it is a schematic diagram of an application environment of a preferred embodiment of a control response area display control method according to the present invention. The application environment diagram includes an electronic device 1 and a terminal device 2. The electronic device 1 can perform data interaction with the terminal device 2 through a suitable technology such as a network or a near field communication technology.
终端设备2包括,但不限于,任何一种可与用户通过键盘、鼠标、遥控器、触摸板或者声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA),游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴设备等。The terminal device 2 includes, but is not limited to, any electronic product that can interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, or an individual. Personal Digital Assistant (PDA), game console, Internet Protocol Television (IPTV), smart wearable device, etc.
电子装置1是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。电子装置1可以是计算机、也可以是单个网络服务器、多个网络服务器组成的服务器组或者基于云计算的由大量主机或者网络服务器构成的云,其中云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。The electronic device 1 is an apparatus capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance. The electronic device 1 may be a computer, a single network server, a server group composed of multiple network servers, or a cloud-based cloud composed of a large number of hosts or network servers, where cloud computing is a type of distributed computing, A super virtual computer consisting of a loosely coupled set of computers.
在本实施例中,电子装置1包括,但不仅限于,可通过系统总线相互通信连接的存储设备11、处理设备12、及网络接口13。需要指出的是,图1仅示出了具有组件11-13的电子装置1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In the present embodiment, the electronic device 1 includes, but is not limited to, a storage device 11, a processing device 12, and a network interface 13 that are communicably connected to each other through a system bus. It should be noted that FIG. 1 only shows the electronic device 1 having the components 11-13, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
其中,存储设备11包括内存及至少一种类型的可读存储介质。内存为电子装置1的运行提供缓存;可读存储介质可为如闪存、硬盘、多媒体卡、卡型存储器等的非易失性存储介质。在一些实施例中,可读存储介质可以是电子装置1的内部存储单元,例如该电子装置1的硬盘;在另一些实施例中,该非易失性存储介质也可以是电子装置1的外部存储设备,例如电子装置1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。本实施例中,存储设备11的可读存储介质通常用于存储安装于电子装置1的操作系统和各类应用软件,例如本申请一实施例中的控件响应区域显示控制系统10的程序代码等。此外,存 储设备11还可以用于暂时地存储已经输出或者将要输出的各类数据。The storage device 11 includes a memory and at least one type of readable storage medium. The memory provides a cache for the operation of the electronic device 1; the readable storage medium may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a card type memory, or the like. In some embodiments, the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1; in other embodiments, the non-volatile storage medium may also be external to the electronic device 1. A storage device, such as a plug-in hard disk equipped with an electronic device 1, a smart memory card (SMC), a Secure Digital (SD) card, a flash card, or the like. In this embodiment, the readable storage medium of the storage device 11 is generally used to store an operating system installed in the electronic device 1 and various types of application software, such as a program response control area display control system 10 in the embodiment of the present application. . In addition, save The storage device 11 can also be used to temporarily store various types of data that have been output or are to be output.
处理设备12在一些实施例中可以包括一个或者多个微处理器、微控制器、数字处理器等。该处理设备12通常用于控制电子装置1的运行,例如执行与终端设备2进行数据交互或者通信相关的控制和处理等。在本实施例中,处理设备12用于运行存储设备11中存储的程序代码或者处理数据,例如运行控件响应区域显示控制系统10等。 Processing device 12 may, in some embodiments, include one or more microprocessors, microcontrollers, digital processors, and the like. The processing device 12 is generally used to control the operation of the electronic device 1, for example, to perform control and processing related to data interaction or communication with the terminal device 2. In the present embodiment, the processing device 12 is configured to run program code or process data stored in the storage device 11, such as running a control response area display control system 10 or the like.
网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在电子装置1与其他电子设备之间建立通信连接。本实施例中,网络接口13主要用于将电子装置1与一个或多个终端设备2相连,在电子装置1与一个或多个终端设备2之间建立数据传输通道和通信连接。The network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 1 and other electronic devices. In this embodiment, the network interface 13 is mainly used to connect the electronic device 1 with one or more terminal devices 2, and establish a data transmission channel and a communication connection between the electronic device 1 and one or more terminal devices 2.
控件响应区域显示控制系统10包括至少一个存储在存储设备11中的计算机可读指令,该至少一个计算机可读指令可被处理设备12执行,以实现本申请各实施例的控件响应区域显示控制方法。如后续所述,该至少一个计算机可读指令依据其各部分所实现的功能不同,可被划为不同的逻辑模块。The control response area display control system 10 includes at least one computer readable instruction stored in the storage device 11, the at least one computer readable instruction being executable by the processing device 12 to implement the control response area display control method of various embodiments of the present application. . As described later, the at least one computer readable instruction can be classified into different logic modules depending on the functions implemented by its various parts.
在一实施例中,控件响应区域显示控制系统10被处理设备12执行时,实现以下操作:在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测;若侦测到用户的一个点击事件,则控件响应区域显示控制系统通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面;控件响应区域显示控制系统确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。In an embodiment, when the control response area display control system 10 is executed by the processing device 12, the following operations are performed: the control response area display control system is received after receiving the explicit response command from the control response area of the application issued by the user. Detecting all click events of the user for the application; if a click event of the user is detected, the control response area display control system determines the click sensing area corresponding to the click event through the display system, and clicks on the click The sensing area generates a first area image in a preset form; the control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application The configuration file includes a pixel area of each control of the application, and generates a second area image in a preset form in a control pixel area corresponding to each response control.
如图2所示,图2为本发明控件响应区域显示控制方法一实施例的流程示意图。本实施例中,该控件响应区域显示控制方法包括以下步骤:As shown in FIG. 2, FIG. 2 is a schematic flowchart diagram of an embodiment of a control response area display control method according to the present invention. In this embodiment, the control response area display control method includes the following steps:
步骤S10,在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测。Step S10: After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application.
本实施例中,控件响应区域显示控制系统可以在该应用程序的操作界面上生成一个显性查看功能控件,通过该显性查看功能控件可以发出所述控件响应区域显性开启指令(例如,该显性查看功能控件包括开启选项,用户点击该开启选项,即发出所述控件响应区域显性开启指令);控件响应区域显示控制系统也可以是包括声控开启开关,根据接收预设的语音指令以发出所述控件响应区域现行开启指令;等等。当控件响应区域显示控制系统接收到控件响应区域显性开启指令后,开启侦测功能,对该应用程序的所有点击事件进行侦测。In this embodiment, the control response area display control system may generate an explicit view function control on the operation interface of the application, and the explicit view function control may issue the control response area explicit open command (for example, the The explicit viewing function control includes an opening option, and the user clicks the opening option, that is, the control response area explicit opening instruction is issued; the control response area display control system may also include a voice control opening switch, according to receiving the preset voice command. Issue the current open command of the control response area; and so on. When the control response area display control system receives the explicit response command of the control response area, the detection function is turned on, and all click events of the application are detected.
步骤S20,若侦测到用户的一个点击事件,则控件响应区域显示控制系统 通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面。Step S20, if a click event of the user is detected, the control response area display control system A click sensing area corresponding to the click event is determined by the display system, and a first area screen of a preset form is generated in the click sensing area.
当控件响应区域显示控制系统侦测到一个点击事件时,通过显示系统确定该点击事件在屏幕上的点击感测区域,并在该点击感测区域生成预设形式的第一区域画面,以将该点击感测区域突出显示;其中,该预设形式的第一区域画面可以是渐变的动画、静态的画面或幻灯片播放形式的画面,等等。When the control response area display control system detects a click event, the display system determines a click sensing area of the click event on the screen, and generates a first area image in a preset form in the click sensing area to The click sensing area is highlighted; wherein the first area picture of the preset form may be a gradation animation, a static picture or a slide show form, and the like.
步骤S30,控件响应区域显示控制系统确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。Step S30, the control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and a second area picture of a preset form is generated in a control pixel area corresponding to each response control.
其中,响应控件指的是该应用程序中对发生的点击事件进行响应的控件。控件响应区域显示控制系统根据查找该应用程序的配置文件(该配置文件中包括了该应用程序中的所有控件以及为每一个控件配置的像素区域),以找出各个响应控件对应的控件像素区域,以在各个响应控件对应的控件像素区域生成预设形式的第二区域画面,使各个控件像素区域以直观的方式展示出。其中,该预设形式的第二区域画面可以是渐变的动画、静态的画面或幻灯片播放形式的画面,等等;所述第一区域画面与第二区域画面可以相同,也可以不同。The response control refers to the control in the application that responds to the click event that occurred. The control response area display control system searches for the application's configuration file (which includes all the controls in the application and the pixel area configured for each control) to find the control pixel area corresponding to each response control. The second area image in a preset form is generated in the control pixel area corresponding to each response control, so that each control pixel area is displayed in an intuitive manner. The second area picture of the preset form may be a gradation animation, a static picture or a picture in a slide show format, and the like; the first area picture and the second area picture may be the same or different.
在其它实施例中,本实施例的所述控件响应区域显示控制方法还包括以下步骤:In other embodiments, the control response area display control method of the embodiment further includes the following steps:
在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
控件响应区域显示控制系统可以在该应用程序的操作界面上生成一个显性查看功能控件,通过该显性查看功能控件可以发出控件响应区域显性开启指令和控件响应区域显性关闭指令。例如,该显性查看功能控件包括开启选项和关闭选项,用户点击该开启选项,发出所述控件响应区域显性开启指令,用户点击关闭选项,则发出所述控件响应区域显性关闭指令。开发测试者在需要对该应用程序进行测试时,可通过点击显性查看功能控件的开启选项,使控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测;在测试完成后,可通过点击显性查看功能控件的关闭选项,使控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。The control response area display control system can generate an explicit view function control on the operation interface of the application, and the explicit view function control can issue the control response area explicit open instruction and the control response area explicit close instruction. For example, the explicit viewing function control includes an opening option and a closing option, and the user clicks the opening option to issue the control response area explicit opening instruction, and the user clicks the close option to issue the control response area explicit closing instruction. When the test tester needs to test the application, the control response area display control system can detect all click events of the user for the application by clicking the option of the explicit view function control; after the test is completed, The control response area display control system can stop detecting all click events of the user for the application by clicking the close option of the explicit view function control.
在另一个实施例中,可将上述实施例步骤S30中的“在各个响应控件对应的控件像素区域生成预设形式的第二区域画面”替换为:In another embodiment, the “Second area picture of the preset form in the control pixel area corresponding to each response control” in step S30 of the above embodiment may be replaced with:
根据预先确定的控件与预设形式的区域画面的映射关系,确定各个响应控件对应的预设形式的区域画面,并在各个响应控件对应的控件像素区域生 成对应的预设形式区域画面,不同的控件对应不同的区域画面。Determining, according to the mapping relationship between the preset control and the preset area image, determining the regional image of the preset form corresponding to each response control, and generating the control pixel area corresponding to each response control The corresponding preset form area screen, the different controls correspond to different area pictures.
控件响应区域显示控制系统中具有该应用程序的控件与预设形式的区域画面的映射关系表,即该应用程序的每个控件均有已经确定的预设形成的区域画面与之对应,通过查找该映射关系表,确定各个响应控件对应的预设形式区域画面,并在各个响应控件对应的控件像素区域生成对应的预设形式区域画面;由于各个响应的控件对应的区域画面各不相同,如此,可以更好的方便开发测试者对测试过程的观察,另外,当同时有多个控件对该应用程序的同一点击事件进行响应,可直观的发现各个响应控件对应的控件像素区域之间的重合情况。The control response area displays a mapping relationship table between the control having the application in the control system and the area image of the preset form, that is, each control of the application has an area image formed by the preset preset corresponding to the control, by searching The mapping relationship table determines a preset form area picture corresponding to each response control, and generates a corresponding preset form area picture in the control pixel area corresponding to each response control; since each response control corresponding area picture is different, It is better to develop the tester's observation of the test process. In addition, when multiple controls respond to the same click event of the application at the same time, it is possible to intuitively find the coincidence between the pixel regions of the control corresponding to each response control. Happening.
如图3所示,图3为本发明控件响应区域显示控制方法二实施例的流程示意图。在本实施例中,将上述实施例的步骤S30替换为:As shown in FIG. 3, FIG. 3 is a schematic flowchart of a second embodiment of a control response display control method according to the present invention. In this embodiment, step S30 of the above embodiment is replaced with:
步骤S40,控件响应区域显示控制系统分析是否有多个响应控件对该点击事件进行响应;Step S40, the control response area display control system analyzes whether there are multiple response controls responding to the click event;
步骤S50,若有多个响应控件对该点击事件进行响应,则控件响应区域显示控制系统分析是否有多个响应控件的像素区域存在重合区域;Step S50, if a plurality of response controls respond to the click event, the control response area display control system analyzes whether there is a coincidence area in the pixel area of the plurality of response controls;
在控件响应区域显示控制系统分析得出有多个(例如,两个、三个、四个或更多个)响应控件对该点击事件进行响应后,控件响应区域显示控制系统分析各个响应控件的像素区域之间是否有重合区域。例如,可通过显示系统对各个响应控件的像素区域的坐标进行分析,确认是否有相同的坐标点,如果有相同的坐标点,则说明各个响应控件的像素区域之间存在重合,反之,则不存在重合区域。若分析得出只有一个控件针对该点击事件进行响应时,则在该响应控件的像素区域生成预设形式的第二区域画面(例如,渐变动画或静态的画面等)或者其它处理。After the control response area display control system analyzes that there are multiple (for example, two, three, four or more) response controls responding to the click event, the control response area display control system analyzes each response control Whether there is a coincident area between the pixel areas. For example, the coordinates of the pixel area of each response control can be analyzed by the display system to confirm whether there are the same coordinate points. If there are the same coordinate points, it means that there is a coincidence between the pixel areas of the respective response controls, and vice versa. There is a coincident area. If the analysis concludes that only one control responds to the click event, a second region of the preset form (eg, a gradient animation or a static image, etc.) or other processing is generated in the pixel region of the response control.
步骤S60,若有多个响应控件的像素区域存在重合区域,则控件响应区域显示控制系统确定该重合区域,在各个响应控件的控件像素区域中的除该重合区域以外的区域生成预设形式的第二区域画面,并在该重合区域生成预设形式的第三区域画面,该第三区域画面与第二区域画面不同。Step S60, if there is a coincidence area in the pixel area of the plurality of response controls, the control response area display control system determines the coincidence area, and generates a preset form in the area other than the coincidence area in the control pixel area of each response control. a second area picture, and a third area picture in a preset form is generated in the overlapping area, the third area picture being different from the second area picture.
在控件响应区域显示控制系统确认有多个响应控件的像素区域存在重合区域后,确定出多个响应控件的像素区域之前的重合区域,在重合区域中生成预设形式的第三区域画面,在各个响应控件的控件像素区域中的除重合区域以外的区域生成预设形式的第二区域画面,其中,第三区域画面与第二区域画面不同,如此,开发测试者就可以直接观察到重合区域的大小,使开发测试者更好的调节修改各个控件的像素区域。该第三区域画面为渐变的动画、静态画面或幻灯片播放形式的画面等。若控件响应区域显示控制系统分析得出没有响应控件的像素区域存在重合区域,则在各个响应控件的像素区域生成预设形式的第二区域画面或者其它处理。 After the control response area display control system confirms that there is a coincidence area in the pixel area of the plurality of response controls, the coincidence area before the pixel area of the plurality of response controls is determined, and the third area picture of the preset form is generated in the coincidence area, An area other than the coincidence area in the control pixel area of each response control generates a second area picture in a preset form, wherein the third area picture is different from the second area picture, so that the development tester can directly observe the coincidence area The size allows the development tester to better adjust the pixel area of each control. The third area picture is a gradation animation, a still picture, or a slide show format picture. If the control response area display control system analyzes that there is a coincident area in the pixel area of the non-responsive control, a second area picture or other processing in a preset form is generated in the pixel area of each response control.
本发明还提出一种控件响应区域显示控制系统。The invention also proposes a control response area display control system.
请参阅图4,是本发明控件响应区域显示控制系统10一实施例的功能模块图。在本实施例中,控件响应区域显示控制系统10可以被分割成一个或多个模块,一个或者多个模块被存储于存储器中,并由一个或多个处理器所执行,以完成本发明。例如,在图4中,控件响应区域显示控制系统10可以被分割成侦测模块101、第一生成模块102及第二生成模块103。本发明所称的模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述控件响应区域显示控制系统10在电子装置中的执行过程,其中:Please refer to FIG. 4, which is a functional block diagram of an embodiment of the control response area display control system 10 of the present invention. In the present embodiment, the control response area display control system 10 can be partitioned into one or more modules, one or more modules being stored in a memory and executed by one or more processors to complete the present invention. For example, in FIG. 4, the control response area display control system 10 can be divided into a detection module 101, a first generation module 102, and a second generation module 103. The term "module" as used in the present invention refers to a series of computer program instruction segments capable of performing a specific function, which is more suitable than the program to describe the execution process of the control response area display control system 10 in the electronic device, wherein:
侦测模块101,用于在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,对用户针对该应用程序的所有点击事件进行侦测;The detecting module 101 is configured to detect, when the user sends an explicit response command to the control area of the application for the application, to detect all click events of the user for the application;
本实施例中,控件响应区域显示控制系统10可以在该应用程序的操作界面上生成一个显性查看功能控件,通过该显性查看功能控件可以发出所述控件响应区域显性开启指令(例如,该显性查看功能控件包括开启选项,用户点击该开启选项,即发出所述控件响应区域显性开启指令);控件响应区域显示控制系统10也可以是包括声控开启开关,根据接收预设的语音指令以发出所述控件响应区域现行开启指令;等等。当侦测模块101接收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,开启侦测功能,对该应用程序的所有点击事件进行侦测。In this embodiment, the control response area display control system 10 can generate an explicit view function control on the operation interface of the application, by which the control response area explicit open command can be issued (for example, The explicit viewing function control includes an opening option, and the user clicks the opening option, that is, the control response area explicit opening instruction is issued; the control response area display control system 10 may also include a voice control opening switch, according to the preset voice received. The instruction is to issue the current open command of the control response area; and so on. When the detecting module 101 receives the explicit opening command of the control response area of the application issued by the user, the detecting module 101 turns on the detecting function to detect all click events of the application.
第一生成模块102,用于在侦测模块侦测到用户的一个点击事件时,通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面;The first generating module 102 is configured to: when the detecting module detects a click event of the user, determine, by the display system, a click sensing area corresponding to the click event, and generate a preset form in the click sensing area a regional picture;
当侦测模块101侦测到一个点击事件时,第一生成模块102通过显示系统确定该点击事件在屏幕上的点击感测区域,并在该点击感测区域生成预设形式的第一区域画面,以将该点击感测区域突出显示;其中,该预设形式的第一区域画面可以是渐变的动画、静态的画面或幻灯片播放形式的画面,等等。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 image in a preset form in the click sensing area. And highlighting the click sensing area; wherein the first area picture of the preset form may be a gradation animation, a static picture or a slide show form, and the like.
第二生成模块103,用于确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。a second generation module 103, configured to determine a response control of the application response to the click event, and determine, according to the configuration file of the application, a control pixel area corresponding to each response control, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
其中,响应控件指的是该应用程序中对发生的点击事件进行响应的控件。第二生成模块103根据查找该应用程序的配置文件(该配置文件中包括了该应用程序中的所有控件以及为每一个控件配置的像素区域),以找出各个响应控件对应的控件像素区域,以在各个响应控件对应的控件像素区域生成预设形式的第二区域画面,使各个控件像素区域以直观的方式展示出。其中,该预设形式的第二区域画面可以是渐变的动画、静态的画面或幻灯片播放形式的画面,等等;所述第一区域画面与第二区域画面可以相同,也可以不同。The response control refers to the control in the application that responds to the click event that occurred. The second generation module 103 is configured to find a configuration file of the application (the configuration file includes all the controls in the application and a pixel area configured for each control) to find a control pixel area corresponding to each response control. The second area image in a preset form is generated in the control pixel area corresponding to each response control, so that each control pixel area is displayed in an intuitive manner. The second area picture of the preset form may be a gradation animation, a static picture or a picture in a slide show format, and the like; the first area picture and the second area picture may be the same or different.
与现有技术相比,本实施例方案通过在对点击事件进行响应的响应控件 所对应的控件像素区域生成预设形式的第二区域画面,将响应控件的像素区域突出显示,使得在应用程序的开发设计或测试过程中,使用者能够直观的看到对点击事件进行响应的控件的坐标位置和大小;这样,在应用程序的开发设计或测试中就能更好的发现控件的点击区域之间存在重叠区域、控件的点击区域大小不合适等问题并解决,降低返工和人力物力的浪费。并且,本实施例方案还在屏幕的点击感测区域生成预设形式的第一区域画面,使得在软件录制视频的时候可以清楚的知道当前的用户操作,记录应用程序的整个测试过程。Compared with the prior art, the solution of the embodiment passes the response control in response to the click event. The corresponding control pixel area generates a second area picture in a preset form, and the pixel area of the response control is highlighted, so that the user can intuitively see the response to the click event during the development design or testing process of the application. The coordinate position and size of the control; in this way, in the development design or test of the application, it is better to find the overlap area between the click areas of the control, the size of the click area of the control is not suitable, and solve the problem, and reduce the rework and manpower. Waste of material resources. Moreover, the solution in this 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 entire testing process of the application is recorded.
优选地,所述侦测模块101还用于在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,停止对用户针对该应用程序的所有点击事件进行侦测。Preferably, the detecting module 101 is further configured to stop detecting all click events of the user for the application after receiving the explicit closing command of the control response area sent by the user for the application.
控件响应区域显示控制系统10可以在该应用程序的操作界面上生成一个显性查看功能控件,通过该显性查看功能控件可以发出控件响应区域显性开启指令和控件响应区域显性关闭指令。例如,该显性查看功能控件包括开启选项和关闭选项,用户点击该开启选项,发出所述控件响应区域显性开启指令,用户点击关闭选项,则发出所述控件响应区域显性关闭指令。开发测试者在需要对该应用程序进行测试时,可通过点击显性查看功能控件的开启选项,使侦测模块101对用户针对该应用程序的所有点击事件进行侦测;在测试完成后,可通过点击显性查看功能控件的关闭选项,使侦测模块101停止对用户针对该应用程序的所有点击事件进行侦测。The control response area display control system 10 can generate an explicit view function control on the operation interface of the application, by which the control response area explicit open command and the control response area explicit close command can be issued. For example, the explicit viewing function control includes an opening option and a closing option, and the user clicks the opening option to issue the control response area explicit opening instruction, and the user clicks the close option to issue the control response area explicit closing instruction. When the test tester needs to test the application, the detection module 101 can detect all click events of the user for the application by clicking the explicit option of the function control; after the test is completed, By clicking the close option of the explicit view function control, the detection module 101 stops detecting all click events of the user for the application.
如图5所示,图5为本发明控件响应区域显示控制系统10二实施例的结构示意图,在本实施例中,所述第二生成模块103替换为: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 of the present invention. In this embodiment, the second generation module 103 is replaced by:
第三生成模块104,用于确定该应用程序对该点击事件进行响应的响应控件,根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,再根据预先确定的控件与预设形式的区域画面的映射关系,确定各个响应控件对应的预设形式的区域画面,并在各个响应控件对应的控件像素区域生成对应的预设形式区域画面,不同的控件对应不同的区域画面。a third generation module 104, configured to determine a response control of the application response to the click event, determine a control pixel area corresponding to each response control according to the configuration file of the application, and then according to the predetermined control and the preset form The mapping relationship of the area pictures determines the area screen of the preset form corresponding to each response control, and generates a corresponding preset form area picture in the control pixel area corresponding to each response control, and different controls correspond to different area pictures.
控件响应区域显示控制系统10中具有该应用程序的控件与预设形式的区域画面的映射关系表,即该应用程序的每个控件均有已经确定的预设形成的区域画面与之对应,第三生成模块通104过查找该映射关系表,确定各个响应控件对应的预设形式区域画面,并在各个响应控件对应的控件像素区域生成对应的预设形式区域画面;由于各个响应的控件对应的区域画面各不相同,如此,可以更好的方便开发测试者对测试过程的观察,另外,当同时有多个控件对该应用程序的同一点击事件进行响应,可直观的发现各个响应控件对应的控件像素区域之间的重合情况。 The control response area displays a mapping relationship table between the control having the application and the area image of the preset form in the control system 10, that is, each control of the application has an area map formed by the preset preset corresponding thereto, The third generation module passes through the mapping table to find the preset form area picture corresponding to each response control, and generates a corresponding preset form area picture in the control pixel area corresponding to each response control; corresponding to each response control The area screens are different. In this way, it is better to develop the tester's observation of the test process. In addition, when multiple controls respond to the same click event of the application at the same time, the corresponding response controls can be intuitively found. The coincidence between the control pixel regions.
如图6所示,图6为本发明控件响应区域显示控制系统10三实施例的结构示意图。本实施例中,所述第二生成模块103替换为第四生成模块105,所述第四确定模块105包括:As shown in FIG. 6, FIG. 6 is a schematic structural diagram of a third embodiment of a control response area display control system 10 according to the present invention. In this embodiment, the second generation module 103 is replaced by a fourth generation module 105, and the fourth determination module 105 includes:
第一分析单元1051,用于分析是否有多个响应控件对该点击事件进行响应;a first analyzing unit 1051, configured to analyze whether a plurality of response controls respond to the click event;
第二分析单元1052,用于在有多个响应控件对该点击事件进行响应时,分析是否有多个响应控件的像素区域存在重合区域;The second analyzing unit 1052 is configured to analyze whether there is a coincident area in a pixel area of the plurality of response controls when there are multiple response controls responding to the click event;
在第一分析单元1051分析得出有多个(例如,两个、三个、四个或更多个)响应控件对该点击事件进行响应后,第二分析单元1052分析各个响应控件的像素区域之间是否有重合区域。例如,可通过显示系统对各个响应控件的像素区域的坐标进行分析,确认是否有相同的坐标点,如果有相同的坐标点,则说明各个响应控件的像素区域之间存在重合,反之,则不存在重合区域。若第一分析单元1051分析得出只有一个控件针对该点击事件进行响应时,则在该响应控件的像素区域生成预设形式的第二区域画面(例如,渐变动画或静态的画面等)或者其它处理。After the first analyzing unit 1051 analyzes that a plurality of (for example, two, three, four or more) response controls respond to the click event, the second analyzing unit 1052 analyzes the pixel regions of the respective response controls. Is there a coincident area between them? For example, the coordinates of the pixel area of each response control can be analyzed by the display system to confirm whether there are the same coordinate points. If there are the same coordinate points, it means that there is a coincidence between the pixel areas of the respective response controls, and vice versa. There is a coincident area. If the first analyzing unit 1051 analyzes that only one control responds to the click event, generating a second area image (for example, a gradient animation or a static picture, etc.) or other in a preset form in the pixel area of the response control deal with.
生成单元1053,用于在有多个响应控件的像素区域存在重合区域时,则控件响应区域显示控制系统10确定该重合区域,在各个响应控件的像素区域中的除该重合区域以外的区域生成预设形式的第二区域画面,并在该重合区域生成预设形式的第三区域画面,该第三区域画面与第二区域画面不同。The generating unit 1053 is configured to: when the overlapping area exists in the pixel area of the plurality of response controls, the control response area display control system 10 determines the overlapping area, and generates the area other than the overlapping area in the pixel area of each response control a second area picture in a preset form, and a third area picture in a preset form is generated in the overlap area, the third area picture being different from the second area picture.
在第二分析单元1052确认有多个响应控件的像素区域存在重合区域后,确定出多个响应控件的像素区域之前的重合区域,在重合区域中生成预设形式的第三区域画面,在各个响应控件的控件像素区域中的除重合区域以外的区域生成预设形式的第二区域画面,其中,第三区域画面与第二区域画面不同,如此,开发测试者就可以直接观察到重合区域的大小,使开发测试者更好的调节修改各个控件的像素区域。该第三区域画面为渐变的动画、静态画面或幻灯片播放形式的画面。该第三区域画面为渐变的动画、静态画面或幻灯片播放形式的画面等。若第二分析单元1052分析出没有响应控件的像素区域存在重合区域,则生成单元1053在各个响应控件的像素区域生成预设形式的第二区域画面或者其它处理。After the second analyzing unit 1052 confirms that there are overlapping regions in the pixel regions of the plurality of response controls, the overlapping regions before the pixel regions of the plurality of response controls are determined, and the third region images in the preset form are generated in the overlapping regions. Generating a second area image in a preset form in a region other than the coincident area in the control pixel area of the control, wherein the third area picture is different from the second area picture, so that the development tester can directly observe the coincident area The size allows the development tester to better adjust the pixel area of each control. The third area picture is a picture in the form of a gradation animation, a still picture, or a slide show. The third area picture is a gradation animation, a still picture, or a slide show format picture. If the second analyzing unit 1052 analyzes that there is a coincident region in the pixel region of the response control, the generating unit 1053 generates a second region screen or other processing in a preset form in the pixel region of each response control.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (20)

  1. 一种控件响应区域显示控制方法,其特征在于,所述控件响应区域显示控制方法包括步骤:A control response area display control method, wherein the control response area display control method comprises the steps of:
    A、在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测;A. After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
    B、若侦测到用户的一个点击事件,则控件响应区域显示控制系统通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面;及B. 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 image in a preset form in the click sensing area. ;and
    C、控件响应区域显示控制系统确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。C. The control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
  2. 如权利要求1所述的控件响应区域显示控制方法,其特征在于,该方法还包括:The control response area display control method according to claim 1, wherein the method further comprises:
    在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
  3. 如权利要求1所述的控件响应区域显示控制方法,其特征在于,所述第一区域画面为渐变的动画,及/或,所述第二区域画面为渐变的动画。The control response area display control method according to claim 1, wherein the first area picture is a gradation animation, and/or the second area picture is a gradation animation.
  4. 如权利要求3所述的控件响应区域显示控制方法,其特征在于,该方法还包括:The control response area display control method according to claim 3, wherein the method further comprises:
    在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
  5. 如权利要求1所述的控件响应区域显示控制方法,其特征在于,将步骤C中“所述在各个响应控件对应的控件像素区域生成预设形式的第二区域画面”的步骤替换为:The control response area display control method according to claim 1, wherein the step of generating the second area picture of the preset form in the control pixel area corresponding to each response control in step C is replaced by:
    根据预先确定的控件与预设形式的区域画面的映射关系,确定各个响应控件对应的预设形式的区域画面,并在各个响应控件对应的控件像素区域生成对应的预设形式区域画面,不同的控件对应不同的区域画面。Determining, according to a mapping relationship between the preset control and the preset area image, determining an area image of the preset form corresponding to each response control, and generating a corresponding preset form area picture in the control pixel area corresponding to each response control, different The controls correspond to different area screens.
  6. 如权利要求5所述的控件响应区域显示控制方法,其特征在于,该方法还包括: The control response area display control method according to claim 5, wherein the method further comprises:
    在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
  7. 如权利要求1所述的控件响应区域显示控制方法,其特征在于,所述步骤C替换为:The control response area display control method according to claim 1, wherein the step C is replaced by:
    分析是否有多个响应控件对该点击事件进行响应;Analyze whether there are multiple response controls responding to the click event;
    若有多个响应控件对该点击事件进行响应,则控件响应区域显示控制系统分析是否有多个响应控件的像素区域存在重合区域;及If a plurality of response controls respond to the click event, the control response area display control system analyzes whether there is a coincident area in the pixel area of the plurality of response controls;
    若有多个响应控件的像素区域存在重合区域,则控件响应区域显示控制系统确定该重合区域,在各个响应控件的像素区域中的除该重合区域以外的区域生成预设形式的第二区域画面,并在该重合区域生成预设形式的第三区域画面,该第三区域画面与第二区域画面不同。If there is a coincidence area in the pixel area of the plurality of response controls, the control response area display control system determines the coincidence area, and generates a second area image of the preset form in the area other than the coincidence area in the pixel area of each response control And generating, in the overlapping area, a third area picture in a preset form, the third area picture being different from the second area picture.
  8. 如权利要求7所述的控件响应区域显示控制方法,其特征在于,该方法还包括:The control response area display control method according to claim 7, wherein the method further comprises:
    在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
  9. 一种电子装置,其特征在于,该电子装置包括存储设备、处理设备及控件响应区域显示控制系统,该控件响应区域显示控制系统存储于该存储设备中,包括至少一个计算机可读指令,该至少一个计算机可读指令可被所述处理设备执行,以实现如下步骤:An electronic device, comprising: a storage device, a processing device, and a control response area display control system, wherein the control response area display control system is stored in the storage device, and includes at least one computer readable instruction, the at least one A computer readable instruction can be executed by the processing device to implement the following steps:
    A、在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测;A. After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
    B、若侦测到用户的一个点击事件,则控件响应区域显示控制系统通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面;及B. 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 image in a preset form in the click sensing area. ;and
    C、控件响应区域显示控制系统确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。C. The control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
  10. 如权利要求9所述的电子装置,其特征在于,所述处理设备执行所述至少一个计算机可读指令时,还可实现如下步骤:The electronic device according to claim 9, wherein when the processing device executes the at least one computer readable instruction, the following steps are further implemented:
    在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦 测。After receiving the explicit response command from the user's control response area for the application, the control response area display control system stops detecting all click events for the user for the application. Measurement.
  11. 如权利要求9所述的电子装置,其特征在于,所述第一区域画面为渐变的动画,及/或,所述第二区域画面为渐变的动画。The electronic device according to claim 9, wherein the first area picture is a gradation animation, and/or the second area picture is a gradation animation.
  12. 如权利要求9所述的电子装置,其特征在于,所述处理设备执行所述至少一个计算机可读指令时,还可实现将步骤C中“所述在各个响应控件对应的控件像素区域生成预设形式的第二区域画面”的步骤替换为如下步骤:The electronic device according to claim 9, wherein when the processing device executes the at least one computer readable instruction, the method further comprises: generating, in step C, the control pixel region corresponding to each response control The step of setting the second area picture of the form is replaced by the following steps:
    根据预先确定的控件与预设形式的区域画面的映射关系,确定各个响应控件对应的预设形式的区域画面,并在各个响应控件对应的控件像素区域生成对应的预设形式区域画面,不同的控件对应不同的区域画面。Determining, according to a mapping relationship between the preset control and the preset area image, determining an area image of the preset form corresponding to each response control, and generating a corresponding preset form area picture in the control pixel area corresponding to each response control, different The controls correspond to different area screens.
  13. 如权利要求12所述的电子装置,其特征在于,所述处理设备执行所述至少一个计算机可读指令时,还可实现如下步骤:The electronic device according to claim 12, wherein when the processing device executes the at least one computer readable instruction, the following steps are further implemented:
    在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
  14. 如权利要求9所述的电子装置,其特征在于,所述处理设备执行所述至少一个计算机可读指令时,还可实现将步骤C替换为如下步骤:The electronic device according to claim 9, wherein when the processing device executes the at least one computer readable instruction, step C is further replaced by the following steps:
    分析是否有多个响应控件对该点击事件进行响应;Analyze whether there are multiple response controls responding to the click event;
    若有多个响应控件对该点击事件进行响应,则控件响应区域显示控制系统分析是否有多个响应控件的像素区域存在重合区域;及If a plurality of response controls respond to the click event, the control response area display control system analyzes whether there is a coincident area in the pixel area of the plurality of response controls;
    若有多个响应控件的像素区域存在重合区域,则控件响应区域显示控制系统确定该重合区域,在各个响应控件的像素区域中的除该重合区域以外的区域生成预设形式的第二区域画面,并在该重合区域生成预设形式的第三区域画面,该第三区域画面与第二区域画面不同。If there is a coincidence area in the pixel area of the plurality of response controls, the control response area display control system determines the coincidence area, and generates a second area image of the preset form in the area other than the coincidence area in the pixel area of each response control And generating, in the overlapping area, a third area picture in a preset form, the third area picture being different from the second area picture.
  15. 如权利要求14所述的电子装置,其特征在于,所述处理设备执行所述至少一个计算机可读指令时,还可实现如下步骤:The electronic device according to claim 14, wherein when the processing device executes the at least one computer readable instruction, the following steps are further implemented:
    在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
  16. 一种计算机可读存储介质,其特征在于,其上存储有至少一个可被处理设备执行以实现以下操作的计算机可读指令:A computer readable storage medium having stored thereon at least one computer readable instruction executable by a processing device to::
    A、在收到用户发出的针对一个应用程序的控件响应区域显性开启指令后,控件响应区域显示控制系统对用户针对该应用程序的所有点击事件进行侦测; A. After receiving the explicit opening instruction of the control response area sent by the user for an application, the control response area display control system detects all click events of the user for the application;
    B、若侦测到用户的一个点击事件,则控件响应区域显示控制系统通过显示系统确定该点击事件对应的点击感测区域,并在所述点击感测区域生成预设形式的第一区域画面;及B. 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 image in a preset form in the click sensing area. ;and
    C、控件响应区域显示控制系统确定该应用程序对该点击事件进行响应的响应控件,并根据该应用程序的配置文件确定各个响应控件对应的控件像素区域,所述配置文件中包括该应用程序的各个控件的像素区域,并在各个响应控件对应的控件像素区域生成预设形式的第二区域画面。C. The control response area display control system determines a response control of the application response to the click event, and determines a control pixel area corresponding to each response control according to the configuration file of the application, where the configuration file includes the application A pixel area of each control, and generating a second area picture in a preset form in a control pixel area corresponding to each response control.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述处理设备执行所述至少一个计算机可读指令时,还可实现将步骤C中“所述在各个响应控件对应的控件像素区域生成预设形式的第二区域画面”的步骤替换为如下步骤:The computer readable storage medium according to claim 16, wherein when said processing device executes said at least one computer readable instruction, said control pixel corresponding to said respective response control in step C is further The step of the area generating the second area picture in the preset form is replaced by the following steps:
    根据预先确定的控件与预设形式的区域画面的映射关系,确定各个响应控件对应的预设形式的区域画面,并在各个响应控件对应的控件像素区域生成对应的预设形式区域画面,不同的控件对应不同的区域画面。Determining, according to a mapping relationship between the preset control and the preset area image, determining an area image of the preset form corresponding to each response control, and generating a corresponding preset form area picture in the control pixel area corresponding to each response control, different The controls correspond to different area screens.
  18. 如权利要求16所述的计算机可读存储介质,其特征在于,所述步骤C替换为如下步骤:The computer readable storage medium of claim 16 wherein said step C is replaced by the following steps:
    分析是否有多个响应控件对该点击事件进行响应;Analyze whether there are multiple response controls responding to the click event;
    若有多个响应控件对该点击事件进行响应,则控件响应区域显示控制系统分析是否有多个响应控件的像素区域存在重合区域;及If a plurality of response controls respond to the click event, the control response area display control system analyzes whether there is a coincident area in the pixel area of the plurality of response controls;
    若有多个响应控件的像素区域存在重合区域,则控件响应区域显示控制系统确定该重合区域,在各个响应控件的像素区域中的除该重合区域以外的区域生成预设形式的第二区域画面,并在该重合区域生成预设形式的第三区域画面,该第三区域画面与第二区域画面不同。If there is a coincidence area in the pixel area of the plurality of response controls, the control response area display control system determines the coincidence area, and generates a second area image of the preset form in the area other than the coincidence area in the pixel area of each response control And generating, in the overlapping area, a third area picture in a preset form, the third area picture being different from the second area picture.
  19. 如权利要求16所述的计算机可读存储介质,其特征在于,所述处理设备执行所述至少一个计算机可读指令时,还可实现如下步骤:The computer readable storage medium of claim 16, wherein when the processing device executes the at least one computer readable instruction, the following steps are further implemented:
    在收到用户发出的针对该应用程序的控件响应区域显性关闭指令后,控件响应区域显示控制系统停止对用户针对该应用程序的所有点击事件进行侦测。After receiving the explicit response command from the user for the control response area of the application, the control response area display control system stops detecting all click events of the user for the application.
  20. 如权利要求16所述的计算机可读存储介质,其特征在于,所述第一区域画面为渐变的动画,及/或,所述第二区域画面为渐变的动画。 The computer readable storage medium of claim 16, wherein the first area picture is a gradation animation and/or the second area picture is a gradation animation.
PCT/CN2017/091356 2017-05-10 2017-06-30 Control response area display control method, electronic apparatus, and storage medium WO2018205392A1 (en)

Applications Claiming Priority (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
CN201710327383.7 2017-05-10

Publications (1)

Publication Number Publication Date
WO2018205392A1 true WO2018205392A1 (en) 2018-11-15

Family

ID=64104367

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/091356 WO2018205392A1 (en) 2017-05-10 2017-06-30 Control response area display control method, electronic apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN108845924B (en)
WO (1) WO2018205392A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273971A (en) * 2018-12-04 2020-06-12 腾讯科技(深圳)有限公司 Information processing method and device in view and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
CN114265530A (en) * 2021-12-08 2022-04-01 贵阳语玩科技有限公司 Button construction and response method, device and terminal based on iOS system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793143A (en) * 2014-02-13 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Display method and device for user interface keys
CN103914260A (en) * 2014-03-31 2014-07-09 苏州浩辰软件股份有限公司 Method and device based on touch screen and used for controlling operation objects
US20140267437A1 (en) * 2013-03-14 2014-09-18 Futurewei Technologies, Inc. Lens Touch Graphic Effect For Mobile Devices
CN104063673A (en) * 2014-06-20 2014-09-24 北京奇虎科技有限公司 Method for inputting information in browser and browser device

Family Cites Families (9)

* 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
CN101840299A (en) * 2010-03-18 2010-09-22 华为终端有限公司 Touch operation method, device and mobile terminal
JP5652652B2 (en) * 2010-12-27 2015-01-14 ソニー株式会社 Display control apparatus and method
WO2013133895A1 (en) * 2012-03-06 2013-09-12 Apple Inc. Fanning user interface controls for a media editing application
CN103941956B (en) * 2013-01-21 2017-12-26 联想(北京)有限公司 A kind of display methods and electronic equipment
JP2015141539A (en) * 2014-01-28 2015-08-03 株式会社東芝 Failure injection program
CN105788451B (en) * 2014-12-24 2020-08-25 联想(北京)有限公司 Electronic equipment, processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140267437A1 (en) * 2013-03-14 2014-09-18 Futurewei Technologies, Inc. Lens Touch Graphic Effect For Mobile Devices
CN103793143A (en) * 2014-02-13 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Display method and device for user interface keys
CN103914260A (en) * 2014-03-31 2014-07-09 苏州浩辰软件股份有限公司 Method and device based on touch screen and used for controlling operation objects
CN104063673A (en) * 2014-06-20 2014-09-24 北京奇虎科技有限公司 Method for inputting information in browser and browser device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273971A (en) * 2018-12-04 2020-06-12 腾讯科技(深圳)有限公司 Information processing method and device in view and storage medium
CN111273971B (en) * 2018-12-04 2022-07-29 腾讯科技(深圳)有限公司 Method and device for processing information in view and storage medium

Also Published As

Publication number Publication date
CN108845924A (en) 2018-11-20
CN108845924B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
US11023363B2 (en) Performance test application sequence script
AU2016286308B2 (en) Robotic process automation
US9747191B1 (en) Tool to replicate actions across devices in real time for improved efficiency during manual application testing
US9519401B2 (en) Providing context menu based on predicted commands
US10114733B1 (en) System and method for automated testing of user interface software for visual responsiveness
WO2021208512A1 (en) Method and apparatus for acquiring control information of user interface, terminal and storage medium
WO2018205392A1 (en) Control response area display control method, electronic apparatus, and storage medium
US9519570B2 (en) Progressive snapshots in automated software testing
US20140211021A1 (en) Test system for evaluating mobile device and driving method thereof
US9684445B2 (en) Mobile gesture reporting and replay with unresponsive gestures identification and analysis
US9317416B2 (en) Merging automated testing reports
CN109697004B (en) Method, device and equipment for writing annotation by touch equipment and storage medium
US20230035104A1 (en) Verification method, apparatus and device, and storage medium
US9495332B2 (en) Detection and repositioning of pop-up dialogs
CN112817831A (en) Application performance monitoring method, device, computer system and readable storage medium
US20180336122A1 (en) Generating application flow entities
WO2019090691A1 (en) Monkey testing method and terminal
CN116645672A (en) Method, system, terminal and medium based on image frame selection recognition and automatic input
WO2015039585A1 (en) Method and device for testing software reliability
US20130335360A1 (en) Touch screen interaction methods and apparatuses
CN111611095A (en) Car machine and log obtaining method and device applied by car machine
WO2020232900A1 (en) System test method and apparatus, computer device and storage medium
CN110737417A (en) demonstration equipment and display control method and device of marking line thereof
CN115408667A (en) Method and system for detecting infringement of application program content
CN110569184B (en) Test method and terminal equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17908975

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17908975

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.03.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17908975

Country of ref document: EP

Kind code of ref document: A1