WO2018049816A1 - 一种组件处理方法、装置及存储介质 - Google Patents
一种组件处理方法、装置及存储介质 Download PDFInfo
- Publication number
- WO2018049816A1 WO2018049816A1 PCT/CN2017/081140 CN2017081140W WO2018049816A1 WO 2018049816 A1 WO2018049816 A1 WO 2018049816A1 CN 2017081140 W CN2017081140 W CN 2017081140W WO 2018049816 A1 WO2018049816 A1 WO 2018049816A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- component
- hidden
- layer
- display
- correspondence
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
Definitions
- the present invention relates to the field of mobile communications, and in particular, to a component processing method, apparatus, and storage medium.
- components can include, for example, shortcuts for various applications, widgets, files, or folders.
- the present invention provides a component processing method, apparatus, and storage medium to at least solve the technical problem of how to hide and display components.
- the present invention provides a component processing method, including:
- the component to be hidden is controlled to be displayed on a hidden layer layer of the display, wherein the display is provided with an invisible hidden layer layer and a visible display layer layer.
- controlling the component to be hidden is performed on a hidden layer layer of the display Display, including:
- the component to be hidden is controlled to be displayed at a corresponding position of the display component of the corresponding display layer layer.
- the component to be hidden is in a one-to-one relationship with a display component located in the display layer layer, or a one-to-many relationship.
- setting a correspondence between the component to be hidden and a display component located in the display layer layer includes:
- the dragged component is regarded as a component to be hidden, and a correspondence relationship between the dragged component and the display component of the drag operation stop position is established.
- the dragged component in response to the drag operation, is taken as the component to be hidden, and the correspondence between the dragged component and the display component of the drag operation stop position is established, including:
- the components located in the hidden layer layer are stored in the first storage space
- the components located in the display layer layer are stored in the second storage space
- the first storage space and the second storage are Space is a different storage space.
- the method further includes:
- the hidden component is displayed.
- detecting whether the triggering operation of displaying the hidden component in the hidden layer layer is currently satisfied includes:
- the method further includes:
- the hidden component of the control display is in an operational state
- the hidden component that controls the display is in an inoperable state.
- the method further includes:
- the component comprises: a folder and/or an application.
- the present invention also provides a resource processing apparatus, including:
- Select a module configured to select a component to be hidden
- a control module configured to control the component to be hidden to be displayed on a hidden layer layer of the display, wherein the display setting comprises: an invisible hidden layer layer and a visible display layer layer.
- the present invention also provides a computer storage medium having stored therein computer executable instructions for executing the component processing method described above.
- the beneficial effects of the present invention are as follows: two layers are arranged on the display, one is a visible display layer layer, and the other is an invisible hidden layer layer, so that components that need to be hidden can be placed in the hidden layer layer.
- the display layer layer and the hidden layer layer By controlling the display layer layer and the hidden layer layer, the technical problem of how to hide and display the component in the prior art can be effectively solved, and the technical effect of hiding the resource simply and effectively is realized, and the user experience is improved. .
- FIG. 1 is a flowchart of a method for processing a resource in an embodiment of the present invention
- FIG. 2 is a block diagram showing the structure of a data processing apparatus in an embodiment of the present invention.
- FIG. 3 is a flowchart of a method for setting hidden layer resources in batches according to an embodiment of the present invention
- FIG. 4 is a flowchart of a method for setting a certain resource as a hidden resource in an embodiment of the present invention
- FIG. 5 is a block diagram showing another structure of a resource processing apparatus according to an embodiment of the present invention.
- the present invention provides a component processing apparatus, which will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
- the component processing method may include the following steps:
- Step S102 selecting a component to be hidden
- Step S104 Control the component to be hidden to be displayed on the hidden layer layer of the display
- the display is provided with an invisible hidden layer layer and a visible display layer layer.
- a correspondence between the component to be hidden and the display component located in the display layer layer may be set; according to the correspondence, the component to be hidden is controlled in the corresponding display layer.
- the corresponding position of the display component of the layer is displayed.
- the correspondence may be established in a manner of a list or a mapping relationship.
- the user may be presented with a setting interface. The user may select the component name or input the component name, and set the correspondence between the multiple components to be hidden and the displayed component.
- the terminal matches and displays the hidden component and the display component according to the correspondence.
- the component to be hidden and the display component located in the display layer layer may have a one-to-one relationship or a one-to-many relationship.
- the display layer layer and the hidden layer layer may be arranged in a manner that the hidden layer layer is disposed below the display layer layer, or the hidden layer layer is disposed at a position beside the display layer layer, and the specific setting manner is adopted. It can be selected according to needs, and this application does not specifically limit this. For example, corresponding to the above correspondence, if the hidden layer layer is located under the display layer layer, then a component to be hidden may be hidden under one display component, or a component to be hidden may be hidden in Under multiple display components.
- the correspondence between each component to be hidden and the display component of the plurality of components to be hidden may be set in batches by setting a list; or the component to be dragged may be treated as a response to the drag operation. Hide the component and establish the correspondence between the dragged component and the display component of the drag operation stop position. That is, it may be a setting list, which completes the setting of multiple components to be hidden at one time, or may set the components to be hidden one by one by dragging or the like.
- the dragged component In response to the drag operation, the dragged component is used as the component to be hidden, and the correspondence between the dragged component and the display component of the drag operation stop position is established.
- the stop time of the operation stop position reaches the preset threshold, the correspondence between the dragged component and the display component of the drag operation stop position is established.
- the display layer layer and the hidden layer layer it can be stored through different system storage spaces, for example, the components located in the hidden layer layer are stored in the first storage space, and the components located in the display layer layer are stored in the second. In the storage space, the first storage space and the second storage space are different storage spaces.
- the above is the setting of the hidden component, and the purpose of setting is to provide the user to the user. Therefore, after the hidden layer of the component to be hidden is displayed on the display layer, it is possible to detect whether the hidden layer is currently satisfied.
- the trigger action of the hidden component in ; if it is satisfied, the hidden component is displayed. For example, if the trigger action is set to smudge, then it is possible to detect whether there is currently a smear operation on the display layer layer, and if so, determine that the trigger operation of the hidden component in the hidden layer layer is satisfied.
- you can use other methods. In order to trigger the operation for example, long-pressing the icon, operating according to the predetermined trajectory, etc., which methods are used as the triggering operation, may be selected according to actual needs.
- a password input interface can be displayed. Only when the user correctly enters the password, the hidden component is controlled to be in an operable state. It may also be that when the user triggers the display of the hidden component, the user is fingerprinted. Only when the fingerprint is detected as the fingerprint of the owner, the identity authentication is passed, and the hidden component is triggered to be operable only after the identity authentication is passed. .
- the component can be directly set to the hidden state and restored to the display state before the trigger. That is, it is possible to detect whether the user exits the operation of the hidden component of the display; if exiting, the hidden component that controls the display is in a hidden state.
- the components in the various embodiments described above may include, but are not limited to, at least one of the following: a folder, an application.
- the display of the smart terminal is divided into two layers, and the upper layer is used as a regular layer and the next layer is used as a hidden layer.
- the user can only see the interface of the regular layer.
- the area can be smeared by smearing, so that the hidden layer appears for the user to use.
- the icons or files of the hidden layer may be unified by setting operations, or may be hidden by dragging them to a regular layer file or icon.
- icons and files are collectively referred to as components.
- the regular layer and the hidden layer it can be stored through different system storage spaces, for example, one storage space is used to store components of a regular layer, and one storage space is used to store a group of hidden layers. And generate a corresponding relationship mapping table, when displayed to the user when the user sets, can display the correspondence of each other components for use in modification or saving.
- an embodiment of the present invention provides a data processing apparatus, which, as shown in FIG. 2, includes: a setting module, a hidden processing module, a display processing module, a user interface (UI) processing module, and an execution module. Wait. Specifically, these modules can perform the following operations separately:
- Setting module When the user needs to set the corresponding positions of the hidden layer and the regular layer in batch, it can be defined by setting the module, defining the position of the component intended to be placed in the regular layer, and the corresponding hidden component under each component of the regular layer. position. Further, the position of each of the hidden components can be mapped to the position of each of the hidden components in order to achieve a hidden effect.
- Hidden processing module In the case of non-batch setting hidden layer, if you hide the single component, you can form a folder by colliding with the conventional merge by, for example, dragging the component to be hidden to another non-hidden component. The operation makes a difference. You can set the dwell time to be dragged to the top of the target component. For example, if you drag an icon over another icon and leave it for 5 seconds, then the icon is automatically hidden under the target icon. Hide the layer.
- Display Processing Module When the corresponding component is hidden under the regular layer, the components of the hidden layer are displayed by smearing on the regular layer component. In order to distinguish the smear operation from the normal sliding operation, the smear function can be recognized by repeated repeated back and forth sliding within a corresponding range.
- UI processing module configured to display a smear effect similar to the smear of the first layer when the smear operation is performed.
- Execution module When the user clicks on the corresponding component, it determines whether the user has performed the smear operation. If not, the operation of the regular layer is performed. If it is determined that the user has performed the smear operation, the operation of the hidden layer is performed accordingly. After exiting the component operation of the hidden layer, the component can be automatically converted to a hidden effect, and only the regular layer components are displayed.
- the hidden layer can be combined with the program lock.
- the hidden layer program can be set after the password is input, or the fingerprint of the owner can be recognized when the smear operation is performed. It is found that the smear operation by the owner does not display the component information of the hidden layer or the like.
- the above smear method shows that the hidden layer is only a schematic description, or only a UI design effect, and other ways can be used to trigger the display of the hidden layer, for example: long press, pressure press smear or slide, etc., as long as the difference It can be used for routine operations.
- a flowchart of a method for setting a hidden layer component in batches may include the following steps:
- Step S201 The user sets the components of the hidden layer corresponding to the regular layer in the setting module in batch, wherein the component may be a folder or an application;
- Step S202 save the setting, and control the hidden layer as a whole to be hidden under the regular layer layer, which is not visible to the user;
- Step S203 When the user needs to use the component of the hidden layer, smear the range of the corresponding regular layer component, and display the corresponding component of the hidden layer while smearing;
- Step S204 The user operates the components of the hidden layer
- Step S205 When the user exits after performing the operation on the hidden layer component, the state is automatically restored to the state where the hidden layer is invisible.
- a flow chart of a method for setting a component as a hidden component may include the following steps:
- Step S301 The user sets the drag dwell time to distinguish the superimposed into a folder operation, and drags the group Piece A to component B, when the dwell time reaches the user set time, the component A is hidden in the corresponding position below the component B;
- Step S302 saving the setting, the hidden layer is entirely hidden under the regular layer layer, and is invisible to the user;
- Step S303 When the user needs to use the component of the hidden layer, the smear operation is performed on the range of the corresponding regular layer component, and the corresponding component of the hidden layer is displayed while smearing;
- Step S304 The user operates on components of the hidden layer
- Step S305 When the user exits after performing the operation on the hidden layer component, the state is automatically restored to the invisible hidden layer of the regular layer.
- a component hiding method which hides and visualizes hidden icons and files by dragging and smearing the interface in the interface, so as to conveniently and quickly protect the user's privacy, and the fun comparison Strong. Further, more powerful security can be achieved by combining functions such as program lock and fingerprint recognition.
- FIG. 5 is a structural block diagram of a component processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the method may include: a selection module 501 and a control module 502, which will be described below.
- the module 501 is configured to select a component to be hidden
- the control module 502 is configured to control the component to be hidden to be displayed on a hidden layer layer of the display, wherein the display setting comprises: an invisible hidden layer layer and a visible display layer layer.
- control module 502 includes a setting unit and a control unit, and the setting unit is configured to set a correspondence between the component to be hidden and a display component located in the display layer layer; And configuring, according to the correspondence, controlling the to-be-concealed component to display at a corresponding position of the hidden layer layer below the display component of the corresponding display layer layer.
- the component to be hidden may be in a one-to-one relationship with the display component located in the display layer layer, or may be a one-to-many relationship.
- the setting unit includes a first setting sub-unit configured to batch-set a correspondence between each of the plurality of components to be hidden and the display component by setting a list; or, the second setting The subunit is configured to, in response to the drag operation, use the dragged component as a component to be hidden, and establish a correspondence between the dragged component and the display component of the drag operation stop position.
- the second setting subunit is configured to establish the dragged component and dragging when detecting that the drag operation stops at a stop time of the drag operation stop position to reach a preset threshold. The correspondence between the display components of the operation stop position.
- the components located in the hidden layer layer are stored in the first storage space
- the components located in the display layer layer are stored in the second storage space
- the first storage space and the second storage are Space is a different storage space.
- control module 502 can also detect whether the triggering operation of the hidden component in the hidden layer layer is currently satisfied; if so, the hidden component is displayed.
- control module 502 can detect whether there is currently a smear operation on the display layer layer, and if so, determine a trigger operation that satisfies the hidden component in the display hidden layer layer.
- control module 502 can also detect whether the user who initiated the triggering operation passes the identity authentication; if the identity authentication passes, the hidden component that controls the display is operable. Status; if the identity authentication fails, the hidden component that controls the display is in an inoperable state.
- control module 502 can also detect whether the user exits the operation of the hidden component of the display; if exited, the hidden component that controls the display is in a hidden state.
- components may include, but are not limited to, folders and applications.
- the embodiment of the present invention can achieve the following effects: two layers are set on the display, one is a visible display layer layer, and the other is an invisible hidden layer layer, so that the hidden layer can be hidden.
- the component is placed in the hidden layer layer.
- the selection module and the control module in the component processing device provided in the embodiment of the present invention may be implemented by a processor, and may also be implemented by a specific logic circuit; wherein the processor may be a processor located on an electronic device; In practical applications, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
- CPU central processing unit
- MPU microprocessor
- DSP digital signal processor
- FPGA field programmable gate array
- the above component processing method is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a computer readable storage medium.
- the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
- a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
- program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
- an embodiment of the present invention further provides a computer storage medium, and the computer storage medium
- a computer program for executing the above-described component processing method of the embodiment of the present invention is stored in the medium.
- modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
- the component processing method provided by the embodiment of the present invention selects a component to be hidden; controls the component to be hidden to be displayed on a hidden layer layer of the display; the display is provided with an invisible hidden layer layer and a visible display layer map Floor.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种组件处理方法、装置及存储介质,其中,该方法包括:选取待隐藏组件(S102);控制所述待隐藏组件在显示器的隐藏层图层进行显示(S104);所述显示器中设置有不可见的隐藏层图层和可见的显示层图层。解决了现有技术中如何对组件进行隐藏和显示的技术问题,达到了简单有效地实现资源的隐藏的技术效果,且提高了用户体验。
Description
相关申请的交叉引用
本申请基于申请号为201610822681.9、申请日为2016年09月14日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本发明涉及移动通讯领域,特别是涉及一种组件处理方法、装置及存储介质。
当下用户对智能终端的要求越来越高,对隐私的要求也越来越高。有时人们希望对放置在用户界面的组件进行隐藏,其中,组件可以包括例如:各种应用程序的快捷方式、窗口部件(Widget)、文件或文件夹等资源。
针对如何有效实现组件的隐藏,目前尚未提出有效的解决方案。
发明内容
本发明提供一种组件处理方法、装置及存储介质,以至少解决如何对组件进行隐藏和显示的技术问题。
为解决上述技术问题,一方面,本发明提供一种组件处理方法,包括:
选取待隐藏组件;
控制所述待隐藏组件在显示器的隐藏层图层进行显示,其中,所述显示器中设置有不可见的隐藏层图层和可见的显示层图层。
在一个实施方式中,控制所述待隐藏组件在显示器的隐藏层图层进行
显示,包括:
设置所述待隐藏组件与位于所述显示层图层的显示组件之间的对应关系;
按照所述对应关系,控制所述待隐藏组件在对应的显示层图层的显示组件的对应位置进行显示。
在一个实施方式中,所述待隐藏组件与位于所述显示层图层的显示组件是一对一的关系,或者是一对多的关系。
在一个实施方式中,设置所述待隐藏组件与位于所述显示层图层的显示组件之间的对应关系,包括:
通过设置列表的方式批量设置多个待隐藏组件中各个待隐藏组件与显示组件之间的对应关系;
或者,响应于拖动操作,将被拖动的组件作为待隐藏组件,并建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
在一个实施方式中,响应于拖动操作,将被拖动的组件作为待隐藏组件,并建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系,包括:
在检测到所述拖动操作在拖动操作停止位置的停止时间达到预设阈值的情况下,建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
在一个实施方式中,位于隐藏层图层的组件存储在第一存储空间中,位于显示层图层的组件存储在第二存储空间中,其中,所述第一存储空间和所述第二存储空间为不同的存储空间。
在一个实施方式中,将所述待隐藏组件在显示界面的隐藏层图层进行显示之后,所述方法还包括:
检测当前是否满足显示隐藏层图层中的隐藏组件的触发操作;
如果满足,则显示隐藏组件。
在一个实施方式中,检测当前是否满足显示隐藏层图层中的隐藏组件的触发操作,包括:
检测当前是否有对显示层图层的涂抹操作,如果有,则确定满足显示隐藏层图层中的隐藏组件的触发操作。
在一个实施方式中,在显示隐藏组件之后,所述方法还包括:
检测发起触发操作的用户是否通过身份认证;
如果身份认证通过,则控制显示的隐藏组件处于可操作状态;
如果身份认证未通过,则控制显示的隐藏组件处于不可操作状态。
在一个实施方式中,在显示隐藏组件之后,所述方法还包括:
检测用户是否退出对该显示的隐藏组件的操作;
如果退出,则控制该显示的隐藏组件处于隐藏状态。
在一个实施方式中,所述组件包括:文件夹和/或应用程序。
另一方面,本发明还提供了一种资源处理装置,包括:
选取模块,配置为选取待隐藏组件;
控制模块,配置为控制所述待隐藏组件在显示器的隐藏层图层进行显示,其中,所述显示器设置包括:不可见的隐藏层图层和可见的显示层图层。
本发明还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行上述的组件处理方法。
本发明有益效果如下:在显示器上设置了两个图层,一个是可见的显示层图层,一个是不可见的隐藏层图层,从而使得可以将需要隐藏的组件放置在隐藏层图层,通过对显示层图层和隐藏层图层的控制,可以有效解决现有技术中如何对组件进行隐藏和显示的技术问题,达到了简单有效地实现资源的隐藏的技术效果,且提高了用户体验。
图1是本发明实施例中资源处理方法的方法流程图;
图2是本发明实施例中数据处理装置的一种结构框图;
图3是本发明实施例中批量设置隐藏层资源的方法流程图;
图4是本发明实施例中单一设置某个资源为隐藏资源的方法流程图;
图5是本发明实施例中资源处理装置的另一结构框图。
为了解决如何对组件进行隐藏和显示的技术问题,本发明提供了一种组件处理装置,以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。
如图1所示,该组件处理方法可以包括以下步骤:
步骤S102:选取待隐藏组件;
步骤S104:控制待隐藏组件在显示器的隐藏层图层进行显示;
其中,显示器中设置有不可见的隐藏层图层和可见的显示层图层。
为了采用较为简单的方式实现组件的隐藏,可以设置待隐藏组件与位于所述显示层图层的显示组件之间的对应关系;按照所述对应关系,控制所述待隐藏组件在对应的显示层图层的显示组件的对应位置进行显示。具体地,该对应关系可以采用列表的方式,或者是映射关系的方式建立。在设置的时候,可以向用户呈现一个设置界面,用户可以采用选择组件名称的方式,也可以采用输入组件名称的方式,设置待隐藏的多个组件分别与显示的组件之间的对应关系,智能终端按照这种对应关系对隐藏组件和显示组件进行匹配和显示。
在实现的时候,待隐藏组件与位于显示层图层的显示组件可以是一对一的关系,也可以是一对多的关系。
上述的显示层图层和隐藏层图层可以按照,隐藏层图层设置在显示层图层下方的方式,也可以按照隐藏层图层设置在显示层图层旁边位置的方式,具体的设置方式可以根据需要选择,本申请对此不作具体限定。举例而言,对应上述的对应关系,如果是采用隐藏层图层位于显示层图层之下的方式,那么可以一个待隐藏组件隐藏在一个显示组件之下,也可以是一个待隐藏组件隐藏在多个显示组件之下。
在设置对应关系的时候,可以通过设置列表的方式批量设置多个待隐藏组件中各个待隐藏组件与显示组件之间的对应关系;也可以响应于拖动操作,将被拖动的组件作为待隐藏组件,并建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。即,可以是设置列表,一次完成多个待隐藏组件的设置,也可以是采用拖动等方式逐个设置待隐藏组件。
在响应于拖动操作,将被拖动的组件作为待隐藏组件,并建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系时可以在检测到拖动操作在拖动操作停止位置的停止时间达到预设阈值的情况下,建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
对于显示层图层和隐藏层图层,可以通过不同的系统存储空间进行存储,例如:将位于隐藏层图层的组件存储在第一存储空间中,位于显示层图层的组件存储在第二存储空间中,其中,所述第一存储空间和所述第二存储空间为不同的存储空间。
上述是对隐藏组件的设置,之所以设置的目的是为了后续可以提供给用户,因此,在将待隐藏组件在显示界面的隐藏层图层进行显示之后,可以检测当前是否满足显示隐藏层图层中的隐藏组件的触发操作;如果满足,则显示隐藏组件。例如,如果设定触发操作为涂抹,那么就可以检测当前是否有对显示层图层的涂抹操作,如果有,则确定满足显示隐藏层图层中的隐藏组件的触发操作。当然在实际设定的时候,可以采用其它的方式作
为触发操作,例如,长按图标,按照预定轨迹操作等等都可以,具体采用哪些方式作为触发操作,可以根据实际需要选择。
为了进一步提高安全性,可以为隐藏组件设置身份认证,例如,在用户成功显示出隐藏组件之后,可以显示一个密码输入界面,只有用户正确输入密码,才会控制该隐藏组件处于可操作状态。也可以是在用户触发显示隐藏组件的时候,对用户进行指纹识别,只有检测到指纹为机主的指纹,才认为身份认证通过,只有在身份认证通过之后,才触发该隐藏组件处于可操作状态。
即,检测发起触发操作的用户是否通过身份认证;如果身份认证通过,则控制显示的隐藏组件处于可操作状态;如果身份认证未通过,则控制显示的隐藏组件处于不可操作状态。
在用户完成对该组件的操作,退出该组件后,可以直接设置该组件处于隐藏状态,恢复至触发前的显示状态。即,可以检测用户是否退出对该显示的隐藏组件的操作;如果退出,则控制该显示的隐藏组件处于隐藏状态。
在上述各个实施方式中组件可以包括但不限于以下至少之一:文件夹、应用程序。
在本实施例中,将智能终端的显示器分为两个图层,将上一层作为常规层、下一层作为隐藏层。在正常情况下,用户仅可以看到常规层的界面,当用户需要查看隐藏层时,可以通过涂抹的方式进行区域涂抹,从而使得隐藏层显现出来,以供用户使用。进一步的,隐藏层的图标或者文件可以通过设置操作进行统一置,也可以通过拖动到常规层文件或者图标上来进行隐藏,为了描述简洁,在本例中将图标和文件等统称为组件。
对于常规层和隐藏层,可以通过不同的系统存储空间进行存储,例如一个存储空间用于存储常规层的组件,一个存储空间用于存储隐藏层的组
件,并生成一个对应的关系映射表,当用户设置时展示给用户时,可以显示彼此组件的对应关系,以便用于修改或者保存。
根据上述内容,本发明实施例提供了一种数据处理装置,可以如图2所示,包括:设置模块、隐藏处理模块、显示处理模块、用户界面(User Interface,UI)处理模块,和执行模块等。具体地,这些模块可以分别执行以下操作:
设置模块:当用户需要批量的设置隐藏层和常规层的对应位置时,可以通过设置模块来进行定义,定义打算放在常规层的组件的位置,以及常规层每个组件下面对应的隐藏组件的位置。进一步的,可以为每个隐藏组件的位置对应一个常规层组件的位置,以便实现隐藏的效果。
隐藏处理模块:在非批量设置隐藏层的情况下,如果对单个组件进行隐藏操作,那么可以通过例如拖动需要隐藏的组件到另一个非隐藏的组件上,为了与常规的合并形成文件夹的操作进行区别,可以设定拖动到目标组件的上方的停留时间,例如:如果将一个图标拖动到另一个图标之上,停留5S后再松手,则实现图标自动隐藏在目标图标之下进入隐藏层。
显示处理模块:当常规层下面隐藏了相应的组件后,通过在常规层组件上进行涂抹操作,来显示出隐藏层的组件。为了使得涂抹操作区别于一般的滑动操作,可以通过固定的相应范围内不断重复的来回滑动实现涂抹功能的识别。
UI处理模块:配置为在进行涂抹操作时,显示出类似于涂抹掉第一图层,显现出第二图层的涂抹效果。
执行模块:当用户点击相应的组件时,则判断用户是否进行了涂抹操作,如果没有,就进行常规层的操作,如果判断用户进行了涂抹操作,那么就进行隐藏层的操作相应执行。在退出隐藏层的组件操作后,该组件可以自动转换至隐藏效果,而只显示常规层组件。
为了进一步提高组件的安全性,可以在隐藏层显现出来后,结合程序锁,例如:可以对隐藏层的程序进行输入密码后进行操作的设置,或者在涂抹操作时,识别机主的指纹,如果发现不是机主进行的涂抹操作,则不显示隐藏层的组件信息等。
上述涂抹方式显示隐藏层仅是一种示意性描述,或者说仅是一种UI设计效果,还可以采用其它的方式触发显示隐藏层,例如:长按、压力按压涂抹或者滑动等等,只要区别于常规的操作都可以。
下面结合几个具体实例进行说明,然而值得说明的是,这几个具体实例仅是为了更好地说明本发明,并不构成对本发明的不当限定。
实例1
如图3所示,为批量设置隐藏层组件的方法流程图,可以包括以下步骤:
步骤S201:用户在设置模块批量设置常规层对应的隐藏层的组件,其中,组件可以是文件夹或应用等;
步骤S202:保存该设置,并控制隐藏层整体隐藏在常规层图层的下方,不对用户可见;
步骤S203:当用户需要使用隐藏层的组件时,对相应的常规层组件所在范围进行涂抹操作,在涂抹的同时显示出隐藏层的对应组件;
步骤S204:用户对隐藏层的组件进行操作;
步骤S205:当用户对隐藏层组件进行操作完毕后退出,则自动恢复至常规层可见隐藏层不可见的状态。
实例2
如图4所示,为单一设置某个组件为隐藏组件的方法流程图,可以包括以下步骤:
步骤S301:用户设置拖动停留时间以区别叠加成文件夹操作,拖动组
件A到组件B上,当停留时间达到用户设定时间后,将组件A隐藏在组件B下方的对应位置;
步骤S302:保存设置,隐藏层整体隐藏在常规层图层下方,对用户不可见;
步骤S303:当用户需要使用隐藏层的组件时,对相应的常规层组件所在范围进行涂抹操作,在涂抹的同时显示出隐藏层的对应组件;
步骤S304:用户对隐藏层的组件进行操作
步骤S305:当用户对隐藏层组件进行操作完毕后退出,则自动恢复至常规层可见隐藏层不可见的状态。
在上例中,提出了一种组件隐藏方法,通过在界面拖动隐藏和涂抹显现的方式进行对隐藏图标和文件的隐藏和显现操作,以方便直观快捷地保护用户的隐私,且趣味性比较强。进一步的,还可以结合程序锁和指纹识别等功能实现更强大的安全性。
基于同一发明构思,本发明实施例中还提供了一种组件处理装置,如下面的实施例所述。由于组件处理装置解决问题的原理与组件处理方法相似,因此组件处理装置的实施可以参见组件处理方法的实施,重复之处不再赘述。以下所使用的,术语“单元”或者“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图5是本发明实施例的组件处理装置的一种结构框图,如图5所示,可以包括:选取模块501和控制模块502,下面对该结构进行说明。
选取模块501,配置为选取待隐藏组件;
控制模块502,配置为控制所述待隐藏组件在显示器的隐藏层图层进行显示,其中,所述显示器设置包括:不可见的隐藏层图层和可见的显示层图层。
在一个实施方式中,控制模块502包括设置单元和控制单元;所述设置单元,配置为设置所述待隐藏组件与位于所述显示层图层的显示组件之间的对应关系;所述控制单元,配置为按照所述对应关系,控制所述待隐藏组件在对应的显示层图层的显示组件的下方的隐藏层图层对应位置进行显示。
在一个实施方式中,待隐藏组件与位于所述显示层图层的显示组件可以是一对一的关系,也可以是一对多的关系。
在一个实施方式中,所述设置单元包括第一设置子单元,配置为通过设置列表的方式批量设置多个待隐藏组件中各个待隐藏组件与显示组件之间的对应关系;或者,第二设置子单元,配置为响应于拖动操作,将被拖动的组件作为待隐藏组件,并建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
在一个实施方式中,所述第二设置子单元,配置为在检测到所述拖动操作在拖动操作停止位置的停止时间达到预设阈值的情况下,建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
在一个实施方式中,位于隐藏层图层的组件存储在第一存储空间中,位于显示层图层的组件存储在第二存储空间中,其中,所述第一存储空间和所述第二存储空间为不同的存储空间。
在一个实施方式中,控制模块502还可以检测当前是否满足显示隐藏层图层中的隐藏组件的触发操作;如果满足,则显示隐藏组件。
在一个实施方式中,控制模块502可以检测当前是否有对显示层图层的涂抹操作,如果有,则确定满足显示隐藏层图层中的隐藏组件的触发操作。
在一个实施方式中,控制模块502还可以检测发起触发操作的用户是否通过身份认证;如果身份认证通过,则控制显示的隐藏组件处于可操作
状态;如果身份认证未通过,则控制显示的隐藏组件处于不可操作状态。
在一个实施方式中,控制模块502还可以检测用户是否退出对该显示的隐藏组件的操作;如果退出,则控制该显示的隐藏组件处于隐藏状态。
在一个实施方式中,组件可以包括但不限于:文件夹和应用程序。
由上述分析可知,本发明实施例可以达到以下效果:在显示器上设置了两个图层,一个是可见的显示层图层,一个是不可见的隐藏层图层,从而使得可以将需要隐藏的组件放置在隐藏层图层,通过对显示层图层和隐藏层图层的控制,可以有效解决现有技术中如何对组件进行隐藏和显示的技术问题,达到了简单有效地实现资源的隐藏的技术效果,且提高了用户体验。
本发明实施例中提出的组件处理装置中的选取模块和控制模块都可以通过处理器来实现,当然也可通过具体的逻辑电路实现;其中所述处理器可以是位于电子设备上的处理器;在实际应用中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。
本发明实施例中,如果以软件功能模块的形式实现上述组件处理方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
相应地,本发明实施例还提供一种计算机存储介质,该计算机存储介
质中存储有计算机程序,该计算机程序用于执行本发明实施例的上述组件处理方法。
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
本发明实施例提供的组件处理方法,选取待隐藏组件;控制所述待隐藏组件在显示器的隐藏层图层进行显示;所述显示器中设置有不可见的隐藏层图层和可见的显示层图层。采用上述方案,可以将需要隐藏的组件放置在隐藏层图层,通过对显示层图层和隐藏层图层的控制,可以有效解决现有技术中如何对组件进行隐藏和显示的技术问题,达到了简单有效地实现资源的隐藏的技术效果,且提高了用户体验。
Claims (16)
- 一种组件处理方法,包括:选取待隐藏组件;控制所述待隐藏组件在显示器的隐藏层图层进行显示;所述显示器中设置有不可见的隐藏层图层和可见的显示层图层。
- 如权利要求1所述的方法,其中,所述控制所述待隐藏组件在显示器的隐藏层图层进行显示,包括:设置所述待隐藏组件与位于所述显示层图层的组件之间的对应关系;按照所述对应关系,控制所述待隐藏组件在对应的显示层图层的组件的对应位置进行显示。
- 如权利要求2所述的方法,其中,所述待隐藏组件与位于所述显示层图层的显示组件是一对一的关系,或者是一对多的关系。
- 如权利要求2所述的方法,其中,所述设置所述待隐藏组件与位于所述显示层图层的显示组件之间的对应关系,包括:通过设置列表的方式批量设置多个待隐藏组件中各个待隐藏组件与显示组件之间的对应关系;或者,响应于拖动操作,将被拖动的组件作为待隐藏组件,并建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
- 如权利要求4所述的方法,其中,所述响应于拖动操作,将被拖动的组件作为待隐藏组件,并建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系,包括:在检测到所述拖动操作在拖动操作停止位置的停止时间达到预设阈值的情况下,建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
- 如权利要求1所述的方法,其中,位于隐藏层图层的组件存储在第一存储空间中,位于显示层图层的组件存储在第二存储空间中;所述第一存储空间和所述第二存储空间为不同的存储空间。
- 如权利要求1至6中任一项所述的方法,其中,将所述待隐藏组件在显示界面的隐藏层图层进行显示之后,所述方法还包括:检测当前是否满足显示隐藏层图层中的隐藏组件的触发操作;如果满足,则显示隐藏组件。
- 如权利要求7所述的方法,其中,所述检测当前是否满足显示隐藏层图层中的隐藏组件的触发操作,包括:检测当前是否有对显示层图层的涂抹操作,如果有,则确定满足显示隐藏层图层中的隐藏组件的触发操作。
- 如权利要求7所述的方法,其中,在显示隐藏组件之后,所述方法还包括:检测发起触发操作的用户是否通过身份认证;如果身份认证通过,则控制显示的隐藏组件处于可操作状态;如果身份认证未通过,则控制显示的隐藏组件处于不可操作状态。
- 如权利要求7所述的方法,其中,在显示隐藏组件之后,所述方法还包括:检测用户是否退出对该显示的隐藏组件的操作;如果退出,则控制该显示的隐藏组件处于隐藏状态。
- 如权利要求1所述的方法,其中,所述组件包括:文件夹和/或应用程序。
- 一种组件处理装置,包括:选取模块,配置为选取待隐藏组件;控制模块,配置为控制所述待隐藏组件在显示器的隐藏层图层进行 显示;所述显示器设置有不可见的隐藏层图层和可见的显示层图层,所述隐藏层图层位于所述显示层图层之下。
- 如权利要求12所述的装置,其中,所述控制模块包括:设置单元,配置为设置所述待隐藏组件与位于所述显示层图层的组件之间的对应关系;控制单元,配置为按照所述对应关系,控制所述待隐藏组件在对应的显示层图层的组件的对应位置进行显示。
- 如权利要求13所述的装置,其中,所述设置单元包括:第一设置子单元,配置为通过设置列表的方式批量设置多个待隐藏组件中各个待隐藏组件与显示组件之间的对应关系;或者,第二设置子单元,配置为响应于拖动操作,将被拖动的组件作为待隐藏组件,并建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
- 如权利要求14所述的装置,其中,所述第二设置子单元,配置为在检测到所述拖动操作在拖动操作停止位置的停止时间达到预设阈值的情况下,建立被拖动的组件与拖动操作停止位置的显示组件之间的对应关系。
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至11任一项所述的组件处理方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610822681.9 | 2016-09-14 | ||
CN201610822681.9A CN107818267B (zh) | 2016-09-14 | 2016-09-14 | 一种组件处理方法和装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018049816A1 true WO2018049816A1 (zh) | 2018-03-22 |
Family
ID=61600441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/081140 WO2018049816A1 (zh) | 2016-09-14 | 2017-04-19 | 一种组件处理方法、装置及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107818267B (zh) |
WO (1) | WO2018049816A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764958A (zh) * | 2021-01-27 | 2021-05-07 | 上海淇玥信息技术有限公司 | 一种辅助修复页面故障的方法、装置和电子设备 |
CN113835704A (zh) * | 2021-09-27 | 2021-12-24 | 中电金信软件有限公司 | 一种布局文件生成方法、装置、设备以及存储介质 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109254811B (zh) * | 2018-08-08 | 2021-12-17 | 五八有限公司 | 界面展示方法、装置、计算机设备及计算机可读存储介质 |
CN109614591B (zh) * | 2018-11-19 | 2023-11-14 | 创新先进技术有限公司 | 一种表格的交互展示方法、装置及电子设备 |
CN113535042B (zh) * | 2020-09-18 | 2023-09-22 | 厦门市和家健脑智能科技有限公司 | 基于老年人认知识别图像的生成方法和装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092821A (zh) * | 2014-07-01 | 2014-10-08 | 惠州Tcl移动通信有限公司 | 一种移动终端的图标隐藏方法及系统 |
CN104573552A (zh) * | 2014-12-29 | 2015-04-29 | 广东欧珀移动通信有限公司 | 一种隐藏应用图标的方法及装置 |
CN104808919A (zh) * | 2015-04-29 | 2015-07-29 | 努比亚技术有限公司 | 界面显示控制方法和装置 |
CN105447399A (zh) * | 2014-08-18 | 2016-03-30 | 北京壹人壹本信息科技有限公司 | 一种图标隐藏方法及装置 |
CN105760737A (zh) * | 2016-02-23 | 2016-07-13 | 深圳市金立通信设备有限公司 | 一种应用程序的控制方法及终端 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100251383A1 (en) * | 2009-03-30 | 2010-09-30 | Cosby Mark R | Data cloaking method and apparatus |
CN105574018A (zh) * | 2014-10-14 | 2016-05-11 | 富泰华工业(深圳)有限公司 | 文件管理系统及方法 |
CN104834449B (zh) * | 2015-05-28 | 2018-01-16 | 广东欧珀移动通信有限公司 | 移动终端的图标管理方法及装置 |
CN105843483A (zh) * | 2016-04-06 | 2016-08-10 | 上海斐讯数据通信技术有限公司 | 一种管理 app 应用图标的方法及移动终端 |
-
2016
- 2016-09-14 CN CN201610822681.9A patent/CN107818267B/zh active Active
-
2017
- 2017-04-19 WO PCT/CN2017/081140 patent/WO2018049816A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092821A (zh) * | 2014-07-01 | 2014-10-08 | 惠州Tcl移动通信有限公司 | 一种移动终端的图标隐藏方法及系统 |
CN105447399A (zh) * | 2014-08-18 | 2016-03-30 | 北京壹人壹本信息科技有限公司 | 一种图标隐藏方法及装置 |
CN104573552A (zh) * | 2014-12-29 | 2015-04-29 | 广东欧珀移动通信有限公司 | 一种隐藏应用图标的方法及装置 |
CN104808919A (zh) * | 2015-04-29 | 2015-07-29 | 努比亚技术有限公司 | 界面显示控制方法和装置 |
CN105760737A (zh) * | 2016-02-23 | 2016-07-13 | 深圳市金立通信设备有限公司 | 一种应用程序的控制方法及终端 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764958A (zh) * | 2021-01-27 | 2021-05-07 | 上海淇玥信息技术有限公司 | 一种辅助修复页面故障的方法、装置和电子设备 |
CN112764958B (zh) * | 2021-01-27 | 2023-01-13 | 上海淇玥信息技术有限公司 | 一种辅助修复页面故障的方法、装置和电子设备 |
CN113835704A (zh) * | 2021-09-27 | 2021-12-24 | 中电金信软件有限公司 | 一种布局文件生成方法、装置、设备以及存储介质 |
CN113835704B (zh) * | 2021-09-27 | 2024-05-10 | 中电金信软件有限公司 | 一种布局文件生成方法、装置、设备以及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN107818267B (zh) | 2023-05-09 |
CN107818267A (zh) | 2018-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018049816A1 (zh) | 一种组件处理方法、装置及存储介质 | |
KR102362311B1 (ko) | 가상 화이트보드로부터의 데이터 요구 | |
CN104573552B (zh) | 一种隐藏应用图标的方法及装置 | |
EP2684115B1 (en) | Method and apparatus for providing quick access to media functions from a locked screen | |
CN106126077B (zh) | 一种应用程序图标的显示控制方法和移动终端 | |
EP2710455B1 (en) | Method and apparatus for providing quick access to device functionality | |
CN105148517B (zh) | 一种信息处理方法、终端及计算机存储介质 | |
US10809893B2 (en) | System and method for re-sizing and re-positioning application windows in a touch-based computing device | |
US8812983B2 (en) | Automatic magnification and selection confirmation | |
US9489050B2 (en) | Method and user equipment for unlocking screen saver | |
US9507928B2 (en) | Preventing the discovery of access codes | |
WO2017000350A1 (zh) | 一种基于触摸屏终端的解锁方法、装置和触摸屏终端 | |
CN104049806B (zh) | 一种触控终端及其操控方法和系统 | |
WO2017051374A1 (en) | Hidden application icons | |
US9423908B2 (en) | Distinguishing between touch gestures and handwriting | |
KR20170037961A (ko) | 다양한 통지를 제공하는 기법 | |
CN106095513B (zh) | 应用分身安全启动方法及系统 | |
CN104866752B (zh) | 一种应用保护方法及用户终端 | |
EP2927833A1 (en) | Methods and devices for granting access to and enabling passcode protection for a file | |
CN104318185B (zh) | 一种应用控制方法、设备及移动终端 | |
US20170046044A1 (en) | Display control method and electronic device | |
US9733826B2 (en) | Interacting with application beneath transparent layer | |
CN105511723A (zh) | 一种图标移动方法及移动终端 | |
US20220121293A1 (en) | Character editing on a physical device via interaction with a virtual device user interface | |
WO2017044669A1 (en) | Controlling a device |
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: 17850022 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: 17850022 Country of ref document: EP Kind code of ref document: A1 |