CN107317930B - A desktop icon layout method, device and computer-readable storage medium - Google Patents
A desktop icon layout method, device and computer-readable storage medium Download PDFInfo
- Publication number
- CN107317930B CN107317930B CN201710498855.5A CN201710498855A CN107317930B CN 107317930 B CN107317930 B CN 107317930B CN 201710498855 A CN201710498855 A CN 201710498855A CN 107317930 B CN107317930 B CN 107317930B
- Authority
- CN
- China
- Prior art keywords
- relationship
- weight
- desktop
- application
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
- H04M1/72472—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons wherein the items are sorted according to specific criteria, e.g. frequency of use
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
本发明公开了一种桌面图标的布局方法、装置及计算机可读存储介质,所述方法包括以下步骤:采集某一时间周期内应用程序的使用频率和停留时间,分析得到终端中所述应用程序的用户偏好权值;历遍终端中所述应用程序,并将所述应用程序的相关信息进行对象化描述,并利用有向超图构建所述应用程序之间的全局关系网络;根据所述用户偏好权值和所述全局关系网络,获得所述应用程序的桌面图标在终端桌面的布局关系并推荐给用户。本发明通过构建全局关系网络GAN模型,同时获取用户都每一应用程序的偏好程度,将应用程序之间的全局性关系和个性化关系引入到应用程序的桌面图标布局中,推荐更为符合用户操作习惯的桌面布局方式,在布局效果上提升用户满意程度。
The invention discloses a layout method, device and computer-readable storage medium for desktop icons. The method includes the following steps: collecting the usage frequency and stay time of an application program in a certain time period, and analyzing and obtaining the application program in a terminal user preference weights; traverse the applications in the terminal, and describe the relevant information of the applications in an object-oriented manner, and use a directed hypergraph to build a global relationship network between the applications; according to the The user preference weight and the global relationship network are used to obtain the layout relationship of the desktop icons of the application on the terminal desktop and recommend them to the user. By constructing a global relationship network GAN model, the present invention obtains the user's preference level of each application program, and introduces the global relationship and individualized relationship between the application programs into the desktop icon layout of the application program, and the recommendation is more suitable for the user. The desktop layout of the operating habits improves user satisfaction in the layout effect.
Description
技术领域technical field
本发明涉及终端操作系统技术领域,尤其涉及一种桌面图标的布局方法、装置及计算机可读存储介质。The present invention relates to the technical field of terminal operating systems, and in particular, to a layout method, device and computer-readable storage medium for desktop icons.
背景技术Background technique
现有的智能移动终端的系统中均安装有应用程序,为了用户能够快速地查询并启动所需要的应用程序,一般通过将应用程序的桌面图标显示在终端的桌面上,用户在启动某一应用程序时,仅仅需要在桌面上点击这一应用程序的桌面图标,就能够打开并使用这一应用程序。但是,随着智能移动终端技术的不断发展,系统中安装有的应用程序越来越多,而为了便于携带等要求限制了移动终端的显示桌面的尺寸,终端的一个桌面已经难以同时显示所有的应用程序的桌面图标,一般采用了主桌面结合多个副桌面来显示应用程序的桌面图标,查询某一应用程序时,需要在多个桌面之间切换,应用程序较多时,查询不方便。An application program is installed in the system of the existing intelligent mobile terminal. In order for the user to quickly query and start the required application program, generally by displaying the desktop icon of the application program on the desktop of the terminal, the user starts a certain application. When running the program, you only need to click the application's desktop icon on the desktop to open and use this application. However, with the continuous development of intelligent mobile terminal technology, there are more and more applications installed in the system, and the size of the display desktop of the mobile terminal is limited due to requirements such as portability. The desktop icons of applications generally use the main desktop combined with multiple secondary desktops to display the desktop icons of the applications. When querying an application, it is necessary to switch between multiple desktops. When there are many applications, the query is inconvenient.
为了使得用户能够快速地查询到所需的应用程序,那么需要对应用程序的桌面图标在桌面的显示位置进行合理的布局,现有的移动终端的应用程序桌面图标在桌面的布局方式一般是按照既定规则(安装时间顺序),安排已预制的应用程序的桌面图标在桌面中的位置,对于用户自行下载的应用程序,通常寻找桌面布局中的空闲位置,放置新应用程序的桌面图标。另一种现有桌面图标布局方式是按照既定规则对应用程序进行分类,类别相同的应用程序的桌面图标紧邻放置;这一桌面图标布局方式没有考虑不同类别的应用程序之间的关联关系:如用户将图片处理应用程序中的图片分享至微信、QQ等即时通讯应用程序时,在退出图片处理应用程序后,很可能会进入微信等即时通讯应用程序查看分享,而这两个应用程序属于不同类别,按照上述规则排列桌面图标可能使得这两个应用程序的桌面图标相距较远或者在不同的桌面上,从而不方便用户快速查找。In order to enable the user to quickly query the desired application, it is necessary to reasonably arrange the display position of the desktop icon of the application on the desktop. The layout of the desktop icon of the application of the existing mobile terminal on the desktop is generally according to According to the established rules (installation time sequence), the desktop icons of prefabricated applications are arranged on the desktop. For applications downloaded by users themselves, the free positions in the desktop layout are usually found, and the desktop icons of new applications are placed. Another existing desktop icon layout method is to classify applications according to established rules, and the desktop icons of applications of the same category are placed next to each other; this desktop icon layout method does not consider the relationship between applications of different categories: for example When a user shares a picture in an image processing application to an instant messaging application such as WeChat and QQ, after exiting the image processing application, it is likely to enter an instant messaging application such as WeChat to view and share, and these two applications belong to different category, arranging the desktop icons according to the above rules may cause the desktop icons of the two applications to be far apart or on different desktops, which is inconvenient for the user to quickly find.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于提出一种桌面图标的布局方法、装置及计算机可读存储介质,旨在解决现有终端桌面中应用程序的桌面图标布局不合理,不利用用户快速寻找目标应用程序的技术问题。The main purpose of the present invention is to provide a desktop icon layout method, device and computer-readable storage medium, aiming to solve the unreasonable layout of desktop icons of applications in existing terminal desktops, without using the technology of users to quickly find target applications question.
为实现上述目的,本发明提供的一种桌面图标的布局方法,该方法包括以下步骤:In order to achieve the above purpose, the present invention provides a layout method for desktop icons, the method includes the following steps:
采集某一时间周期内应用程序的使用频率和停留时间,分析得到终端中所述应用程序的用户偏好权值;Collect the usage frequency and stay time of the application in a certain time period, and analyze and obtain the user preference weight of the application in the terminal;
历遍终端中所述应用程序,并将所述应用程序的相关信息进行对象化描述,并利用有向超图构建所述应用程序之间的全局关系网络(GAN);Traverse the applications in the terminal, and describe the relevant information of the applications in an object-oriented manner, and use a directed hypergraph to construct a global relationship network (GAN) between the applications;
根据所述用户偏好权值和所述全局关系网络,获得所述应用程序的桌面图标在终端桌面的布局关系并推荐给用户。According to the user preference weight and the global relationship network, the layout relationship of the desktop icon of the application program on the terminal desktop is obtained and recommended to the user.
进一步的,所述桌面图标的布局方法中,利用有向超图构建所述应用程序之间的全局关系网络的具体过程如下:Further, in the layout method of the desktop icons, the specific process of using a directed hypergraph to construct a global relationship network between the applications is as follows:
解析所述应用程序之间的意向(Intent)关系,并根据所述意向关系的类型确定所述应用程序之间的意向关系权值;Parse the intent relationship between the applications, and determine the intent relationship weight between the applications according to the type of the intent relationship;
解析所述应用程序的相关信息之间的语义相关性关系,并根据所述语义相关性关系的强度确定所述应用程序的相关信息之间的语义相关性关系权值;Parsing the semantic correlation relationship between the relevant information of the application program, and determining the semantic correlation relationship weight between the relevant information of the application program according to the strength of the semantic correlation relationship;
解析所述应用程序之间的功能相似度关系,根据所述功能相似度的强度,确定所述应用程序之间的功能相似度关系权值;Analyzing the functional similarity relationship between the application programs, and determining the functional similarity relationship weight between the application programs according to the strength of the functional similarity;
利用有向超图描述所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值构建所述应用程序之间的所述全局关系网络(GAN)。The global relation network (GAN) between the applications is constructed using a directed hypergraph to describe the intent relation weight, the semantic relevance relation weight and the functional similarity relation weight.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
在所述全局关系网络中,每一所述应用程序对应一网络节点,所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值分别对应所述网络节点的边。In the global relationship network, each of the application programs corresponds to a network node, and the intention relationship weight, the semantic relevance relationship weight, and the functional similarity relationship weight correspond to the network nodes respectively. side.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
在所述全局关系网络中,某一所述应用程序与多个其他的所述应用程序之间存在所述意向关系权值、所述语义相关性关系权值或所述功能相似度关系权值时,所述应用程序对应所述网络节点的边分别取所述意向关系权值、所述语义相关性关系权值或所述功能相似度关系权值的最大值。In the global relation network, the intention relation weight, the semantic relation relation weight or the functional similarity relation weight exist between a certain application and a plurality of other applications When the application program corresponds to the edge of the network node, the maximum value of the intention relationship weight, the semantic relevance relationship weight or the functional similarity relationship weight is taken respectively.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
当所述应用程序的用户偏好权值大于预设用户偏好阀值时,将所述应用程序的桌面图标显示在终端的主桌面。When the user preference weight of the application is greater than the preset user preference threshold, the desktop icon of the application is displayed on the main desktop of the terminal.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
当两个所述应用程序之间存在所述意向关系权值、所述语义相关性关系权值或所述功能相似度关系权值时,两个所述应用程序的桌面图标邻近设置。When the intention relationship weight, the semantic relevance relationship weight or the functional similarity relationship weight exists between the two application programs, the desktop icons of the two application programs are set adjacent to each other.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
在所述全局关系网络中,某一所述应用程序与其他的所述应用程序之间存在所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值中至少两个关系权值时,所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值中按照权值大小排序,所述关系权值大的两个所述应用程序的桌面图标邻近设置。In the global relation network, at least one of the intention relation weight, the semantic relation relation weight and the functional similarity relation weight exists between a certain application and other applications. When there are two relation weights, the intention relation weight, the semantic relevance relation weight and the functional similarity relation weight are sorted according to the size of the weight, and the two applications with the largest relation weight The program's desktop icon is adjacent to the setting.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
所述终端中系统预设应用程序的桌面图标按照系统预设布局关系确定所述桌面图标的初始位置。The desktop icons of the system preset application programs in the terminal determine the initial positions of the desktop icons according to the system preset layout relationship.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
在所述全局关系网络中,根据所述应用程序之间的所述功能相似度关系权值对所述应用程序进行分类,同一类别的所述应用程序邻近设置,或者对应每一类别建立一桌面文件夹,将同一类别的所述应用程序放置在所述桌面文件夹。In the global relationship network, the application programs are classified according to the functional similarity relationship weight between the application programs, the application programs of the same category are set adjacently, or a desktop is established corresponding to each category folder, place the applications of the same category in the desktop folder.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
在所述全局关系网络中,根据所述意向关系权值、所述语义相关性关系权值的权值大小确定所述应用程序、所述桌面文件夹之间的排序。In the global relationship network, the order between the application program and the desktop folder is determined according to the weight of the intention relationship and the weight of the semantic correlation relationship.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
当获得所述应用程序的桌面图标在终端桌面的布局关系后,向用户发出提示信息,并提供所述桌面图标在终端桌面显示预览界面。After obtaining the layout relationship of the desktop icons of the application programs on the terminal desktop, a prompt message is sent to the user, and the desktop icons are provided to display a preview interface on the terminal desktop.
进一步的,所述桌面图标的布局方法还包括以下步骤:Further, the layout method of the desktop icons further includes the following steps:
当终端中安装新的应用程序时,更新所述应用程序之间的所述全局关系网络,重新确定所述应用程序的桌面图标在终端桌面的布局关系并推荐给用户。When a new application is installed in the terminal, the global relationship network between the applications is updated, and the layout relationship of the desktop icons of the application on the terminal desktop is re-determined and recommended to the user.
基于同一发明构思,本发明的另一方面,提供了一种桌面图标的布局装置,所述装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的图标布局程序,所述图标布局程序被所述处理器执行时实现如下所述桌面图标的布局方法的步骤:Based on the same inventive concept, another aspect of the present invention provides a desktop icon layout device, the device includes: a memory, a processor, and an icon layout stored in the memory and running on the processor A program, when the icon layout program is executed by the processor, implements the steps of the method for laying out the desktop icons as follows:
采集某一时间周期内应用程序的使用频率和停留时间,分析得到终端中所述应用程序的用户偏好权值;Collect the usage frequency and stay time of the application in a certain time period, and analyze and obtain the user preference weight of the application in the terminal;
历遍终端中所述应用程序,并将所述应用程序的相关信息进行对象化描述,并利用有向超图构建所述应用程序之间的全局关系网络(GAN);Traverse the applications in the terminal, and describe the relevant information of the applications in an object-oriented manner, and use a directed hypergraph to construct a global relationship network (GAN) between the applications;
根据所述应用程序之间的所述用户偏好权值和所述全局关系网络,获得所述应用程序的桌面图标在终端桌面的布局关系并推荐给用户。According to the user preference weight between the application programs and the global relationship network, the layout relationship of the desktop icons of the application programs on the terminal desktop is obtained and recommended to the user.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
利用有向超图构建所述应用程序之间的全局关系网络的具体过程如下:The specific process of constructing the global relationship network between the applications by using the directed hypergraph is as follows:
解析所述应用程序之间的意向(Intent)关系,并根据所述意向关系的类型确定所述应用程序之间的意向关系权值;Parse the intent relationship between the applications, and determine the intent relationship weight between the applications according to the type of the intent relationship;
解析所述应用程序的相关信息之间的语义相关性关系,并根据所述语义相关性关系的强度确定所述应用程序的相关信息之间的语义相关性关系权值;Parsing the semantic correlation relationship between the relevant information of the application program, and determining the semantic correlation relationship weight between the relevant information of the application program according to the strength of the semantic correlation relationship;
解析所述应用程序之间的功能相似度关系,根据所述功能相似度的强度,确定所述应用程序之间的功能相似度关系权值;Analyzing the functional similarity relationship between the application programs, and determining the functional similarity relationship weight between the application programs according to the strength of the functional similarity;
利用有向超图描述所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值构建所述应用程序之间的所述全局关系网络(GAN)。The global relation network (GAN) between the applications is constructed using a directed hypergraph to describe the intent relation weight, the semantic relevance relation weight and the functional similarity relation weight.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
当所述应用程序的用户偏好权值大于预设用户偏好阀值时,将所述应用程序的桌面图标显示在终端的主桌面。When the user preference weight of the application is greater than the preset user preference threshold, the desktop icon of the application is displayed on the main desktop of the terminal.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
当两个所述应用程序之间存在所述意向关系权值、所述语义相关性关系权值或所述功能相似度关系权值时,两个所述应用程序的桌面图标邻近设置。When the intention relationship weight, the semantic relevance relationship weight or the functional similarity relationship weight exists between the two application programs, the desktop icons of the two application programs are set adjacent to each other.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
在所述全局关系网络中,某一所述应用程序与其他的所述应用程序之间存在所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值中至少两个关系权值时,所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值中按照权值大小排序,所述关系权值大的两个所述应用程序的桌面图标邻近设置。In the global relation network, at least one of the intention relation weight, the semantic relation relation weight and the functional similarity relation weight exists between a certain application and other applications. When there are two relation weights, the intention relation weight, the semantic relevance relation weight and the functional similarity relation weight are sorted according to the size of the weight, and the two applications with the largest relation weight The program's desktop icon is adjacent to the setting.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
所述终端中系统预设应用程序的桌面图标按照系统预设布局关系确定所述桌面图标的初始位置。The desktop icons of the system preset application programs in the terminal determine the initial positions of the desktop icons according to the system preset layout relationship.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
在所述全局关系网络中,根据所述应用程序之间的所述功能相似度关系权值对所述应用程序进行分类,同一类别的所述应用程序邻近设置,或者对应每一类别建立一桌面文件夹,将同一类别的所述应用程序放置在所述桌面文件夹。In the global relationship network, the application programs are classified according to the functional similarity relationship weight between the application programs, the application programs of the same category are set adjacently, or a desktop is established corresponding to each category folder, place the applications of the same category in the desktop folder.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
在所述全局关系网络中,根据所述意向关系权值、所述语义相关性关系权值的权值大小确定所述应用程序、所述桌面文件夹之间的排序。In the global relationship network, the order between the application program and the desktop folder is determined according to the weight of the intention relationship and the weight of the semantic correlation relationship.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
当获得所述应用程序的桌面图标在终端桌面的布局关系后,向用户发出提示信息,并提供所述桌面图标在终端桌面显示预览界面。After obtaining the layout relationship of the desktop icons of the application programs on the terminal desktop, a prompt message is sent to the user, and the desktop icons are provided to display a preview interface on the terminal desktop.
进一步的,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Further, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
当终端中安装新的应用程序时,更新所述应用程序之间的所述全局关系网络,重新确定所述应用程序的桌面图标在终端桌面的布局关系并推荐给用户。When a new application is installed in the terminal, the global relationship network between the applications is updated, and the layout relationship of the desktop icons of the application on the terminal desktop is re-determined and recommended to the user.
基于同一发明构思,本发明的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有图标布局程序,所述图标布局程序被所述处理器执行时实现上述所述的桌面图标布局推荐方法的步骤。Based on the same inventive concept, another aspect of the present invention provides a computer-readable storage medium, where an icon layout program is stored on the computer-readable storage medium, and when the icon layout program is executed by the processor, the above-mentioned The steps of the recommended method for the layout of desktop icons.
本发明技术方案的有益效果:The beneficial effects of the technical solution of the present invention:
本发明的桌面图标的布局方法、装置及计算机可读存储介质,通过对终端中已安装的应用程序进行解析,至少包括意向关系、语义相关性关系和功能相似度关系;通过这些关系利用有向超图构建全局关系网络GAN模型,同时结合用户使用频率和使用时间获取用户都每一应用程序的偏好程度,将应用程序之间的全局性关系和个性化关系引入到应用程序的桌面图标布局中,以求相较于现有的基于下载顺序的应用程序布局方式,推荐更为符合用户操作习惯的桌面布局方式,在布局效果上提升用户满意程度;而合理的应用程序图标桌面布局,可以为用户在桌面寻找目标应用程序提供便利,提升用户使用终端设备的效率从而获得更好的用户体验。The layout method, device and computer-readable storage medium for desktop icons of the present invention include at least an intention relationship, a semantic correlation relationship and a functional similarity relationship by analyzing the installed application programs in the terminal; Hypergraph builds a global relationship network GAN model, and combines the user's frequency and time to obtain the user's preference for each application, and introduces the global and personalized relationships between applications into the desktop icon layout of the application. , in order to recommend a desktop layout that is more in line with the user's operating habits compared to the existing application layout based on the download order, and improve user satisfaction in the layout effect; and a reasonable desktop layout of application icons can be It provides convenience for users to find target applications on the desktop, improves the efficiency of users using terminal devices, and thus obtains a better user experience.
附图说明Description of drawings
图1为本发明各个实施例的一种移动终端的硬件结构示意图;1 is a schematic diagram of a hardware structure of a mobile terminal according to various embodiments of the present invention;
图2为本发明实施例提供的一种通信网络系统架构图;FIG. 2 is an architecture diagram of a communication network system provided by an embodiment of the present invention;
图3为本发明实施例提供的第一种桌面图标的布局方法流程框图;3 is a flowchart of a first method for laying out desktop icons provided by an embodiment of the present invention;
图4为本发明实施例提供的第一种应用程序之间的全局关系网络构建方法流程框图;4 is a flowchart of a first method for constructing a global relationship network between applications provided by an embodiment of the present invention;
图5为本发明实施例中应用程序之间的全局关系网络结构示意图;5 is a schematic diagram of a global relationship network structure between applications in an embodiment of the present invention;
图6为本发明实施例提供的第二种应用程序之间的全局关系网络构建方法流程框图;6 is a flowchart of a method for constructing a second global relationship network between applications provided by an embodiment of the present invention;
图7为本发明实施例提供的应用程序的偏好程度计算方法流程框图;7 is a flowchart of a method for calculating a preference degree of an application provided by an embodiment of the present invention;
图8为本发明实施例中的基于全局关系网络的桌面图标布局方法流程框图;8 is a flowchart of a method for laying out desktop icons based on a global relationship network in an embodiment of the present invention;
图9为本发明实施例的桌面图标布局推荐方法流程框图;9 is a flowchart of a method for recommending a desktop icon layout according to an embodiment of the present invention;
图10为本发明实施例的桌面图标布局调整方法流程框图;10 is a flowchart of a method for adjusting the layout of desktop icons according to an embodiment of the present invention;
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, suffixes such as 'module', 'component' or 'unit' used to represent elements are used only to facilitate the description of the present invention and have no specific meaning per se. Thus, "module", "component" or "unit" may be used interchangeably.
终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile phones, tablet computers, notebook computers, handheld computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Mobile terminals such as wearable devices, smart bracelets, and pedometers, as well as stationary terminals such as digital TVs and desktop computers.
后续描述中将以移动终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。In the following description, a mobile terminal will be used as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present invention can also be applied to stationary type terminals.
请参阅图1,其为实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端100可以包括:RF(Radio Frequency,射频)单元101、WiFi模块102、音频输出单元103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 1 , which is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The
下面结合图1对移动终端的各个部件进行具体的介绍:Below in conjunction with Fig. 1, each component of the mobile terminal is introduced in detail:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(CodeDivision Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code DivisionMultiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous CodeDivision Multiple Access,时分同步码分多址)、FDD-LTE(Frequency DivisionDuplexing-Long Term Evolution,频分双工长期演进)和TDD-LTE(Time DivisionDuplexing-Long Term Evolution,分时双工长期演进、)等。The
WiFi属于短距离无线传输技术,移动终端通过WiFi模块102可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology, and the mobile terminal can help users to send and receive emails, browse web pages, access streaming media, etc. through the
音频输出单元103可以在移动终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元101或WiFi模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103可以包括扬声器、蜂鸣器等等。When the
A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风1042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。麦克风1042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The
进一步的,触控面板1071可覆盖显示面板1061,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the
接口单元108用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
移动终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
尽管图1未示出,移动终端100还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 1 , the
为了便于理解本发明实施例,下面对本发明的移动终端所基于的通信网络系统进行描述。To facilitate understanding of the embodiments of the present invention, the following describes a communication network system on which the mobile terminal of the present invention is based.
请参阅图2,图2为本发明实施例提供的一种通信网络系统架构图,该通信网络系统为通用移动通信技术的LTE系统,该LTE系统包括依次通讯连接的UE(User Equipment,用户设备)201,E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进式UMTS陆地无线接入网)202,EPC(Evolved Packet Core,演进式分组核心网)203和运营商的IP业务204。Please refer to FIG. 2. FIG. 2 is an architecture diagram of a communication network system according to an embodiment of the present invention. The communication network system is an LTE system of universal mobile communication technology. ) 201 , E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202 , EPC (Evolved Packet Core, Evolved Packet Core) 203 and operator's
具体地,UE201可以是上述终端100,此处不再赘述。Specifically, the
E-UTRAN202包括eNodeB2021和其它eNodeB2022等。其中,eNodeB2021可以通过回程(backhaul)(例如X2接口)与其它eNodeB2022连接,eNodeB2021连接到EPC203,eNodeB2021可以提供UE201到EPC203的接入。
EPC203可以包括MME(Mobility Management Entity,移动性管理实体)2031,HSS(Home Subscriber Server,归属用户服务器)2032,其它MME2033,SGW(Serving Gate Way,服务网关)2034,PGW(PDN Gate Way,分组数据网络网关)2035和PCRF(Policy andCharging Rules Function,政策和资费功能实体)2036等。其中,MME2031是处理UE201和EPC203之间信令的控制节点,提供承载和连接管理。HSS2032用于提供一些寄存器来管理诸如归属位置寄存器(图中未示)之类的功能,并且保存有一些有关服务特征、数据速率等用户专用的信息。所有用户数据都可以通过SGW2034进行发送,PGW2035可以提供UE 201的IP地址分配以及其它功能,PCRF2036是业务数据流和IP承载资源的策略与计费控制策略决策点,它为策略与计费执行功能单元(图中未示)选择及提供可用的策略和计费控制决策。
IP业务204可以包括因特网、内联网、IMS(IP Multimedia Subsystem,IP多媒体子系统)或其它IP业务等。The
虽然上述以LTE系统为例进行了介绍,但本领域技术人员应当知晓,本发明不仅仅适用于LTE系统,也可以适用于其他无线通信系统,例如GSM、CDMA2000、WCDMA、TD-SCDMA以及未来新的网络系统等,此处不做限定。Although the above description takes the LTE system as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future wireless communication systems. The network system, etc., is not limited here.
我们可以基于上述移动终端100的硬件结构,通过射频单元101、A/V输入单元104或WiFi模块102收发的音频、视频、图片等数据,并且在存储器109保存,基于上述通信网络系统的IP业务204从互联网或者其他网络平台获取音频、视频、图片等数据。另外,通过用户输入单元107在移动终端的显示单元106进行编辑,如通过照相机或者摄像机获取图片、视频数据,或者通过移动终端100集成的其他功能程序生成各种文本、标识文件。这些图片、视频、文本等文件一般在移动终端100被分成不同的文件夹进行存储,需要编辑处理时,在显示面板1061中以列表形式显示,通过与显示面板1061集成设置的触控面板1071或者通过移动终端100的按键进行操作。Based on the hardware structure of the above-mentioned
针对上述技术问题,基于上述移动终端硬件结构、通信网络系统,提出本发明方法各个实施例。In view of the above technical problems, based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.
实施例1Example 1
如图3所示,本发明提供的一种桌面图标的布局方法,该方法包括以下步骤:As shown in FIG. 3, a layout method of desktop icons provided by the present invention includes the following steps:
S101、采集某一时间周期内应用程序APP的使用频率和停留时间,分析得到终端中所述应用程序APP的用户偏好权值;S101. Collect the usage frequency and stay time of the application APP in a certain time period, and analyze and obtain the user preference weight of the application APP in the terminal;
S102、历遍终端中所述应用程序APP,并将所述应用程序APP的相关信息进行对象化描述,并利用有向超图构建所述应用程序APP之间的全局关系网络(GAN);S102, traversing the application program APP in the terminal, and objectifying the relevant information of the application program APP, and using a directed hypergraph to construct a global relationship network (GAN) between the application program APPs;
S103、根据所述用户偏好权值和所述全局关系网络,获得所述应用程序APP的桌面图标在终端桌面的布局关系并推荐给用户。S103. Obtain the layout relationship of the desktop icon of the application program APP on the terminal desktop according to the user preference weight and the global relationship network, and recommend it to the user.
其中,每个用户都有自己使用的独特的应用程序APP集合,并且用户对每个应用程序APP有不同的偏好程度,有的应用程序APP使用频繁且停留的时间很长,有的应用程序APP很少使用或者停留的时间很短,前者意味着较高程度的偏好,而用户对后者的偏好程度相对较小。综合使用频率和停留时间度量用户对每个应用程序APP的偏好程度,来刻画用户对每个应用程序APP的偏好权值。偏好程度一般是表现为应用程序APP之间的排序,用户偏好权值可以根据使用频率\停留时间比值作为权值大小,或者采用其他能够表现不同偏好的应用程序APP之间的排序方式的数值序列。Among them, each user has its own unique set of applications, and users have different preferences for each application. Some applications are used frequently and stay for a long time, and some applications are used for a long time. Rarely used or stayed for a short period of time, the former implies a higher degree of preference, while the user prefers the latter to a relatively small degree. The user's preference for each application APP is measured comprehensively by using frequency and dwell time to describe the user's preference weight for each application APP. The degree of preference is generally expressed as the ordering of applications, and the user preference weight can be based on the frequency of use/dwelling time ratio as the weight, or a numerical sequence of other ordering methods that can express different preferences. .
其中,全局关系网络是采用了有向超图建立的,有限超图是广泛用于描述复杂数据库每一数据元素之间关系的模型,有限超图一般包括表示数据元素的网络节点以及每一网络节点与其他网络节点关系的边或者超边,有向是这些边或者超边的方向。本发明中,将应用程序APP对象化描述为网络节点,应用程序APP之间的全局关系对象化描述为边或者超边,从而形成了应用程序APP之间的全局关系网络GAN,根据全局关系网络GAN能够得出应用程序APP之间的关系优先层次或者分类,利用这些优先层次或者分类获得应用程序APP在桌面上的桌面图标布局关系。Among them, the global relationship network is established by using a directed hypergraph, and a finite hypergraph is a model widely used to describe the relationship between each data element in a complex database. The finite hypergraph generally includes network nodes representing data elements and each network. The edges or hyperedges of the relationship between nodes and other network nodes, and the direction is the direction of these edges or hyperedges. In the present invention, the application program APP is objectified and described as a network node, and the global relationship between the application program APP is objectified and described as an edge or a super edge, thereby forming a global relationship network GAN between the application programs APP. According to the global relationship network GAN can obtain the priority level or classification of the relationship between application APPs, and use these priority levels or classifications to obtain the desktop icon layout relationship of the application APP on the desktop.
如图4所示,所述桌面图标的布局方法中,利用有向超图构建所述应用程序APP之间的全局关系网络的具体过程如下:As shown in Figure 4, in the layout method of the desktop icons, the specific process of using a directed hypergraph to construct a global relationship network between the application programs APP is as follows:
S201、解析所述应用程序APP之间的意向(Intent)关系,并根据所述意向关系的类型确定所述应用程序APP之间的意向关系权值;S201, analyzing the intent (Intent) relationship between the application programs APP, and determining the intent relationship weight between the application programs APP according to the type of the intent relationship;
S202、解析所述应用程序APP的相关信息之间的语义相关性关系,并根据所述语义相关性关系的强度确定所述应用程序APP的相关信息之间的语义相关性关系权值;S202, analyzing the semantic correlation relationship between the relevant information of the application program APP, and determining the semantic correlation relationship weight between the relevant information of the application program APP according to the strength of the semantic correlation relationship;
S203、解析所述应用程序APP之间的功能相似度关系,根据所述功能相似度的强度,确定所述应用程序APP之间的功能相似度关系权值;S203, analyzing the functional similarity relationship between the application programs APP, and determining the functional similarity relationship weight between the application programs APP according to the strength of the functional similarity degree;
S204、利用有向超图描述所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值构建所述应用程序APP之间的所述全局关系网络(GAN)。S204. Use a directed hypergraph to describe the intention relationship weight, the semantic relevance relationship weight, and the functional similarity relationship weight to construct the global relationship network (GAN) between the application programs APP.
其中,应用程序APP之间的潜在性关系至少可以包括:Among them, the potential relationship between applications APP can at least include:
第一,基于Intent意向的关系(IR)First, Intent-based Relationships (IR)
Intent的中文意思是“意图,意向”,在Android中提供了Intent机制来协助应用间的交互与通讯,Intent负责对应用中一次操作的动作、动作涉及数据、附加数据进行描述,Android则根据此Intent的描述,负责找到对应的组件,将Intent传递给调用的组件,并完成组件的调用。Intent不仅可用于应用程序APP之间,也可用于应用程序APP内部的Activity/Service之间的交互。因此,可以将Intent理解为不同组件之间通信的“媒介”专门提供组件互相调用的相关信息。Intent means "intent, intention" in Chinese. Intent mechanism is provided in Android to assist the interaction and communication between applications. Intent is responsible for describing the action of an operation in the application, the data involved in the action, and the additional data. Android is based on this. The description of the Intent, responsible for finding the corresponding component, passing the Intent to the calling component, and completing the component call. Intent can be used not only between application apps, but also for interaction between Activity/Service within the application APP. Therefore, Intent can be understood as the "media" of communication between different components, which provides relevant information for components to call each other.
具体地,通过应用程序App的源代码设置Intent并通过配置文件设置Intent-filter(意向过滤器),之后应用程序App发布并被用户安装到终端。如果一个应用程序App(记作a1)提供了某种类型的Intent,而另一个应用程序App(记作a2)提供了与该Intent匹配的包名(package name)或者Intent-filter,那么a1可以在运行时通过Intent调用a2并且向其传递特定类型的数据。Specifically, the Intent is set through the source code of the application App and the Intent-filter (intent filter) is set through the configuration file, and then the application App is released and installed on the terminal by the user. If an application App (denoted as a1) provides a certain type of Intent, and another application App (denoted as a2) provides a package name (package name) or Intent-filter matching the Intent, then a1 can Call a2 at runtime via an Intent and pass it a specific type of data.
而Intent又分为两种类型,一种使用应用程序App的包名显式指明要调用的应用程序App,即显式(Explicit)的Intent;另一种只提供某些待匹配的字段,如果其他应用程序App的Intent-filter能够与这些字段匹配,就可以在两个应用程序App之间进传递数据,即隐式(Implicit)的Intent。此外,普通应用程序App(如微信、QQ等第三方应用程序App)对Android底层应用程序App(如拨号、短信、通讯录、系统设置等)的调用一般都是通过显式Intent完成的,所以普通应用程序App与Android底层应用程序App之间的关系也是基于Intent的关系。Intent is divided into two types, one uses the package name of the application App to explicitly specify the application App to be called, that is, the explicit (Explicit) Intent; the other only provides some fields to be matched, if The Intent-filters of other applications can match these fields, and data can be passed between the two applications, that is, the implicit (Implicit) Intent. In addition, the calls of ordinary applications (such as WeChat, QQ and other third-party applications) to the Android underlying applications (such as dial-up, SMS, address book, system settings, etc.) are generally completed through explicit Intent, so The relationship between the ordinary application App and the Android underlying application App is also based on the relationship of Intent.
根据上述描述,基于显式Intent的应用程序App之间的关系比基于隐式Intent的关系更显著,因此可以设定不同的权值来刻画应用程序App之间的关联关系。例如,通讯录与微信、Q Q等即时通讯应用程序,微信、QQ可以根据通讯录联系人的号码关联联系人对应的微信号或者QQ号,那么通讯录和微信或QQ之间是基于包名的显式(Explicit)的Intent;可以将具有显式Intent的关系赋予权值1,隐式Intent的关系赋予权值0.5,不具有Intent的关系赋予权值0,进一步,根据显式Intent的关系或者隐式Intent的关系之间的匹配程度,使得每一应用程序APP具有不同大小的权值。According to the above description, the relationship between apps based on explicit intent is more significant than the relationship based on implicit intent, so different weights can be set to describe the relationship between apps. For example, the address book is connected to instant messaging applications such as WeChat and QQ. WeChat and QQ can associate the corresponding WeChat ID or QQ number of the contact according to the contact number in the address book, so the relationship between the address book and WeChat or QQ is based on the package name. Explicit Intent; a relationship with an explicit Intent can be given a weight of 1, a relationship with an implicit Intent can be given a weight of 0.5, and a relationship without an Intent can be given a weight of 0. Further, according to the relationship of the explicit Intent or The matching degree between implicit Intent relationships makes each application APP have different weights.
第二、语义相关性关系(SM)Second, the semantic relevance relationship (SM)
由于经验和开发的限制,应用程序App的开发者不可能预先设置应用程序App之间的所有可能的关系,而只能设置一些必要的Intent和Intent-filter,所以依靠上面描述的机制并不能识别出应用程序App之间的所有关系。Due to the limitation of experience and development, it is impossible for the developer of the application App to set all possible relationships between the application App in advance, but can only set some necessary Intent and Intent-filter, so relying on the mechanism described above cannot identify out all relationships between apps.
并且,每个应用程序App也有特定的输入输出数据类型,只要获得每个应用程序App的输入输出数据类型,就能通过分析输入输出之间的语义相关性来建立应用程序App之间的语义相关性关系,作为IR关系的补充。Moreover, each application App also has a specific input and output data type. As long as the input and output data types of each application App are obtained, the semantic correlation between the applications can be established by analyzing the semantic correlation between the input and output. Sexual relationships, as a complement to IR relationships.
具体地,从大量应用程序App的描述信息中总结表示应用程序App输入输出数据的名词词典和辨别输入与输出的动词词典,并将名词划分类别,如(包括但不限于此):音频、视频、图像、文字、文件、资讯、订单、位置和资金类,同时也可将动词类别,如(包括但不限于此):输入、输出和输入输出类。两个词典表示了从应用程序App的描述信息中抽取输入输出数据类型的规则,例如:当在某个App的描述信息中“图片”这样表示数据的名词前面有“发送”这样表示输入的动词时,就可以判断该应用程序App有“图像类”的输入数据类型。通过自然语言处理工具抽取出每个应用程序App可能的输入和输出数据类型,就能进行语义相关性的匹配:如果某个应用程序App的部分或全部输出数据可以作为另外一个应用程序App的输入,那么二者具有数据相关性关系,关系的强弱可以用二者匹配的程度来度量。Specifically, from the description information of a large number of application programs, summarize the noun dictionary representing the input and output data of the application program and the verb dictionary to distinguish the input and output, and classify the nouns into categories, such as (including but not limited to): audio, video , Image, Text, Document, Information, Order, Location and Funding classes, as well as verb classes such as (including but not limited to): input, output and input-output classes. The two dictionaries represent the rules for extracting input and output data types from the description information of the application App. For example, when the noun that represents data such as "picture" in the description information of an App is preceded by a verb that indicates input such as "send" , it can be judged that the application App has the input data type of "image class". By extracting the possible input and output data types of each application App through natural language processing tools, semantic correlation matching can be performed: if part or all of the output data of an application App can be used as the input of another application App , then the two have a data correlation relationship, and the strength of the relationship can be measured by the degree of matching between the two.
第三、基于相似度的关系(SR)Third, the similarity-based relationship (SR)
终端用户经常会同时使用具有相似功能的应用程序App,例如:某用户可能经常分别在“QQ”、“微博”和“微信”中和不同圈子的朋友进行互动,所以在3个应用程序App之间频繁地切换。相似的应用程序App之间可能不存在数据传递关系,它们虽然在功能上有部分重复,但是往往存在互补关系,能够在不同的应用场景中为用户提供类似的服务,使得用户可以获得更全面的信息或者享受更多样的服务。功能相似度,主要由功能结构确定,当两个应用程序APP之间功能结构重叠越多,赋予功能相似度的权值就越大。如QQ和微信之间的功能相似度接近100%,可以赋予权值0.99,依次类推。End users often use apps with similar functions at the same time. For example, a user may often interact with friends in different circles in "QQ", "Weibo" and "WeChat" respectively. switch frequently. There may not be a data transfer relationship between similar applications. Although they have some overlapping functions, they often have complementary relationships and can provide users with similar services in different application scenarios, so that users can obtain more comprehensive information. information or enjoy more services. The functional similarity is mainly determined by the functional structure. The more the functional structure overlaps between the two application programs, the greater the weight assigned to the functional similarity. For example, if the functional similarity between QQ and WeChat is close to 100%, a weight of 0.99 can be assigned, and so on.
其中,在所述全局关系网络中,每一所述应用程序APP对应一网络节点,所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值分别对应所述网络节点的边。Wherein, in the global relationship network, each of the application programs APP corresponds to a network node, and the intention relationship weight, the semantic relevance relationship weight, and the functional similarity relationship weight correspond to the Edges of network nodes.
具体地,如图5所示,GAN(应用程序App全局关系网络)中包含所有应用程序App之间的三种全局性关系,形式化地表示为:GAN=(A,IR,SM,SR,date)。其中,A是所有应用程序App的集合即GAN中节点的集合,IR(基于Intent的关系)、SM(语义相关性关系)和SR(基于相似度的关系)分别是三类全局性关系的集合即GAN中边(或超边)的集合,date是GAN构建完成的时刻,考虑date是因为GAN可能随着组成它的应用程序App的变化而发生演化,不同时刻构建的GAN可能具有不同的结构。Specifically, as shown in Figure 5, GAN (App Global Relation Network) contains three global relationships between all application apps, which are formally expressed as: GAN=(A, IR, SM, SR, date). Among them, A is the set of all application apps, that is, the set of nodes in GAN, IR (Intent-based relationship), SM (Semantic correlation relationship) and SR (Similarity-based relationship) are the sets of three types of global relationships, respectively. That is, the set of edges (or super-edges) in GAN, date is the moment when the GAN construction is completed, consider the date because the GAN may evolve with the change of the application App that composes it, and the GAN constructed at different times may have different structures .
其中,在所述全局关系网络中,某一所述应用程序APP与多个其他的所述应用程序APP之间存在所述意向关系权值、所述语义相关性关系权值或所述功能相似度关系权值时,所述应用程序APP对应所述网络节点的边分别取所述意向关系权值、所述语义相关性关系权值或所述功能相似度关系权值的最大值。Wherein, in the global relationship network, the intention relationship weight, the semantic correlation relationship weight, or the function similarity exists between a certain application program APP and a plurality of other application program APPs When the degree relationship weight is determined, the edge of the application program APP corresponding to the network node takes the maximum value of the intention relationship weight value, the semantic relevance relationship weight value, or the functional similarity relationship weight value, respectively.
如图6所示,安卓系统中获得GAN模型的方法流程如下:As shown in Figure 6, the method of obtaining the GAN model in the Android system is as follows:
S301、历遍终端中所有已经安装的应用程序APP;S301, traverse all installed application programs in the terminal;
S302、结合安卓系统Android的静态解析工具(Intent Anlysis等)解析应用程序APP之间的IR关系;S302, analyze the IR relationship between the application programs APP in combination with the static analysis tool (Intent Analysis, etc.) of the Android system Android;
S303、结合安卓系统Android的静态解析工具(Intent Anlysis等)解析应用程序APP之间的SM关系;S303, analyze the SM relationship between the application programs APP in combination with the static analysis tool (Intent Analysis, etc.) of the Android system Android;
S304、通过对APP的标签进行匹配,解析应用程序APP之间的SR关系;S304, parse the SR relationship between the APPs by matching the tags of the APPs;
S305、根据应用程序APP之间的IR、SM、SR等关系,利用有向超图构建GAN的IR、SM、SR边集合,及其确认各个边的权值。S305 , according to the IR, SM, SR and other relationships between the application programs, use the directed hypergraph to construct the IR, SM, and SR edge sets of the GAN, and confirm the weights of each edge.
其中,所述桌面图标的布局方法还包括以下步骤:Wherein, the layout method of the desktop icons further includes the following steps:
当所述应用程序APP的用户偏好权值大于预设用户偏好阀值时,将所述应用程序的桌面图标显示在终端的主桌面。When the user preference weight of the application program APP is greater than the preset user preference threshold value, the desktop icon of the application program is displayed on the main desktop of the terminal.
其中,所述桌面图标的布局方法还包括以下步骤:Wherein, the layout method of the desktop icons further includes the following steps:
当两个所述应用程序APP之间存在所述意向关系权值、所述语义相关性关系权值或所述功能相似度关系权值时,两个所述应用程序APP的桌面图标邻近设置。When the intention relationship weight, the semantic correlation relationship weight or the functional similarity relationship weight exists between the two application programs APP, the desktop icons of the two application program APPs are set adjacent to each other.
其中,所述桌面图标的布局方法还包括以下步骤:Wherein, the layout method of the desktop icons further includes the following steps:
在所述全局关系网络中,某一所述应用程序APP与其他的所述应用程序APP之间存在所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值中至少两个关系权值时,所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值中按照权值大小排序,所述关系权值大的两个所述应用程序APP的桌面图标邻近设置。In the global relation network, the intention relation weight, the semantic relation relation weight and the functional similarity relation weight exist between a certain application APP and other application APPs When there are at least two relation weights, the intention relation weight, the semantic relevance relation weight and the functional similarity relation weight are sorted according to the weights, and the two relational weights with the larger relation weights The desktop icon proximity setting of the above-mentioned application APP.
其中,所述桌面图标的布局方法还包括以下步骤:Wherein, the layout method of the desktop icons further includes the following steps:
所述终端中系统预设应用程序APP的桌面图标按照系统预设布局关系确定所述桌面图标的初始位置。The desktop icon of the system preset application program APP in the terminal determines the initial position of the desktop icon according to the system preset layout relationship.
其中,所述桌面图标的布局方法还包括以下步骤:Wherein, the layout method of the desktop icons further includes the following steps:
在所述全局关系网络中,根据所述应用程序APP之间的所述功能相似度关系权值对所述应用程序APP进行分类,同一类别的所述应用程序APP邻近设置,或者对应每一类别建立一桌面文件夹,将同一类别的所述应用程序APP放置在所述桌面文件夹。In the global relationship network, the application APPs are classified according to the functional similarity relationship weights between the application programs APP, and the application APPs of the same category are set adjacently, or correspond to each category A desktop folder is established, and the application programs APP of the same category are placed in the desktop folder.
其中,所述桌面图标的布局方法还包括以下步骤:Wherein, the layout method of the desktop icons further includes the following steps:
在所述全局关系网络中,根据所述意向关系权值、所述语义相关性关系权值的权值大小确定所述应用程序APP、所述桌面文件夹之间的排序。In the global relationship network, the order between the application program APP and the desktop folder is determined according to the weight of the intention relationship and the weight of the semantic correlation relationship.
其中,所述桌面图标的布局方法还包括以下步骤:Wherein, the layout method of the desktop icons further includes the following steps:
当获得所述应用程序APP的桌面图标在终端桌面的布局关系后,向用户发出提示信息,并提供所述桌面图标在终端桌面显示预览界面。After obtaining the layout relationship of the desktop icon of the application program APP on the terminal desktop, a prompt message is sent to the user, and the desktop icon is provided to display a preview interface on the terminal desktop.
具体地,如图7所示是一种桌面图标的布局具体流程如下:Specifically, as shown in FIG. 7, the specific process of the layout of a desktop icon is as follows:
S501、根据终端系统预设的桌面图标排布方式,结合用户偏好权值TOP-K进行应用程序APP的桌面图标布局;S501 , according to the preset desktop icon layout method of the terminal system, combined with the user preference weight TOP-K, to perform the desktop icon layout of the application program APP;
由于用户对不同的应用程序App有不同的偏好,而偏好较高的应用程序App基本主导了用户的日常使用,所以在GAN中与用户偏好程度越高的应用程序App应在桌面布局中占有“有利”的位置,如布局在主屏幕;Since users have different preferences for different applications, and applications with higher preferences basically dominate the daily use of users, applications with higher user preferences in GAN should occupy the desktop layout.” "favorable" positions, such as the layout on the home screen;
TOP-K也即是用户偏好权值排在前K项的应用程序APP,如用户常用的10个应用程序APP,微信、QQ、支付宝、电话、短信、浏览器等等,将这些常用的应用程序APP的桌面图标排布在主桌面,便于用户快速查找使用。TOP-K is also the application APP with the user preference weight ranking in the top K items, such as the 10 commonly used application APPs, WeChat, QQ, Alipay, telephone, SMS, browser, etc., these commonly used applications The desktop icons of the program APP are arranged on the main desktop, which is convenient for users to quickly find and use.
S502、根据终端系统预设的桌面图标排布方式,结合SR关系对应用程序APP进行分类;S502, classifying the application program APP according to the preset desktop icon arrangement mode of the terminal system and combining with the SR relationship;
S503、根据终端系统预设的桌面图标排布方式,建立同一类别的桌面文件夹并排布桌面文件夹和应用程序APP;S503 , according to the preset arrangement of desktop icons of the terminal system, establish a desktop folder of the same category and arrange the desktop folder and the application program APP;
对应用程序APP进行分类,对于相同类别的应用程序APP紧邻排列,对于特殊类别的应用程序APP,可考虑建立单独的桌面文件夹,如视频观看类别APP;购物类APP等;Classify the application programs. For the same category of application programs, they are arranged next to each other. For special categories of application programs, you can consider establishing a separate desktop folder, such as video viewing category APP; shopping category APP, etc.;
S504、根据终端系统预设的桌面图标排布方式.结合IR关系和SM关系,排布非归类的应用程序APP。S504 , according to a preset arrangement mode of the desktop icons of the terminal system, and combining the IR relationship and the SM relationship, arrange the non-classified application programs APP.
进一步的,结合图5所示I,假设ax是某用户已经安装并使用的一个应用程序App,即该用户独特的应用程序App集合中的一个元素,而在GAN中存在关系“ai→ax”或“ax→aj”(其中ai和aj也是用户已安装的应用程序App),这说明ai、aj和ax都有一定的关联关系,可能在一起配合使用以丰富该用户的使用体验,在桌面布局中不应离得太远。Further, with reference to I shown in Figure 5, it is assumed that a x is an application App that a user has installed and used, that is, an element in the user's unique application App collection, and there is a relationship "a i → a x ” or “a x →a j ” (where a i and a j are also applications installed by the user), which means that a i , a j and a x have a certain relationship and may be used together To enrich the user's experience, it should not be too far away in the desktop layout.
在存在众多的ai、aj的情况下,采用权值来确定推荐的优先级,关系“ai→ax”和“ax→aj”的权值是一个很好的标准,与用户已安装的ax关联性越强(权值越大)的App越可能有好的协同工作效果,就越可能帮助丰富用户的使用体验,在桌面布局中相近排列的优先级应该越高。When there are many a i , a j , the weights are used to determine the priority of the recommendation. The weights of the relations "a i →a x " and "a x →a j " are a good criterion, which is the same as The more closely related (larger weight) apps have been installed by the user, the more likely they are to have a good synergy effect, and the more likely it is to help enrich the user's experience, and the higher the priority should be placed in close proximity in the desktop layout.
另外,GAN中,某一App很可能与另外的多个App之间存在关系,例如存在“ax→ai”、“aj→ai”和“ai→ak”等等(其中ax、ai、aj、ak均为用户的App),GAN只考虑权值最大的关系。In addition, in GAN, a certain App is likely to have a relationship with other apps, such as "a x →a i ", "a j →a i ", and "a i → ak ", etc. (wherein a x , a i , a j , and a k are all the user's App), and GAN only considers the relationship with the largest weight.
关于GAN中的边或超边方向,如“ax→ai”、“aj→ai”和“ai→ak”;本发明中主要是ax、ai、aj、ak之间的关系描述,判断指标是关系权值,边或者超边方向对桌面图标的排布方式影响不大。Regarding the edge or hyperedge direction in GAN, such as "a x →a i ", "a j →a i ", and "a i → ak "; in the present invention, it is mainly a x , a i , a j , a The relationship between k is described, the judgment index is the relationship weight, and the edge or super-edge direction has little effect on the arrangement of desktop icons.
其中,所述桌面图标的布局方法还包括以下步骤:Wherein, the layout method of the desktop icons further includes the following steps:
当终端中安装新的应用程序APP时,更新所述应用程序APP之间的所述全局关系网络,重新确定所述应用程序APP的桌面图标在终端桌面的布局关系并推荐给用户。When a new application APP is installed in the terminal, the global relationship network between the application APPs is updated, and the layout relationship of the desktop icons of the application APP on the terminal desktop is re-determined and recommended to the user.
实施例2Example 2
基于同一发明构思,本发明的另一方面,提供了一种桌面图标的布局装置,所述装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的图标布局程序,所述图标布局程序被所述处理器执行时实现如下所述桌面图标的布局方法的步骤:Based on the same inventive concept, another aspect of the present invention provides a desktop icon layout device, the device includes: a memory, a processor, and an icon layout stored in the memory and running on the processor A program, when the icon layout program is executed by the processor, implements the steps of the method for laying out the desktop icons as follows:
采集某一时间周期内应用程序APP的使用频率和停留时间,分析得到终端中所述应用程序APP的用户偏好权值;Collect the usage frequency and residence time of the application APP in a certain time period, and analyze and obtain the user preference weight of the application APP in the terminal;
历遍终端中所述应用程序APP,并将所述应用程序APP的相关信息进行对象化描述,并利用有向超图构建所述应用程序APP之间的全局关系网络(GAN);Traverse the application program APP in the terminal, and describe the relevant information of the application program APP as an object, and use a directed hypergraph to construct a global relationship network (GAN) between the application program APPs;
根据所述用户偏好权值和所述全局关系网络,获得所述应用程序APP的桌面图标在终端桌面的布局关系并推荐给用户。According to the user preference weight and the global relationship network, the layout relationship of the desktop icon of the application program APP on the terminal desktop is obtained and recommended to the user.
如图7所示,所述应用程序APP的用户偏好权值获取方法具体如下:As shown in FIG. 7 , the method for obtaining the user preference weight of the application program APP is as follows:
S401、应用程序APP启动;S401. The application APP is started;
402、记录应用程序对应的包名、启动时间节点等信息;402. Record information such as the package name and the startup time node corresponding to the application;
S403、应用程序APP退出;S403, the application program APP exits;
404、记录应用程序对应的包名、启动时间节点等信息;404. Record information such as the package name and the startup time node corresponding to the application;
405、计算应用程序APP本次驻前台时间,修改并记录其使用时间和使用频率等信息;405. Calculate the time that the application APP is in the foreground this time, and modify and record information such as its usage time and usage frequency;
406、计算用户对应用程序APP的偏好程度,并赋予权值。406. Calculate the user's preference for the application program APP, and assign a weight.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
利用有向超图构建所述应用程序APP之间的全局关系网络的具体过程如下:The specific process of constructing the global relationship network between the application programs APP by using the directed hypergraph is as follows:
解析所述应用程序APP之间的意向(Intent)关系,并根据所述意向关系的类型确定所述应用程序APP之间的意向关系权值;Parse the intent relationship between the application programs APP, and determine the intent relationship weight between the application programs APP according to the type of the intent relationship;
解析所述应用程序APP的相关信息之间的语义相关性关系,并根据所述语义相关性关系的强度确定所述应用程序APP的相关信息之间的语义相关性关系权值;Analyzing the semantic correlation relationship between the relevant information of the application program APP, and determining the semantic correlation relationship weight between the relevant information of the application program APP according to the strength of the semantic correlation relationship;
解析所述应用程序APP之间的功能相似度关系,根据所述功能相似度的强度,确定所述应用程序APP之间的功能相似度关系权值;Analyzing the functional similarity relationship between the application programs APP, and determining the functional similarity relationship weight between the application programs APP according to the strength of the functional similarity degree;
利用有向超图描述所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值构建所述应用程序APP之间的所述全局关系网络(GAN)。The global relation network (GAN) between the application programs APP is constructed by using a directed hypergraph to describe the intention relation weight, the semantic relevance relation weight and the functional similarity relation weight.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
当所述应用程序APP的用户偏好权值大于预设用户偏好阀值时,将所述应用程序APP的桌面图标显示在终端的主桌面。When the user preference weight of the application program APP is greater than the preset user preference threshold value, the desktop icon of the application program APP is displayed on the main desktop of the terminal.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
当两个所述应用程序APP之间存在所述意向关系权值、所述语义相关性关系权值或所述功能相似度关系权值时,两个所述应用程序APP的桌面图标邻近设置。When the intention relationship weight, the semantic correlation relationship weight or the functional similarity relationship weight exists between the two application programs APP, the desktop icons of the two application program APPs are set adjacent to each other.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
在所述全局关系网络中,某一所述应用程序APP与其他的所述应用程序APP之间存在所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值中至少两个关系权值时,所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值中按照权值大小排序,所述关系权值大的两个所述应用程序APP的桌面图标邻近设置。In the global relation network, the intention relation weight, the semantic relation relation weight and the functional similarity relation weight exist between a certain application APP and other application APPs When there are at least two relation weights, the intention relation weight, the semantic relevance relation weight and the functional similarity relation weight are sorted according to the weights, and the two relational weights with the larger relation weights The desktop icon proximity setting of the above-mentioned application APP.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
所述终端中系统预设应用程序APP的桌面图标按照系统预设布局关系确定所述桌面图标的初始位置。The desktop icon of the system preset application program APP in the terminal determines the initial position of the desktop icon according to the system preset layout relationship.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
在所述全局关系网络中,根据所述应用程序APP之间的所述功能相似度关系权值对所述应用程序APP进行分类,同一类别的所述应用程序APP邻近设置,或者对应每一类别建立一桌面文件夹,将同一类别的所述应用程序APP放置在所述桌面文件夹。In the global relationship network, the application APPs are classified according to the functional similarity relationship weights between the application programs APP, and the application APPs of the same category are set adjacently, or correspond to each category A desktop folder is established, and the application programs APP of the same category are placed in the desktop folder.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
在所述全局关系网络中,根据所述意向关系权值、所述语义相关性关系权值的权值大小确定所述应用程序APP、所述桌面文件夹之间的排序。In the global relationship network, the order between the application program APP and the desktop folder is determined according to the weight of the intention relationship and the weight of the semantic correlation relationship.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
当获得所述应用程序APP的桌面图标在终端桌面的布局关系后,向用户发出提示信息,并提供所述桌面图标在终端桌面显示预览界面。After obtaining the layout relationship of the desktop icon of the application program APP on the terminal desktop, a prompt message is sent to the user, and the desktop icon is provided to display a preview interface on the terminal desktop.
如图9所示,具体地桌面图标的布局关系推荐流程方法如下:As shown in Figure 9, the specific recommended process method for the layout relationship of the desktop icons is as follows:
S601、将获得布局关系推荐给用户;S601. Recommend the obtained layout relationship to a user;
S602、是否预览;是则执行S603,否则执行S606;S602, whether to preview; if yes, execute S603, otherwise, execute S606;
S603、预先桌面图标的布局效果;S603, the layout effect of the desktop icons in advance;
S604、是否使用;是则执行S605,否则执行S606;S604, whether to use; if yes, go to S605, otherwise go to S606;
S605、加载所推荐的桌面布局关系;S605. Load the recommended desktop layout relationship;
S606、结束。S606. End.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
当终端中安装新的应用程序APP时,更新所述应用程序APP之间的所述全局关系网络,重新确定所述应用程序APP的桌面图标在终端桌面的布局关系并推荐给用户。When a new application APP is installed in the terminal, the global relationship network between the application APPs is updated, and the layout relationship of the desktop icons of the application APP on the terminal desktop is re-determined and recommended to the user.
如图10所示,重新生成桌面布局关系的流程如下:As shown in Figure 10, the process of regenerating the desktop layout relationship is as follows:
S701、是否有新应用程序APP;S701. Whether there is a new application APP;
S702、根据终端系统预设的桌面图标排布方式,解析基于SM关系;S702, analysing the relationship based on the SM according to the arrangement mode of the desktop icons preset by the terminal system;
S703、是否有对应SM关系的桌面文件夹;是则执行S704;否则执行S706;S703, whether there is a desktop folder corresponding to the SM relationship; if yes, execute S704; otherwise, execute S706;
S704、解析IR关系和SR关系;S704, parse the IR relationship and the SR relationship;
S705、根据终端系统预设的桌面图标排布方式,结合IR关系和SR关系,确定应用程序AAP的桌面图标位置;S705. Determine the desktop icon position of the application program AAP according to the preset desktop icon arrangement mode of the terminal system and combining the IR relationship and the SR relationship;
S706、根据终端系统预设的桌面图标排布方式,结合SM关系,确定应用程序AAP的桌面图标位置;S706. Determine the desktop icon position of the application program AAP according to the preset desktop icon arrangement mode of the terminal system and in combination with the SM relationship;
S707、结束。S707. End.
实施例3Example 3
基于同一发明构思,本发明的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有图标布局程序,所述图标布局程序被所述处理器执行时实现如下所述的桌面图标布局推荐方法的步骤:Based on the same inventive concept, another aspect of the present invention provides a computer-readable storage medium, where an icon layout program is stored on the computer-readable storage medium, and the icon layout program is implemented as follows when executed by the processor The steps of the recommended method for the desktop icon layout described:
采集某一时间周期内应用程序APP的使用频率和停留时间,得分析得到终端中所述应用程序APP的用户偏好权值;Collect the usage frequency and residence time of the application program APP in a certain time period, and obtain the user preference weight of the application program APP in the terminal through analysis;
历遍终端中所述应用程序APP,并将所述应用程序APP的相关信息进行对象化描述,并利用有向超图构建所述应用程序APP之间的全局关系网络(GAN);Traverse the application program APP in the terminal, and describe the relevant information of the application program APP as an object, and use a directed hypergraph to construct a global relationship network (GAN) between the application program APPs;
根据所述用户偏好权值和所述全局关系网络,获得所述应用程序APP的桌面图标在终端桌面的布局关系并推荐给用户。According to the user preference weight and the global relationship network, the layout relationship of the desktop icon of the application program APP on the terminal desktop is obtained and recommended to the user.
其中,所述图标布局程序被所述处理器执行时还实现如下所述桌面图标的布局方法的步骤:Wherein, when the icon layout program is executed by the processor, the following steps of the desktop icon layout method are also implemented:
利用有向超图构建所述应用程序APP之间的全局关系网络的具体过程如下:The specific process of constructing the global relationship network between the application programs APP by using the directed hypergraph is as follows:
解析所述应用程序APP之间的意向(Intent)关系,并根据所述意向关系的类型确定所述应用程序APP之间的意向关系权值;Parse the intent relationship between the application programs APP, and determine the intent relationship weight between the application programs APP according to the type of the intent relationship;
解析所述应用程序APP的相关信息之间的语义相关性关系,并根据所述语义相关性关系的强度确定所述应用程序APP的相关信息之间的语义相关性关系权值;Analyzing the semantic correlation relationship between the relevant information of the application program APP, and determining the semantic correlation relationship weight between the relevant information of the application program APP according to the strength of the semantic correlation relationship;
解析所述应用程序APP之间的功能相似度关系,根据所述功能相似度的强度,确定所述应用程序APP之间的功能相似度关系权值;Analyzing the functional similarity relationship between the application programs APP, and determining the functional similarity relationship weight between the application programs APP according to the strength of the functional similarity degree;
利用有向超图描述所述意向关系权值、所述语义相关性关系权值和所述功能相似度关系权值构建所述应用程序APP之间的所述全局关系网络(GAN)。The global relation network (GAN) between the application programs APP is constructed by using a directed hypergraph to describe the intention relation weight, the semantic relevance relation weight and the functional similarity relation weight.
本发明的桌面图标的布局方法、装置及计算机可读存储介质,通过对终端中已安装的应用程序APP进行解析,至少包括意向关系、语义相关性关系和功能相似度关系;通过这些关系利用有向超图构建全局关系网络GAN模型,同时结合用户使用频率和使用时间获取用户都每一应用程序APP的偏好程度,将应用程序APP之间的全局性关系和个性化关系引入到应用程序APP的桌面图标布局中,以求相较于现有的基于下载顺序的应用程序APP布局方式,推荐更为符合用户操作习惯的桌面布局方式,在布局效果上提升用户满意程度;而合理的应用程序APP图标桌面布局,可以为用户在桌面寻找目标应用程序APP提供便利,提升用户使用终端设备的效率从而获得更好的用户体验。The layout method, device and computer-readable storage medium for desktop icons of the present invention include at least an intention relationship, a semantic correlation relationship and a functional similarity relationship by analyzing the application program APP installed in the terminal; Build a global relationship network GAN model from the hypergraph, and at the same time obtain the user's preference for each application APP in combination with the user's usage frequency and usage time, and introduce the global relationship and personalized relationship between the application APPs into the application APP. In the desktop icon layout, compared with the existing application APP layout method based on the download order, a desktop layout method that is more in line with the user's operating habits is recommended, and the layout effect can improve user satisfaction; while a reasonable application APP layout method is recommended. The icon desktop layout can provide convenience for the user to find the target application APP on the desktop, improve the efficiency of the user using the terminal device, and obtain a better user experience.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710498855.5A CN107317930B (en) | 2017-06-26 | 2017-06-26 | A desktop icon layout method, device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710498855.5A CN107317930B (en) | 2017-06-26 | 2017-06-26 | A desktop icon layout method, device and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107317930A CN107317930A (en) | 2017-11-03 |
CN107317930B true CN107317930B (en) | 2020-12-15 |
Family
ID=60181108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710498855.5A Active CN107317930B (en) | 2017-06-26 | 2017-06-26 | A desktop icon layout method, device and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107317930B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108197183B (en) * | 2017-12-25 | 2021-09-17 | 中山大学 | Android application-based control layout recommendation method and system |
CN109657156B (en) * | 2019-01-22 | 2021-06-01 | 杭州师范大学 | Individualized recommendation method based on loop generation countermeasure network |
CN111372221B (en) * | 2019-12-26 | 2023-07-21 | 杭州蓦然认知科技有限公司 | A method and device for generating and sharing a general APP ecological map |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677510A (en) * | 2012-09-24 | 2014-03-26 | 联想(北京)有限公司 | Icon arranging method and device |
CN103793140A (en) * | 2014-01-29 | 2014-05-14 | 上海大唐移动通信设备有限公司 | Application icon arranging method and mobile terminal |
CN106126210A (en) * | 2016-06-15 | 2016-11-16 | 维沃移动通信有限公司 | A kind of application icon display packing and mobile terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102981859B (en) * | 2012-12-03 | 2016-03-02 | 广东欧珀移动通信有限公司 | A kind of figure of adjustment automatically calibration method, device and mobile terminal |
KR20140106887A (en) * | 2013-02-27 | 2014-09-04 | 삼성전자주식회사 | A method for displaying program and an electronic device thereof |
CN103544220B (en) * | 2013-09-29 | 2017-04-05 | 北京航空航天大学 | Using recommendation method and apparatus |
CN103678635B (en) * | 2013-12-19 | 2017-01-04 | 中国传媒大学 | Online music aggregation recommendation method based on label directed graph |
US9436353B2 (en) * | 2014-03-25 | 2016-09-06 | Toyota Motor Engineering & Manufacturing North America, Inc. | Systems and methods for providing a dynamic application menu |
CN106681581B (en) * | 2015-11-06 | 2021-05-21 | 北京奇虎科技有限公司 | Method and device for arranging application icons |
-
2017
- 2017-06-26 CN CN201710498855.5A patent/CN107317930B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677510A (en) * | 2012-09-24 | 2014-03-26 | 联想(北京)有限公司 | Icon arranging method and device |
CN103793140A (en) * | 2014-01-29 | 2014-05-14 | 上海大唐移动通信设备有限公司 | Application icon arranging method and mobile terminal |
CN106126210A (en) * | 2016-06-15 | 2016-11-16 | 维沃移动通信有限公司 | A kind of application icon display packing and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107317930A (en) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104618223B (en) | A kind of management method of information recommendation, device and system | |
CN110798397A (en) | File transmission method, device and electronic device | |
CN110134306B (en) | Data sharing method and device and computer readable storage medium | |
CN108829476A (en) | A kind of message display method, terminal and storage medium | |
US9921735B2 (en) | Apparatuses and methods for inputting a uniform resource locator | |
CN109978610A (en) | Information processing method, mobile terminal and computer readable storage medium | |
CN109460170B (en) | Screen expansion and interaction method, terminal and computer readable storage medium | |
TW201512865A (en) | Method for searching web page digital data, device and system thereof | |
CN107148055B (en) | A traffic control method, mobile terminal and computer-readable storage medium | |
WO2021109615A1 (en) | Information acquisition method, terminal and computer storage medium | |
CN107317930B (en) | A desktop icon layout method, device and computer-readable storage medium | |
CN114327189A (en) | Operation method, intelligent terminal and storage medium | |
CN107133296B (en) | Application program recommendation method and device and computer readable storage medium | |
CN108391253B (en) | Application recommendation method and mobile terminal | |
CN109918348B (en) | Cleaning method, terminal and computer readable storage medium for application browsing record | |
CN107728920A (en) | A kind of clone method and mobile terminal | |
CN110825475A (en) | An input method and electronic device | |
CN110069446A (en) | Mobile terminal document management method, mobile terminal, device and storage medium | |
CN107885887B (en) | A file storage method and mobile terminal | |
CN110188249A (en) | A global search method, device and computer-readable storage medium | |
CN115494997A (en) | Information reading method, intelligent terminal and storage medium | |
CN109829167B (en) | Word segmentation processing method and mobile terminal | |
CN114640739A (en) | Application pushing method, intelligent terminal and storage medium | |
CN109543172B (en) | Editing object regulation and control method, equipment and computer readable storage medium | |
CN114416254A (en) | Business card display method, intelligent terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201125 Address after: 210037 No. 40, Nanchang Road, Gulou District, Jiangsu, Nanjing Applicant after: Nanjing Shehai block chain Technology Co.,Ltd. Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221116 Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province Patentee after: Xiamen Jiupin sesame Information Technology Co.,Ltd. Address before: 210037 No. 40, Nanchang Road, Gulou District, Jiangsu, Nanjing Patentee before: Nanjing Shehai block chain Technology Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20250617 Address after: 415, Building A, Zhongshe Plaza, 1028 Buji Road, Lvjing Community, Dongxiao Street, Luohu District, Shenzhen City, Guangdong Province Patentee after: Shenzhen Wanqirui Technology Co.,Ltd. Country or region after: China Address before: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province Patentee before: Xiamen Jiupin sesame Information Technology Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |