CN115048152B - Method, system, storage medium and server for determining boot interface - Google Patents
Method, system, storage medium and server for determining boot interface Download PDFInfo
- Publication number
- CN115048152B CN115048152B CN202210672362.XA CN202210672362A CN115048152B CN 115048152 B CN115048152 B CN 115048152B CN 202210672362 A CN202210672362 A CN 202210672362A CN 115048152 B CN115048152 B CN 115048152B
- Authority
- CN
- China
- Prior art keywords
- user
- interface
- enterprise
- attribute
- boot
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及互联网技术领域,具体地,涉及一种开机界面确定方法、系统、存储介质和服务器。The present invention relates to the field of Internet technology, and in particular to a method, system, storage medium and server for determining a startup interface.
背景技术Background Art
随着互联网的发展,终端设备的普及越来越广泛,例如手机、平板等终端设备在人们日常生活中使用地越来越多。终端中可安装有各种应用程序,应用程序启动时通常首先展示开机界面,因此开机界面是否满足用户体验,是用户使用应用程序的第一印象。目前,大部分应用程序的开机界面均为固定的页面,用户每次开启应用程序,界面均没有变化,也有一些购物类应用程序,也仅在促销活动期间才将开机界面统一更换为活动促销界面,不利于用户使用应用程序的体验。With the development of the Internet, terminal devices are becoming more and more popular. For example, mobile phones, tablets and other terminal devices are increasingly used in people's daily lives. Various applications can be installed in the terminal. When the application is started, the boot interface is usually displayed first. Therefore, whether the boot interface satisfies the user experience is the first impression of the user when using the application. At present, the boot interface of most applications is a fixed page. Every time the user opens the application, the interface does not change. There are also some shopping applications that only change the boot interface to the promotion interface during promotion activities, which is not conducive to the user's experience of using the application.
发明内容Summary of the invention
本发明的目的是提供一种开机界面确定方法、系统、存储介质和服务器,能够对开机界面进行个性化推荐计算,可以选择出能够提升用户体验的开机界面。The purpose of the present invention is to provide a method, system, storage medium and server for determining a startup interface, which can perform personalized recommendation calculations on the startup interface and select a startup interface that can improve the user experience.
为了实现上述目的,第一方面,本发明提供一种开机界面确定方法,应用于服务器,所述方法包括:In order to achieve the above-mentioned object, in a first aspect, the present invention provides a method for determining a startup interface, which is applied to a server, and the method comprises:
接收终端发送的用户信息,其中,所述终端响应于用户启动应用程序而获取所述用户信息,所述用户信息至少包括所述用户的企业组织信息;Receiving user information sent by a terminal, wherein the terminal obtains the user information in response to the user launching an application, and the user information at least includes the enterprise organization information of the user;
根据所述用户信息判断所述用户是否首次登录所述应用程序;Determining whether the user logs into the application for the first time according to the user information;
若所述用户不为首次登录用户,则根据所述用户的企业组织信息,判断用户所在的企业属于单一界面定制企业、多界面定制企业还是非界面定制企业;If the user is not a first-time login user, judging whether the user's enterprise is a single-interface customization enterprise, a multi-interface customization enterprise, or a non-interface customization enterprise according to the enterprise organization information of the user;
若用户所在的企业属于非界面定制企业,则根据所述用户的历史登录记录进行个性化界面推荐计算,其中,个性化界面推荐计算的过程包括用户偏好矩阵分解计算、用户偏好关联计算以及目标开机界面匹配计算;If the enterprise where the user is located is a non-interface customization enterprise, a personalized interface recommendation calculation is performed based on the user's historical login records, wherein the personalized interface recommendation calculation process includes user preference matrix decomposition calculation, user preference association calculation, and target boot interface matching calculation;
将所述目标开机界面发送至所述终端,以由所述终端展示所述目标开机界面。The target startup interface is sent to the terminal so that the terminal displays the target startup interface.
可选地,个性化界面推荐计算的过程中用户偏好矩阵分解计算包括如下步骤:Optionally, the user preference matrix decomposition calculation in the process of personalized interface recommendation calculation includes the following steps:
针对m个用户中的每一用户,根据该用户分别对n种属性的开机界面的历史操作,确定该用户的开机界面显示记录I1j、I2j…Iij…Inj,其中,j表示第j个用户,Iij表示第j个用户对第i种属性的开机界面的显示记录,若该用户对第i种属性的开机界面未点击跳过,则将该用户对第i种属性的开机界面的显示记录增加预设数值,若该用户对第i种属性的开机界面点击跳过,则将该用户对第i种属性的开机界面的显示记录减去预设数值,m≥1,n≥1,i∈[1,n],j∈[1,m];For each of the m users, according to the historical operations of the user on the startup interfaces of n attributes, determine the startup interface display records I 1j , I 2j …I ij …I nj of the user, wherein j represents the j-th user, I ij represents the display record of the j-th user on the startup interface of the i-th attribute, if the user does not click to skip the startup interface of the i-th attribute, then the display record of the startup interface of the i-th attribute by the user is increased by a preset value, if the user clicks to skip the startup interface of the i-th attribute, then the display record of the startup interface of the i-th attribute by the user is subtracted by a preset value, m≥1, n≥1, i∈[1,n], j∈[1,m];
将m个用户各自对应的开机界面显示记录构建为用户偏好矩阵;The boot interface display records corresponding to each of the m users are constructed into a user preference matrix;
针对m个用户中的每一用户,计算该用户的开机总次数uj,其中,uj表示第j个用户的开机总次数, For each of the m users, calculate the total number of times u j the user is turned on, where u j represents the total number of times the jth user is turned on.
针对m个用户中的每一用户,计算该用户分别对n种属性的权重值wij,并根据权重值从大到小进行排序,将排名在前预设位数的权重值对应的属性作为该用户偏好的开机界面属性,其中,wij表示第j个用户对第i种属性的权重值。For each of the m users, the weight values w ij of the user for the n attributes are calculated, and the attributes corresponding to the weight values ranked in the front by a preset number of places are used as the boot interface attributes preferred by the user, where: w ij represents the weight value of the j-th user for the i-th attribute.
可选地,个性化界面推荐计算的过程中用户偏好关联计算包括如下步骤:Optionally, the user preference association calculation in the process of personalized interface recommendation calculation includes the following steps:
计算每两个用户之间的开机界面偏好相似度,其中,用户p与用户v之间的开机界面偏好相似度其中,N(p)表示用户p偏好的开机界面属性合集,N(v)表示用户v偏好的开机界面属性合集,N(p)∩N(v)表示用户p与用户v偏好相同开机界面属性的数量;Calculate the boot interface preference similarity between every two users, where the boot interface preference similarity between user p and user v is Wherein, N(p) represents the set of boot interface attributes preferred by user p, N(v) represents the set of boot interface attributes preferred by user v, and N(p)∩N(v) represents the number of boot interface attributes preferred by user p and user v.
针对n种属性的每一属性,计算该开机界面属性的用户合集N(i),其中,N(i)表示第i种开机界面属性的用户合集, For each of the n attributes, calculate the user set N(i) of the boot interface attribute, where N(i) represents the user set of the i-th boot interface attribute.
针对m个用户中的每一用户,确定k个与该用户的开机界面偏好相似度最高的用户合集,其中,S(u,k)表示与用户u的开机界面偏好相似度最高的k个用户,针对用户u的权重值wij为0的开机界面属性i,计算用户u对该开机界面属性i的感兴趣程度P(u,i),其中,P(u,i)=∑v∈S(u,k)∩N(i)wuv×rvi,rvi表示用户v对属性i的偏好程度。For each of the m users, determine the set of k users with the highest similarity to the user's boot interface preference, where S(u,k) represents the k users with the highest similarity to user u's boot interface preference. For the boot interface attribute i whose weight value w ij of user u is 0, calculate the user u's interest level P(u,i) in the boot interface attribute i, where P(u,i) = ∑ v∈S(u,k)∩N(i) w uv ×r vi , where r vi represents the user v's preference level for attribute i.
可选地,个性化界面推荐计算的过程中目标开机界面匹配计算包括如下步骤:Optionally, the target boot interface matching calculation in the process of personalized interface recommendation calculation includes the following steps:
从1至Y的整数中随机生成一个整数数值x’,Y为正整数,x’∈(0,Y];Randomly generate an integer value x' from the integers from 1 to Y, where Y is a positive integer, x'∈(0,Y];
若x’属于范围T1,则选择用户偏好矩阵分解计算过程中得到的、权重值最高的用户偏好的开机界面属性,并匹配属于该属性的开机界面作为目标开机界面;If x' belongs to the range T1, then the user's preferred boot interface attribute with the highest weight value obtained in the user preference matrix decomposition calculation process is selected, and the boot interface belonging to the attribute is matched as the target boot interface;
若x’属于范围T2,则选择用户偏好关联计算过程中得到的、用户感兴趣程度最高的开机界面属性,并匹配属于该属性的开机界面作为目标开机界面,其中,T1∈(0,X],T2∈(X,Y],X为预设的从1至Y中的的整数。If x' belongs to the range T2, the boot interface attribute with the highest user interest obtained in the user preference association calculation process is selected, and the boot interface belonging to the attribute is matched as the target boot interface, where T1∈(0,X], T2∈(X,Y], X is a preset integer from 1 to Y.
可选地,所述方法还包括:Optionally, the method further comprises:
若用户所在的企业属于多界面定制企业,则判断接收到的所述用户信息中是否包含所述用户的当前位置信息;If the enterprise where the user is located is a multi-interface customized enterprise, determining whether the received user information contains the current location information of the user;
若用户所在的企业属于多界面定制企业且所述用户信息中不包含所述当前位置信息,则根据所述用户的历史登录记录进行个性化界面推荐计算,以确定所述目标开机界面;If the enterprise where the user is located is a multi-interface customization enterprise and the user information does not include the current location information, a personalized interface recommendation calculation is performed based on the user's historical login records to determine the target startup interface;
若用户所在的企业属于多界面定制企业且所述用户信息中包含所述当前位置信息,则根据所述用户的当前位置信息,判断所述企业定制图片库中是否存在位置标识与所述当前位置信息小于预设距离阈值的图片;If the enterprise where the user is located is a multi-interface customized enterprise and the user information includes the current location information, then judging whether there is a picture in the enterprise customized picture library whose location identifier is less than a preset distance threshold from the current location information according to the current location information of the user;
若存在,则将位置标识与所述当前位置信息小于所述预设距离阈值的图片作为所述目标开机界面;If so, the image whose location identifier and the current location information are less than the preset distance threshold is used as the target startup interface;
若不存在,则根据所述用户的历史登录记录进行个性化界面推荐计算,以确定所述目标开机界面。If it does not exist, a personalized interface recommendation calculation is performed based on the historical login records of the user to determine the target startup interface.
可选地,所述方法还包括:Optionally, the method further comprises:
若所述用户不为首次登录用户,且用户所在的企业属于单一界面定制企业,则将所述企业定制的界面图片作为所述目标开机界面;If the user is not a first-time login user, and the enterprise the user belongs to is a single-interface customized enterprise, the interface picture customized by the enterprise is used as the target boot interface;
若所述用户为首次登录用户,则判断接收到的所述用户信息中是否包含所述用户的当前位置信息;If the user is logging in for the first time, determining whether the received user information contains the current location information of the user;
若所述用户为首次登录用户,且所述用户信息中包含所述当前位置信息,则从界面库中确定与所述当前位置信息相关的图片作为所述目标开机界面;If the user is logging in for the first time, and the user information includes the current location information, determining a picture related to the current location information from an interface library as the target startup interface;
若所述用户为首次登录用户,且所述用户信息中不包含所述当前位置信息,则判断接收到的所述用户信息中是否包含终端的当前时间信息,若终端的当前时间信息与所述服务器的标准当前时间不一致,则根据所述服务器的标准当前时间,从界面库中确定与标准当前时间相关的图片作为所述目标开机界面。If the user is logging in for the first time and the user information does not include the current location information, determine whether the received user information includes the current time information of the terminal; if the current time information of the terminal is inconsistent with the standard current time of the server, determine the picture related to the standard current time from the interface library as the target startup interface based on the standard current time of the server.
第二方面,本发明提供一种开机界面确定系统,应用于服务器,所述系统包括:In a second aspect, the present invention provides a system for determining a startup interface, which is applied to a server, and the system comprises:
用户信息接收模块,用于接收终端发送的用户信息,其中,所述终端响应于用户启动应用程序而获取所述用户信息,所述用户信息至少包括所述用户的企业组织信息;A user information receiving module, configured to receive user information sent by a terminal, wherein the terminal obtains the user information in response to the user starting an application, and the user information at least includes the enterprise organization information of the user;
登录判断模块,用于根据所述用户信息判断所述用户是否首次登录所述应用程序;A login determination module, used to determine whether the user is logging into the application for the first time based on the user information;
企业定制信息判断模块,用于若所述用户不为首次登录用户,则根据所述用户的企业组织信息,判断用户所在的企业属于单一界面定制企业、多界面定制企业还是非界面定制企业;An enterprise customization information judgment module is used to judge whether the enterprise of the user belongs to a single-interface customization enterprise, a multi-interface customization enterprise or a non-interface customization enterprise according to the enterprise organization information of the user if the user is not a first-time login user;
个性化界面推荐计算模块,用于若用户所在的企业属于非界面定制企业,则根据所述用户的历史登录记录进行个性化界面推荐计算,其中,个性化界面推荐计算的过程包括用户偏好矩阵分解计算、用户偏好关联计算以及目标开机界面匹配计算;A personalized interface recommendation calculation module is used to perform personalized interface recommendation calculation based on the user's historical login records if the user's enterprise is a non-interface customization enterprise, wherein the personalized interface recommendation calculation process includes user preference matrix decomposition calculation, user preference association calculation and target boot interface matching calculation;
界面发送模块,用于将所述目标开机界面发送至所述终端,以由所述终端展示所述目标开机界面。The interface sending module is used to send the target startup interface to the terminal so that the terminal displays the target startup interface.
可选地,所述个性化界面推荐计算模块包括用户偏好矩阵分解计算模块,所述用户偏好矩阵分解计算模块用于:Optionally, the personalized interface recommendation calculation module includes a user preference matrix decomposition calculation module, and the user preference matrix decomposition calculation module is used to:
针对m个用户中的每一用户,根据该用户分别对n种属性的开机界面的历史操作,确定该用户的开机界面显示记录I1j、I2j…Iij…Inj,其中,j表示第j个用户,Iij表示第j个用户对第i种属性的开机界面的显示记录,若该用户对第i种属性的开机界面未点击跳过,则将该用户对第i种属性的开机界面的显示记录增加预设数值,若该用户对第i种属性的开机界面点击跳过,则将该用户对第i种属性的开机界面的显示记录减去预设数值,m≥1,n≥1,i∈[1,n],j∈[1,m];For each of the m users, according to the historical operations of the user on the startup interfaces of n attributes, determine the startup interface display records I 1j , I 2j …I ij …I nj of the user, wherein j represents the j-th user, I ij represents the display record of the j-th user on the startup interface of the i-th attribute, if the user does not click to skip the startup interface of the i-th attribute, then the display record of the startup interface of the i-th attribute by the user is increased by a preset value, if the user clicks to skip the startup interface of the i-th attribute, then the display record of the startup interface of the i-th attribute by the user is subtracted by a preset value, m≥1, n≥1, i∈[1,n], j∈[1,m];
将m个用户各自对应的开机界面显示记录构建为用户偏好矩阵;The boot interface display records corresponding to each of the m users are constructed into a user preference matrix;
针对m个用户中的每一用户,计算该用户的开机总次数uj,其中,uj表示第j个用户的开机总次数, For each of the m users, calculate the total number of times u j the user is turned on, where u j represents the total number of times the jth user is turned on.
针对m个用户中的每一用户,计算该用户分别对n种属性的权重值wij,并根据权重值从大到小进行排序,将排名在前预设位数的权重值对应的属性作为该用户偏好的开机界面属性,其中,wij表示第j个用户对第i种属性的权重值。For each of the m users, the weight values w ij of the user for the n attributes are calculated, and the attributes corresponding to the weight values ranked in the front by a preset number of places are used as the boot interface attributes preferred by the user, where: w ij represents the weight value of the j-th user for the i-th attribute.
可选地,所述个性化界面推荐计算模块包括用户偏好关联计算模块,所述用户偏好关联计算模块用于:Optionally, the personalized interface recommendation calculation module includes a user preference association calculation module, and the user preference association calculation module is used to:
计算每两个用户之间的开机界面偏好相似度,其中,用户p与用户v之间的开机界面偏好相似度其中,N(p)表示用户p偏好的开机界面属性合集,N(v)表示用户v偏好的开机界面属性合集,N(p)∩N(v)表示用户p与用户v偏好相同开机界面属性的数量;Calculate the boot interface preference similarity between every two users, where the boot interface preference similarity between user p and user v is Wherein, N(p) represents the set of boot interface attributes preferred by user p, N(v) represents the set of boot interface attributes preferred by user v, and N(p)∩N(v) represents the number of boot interface attributes preferred by user p and user v.
针对n种属性的每一属性,计算该开机界面属性的用户合集N(i),其中,N(i)表示第i种开机界面属性的用户合集, For each of the n attributes, calculate the user set N(i) of the boot interface attribute, where N(i) represents the user set of the i-th boot interface attribute.
针对m个用户中的每一用户,确定k个与该用户的开机界面偏好相似度最高的用户合集,其中,S(u,k)表示与用户u的开机界面偏好相似度最高的k个用户,针对用户u的权重值wij为0的开机界面属性i,计算用户u对该开机界面属性i的感兴趣程度P(u,i),其中,P(u,i)=∑v∈S(u,k)∩N(i)wuv×rvi,rvi表示用户v对属性i的偏好程度。For each of the m users, determine the set of k users with the highest similarity to the user's boot interface preference, where S(u,k) represents the k users with the highest similarity to user u's boot interface preference. For the boot interface attribute i whose weight value w ij of user u is 0, calculate the user u's interest level P(u,i) in the boot interface attribute i, where P(u,i) = ∑ v∈S(u,k)∩N(i) w uv ×r vi , where r vi represents the user v's preference level for attribute i.
可选地,所述个性化界面推荐计算模块包括目标开机界面匹配计算模块,所述目标开机界面匹配计算用于:Optionally, the personalized interface recommendation calculation module includes a target boot interface matching calculation module, and the target boot interface matching calculation module is used to:
从1至Y的整数中随机生成一个整数数值x’,Y为正整数,x’∈(0,Y];Randomly generate an integer value x' from the integers from 1 to Y, where Y is a positive integer, x'∈(0,Y];
若x’属于范围T1,则选择用户偏好矩阵分解计算过程中得到的、权重值最高的用户偏好的开机界面属性,并匹配属于该属性的开机界面作为目标开机界面;If x' belongs to the range T1, then the user's preferred boot interface attribute with the highest weight value obtained in the user preference matrix decomposition calculation process is selected, and the boot interface belonging to the attribute is matched as the target boot interface;
若x’属于范围T2,则选择用户偏好关联计算过程中得到的、用户感兴趣程度最高的开机界面属性,并匹配属于该属性的开机界面作为目标开机界面,其中,T1∈(0,X],T2∈(X,Y],X为预设的从1至Y中的的整数。If x' belongs to the range T2, the boot interface attribute with the highest user interest obtained in the user preference association calculation process is selected, and the boot interface belonging to the attribute is matched as the target boot interface, where T1∈(0,X], T2∈(X,Y], X is a preset integer from 1 to Y.
可选地,所述系统还包括:Optionally, the system further comprises:
第一判断模块,用于若用户所在的企业属于多界面定制企业,则判断接收到的所述用户信息中是否包含所述用户的当前位置信息;A first judgment module is used to judge whether the received user information contains the current location information of the user if the enterprise where the user is located is a multi-interface customization enterprise;
个性化界面推荐计算模块,还用于若用户所在的企业属于多界面定制企业且所述用户信息中不包含所述当前位置信息,则根据所述用户的历史登录记录进行个性化界面推荐计算,以确定所述目标开机界面;The personalized interface recommendation calculation module is further used to perform personalized interface recommendation calculation based on the user's historical login records to determine the target boot interface if the enterprise where the user is located is a multi-interface customization enterprise and the user information does not contain the current location information;
第二判断模块,用于若用户所在的企业属于多界面定制企业且所述用户信息中包含所述当前位置信息,则根据所述用户的当前位置信息,判断所述企业定制图片库中是否存在位置标识与所述当前位置信息小于预设距离阈值的图片;A second judgment module is used to judge whether there is a picture in the enterprise customized picture library whose location identifier is less than a preset distance threshold from the current location information according to the current location information of the user if the enterprise where the user is located is a multi-interface customized enterprise and the user information contains the current location information;
第一确定模块,用于若存在,则将位置标识与所述当前位置信息小于所述预设距离阈值的图片作为所述目标开机界面;A first determining module, configured to use, if any, a picture whose location identifier and current location information are less than a preset distance threshold as the target startup interface;
个性化界面推荐计算模块,还用于若不存在,则根据所述用户的历史登录记录进行个性化界面推荐计算,以确定所述目标开机界面。The personalized interface recommendation calculation module is also used to perform personalized interface recommendation calculation according to the historical login records of the user if the target startup interface does not exist, so as to determine the target startup interface.
可选地,所述系统还包括:Optionally, the system further comprises:
第二确定模块,用于若所述用户不为首次登录用户,且用户所在的企业属于单一界面定制企业,则将所述企业定制的界面图片作为所述目标开机界面;The second determination module is used to use the interface picture customized by the enterprise as the target boot interface if the user is not a first-time login user and the enterprise where the user is located is a single-interface customized enterprise;
第三判断模块,用于若所述用户为首次登录用户,则判断接收到的所述用户信息中是否包含所述用户的当前位置信息;A third judgment module is used to judge whether the received user information contains the current location information of the user if the user is logging in for the first time;
第三确定模块,用于若所述用户为首次登录用户,且所述用户信息中包含所述当前位置信息,则从界面库中确定与所述当前位置信息相关的图片作为所述目标开机界面;A third determining module is used to determine, from an interface library, a picture related to the current location information as the target startup interface if the user is logging in for the first time and the user information includes the current location information;
第四确定模块,用于若所述用户为首次登录用户,且所述用户信息中不包含所述当前位置信息,则判断接收到的所述用户信息中是否包含终端的当前时间信息,若终端的当前时间信息与所述服务器的标准当前时间不一致,则根据所述服务器的标准当前时间,从界面库中确定与标准当前时间相关的图片作为所述目标开机界面。The fourth determination module is used to determine whether the received user information contains the current time information of the terminal if the user is logging in for the first time and the user information does not contain the current location information; if the current time information of the terminal is inconsistent with the standard current time of the server, then according to the standard current time of the server, determine the picture related to the standard current time from the interface library as the target boot interface.
第三方面,本发明还提供一种可读存储介质,其上存储有程序,所述程序被处理器执行时,实现本发明第一方面提供的开机界面确定方法的步骤。In a third aspect, the present invention further provides a readable storage medium having a program stored thereon, and when the program is executed by a processor, the steps of the method for determining a startup interface provided in the first aspect of the present invention are implemented.
第四方面,本发明还提供一种服务器,包括存储器和处理器,所述存储器用于存储程序,所述处理器用于执行所述程序,以实现本发明第一方面提供的开机界面确定方法的步骤。In a fourth aspect, the present invention further provides a server, comprising a memory and a processor, wherein the memory is used to store a program, and the processor is used to execute the program to implement the steps of the boot interface determination method provided in the first aspect of the present invention.
通过上述技术方案,若用户所在的企业属于非界面定制企业,则可以根据用户的历史登录记录进行个性化界面推荐计算,其中,个性化界面推荐计算的过程包括用户偏好矩阵分解计算、用户偏好关联计算以及目标开机界面匹配计算,确定匹配的目标开机界面,将目标开机界面发送至终端,以由终端展示目标开机界面。这样,可以对用户的开机界面进行个性化推荐计算,个性化推荐计算得到的界面更加符合用户的需求,满足用户的视觉需求,避免用户对单一开机界面的视觉疲劳,提高用户对应用程序的使用感受,选择出能够提升用户体验的开机界面。Through the above technical solution, if the enterprise where the user is located is a non-interface customization enterprise, a personalized interface recommendation calculation can be performed based on the user's historical login records, wherein the personalized interface recommendation calculation process includes user preference matrix decomposition calculation, user preference association calculation and target boot interface matching calculation, determining the matching target boot interface, and sending the target boot interface to the terminal, so that the terminal displays the target boot interface. In this way, a personalized recommendation calculation can be performed on the user's boot interface, and the interface obtained by the personalized recommendation calculation is more in line with the user's needs, meets the user's visual needs, avoids the user's visual fatigue of a single boot interface, improves the user's experience of using the application, and selects a boot interface that can enhance the user experience.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是开机界面确定方法的流程图。FIG. 1 is a flow chart of a method for determining a startup interface.
图2示出了个性化界面推荐计算的过程的流程图。FIG. 2 shows a flow chart of the process of calculating personalized interface recommendations.
图3示出了开机界面确定方法的整体流程图。FIG3 shows an overall flow chart of a method for determining a startup interface.
图4是开机界面确定系统的框图。FIG. 4 is a block diagram of a system for determining a startup interface.
具体实施方式DETAILED DESCRIPTION
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
需要说明的是,本发明中所有获取信号、信息或数据的动作都是在遵照所在地国家相应的数据保护法规政策的前提下,并获得由相应装置所有者给予授权的情况下进行的。It should be noted that all actions of acquiring signals, information or data in the present invention are performed in compliance with the corresponding data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
图1是开机界面确定方法的流程图,该方法可应用于服务器,如图1所示,开机界面确定方法可包括S101至S105。FIG. 1 is a flow chart of a method for determining a startup interface. The method may be applied to a server. As shown in FIG. 1 , the method for determining a startup interface may include S101 to S105 .
在S101中,接收终端发送的用户信息。In S101, user information sent by a terminal is received.
其中,终端响应于用户启动应用程序而获取用户信息,所述用户信息至少包括所述用户的企业组织信息。需要说明的是,用户信息是在通过用户授权的情况下而获取的。用户信息还可包括用户的当前位置信息、终端的时间信息等。示例地,在用户启动移动端应用程序的时候,通过安装时用户对应用程序的权限设置和平台对用户的组织架构配置,获取用户所属的企业组织信息、用户的实时位置信息和时间信息。Among them, the terminal obtains user information in response to the user launching the application, and the user information at least includes the enterprise organization information of the user. It should be noted that the user information is obtained with the authorization of the user. The user information may also include the user's current location information, the terminal's time information, etc. For example, when the user launches the mobile application, the enterprise organization information to which the user belongs, the user's real-time location information and time information are obtained through the user's permission settings for the application during installation and the platform's organizational structure configuration for the user.
终端在获取到用户信息后,可将用户信息上传至服务器,终端与服务器之间可通过任一通信方式进行通信连接。After obtaining the user information, the terminal can upload the user information to the server, and the terminal and the server can be connected in communication through any communication method.
在S102中,根据用户信息判断用户是否首次登录应用程序。In S102, it is determined based on the user information whether it is the first time for the user to log in to the application.
示例地,根据接收到的用户信息对服务器预留的用户信息进行判断,服务器是否有首次登录用户的历史信息,包括历史的开机记录和用户权限等信息,从而判断用户是否首次登录应用程序。For example, the user information reserved by the server is judged based on the received user information to determine whether the server has historical information of the user who logged in for the first time, including historical boot records and user permissions, so as to determine whether the user is logging in to the application for the first time.
在S103中,若用户不为首次登录用户,则根据用户的企业组织信息,判断用户所在的企业属于单一界面定制企业、多界面定制企业还是非界面定制企业。In S103, if the user is not a first-time login user, it is determined based on the user's corporate organization information whether the user's company is a single-interface customization company, a multi-interface customization company, or a non-interface customization company.
普通企业和界面定制企业均会在服务器录入和维护组织内所有用户的基本信息和权限范围。根据接收用户信息判断非首次登录用户的权限和组织定制信息。用户所属企业为界面定制企业或者非界面定制企业。其中,若为界面定制企业,服务器根据预留的企业开机界面定制信息,判断用户所属的企业定制类型,为单一界面定制企业还是多界面定制企业。单一界面定制企业即在服务器端存储有一个企业开机界面,多界面定制企即在服务器端存储有多个企业开机界面。Both ordinary enterprises and interface customized enterprises will enter and maintain the basic information and authority scope of all users in the organization on the server. The authority and organization customization information of users who are not logging in for the first time are determined based on the received user information. The enterprise to which the user belongs is an interface customized enterprise or a non-interface customized enterprise. Among them, if it is an interface customized enterprise, the server determines the type of enterprise customization to which the user belongs based on the reserved enterprise startup interface customization information, whether it is a single interface customized enterprise or a multi-interface customized enterprise. A single interface customized enterprise means that one enterprise startup interface is stored on the server side, and a multi-interface customized enterprise means that multiple enterprise startup interfaces are stored on the server side.
在S104中,若用户所在的企业属于非界面定制企业,则根据用户的历史登录记录进行个性化界面推荐计算。In S104, if the enterprise where the user is located is a non-interface customization enterprise, a personalized interface recommendation calculation is performed based on the user's historical login records.
其中,个性化界面推荐计算的过程包括用户偏好矩阵分解计算、用户偏好关联计算以及目标开机界面匹配计算。The process of personalized interface recommendation calculation includes user preference matrix decomposition calculation, user preference association calculation and target boot interface matching calculation.
在S105中,将目标开机界面发送至终端,以由终端展示目标开机界面。In S105 , the target startup interface is sent to the terminal, so that the terminal displays the target startup interface.
通过上述技术方案,若用户所在的企业属于非界面定制企业,则可以根据用户的历史登录记录进行个性化界面推荐计算,其中,个性化界面推荐计算的过程包括用户偏好矩阵分解计算、用户偏好关联计算以及目标开机界面匹配计算,确定匹配的目标开机界面,将目标开机界面发送至终端,以由终端展示目标开机界面。这样,可以对用户的开机界面进行个性化推荐计算,个性化推荐计算得到的界面更加符合用户的需求,满足用户的视觉需求,避免用户对单一开机界面的视觉疲劳,提高用户对应用程序的使用感受,选择出能够提升用户体验的开机界面。Through the above technical solution, if the enterprise where the user is located is a non-interface customization enterprise, a personalized interface recommendation calculation can be performed based on the user's historical login records, wherein the personalized interface recommendation calculation process includes user preference matrix decomposition calculation, user preference association calculation and target boot interface matching calculation, determining the matching target boot interface, and sending the target boot interface to the terminal, so that the terminal displays the target boot interface. In this way, a personalized recommendation calculation can be performed on the user's boot interface, and the interface obtained by the personalized recommendation calculation is more in line with the user's needs, meets the user's visual needs, avoids the user's visual fatigue of a single boot interface, improves the user's experience of using the application, and selects a boot interface that can enhance the user experience.
下面对本发明中个性化界面推荐计算的过程进行详细介绍。图2示出了个性化界面推荐计算的过程的流程图,如图2所示,个性化界面推荐计算的过程包括用户偏好矩阵分解计算、用户偏好关联计算以及目标开机界面匹配计算。The process of personalized interface recommendation calculation in the present invention is described in detail below. FIG2 shows a flowchart of the process of personalized interface recommendation calculation. As shown in FIG2, the process of personalized interface recommendation calculation includes user preference matrix decomposition calculation, user preference association calculation and target boot interface matching calculation.
其中,个性化界面推荐计算的过程中用户偏好矩阵分解计算包括如下步骤:Among them, the user preference matrix decomposition calculation in the process of personalized interface recommendation calculation includes the following steps:
针对m个用户中的每一用户,根据该用户分别对n种属性的开机界面的历史操作,确定该用户的开机界面显示记录I1j、I2j…Iij…Inj,其中,j表示第j个用户,Iij表示第j个用户对第i种属性的开机界面的显示记录,若该用户对第i种属性的开机界面未点击跳过,则将该用户对第i种属性的开机界面的显示记录增加预设数值,若该用户对第i种属性的开机界面点击跳过,则将该用户对第i种属性的开机界面的显示记录减去预设数值,m≥1,n≥1,i∈[1,n],j∈[1,m];For each of the m users, according to the historical operations of the user on the startup interfaces of n attributes, determine the startup interface display records I 1j , I 2j …I ij …I nj of the user, wherein j represents the j-th user, I ij represents the display record of the j-th user on the startup interface of the i-th attribute, if the user does not click to skip the startup interface of the i-th attribute, then the display record of the startup interface of the i-th attribute by the user is increased by a preset value, if the user clicks to skip the startup interface of the i-th attribute, then the display record of the startup interface of the i-th attribute by the user is subtracted by a preset value, m≥1, n≥1, i∈[1,n], j∈[1,m];
将m个用户各自对应的开机界面显示记录构建为用户偏好矩阵;The boot interface display records corresponding to each of the m users are constructed into a user preference matrix;
针对m个用户中的每一用户,计算该用户的开机总次数uj,其中,uj表示第j个用户的开机总次数, For each of the m users, calculate the total number of times u j the user is turned on, where u j represents the total number of times the jth user is turned on.
针对m个用户中的每一用户,计算该用户分别对n种属性的权重值wij,并根据权重值从大到小进行排序,将排名在前预设位数的权重值对应的属性作为该用户偏好的开机界面属性,其中,wij表示第j个用户对第i种属性的权重值。For each of the m users, the weight values w ij of the user for the n attributes are calculated, and the attributes corresponding to the weight values ranked in the front by a preset number of places are used as the boot interface attributes preferred by the user, where: w ij represents the weight value of the j-th user for the i-th attribute.
示例地,上述提及的预设数值可以为1,例如,服务器根据存储的用户信息以及以往的开机界面显示记录:用户开机界面记录中点击“跳过”,可判断为用户对相关题材及内容的图片不感兴趣,在用户相应属性下-1,;没有点击“跳过”,在相应属性权重+1,以形成用户开机界面显示记录。下表1是示例性示出了用户偏好矩阵,表1以预设数值为1为例进行构建。For example, the preset value mentioned above can be 1. For example, the server can determine that the user is not interested in pictures of related themes and contents by clicking "skip" in the boot interface record according to the stored user information and the previous boot interface display record. If the user clicks "skip" in the boot interface record, it can be determined that the user is not interested in pictures of related themes and contents, and the corresponding attribute of the user is -1; if the user does not click "skip", the corresponding attribute weight is +1 to form the user boot interface display record. Table 1 below is an exemplary user preference matrix, and Table 1 is constructed by taking the preset value of 1 as an example.
表1Table 1
如表1所示,例如对于用户u1,对属性为I1的界面未点击跳过1次,属性为I2的界面未在用户u1的开机界面中显示过,对属性为In的界面点击跳过1次。表1中其他记录值同理。As shown in Table 1, for example, for user u 1 , the interface with attribute I 1 was not clicked to skip once, the interface with attribute I 2 was not displayed in the startup interface of user u 1 , and the interface with attribute I n was clicked to skip once. The same is true for other record values in Table 1.
个性化界面推荐计算的过程中用户偏好关联计算包括如下步骤:The calculation of user preference association in the process of personalized interface recommendation calculation includes the following steps:
计算每两个用户之间的开机界面偏好相似度,其中,用户p与用户v之间的开机界面偏好相似度其中,N(p)表示用户p偏好的开机界面属性合集,N(v)表示用户v偏好的开机界面属性合集,N(p)∩N(v)表示用户p与用户v偏好相同开机界面属性的数量;Calculate the boot interface preference similarity between every two users, where the boot interface preference similarity between user p and user v is Wherein, N(p) represents the set of boot interface attributes preferred by user p, N(v) represents the set of boot interface attributes preferred by user v, and N(p)∩N(v) represents the number of boot interface attributes preferred by user p and user v.
针对n种属性的每一属性,计算该开机界面属性的用户合集N(i),其中,N(i)表示第i种开机界面属性的用户合集, For each of the n attributes, calculate the user set N(i) of the boot interface attribute, where N(i) represents the user set of the i-th boot interface attribute.
针对m个用户中的每一用户,确定k个与该用户的开机界面偏好相似度最高的用户合集,其中,S(u,k)表示与用户u的开机界面偏好相似度最高的k个用户,针对用户u的权重值wij为0的开机界面属性i,计算用户u对该开机界面属性i的感兴趣程度P(u,i),其中,P(u,i)=∑v∈S(u,k)∩N(i)wuv×rvi,rvi表示用户v对属性i的偏好程度。For each of the m users, determine the set of k users with the highest similarity to the user's boot interface preference, where S(u,k) represents the k users with the highest similarity to user u's boot interface preference. For the boot interface attribute i whose weight value w ij of user u is 0, calculate the user u's interest level P(u,i) in the boot interface attribute i, where P(u,i) = ∑ v∈S(u,k)∩N(i) w uv ×r vi , where r vi represents the user v's preference level for attribute i.
其中,如表1所示,例如对于用户u1,属性为I2的界面未在用户u1的开机界面中显示过,权重值为0,可通过与用户u1的开机界面偏好相似度最高的用户,来计算用户u1对属性为I2的开机界面的感兴趣程度。As shown in Table 1, for example, for user u 1 , the interface with attribute I 2 has never been displayed in the startup interface of user u 1 , and the weight value is 0. The user with the highest similarity to the startup interface preference of user u 1 can be used to calculate the interest level of user u 1 in the startup interface with attribute I 2 .
个性化界面推荐计算的过程中目标开机界面匹配计算包括如下步骤:The target boot interface matching calculation in the process of personalized interface recommendation calculation includes the following steps:
从1至Y的整数中随机生成一个整数数值x’,Y为正整数,x’∈(0,Y];Randomly generate an integer value x' from the integers from 1 to Y, where Y is a positive integer, x'∈(0,Y];
若x’属于范围T1,则选择用户偏好矩阵分解计算过程中得到的、权重值最高的用户偏好的开机界面属性,并匹配属于该属性的开机界面作为目标开机界面;If x' belongs to the range T1, then the user's preferred boot interface attribute with the highest weight value obtained in the user preference matrix decomposition calculation process is selected, and the boot interface belonging to the attribute is matched as the target boot interface;
若x’属于范围T2,则选择用户偏好关联计算过程中得到的、用户感兴趣程度最高的开机界面属性,并匹配属于该属性的开机界面作为目标开机界面,其中,T1∈(0,X],T2∈(X,Y],X为预设的从1至Y中的的整数。If x' belongs to the range T2, the boot interface attribute with the highest user interest obtained in the user preference association calculation process is selected, and the boot interface belonging to the attribute is matched as the target boot interface, where T1∈(0,X], T2∈(X,Y], X is a preset integer from 1 to Y.
图3示出了开机界面确定方法的整体流程图,如图2所示,本发明提供的开机界面确定方法还可包括:FIG3 shows an overall flow chart of the method for determining a startup interface. As shown in FIG2 , the method for determining a startup interface provided by the present invention may further include:
若用户所在的企业属于多界面定制企业,则判断接收到的所述用户信息中是否包含所述用户的当前位置信息;If the enterprise where the user is located is a multi-interface customized enterprise, determining whether the received user information contains the current location information of the user;
若用户所在的企业属于多界面定制企业且所述用户信息中不包含所述当前位置信息,则根据所述用户的历史登录记录进行个性化界面推荐计算,以确定所述目标开机界面;If the enterprise where the user is located is a multi-interface customization enterprise and the user information does not include the current location information, a personalized interface recommendation calculation is performed based on the user's historical login records to determine the target startup interface;
若用户所在的企业属于多界面定制企业且所述用户信息中包含所述当前位置信息,则根据所述用户的当前位置信息,判断所述企业定制图片库中是否存在位置标识与所述当前位置信息小于预设距离阈值的图片;If the enterprise where the user is located is a multi-interface customized enterprise and the user information includes the current location information, then judging whether there is a picture in the enterprise customized picture library whose location identifier is less than a preset distance threshold from the current location information according to the current location information of the user;
若存在,则将位置标识与所述当前位置信息小于所述预设距离阈值的图片作为所述目标开机界面;If so, the image whose location identifier and the current location information are less than the preset distance threshold is used as the target startup interface;
若不存在,则根据所述用户的历史登录记录进行个性化界面推荐计算,以确定所述目标开机界面。If it does not exist, a personalized interface recommendation calculation is performed based on the historical login records of the user to determine the target startup interface.
其中,用户的当前位置信息可由三种方式提供,包含卫星定位、基站定位和混合定位等。其中,卫星定位需要用户在户外使用移动端定位功能提供,混合定位信息由WiFi、IP地址基站等提供。The user's current location information can be provided by three methods, including satellite positioning, base station positioning and hybrid positioning, etc. Satellite positioning requires users to use the mobile terminal positioning function outdoors, and hybrid positioning information is provided by WiFi, IP address base stations, etc.
其中,预设距离阈值可以预先设置,位置标识与当前位置信息小于预设距离阈值的图片,可表征该图片为与用户实时位置相近的图片,如果企业定制图片库中存在这样的图片,可将该图片作为目标开机界面。例如,用户当前位置信息为超市,目标开机界面可以为超市或商场的宣传图片、促销图片,例如用户当前位置信息为公园,目标开机界面可以为附近公园的风景图片。如果企业定制图片库中不存在用户附近的图片,可根据用户的历史登录信息筛选目标开机界面,用户未点击跳过可表征用户对该图片感兴趣,可从用户未点击跳过的界面中确定目标开机界面,以使开机界面满足用户体验。Among them, the preset distance threshold can be set in advance, and the picture whose location identifier and current location information are less than the preset distance threshold can be characterized as a picture close to the user's real-time location. If such a picture exists in the enterprise-customized picture library, the picture can be used as the target boot interface. For example, if the user's current location information is a supermarket, the target boot interface can be a publicity picture or promotional picture of the supermarket or shopping mall. For example, if the user's current location information is a park, the target boot interface can be a landscape picture of a nearby park. If there are no pictures near the user in the enterprise-customized picture library, the target boot interface can be filtered according to the user's historical login information. The user's failure to click to skip can indicate that the user is interested in the picture. The target boot interface can be determined from the interface where the user did not click to skip, so that the boot interface meets the user experience.
本发明提供的开机界面确定方法还可包括:The boot interface determination method provided by the present invention may also include:
若所述用户不为首次登录用户,且用户所在的企业属于单一界面定制企业,则将所述企业定制的界面图片作为所述目标开机界面;If the user is not a first-time login user, and the enterprise the user belongs to is a single-interface customized enterprise, the interface picture customized by the enterprise is used as the target startup interface;
若所述用户为首次登录用户,则判断接收到的所述用户信息中是否包含所述用户的当前位置信息;If the user is logging in for the first time, determining whether the received user information contains the current location information of the user;
若所述用户为首次登录用户,且所述用户信息中包含所述当前位置信息,则从界面库中确定与所述当前位置信息相关的图片作为所述目标开机界面;If the user is logging in for the first time, and the user information includes the current location information, determining a picture related to the current location information from an interface library as the target startup interface;
若所述用户为首次登录用户,且所述用户信息中不包含所述当前位置信息,则判断接收到的所述用户信息中是否包含终端的当前时间信息,若终端的当前时间信息与所述服务器的标准当前时间不一致,则根据所述服务器的标准当前时间,从界面库中确定与标准当前时间相关的图片作为所述目标开机界面。If the user is logging in for the first time and the user information does not include the current location information, determine whether the received user information includes the current time information of the terminal; if the current time information of the terminal is inconsistent with the standard current time of the server, determine the picture related to the standard current time from the interface library as the target startup interface based on the standard current time of the server.
其中,与当前位置信息相关的图片可以是当前位置附近的图片,例如用户当前位置信息为超市,与当前位置信息相关的图片可以为超市或商场的宣传图片、促销图片。Among them, the pictures related to the current location information may be pictures near the current location. For example, if the user's current location information is a supermarket, the pictures related to the current location information may be publicity pictures or promotional pictures of the supermarket or shopping mall.
由于终端的时间信息可以由用户手动修改,因此终端的当前时间信息可能不是标准时间,为了保证时间信息的准确性,若终端的当前时间信息与服务器的标准当前时间不一致,则根据服务器的标准当前时间,从界面库中确定与标准当前时间相关的图片作为所述目标开机界面。其中,与标准当前时间相关的图片例如可以是就近的24节气图片,或者最近的节假日图片等表征时间的图片。Since the time information of the terminal can be manually modified by the user, the current time information of the terminal may not be the standard time. In order to ensure the accuracy of the time information, if the current time information of the terminal is inconsistent with the standard current time of the server, a picture related to the standard current time is determined from the interface library according to the standard current time of the server as the target boot interface. The picture related to the standard current time can be, for example, the nearest 24 solar terms pictures, or the nearest holiday pictures and other pictures representing time.
基于同一发明构思,本发明还提供一种开机界面确定系统,图4是开机界面确定系统的框图,如图4所示该系统300可包括:Based on the same inventive concept, the present invention also provides a system for determining a startup interface. FIG. 4 is a block diagram of the system for determining a startup interface. As shown in FIG. 4 , the system 300 may include:
用户信息接收模块301,用于接收终端发送的用户信息,其中,所述终端响应于用户启动应用程序而获取所述用户信息,所述用户信息至少包括所述用户的企业组织信息;A user information receiving module 301 is used to receive user information sent by a terminal, wherein the terminal obtains the user information in response to the user starting an application, and the user information at least includes the enterprise organization information of the user;
登录判断模块302,用于根据所述用户信息判断所述用户是否首次登录所述应用程序;A login determination module 302 is used to determine whether the user logs into the application for the first time according to the user information;
企业定制信息判断模块303,用于若所述用户不为首次登录用户,则根据所述用户的企业组织信息,判断用户所在的企业属于单一界面定制企业、多界面定制企业还是非界面定制企业;The enterprise customization information determination module 303 is used to determine whether the enterprise of the user belongs to a single-interface customization enterprise, a multi-interface customization enterprise or a non-interface customization enterprise according to the enterprise organization information of the user if the user is not a first-time login user;
个性化界面推荐计算模块304,用于若用户所在的企业属于非界面定制企业,则根据所述用户的历史登录记录进行个性化界面推荐计算,其中,个性化界面推荐计算的过程包括用户偏好矩阵分解计算、用户偏好关联计算以及目标开机界面匹配计算;The personalized interface recommendation calculation module 304 is used to perform personalized interface recommendation calculation based on the user's historical login records if the enterprise where the user is located is a non-customized interface enterprise, wherein the personalized interface recommendation calculation process includes user preference matrix decomposition calculation, user preference association calculation and target boot interface matching calculation;
界面发送模块305,用于将所述目标开机界面发送至所述终端,以由所述终端展示所述目标开机界面。The interface sending module 305 is used to send the target startup interface to the terminal so that the terminal displays the target startup interface.
可选地,所述个性化界面推荐计算模块304包括用户偏好矩阵分解计算模块,所述用户偏好矩阵分解计算模块用于:Optionally, the personalized interface recommendation calculation module 304 includes a user preference matrix decomposition calculation module, and the user preference matrix decomposition calculation module is used to:
针对m个用户中的每一用户,根据该用户分别对n种属性的开机界面的历史操作,确定该用户的开机界面显示记录I1j、I2j…Iij…Inj,其中,j表示第j个用户,Iij表示第j个用户对第i种属性的开机界面的显示记录,若该用户对第i种属性的开机界面未点击跳过,则将该用户对第i种属性的开机界面的显示记录增加预设数值,若该用户对第i种属性的开机界面点击跳过,则将该用户对第i种属性的开机界面的显示记录减去预设数值,m≥1,n≥1,i∈[1,n],j∈[1,m];For each of the m users, according to the historical operations of the user on the startup interfaces of n attributes, determine the startup interface display records I 1j , I 2j …I ij …I nj of the user, wherein j represents the j-th user, I ij represents the display record of the j-th user on the startup interface of the i-th attribute, if the user does not click to skip the startup interface of the i-th attribute, then the display record of the startup interface of the i-th attribute by the user is increased by a preset value, if the user clicks to skip the startup interface of the i-th attribute, then the display record of the startup interface of the i-th attribute by the user is subtracted by a preset value, m≥1, n≥1, i∈[1,n], j∈[1,m];
将m个用户各自对应的开机界面显示记录构建为用户偏好矩阵;The boot interface display records corresponding to each of the m users are constructed into a user preference matrix;
针对m个用户中的每一用户,计算该用户的开机总次数uj,其中,uj表示第j个用户的开机总次数, For each of the m users, calculate the total number of times u j the user is turned on, where u j represents the total number of times the jth user is turned on.
针对m个用户中的每一用户,计算该用户分别对n种属性的权重值wij,并根据权重值从大到小进行排序,将排名在前预设位数的权重值对应的属性作为该用户偏好的开机界面属性,其中,wij表示第j个用户对第i种属性的权重值。For each of the m users, the weight values w ij of the user for the n attributes are calculated, and the attributes corresponding to the weight values ranked in the front by a preset number of places are used as the boot interface attributes preferred by the user, where: w ij represents the weight value of the j-th user for the i-th attribute.
可选地,所述个性化界面推荐计算模块304包括用户偏好关联计算模块,所述用户偏好关联计算模块用于:Optionally, the personalized interface recommendation calculation module 304 includes a user preference association calculation module, and the user preference association calculation module is used to:
计算每两个用户之间的开机界面偏好相似度,其中,用户p与用户v之间的开机界面偏好相似度其中,N(p)表示用户p偏好的开机界面属性合集,N(v)表示用户v偏好的开机界面属性合集,N(p)∩N(v)表示用户p与用户v偏好相同开机界面属性的数量;Calculate the boot interface preference similarity between every two users, where the boot interface preference similarity between user p and user v is Wherein, N(p) represents the set of boot interface attributes preferred by user p, N(v) represents the set of boot interface attributes preferred by user v, and N(p)∩N(v) represents the number of boot interface attributes preferred by user p and user v.
针对n种属性的每一属性,计算该开机界面属性的用户合集N(i),其中,N(i)表示第i种开机界面属性的用户合集, For each of the n attributes, calculate the user set N(i) of the boot interface attribute, where N(i) represents the user set of the i-th boot interface attribute.
针对m个用户中的每一用户,确定k个与该用户的开机界面偏好相似度最高的用户合集,其中,S(u,k)表示与用户u的开机界面偏好相似度最高的k个用户,针对用户u的权重值wij为0的开机界面属性i,计算用户u对该开机界面属性i的感兴趣程度P(u,i),其中,P(u,i)=∑v∈S(u,k)∩N(i)wuv×rvi,rvi表示用户v对属性i的偏好程度。For each of the m users, determine the set of k users with the highest similarity to the user's boot interface preference, where S(u,k) represents the k users with the highest similarity to user u's boot interface preference. For the boot interface attribute i whose weight value w ij of user u is 0, calculate the user u's interest level P(u,i) in the boot interface attribute i, where P(u,i) = ∑ v∈S(u,k)∩N(i) w uv ×r vi , where r vi represents the user v's preference level for attribute i.
可选地,所述个性化界面推荐计算模块304包括目标开机界面匹配计算模块,所述目标开机界面匹配计算用于:Optionally, the personalized interface recommendation calculation module 304 includes a target boot interface matching calculation module, and the target boot interface matching calculation module is used to:
从1至Y的整数中随机生成一个整数数值x’,Y为正整数,x’∈(0,Y];Randomly generate an integer value x' from the integers from 1 to Y, where Y is a positive integer, x'∈(0,Y];
若x’属于范围T1,则选择用户偏好矩阵分解计算过程中得到的、权重值最高的用户偏好的开机界面属性,并匹配属于该属性的开机界面作为目标开机界面;If x' belongs to the range T1, then the user's preferred boot interface attribute with the highest weight value obtained in the user preference matrix decomposition calculation process is selected, and the boot interface belonging to the attribute is matched as the target boot interface;
若x’属于范围T2,则选择用户偏好关联计算过程中得到的、用户感兴趣程度最高的开机界面属性,并匹配属于该属性的开机界面作为目标开机界面,其中,T1∈(0,X],T2∈(X,Y],X为预设的从1至Y中的的整数。If x' belongs to the range T2, the boot interface attribute with the highest user interest obtained in the user preference association calculation process is selected, and the boot interface belonging to the attribute is matched as the target boot interface, where T1∈(0,X], T2∈(X,Y], X is a preset integer from 1 to Y.
可选地,所述系统还包括:Optionally, the system further comprises:
第一判断模块,用于若用户所在的企业属于多界面定制企业,则判断接收到的所述用户信息中是否包含所述用户的当前位置信息;A first judgment module is used to judge whether the received user information contains the current location information of the user if the enterprise where the user is located is a multi-interface customization enterprise;
个性化界面推荐计算模块304,还用于若用户所在的企业属于多界面定制企业且所述用户信息中不包含所述当前位置信息,则根据所述用户的历史登录记录进行个性化界面推荐计算,以确定所述目标开机界面;The personalized interface recommendation calculation module 304 is further configured to perform personalized interface recommendation calculation based on the user's historical login records to determine the target boot interface if the enterprise where the user is located is a multi-interface customization enterprise and the user information does not include the current location information;
第二判断模块,用于若用户所在的企业属于多界面定制企业且所述用户信息中包含所述当前位置信息,则根据所述用户的当前位置信息,判断所述企业定制图片库中是否存在位置标识与所述当前位置信息小于预设距离阈值的图片;A second judgment module is used to judge whether there is a picture in the enterprise customized picture library whose location identifier is less than a preset distance threshold from the current location information according to the current location information of the user if the enterprise where the user is located is a multi-interface customized enterprise and the user information contains the current location information;
第一确定模块,用于若存在,则将位置标识与所述当前位置信息小于所述预设距离阈值的图片作为所述目标开机界面;A first determining module, configured to use, if any, a picture whose location identifier and current location information are less than a preset distance threshold as the target startup interface;
个性化界面推荐计算模块304,还用于若不存在,则根据所述用户的历史登录记录进行个性化界面推荐计算,以确定所述目标开机界面。The personalized interface recommendation calculation module 304 is further used to perform personalized interface recommendation calculation according to the historical login records of the user to determine the target startup interface if it does not exist.
可选地,所述系统还包括:Optionally, the system further comprises:
第二确定模块,用于若所述用户不为首次登录用户,且用户所在的企业属于单一界面定制企业,则将所述企业定制的界面图片作为所述目标开机界面;The second determination module is used to use the interface picture customized by the enterprise as the target boot interface if the user is not a first-time login user and the enterprise where the user is located is a single-interface customized enterprise;
第三判断模块,用于若所述用户为首次登录用户,则判断接收到的所述用户信息中是否包含所述用户的当前位置信息;A third judgment module is used to judge whether the received user information contains the current location information of the user if the user is logging in for the first time;
第三确定模块,用于若所述用户为首次登录用户,且所述用户信息中包含所述当前位置信息,则从界面库中确定与所述当前位置信息相关的图片作为所述目标开机界面;A third determining module is used to determine, if the user is a first-time login user and the user information includes the current location information, a picture related to the current location information from an interface library as the target startup interface;
第四确定模块,用于若所述用户为首次登录用户,且所述用户信息中不包含所述当前位置信息,则判断接收到的所述用户信息中是否包含终端的当前时间信息,若终端的当前时间信息与所述服务器的标准当前时间不一致,则根据所述服务器的标准当前时间,从界面库中确定与标准当前时间相关的图片作为所述目标开机界面。The fourth determination module is used to determine whether the received user information contains the current time information of the terminal if the user is logging in for the first time and the user information does not contain the current location information; if the current time information of the terminal is inconsistent with the standard current time of the server, then according to the standard current time of the server, determine the picture related to the standard current time from the interface library as the target boot interface.
本实施例公开了一种可读存储介质,其上存储有程序,所述程序被处理器执行时,实现如上述的开机界面确定方法的各个步骤。开机界面确定设备集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过程序来指令相关的硬件来完成,程序可存储于一可读存储介质中,该程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,程序包括程序代码,程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。可读介质可以包括:能够携带程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)以及软件分发介质等。This embodiment discloses a readable storage medium, on which a program is stored, and when the program is executed by a processor, the various steps of the boot interface determination method as described above are implemented. If the module/unit integrated in the boot interface determination device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a program. The program can be stored in a readable storage medium, and when the program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the program includes program code, and the program code can be in source code form, object code form, executable file or some intermediate form, etc. The readable medium may include: any entity or device capable of carrying program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory) and software distribution medium, etc.
本实施例还公开了一种服务器,包括存储器和处理器,所述存储器用于存储程序,所述处理器用于执行所述程序,以实现上述的开机界面确定方法的各个步骤。This embodiment also discloses a server, including a memory and a processor, wherein the memory is used to store a program, and the processor is used to execute the program to implement each step of the above-mentioned startup interface determination method.
进一步地,作为一个可执行方案,处理器可以是中央处理单元(CentralProcessing Unit,CPU),还可以是其他通用处理器、数字信号处理器(DigitalSignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,处理器是开机界面确定设备的控制中心,利用各种接口和线路连接整个开机界面确定设备的各个部分。Further, as an executable solution, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor is the control center of the boot interface determination device, and uses various interfaces and lines to connect various parts of the entire boot interface determination device.
存储器可用于存储程序和/或模块,处理器通过运行或执行存储在存储器内的程序和/或模块,以及调用存储在存储器内的数据,实现开机界面确定设备的各种功能。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据手机的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can be used to store programs and/or modules. The processor implements various functions of the boot interface determination device by running or executing the programs and/or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210672362.XA CN115048152B (en) | 2022-06-14 | 2022-06-14 | Method, system, storage medium and server for determining boot interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210672362.XA CN115048152B (en) | 2022-06-14 | 2022-06-14 | Method, system, storage medium and server for determining boot interface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115048152A CN115048152A (en) | 2022-09-13 |
| CN115048152B true CN115048152B (en) | 2024-11-08 |
Family
ID=83161080
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210672362.XA Active CN115048152B (en) | 2022-06-14 | 2022-06-14 | Method, system, storage medium and server for determining boot interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115048152B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111752639A (en) * | 2020-06-28 | 2020-10-09 | 中国银行股份有限公司 | Open screen content recommendation method and device |
| CN113835801A (en) * | 2021-08-27 | 2021-12-24 | 阿里巴巴(中国)有限公司 | Method and device for interface customization processing aiming at cloud desktop |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101320325A (en) * | 2007-06-07 | 2008-12-10 | 江苏省金思维信息技术有限公司 | Operation interface personalized dynamic customization method for management software system |
| CN106775627A (en) * | 2016-11-16 | 2017-05-31 | 北京金和网络股份有限公司 | The method for flexibly controlling mobile APP showing interfaces |
| US11226831B2 (en) * | 2016-12-05 | 2022-01-18 | Facebook, Inc. | Customizing content based on predicted user preferences |
| CN108052362A (en) * | 2017-11-27 | 2018-05-18 | 北京天融信网络安全技术有限公司 | A kind of method and device at customization customer end subscriber interface |
| CN110233879B (en) * | 2019-05-22 | 2023-05-30 | 平安银行股份有限公司 | Intelligent interface pushing method and device, computer equipment and storage medium |
| US11334808B2 (en) * | 2019-09-27 | 2022-05-17 | Td Ameritrade Ip Company, Inc. | User interface system incorporating analysis of user interaction classification |
| CN113343091A (en) * | 2021-06-22 | 2021-09-03 | 力合科创集团有限公司 | Industrial and enterprise oriented science and technology service recommendation calculation method, medium and program |
-
2022
- 2022-06-14 CN CN202210672362.XA patent/CN115048152B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111752639A (en) * | 2020-06-28 | 2020-10-09 | 中国银行股份有限公司 | Open screen content recommendation method and device |
| CN113835801A (en) * | 2021-08-27 | 2021-12-24 | 阿里巴巴(中国)有限公司 | Method and device for interface customization processing aiming at cloud desktop |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115048152A (en) | 2022-09-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9807155B1 (en) | Device capability filtering | |
| US10462242B2 (en) | Recommendations for shareable links to content items stored in an online content management service | |
| US10614197B2 (en) | Monitored shareable links to content items stored in an online content management service | |
| CN102263810B (en) | Systems and methods for permissions-based profile repository service | |
| CN104704522B (en) | Recommend native applications | |
| JP2018117370A (en) | Dynamic telephone number assignment | |
| US20230334540A1 (en) | Price estimation system | |
| US20150310556A1 (en) | Homeowners Application Process Using Geotagged Photos | |
| CN109791562A (en) | Improving post-installation application interaction | |
| US10248802B2 (en) | Digital rights management using geographic and temporal traits | |
| CN109241768B (en) | Love information processing method, device, equipment and storage medium | |
| CN107454126B (en) | Message pushing method, server and terminal | |
| KR20130128379A (en) | User list generation and identification | |
| CN112260933A (en) | Communication method, communication device, electronic equipment and medium | |
| US20220398345A1 (en) | Transparent reporting and control of personal data used to deliver targeted content | |
| KR20170075952A (en) | Method for providing interface of direct transaction based on reliability estimation and server implementing the same | |
| CN107590682B (en) | Advertisement putting method, server, hotspot device and system | |
| CN108684044A (en) | A kind of user behavior detecting system, method and device | |
| JP4271722B1 (en) | Image recognition information system, information server, information providing method, and information providing program | |
| CN115048152B (en) | Method, system, storage medium and server for determining boot interface | |
| US9525687B2 (en) | Template for customer attributes | |
| CN116091136B (en) | Telephone marketing method and device based on speaker | |
| US20190370850A1 (en) | Reliability metrics for real-time auctions | |
| GB2511749A (en) | Webform monitoring | |
| CN111077991B (en) | A kind of point reading control method and terminal equipment |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |