WO2016150323A1 - 一种操作界面的加载方法及装置 - Google Patents

一种操作界面的加载方法及装置 Download PDF

Info

Publication number
WO2016150323A1
WO2016150323A1 PCT/CN2016/076448 CN2016076448W WO2016150323A1 WO 2016150323 A1 WO2016150323 A1 WO 2016150323A1 CN 2016076448 W CN2016076448 W CN 2016076448W WO 2016150323 A1 WO2016150323 A1 WO 2016150323A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
loading
type
operation interface
components
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/076448
Other languages
English (en)
French (fr)
Inventor
郭卓惺
黄恰南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2016150323A1 publication Critical patent/WO2016150323A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a loading method and apparatus for an operation interface.
  • the dialog box is a subset of the view. It can also be considered as an operation interface. Generally, a floating window pops up on the current desktop to prompt the user or prioritize the current transaction. The current operation interface is not confirmed. At the time, you cannot continue to operate.
  • the system default application operation interface is not animated.
  • Some common user interface (UI) designs will add 4 default appearance animations (such as rotation, progressive appearance, etc.) when the operation interface pops up, or Some other custom animation effects.
  • these animation effects in the prior art are usually operated on the entire operation interface, and the animation effect of the operation interface is a whole, and there is no mutual change between the components in the operation interface.
  • the operation interface for the complicated layout and the simple layout is the same, especially for the operation interface screen of the complicated layout, which has no layering and graininess.
  • the embodiment of the invention provides a method and a device for loading an operation interface, which are used to improve the difference in the loading process of various components in the operation interface, highlight the layering and granularity of the operation interface loading process, and promptly remind the user to process the priority. Level effect.
  • a loading method of an operation interface comprising:
  • the corresponding component is loaded according to the loading manner corresponding to each type of component to generate the operation interface.
  • the method before detecting the occurrence of the operation interface triggering event, the method further includes:
  • Component analysis is performed on various operation interfaces, and each component included in the operation interface is classified according to component attributes, and corresponding loading modes are respectively set for each type of component.
  • each component included in the operation interface is classified according to the component attribute, and specifically includes:
  • the individual components are classified according to component attributes to generate an initial classification mode
  • the corresponding loading manner is set for each type of component, specifically including:
  • the application feature is determined according to at least a relative position of each component in the operation interface panel and a structural design of the operation interface panel, where the load timing feature is used to indicate a loading start time and loading of a component. Execution time, the load type is used to indicate a action path of a class of components during the load execution time.
  • the loading type and the loading timing feature are respectively set for each type of component, and specifically include:
  • different loading timing features are set for the sub-components included in each type of component, including:
  • the loading start time of all the sub-components included in the same type of component is different, and the loading execution time of all the sub-components included in the same type of component is the same.
  • different loading timing features are set for the sub-components included in each type of component, including:
  • different loading timing features are set for the sub-components included in each type of component, including:
  • the difference between the loading start times of each two consecutively loaded subcomponents included in the same type of component is lower than the pre a third time difference threshold
  • the method further comprises:
  • the loading start time of the operation interface is a loading start time corresponding to a component that performs loading in the first place
  • the loading execution time of the operation interface is the difference between the loading end time corresponding to the last execution component and the loading start time corresponding to the first execution loading component;
  • the components of the focus class are loaded at the end of the loading order of various components.
  • a loading device for an operation interface comprising:
  • a detecting unit configured to determine various types of components included in the operation interface, and a preset loading manner corresponding to each type of component when detecting an occurrence of an operation interface triggering event, wherein one type of component is used to represent the same component attribute Collection of components;
  • the loading unit is configured to load the corresponding component according to the loading manner corresponding to each type of component to generate the operation interface.
  • the method before detecting the occurrence of the operation interface triggering event, the method further includes:
  • the pre-processing unit is configured to perform component analysis on various operation interfaces, and classify each component included in the operation interface according to component attributes, and set corresponding loading modes for each type of component respectively.
  • the pre-processing unit when classifying each component included in the operation interface according to the component attribute, is specifically configured to:
  • the individual components are classified according to component attributes to generate an initial classification mode
  • the pre-processing unit is specifically configured to:
  • the application feature is determined according to at least a relative position of each component in the operation interface panel and a structural design of the operation interface panel, where the load timing feature is used to indicate a loading start time and loading of a component. Execution time, the load type is used to indicate a action path of a class of components during the load execution time.
  • the pre-processing unit is specifically configured to:
  • the pre-processing unit is specifically configured to:
  • the loading start time of all the sub-components included in the same type of component is different, and the loading execution time of all the sub-components included in the same type of component is the same.
  • the pre-processing unit is specifically configured to:
  • Setting a difference between loading start times of each two consecutively loaded sub-components included in the same type of component is lower than a preset first time difference threshold, and higher than a preset second time difference threshold, wherein the A time difference threshold is greater than the second time difference threshold.
  • the pre-processing unit is specifically configured to:
  • the difference between the loading start times of each two consecutively loaded subcomponents included in the same type of component is lower than the pre a third time difference threshold
  • the loading unit is further configured to:
  • the loading start time of the operation interface is a loading start time corresponding to a component that performs loading in the first place
  • the loading execution time of the operation interface is the difference between the loading end time corresponding to the last execution component and the loading start time corresponding to the first execution loading component;
  • the components of the focus class are loaded at the end of the loading order of various components.
  • FIG. 1 is a flowchart of loading an operation interface according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of final loading of a multi-person conversation scene in an embodiment of the present invention
  • FIG. 3 is a schematic diagram of initial loading of a multi-person conversation scene according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a multi-person conversation scene loading process according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an operation interface loading device according to an embodiment of the present invention.
  • the embodiment of the invention provides a method and a device for loading an operation interface.
  • the components included in the Dialog are classified into different types of components, and corresponding loading modes are set for each type of components, and different types of components are used.
  • the different loading modes corresponding to the components replace the overall loading mode of the operation interface panel, thereby improving the difference in the loading process of various components in the operation interface, highlighting the layering and granularity of the operation interface loading process, and promptly reminding the user to process Priority effect.
  • component analysis is performed for various operation interfaces, and each component included in the operation interface is classified according to component attributes, and corresponding loading modes are respectively set for each type of component.
  • each of the operation interface panels includes a plurality of independent components, and the plurality of independent components are first classified, wherein the components may be classified according to the attributes of the components themselves or the requirements of the loading screen design.
  • the text prompt boxes in the operation interface are classified into one class
  • the buttons are classified into one class
  • the text input boxes are classified into one class
  • the focus frame is also separately classified.
  • a class For a class.
  • the classification of all components can be performed in the coarse classification mode or in the fine classification mode.
  • the rough classification mode is that the above classification may be performed according to the requirements of the components themselves or the requirements of the loading screen design.
  • the fine classification mode is:
  • a class of components can be further split into multiple subcomponents, so a class of components can also be referred to as a class of subcomponents.
  • the browse menu ie, ListView
  • the browse menu can be further split into multiple entries, one for each sub-component.
  • the loading timing feature and/or the loading type are respectively set for each type of component according to the predetermined application characteristics of each type of component in the operation interface.
  • the application feature is determined according to at least a relative position between the components in the operation interface panel and a structural design of the operation interface panel, and the load timing feature is used to indicate a load start time and a load execution time of the component, and the load type is used. Indicates the behavior path of a class of components during the load execution time.
  • the loading type may include a translation loading type such as an upshift loading, a left shift loading, or a loading type such as gradient scaling and other custom loading methods.
  • the button component is a kind of component, and the loading type of the moving component can be set for the button component;
  • the text prompt box is used as a component, and the loading type of the left shift can be set for the text prompt box;
  • the foreground and background of the operator interface are a type of component that can be used to set the gradient's load type for the foreground and background; for example, the focus frame acts as a component that sets a custom load type for the focus frame.
  • the timing is configured for all types of components, that is, the corresponding load timing characteristics are set for each type of component, and the corresponding load start time and load execution time are set for each type of component. In this way, by setting different loading start times for different types of components, different levels can be presented in the process of loading the entire operation interface, and the granularity of the operation interface is increased.
  • the method for entering the operation interface of the embodiment of the present invention specifically includes:
  • Step 100 When detecting an operation interface triggering event, determining various components included in the operation interface, and a loading manner corresponding to each type of component preset, wherein a component is used to represent a component set having the same component attribute. .
  • a user opens an application operation interface, and a trigger event of the operation interface occurs.
  • the background server first determines various components pre-divided by the operation interface, and then determines a preset loading manner of each type of component.
  • the same loading type is set for each subcomponent included in each component; and, for each subcomponent included in each component, the same or different is set.
  • Load timing features when a loading mode is preset for each type of component, the same loading type is set for each subcomponent included in each component; and, for each subcomponent included in each component, the same or different is set.
  • the upshift loading type of multiple subcomponents can reflect that the loading type of the entire class of components is up-shifted, presenting an upward-moving entrance animation.
  • the specific setting method is: according to the sub-components included in each component component in the operation interface panel
  • the location combined with the loading type of the corresponding component, sets the loading start time and the loading execution time for each subcomponent included in each type of component.
  • the loading start time of all the sub-components included in the same type of component is different, and the loading execution time of all the sub-components included in the same type of component is the same.
  • the loading type of a class of components is up-shifted.
  • all the components in this class will be
  • the load start time of the child component is set to a different value, and the load execution time of all the child components in this type of component is set to the same value.
  • the loading start time of the sub-component at the top of the home position in the operation interface layout can be set to be before the loading start time of all other sub-components, and then, according to the attribution position of all other sub-components in the operation interface layout.
  • the corresponding loading start time is set according to a certain time difference from top to bottom. Since the load execution time of all the subcomponents in this type of component is set to the same value, in the process of performing the loading, the subcomponent at the top of the home position in the operation interface layout starts to move as a path, and the operation is performed.
  • the lower sub-components in the interface layout start to move up the path in turn, and all the sub-components in this type of component are sequentially stopped at the corresponding home positions in the operation interface.
  • the entire component presents an upward moving path and the entire component exhibits a certain degree of granularity and layering.
  • the difference between the loading start time of the sub-components contained in the same type of component is also an important factor affecting the granularity and the layering. If the loading start time between every two consecutive sub-components is too close (ie, the difference between the two loading start times is too small), or when the layout of the operation interface is too simple, that is, the operation interface panel When there are too few sub-components, the whole component loading process is too holistic, which does not reflect the granularity and layering, and is not much different from the overall loading method in the prior art.
  • the method further includes:
  • Set the difference between the loading start times of every two consecutively loaded subcomponents contained in the same class component is lower than a preset first time difference threshold and higher than a preset second time difference threshold, wherein the first time difference threshold is greater than the second time difference threshold.
  • the settings of the first time difference threshold, the second time difference threshold, the third time difference threshold, the fourth time difference threshold, the first number of thresholds, and the second number of thresholds may be determined according to empirical values or simulation results, and may be updated at any time.
  • the offset of the displacement is also a factor to be considered in the process of setting the loading mode for each subcomponent.
  • the number of subcomponents included is too large, in addition to setting the difference between the loading start times of every two consecutively loaded subcomponents included in this type of component is lower than a preset third time difference threshold, It is necessary to set the displacement offset of each two consecutively loaded sub-components contained in this type of component to be less than a certain value.
  • the number of included sub-components is too small, except that the difference between the loading start times of each two consecutively loaded sub-components included in the component of this type is set to be higher than a preset fourth time difference threshold. It is also necessary to set the displacement offset of each two consecutively loaded sub-components contained in this type of component to be greater than a certain value.
  • the loading start time of the operation interface is the loading start time corresponding to the first execution of the loaded component
  • the loading execution time of the operation interface is the loading end time corresponding to the component of the last execution load component and the loading corresponding to the first execution load component. The difference between the start times, where the components of the focus class are loaded at the end of each component's load order.
  • Step 110 Load the corresponding component according to the loading manner corresponding to each type of component to generate an operation interface.
  • each type of component is loaded according to its corresponding loading mode, and each type of component presents an action path corresponding to the corresponding loading type, and finally generates an operation interface.
  • FIG. 2 is an example after the multi-person voice control operation interface panel is loaded.
  • the loading process of the multi-person voice control operation interface is described in detail below.
  • the loading types corresponding to the components included in the operation interface panel are designed into three categories, namely, the up loading type, the gradient loading type, and the custom loading type. These three types of loading are respectively targeted
  • the three components are: the independent components in the operation interface panel (including the title bar, the information frame, the avatar frame, etc.) corresponding to the upward loading type; the operation interface background corresponds to the gradient loading type; the operation interface focus box corresponds to the customized loading type .
  • the up-loading type and the gradient loading type are the operations supported by the existing system by default.
  • the Multiplayer Voice Control Panel is a slightly more complex interface structure with a title bar, message box, avatar box, add button, hang up button, mute and silent button.
  • the title bar, the information box, the avatar box, the increase number button, the hang up button, the mute and static mike buttons perform the moving path
  • the operation interface background performs the gradual action path
  • the increase number button performs the focus frame after the moving path ends. Custom action path.
  • the load start time of each component that performs the move must be set to a difference, and each component is executed sequentially by this difference (to ensure the granularity of the design).
  • the same upshifting component eg, all horizontally oriented components
  • the mute button component and the static mike button component are on the same horizontal line, so it is set to perform the upper movement at the same time.
  • the timing of different loading types is also different.
  • the loading start time of the component corresponding to the background gradient is the same as the loading start time of the component corresponding to the first group of the upward loading type, that is, the background of the first group of components starts moving, and the background The gradient action begins.
  • the background shown in FIG. 3 is the background displayed when the load is initially executed, and the title bar (multiplayer dialog (6) component) located above the operation interface panel performs loading at the same time.
  • the loading termination time of the component corresponding to the background gradient is the same as the loading termination time of the component corresponding to the last set of the upward loading loading type, that is, the background transition is terminated while the last group of components terminates moving. carried out.
  • the custom action path of the focus frame is not executed until the end of the move.
  • the custom focus frame of the increase button is loaded. This is because the components are loaded before the component is loaded. Users are not allowed to start interworking.
  • the present invention also provides a loading device for an operation interface, including:
  • the detecting unit 51 is configured to determine, when the operation interface triggering event occurs, various types of components included in the operation interface, and a loading manner corresponding to each type of component, where a component is used to represent the same component attribute. A collection of components.
  • the loading unit 52 is configured to load the corresponding component according to the loading manner corresponding to each type of component to generate an operation interface.
  • the difference in the loading process of various components in the operation interface can be improved, the layering and granularity of the operation interface loading process can be highlighted, and the effect of promptly reminding the user to handle the priority can be achieved.
  • the method before detecting the occurrence of the operation interface triggering event, the method further includes:
  • the pre-processing unit 50 is configured to perform component analysis on various operation interfaces, classify each component included in the operation interface according to component attributes, and set corresponding loading modes for each type of component respectively.
  • the pre-processing unit 50 when classifying each component included in the operation interface according to the component attribute, is specifically configured to:
  • the pre-processing unit 50 is specifically configured to:
  • the loading timing feature and the loading type are respectively set for each type of component
  • the application feature is determined according to at least a relative position between the various components in the operation interface panel and a structural design of the operation interface panel, and the load timing feature is used to indicate a load start time and a load execution time of a type of component, and a load type. Used to indicate the action path of a class of components during the load execution time.
  • the pre-processing unit 50 is specifically configured to:
  • the pre-processing unit 50 is specifically configured to:
  • the loading start time and the loading execution time are set for each subcomponent included in each class component;
  • the loading start time of all the sub-components included in the same type of component is different, and the loading execution time of all the sub-components included in the same type of component is the same.
  • the pre-processing unit 50 is specifically configured to:
  • Setting a difference between loading start times of each two consecutively loaded sub-components included in the same type of component is lower than a preset first time difference threshold, and higher than a preset second time difference threshold, wherein the first time difference The threshold is greater than the second time difference threshold.
  • the pre-processing unit is specifically configured to:
  • the difference between the loading start times of each two consecutively loaded subcomponents included in the same type of component is lower than the pre a third time difference threshold
  • the loading unit 52 is further configured to:
  • the loading start time of the operation interface is the loading start time corresponding to the component that performs the loading in the first place;
  • the load execution time of the operation interface is the difference between the load end time corresponding to the last execution load component and the load start time corresponding to the first execution load component;
  • the components of the focus class are loaded at the end of the loading order of various components.
  • component analysis is performed on various operation interfaces in advance, and each component included in the operation interface is classified according to component attributes, and corresponding loading modes are respectively set for each type of component detection.
  • an operation interface trigger event occurs, determine various components included in the operation interface, and a preset loading manner corresponding to each type of component, and load the corresponding component according to the loading manner of each type of component to generate an operation interface. .
  • the difference in the loading process of various components in the operation interface can be improved, the layering and granularity of the loading process of the operation interface are highlighted, and the user is promptly notified to handle the processing. Priority effect.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种操作界面的加载方法及装置,用来提高操作界面加载过程中的层次感。该方法为:预先对各种操作界面进行组件解析,并按照组件属性对操作界面中包含的各个组件进行分类,以及分别针对每一类组件设置相应的加载方式;在检测到发生操作界面触发事件时,确定操作界面包含的各类组件,以及对应每一类组件预设的加载方式(100);分别按照每一类组件对应的加载方式,对相应组件进行加载,以生成操作界面(110)。这样,通过对每一类组件按照预设的加载方式进行加载,能够提高操作界面内各类组件加载过程中的差异性,凸显操作界面加载过程的层次感和颗粒度,并达到及时提醒用户处理优先级的效果。

Description

一种操作界面的加载方法及装置
交叉参考相关引用
本申请要求2015年3月24日提交的申请号为201510129363.X的中国专利申请的优先权,上述申请参考并入本文。
技术领域
本发明涉及计算机技术领域,特别涉及一种操作界面的加载方法及装置。
背景技术
安卓(即Android)系统里面对视图(即View)默认支持的有4种动画效果,分别是旋转(即Rotate),伸缩(即Scale),渐进(即Alpha)和平移(即Translate)。对话(即Dialog)弹出框是视图的一种子集,也可以认为是一种操作界面,一般在当前桌面弹出一个浮动窗口,用来提示用户或者优先处理当前事物,在没有对当前操作界面进行确认的时候,不能继续往下操作。
系统默认的应用操作界面是没有动画效果的,当前常见的一些用户界面(User Interface,UI)设计会在操作界面弹出的时候加入4种默认的出场动画(如旋转出现,渐进出现等),或者其他一些自定义的动画效果。但现有技术中的这些动画效果通常都是对整个操作界面操作的,操作界面的动画效果是一个整体,操作界面里面的组件之间是没有相互变化的。
这样,就导致了对于复杂布局和简单布局的操作界面,效果是一样的,尤其对于复杂布局的操作界面画面没有层次感和颗粒感。
发明内容
本发明实施例提供一种操作界面的加载方法及装置,用以提高操作界面内各类组件加载过程中的差异性,凸显操作界面加载过程的层次感和颗粒度,并达到及时提醒用户处理优先级的效果。
本发明实施例提供的具体技术方案如下:
一种操作界面的加载方法,包括:
在检测到发生操作界面触发事件时,确定所述操作界面包含的各类组件,以及对应 每一类组件预设的加载方式,其中,一类组件用于表征具有相同组件属性的组件集合;
分别按照所述每一类组件对应的加载方式,对相应组件进行加载,以生成所述操作界面。
这样,通过对每一类组件按照预设的加载方式进行加载,能够提高操作界面内各类组件加载过程中的差异性,凸显操作界面加载过程的层次感和颗粒度,并达到及时提醒用户处理优先级的效果。
较佳地,在检测到发生操作界面触发事件之前,进一步包括:
对各种操作界面进行组件解析,并按照组件属性对操作界面中包含的各个组件进行分类,以及分别针对每一类组件设置相应的加载方式。
较佳地,按照组件属性对操作界面中包含的各个组件进行分类,具体包括:
按照组件属性对所述各个组件进行分类,生成初始分类模式;
在所述初始分类模式的基础上,针对所述初始分类模式涉及的全部或部分组件进一步进行再次分类,生成最终分类模式。
较佳地,分别针对每一类组件设置相应的加载方式,具体包括:
根据预先确定的每一类组件在所述操作界面中的应用特征,分别针对每一类组件设置加载时序特征以及加载类型;
其中,所述应用特征至少根据各类组件在所述操作界面面板中的相对位置以及所述操作界面面板的结构设计确定,所述加载时序特征用于指示一类组件的加载起始时刻和加载执行时间,所述加载类型用于指示一类组件在所述加载执行时间内的动作路径。
较佳地,分别针对每一类组件设置加载类型以及加载时序特征,具体包括:
针对每一类组件内包含的子组件,设置相同的加载类型;以及,
针对每一类组件内包含的子组件,设置相同或不同的加载时序特征。
较佳地,针对每一类组件内包含的子组件,设置不同的加载时序特征,具体包括:
根据每一类组件内包含的子组件在所述操作界面面板中的归属位置,结合相应组件的加载类型,对每一类组件内包含的每一个子组件设置加载起始时刻和加载执行时间;
其中,同一类组件内包含的所有子组件的加载起始时刻不同,同一类组件内包含的所有子组件的加载执行时间相同。
较佳地,针对每一类组件内包含的子组件,设置不同的加载时序特征,具体包括:
设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第一时间差阈值,并且高于预设的第二时间差阈值,其中所述第一时间差阈值大 于所述第二时间差阈值。
较佳地,针对每一类组件内包含的子组件,设置不同的加载时序特征,具体包括:
同一类组件内包含的子组件数目高于预设的第一数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第三时间差阈值;
同一类组件内包含的子组件数目低于预设的第二数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值高于预设的第四时间差阈值。
较佳地,进一步包括:
所述操作界面的加载起始时刻为首位执行加载的组件对应的加载起始时刻;
所述操作界面的加载执行时间为末位执行加载的组件对应的加载结束时刻与首位执行加载的组件对应的加载起始时刻之间的差值;
其中,焦点类的组件在各类组件加载顺序的末位执行加载。
一种操作界面的加载装置,包括:
检测单元,用于在检测到发生操作界面触发事件时,确定所述操作界面包含的各类组件,以及对应每一类组件预设的加载方式,其中,一类组件用于表征具有相同组件属性的组件集合;
加载单元,用于分别按照所述每一类组件对应的加载方式,对相应组件进行加载,以生成所述操作界面。
这样,通过对每一类组件按照预设的加载方式进行加载,能够提高操作界面内各类组件加载过程中的差异性,凸显操作界面加载过程的层次感和颗粒度,并达到及时提醒用户处理优先级的效果。
较佳地,在检测到发生操作界面触发事件之前,进一步包括:
预处理单元,用于对各种操作界面进行组件解析,并按照组件属性对操作界面中包含的各个组件进行分类,以及分别针对每一类组件设置相应的加载方式。
较佳地,在按照组件属性对操作界面中包含的各个组件进行分类时,所述预处理单元具体用于:
按照组件属性对所述各个组件进行分类,生成初始分类模式;
在所述初始分类模式的基础上,针对所述初始分类模式涉及的全部或部分组件进一步进行再次分类,生成最终分类模式。
较佳地,在分别针对每一类组件设置相应的加载方式时,所述预处理单元具体用于:
根据预先确定的每一类组件在所述操作界面中的应用特征,分别针对每一类组件设置加载时序特征以及加载类型;
其中,所述应用特征至少根据各类组件在所述操作界面面板中的相对位置以及所述操作界面面板的结构设计确定,所述加载时序特征用于指示一类组件的加载起始时刻和加载执行时间,所述加载类型用于指示一类组件在所述加载执行时间内的动作路径。
较佳地,在分别针对每一类组件设置加载类型以及加载时序特征时,所述预处理单元具体用于:
针对每一类组件内包含的子组件,设置相同的加载类型;以及,
针对每一类组件内包含的子组件,设置相同或不同的加载时序特征。
较佳地,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,所述预处理单元具体用于:
根据每一类组件内包含的子组件在所述操作界面面板中的归属位置,结合相应组件的加载类型,对每一类组件内包含的每一个子组件设置加载起始时刻和加载执行时间;
其中,同一类组件内包含的所有子组件的加载起始时刻不同,同一类组件内包含的所有子组件的加载执行时间相同。
较佳地,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,所述预处理单元具体用于:
设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第一时间差阈值,并且高于预设的第二时间差阈值,其中所述第一时间差阈值大于所述第二时间差阈值。
较佳地,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,所述预处理单元具体用于:
同一类组件内包含的子组件数目高于预设的第一数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第三时间差阈值;
同一类组件内包含的子组件数目低于预设的第二数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值高于预设的第四时间差阈值。
较佳地,所述加载单元进一步用于:
所述操作界面的加载起始时刻为首位执行加载的组件对应的加载起始时刻;
所述操作界面的加载执行时间为末位执行加载的组件对应的加载结束时刻与首位执行加载的组件对应的加载起始时刻之间的差值;
其中,焦点类的组件在各类组件加载顺序的末位执行加载。
附图说明
图1为本发明实施例中操作界面加载流程图;
图2为本发明实施例中多人对话场景最终加载完成示意图;
图3为本发明实施例中多人对话场景最初加载示意图;
图4为本发明实施例中多人对话场景加载过程中示意图;
图5为本发明实施例中操作界面加载装置结构示意图。
具体实施方式
本发明实施例提供一种操作界面的加载方法及装置,通过对Dialog中包含的组件进行分类,分为多类不同的组件,分别针对每一类组件设置相应的加载方式,利用多类不同的组件对应的不同的加载方式来替代操作界面面板的整体加载方式,从而提高操作界面内各类组件加载过程中的差异性,凸显操作界面加载过程的层次感和颗粒度,并达到及时提醒用户处理优先级的效果。
下面结合附图对本发明实施优选的方案进行详细说明。
在预处理阶段,针对各种操作界面进行组件解析,并按照组件属性对操作界面中包含的各个组件进行分类,以及分别针对每一类组件设置相应的加载方式。
具体地,每一个操作界面面板中包括多个独立的组件,首先要对这多个独立的组件进行分类,其中可按照组件自身的属性或者加载画面设计的需求进行分类。例如,操作界面中的文字提示框归为一类,按钮归为一类,文本输入框归为一类,而整个操作界面面板的前景和背景需要单独分为一类,焦点框也会单独分为一类。
对所有组件分类可以执行粗分类模式,也可以执行细分类模式。其中,粗分类模式即上述按照组件自身的属性或者加载画面设计的需求进行初步分类即可。细分类模式为:
按照组件属性对各个组件进行分类,生成初始分类模式;
在初始分类模式的基础上,针对初始分类模式涉及的全部或部分组件进一步进行再次分类,生成最终分类模式。
也就是,一类组件可进一步拆分为多个子组件,所以一类组件也可称为一类子组件群。例如,浏览菜单(即ListView)可进一步拆分为多个条目,每一个条目对应一个子组件。
在划分完组件的分类时,针对每一类组件设置相应的加载方式。
在针对每一类组件设置相应的加载方式的过程中,根据预先确定的每一类组件在操作界面中的应用特征,分别针对每一类组件设置加载时序特征和/或加载类型。
其中,应用特征至少根据各类组件之间在操作界面面板中的相对位置以及操作界面面板的结构设计确定,加载时序特征用于指示一类组件的加载起始时刻和加载执行时间,加载类型用于指示一类组件在加载执行时间内的行为路径。
例如,加载类型可以包括上移加载、左移加载等平移加载类型,也可以包括渐变伸缩及其他自定义加载方式等加载类型。
在加载操作界面的过程中,例如,按钮组件作为一类组件,可针对按钮组件设置上移的加载类型;例如,文字提示框作为一类组件,可针对文字提示框设置左移的加载类型;又例如,操作界面的前景和背景作为一类组件,可针对前景和背景设置渐变的加载类型;又例如,焦点框作为一类组件,可针对焦点框设置自定义的加载类型。
针对所有类型的组件配置时序,也就是,针对每一类组件设置相应的加载时序特征,为每一类组件设置相应的加载起始时刻,和加载执行时间。这样,通过为不同类型的组件设置不同的加载起始时刻,可以实现在加载整个操作界面的过程中呈现出不同的层次,增加操作界面的颗粒度。
参阅图1所示,本发明实施例操作界面入场方法具体包括:
步骤100:在检测到发生操作界面触发事件时,确定该操作界面包含的各类组件,以及对应每一类组件预设的加载方式,其中,一类组件用于表征具有相同组件属性的组件集合。
在实际应用中,用户打开某一个应用操作界面,发生该操作界面的触发事件。后台服务器在检测到该操作界面的触发事件时,首先确定该操作界面预先划分的各类组件,然后,确定每一类组件预设的加载方式。
具体地,在为每一类组件预先设置加载方式时,针对每一类组件内包含的子组件,设置相同的加载类型;以及,针对每一类组件内包含的子组件,设置相同或不同的加载时序特征。
在设置不同的加载时序特征时,例如,针对一类组件内包含的多个子组件都设置为 上移的加载类型,或者,都设置为左移的加载类型。即,多个子组件的上移加载类型可以体现整个一类组件的加载类型是上移的,呈现出上移的入场动画。
另外,为了体现一类组件加载时的层次感,将一类组件内的多个子组件设置不同加载时序特征,具体设置方法为,根据每一类组件内包含的子组件在操作界面面板中的归属位置,结合相应组件的加载类型,对每一类组件内包含的每一个子组件设置加载起始时刻和加载执行时间。其中,同一类组件内包含的所有子组件的加载起始时刻不同,同一类组件内包含的所有子组件的加载执行时间相同。
例如,一类组件的加载类型为上移,为了体现这一类组件的整体上移的加载特征,又能保证上移加载过程中的颗粒度和层次感,则将这一类组件中的所有子组件的加载起始时刻设置为不同值,并且,将这一类组件中的所有子组件的加载执行时间设置为相同的值。
例如,在操作界面布局中的归属位置最上方的子组件的加载起始时刻可设置为在所有其他子组件的加载起始时刻之前,然后,按照所有其他子组件在操作界面布局中的归属位置依次从上到下按照一定的时间差值设置相应的加载起始时刻。由于这一类组件中的所有子组件的加载执行时间都设置为相同的值,因此,在执行加载的过程中,在操作界面布局中的归属位置最上方的子组件开始上移动作路径,操作界面布局中靠下的子组件依次开始上移动作路径,并且,这一类组件内的所有子组件依次停在操作界面中相应的归属位置上。
这样,整个组件呈现上移的动作路径,并且整个组件呈现出一定的颗粒度和层次感。
在具体应用中,同一类组件内包含的子组件之间加载起始时刻之间的差值也是影响颗粒度及层次感的重要因素。若每两个连续的子组件之间的加载起始时刻相邻太近(即两个加载起始时刻之间的差值太小),或者,当操作界面的布局过于简单,即操作界面面板中包含的子组件过少时,会导致整个组件加载过程显得过于整体性,体现不出颗粒度和层次感,与现有技术中的整体加载方式没有太大的区分。另外,若每两个连续的子组件之间的加载起始时刻相邻太远(即两个加载起始时刻之间的差值太大),或者,当操作界面的布局过于复杂,即操作界面面板中包含的子组件过多时,会导致整个组件加载过程的拖沓从而无法体现完整性。
基于上述原因,在上述针对每一类组件内包含的子组件,设置不同的加载时序特征的过程中,还包括:
设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于 预设的第一时间差阈值,并且高于预设的第二时间差阈值,其中第一时间差阈值大于所述第二时间差阈值。
以及,在同一类组件内包含的子组件数目高于预设的第一数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第三时间差阈值;同一类组件内包含的子组件数目低于预设的第二数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值高于预设的第四时间差阈值。
第一时间差阈值、第二时间差阈值、第三时间差阈值、第四时间差阈值、第一数目门限值以及第二数目门限值的设置可根据经验值或者仿真结果进行确定,可随时更新优化。
除此之外,针对加载类型为平移的组件,在为每一个子组件设置加载方式的过程中,位移的偏移量也是需要考虑的因素。当包含的子组件的数目过多时,除了设置这一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第三时间差阈值之外,还需设置这一类组件内包含的每两个连续加载的子组件的位移偏移量小于一定值。以及,当包含的子组件的数目过少时,除了设置这一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值高于预设的第四时间差阈值之外,还需设置这一类组件内包含的每两个连续加载的子组件的位移偏移量大于一定值。
另外,操作界面的加载起始时刻为首位执行加载的组件对应的加载起始时刻,操作界面的加载执行时间为末位执行加载的组件对应的加载结束时刻与首位执行加载的组件对应的加载起始时刻之间的差值,其中,焦点类的组件在各类组件加载顺序的末位执行加载。
步骤110:分别按照每一类组件对应的加载方式,对相应组件进行加载,以生成操作界面。
按照步骤100中所述的加载过程,对每一类组件按照其对应的加载方式进行加载,则每一类组件会呈现相应加载类型对应的动作路径,最终生成操作界面。
下面结合具体的应用场景对本发明实施例作进一步详细介绍。
以多人语音控制操作界面面板为例,图2是多人语音控制操作界面面板加载完成后的示例,下面对多人语音控制操作界面的加载过程进行详细描述。
在预处理阶段,将这个操作界面面板中包含的组件对应的加载类型设计为三类,分别是上移加载类型,渐变加载类型和自定义的加载类型。这三种加载类型分别针对相应 的三种组件,分别为:操作界面面板内独立组件(包括标题栏,信息框,头像框等)对应上移加载类型;操作界面背景对应渐变加载类型;操作界面焦点框对应自定义的加载类型。
其中,上移加载类型和渐变加载类型为现有的系统默认支持的操作。多人语音控制面板是一个稍微复杂的操作界面结构,有标题栏,信息框,头像框,增加人数按钮,挂断按钮,静音和静麦克按钮等组件。其中标题栏,信息框,头像框,增加人数按钮,挂断按钮,静音和静麦克按钮执行上移动作路径,操作界面背景执行渐变动作路径,增加人数按钮在上移动作路径结束后执行焦点框的自定义动作路径。
执行上移动作的各个组件的加载起始时刻必须设置一个差值,每个组件隔这个差值依次执行(这样来保证设计的颗粒感)。本发明实施例中归类相同的上移组件(如,所有水平方向的组件)采用同一加载起始时刻,在同一水平的多个组件同时执行上移动作。比如,静音按钮组件和静麦克按钮组件在同一水平线上,所以设置为同时执行上移动作。
其中,不同加载类型的时序也是不一样的。参阅图3所示,例如背景渐变对应的组件的加载起始时刻和第一组上移加载类型对应的组件的加载起始时刻是相同的,即第一组组件开始上移动作的同时,背景渐变动作开始执行。图3中所示的背景为初始执行加载时显示的背景,位于操作界面面板上方的标题栏(多人对话(6)组件)同时执行加载。以及,参阅图4所示,背景渐变对应的组件的加载终止时刻和最后一组上移加载类型对应的组件的加载终止时刻相同,即最后一组组件终止上移动作的同时,背景渐变动作终止执行。另外,焦点框的自定义动作路径在上移动作结束后才开始执行,可参阅图2所示,增加人数按钮的自定焦点框执行加载,之所以这样,是因为在各组件加载完成之前是不允许用户开始执行交互操作的。
基于上述实施例,参阅图5所示,本发明还设计了一种操作界面的加载装置,包括:
检测单元51,用于在检测到发生操作界面触发事件时,确定操作界面包含的各类组件,以及对应每一类组件预设的加载方式,其中,一类组件用于表征具有相同组件属性的组件集合。
加载单元52,用于分别按照每一类组件对应的加载方式,对相应组件进行加载,以生成操作界面。
这样,能够提高操作界面内各类组件加载过程中的差异性,凸显操作界面加载过程的层次感和颗粒度,并达到及时提醒用户处理优先级的效果。
较佳地,在检测到发生操作界面触发事件之前,进一步包括:
预处理单元50,用于对各种操作界面进行组件解析,并按照组件属性对操作界面中包含的各个组件进行分类,以及分别针对每一类组件设置相应的加载方式。
较佳地,在按照组件属性对操作界面中包含的各个组件进行分类时,预处理单元50具体用于:
按照组件属性对各个组件进行分类,生成初始分类模式;
在初始分类模式的基础上,针对初始分类模式涉及的全部或部分组件进一步进行再次分类,生成最终分类模式。
较佳地,在分别针对每一类组件设置相应的加载方式时,预处理单元50具体用于:
根据预先确定的每一类组件在操作界面中的应用特征,分别针对每一类组件设置加载时序特征以及加载类型;
其中,应用特征至少根据各类组件之间的在操作界面面板中的相对位置以及操作界面面板的结构设计确定,加载时序特征用于指示一类组件的加载起始时刻和加载执行时间,加载类型用于指示一类组件在加载执行时间内的动作路径。
较佳地,在分别针对每一类组件设置加载类型以及加载时序特征时,预处理单元50具体用于:
针对每一类组件内包含的子组件,设置相同的加载类型;以及,
针对每一类组件内包含的子组件,设置不同的加载时序特征。
较佳地,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,预处理单元50具体用于:
根据每一类组件内包含的子组件在操作界面面板中的归属位置,结合相应组件的加载类型,对每一类组件内包含的每一个子组件设置加载起始时刻和加载执行时间;
其中,同一类组件内包含的所有子组件的加载起始时刻不同,同一类组件内包含的所有子组件的加载执行时间相同。
较佳地,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,预处理单元50具体用于:
设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第一时间差阈值,并且高于预设的第二时间差阈值,其中第一时间差阈值大于第二时间差阈值。
较佳地,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,预处理单元具体用于:
同一类组件内包含的子组件数目高于预设的第一数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第三时间差阈值;
同一类组件内包含的子组件数目低于预设的第二数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值高于预设的第四时间差阈值。
较佳地,加载单元52进一步用于:
操作界面的加载起始时刻为首位执行加载的组件对应的加载起始时刻;
操作界面的加载执行时间为末位执行加载的组件对应的加载结束时刻与首位执行加载的组件对应的加载起始时刻之间的差值;
其中,焦点类的组件在各类组件加载顺序的末位执行加载。
综上所述,本发明实施例中,预先对各种操作界面进行组件解析,并按照组件属性对操作界面中包含的各个组件进行分类,以及分别针对每一类组件设置相应的加载方式在检测到发生操作界面触发事件时,确定操作界面包含的各类组件,以及对应每一类组件预设的加载方式,分别按照每一类组件对应的加载方式,对相应组件进行加载,以生成操作界面。这样,通过对每一类组件按照预设的加载方式进行加载,能够提高操作界面内各类组件加载过程中的差异性,凸显操作界面加载过程的层次感和颗粒度,并达到及时提醒用户处理优先级的效果。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (18)

  1. 一种操作界面的加载方法,其特征在于,包括:
    在检测到发生操作界面触发事件时,确定所述操作界面包含的各类组件,以及对应每一类组件预设的加载方式,其中,一类组件用于表征具有相同组件属性的组件集合;
    分别按照所述每一类组件对应的加载方式,对相应组件进行加载,以生成所述操作界面。
  2. 如权利要求1所述的方法,其特征在于,在检测到发生操作界面触发事件之前,进一步包括:
    对各种操作界面进行组件解析,并按照组件属性对操作界面中包含的各个组件进行分类,以及分别针对每一类组件设置相应的加载方式。
  3. 如权利要求2所述的方法,其特征在于,按照组件属性对操作界面中包含的各个组件进行分类,具体包括:
    按照组件属性对所述各个组件进行分类,生成初始分类模式;
    在所述初始分类模式的基础上,针对所述初始分类模式涉及的全部或部分组件进一步进行再次分类,生成最终分类模式。
  4. 如权利要求1、2或3所述的方法,其特征在于,分别针对每一类组件设置相应的加载方式,具体包括:
    根据预先确定的每一类组件在所述操作界面中的应用特征,分别针对每一类组件设置加载时序特征和/或加载类型;
    其中,所述应用特征至少根据各类组件在所述操作界面面板中的相对位置以及所述操作界面面板的结构设计确定,所述加载时序特征用于指示一类组件的加载起始时刻和加载执行时间,所述加载类型用于指示一类组件在所述加载执行时间内的动作路径。
  5. 如权利要求4所述的方法,其特征在于,分别针对每一类组件设置加载类型以及加载时序特征,具体包括:
    针对每一类组件内包含的子组件,设置相同的加载类型;以及,
    针对每一类组件内包含的子组件,设置相同或不同的加载时序特征。
  6. 如权利要求5所述的方法,其特征在于,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,具体包括:
    根据每一类组件内包含的子组件在所述操作界面面板中的归属位置,结合相应组件的加载类型,对每一类组件内包含的每一个子组件设置加载起始时刻和加载执行时间;
    其中,同一类组件内包含的所有子组件的加载起始时刻不同,同一类组件内包含的所有子组件的加载执行时间相同。
  7. 如权利要求5或6所述的方法,其特征在于,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,具体包括:
    设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第一时间差阈值,并且高于预设的第二时间差阈值,其中所述第一时间差阈值大于所述第二时间差阈值。
  8. 如权利要求5或6所述的方法,其特征在于,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,具体包括:
    同一类组件内包含的子组件数目高于预设的第一数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第三时间差阈值;
    同一类组件内包含的子组件数目低于预设的第二数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值高于预设的第四时间差阈值。
  9. 如权利要求5或6所述的方法,其特征在于,进一步包括:
    所述操作界面的加载起始时刻为首位执行加载的组件对应的加载起始时刻;
    所述操作界面的加载执行时间为末位执行加载的组件对应的加载结束时刻与首位执行加载的组件对应的加载起始时刻之间的差值;
    其中,焦点类的组件在各类组件加载顺序的末位执行加载。
  10. 一种操作界面的加载装置,其特征在于,包括:
    检测单元,用于在检测到发生操作界面触发事件时,确定所述操作界面包含的各类组件,以及对应每一类组件预设的加载方式,其中,一类组件用于表征具有相同组件属性的组件集合;
    加载单元,用于分别按照所述每一类组件对应的加载方式,对相应组件进行加载,以生成所述操作界面。
  11. 如权利要求10所述的装置,其特征在于,在检测到发生操作界面触发事件之前,进一步包括:
    预处理单元,用于对各种操作界面进行组件解析,并按照组件属性对操作界面中包含的各个组件进行分类,以及分别针对每一类组件设置相应的加载方式。
  12. 如权利要求11所述的装置,其特征在于,在按照组件属性对操作界面中包含的各个组件进行分类时,所述预处理单元具体用于:
    按照组件属性对所述各个组件进行分类,生成初始分类模式;
    在所述初始分类模式的基础上,针对所述初始分类模式涉及的全部或部分组件进一步进行再次分类,生成最终分类模式。
  13. 如权利要求10、11或12所述的装置,其特征在于,在分别针对每一类组件设置相应的加载方式时,所述预处理单元具体用于:
    根据预先确定的每一类组件在所述操作界面中的应用参数,分别针对每一类组件设置加载时序特征以及加载类型;
    其中,所述应用参数至少根据各类组件在所述操作界面面板中的相对位置以及所述操作界面面板的结构设计确定,所述加载时序特征用于指示一类组件的加载起始时刻和加载执行时间,所述加载类型用于指示一类组件在所述加载执行时间内的动作路径。
  14. 如权利要求13所述的装置,其特征在于,在分别针对每一类组件设置加载类型以及加载时序特征时,所述预处理单元具体用于:
    针对每一类组件内包含的子组件,设置相同的加载类型;以及,
    针对每一类组件内包含的子组件,设置相同或不同的加载时序特征。
  15. 如权利要求14所述的装置,其特征在于,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,所述预处理单元具体用于:
    根据每一类组件内包含的子组件在所述操作界面面板中的归属位置,结合相应组件的加载类型,对每一类组件内包含的每一个子组件设置加载起始时刻和加载执行时间;
    其中,同一类组件内包含的所有子组件的加载起始时刻不同,同一类组件内包含的所有子组件的加载执行时间相同。
  16. 如权利要求14或15所述的装置,其特征在于,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,所述预处理单元具体用于:
    设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第一时间差阈值,并且高于预设的第二时间差阈值,其中所述第一时间差阈值大于所述第二时间差阈值。
  17. 如权利要求14或15所述的装置,其特征在于,在针对每一类组件内包含的子组件,设置不同的加载时序特征时,所述预处理单元具体用于:
    同一类组件内包含的子组件数目高于预设的第一数目门限值时,设置同一类组件内 包含的每两个连续加载的子组件的加载起始时刻之间的差值低于预设的第三时间差阈值;
    同一类组件内包含的子组件数目低于预设的第二数目门限值时,设置同一类组件内包含的每两个连续加载的子组件的加载起始时刻之间的差值高于预设的第四时间差阈值。
  18. 如权利要求14或15所述的装置,其特征在于,所述加载单元进一步用于:
    所述操作界面的加载起始时刻为首位执行加载的组件对应的加载起始时刻;
    所述操作界面的加载执行时间为末位执行加载的组件对应的加载结束时刻与首位执行加载的组件对应的加载起始时刻之间的差值;
    其中,焦点类的组件在各类组件加载顺序的末位执行加载。
PCT/CN2016/076448 2015-03-24 2016-03-16 一种操作界面的加载方法及装置 Ceased WO2016150323A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510129363.XA CN106155639B (zh) 2015-03-24 2015-03-24 一种操作界面的加载方法及装置
CN201510129363.X 2015-03-24

Publications (1)

Publication Number Publication Date
WO2016150323A1 true WO2016150323A1 (zh) 2016-09-29

Family

ID=56979092

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076448 Ceased WO2016150323A1 (zh) 2015-03-24 2016-03-16 一种操作界面的加载方法及装置

Country Status (2)

Country Link
CN (1) CN106155639B (zh)
WO (1) WO2016150323A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110400196A (zh) * 2019-06-20 2019-11-01 北京奇艺世纪科技有限公司 一种页面处理方法、装置及计算机可读存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334387B (zh) * 2017-01-20 2021-03-16 阿里巴巴集团控股有限公司 动态界面渲染方法及装置
CN111324251B (zh) * 2017-09-06 2021-05-04 江苏慕林智能电器有限公司 沙发场景分组方法、ue设备、组合沙发及其布局方法
CN108052361B (zh) * 2017-11-01 2019-08-23 武汉斗鱼网络科技有限公司 基于Android的页面启动方法、存储介质、电子设备及系统
CN113849320A (zh) * 2021-08-20 2021-12-28 阿里巴巴新加坡控股有限公司 开发方法、控制方法及计算设备
CN114020397B (zh) * 2021-11-24 2023-11-07 北京字节跳动网络技术有限公司 界面组件状态识别方法、装置、计算机设备以及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011198015A (ja) * 2010-03-19 2011-10-06 Mitsubishi Electric Corp プログラムコンポーネントコンテナ装置およびユーザインターフェースアプリケーション構築システム
CN102681759A (zh) * 2010-12-17 2012-09-19 微软公司 交错动画调度
CN103034723A (zh) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 页面呈现方法及设备
CN103577207A (zh) * 2012-08-01 2014-02-12 阿里巴巴集团控股有限公司 一种自定义界面系统中界面组件的加载方法和装置
CN104166569A (zh) * 2014-08-15 2014-11-26 北京彩云动力教育科技有限公司 一种前端页面加载的方法及系统
CN104346176A (zh) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 一种浏览器启动的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716636B2 (en) * 2005-01-10 2010-05-11 Microsoft Corporation User interface for accessing and loading software components of a development set on a computer while other software components of the set are loading
CN101996073B (zh) * 2009-08-31 2014-02-05 阿里巴巴集团控股有限公司 一种组件渲染方法及装置
US9121296B2 (en) * 2011-11-04 2015-09-01 United Technologies Corporation Rotatable component with controlled load interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011198015A (ja) * 2010-03-19 2011-10-06 Mitsubishi Electric Corp プログラムコンポーネントコンテナ装置およびユーザインターフェースアプリケーション構築システム
CN102681759A (zh) * 2010-12-17 2012-09-19 微软公司 交错动画调度
CN103577207A (zh) * 2012-08-01 2014-02-12 阿里巴巴集团控股有限公司 一种自定义界面系统中界面组件的加载方法和装置
CN103034723A (zh) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 页面呈现方法及设备
CN104346176A (zh) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 一种浏览器启动的方法及装置
CN104166569A (zh) * 2014-08-15 2014-11-26 北京彩云动力教育科技有限公司 一种前端页面加载的方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110400196A (zh) * 2019-06-20 2019-11-01 北京奇艺世纪科技有限公司 一种页面处理方法、装置及计算机可读存储介质

Also Published As

Publication number Publication date
CN106155639B (zh) 2020-02-07
CN106155639A (zh) 2016-11-23

Similar Documents

Publication Publication Date Title
WO2016150323A1 (zh) 一种操作界面的加载方法及装置
KR102490421B1 (ko) 터치 감응형 이차 디스플레이에서 사용자 인터페이스 제어부들을 동적으로 제공하기 위한 시스템들, 디바이스들, 및 방법들
JP6264081B2 (ja) ビデオのセグメントを選択するプログラム、方法、及びシステム、及び、メディアクリップのセグメントを選択するプログラム
US9836313B2 (en) Low-latency visual response to input via pre-generation of alternative graphical representations of application elements and input handling on a graphical processing unit
CN102929491B (zh) 跨窗口动画
US9310988B2 (en) Scroll end effects for websites and content
US10521102B1 (en) Handling touch inputs based on user intention inference
JP2017516333A (ja) ビデオチャットピクチャインピクチャ
CN102915297A (zh) 底层网格结构以及表的动画
JP2016038900A (ja) 表示制御装置、表示制御方法、及びその方法をコンピュータで実行させるためのコンピュータ・プログラム
WO2018119584A1 (zh) 柔性显示屏的交互方法及装置
CN105116999B (zh) 一种智能手表的控制方法及智能手表
TWI610220B (zh) 自動控制顯示螢幕密度的設備及方法
CN105511771A (zh) 一种快捷操作方法、装置和终端
KR101610882B1 (ko) 표시 제어 장치, 표시 제어 방법 및 이를 컴퓨터에서 실행하기 위한 컴퓨터 프로그램
US20230266871A1 (en) Dynamically adjusting gui elements to reflect user multi-selection
CN107005609A (zh) 基于吹气动作操作移动终端的方法和移动终端
US9536126B2 (en) Function execution method based on a user input, and electronic device thereof
CN107209632A (zh) 信息处理程序和信息处理方法
WO2023071610A1 (zh) 一种执行方法、电子设备及计算机存储介质
JP6796015B2 (ja) シーケンス生成装置およびその制御方法
JP2017533501A (ja) ユーザアクションに応答して直接操作の有効化を決定するためのヒットテスト
KR101644854B1 (ko) 영역 지정 방법
US11481087B2 (en) Electronic device and method for identifying input commands of a user
US20240264722A1 (en) User Interface Enabling Interactive feedback

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: 16767700

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: 16767700

Country of ref document: EP

Kind code of ref document: A1