CN106201228B - A kind of layout method and device of status bar - Google Patents
A kind of layout method and device of status bar Download PDFInfo
- Publication number
- CN106201228B CN106201228B CN201610559566.7A CN201610559566A CN106201228B CN 106201228 B CN106201228 B CN 106201228B CN 201610559566 A CN201610559566 A CN 201610559566A CN 106201228 B CN106201228 B CN 106201228B
- Authority
- CN
- China
- Prior art keywords
- setting
- icon
- status bar
- history
- layout
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Landscapes
- Engineering & Computer Science (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
本发明实施例公开了一种状态栏的布局方法和装置;包括以下步骤:接收状态栏打开指令,根据状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合,获取上述图标集合中设置图标对应的历史设置信息,根据该历史设置信息在状态栏中布局设置图标;本发明实施例提供的状态栏的布局方法能够在用户打开状态栏时,获取用户针对状态栏中的每个设置图标的历史设置信息并根据该历史设置信息对其进行布局,使用户能够快速找到常用的设置图标,从而进行快速设置,与现有技术相比,有效提高了设置效率。
The embodiment of the present invention discloses a layout method and device for a status bar, comprising the following steps: receiving a status bar opening instruction, determining a setting icon located in the status bar according to the status bar opening instruction, so as to obtain an icon set, and obtaining the icon set in the above-mentioned icon set. Set the historical setting information corresponding to the icon, and lay out the setting icon in the status bar according to the historical setting information; the layout method of the status bar provided by the embodiment of the present invention can obtain each setting of the user for each setting in the status bar when the user opens the status bar The historical setting information of the icon is arranged according to the historical setting information, so that the user can quickly find the setting icon that is commonly used, so as to perform the quick setting. Compared with the prior art, the setting efficiency is effectively improved.
Description
技术领域technical field
本发明涉及终端技术领域,具体涉及一种状态栏的布局方法和装置。The present invention relates to the technical field of terminals, in particular to a layout method and device of a status bar.
背景技术Background technique
随着终端技术的发展,终端设备的功能也越来越丰富,在现有的智能终端的用户界面中,往往都提供了一种快捷设置按钮与通知栏结合的交互界面,将一些常用的快捷设置按钮放置在状态栏界面(比如下拉菜单)中,用户直接打开状态栏界面,并点击快捷设置按钮实现对应功能的开启/关闭,避免用户需要通过多个步骤才能操作一个简单的开关功能,节省用户的操作时间且提高了操作效率。With the development of terminal technology, the functions of terminal devices are becoming more and more abundant. In the user interface of the existing intelligent terminal, an interactive interface combining the shortcut setting button and the notification bar is often provided, and some commonly used shortcuts are often provided. The setting button is placed in the status bar interface (such as the drop-down menu), the user directly opens the status bar interface, and clicks the shortcut setting button to enable/disable the corresponding function, avoiding the need for the user to operate a simple switch function through multiple steps, saving The operation time of the user is improved and the operation efficiency is improved.
然而本发明的发明人却发现,这些快捷设置按钮的布局都是固定不变的,或者需要用户去设置进行布局,然而每个用户都有自己的应用场景,他们各自需要经常用的控制开关并不相同,当一大堆图标固定显示在那里的时候,有时候其实会让用户将各个图标全部扫视完一遍之后,才能找到他想要控制的开关,设置效率低。However, the inventor of the present invention has found that the layout of these quick setting buttons is fixed, or needs to be set by the user for layout. However, each user has its own application scene, and they each need control switches that they use frequently and It is not the same. When a large number of icons are fixedly displayed there, sometimes the user can find the switch he wants to control after scanning all the icons, and the setting efficiency is low.
由上可知,现有技术中的状态栏布局方式存在设置效率低的技术问题。It can be seen from the above that the layout method of the status bar in the prior art has a technical problem of low setting efficiency.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种状态栏的布局方法和装置,可以根据用户使用习惯来布局状态栏中的设置图标,从而解决现有技术中的状态栏布局方式存在设置效率低的技术问题。The embodiments of the present invention provide a status bar layout method and device, which can lay out setting icons in the status bar according to user usage habits, thereby solving the technical problem of low setting efficiency in the status bar layout method in the prior art.
本发明实施例提供一种状态栏的布局方法,包括以下步骤:An embodiment of the present invention provides a layout method for a status bar, including the following steps:
接收状态栏打开指令;Receive the status bar open command;
根据所述状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合;Determine the setting icon located in the status bar according to the status bar opening instruction to obtain the icon set;
获取所述图标集合中设置图标对应的历史设置信息;Obtain the historical setting information corresponding to the setting icons in the icon set;
根据所述历史设置信息在所述状态栏中布局所述设置图标。The setting icons are laid out in the status bar according to the historical setting information.
进一步的,所述历史设置信息包括历史设置次数,所述根据所述历史设置信息在所述状态栏中布局所述设置图标的步骤具体包括:Further, the historical setting information includes the number of historical settings, and the step of arranging the setting icon in the status bar according to the historical setting information specifically includes:
判断所述图标集合中是否存在所述历史设置次数相同的设置图标;Judging whether there are setting icons with the same historical setting times in the icon set;
若否,则根据所述历史设置次数在所述状态栏中布局所述设置图标。If not, the setting icon is laid out in the status bar according to the historical setting times.
进一步的,所述根据所述历史设置次数在所述状态栏中布局所述设置图标的步骤具体包括:Further, the step of arranging the setting icon in the status bar according to the historical setting times specifically includes:
根据所述历史设置次数获取所述设置图标对应的排序信息;Obtain the sorting information corresponding to the setting icon according to the historical setting times;
根据所述排序信息对所述状态栏中的设置图标进行排序。The setting icons in the status bar are sorted according to the sorting information.
进一步的,若判断所述图标集合中存在所述历史设置次数相同的设置图标,则确定所述历史设置次数相同的设置图标为目标设置图标;Further, if it is judged that there are setting icons with the same historical setting times in the icon set, it is determined that the setting icons with the same historical setting times are the target setting icons;
获取所述目标设置图标对应的历史设置时间;obtaining the historical setting time corresponding to the target setting icon;
根据所述历史设置时间以及所述历史设置次数在所述状态栏中布局所述设置图标。The setting icons are arranged in the status bar according to the historical setting time and the historical setting times.
进一步的,所述根据所述历史设置时间以及所述历史设置次数在所述状态栏中布局所述设置图标的步骤具体包括:Further, the described step of laying out the setting icon in the status bar according to the historical setting time and the historical setting number of times specifically includes:
根据所述历史设置时间以及所述历史设置次数确定所述设置图标的权重信息;Determine the weight information of the setting icon according to the historical setting time and the historical setting times;
根据所述权重信息在所述状态栏中布局所述设置图标。The setting icons are laid out in the status bar according to the weight information.
进一步的,所述根据所述历史设置时间以及所述历史设置次数确定所述设置图标的权重信息的步骤具体包括:Further, the step of determining the weight information of the setting icon according to the historical setting time and the historical setting times specifically includes:
根据所述历史设置次数确定所述设置图标的第一权重信息;Determine the first weight information of the setting icon according to the historical setting times;
根据所述历史设置时间确定所述目标设置图标的第二权重信息;Determine the second weight information of the target setting icon according to the historical setting time;
根据所述第一权重信息和所述第二权重信息确定所述设置图标的最终权重信息。The final weight information of the setting icon is determined according to the first weight information and the second weight information.
本发明实施例还提供了一种状态栏的布局装置,包括:指令接收模块、图标确定模块、信息获取模块、布局模块;The embodiment of the present invention also provides a layout device for a status bar, including: an instruction receiving module, an icon determining module, an information acquiring module, and a layout module;
所述指令接收模块,用于接收状态栏打开指令;The instruction receiving module is used to receive the status bar opening instruction;
所述图标确定模块,用于根据所述状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合;The icon determination module is used to determine the setting icon located in the status bar according to the status bar opening instruction to obtain an icon set;
所述信息获取模块,用于获取所述图标集合中设置图标对应的历史设置信息;The information acquisition module is used to acquire the historical setting information corresponding to the setting icons in the icon set;
所述布局模块,用于根据所述历史设置信息在所述状态栏中布局所述设置图标。The layout module is configured to layout the setting icon in the status bar according to the historical setting information.
进一步的,所述历史设置信息包括历史设置次数,所述布局模块具体包括:判断子模块、布局子模块;Further, the historical setting information includes the number of historical settings, and the layout module specifically includes: a judgment submodule and a layout submodule;
所述判断子模块,用于判断所述图标集合中是否存在所述历史设置次数相同的设置图标;The judging submodule is used for judging whether there are setting icons with the same historical setting times in the icon set;
所述布局子模块,用于当所述判断子模块判断为否时,根据所述历史设置次数在所述状态栏中布局所述设置图标。The layout sub-module is configured to, when the judgment sub-module judges no, layout the setting icon in the status bar according to the historical setting times.
进一步的,所述布局子模块,具体用于根据所述历史设置次数获取所述设置图标对应的排序信息,根据所述排序信息对所述状态栏中的设置图标进行排序。Further, the layout sub-module is specifically configured to obtain sorting information corresponding to the setting icons according to the historical setting times, and sort the setting icons in the status bar according to the sorting information.
进一步的,所述布局模块还包括:图标确定子模块、时间获取子模块;Further, the layout module further includes: an icon determination submodule and a time acquisition submodule;
所述图标确定子模块,用于当所述判断子模块判断所述图标集合中存在所述历史设置次数相同的设置图标时,确定所述历史设置次数相同的设置图标为目标设置图标;The icon determination sub-module is configured to determine that the setting icon with the same historical setting times is the target setting icon when the judging sub-module judges that there are setting icons with the same historical setting times in the icon set;
所述时间获取子模块,用于获取所述目标设置图标对应的历史设置时间;The time acquisition submodule is used to acquire the historical setting time corresponding to the target setting icon;
所述布局子模块,还用于根据所述历史设置时间以及所述历史设置次数在所述状态栏中布局所述设置图标。The layout sub-module is further configured to layout the setting icon in the status bar according to the historical setting time and the historical setting times.
本发明实施例还提供了一种移动终端,所述移动终端包括上述状态栏的布局装置。An embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the above-mentioned layout device for a status bar.
本发明实施例首先接收状态栏打开指令,根据状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合,获取上述图标集合中设置图标对应的历史设置信息,根据该历史设置信息在状态栏中布局设置图标;本发明实施例提供的状态栏的布局方法能够在用户打开状态栏时,获取用户针对状态栏中的每个设置图标的历史设置信息并根据该历史设置信息对其进行布局,使用户能够快速找到常用的设置图标,从而进行快速设置,与现有技术相比,有效提高了设置效率。In this embodiment of the present invention, a status bar opening instruction is first received, a setting icon located in the status bar is determined according to the status bar opening instruction to obtain an icon set, and historical setting information corresponding to the setting icon in the above-mentioned icon set is obtained, and the status bar is set according to the historical setting information. Layout setting icons in the bar; the layout method of the status bar provided by the embodiment of the present invention can obtain the user's historical setting information for each setting icon in the status bar when the user opens the status bar, and layout it according to the historical setting information , so that the user can quickly find the commonly used setting icons, so as to perform quick setting, and compared with the prior art, the setting efficiency is effectively improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1为本发明实施例一提供的一种状态栏的布局方法的流程示意图;1 is a schematic flowchart of a method for laying out a status bar according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种状态栏的布局方法的流程示意图;2 is a schematic flowchart of a layout method of a status bar according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种状态栏的布局装置的结构示意图;3 is a schematic structural diagram of a layout device for a status bar according to Embodiment 3 of the present invention;
图4为本发明实施例三提供的第二种状态栏的布局装置的结构示意图;4 is a schematic structural diagram of a second status bar layout device provided in Embodiment 3 of the present invention;
图5为本发明实施例四提供的一种移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to Embodiment 4 of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例提供一种状态栏的布局方法和装置。以下将分别进行详细说明。Embodiments of the present invention provide a layout method and device for a status bar. The detailed descriptions will be given below.
实施例一、Embodiment 1.
本实施例将从状态栏的布局装置的角度进行描述,该状态栏的布局装置具体可以集成在终端中,该终端可以为移动互联网设备(如智能手机、平板电脑)等电子设备。This embodiment will be described from the perspective of a layout device of a status bar. The layout device of the status bar may be specifically integrated in a terminal, and the terminal may be an electronic device such as a mobile Internet device (eg, a smart phone, a tablet computer).
请参阅图1,图1为本发明实施例一提供的一种状态栏的布局方法的流程示意图,本实施例的状态栏的布局方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for laying out a status bar according to Embodiment 1 of the present invention. The method for laying out a status bar in this embodiment includes:
步骤S101,接收状态栏打开指令。Step S101, receiving a status bar opening instruction.
本发明实施例中,接收状态栏打开指令的方法可以包括多种,比如可以通过检测终端屏幕上是否触发预设操作,例如,目前市面上的基于android系统的智能手机,状态栏大部分都是通过下拉菜单或上拉菜单的方式调出,则可以检测终端屏幕触发点状态和触摸轨迹,根据触发点的状态和触摸轨迹,与预设的触摸轨迹进行匹配,若匹配失败,则确定未接收到状态栏打开指令,不执行进一步操作,若匹配成功,则确定接收到状态栏打开指令。In this embodiment of the present invention, there may be various methods for receiving an instruction to open the status bar. For example, it may be detected whether a preset operation is triggered on the terminal screen. Called up through the pull-down menu or pull-up menu, you can detect the terminal screen trigger point state and touch track, and match the preset touch track according to the trigger point state and touch track. If the match fails, it is determined that no reception is received. Go to the status bar open command, no further operations are performed, if the match is successful, it is determined that the status bar open command is received.
可选的,还可以通过语音来接收状态栏打开指令,或是通过按键来接收状态栏打开指令等等,本发明对此不做进一步限定。Optionally, the status bar opening instruction may also be received by voice, or the status bar opening instruction may be received by pressing a key, etc., which is not further limited in the present invention.
步骤S102,根据状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合。Step S102: Determine the setting icon located in the status bar according to the status bar opening instruction to obtain an icon set.
具体的,在确定接收到状态栏打开指令之后,获取状态栏当中的设置图标,该状态栏中的设置图标可以为系统预设的,也可以是用户根据习惯对其进行设置过的,比如手机下拉菜单中的一些常用设置项,可以包括:WLAN(Wireless Local Area Networks,无线局域网络)开关、移动数据开关、屏幕旋转开关、静音模式开关、震动模式开关、飞行模式开关、手电筒开关、位置信息开关、自动亮度开关、蓝牙开关、免打扰模式开关等等,这些设置图标以组成图标集合。Specifically, after it is determined that the command to open the status bar is received, the setting icon in the status bar is obtained. The setting icon in the status bar may be preset by the system or set by the user according to their habits, such as a mobile phone. Some common setting items in the drop-down menu can include: WLAN (Wireless Local Area Networks, wireless local area network) switch, mobile data switch, screen rotation switch, silent mode switch, vibration mode switch, airplane mode switch, flashlight switch, location information On/off, auto-brightness switch, bluetooth switch, do not disturb mode switch, etc., these settings icons to form a collection of icons.
步骤S103,获取图标集合中设置图标对应的历史设置信息。Step S103: Obtain historical setting information corresponding to the setting icons in the icon set.
在本发明实施例当中,在用户使用终端的过程当中,终端可以记录状态栏中每个设置图标对应的历史设置信息,比如设置图标的历史设置次数、历史设置时间等等,当得到状态栏当中的图标集合时,可以从终端的数据库中获取状态栏里的每个设置图标对应的历史设置信息。In the embodiment of the present invention, during the process of using the terminal by the user, the terminal can record the historical setting information corresponding to each setting icon in the status bar, such as the historical setting times and historical setting time of the setting icon, etc. When the status bar is obtained When the icon set is selected, the historical setting information corresponding to each setting icon in the status bar can be obtained from the database of the terminal.
在其他实施例当中,若终端是第一次被用户使用,比如新买的智能手机或者还原出厂设置后的智能手机,此时终端中不存在状态栏中每个设置图标的历史设置信息,可以根据预设的默认布局界面对状态栏中的设置图标进行布局,当用户针对设置图标进行过第一次设置之后,其操作则会被记录到数据库中以便下次打开状态栏进行布局时查询使用。In other embodiments, if the terminal is used by the user for the first time, such as a newly bought smartphone or a smartphone after factory settings, there is no historical setting information for each setting icon in the status bar in the terminal, and the terminal may The setting icons in the status bar are laid out according to the preset default layout interface. After the user sets the setting icons for the first time, their operations will be recorded in the database for query use when opening the status bar for layout next time. .
步骤S104,根据历史设置信息在状态栏中布局上述设置图标。Step S104, the above setting icons are laid out in the status bar according to the historical setting information.
具体的,上述历史设置信息包括历史设置次数信息,根据上述设置图标的设置次数信息对设置图标进行布局,比如根据设置图标的次数信息进行排序,然后根据排序结果将设置图标排布在状态栏中;Specifically, the above-mentioned historical setting information includes historical setting times information, the setting icons are laid out according to the setting times information of the above-mentioned setting icons, for example, the setting icons are sorted according to the times information of the setting icons, and then the setting icons are arranged in the status bar according to the sorting result. ;
例如,上述状态栏中存在9个设置图标,分别为a、b、c、d、e、f、g、h、i,以3X3的方式排布在状态栏当中,也即由三排设置图标组成、每一排存在三个设置图标,上述9个设置图标分别对应的历史设置次数分别为1、2、3、4、5、6、7、8、9次,可以将历史设置次数按照由多到少的顺序分别排布于状态栏的第一、第二和第三排,也即第一排放置设置图标i、h、g,第二排放置设置图标f、e、d,第三排放置设置图标c、b、a。For example, there are 9 setting icons in the above status bar, namely a, b, c, d, e, f, g, h, i, and they are arranged in the status bar in a 3X3 manner, that is, three rows of setting icons There are three setting icons in each row. The number of historical settings corresponding to the above 9 setting icons are 1, 2, 3, 4, 5, 6, 7, 8, and 9 respectively. The number of historical settings can be set by They are arranged in the first, second and third rows of the status bar in the order of more to less, that is, the setting icons i, h, g are placed in the first row, the setting icons f, e, and d are placed in the second row, and Row placement settings icons c, b, a.
其中,根据历史设置次数在状态栏中布局所述设置图标的方法可以有多种,比如在对每个设置图标对应的历史设置次数进行对比后得到对比结果,从而生成每个设置图标的排序信息,然后根据该排序信息在状态栏当中对上述的设置图标进行排序,以完成整个状态栏的布局,也即上述根据历史设置次数在状态栏中布局设置图标的步骤可以具体包括:There are various methods for arranging the setting icons in the status bar according to the number of historical settings. For example, a comparison result is obtained after comparing the number of historical settings corresponding to each setting icon, thereby generating the sorting information of each setting icon. , and then sort the above-mentioned setting icons in the status bar according to the sorting information to complete the layout of the entire status bar, that is, the above-mentioned steps of setting icons in the status bar according to the number of historical settings may specifically include:
根据历史设置次数获取设置图标对应的排序信息;Obtain the sorting information corresponding to the setting icons according to the number of historical settings;
根据该排序信息对状态栏中的设置图标进行排序。The setting icons in the status bar are sorted according to the sorting information.
进一步的,在对每个设置图标对应的历史设置次数进行对比后得到对比结果后,可以根据该对比结果生成每个设置图标的权重信息,然后根据该权重信息生成每个设置图标对应的排序信息,从而完成排序。Further, after a comparison result is obtained after comparing the historical setting times corresponding to each setting icon, the weight information of each setting icon can be generated according to the comparison result, and then the sorting information corresponding to each setting icon can be generated according to the weight information. , to complete the sorting.
可选的,还可以在对每个设置图标对应的历史设置次数进行对比后得到对比结果后,生成每个设置图标的尺寸信息,然后根据该尺寸信息在状态栏中布局设置图标,比如,可以将历史设置次数多的设置图标设置为较大尺寸,将历史设置次数少的设置图标设置为较小的尺寸。Optionally, after comparing the historical setting times corresponding to each setting icon and obtaining the comparison result, the size information of each setting icon can be generated, and then setting icons can be laid out in the status bar according to the size information. For example, you can Set the icon of settings with a large number of historical settings to a larger size, and set the icon of settings with a small number of historical settings to a smaller size.
考虑到上述状态栏中的设置图标可能存在对应的历史设置次数相同的情况,故而在根据历史设置次数对设置图标进行布局之前,需要判断图标集合中是否存在历史设置次数相同的设置图标,若否,则按照上述历史设置次数对设置图标进行布局,也即上述根据所述历史设置信息在状态栏中布局设置图标的步骤具体包括:Considering that the settings icons in the above status bar may have the same number of historical settings, before laying out the settings icons according to the number of historical settings, it is necessary to determine whether there are settings icons with the same number of historical settings in the icon set. , the setting icons are laid out according to the above-mentioned historical setting times, that is, the above-mentioned steps of laying out the setting icons in the status bar according to the historical setting information specifically include:
判断图标集合中是否存在历史设置次数相同的设置图标;Determine whether there are setting icons with the same number of historical settings in the icon set;
若否,则根据历史设置次数在状态栏中布局设置图标。If not, set icons in the status bar according to the number of historical settings.
而当判断图标集合中存在历史设置次数相同的设置图标时,则可以先确定上述历史设置次数相同的设置图标为目标设置图标,然后获取该目标设置图标对应的历史设置时间,然后根据该历史设置时间以及上述的历史设置次数在状态栏中布局设置图标。When it is judged that there are setting icons with the same number of historical settings in the icon set, the setting icon with the same number of historical settings can be determined as the target setting icon, and then the historical setting time corresponding to the target setting icon is obtained, and then according to the historical setting The time and the above-mentioned historical setting times are laid out with setting icons in the status bar.
具体的,上述根据历史设置时间以及历史设置次数在状态栏中布局设置图标的方法可以有多种,比如可以根据历史设置时间以及历史设置次数确定设置图标的权重信息,然后根据该权重信息在状态栏中布局设置图标。Specifically, there can be various methods for setting icons in the status bar according to the historical setting time and the historical setting times. For example, the weight information of the setting icon can be determined according to the historical setting time and the historical setting times, and then the weight information can be used in the status bar according to the weight information. Layout settings icon in the bar.
进一步的,上述根据历史设置时间以及历史设置次数确定设置图标的权重信息的步骤可以具体包括:根据历史设置次数确定设置图标的第一权重信息,根据历史设置时间确定目标设置图标的第二权重信息,根据第一权重信息和第二权重信息确定设置图标的最终权重信息。Further, the above step of determining the weight information of the setting icon according to the historical setting time and the historical setting times may specifically include: determining the first weight information of the setting icon according to the historical setting times, and determining the second weight information of the target setting icon according to the historical setting time. , and the final weight information of the setting icon is determined according to the first weight information and the second weight information.
在对状态栏中的设置图标完成布局后,展示该状态栏当中的设置图标,优选的,可以只显示一部分设置图标,因为状态栏当中有许多的设置图标,而用户使用的往往只有最为常用的几个,比如,只显示4个设置图标,若这4个图标当中没有用户需要设置的图标,则可以进一步展开剩余的全部设置菜单,也即展示该状态栏当中的设置图标的步骤可以具体包括:在所述状态栏当中展示预设个数的设置图标,同时隐藏剩余的设置图标,接收用户指令,并根据该用户指令展开全部设置图标。After completing the layout of the setting icons in the status bar, display the setting icons in the status bar. Preferably, only a part of the setting icons can be displayed, because there are many setting icons in the status bar, and users often use only the most commonly used ones. For example, only 4 setting icons are displayed. If there is no icon that the user needs to set among these 4 icons, all the remaining setting menus can be further expanded, that is, the steps of displaying the setting icons in the status bar can include: : Display a preset number of setting icons in the status bar, hide the remaining setting icons at the same time, receive user instructions, and expand all setting icons according to the user instructions.
由上可知,本发明实施例提供的状态栏的布局方法首先接收状态栏打开指令,根据状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合,获取上述图标集合中设置图标对应的历史设置信息,根据该历史设置信息在状态栏中布局设置图标;本发明实施例提供的状态栏的布局方法能够在用户打开状态栏时,获取用户针对状态栏中的每个设置图标的历史设置信息并根据该历史设置信息对其进行布局,使用户能够快速找到常用的设置图标,从而进行快速设置,与现有技术相比,有效提高了设置效率,提升用户体验,另外,本发明实施例的状态栏的布局方法还具有实施简单、成本低等优点。It can be seen from the above that the layout method of the status bar provided by the embodiment of the present invention first receives the status bar opening instruction, determines the setting icon located in the status bar according to the status bar opening instruction, so as to obtain the icon set, and obtains the corresponding setting icon in the above icon set. Historical setting information, according to the historical setting information, layout setting icons in the status bar; the layout method of the status bar provided by the embodiment of the present invention can obtain the user's historical setting for each setting icon in the status bar when the user opens the status bar information and layout it according to the historical setting information, so that the user can quickly find the commonly used setting icons, so as to perform quick setting, compared with the prior art, the setting efficiency is effectively improved, and the user experience is improved. In addition, the embodiment of the present invention The layout method of the status bar also has the advantages of simple implementation and low cost.
实施例二、Embodiment two,
根据实施例一所描述的方法,下面以智能手机为例对状态栏的布局方法做进一步详细说明。According to the method described in the first embodiment, a smart phone is taken as an example to further describe the layout method of the status bar in detail below.
请参阅图2,图2为本发明实施例二提供的一种状态栏的布局方法的流程示意图,具体流程可以包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a method for laying out a status bar according to Embodiment 2 of the present invention. The specific process may include:
步骤S201,智能手机接收状态栏打开指令。Step S201, the smart phone receives an instruction to open the status bar.
比如,手机检测到屏幕上是否触发下拉操作,具体的,可以检测手机屏幕触发点状态和触摸轨迹,根据触发点的状态和触摸轨迹,与预设的下拉轨迹进行匹配,若匹配失败,则确定手机未接收到状态栏打开指令,不执行进一步操作,若匹配成功,则确定手机接收到状态栏打开指令。For example, the mobile phone detects whether the pull-down operation is triggered on the screen. Specifically, it can detect the state of the trigger point and the touch track of the mobile phone screen, and match the preset pull-down track according to the state of the trigger point and the touch track. If the match fails, determine If the mobile phone does not receive the status bar opening command, no further operation is performed. If the match is successful, it is determined that the mobile phone has received the status bar opening command.
步骤S202,智能手机根据状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合。Step S202, the smartphone determines the setting icon located in the status bar according to the status bar opening instruction to obtain the icon set.
比如,在手机确定接收到状态栏打开指令之后,获取状态栏当中的设置图标,该状态栏中的设置图标可以为系统预设的,也可以是用户根据习惯对其进行设置过的,可以包括诸如WLAN开关、蓝牙开关、移动数据开关、屏幕旋转开关等等设置项。For example, after the mobile phone determines to receive the command to open the status bar, it obtains the setting icon in the status bar. The setting icon in the status bar can be preset by the system, or it can be set by the user according to the habit, which can include Settings such as WLAN switch, Bluetooth switch, mobile data switch, screen rotation switch, etc.
步骤S203,智能手机获取图标集合中设置图标对应的历史设置信息。Step S203, the smartphone acquires historical setting information corresponding to the setting icons in the icon set.
在本发明实施例当中,在用户使用终端的过程当中,终端可以记录状态栏中每个设置图标对应的历史设置信息,比如设置图标的历史设置次数、历史设置时间等等,当得到状态栏当中的图标集合时,可以从终端的数据库中获取状态栏里的每个设置图标对应的历史设置信息。In the embodiment of the present invention, during the process of using the terminal by the user, the terminal can record the historical setting information corresponding to each setting icon in the status bar, such as the historical setting times and historical setting time of the setting icon, etc. When the status bar is obtained When the icon set is selected, the historical setting information corresponding to each setting icon in the status bar can be obtained from the database of the terminal.
具体的,以android系统的智能手机为例,smartIcon服务在后台运行,其中维护了一套列表,包含了所有状态栏中的设置选项,当用户点击了某个设置选项,如打开手电筒时,当前时间是21:00,则smartIcon服务就会将在数据库中针对手电筒这个设置选项的这条记录的次数count增加1,使用时间点集合moments中增加当前点击时间点21:00。Specifically, taking an android smartphone as an example, the smartIcon service runs in the background and maintains a set of lists, including all setting options in the status bar. When the user clicks a setting option, such as turning on the flashlight, the current When the time is 21:00, the smartIcon service will increase the count of times of this record for the flashlight setting option in the database by 1, and add the current click time point 21:00 to the use time point set moments.
步骤S204,智能手机判断图标集合当中是否存在历史设置次数相同的设置图标,若否,则执行步骤S205,若是,则执行步骤S206。In step S204, the smartphone determines whether there are setting icons with the same number of historical settings in the icon set, if not, execute step S205, if yes, execute step S206.
具体的,手机中的smartIcon服务可以首先查询数据库中的设置图标对应的历史设置朝次数,并判断是否存在历史设置次数相同的设置图标,比如,查询到数据库中的“移动数据开关”图标和“蓝牙开关”图标的历史设置次数均为4次,则判定数据库中存在历史设置次数相同的设置图标,并转向步骤S206,若查询到哥哥设置图标的历史设置次数均不相同,则判定数据库中不存在历史设置次数相同的设置图标,转向步骤S205。Specifically, the smartIcon service in the mobile phone can first query the historical setting times corresponding to the setting icons in the database, and determine whether there are setting icons with the same historical setting times. The historical setting times of the "Bluetooth switch" icon are all 4 times, then it is determined that there are setting icons with the same historical setting times in the database, and the process goes to step S206. If there are setting icons with the same number of historical setting times, go to step S205.
步骤S205,智能手机根据历史设置次数在状态栏中布局设置图标。Step S205, the smart phone lays out setting icons in the status bar according to the historical setting times.
具体的,若手机判断图标集合当中不存在历史设置次数相同的设置图标,则可以在对每个设置图标对应的历史设置次数进行对比后得到对比结果后,可以根据该对比结果生成每个设置图标的权重信息,然后根据该权重信息生成每个设置图标对应的排序信息,从而完成排序,可以将历史设置次数较多的设置图标的权重值设置较高,历史设置次数较少的设置图标的权重值设置较低,比如,状态栏中存在9个设置图标,分别为a、b、c、d、e、f、g、h、i,以3X3的方式排布在状态栏当中,也即由三排设置图标组成、每一排存在三个设置图标,上述9个设置图标分别对应的历史设置次数分别为1、2、3、4、5、6、7、8、9次,可以将历史设置次数按照由多到少的顺序分别排布于状态栏的第一、第二和第三排,也即第一排放置设置图标i、h、g,第二排放置设置图标f、e、d,第三排放置设置图标c、b、a。Specifically, if the mobile phone determines that there are no setting icons with the same number of historical settings in the icon set, after comparing the number of historical settings corresponding to each setting icon to obtain a comparison result, each setting icon can be generated according to the comparison result. The weight information of each setting icon is generated according to the weight information, so as to complete the sorting, the weight value of the setting icon with more historical setting times can be set higher, and the weight of setting icon with less historical setting times can be set. The value setting is low. For example, there are 9 setting icons in the status bar, namely a, b, c, d, e, f, g, h, i, which are arranged in the status bar in a 3X3 manner, that is, by It consists of three rows of setting icons, and there are three setting icons in each row. The historical setting times corresponding to the above 9 setting icons are 1, 2, 3, 4, 5, 6, 7, 8, and 9 respectively. The number of settings is arranged in the first, second and third rows of the status bar in the order from most to least, that is, the setting icons i, h, g are placed in the first row, and the setting icons f, e, etc. are placed in the second row. d, the setting icons c, b, a are placed in the third row.
步骤S206,智能手机获取历史设置次数相同的设置图标对应的历史设置时间。Step S206, the smart phone acquires the historical setting time corresponding to the setting icons with the same historical setting times.
具体的,若手机判断图标集合当中存在历史设置次数相同的设置图标,可以确定上述历史设置次数相同的设置图标为目标设置图标,然后获取该目标设置图标对应的历史设置时间,比如手机中的smartIcon服务可以查询数据库中的设置图标对应的历史设置朝时间。Specifically, if the mobile phone determines that there are setting icons with the same number of historical settings in the icon set, it can determine the setting icon with the same number of historical settings as the target setting icon, and then obtain the historical setting time corresponding to the target setting icon, such as the smartIcon in the mobile phone The service can query the historical setting time corresponding to the setting icon in the database.
比如,若手机查询到数据库中的“移动数据开关”图标和“蓝牙开关”图标的历史设置次数均为4次,则判定数据库中存在历史设置次数相同的设置图标,且将“移动数据开关”图标和“蓝牙开关”图标确定为目标设置图标,然后进一步查询“移动数据开关”图标所对应的4次历史设置时间,譬如21:00、21:05、21:20、21:30以及“蓝牙开关”图标对应的4次历史设置时间,譬如21:00、21:20、21:20、21:50。For example, if the mobile phone finds that the historical setting times of the "mobile data switch" icon and the "Bluetooth switch" icon in the database are both 4 times, it is determined that there are setting icons with the same historical setting times in the database, and the "mobile data switch" The icon and the "Bluetooth Switch" icon are determined as the target setting icon, and then further query the 4 historical setting times corresponding to the "Mobile Data Switch" icon, such as 21:00, 21:05, 21:20, 21:30 and the "Bluetooth Switch" icon. "Switch" icon corresponds to the 4 historical setting times, such as 21:00, 21:20, 21:20, 21:50.
步骤S207,智能手机根据上述历史设置时间以及历史设置次数在状态栏中布局设置图标。Step S207, the smart phone lays out setting icons in the status bar according to the above-mentioned historical setting time and historical setting times.
具体的,上述根据历史设置时间以及历史设置次数在状态栏中布局设置图标的方法可以有多种,比如可以根据历史设置时间以及历史设置次数确定设置图标的权重信息,然后根据该权重信息在状态栏中布局设置图标。Specifically, there can be various methods for setting icons in the status bar according to the historical setting time and the historical setting times. For example, the weight information of the setting icon can be determined according to the historical setting time and the historical setting times, and then the weight information can be used in the status bar according to the weight information. Layout settings icon in the bar.
进一步的,上述根据历史设置时间以及历史设置次数确定设置图标的权重信息的步骤可以具体包括:根据历史设置次数确定设置图标的第一权重信息,根据历史设置时间确定目标设置图标的第二权重信息,根据第一权重信息和第二权重信息确定设置图标的最终权重信息。Further, the above step of determining the weight information of the setting icon according to the historical setting time and the historical setting times may specifically include: determining the first weight information of the setting icon according to the historical setting times, and determining the second weight information of the target setting icon according to the historical setting time. , and the final weight information of the setting icon is determined according to the first weight information and the second weight information.
比如,状态栏中存在9个设置图标,先按照每个设置图标对应的历史设置次数确定其第一权重值,其中,若存在两个历史设置次数相同的设置图标,比如“移动数据开关”图标和“蓝牙开关”图标,其第一权重值则为相同,此时需根据历史设置时间计算“移动数据开关”图标和“蓝牙开关”图标对应的第二权重值,在本实施例当中,可以利用方差公式计算其第二权重值,其中:For example, if there are 9 setting icons in the status bar, first determine the first weight value according to the number of historical settings corresponding to each setting icon. Among them, if there are two setting icons with the same number of historical settings, such as the "mobile data switch" icon The first weight value is the same as the "Bluetooth switch" icon. At this time, the second weight value corresponding to the "Mobile data switch" icon and the "Bluetooth switch" icon needs to be calculated according to the historical setting time. In this embodiment, you can Calculate its second weight value using the variance formula, where:
平均数:M=(X1+X2+X3+……Xn)/nAverage: M=(X 1 +X 2 +X 3 +...X n )/n
方差公式:S2={(X1-M)2+(X2-M)2+(X3-M)2+……+(Xn-M)2}/nVariance formula: S 2 ={(X 1 -M) 2 +(X 2 -M) 2 +(X 3 -M) 2 +...+(X n -M) 2 }/n
例如“移动数据开关”图标所对应的4次历史设置时间为21:00、21:05、21:20、21:30以及“蓝牙开关”图标对应的4次历史设置时间为21:00、21:20、21:20、21:50,而当前时间恰好为21:00,计算公式如下:For example, the four historical setting times corresponding to the "Mobile Data Switch" icon are 21:00, 21:05, 21:20, 21:30, and the four historical setting times corresponding to the "Bluetooth Switch" icon are 21:00, 21 : 20, 21:20, 21:50, and the current time is exactly 21:00, the calculation formula is as follows:
移动数据开关差值:s^2={(-10)^2+(-5)^2+(10)^2+(20)^2}/4=156.25Mobile data switch difference: s^2={(-10)^2+(-5)^2+(10)^2+(20)^2}/4=156.25
蓝牙开关差值:s^2={(-10)^2+(10)^2+(30)^2+(40)^2}/4=675Bluetooth switch difference: s^2={(-10)^2+(10)^2+(30)^2+(40)^2}/4=675
由计算得出移动数据开关的与当前时间点的差值比较小,故而可以将“移动数据开关”图标对应的权重值比“蓝牙开关”图标对应权重值高,故而最终在状态栏中布局设置图标时,可以使“移动数据开关”图标的位置比“蓝牙开关”图标的位置更为靠前。It is calculated that the difference between the mobile data switch and the current time point is relatively small, so the weight value corresponding to the "mobile data switch" icon can be higher than the corresponding weight value of the "Bluetooth switch" icon, so the final layout setting in the status bar icon, you can position the "Mobile Data Switch" icon more forward than the "Bluetooth Switch" icon.
由上可知,本发明实施例提供的状态栏的布局方法首先智能手机接收状态栏打开指令,根据状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合,获取上述图标集合中设置图标对应的历史设置信息,判断图标集合当中是否存在历史设置次数相同的设置图标,若否,则根据历史设置次数在状态栏中布局设置图标,若是,则获取历史设置次数相同的设置图标对应的历史设置时间,并根据上述历史设置时间以及上述的历史设置次数在状态栏中布局设置图标;本发明实施例提供的状态栏的布局方法能够在用户打开状态栏时,获取用户针对状态栏中的每个设置图标的历史设置信息并根据该历史设置信息对其进行布局,使用户能够快速找到常用的设置图标,从而进行快速设置,与现有技术相比,有效提高了设置效率,提升用户体验,另外,本发明实施例的状态栏的布局方法还具有实施简单、成本低等优点。As can be seen from the above, the layout method of the status bar provided by the embodiment of the present invention firstly receives the status bar opening instruction on the smartphone, determines the setting icon located in the status bar according to the status bar opening instruction, so as to obtain the icon set, and obtains the setting icon in the above-mentioned icon set. Corresponding historical setting information, determine whether there is a setting icon with the same number of historical settings in the icon set. If not, set icons in the status bar according to the number of historical settings. If so, obtain the history corresponding to the setting icon with the same number of historical settings. Set the time, and set the icons in the status bar according to the above-mentioned historical setting time and the above-mentioned historical setting times; the layout method of the status bar provided by the embodiment of the present invention can obtain the user's response to each item in the status bar when the user opens the status bar. The historical setting information of each setting icon is laid out according to the historical setting information, so that the user can quickly find the commonly used setting icons and perform quick setting. Compared with the existing technology, the setting efficiency is effectively improved and the user experience is improved. In addition, the layout method of the status bar according to the embodiment of the present invention also has the advantages of simple implementation and low cost.
实施例三、Embodiment three,
为了更好的实施本发明实施例提供的状态栏的布局方法,本发明还提供一种基于上述状态栏的布局方法的装置,该状态栏的布局装置具体可以集成在终端中,该终端可以为移动互联网设备(如智能手机、平板电脑)等电子设备,其中名词的含义与上述终端的提醒方法中相同,具体实现细节可以参考方法实施例中的说明。In order to better implement the layout method of the status bar provided by the embodiment of the present invention, the present invention further provides a device based on the above-mentioned layout method of the status bar. The layout device of the status bar may be integrated in a terminal, and the terminal may be For electronic devices such as mobile Internet devices (such as smart phones and tablet computers), the meanings of the nouns are the same as those in the above-mentioned reminding method of the terminal, and the specific implementation details can refer to the description in the method embodiment.
请参阅图3,图3为本发明实施例三提供的一种状态栏的布局装置的结构示意图,该装置可以包括:指令接收模块301、图标确定模块302、信息获取模块303、布局模块304;Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a layout device for a status bar according to Embodiment 3 of the present invention. The device may include: an instruction receiving module 301, an icon determination module 302, an information acquisition module 303, and a layout module 304;
该指令接收模块301,用于接收状态栏打开指令;The instruction receiving module 301 is used for receiving a status bar opening instruction;
本发明实施例中,该指令接收模块301接收状态栏打开指令的方法可以包括多种,比如可以通过检测终端屏幕上是否触发预设操作,或者还可以通过语音来接收状态栏打开指令,或是通过按键来接收状态栏打开指令等等,本发明对此不做进一步限定。In this embodiment of the present invention, the command receiving module 301 may receive a status bar opening command in a variety of ways. For example, it may detect whether a preset operation is triggered on the terminal screen, or may also receive a status bar opening command by voice, or The status bar opening instruction is received by pressing a key, etc., which is not further limited in the present invention.
该图标确定模块302,用于根据状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合;The icon determining module 302 is configured to determine the setting icon located in the status bar according to the status bar opening instruction to obtain the icon set;
具体的,在确定接收到状态栏打开指令之后,该图标确定模块302获取状态栏当中的设置图标,该状态栏中的设置图标可以为系统预设的,也可以是用户根据习惯对其进行设置过的。Specifically, after it is determined that the status bar opening instruction is received, the icon determination module 302 obtains the setting icon in the status bar, and the setting icon in the status bar may be preset by the system, or may be set by the user according to habit passed.
该信息获取模块303,用于获取图标集合中设置图标对应的历史设置信息;The information acquisition module 303 is used to acquire historical setting information corresponding to the setting icons in the icon set;
具体的,在用户使用终端的过程当中,终端可以记录状态栏中每个设置图标对应的历史设置信息,比如设置图标的历史设置次数、历史设置时间等等,当得到状态栏当中的图标集合时,该信息获取模块303可以从终端的数据库中获取状态栏里的每个设置图标对应的历史设置信息。Specifically, during the user's use of the terminal, the terminal can record the historical setting information corresponding to each setting icon in the status bar, such as the historical setting times of the setting icon, the historical setting time, etc., when the icon set in the status bar is obtained. , the information obtaining module 303 can obtain the historical setting information corresponding to each setting icon in the status bar from the database of the terminal.
该布局模块304,用于根据历史设置信息在状态栏中布局设置图标。The layout module 304 is used for arranging setting icons in the status bar according to the historical setting information.
优选地,上述历史设置信息可以包括历史设置次数,如图4所示,本发明实施例中的布局模块304可以具体包括:判断子模块3041、布局子模块3042;Preferably, the above-mentioned historical setting information may include historical setting times. As shown in FIG. 4 , the layout module 304 in the embodiment of the present invention may specifically include: a judgment sub-module 3041 and a layout sub-module 3042;
该判断子模块3041,用于判断图标集合中是否存在历史设置次数相同的设置图标;The judging submodule 3041 is used to judge whether there are setting icons with the same historical setting times in the icon set;
该布局子模块3042,用于当判断子模块3041判断为否时,根据历史设置次数在状态栏中布局设置图标。The layout sub-module 3042 is used for, when the determination sub-module 3041 determines that it is no, to lay out setting icons in the status bar according to the historical setting times.
具体的,上述布局子模块3042,具体用于根据历史设置次数获取设置图标对应的排序信息,根据排序信息对状态栏中的设置图标进行排序。Specifically, the above-mentioned layout sub-module 3042 is specifically configured to obtain the sorting information corresponding to the setting icons according to the historical setting times, and sort the setting icons in the status bar according to the sorting information.
进一步的,上述布局模块304还可以包括:图标确定子模块3043、时间获取子模块3044;Further, the above-mentioned layout module 304 may further include: an icon determination sub-module 3043 and a time acquisition sub-module 3044;
该图标确定子模块3043,用于当判断子模块3041判断图标集合中存在历史设置次数相同的设置图标时,确定历史设置次数相同的设置图标为目标设置图标;The icon determination sub-module 3043 is used to determine that the setting icon with the same historical setting times is the target setting icon when the judging sub-module 3041 judges that there are setting icons with the same historical setting times in the icon set;
该时间获取子模块3044,用于获取目标设置图标对应的历史设置时间;The time acquisition sub-module 3044 is used to acquire the historical setting time corresponding to the target setting icon;
该布局子模块3042,还用于根据历史设置时间以及历史设置次数在状态栏中布局所述设置图标。The layout sub-module 3042 is further configured to layout the setting icons in the status bar according to the historical setting time and the historical setting times.
由上可知,本发明实施例提供的状态栏的布局方法首先由指令接收模块301接收状态栏打开指令,图标确定模块302根据状态栏打开指令确定位于状态栏中的设置图标,以得到图标集合,信息获取模块303获取上述图标集合中设置图标对应的历史设置信息,最后由布局模块304根据该历史设置信息在状态栏中布局设置图标;本发明实施例提供的状态栏的布局方法能够在用户打开状态栏时,获取用户针对状态栏中的每个设置图标的历史设置信息并根据该历史设置信息对其进行布局,使用户能够快速找到常用的设置图标,从而进行快速设置,与现有技术相比,有效提高了设置效率,提升用户体验,另外,本发明实施例的状态栏的布局方法还具有实施简单、成本低等优点。As can be seen from the above, in the layout method of the status bar provided by the embodiment of the present invention, the command receiving module 301 first receives the status bar opening command, and the icon determining module 302 determines the setting icon located in the status bar according to the status bar opening command to obtain the icon set, The information acquisition module 303 acquires the historical setting information corresponding to the setting icons in the above-mentioned icon set, and finally the layout module 304 arranges and sets the icons in the status bar according to the historical setting information; the layout method of the status bar provided by the embodiment of the present invention can be opened by the user. In the status bar, the user's historical setting information for each setting icon in the status bar is obtained, and the layout is arranged according to the historical setting information, so that the user can quickly find the commonly used setting icons, so as to perform quick settings, which is consistent with the prior art. Compared with this, the setting efficiency is effectively improved, and the user experience is improved. In addition, the layout method of the status bar according to the embodiment of the present invention also has the advantages of simple implementation and low cost.
实施例四、Embodiment four,
为了更好理解本发明,本发明实施例提供了一种移动终端。For better understanding of the present invention, an embodiment of the present invention provides a mobile terminal.
请参阅图5,图5为本发明实施例四提供的一种移动终端的结构示意图,具体的,移动终端400可以包括布局装置410以及显示装置420,其中布局装置410与显示装置420相连接。Please refer to FIG. 5 , which is a schematic structural diagram of a mobile terminal according to Embodiment 4 of the present invention. Specifically, the mobile terminal 400 may include a layout device 410 and a display device 420 , wherein the layout device 410 is connected to the display device 420 .
布局装置410可以为上述实施例三中的任一项状态栏的布局装置。其中该布局装置410可以具体包括:指令接收模块301、图标确定模块302、信息获取模块303以及布局模块304。在对状态栏布局完成后,由显示装置420将布局后的状态栏显示至终端的屏幕,上述指令接收模块301、图标确定模块302、信息获取模块303以及布局模块304的功能在第三实施例中已详细说明,此处不再赘述。The layout device 410 may be any one of the layout devices for the status bar in the third embodiment. The layout device 410 may specifically include: an instruction receiving module 301 , an icon determination module 302 , an information acquisition module 303 and a layout module 304 . After the layout of the status bar is completed, the display device 420 displays the laid-out status bar on the screen of the terminal. The functions of the above-mentioned instruction receiving module 301, icon determination module 302, information acquisition module 303 and layout module 304 are in the third embodiment It has been described in detail in , and will not be repeated here.
本发明实施例所提供的移动终端,包括本发明实施例所提供的状态栏的布局装置,具备相同的功能和有益效果。The mobile terminal provided by the embodiment of the present invention includes the layout device of the status bar provided by the embodiment of the present invention, and has the same functions and beneficial effects.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above modules can refer to the previous method embodiments, which will not be repeated here.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read OnlyMemory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor in the terminal, and the execution process may include the flow of the embodiment of the information publishing method. The storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
以上对本发明实施例提供的一种状态栏的布局方法和装置进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for laying out a status bar provided by the embodiments of the present invention are described above in detail. Each functional module may be integrated in a processing chip, or each module may exist physically alone, or two or more Modules are integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. The principles and implementations of the present invention are described herein using specific examples, and the descriptions of the above embodiments are only used to help understand the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the Thoughts, there will be changes in specific embodiments and application scopes. To sum up, the contents of this specification should not be construed as limiting the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610559566.7A CN106201228B (en) | 2016-07-13 | 2016-07-13 | A kind of layout method and device of status bar |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610559566.7A CN106201228B (en) | 2016-07-13 | 2016-07-13 | A kind of layout method and device of status bar |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106201228A CN106201228A (en) | 2016-12-07 |
| CN106201228B true CN106201228B (en) | 2019-11-26 |
Family
ID=57474649
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610559566.7A Expired - Fee Related CN106201228B (en) | 2016-07-13 | 2016-07-13 | A kind of layout method and device of status bar |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106201228B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109240556A (en) * | 2017-07-10 | 2019-01-18 | 珠海格力电器股份有限公司 | Method and device for customizing terminal status bar and electronic equipment |
| CN108616647A (en) * | 2018-03-14 | 2018-10-02 | 中国地质大学(武汉) | Mobile phone interface app method for sorting based on user's use habit matching operation region |
| CN108595074A (en) * | 2018-04-28 | 2018-09-28 | 北京小米移动软件有限公司 | Status bar operating method, device and computer readable storage medium |
| CN109218522A (en) * | 2018-08-24 | 2019-01-15 | 北京金山安全软件有限公司 | Function area processing method and device in application, electronic equipment and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103106005A (en) * | 2013-02-17 | 2013-05-15 | 广东欧珀移动通信有限公司 | Method and device for arranging status bar icons of mobile devices |
| CN103257781A (en) * | 2012-02-16 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Setting method and setting system of equipment status |
| CN103336654A (en) * | 2013-03-27 | 2013-10-02 | 广东欧珀移动通信有限公司 | Icon adjusting method and device |
| CN105116971A (en) * | 2009-05-21 | 2015-12-02 | 索尼电脑娱乐公司 | Customization based on using historical GUI layout |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104572127B (en) * | 2015-01-28 | 2019-03-01 | 努比亚技术有限公司 | The method and terminal of terminal interface layout |
-
2016
- 2016-07-13 CN CN201610559566.7A patent/CN106201228B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105116971A (en) * | 2009-05-21 | 2015-12-02 | 索尼电脑娱乐公司 | Customization based on using historical GUI layout |
| CN103257781A (en) * | 2012-02-16 | 2013-08-21 | 腾讯科技(深圳)有限公司 | Setting method and setting system of equipment status |
| CN103106005A (en) * | 2013-02-17 | 2013-05-15 | 广东欧珀移动通信有限公司 | Method and device for arranging status bar icons of mobile devices |
| CN103336654A (en) * | 2013-03-27 | 2013-10-02 | 广东欧珀移动通信有限公司 | Icon adjusting method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106201228A (en) | 2016-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11561680B2 (en) | Method and apparatus for adding icon to interface of android system, and mobile terminal | |
| US11669219B2 (en) | Launching application task based on single user input and preset condition | |
| CN106372110B (en) | Application program recommendation method and mobile terminal | |
| JP5925775B2 (en) | Device, method and graphical user interface for reordering the front and back positions of objects | |
| CN103177073B (en) | Classification search method and the mobile device for being suitable for the classification search method | |
| EP2821909A1 (en) | Electronic device and method for displaying status notification information | |
| CN105912188A (en) | Page display method and portable electronic device | |
| CN106844067A (en) | The processing method and mobile terminal of a kind of content | |
| CN104063381A (en) | Multilevel tree menu display method and terminal | |
| WO2015106510A1 (en) | Screen splitting method and device for applications, intelligent terminal and storage medium | |
| CN106126049A (en) | Menu operation method and system | |
| CN106293332A (en) | The processing method of a kind of singlehanded location application and mobile terminal | |
| CN105183279A (en) | A search method and terminal | |
| CN108595100A (en) | Split-screen display method, device, storage medium and electronic equipment | |
| CN106201228B (en) | A kind of layout method and device of status bar | |
| CN108304107A (en) | A kind of display application drawing calibration method, terminal and computer readable storage medium | |
| CN106527937B (en) | Method for adding mobile terminal widget and mobile terminal | |
| CN105700767B (en) | The stacked display system of file and method | |
| CN106775378A (en) | A kind of method and mobile terminal for determining input method candidate word | |
| CN107179838B (en) | A kind of display methods and mobile terminal of candidate word | |
| CN113268682A (en) | Page content display method, device and equipment based on navigation bar and storage medium | |
| CN106227444A (en) | A kind of interactive interface display method and terminal | |
| WO2016173307A1 (en) | Message copying method and device, and smart terminal | |
| CN107678642A (en) | The control method and mobile terminal of a kind of application | |
| CN106503061A (en) | One population message display method and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191126 |