WO2018205390A1 - 一种控件布局显示控制方法、系统、装置及计算机可读存储介质 - Google Patents
一种控件布局显示控制方法、系统、装置及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2018205390A1 WO2018205390A1 PCT/CN2017/091354 CN2017091354W WO2018205390A1 WO 2018205390 A1 WO2018205390 A1 WO 2018205390A1 CN 2017091354 W CN2017091354 W CN 2017091354W WO 2018205390 A1 WO2018205390 A1 WO 2018205390A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- control
- node
- color
- branch
- pixel area
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Definitions
- the present invention relates to the field of application development, and in particular, to a control layout display control method, system, device, and computer readable storage medium.
- the object of the present invention is to provide a method, a device and a computer readable storage medium for controlling layout display control, which are intended to solve the problems of low efficiency, complicated operation and error prone when viewing the coordinates and size of an application.
- a first aspect of the present invention provides a control layout display control method.
- the method includes:
- the configuration file includes a control structure tree of each control of the application, and attribute data of each control; the control structure tree includes at least one control node branch, and the master node of each control node branch corresponds to the application program A layer of control, under each control node branch, the control corresponding to the lower node is the lower control of the corresponding control corresponding to the upper node;
- control node branch is selected, starting from the master node of the control node branch, the nodes are selected one by one according to the node order, and the control of each selected node performs color identification of the pixel area according to the attribute data corresponding to each control;
- step D After the color identification of the controls of all the nodes of the control node branch is completed, if the control node branch is not selected, return to step B to continue to select the unselected control node branches one by one.
- a second aspect of the present invention provides a control layout display control system, including:
- An obtaining module configured to acquire a configuration file of the application after receiving a display instruction opening instruction for an application issued by a user;
- the configuration file includes a control structure tree of each control of the application, And the attribute data of each of the controls;
- the control structure tree includes at least one control node branch, and the master node of each of the control node branches corresponds to a first layer control of the application, and each of the control nodes Under the branch, the control corresponding to the lower node is the lower control of the corresponding control corresponding to the upper node;
- a color identification module configured to select a node in a node order from the selected master node of the control node, and perform color identification of the pixel area according to the corresponding attribute data by the control of each selected node;
- control the selection module to continue to branch the unselected control node Make one by one.
- a third aspect of the present invention provides a control layout display control apparatus, including: a memory, a processor, and a control layout display control system stored on the processor and operable on the processor, the control layout display control The following steps are implemented when the system is executed by the processor:
- a fourth 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:
- the invention has the beneficial effects that the control layout display control method, the electronic device and the computer readable storage medium proposed by the invention firstly obtain the configuration file of the application program that the user needs to display the layout of the control, and select one by one in the configuration file.
- the control node branch of the control structure tree and then, according to the selected control node branch, the control of each selected node performs the color identification of the pixel area according to the attribute data of each control in the configuration file corresponding to each control to display the user in the current screen.
- the border of the control that needs to be displayed that is to say, the above scheme can efficiently display all the control borders of the screen, and can display the borders of all the controls in the screen efficiently and accurately, and the operation process is simple and easy to implement.
- FIG. 1 is a schematic diagram of an operating environment of a control layout display control system of the present invention
- step S3 is a schematic diagram of a refinement process of step S3 shown in FIG. 1;
- Figure 5 is a schematic structural view of an embodiment of the present invention.
- FIG. 6 is a schematic structural view of the color identification module shown in FIG. 5.
- FIG. 1 is a schematic diagram of an operating environment of a preferred embodiment of the control layout display control system 10 of the present invention.
- the application environment diagram includes a control layout display control device 1 and a terminal device 2.
- the control layout display control device 1 can perform data interaction with the terminal device 2 through a suitable technique 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 control layout display control device 1 is a device capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance.
- the control layout display control device 1 may be a computer, a single network server, a server group composed of a plurality of network servers, or a cloud-based cloud composed of a large number of hosts or network servers, wherein the cloud computing is a kind of distributed computing.
- a super virtual computer consisting of a group of loosely coupled computers.
- control layout display control device 1 includes, but is not limited to, a The storage device 11, the processing device 12, and the network interface 13 are connected to each other by a bus. It should be noted that FIG. 1 only shows the control layout display control device 1 having the components 11-13, but it should be understood that not all of the illustrated components are required to be implemented, and more or less may be implemented instead. Component.
- 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 control layout display control 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 control layout display control device 1, for example, the control layout displays the hard disk of the control device 1; in other embodiments, the non-volatile storage medium may also It is an external storage device of the control layout display control device 1, for example, a plug-in hard disk equipped with a control layout display control device 1, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card. (Flash Card), etc.
- the readable storage medium of the storage device 11 is generally used to store an operating system installed in the control layout display control device 1 and various types of application software, such as the program of the control layout display control system 10 in an embodiment of the present application. Code, etc. Further, 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 control layout display control 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 the control layout display control system 10 and 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 control layout display control device 1 and other electronic devices.
- the network interface 13 is mainly used to connect the control layout display control device 1 to one or more terminal devices 2, and establish a data transmission channel between the control layout display control device 1 and one or more terminal devices 2 and Communication connection.
- the control layout display control system 10 includes at least one computer readable instructions stored in the storage device 11, the at least one computer readable instructions being executable by the processing device 12 to implement the control layout 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.
- the control layout display control system 10 when executed by the processing device 12, the following operations are performed: acquiring the configuration of the application after receiving the control of the control layout display for an application issued by the user of the terminal device 2
- the configuration file includes a control structure tree of each control of the application, and attribute data of each control; the control structure tree includes at least one control node branch, and the master node of each control node branch corresponds to the first layer of the application
- the control under each control node branch, the control corresponding to the lower node is the lower control corresponding to the control of the upper node; select the control node branch one by one; starting from the primary node of the selected control node branch, select the nodes one by one according to the node order, And the control of each selected node performs color identification of the pixel area according to the corresponding attribute data; after the color of the control of all the nodes of the control node branch is completed, if there is an unselected control node branch, the one-by-one selection control is returned. Node branch, continue Select
- FIG. 2 is a schematic flowchart of an embodiment of the present invention, including the following steps:
- S1 Obtain an application configuration file, where the configuration file includes a control structure tree of each control of the application, and attribute data of each control; the control structure tree includes at least one control node branch.
- control layout display control system receives the user-issued one for the user. After the application's control layout shows the open command, it gets the application's configuration file.
- the user may issue different instructions depending on the user's usage. For example, if the border of the control already in the current screen displays a color identifier different from the preset off state, the user needs to close the border of the control that displays the different color states on the current screen, and the user needs to issue an application for an application.
- the control layout displays the close command, and the control layout display control system needs to obtain the application's configuration file after receiving the user's control layout display close command for an application.
- control structure tree includes at least one control node branch, and each control node branches, and the control corresponding to the lower node is a lower control corresponding to the corresponding upper node.
- this step it is first necessary to start from the master node of the control node branch selected by S2, select nodes one by one according to the node order, and perform color identification of the pixel area according to the corresponding attribute data for the control of each selection node.
- S2 may not select a control node branch, or may select one or more control node branches. It can also be understood that if a control node branch is selected, starting from the master node of the selected control node branch, the nodes are selected one by one according to the node order, and the controls of the selected nodes are performed according to the corresponding attribute data. Color identification.
- the corresponding S1 is S3 executed after receiving the control layout display opening instruction of the application for the application in the current screen, and if the receiving user sends a control layout display for an application in the current screen is closed. After the instruction, it is not necessary to execute S3, which is specifically described in another embodiment of the present invention.
- control node branch if a control node branch is selected, it is also possible to determine the color of the pixel area according to the corresponding attribute data by determining all the nodes included in the control node branch.
- this step is combined with S2 and S3. After the color of the control of all the nodes of the control node branch is completed, if there is an unselected control node branch, return to S2 and continue to the unselected control node. Branches are selected one by one.
- this embodiment can be understood as: after receiving a display instruction of a control layout issued by a user for an application, acquiring a configuration file of the application, if a control node branches When selected, starting from the master node of the selected control node branch, the nodes are selected one by one according to the order of the nodes, and the control of each selected node performs color identification of the pixel area according to the corresponding attribute data, and branches in the selected control node. After the color of the control of all nodes is completed, if there are still unselected control node branches, return to S2 and continue to select the unselected control node branches one by one.
- S2 is repeatedly executed until a control node branch is selected, or an error message is fed back to the control layout display control system.
- the embodiment obtains the configuration file of the application program, and selects the control node branch in the configuration file one by one, starts from the primary node of the selected control node branch, selects the nodes one by one according to the node order, and The control of each selection node performs color identification of the pixel area according to the attribute data corresponding to the configuration file, so as to quickly, efficiently and accurately open the display of the control layout of the application.
- S3 includes the following steps:
- the attribute data corresponding to the selected node is parsed to parse the pixel area of the selected node, and the parsed pixel area is subjected to a preset type of color identification.
- FIG. 4 is a schematic flow chart of another embodiment of the present invention. As shown in FIG. 4, in this embodiment, the following steps are included:
- control layout display control system after receiving the display of the control layout for the application issued by the user, the control layout display control system selects the control node branch of the control one by one.
- S11 Perform color restoration of the pixel area according to the corresponding attribute data for the control of each selected node.
- the step is: if a control node branch is selected, starting from the master node of the selected control node branch, selecting nodes one by one according to the node order, and controlling the controls of each selected node according to The corresponding attribute data performs color restoration of the pixel area to restore the modified color of the pixel area to the corresponding system default color.
- the embodiment can be understood as: after receiving the control layout display closing instruction issued by the user for an application, acquiring the configuration file of the application, if a control node branch is selected, the selected one is selected from the selected
- the master node of the control node branch starts, selects the nodes one by one according to the node order, and performs color restoration of the pixel area according to the corresponding attribute data of each selected node control to restore the modified color of the pixel area to the corresponding system default color. .
- After the color of the control of all nodes of the control node branch is restored, if there are still control node branches in the control node branch that are not selected, then return to S11 and continue to select the unselected control node branches one by one.
- the embodiment obtains the configuration file of the application program, and selects the control node branch in the configuration file one by one, starts from the primary node of the selected control node branch, selects the nodes one by one according to the node order, and The control of each selection node performs color restoration of the pixel area according to the attribute data in the configuration file and its corresponding attribute data, so as to quickly, efficiently and accurately close the display of the control layout of the application.
- FIG. 5 is a functional block diagram of a preferred embodiment of the control layout display control system 10 of the present invention.
- the control layout display control system 10 can be divided into one or more modules, one or more modules being stored in the memory 11, and by one or more processors (this embodiment is the processor 12) ) is performed to complete the present invention.
- the control layout display control system 10 can be divided into an acquisition module 101, a storage module 102, a selection module 103, a color identification module 104, and a control module 105.
- the module referred to in the present invention refers to a series of computer program instruction segments capable of performing a specific function, and is more suitable than the program to describe the execution process of the control layout display control system 10 in the control layout display control device 1, wherein:
- the obtaining module 101 is configured to obtain a configuration file of the application after receiving a control layout display opening instruction or a control layout display closing instruction issued by the user for an application.
- the storage module 102 is configured to store a configuration file.
- the configuration file includes a control structure tree of each control of the application, and attribute data of each control.
- the control structure tree includes at least one control node branch, and the main node of each control node branch corresponds to the first layer control of the application, and each control node branches, and the control corresponding to the lower node is the lower layer of the corresponding control of the corresponding upper node. Control.
- the selection module 103 is configured to select the control node branches one by one.
- the color identification module 104 is configured to select nodes according to the node order one by one from the selected master node of the control node, and perform color identification of the pixel area according to the corresponding attribute data by the control of each selected node.
- the control module 105 is configured to: after the color of the control of all the nodes of the control node branch is completed, if the control node branch in the control node branch is not selected, the control selection module 103 follows Continue to select the control node branches that are not selected one by one.
- the color identification module 104 is divided into a first sub-module 1041, a second sub-module 1042, and a third sub-module 1043. And a fourth sub-module 1044. among them,
- the first sub-module 1041 is configured to select nodes one by one in order of nodes.
- the second sub-module 1042 is configured to parse the attribute data corresponding to the selected node after a node is selected to parse the pixel area of the selected node.
- the third sub-module 1043 is configured to perform a preset type of color identification on the pixel area parsed by the second sub-module 1042.
- the fourth sub-module 1044 is configured to return to the second sub-module 1042 if the node of the control node of the control is not selected after the color of the control of the selected node is completed.
- control layout display control system 10 of the present invention includes, but is not limited to, the modules in the above embodiments.
- the control layout display control system 10 further includes a receiving module (not shown in FIG. 5).
- the receiving module is configured to receive a control layout display opening instruction or a control layout display closing instruction issued by the user for one application.
- control layout display control system 10 further includes a color recovery module (not shown in FIG. 5), and the color recovery module is configured to display a close instruction on the control layout of the control issued by the user for an application.
- the control of each selected node performs color restoration of the pixel area according to the corresponding attribute data to restore the modified color of the pixel area to the corresponding system default color.
- the color recovery module is divided into sub-modules having different functions according to the needs of the actual use environment, and details are not described herein again.
- control layout display control system 10 of the present invention can be divided into a series of sub-modules having the above functions, including but not limited to the sub-modules of the embodiment.
- control layout display control system of the embodiment acquires the configuration file of the application program through the acquisition module, and selects the control node branch in the configuration file one by one through the selection module, and the color identification module starts from the primary node of the selected control node branch.
- the nodes are selected one by one according to the order of the nodes, and the controls of the selected nodes are color-identified according to the attribute data in the configuration file and the corresponding attribute data, so as to quickly, efficiently and accurately open the display of the control layout of the application.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (20)
- 一种控件布局显示控制方法,其特征在于,所述方法包括:A、在收到用户发出的针对一个应用程序的控件布局显示开启指令后,获取所述应用程序的配置文件;所述配置文件中包括所述应用程序的各个控件的控件结构树、及所述各个控件的属性数据;所述控件结构树包括至少一个控件节点分支,每个所述控件节点分支的主节点对应的是所述应用程序的第一层控件,每个所述控件节点分支下,下级节点对应的控件是对应的上级节点对应控件的下层控件;B、逐一选择所述控件节点分支;C、从被选择的所述控件节点分支的主节点开始,逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色标识;D、在所述控件节点分支的所有节点的控件的颜色标识完毕后,若有未被选择的控件节点分支,则返回所述步骤B,继续对所述未被选择的控件节点分支进行逐一选择。
- 根据权利要求1所述的控件布局显示控制方法,其特征在于,所述步骤C替换为:若一个所述控件节点分支被选择,则确定所述控件节点分支包括的所有节点,对确定的各个节点的控件按照对应的所述属性数据进行像素区域的颜色标识。
- 根据权利要求1所述的控件布局显示控制方法,其特征在于,所述逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色标识的步骤包括:E、逐一按照节点顺序选择节点;F、在一个节点被选择后,对选择的节点对应的所述属性数据进行解析以解析出所述选择的节点的像素区域,并对解析的所述像素区域进行预设类型的颜色标识;G、在对所述选择的节点的控件的颜色标识完毕后,若所述控件的控件节点分支中还有节点未被选择,则返回所述步骤E,继续对所述未被选择的节点进行逐一选择。
- 根据权利要求3所述的控件布局显示控制方法,其特征在于,所述对解析的所述像素区域进行预设类型的颜色标识的步骤包括:根据解析的所述像素区域,确定所述像素区域的控件对应的像素边框,并将确定的所述像素边框的颜色修改为预设颜色;或将所述像素区域的控件的背景颜色修改为预设颜色。
- 根据权利要求3所述的控件布局显示控制方法,其特征在于,所述对解析的所述像素区域进行预设类型的颜色标识的步骤包括:根据解析的所述像素区域,确定所述像素区域的控件对应的像素边框,根据预先确定的控件与边框标识颜色的映射关系,确定解析的所述像素区域对应的边框标识颜色,并将确定的所述像素边框的颜色修改为确定的所述边框标识颜色;或根据预先确定的控件与区域标识颜色的映射关系,确定解析的所述像素区域对应的区域标识颜色,并将解析的所述像素区域的控件背景颜色修改为确定的区域标识颜色。
- 根据权利要求1所述的控件布局显示控制方法,其特征在于,该方法还包括如下步骤:H、在收到用户发出的针对所述应用程序的控件布局显示关闭指令后,逐一选择所述控件的控件节点分支;I、若一个所述控件节点分支被选择,则从所述控件节点分支的主节点开始,逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色还原,以将所述像素区域被修改的颜色还原成对应的系统默认颜色;J、在所述控件节点分支的所有节点的控件的颜色还原完毕后,若所述控件节点分支中有控件节点分支未被选择,则返回所述步骤I,继续对所述未被选择的控件节点分支进行逐一选择。
- 一种控件布局显示控制系统,其特征在于,所述系统包括:获取模块,用于在收到用户发出的针对一个应用程序的控件布局显示开启指令后,获取所述应用程序的配置文件;所述配置文件中包括所述应用程序的各个控件的控件结构树、及所述各个控件的属性数据;所述控件结构树包括至少一个控件节点分支,每个所述控件节点分支的主节点对应的是所述应用程序的第一层控件,每个所述控件节点分支下,下级节点对应的控件是对应的上级节点对应控件的下层控件;选择模块,用于逐一选择所述控件节点分支;颜色标识模块,用于从被选择的所述控件节点分支的主节点开始,逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色标识;控制模块,用于在所述控件节点分支的所有节点的控件的颜色标识完毕后,若有未被选择的控件节点分支,则控制所述选择模块,继续对所述未被选择的控件节点分支进行逐一选择。
- 根据权利要求7所述的控件布局显示控制系统,其特征在于,所述颜色标识模块包括:第一子模块、第二子模块、第三子模块及第四子模块;所述第一子模块,用于逐一按照节点顺序选择节点;所述第二子模块,用于在一个节点被选择后,对选择的节点对应的属性数据进行解析以解析出选择的节点的像素区域;所述第三子模块,用于对第二子模块解析的像素区域进行预设类型的颜色标识;所述第四子模块,用于在对选择的节点的控件的颜色标识完毕后,若控件的控件节点分支中还有节点未被选择,则控制返回所述第二子模块。
- 一种控件布局显示控制装置,其特征在于,包括:存储器、处理器及存储在所述处理器上并可在所述处理器上运行的控件布局显示控制系统,所述控件布局显示控制系统被所述处理器执行时实现以下步骤:A、在收到用户发出的针对一个应用程序的控件布局显示开启指令后,获取所述应用程序的配置文件;所述配置文件中包括所述应用程序的各个控件的控件结构树、及所述各个控件的属性数据;所述控件结构树包括至少一个控件节点分支,每个所述控件节点分支的主节点对应的是所述应用程序的第一层控件,每个所述控件节点分支下,下级节点对应的控件是对应的上级节点对应控件的下层控件;B、逐一选择所述控件节点分支;C、从被选择的所述控件节点分支的主节点开始,逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色标识;D、在所述控件节点分支的所有节点的控件的颜色标识完毕后,若有未被选择的控件节点分支,则返回所述步骤B,继续对所述未被选择的控件节点分支进行逐一选择。
- 根据权利要求9所述的控件布局显示控制装置,其特征在于,所述处理器执行所述步骤C替换为:若一个所述控件节点分支被选择,则确定所述控件节点分支包括的所有节点,对确定的各个节点的控件按照对应的所述属性数据进行像素区域的颜色标识。
- 根据权利要求9所述的控件布局显示控制装置,其特征在于,所述处理器执行所述逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色标识的步骤包括:E、逐一按照节点顺序选择节点;F、在一个节点被选择后,对选择的节点对应的所述属性数据进行解析以解析出所述选择的节点的像素区域,并对解析的所述像素区域进行预设类型的颜色标识;G、在对所述选择的节点的控件的颜色标识完毕后,若所述控件的控件节 点分支中还有节点未被选择,则返回所述步骤E,继续对所述未被选择的节点进行逐一选择。
- 根据权利要求11所述的控件布局显示控制装置,其特征在于,所述处理器执行所述对解析的所述像素区域进行预设类型的颜色标识的步骤包括:根据解析的所述像素区域,确定所述像素区域的控件对应的像素边框,并将确定的所述像素边框的颜色修改为预设颜色;或将所述像素区域的控件的背景颜色修改为预设颜色。
- 根据权利要求11所述的控件布局显示控制装置,其特征在于,所述处理器执行所述对解析的所述像素区域进行预设类型的颜色标识的步骤包括:根据解析的所述像素区域,确定所述像素区域的控件对应的像素边框,根据预先确定的控件与边框标识颜色的映射关系,确定解析的所述像素区域对应的边框标识颜色,并将确定的所述像素边框的颜色修改为确定的所述边框标识颜色;或根据预先确定的控件与区域标识颜色的映射关系,确定解析的所述像素区域对应的区域标识颜色,并将解析的所述像素区域的控件背景颜色修改为确定的区域标识颜色。
- 根据权利要求9所述的控件布局显示控制装置,其特征在于,所述处理器执行所述控件布局显示控制系统,还用于执行以下步骤:H、在收到用户发出的针对所述应用程序的控件布局显示关闭指令后,逐一选择所述控件的控件节点分支;I、若一个所述控件节点分支被选择,则从所述控件节点分支的主节点开始,逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色还原,以将所述像素区域被修改的颜色还原成对应的系统默认颜色;J、在所述控件节点分支的所有节点的控件的颜色还原完毕后,若所述控件节点分支中有控件节点分支未被选择,则返回所述步骤I,继续对所述未被选择的控件节点分支进行逐一选择。
- 一种计算机可读存储介质,其上存储有至少一个可被处理设备执行以实现以下操作的计算机可读指令:A、在收到用户发出的针对一个应用程序的控件布局显示开启指令后,获取所述应用程序的配置文件;所述配置文件中包括所述应用程序的各个控件的控件结构树、及所述各个控件的属性数据;所述控件结构树包括至少一个控件节点分支,每个所述控件节点分支的主节点对应的是所述应用程序的第一层控件,每个所述控件节点分支下,下级节点对应的控件是对应的上级节 点对应控件的下层控件;B、逐一选择所述控件节点分支;C、从被选择的所述控件节点分支的主节点开始,逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色标识;D、在所述控件节点分支的所有节点的控件的颜色标识完毕后,若有未被选择的控件节点分支,则返回所述步骤B,继续对所述未被选择的控件节点分支进行逐一选择。
- 根据权利要求15所述的介质,其特征在于,所述至少一个计算机指令实现所述操作步骤C替换为:若一个所述控件节点分支被选择,则确定所述控件节点分支包括的所有节点,对确定的各个节点的控件按照对应的所述属性数据进行像素区域的颜色标识。
- 根据权利要求15所述的介质,其特征在于,所述至少一个计算机指令实现所述逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色标识的步骤包括:E、逐一按照节点顺序选择节点;F、在一个节点被选择后,对选择的节点对应的所述属性数据进行解析以解析出所述选择的节点的像素区域,并对解析的所述像素区域进行预设类型的颜色标识;G、在对所述选择的节点的控件的颜色标识完毕后,若所述控件的控件节点分支中还有节点未被选择,则返回所述步骤E,继续对所述未被选择的节点进行逐一选择。
- 根据权利要求17所述的介质,其特征在于,所述至少一个计算机指令实现所述对解析的所述像素区域进行预设类型的颜色标识的步骤包括:根据解析的所述像素区域,确定所述像素区域的控件对应的像素边框,并将确定的所述像素边框的颜色修改为预设颜色;或将所述像素区域的控件的背景颜色修改为预设颜色。
- 根据权利要求17所述的介质,其特征在于,所述至少一个计算机指令实现所述对解析的所述像素区域进行预设类型的颜色标识的步骤包括:根据解析的所述像素区域,确定所述像素区域的控件对应的像素边框,根据预先确定的控件与边框标识颜色的映射关系,确定解析的所述像素区域对应的边框标识颜色,并将确定的所述像素边框的颜色修改为确定的所述边框标识颜色;或根据预先确定的控件与区域标识颜色的映射关系,确定解析的所述像素区域对应的区域标识颜色,并将解析的所述像素区域的控件背景 颜色修改为确定的区域标识颜色。
- 根据权利要求15所述的介质,其特征在于,所述至少一个计算机指令还用于实现以下步骤:H、在收到用户发出的针对所述应用程序的控件布局显示关闭指令后,逐一选择所述控件的控件节点分支;I、若一个所述控件节点分支被选择,则从所述控件节点分支的主节点开始,逐一按照节点顺序选择节点,并对各个选择的节点的控件按照对应的所述属性数据进行像素区域的颜色还原,以将所述像素区域被修改的颜色还原成对应的系统默认颜色;J、在所述控件节点分支的所有节点的控件的颜色还原完毕后,若所述控件节点分支中有控件节点分支未被选择,则返回所述步骤I,继续对所述未被选择的控件节点分支进行逐一选择。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710327382.2A CN108427557A (zh) | 2017-05-10 | 2017-05-10 | 一种控件布局显示控制方法、装置及计算机可读存储介质 |
CN201710327382.2 | 2017-05-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018205390A1 true WO2018205390A1 (zh) | 2018-11-15 |
Family
ID=63155659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/091354 WO2018205390A1 (zh) | 2017-05-10 | 2017-06-30 | 一种控件布局显示控制方法、系统、装置及计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108427557A (zh) |
WO (1) | WO2018205390A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110070496B (zh) * | 2019-02-28 | 2020-07-31 | 北京字节跳动网络技术有限公司 | 图像特效的生成方法、装置和硬件装置 |
CN111124412B (zh) * | 2020-01-02 | 2021-08-17 | 腾讯科技(深圳)有限公司 | 一种游戏页面绘制方法、装置、设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020107892A1 (en) * | 2000-12-12 | 2002-08-08 | Oracle Corporation | Dynamic tree control system |
CN103902256A (zh) * | 2012-12-24 | 2014-07-02 | 航天信息股份有限公司 | 一种界面的生成系统和方法 |
CN104007966A (zh) * | 2014-05-21 | 2014-08-27 | 广东明创软件科技有限公司 | 基于开发使用的应用程序界面控件信息查看方法 |
CN105700925A (zh) * | 2016-01-13 | 2016-06-22 | 深圳市华讯方舟软件信息科技有限公司 | 一种app的界面实现方法和装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010042079A1 (en) * | 2000-05-09 | 2001-11-15 | Patrick Urban | Display control with active hypertext documents |
CN105511873B (zh) * | 2015-12-02 | 2020-05-12 | 网易(杭州)网络有限公司 | 用户界面控件展示方法及装置 |
CN105511725A (zh) * | 2015-12-09 | 2016-04-20 | 网易(杭州)网络有限公司 | 界面中控件的显示方法及装置 |
CN106294152B (zh) * | 2016-08-09 | 2019-03-12 | 努比亚技术有限公司 | 应用用户界面的遍历测试装置及方法 |
CN106604106A (zh) * | 2016-12-29 | 2017-04-26 | 北京奇虎科技有限公司 | 一种播放器控件显示控制方法及装置 |
-
2017
- 2017-05-10 CN CN201710327382.2A patent/CN108427557A/zh active Pending
- 2017-06-30 WO PCT/CN2017/091354 patent/WO2018205390A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020107892A1 (en) * | 2000-12-12 | 2002-08-08 | Oracle Corporation | Dynamic tree control system |
CN103902256A (zh) * | 2012-12-24 | 2014-07-02 | 航天信息股份有限公司 | 一种界面的生成系统和方法 |
CN104007966A (zh) * | 2014-05-21 | 2014-08-27 | 广东明创软件科技有限公司 | 基于开发使用的应用程序界面控件信息查看方法 |
CN105700925A (zh) * | 2016-01-13 | 2016-06-22 | 深圳市华讯方舟软件信息科技有限公司 | 一种app的界面实现方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN108427557A (zh) | 2018-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536761B (zh) | 报表数据查询方法及服务器 | |
WO2020063019A1 (zh) | 信息处理方法、装置、存储介质、电子设备及系统 | |
US10671357B2 (en) | Preview changes to mobile applications at different display resolutions | |
CN104704468B (zh) | Web应用程序的跨系统安装 | |
CN105807966B (zh) | 一种触摸屏事件的获取方法及装置 | |
US8627274B2 (en) | Software tool and method for generating a virtual appliance | |
WO2019056744A1 (zh) | 截屏方法、装置、电子设备及可读存储介质 | |
CN111880879B (zh) | 一种动态壁纸的播放方法、装置、设备及存储介质 | |
US20210194990A1 (en) | Virtual workspace experience visualization and optimization | |
CN109213316B (zh) | 自动布局引擎 | |
US9906399B2 (en) | Methods and systems for combined management of multiple servers | |
WO2023284312A1 (zh) | 工作流程的构建方法及装置、设备、计算机存储介质及计算机程序产品 | |
CN102662591B (zh) | 数据处理方法和装置 | |
CN110868324A (zh) | 一种业务配置方法、装置、设备和存储介质 | |
CN112000911A (zh) | 页面管理方法、装置、电子设备以及存储介质 | |
CN112130951A (zh) | 基于ai的rpa流程生成端的流程生成方法、设备及存储介质 | |
CN105138463A (zh) | 一种移动终端的软件测试方法及系统 | |
WO2024198989A1 (zh) | 视频生成方法和装置 | |
WO2018205390A1 (zh) | 一种控件布局显示控制方法、系统、装置及计算机可读存储介质 | |
CN113655895B (zh) | 应用于输入法的信息推荐方法、装置及电子设备 | |
WO2024082981A1 (zh) | 用于特效交互的方法、装置、设备和存储介质 | |
WO2016201813A1 (zh) | 一种基于Android的动态布局方法及系统 | |
CN109213981B (zh) | 各种电子设备的演示协作 | |
CN110704766A (zh) | 基于实时快照的界面渲染优化的方法、装置和电子设备 | |
CN115904148A (zh) | 触控事件的处理方法及装置、存储介质、电子设备 |
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: 17909297 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: 17909297 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 16.03.2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17909297 Country of ref document: EP Kind code of ref document: A1 |