CN105187495A - Information recommendation method and device, terminal device and server - Google Patents
Information recommendation method and device, terminal device and server Download PDFInfo
- Publication number
- CN105187495A CN105187495A CN201510482558.2A CN201510482558A CN105187495A CN 105187495 A CN105187495 A CN 105187495A CN 201510482558 A CN201510482558 A CN 201510482558A CN 105187495 A CN105187495 A CN 105187495A
- Authority
- CN
- China
- Prior art keywords
- information
- terminal device
- recommendation information
- feature
- recommendation
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000004891 communication Methods 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000009434 installation Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003997 social interaction Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例提供的信息推荐方法及装置、终端设备、服务器,可以在终端设备显示锁定界面时,获得根据终端设备中安装的应用程序确定的推荐信息特征并发送到服务器,将服务器反馈的与推荐信息特征匹配的推荐信息显示在锁定界面上。由于本发明的推荐信息显示在了锁定界面上,因此和锁定界面融合在了一起,用户在当前的锁定界面中就可以看到推荐信息。由于没有采用弹窗、短信等通知形式向用户推荐信息,因此不会给用户以“突然冒出”的感觉,降低了对用户正常使用终端设备的影响,同时,推荐信息的成功率也较高。
The information recommendation method and device, terminal device, and server provided by the embodiments of the present invention can obtain the recommended information features determined according to the application programs installed in the terminal device and send them to the server when the terminal device displays the lock interface, and send the information fed back by the server to the The recommended information matching the recommended information features is displayed on the locked interface. Since the recommendation information of the present invention is displayed on the lock interface, it is integrated with the lock interface, and the user can see the recommendation information in the current lock interface. Since there is no pop-up window, SMS and other notification forms to recommend information to users, it will not give users the feeling of "popping out of nowhere", which reduces the impact on users' normal use of terminal equipment. At the same time, the success rate of recommended information is also high. .
Description
技术领域technical field
本发明涉及信息推荐技术领域,特别是涉及信息推荐方法及装置、终端设备、服务器。The present invention relates to the technical field of information recommendation, in particular to an information recommendation method and device, a terminal device, and a server.
背景技术Background technique
随着科技的发展,信息的重要性也越来越高。With the development of technology, the importance of information is also increasing.
现有的信息推荐技术常通过弹窗、短信等通知形式将所要推荐的信息展示在用户的终端设备中,但这种方式将影响用户对终端设备的正常使用,用户感受较差,也使得现有技术推荐信息的成功率较低。The existing information recommendation technology usually displays the recommended information on the user's terminal device through pop-up windows, short messages, etc. The success rate of those with technical referral information is lower.
发明内容Contents of the invention
本发明实施例的目的在于提供一种信息推荐方法及装置、终端设备、服务器,以降低对用户正常使用终端设备的影响。The purpose of the embodiments of the present invention is to provide an information recommendation method and device, a terminal device, and a server, so as to reduce the impact on the normal use of the terminal device by the user.
为达到上述目的,本发明实施例公开了一种信息推荐方法,应用于终端设备,所述终端设备与服务器通信连接,所述方法包括:In order to achieve the above purpose, an embodiment of the present invention discloses an information recommendation method, which is applied to a terminal device, and the terminal device communicates with a server, and the method includes:
在所述终端设备显示锁定界面时,获得根据所述终端设备中安装的应用程序确定的推荐信息特征;When the terminal device displays the locking interface, obtain recommended information features determined according to the application programs installed in the terminal device;
向所述服务器发送携带有所述推荐信息特征的推荐信息请求;sending a recommendation information request carrying the characteristics of the recommendation information to the server;
接收所述服务器反馈的与所述推荐信息特征匹配的推荐信息;receiving recommendation information fed back by the server that matches the characteristics of the recommendation information;
将接收的推荐信息显示在所述锁定界面上。The received recommendation information is displayed on the locking interface.
可选的,所述锁定界面为对应用程序的锁定界面或对所述终端设备的锁定界面。Optionally, the lock interface is a lock interface for applications or a lock interface for the terminal device.
可选的,在所述锁定界面为对应用程序的锁定界面时,所述推荐信息特征,包括:第一特征、第二特征、第三特征、第四特征、第五特征中的至少一个;在所述锁定界面为对所述终端设备的锁定界面时,所述推荐信息特征,包括:第一特征、第二特征、第三特征、第五特征中的至少一个;Optionally, when the locking interface is an application locking interface, the recommended information features include: at least one of the first feature, the second feature, the third feature, the fourth feature, and the fifth feature; When the locking interface is a locking interface for the terminal device, the recommended information features include: at least one of a first feature, a second feature, a third feature, and a fifth feature;
所述第一特征为:所述终端设备中预设时间段内开启次数最多的应用程序所属的应用程序类别;The first feature is: the application category to which the application that has been opened the most times within a preset period of time in the terminal device belongs to;
所述第二特征为:所述终端设备中预设时间段内前台运行时间最长的应用程序所属的应用程序类别;The second feature is: the application category of the application in the terminal device that has the longest foreground running time within a preset period of time;
所述第三特征为:对所述终端设备安装的应用程序所属的应用程序类别统计后确定的所对应的应用程序最多的应用程序类别;The third feature is: the application program category with the most corresponding application programs determined after counting the application program categories to which the application programs installed on the terminal device belong;
所述第四特征为:所述锁定界面锁定的应用程序所属的应用程序类别;The fourth feature is: the application category to which the application locked by the locking interface belongs;
所述第五特征为:所述终端设备安装的应用程序的界面中显示的文字。The fifth feature is: the text displayed on the interface of the application program installed on the terminal device.
可选的,所述将接收的推荐信息显示在所述锁定界面上,包括:Optionally, the recommendation information to be received is displayed on the locking interface, including:
将接收的推荐信息显示在所述锁定界面的非解锁功能区中;displaying the received recommendation information in the non-unlocked functional area of the locked interface;
和/或,and / or,
将接收的推荐信息显示在所述锁定界面的解锁功能区中。The received recommendation information is displayed in the unlocking functional area of the locking interface.
可选的,在所述将接收的推荐信息显示在所述锁定界面上包括将接收的推荐信息显示在所述锁定界面的解锁功能区中时,所述解锁功能区为九宫格样式的解锁功能区,所述将接收的推荐信息显示在所述锁定界面的解锁功能区中,包括:Optionally, when the displaying the received recommendation information on the locking interface includes displaying the received recommendation information in the unlocking functional area of the locking interface, the unlocking functional area is an unlocking functional area in a Jiugongge style , the recommendation information to be received is displayed in the unlock function area of the lock interface, including:
将接收的推荐信息显示在所述锁定界面的九宫格样式解锁功能区的至少一个宫格所在区域中。The received recommendation information is displayed in the area where at least one grid is located in the nine-grid-style unlocking functional area of the locking interface.
可选的,在将接收的推荐信息显示在所述锁定界面的九宫格样式解锁功能区的至少一个宫格所在区域中后,所述方法还包括:Optionally, after displaying the received recommendation information in the area where at least one grid is located in the nine-grid style unlocking functional area of the locking interface, the method further includes:
接收滑动解锁操作,根据所述滑动解锁操作确定操作参数;receiving a sliding unlock operation, and determining an operating parameter according to the sliding unlock operation;
根据所述操作参数对所述滑动解锁操作当前触及的宫格所在区域中的推荐信息进行切换。The recommendation information in the area where the grid currently touched by the sliding unlock operation is switched according to the operation parameter.
可选的,确定的所述操作参数为当前滑动方向,所述根据所述操作参数对所述滑动解锁操作当前触及的宫格所在区域中的推荐信息进行切换,包括:Optionally, the determined operating parameter is the current sliding direction, and the switching of the recommended information in the area where the grid currently touched by the sliding unlock operation according to the operating parameter includes:
根据所述当前滑动方向将所述滑动解锁操作当前触及的宫格所在的区域中的推荐信息切换为具有与所述当前滑动方向相匹配的动画效果的推荐信息。According to the current sliding direction, the recommendation information in the area where the grid grid currently touched by the sliding unlock operation is switched to the recommendation information having an animation effect matching the current sliding direction.
可选的,所述终端设备接收的推荐信息为多个具有动画效果的推荐信息,所述将接收的推荐信息显示在至少一个宫格所在区域中,包括:Optionally, the recommendation information received by the terminal device is a plurality of recommendation information with animation effects, and the received recommendation information is displayed in the area where at least one grid is located, including:
接收滑动解锁操作,将接收的具有动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格。Receive the sliding unlock operation, and display the received recommendation information with animation effect in the area where the grid currently touched by the slide unlock operation is located, wherein the grid currently touched is the nine-grid style unlocking functional area of the locking interface Palace grid.
可选的,所述接收滑动解锁操作,将接收的具有动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格,包括:Optionally, when receiving the sliding unlock operation, the received recommendation information with animation effect is displayed in the area where the grid currently touched by the slide unlock operation is located, wherein the grid currently touched is the Jiugong grid of the locking interface Styles unlock grids in the ribbon, including:
接收滑动解锁操作,根据所述滑动解锁操作确定当前滑动方向;receiving a sliding unlock operation, and determining the current sliding direction according to the sliding unlock operation;
根据所述当前滑动方向将接收的推荐信息中具有与所述当前滑动方向相匹配的动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格。According to the current sliding direction, among the received recommended information, the recommended information having an animation effect matching the current sliding direction is displayed in the area where the grid currently touched by the slide to unlock operation is located, wherein the currently touched grid is located. Unlock the grid in the functional area for the nine-grid style of the locked interface.
一种信息推荐方法,应用于服务器,所述服务器与第一终端设备通信连接,所述方法包括:A method for recommending information, applied to a server, where the server communicates with a first terminal device, and the method includes:
接收所述第一终端设备发送的携带有推荐信息特征的推荐信息请求,所述推荐信息特征是所述第一终端设备在显示锁定界面时根据所述第一终端设备中安装的应用程序确定的;receiving a recommendation information request sent by the first terminal device and carrying a recommendation information feature, the recommendation information feature being determined by the first terminal device according to the application program installed in the first terminal device when the lock interface is displayed ;
根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息;According to the recommended information features in the recommended information request, determine the recommended information that matches the recommended information features;
将所确定的推荐信息发送到所述第一终端设备,以使所述第一终端设备将所述服务器发送的推荐信息显示在所述锁定界面上。Sending the determined recommendation information to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the locking interface.
可选的,所述服务器中保存有多个推荐信息模板,所述服务器还与第二终端设备通信连接,所述方法还包括:Optionally, multiple recommended information templates are stored in the server, and the server is also communicatively connected to the second terminal device, and the method further includes:
接收所述第二终端设备发送的对所述推荐信息模板的选择指令,将所述选择指令选择的推荐信息模板发送到所述第二终端设备;receiving a selection instruction for the recommended information template sent by the second terminal device, and sending the recommended information template selected by the selection instruction to the second terminal device;
接收所述第二终端设备上传的第一推荐信息,所述第一推荐信息根据所述选择指令选择的推荐信息模板制作得到;receiving first recommendation information uploaded by the second terminal device, where the first recommendation information is prepared according to the recommendation information template selected by the selection instruction;
存储所述第一推荐信息。The first recommendation information is stored.
一种信息推荐装置,应用于终端设备,所述终端设备与服务器通信连接,所述装置包括:特征获得单元、请求发送单元、第一信息接收单元和信息显示单元,An information recommendation device, applied to a terminal device, where the terminal device is communicatively connected to a server, and the device includes: a feature obtaining unit, a request sending unit, a first information receiving unit, and an information display unit,
所述特征获得单元,用于在所述终端设备显示锁定界面时,获得根据所述终端设备中安装的应用程序确定的推荐信息特征;The feature obtaining unit is configured to obtain the recommended information feature determined according to the application program installed in the terminal device when the terminal device displays a locking interface;
所述请求发送单元,用于向所述服务器发送携带有所述推荐信息特征的推荐信息请求;The request sending unit is configured to send a recommendation information request carrying the characteristics of the recommendation information to the server;
所述第一信息接收单元,用于接收所述服务器反馈的与所述推荐信息特征匹配的推荐信息;The first information receiving unit is configured to receive recommendation information fed back by the server that matches the characteristics of the recommendation information;
所述信息显示单元,用于将接收的推荐信息显示在所述锁定界面上。The information display unit is configured to display the received recommendation information on the locking interface.
可选的,所述锁定界面为对应用程序的锁定界面或对所述终端设备的锁定界面。Optionally, the lock interface is a lock interface for applications or a lock interface for the terminal device.
可选的,在所述锁定界面为对应用程序的锁定界面时,所述推荐信息特征,包括:第一特征、第二特征、第三特征、第四特征、第五特征中的至少一个;在所述锁定界面为对所述终端设备的锁定界面时,所述推荐信息特征,包括:第一特征、第二特征、第三特征、第五特征中的至少一个;Optionally, when the locking interface is an application locking interface, the recommended information features include: at least one of the first feature, the second feature, the third feature, the fourth feature, and the fifth feature; When the locking interface is a locking interface for the terminal device, the recommended information features include: at least one of a first feature, a second feature, a third feature, and a fifth feature;
所述第一特征为:所述终端设备中预设时间段内开启次数最多的应用程序所属的应用程序类别;The first feature is: the application category to which the application that has been opened the most times within a preset period of time in the terminal device belongs to;
所述第二特征为:所述终端设备中预设时间段内前台运行时间最长的应用程序所属的应用程序类别;The second feature is: the application category of the application in the terminal device that has the longest foreground running time within a preset period of time;
所述第三特征为:对所述终端设备安装的应用程序所属的应用程序类别统计后确定的所对应的应用程序最多的应用程序类别;The third feature is: the application program category with the most corresponding application programs determined after counting the application program categories to which the application programs installed on the terminal device belong;
所述第四特征为:所述锁定界面锁定的应用程序所属的应用程序类别;The fourth feature is: the application category to which the application locked by the locking interface belongs;
所述第五特征为:所述终端设备安装的应用程序的界面中显示的文字。The fifth feature is: the text displayed on the interface of the application program installed on the terminal device.
可选的,所述信息显示单元,包括:第一显示子单元和/或第二显示子单元,Optionally, the information display unit includes: a first display subunit and/or a second display subunit,
所述第一显示子单元,用于将接收的推荐信息显示在所述锁定界面的非解锁功能区中;The first display subunit is configured to display the received recommendation information in the non-unlock functional area of the locked interface;
所述第二显示子单元,用于将接收的推荐信息显示在所述锁定界面的解锁功能区中。The second display subunit is configured to display the received recommendation information in the unlock function area of the lock interface.
可选的,在所述信息显示单元包括所述第二显示子单元时,所述解锁功能区为九宫格样式的解锁功能区,所述第二显示子单元,具体用于:Optionally, when the information display unit includes the second display subunit, the unlocking functional area is an unlocking functional area in a nine-grid style, and the second display subunit is specifically used for:
将接收的推荐信息显示在所述锁定界面的九宫格样式解锁功能区的至少一个宫格所在区域中。The received recommendation information is displayed in the area where at least one grid is located in the nine-grid-style unlocking functional area of the locking interface.
可选的,还包括:参数获得单元和信息切换单元,Optionally, it also includes: a parameter obtaining unit and an information switching unit,
所述参数获得单元,用于在所述第二显示子单元将接收的推荐信息显示在所述锁定界面的九宫格样式解锁功能区的至少一个宫格所在区域中后,接收滑动解锁操作,根据所述滑动解锁操作确定操作参数;The parameter obtaining unit is configured to receive a sliding unlock operation after the second display subunit displays the received recommendation information in the area where at least one grid is located in the nine-square-style unlocking functional area of the locking interface, and according to the The sliding unlock operation described above determines the operating parameters;
所述信息切换单元,用于根据所述操作参数对所述滑动解锁操作当前触及的宫格所在区域中的推荐信息进行切换。The information switching unit is configured to switch the recommended information in the area where the grid currently touched by the sliding unlock operation is located according to the operating parameters.
可选的,确定的所述操作参数为当前滑动方向,所述信息切换单元具体用于:Optionally, the determined operating parameter is the current sliding direction, and the information switching unit is specifically used for:
根据所述当前滑动方向将所述滑动解锁操作当前触及的宫格所在的区域中的推荐信息切换为具有与所述当前滑动方向相匹配的动画效果的推荐信息。According to the current sliding direction, the recommendation information in the area where the grid grid currently touched by the sliding unlock operation is switched to the recommendation information having an animation effect matching the current sliding direction.
可选的,所述终端设备接收的推荐信息为多个具有动画效果的推荐信息,所述信息显示单元具体用于:Optionally, the recommendation information received by the terminal device is a plurality of recommendation information with animation effects, and the information display unit is specifically used for:
接收滑动解锁操作,将接收的具有动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格。Receive the sliding unlock operation, and display the received recommendation information with animation effect in the area where the grid currently touched by the slide unlock operation is located, wherein the grid currently touched is the nine-grid style unlocking functional area of the locking interface Palace grid.
可选的,所述信息显示单元具体用于:Optionally, the information display unit is specifically used for:
接收滑动解锁操作,根据所述滑动解锁操作确定当前滑动方向;根据所述当前滑动方向将接收的推荐信息中具有与所述当前滑动方向相匹配的动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格。Receiving a sliding unlock operation, determining the current sliding direction according to the sliding unlocking operation; displaying the recommended information having an animation effect matching the current sliding direction among the received recommendation information in the sliding unlocking operation according to the current sliding direction In the area where the currently touched grid is located, the currently touched grid is the grid in the nine-grid style unlocking functional area of the lock interface.
一种信息推荐装置,应用于服务器,所述服务器与第一终端设备通信连接,所述装置包括:请求接收单元、信息确定单元和信息推荐单元,An information recommendation device, applied to a server, the server is connected in communication with a first terminal device, the device includes: a request receiving unit, an information determination unit, and an information recommendation unit,
所述请求接收单元,用于接收所述第一终端设备发送的携带有推荐信息特征的推荐信息请求,所述推荐信息特征是所述第一终端设备在显示锁定界面时根据所述第一终端设备中安装的应用程序确定的;The request receiving unit is configured to receive the recommendation information request sent by the first terminal device and carrying the recommendation information feature, the recommendation information feature is that the first terminal device according to the first terminal when displaying the locking interface determined by the applications installed on the device;
所述信息确定单元,用于根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息;The information determining unit is configured to determine recommended information that matches the recommended information features according to the recommended information features in the recommended information request;
所述信息推荐单元,用于将所确定的推荐信息发送到所述第一终端设备,以使所述第一终端设备将所述服务器发送的推荐信息显示在所述锁定界面上。The information recommendation unit is configured to send the determined recommendation information to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the locking interface.
可选的,所述服务器中保存有多个推荐信息模板,所述服务器还与第二终端设备通信连接,所述装置还包括:模板发送单元、第二信息接收单元和信息存储单元,Optionally, multiple recommended information templates are stored in the server, and the server is also communicatively connected to the second terminal device, and the device further includes: a template sending unit, a second information receiving unit, and an information storage unit,
所述模板发送单元,用于接收所述第二终端设备发送的对所述推荐信息模板的选择指令,将所述选择指令选择的推荐信息模板发送到所述第二终端设备;The template sending unit is configured to receive a selection instruction for the recommended information template sent by the second terminal device, and send the recommended information template selected by the selection instruction to the second terminal device;
所述第二信息接收单元,用于接收所述第二终端设备上传的第一推荐信息,所述第一推荐信息根据所述选择指令选择的推荐信息模板制作得到;The second information receiving unit is configured to receive the first recommendation information uploaded by the second terminal device, the first recommendation information is produced according to the recommendation information template selected by the selection instruction;
所述信息存储单元,用于存储所述第一推荐信息。The information storage unit is configured to store the first recommendation information.
一种终端设备,所述终端设备与服务器通信连接,所述终端设备包括:A terminal device, the terminal device is communicatively connected to a server, and the terminal device includes:
处理器、存储器、通信接口和总线;Processor, memory, communication interface and bus;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;The processor, the memory, and the communication interface are connected through the bus and complete mutual communication;
所述存储器存储可执行程序代码;The memory stores executable program code;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to:
在所述终端设备显示锁定界面时,获得根据所述终端设备中安装的应用程序确定的推荐信息特征;When the terminal device displays the locking interface, obtain recommended information features determined according to the application programs installed in the terminal device;
向所述服务器发送携带有所述推荐信息特征的推荐信息请求;sending a recommendation information request carrying the characteristics of the recommendation information to the server;
接收所述服务器反馈的与所述推荐信息特征匹配的推荐信息;receiving recommendation information fed back by the server that matches the characteristics of the recommendation information;
将接收的推荐信息显示在所述锁定界面上。The received recommendation information is displayed on the locking interface.
一种服务器,所述服务器与第一终端设备通信连接,所述服务器包括:A server, the server is communicatively connected to the first terminal device, the server includes:
处理器、存储器、通信接口和总线;Processor, memory, communication interface and bus;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;The processor, the memory, and the communication interface are connected through the bus and complete mutual communication;
所述存储器存储可执行程序代码;The memory stores executable program code;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to:
接收所述第一终端设备发送的携带有推荐信息特征的推荐信息请求,所述推荐信息特征是所述第一终端设备在显示锁定界面时根据所述第一终端设备中安装的应用程序确定的;receiving a recommendation information request sent by the first terminal device and carrying a recommendation information feature, the recommendation information feature being determined by the first terminal device according to the application program installed in the first terminal device when the lock interface is displayed ;
根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息;According to the recommended information features in the recommended information request, determine the recommended information that matches the recommended information features;
将所确定的推荐信息发送到所述第一终端设备,以使所述第一终端设备将所述服务器发送的推荐信息显示在所述锁定界面上。Sending the determined recommendation information to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the locking interface.
本发明实施例提供的信息推荐方法及装置、终端设备、服务器,可以在终端设备显示锁定界面时,获得根据终端设备中安装的应用程序确定的推荐信息特征并发送到服务器,将服务器反馈的与推荐信息特征匹配的推荐信息显示在锁定界面上。本发明充分利用了锁定界面,实现了在锁定界面上进行信息的推荐。由于本发明的推荐信息显示在了锁定界面上,因此和锁定界面融合在了一起,用户在当前的锁定界面中就可以看到推荐信息。由于没有采用弹窗、短信等通知形式向用户推荐信息,因此不会给用户以“突然冒出”的感觉,降低了对用户正常使用终端设备的影响,同时,推荐信息的成功率也较高。The information recommendation method and device, terminal device, and server provided by the embodiments of the present invention can obtain the recommended information features determined according to the application programs installed in the terminal device and send them to the server when the terminal device displays the lock interface, and send the information fed back by the server to the The recommended information matching the recommended information features is displayed on the locked interface. The invention makes full use of the locking interface, and realizes information recommendation on the locking interface. Since the recommendation information of the present invention is displayed on the lock interface, it is integrated with the lock interface, and the user can see the recommendation information in the current lock interface. Since there is no pop-up window, SMS and other notification forms to recommend information to users, it will not give users the feeling of "popping out of nowhere", which reduces the impact on users' normal use of terminal equipment. At the same time, the success rate of recommended information is also high. .
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的一种信息推荐方法的流程图;FIG. 1 is a flowchart of an information recommendation method provided by an embodiment of the present invention;
图2为本发明实施例提供的一种推荐信息的显示方式;FIG. 2 is a display mode of recommendation information provided by an embodiment of the present invention;
图3为本发明实施例提供的另一种推荐信息的显示方式;FIG. 3 is another display mode of recommendation information provided by an embodiment of the present invention;
图4为本发明实施例提供的一种信息推荐装置的结构示意图;FIG. 4 is a schematic structural diagram of an information recommendation device provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种信息推荐方法的流程图;FIG. 5 is a flow chart of another information recommendation method provided by an embodiment of the present invention;
图6为本发明实施例提供的另一种信息推荐装置的结构示意图;FIG. 6 is a schematic structural diagram of another information recommendation device provided by an embodiment of the present invention;
图7为本发明实施例提供的一种锁定界面的显示方法的流程图;FIG. 7 is a flow chart of a method for displaying a lock interface provided by an embodiment of the present invention;
图8为本发明实施例提供的一种锁定界面中的动画显示效果图;Fig. 8 is an animation display effect diagram in a locking interface provided by an embodiment of the present invention;
图9为本发明实施例提供的另一种锁定界面中的动画显示效果图;Fig. 9 is an animation display effect diagram in another locking interface provided by an embodiment of the present invention;
图10为本发明实施例提供的一种锁定界面的显示装置的结构示意图。FIG. 10 is a schematic structural diagram of a display device for a locking interface provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
如图1所示,本发明实施例提供了一种信息推荐方法,应用于终端设备,所述终端设备与服务器通信连接,该方法可以包括:As shown in FIG. 1, an embodiment of the present invention provides an information recommendation method, which is applied to a terminal device, and the terminal device is connected to a server through communication. The method may include:
S110、在所述终端设备显示锁定界面时,获得根据所述终端设备中安装的应用程序确定的推荐信息特征;S110. When the terminal device displays a lock interface, obtain recommended information features determined according to the application programs installed in the terminal device;
其中,所述锁定界面可以为对应用程序的锁定界面或对所述终端设备的锁定界面。Wherein, the lock interface may be a lock interface for an application program or a lock interface for the terminal device.
其中,推荐信息特征可以是预先根据所述终端设备中安装的应用程序确定的,也可以是在终端设备显示锁定界面后,根据所述终端设备中安装的应用程序确定的。Wherein, the feature of the recommended information may be determined in advance according to the application program installed in the terminal device, or may be determined according to the application program installed in the terminal device after the terminal device displays a locking interface.
具体的,在所述锁定界面为对应用程序的锁定界面时,所述推荐信息特征,可以包括:第一特征、第二特征、第三特征、第四特征、第五特征中的至少一个;在所述锁定界面为对所述终端设备的锁定界面时,所述推荐信息特征,包括:第一特征、第二特征、第三特征、第五特征中的至少一个;Specifically, when the lock interface is an application lock interface, the recommended information features may include: at least one of the first feature, the second feature, the third feature, the fourth feature, and the fifth feature; When the locking interface is a locking interface for the terminal device, the recommended information features include: at least one of a first feature, a second feature, a third feature, and a fifth feature;
所述第一特征为:所述终端设备中预设时间段内开启次数最多的应用程序所属的应用程序类别;The first feature is: the application category to which the application that has been opened the most times within a preset period of time in the terminal device belongs to;
所述第二特征为:所述终端设备中预设时间段内前台运行时间最长的应用程序所属的应用程序类别;The second feature is: the application category of the application in the terminal device that has the longest foreground running time within a preset period of time;
其中,开启次数最多、运行时间最长的应用程序均为用户常使用的感兴趣的应用程序,因此,将此类应用程序所属的应用程序类别作为推荐信息特征,可以向用户推荐与用户常使用的应用程序所属的应用程序类别相匹配的推荐信息,信息推荐的成功率较高。Among them, the applications with the most times of opening and the longest running time are the applications of interest that are often used by users. Therefore, the application category to which such applications belong is used as the feature of the recommendation information, which can be recommended to the user. If the recommended information matches the application category to which the application belongs, the success rate of information recommendation is relatively high.
所述第三特征为:对所述终端设备安装的应用程序所属的应用程序类别统计后确定的所对应的应用程序最多的应用程序类别;The third feature is: the application program category with the most corresponding application programs determined after counting the application program categories to which the application programs installed on the terminal device belong;
当然,用户的终端设备中安装最多的应用程序类别也代表用户对此类应用程序的兴趣,以此作为推荐信息特征同样可以获得较好的推荐效果。Of course, the most installed application program category in the user's terminal device also represents the user's interest in this type of application program, and using it as a feature of recommendation information can also obtain a better recommendation effect.
所述第四特征为:所述锁定界面锁定的应用程序所属的应用程序类别;The fourth feature is: the application category to which the application locked by the locking interface belongs;
由于本发明将推荐信息显示在锁定界面上,因此将与锁定界面锁定的应用程序所属的应用程序类别匹配的推荐信息显示在该锁定界面上,针对性更强,也可以获得较好的推荐效果。Since the present invention displays the recommendation information on the lock interface, the recommendation information matching the application category of the application locked on the lock interface is displayed on the lock interface, which is more pertinent and can also obtain better recommendation effects .
所述第五特征为:所述终端设备安装的应用程序的界面中显示的文字。The fifth feature is: the text displayed on the interface of the application program installed on the terminal device.
其中,应用程序的界面中显示的文字可以有多种,如:用户输入的文字或接收的其他用户发生的文字、用户点击的设置有超链接的文字等。Among them, the text displayed on the interface of the application program may be of various types, such as: text input by the user or text received from other users, text clicked by the user and set with a hyperlink, and the like.
可以理解的是,用户谈论/点击的对象同时是用户感兴趣的对象,将应用程序的界面中显示的文字作为推荐信息特征同样可以向用户推荐其感兴趣的信息。It can be understood that the object that the user talks about/clicks on is also the object that the user is interested in, and using the text displayed in the interface of the application program as a feature of recommended information can also recommend information of interest to the user.
其中,应用程序类别可以为终端设备的操作系统提供商对应用程序划分的类别,如谷歌对应用程序划分的类别。当然,运行本发明实施例提供的方法的应用程序/终端设备的生产商也可以自行划分应用程序类别,如将应用程序划分为:游戏、社交、图文处理、多媒体播放、新闻资讯等多种类别。Wherein, the application program category may be the category of the application program classified by the operating system provider of the terminal device, such as the category of the application program by Google. Certainly, the manufacturer of the application program/terminal device running the method provided by the embodiment of the present invention can also divide the application program category by itself, such as dividing the application program into: games, social interaction, image processing, multimedia playback, news information, etc. category.
终端设备中可以预先存储应用程序的安装包名称与应用程序类别的对应关系,这样,只需要根据应用程序的安装包名称就可以确定该应用程序所属的应用程序类别。The corresponding relationship between the name of the installation package of the application and the category of the application can be stored in the terminal device in advance, so that the application category to which the application belongs can be determined only according to the name of the installation package of the application.
其中,上述第一特征、第二特征、第三特征、第五特征可以预先根据所述终端设备中安装的应用程序确定并存储于终端设备中。Wherein, the above-mentioned first feature, second feature, third feature, and fifth feature may be pre-determined according to an application program installed in the terminal device and stored in the terminal device.
S120、向所述服务器发送携带有所述推荐信息特征的推荐信息请求;S120. Send a recommendation information request carrying the characteristics of the recommendation information to the server;
其中,服务器在接收到推荐信息请求后,可以根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息。Wherein, after receiving the recommendation information request, the server may determine the recommendation information matching the recommendation information characteristics according to the recommendation information characteristics in the recommendation information request.
具体的,当所述推荐信息特征包括:第一特征、第二特征、第三特征、第四特征、第五特征中的至少两个特征时,服务器可以分别查找与推荐信息特征中的各特征匹配的推荐信息,从而得到多个推荐信息。然后,服务器从多个推荐信息中选择一个或多个作为与所述推荐信息特征匹配的推荐信息并发送给终端设备。Specifically, when the recommended information features include: at least two of the first feature, the second feature, the third feature, the fourth feature, and the fifth feature, the server can search and recommend each feature in the information features Matching recommendation information, so as to obtain multiple recommendation information. Then, the server selects one or more pieces of recommended information as recommended information matching the characteristics of the recommended information and sends them to the terminal device.
其中,服务器选择推荐信息的方式有多种,如将多个推荐信息中对应收益权值列表中数值最大的推荐信息作为与所述推荐信息特征匹配的推荐信息,本发明在此不作限定。There are many ways for the server to select the recommendation information. For example, the recommendation information with the largest value in the corresponding income weight list among the multiple recommendation information is used as the recommendation information matching the characteristics of the recommendation information, which is not limited in the present invention.
S130、接收所述服务器反馈的与所述推荐信息特征匹配的推荐信息;S130. Receive recommendation information fed back by the server that matches the characteristics of the recommendation information;
S140、将接收的推荐信息显示在所述锁定界面上。S140. Display the received recommendation information on the locking interface.
本发明的推荐信息特征均根据终端设备中安装的应用程序确定,同时,与推荐信息特征匹配的推荐信息在锁定界面中显示,因此本发明可以针对应用程序进行推荐,推荐成功率较高。The features of the recommended information in the present invention are all determined according to the application programs installed in the terminal equipment, and at the same time, the recommended information matching the features of the recommended information is displayed in the locking interface, so the present invention can recommend specific to the application programs, and the recommendation success rate is high.
其中,S140可以包括:Among them, S140 can include:
将接收的推荐信息显示在所述锁定界面的非解锁功能区中;displaying the received recommendation information in the non-unlocked functional area of the locked interface;
和/或,and / or,
将接收的推荐信息显示在所述锁定界面的解锁功能区中。The received recommendation information is displayed in the unlocking functional area of the locking interface.
其中,非解锁功能区可以包括锁定界面的边缘,如锁定界面的底部、顶部、左侧边缘、右侧边缘。Wherein, the non-unlocking functional area may include the edges of the locked interface, such as the bottom, top, left edge, and right edge of the locked interface.
其中,本发明的推荐信息可以为对应用程序的推荐信息。Wherein, the recommendation information in the present invention may be recommendation information for application programs.
具体的,推荐信息在锁定界面中显示时,可以通过浮层的方式显示在锁定界面中。推荐信息也可以作为锁定界面的一部分嵌入锁定界面中。Specifically, when the recommendation information is displayed on the locked interface, it may be displayed on the locked interface by means of a floating layer. Recommendations may also be embedded in the lock interface as part of the lock interface.
具体的,推荐信息可以以广告的形式推荐给用户。如图2所示,广告可以显示在锁定界面的底部;如图3所示,广告可以显示在解锁功能区中,具体的,可以显示在九宫格的宫格所在区域中。Specifically, the recommendation information may be recommended to the user in the form of an advertisement. As shown in FIG. 2, the advertisement can be displayed at the bottom of the locked interface; as shown in FIG. 3, the advertisement can be displayed in the unlocking function area, specifically, it can be displayed in the area where the grid of the Jiugongge is located.
在S140包括将接收的推荐信息显示在所述锁定界面的解锁功能区中时,所述解锁功能区为九宫格样式的解锁功能区,所述将接收的推荐信息显示在所述锁定界面的解锁功能区中,可以包括:When S140 includes displaying the received recommendation information in the unlock function area of the lock interface, the unlock function area is an unlock function area in a nine-square grid style, and the received recommendation information is displayed in the unlock function area of the lock interface Zones can include:
将接收的推荐信息显示在所述锁定界面的九宫格样式解锁功能区的至少一个宫格所在区域中。The received recommendation information is displayed in the area where at least one grid is located in the nine-grid-style unlocking functional area of the locking interface.
进一步,在将接收的推荐信息显示在所述锁定界面的九宫格样式解锁功能区的至少一个宫格所在区域中后,该方法还可以包括:Further, after displaying the received recommendation information in the area where at least one grid is located in the nine-grid style unlocking functional area of the locking interface, the method may further include:
接收用户的滑动解锁操作,根据所述滑动解锁操作确定操作参数;receiving a user's sliding unlock operation, and determining an operating parameter according to the sliding unlock operation;
根据所述操作参数对所述滑动解锁操作当前触及的宫格所在区域中的推荐信息进行切换。The recommendation information in the area where the grid currently touched by the sliding unlock operation is switched according to the operation parameter.
其中,操作参数可以为当前滑动方向或当前触及位置。Wherein, the operation parameter may be the current sliding direction or the current touched position.
其中,在确定的所述操作参数为当前滑动方向时,所述根据所述操作参数对所述滑动解锁操作当前触及的宫格所在区域中的推荐信息进行切换,可以包括:Wherein, when the determined operation parameter is the current sliding direction, switching the recommendation information in the area where the grid currently touched by the sliding unlock operation according to the operation parameter may include:
根据所述当前滑动方向将所述滑动解锁操作当前触及的宫格所在的区域中的推荐信息切换为具有与所述当前滑动方向相匹配的动画效果的推荐信息。According to the current sliding direction, the recommendation information in the area where the grid grid currently touched by the sliding unlock operation is switched to the recommendation information having an animation effect matching the current sliding direction.
其中,在确定的所述操作参数为当前触及位置时,所述根据所述操作参数对所述滑动解锁操作当前触及的宫格所在区域中的推荐信息进行切换,可以包括:Wherein, when the determined operation parameter is the current touched position, switching the recommendation information in the area where the grid currently touched by the sliding unlock operation according to the operation parameter may include:
按照预设的宫格与具有动画效果的推荐信息的对应关系,根据所述当前触及位置将所述滑动解锁操作当前触及的宫格所在的区域中的推荐信息切换为与所述当前触及位置所在宫格对应的具有动画效果的推荐信息。According to the preset corresponding relationship between grids and recommended information with animation effects, according to the current touched position, switch the recommended information in the area where the grid currently touched by the sliding unlock operation is located to the area where the current touched position is located. The recommended information with animation effect corresponding to the grid.
当然,也可以根据当前触及位置,在当前触及位置所在宫格的所在区域中随机切换为具有某种动画效果的推荐信息。Of course, it is also possible to randomly switch to recommended information with a certain animation effect in the area of the grid where the current touched position is located according to the current touched position.
其中,在将宫格所在区域中的推荐信息切换为具有动画效果的推荐信息时,可以不切换推荐信息的具体推荐内容,仅增加动画效果即可。当然,也可以同时切换具体推荐内容,本发明在此不作限定。Wherein, when switching the recommended information in the area where the grid is located to recommended information with animation effect, the specific recommended content of the recommended information may not be switched, and only the animation effect may be added. Of course, the specific recommended content can also be switched at the same time, which is not limited in the present invention.
在本发明另一实施例中,S140也可以直接将具有动画效果的推荐信息显示在宫格所在区域中。终端设备接收的推荐信息可以为多个具有动画效果的推荐信息,所述将接收的推荐信息显示在至少一个宫格所在区域中,可以包括:In another embodiment of the present invention, S140 may also directly display the recommendation information with animation effect in the area where the grid is located. The recommendation information received by the terminal device may be a plurality of recommendation information with animation effects, and the display of the received recommendation information in the area where at least one grid is located may include:
接收用户的滑动解锁操作,将接收的具有动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格。Receive the user's sliding unlock operation, and display the received recommendation information with animation effect in the area where the grid currently touched by the slide unlock operation is located, wherein the grid currently touched is the nine-grid style unlocking functional area of the locking interface in the grid.
这样,随着用户的滑动解锁操作,该操作当前触及的宫格所在区域中就会显示具有动画效果的推荐信息。这种信息推荐方式更加生动,用户感受良好。In this way, as the user slides to unlock, recommendation information with an animation effect will be displayed in the area where the grid currently touched by the operation is located. This information recommendation method is more vivid, and the user feels good.
当然,显示的推荐信息的动画效果也可以和滑动解锁操作的当前滑动方向相匹配,以提高显示效果。因此,进一步,所述接收滑动解锁操作,将接收的具有动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格,可以包括:Certainly, the animation effect of the displayed recommendation information may also match the current sliding direction of the sliding unlock operation, so as to improve the display effect. Therefore, further, when receiving the slide unlock operation, the received recommendation information with animation effect is displayed in the area where the grid currently touched by the slide unlock operation is located, wherein the grid currently touched is the Jiugong grid of the locking interface The style unlocks the grid in the ribbon, which can include:
接收用户的滑动解锁操作,根据所述滑动解锁操作确定当前滑动方向;receiving the user's slide unlock operation, and determining the current slide direction according to the slide unlock operation;
根据所述当前滑动方向将接收的推荐信息中具有与所述当前滑动方向相匹配的动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格。According to the current sliding direction, among the received recommended information, the recommended information having an animation effect matching the current sliding direction is displayed in the area where the grid currently touched by the slide to unlock operation is located, wherein the currently touched grid is located. Unlock the grid in the functional area for the nine-grid style of the locked interface.
本发明实施例提供的信息推荐方法,可以在终端设备显示锁定界面时,获得根据终端设备中安装的应用程序确定的推荐信息特征并发送到服务器,将服务器反馈的与推荐信息特征匹配的推荐信息显示在锁定界面上。本发明充分利用了锁定界面,实现了在锁定界面上进行信息的推荐。由于本发明的推荐信息显示在了锁定界面上,因此和锁定界面融合在了一起,用户在当前的锁定界面中就可以看到推荐信息。由于没有采用弹窗、短信等通知形式向用户推荐信息,因此不会给用户以“突然冒出”的感觉,降低了对用户正常使用终端设备的影响,同时,推荐信息的成功率也较高。The information recommendation method provided by the embodiment of the present invention can obtain the recommended information characteristics determined according to the application program installed in the terminal device and send it to the server when the terminal device displays the locking interface, and send the recommended information fed back by the server that matches the recommended information characteristics Displayed on the lock screen. The invention makes full use of the locking interface, and realizes information recommendation on the locking interface. Since the recommendation information of the present invention is displayed on the lock interface, it is integrated with the lock interface, and the user can see the recommendation information in the current lock interface. Since there is no pop-up window, SMS and other notification forms to recommend information to users, it will not give users the feeling of "popping out of nowhere", which reduces the impact on users' normal use of terminal equipment. At the same time, the success rate of recommended information is also high. .
与图1所示方法实施例相对应,本发明还提供了一种信息推荐装置。Corresponding to the method embodiment shown in FIG. 1 , the present invention also provides an information recommendation device.
如图4所示,本发明实施例提供的一种信息推荐装置,应用于终端设备,所述终端设备与服务器通信连接,该装置可以包括:特征获得单元110、请求发送单元120、第一信息接收单元130和信息显示单元140,As shown in FIG. 4 , an information recommendation device provided by an embodiment of the present invention is applied to a terminal device, and the terminal device communicates with a server. The device may include: a feature obtaining unit 110, a request sending unit 120, a first information The receiving unit 130 and the information display unit 140,
所述特征获得单元110,用于在所述终端设备显示锁定界面时,获得根据所述终端设备中安装的应用程序确定的推荐信息特征;The characteristic obtaining unit 110 is configured to obtain the recommended information characteristics determined according to the application program installed in the terminal device when the terminal device displays a locking interface;
其中,所述锁定界面可以为对应用程序的锁定界面或对所述终端设备的锁定界面。Wherein, the lock interface may be a lock interface for an application program or a lock interface for the terminal device.
其中,推荐信息特征可以是预先根据所述终端设备中安装的应用程序确定的,也可以是在终端设备显示锁定界面后,根据所述终端设备中安装的应用程序确定的。Wherein, the feature of the recommended information may be determined in advance according to the application program installed in the terminal device, or may be determined according to the application program installed in the terminal device after the terminal device displays a locking interface.
具体的,在所述锁定界面为对应用程序的锁定界面时,所述推荐信息特征,可以包括:第一特征、第二特征、第三特征、第四特征、第五特征中的至少一个;在所述锁定界面为对所述终端设备的锁定界面时,所述推荐信息特征,包括:第一特征、第二特征、第三特征、第五特征中的至少一个;Specifically, when the lock interface is an application lock interface, the recommended information features may include: at least one of the first feature, the second feature, the third feature, the fourth feature, and the fifth feature; When the locking interface is a locking interface for the terminal device, the recommended information features include: at least one of a first feature, a second feature, a third feature, and a fifth feature;
所述第一特征为:所述终端设备中预设时间段内开启次数最多的应用程序所属的应用程序类别;The first feature is: the application category to which the application that has been opened the most times within a preset period of time in the terminal device belongs to;
所述第二特征为:所述终端设备中预设时间段内前台运行时间最长的应用程序所属的应用程序类别;The second feature is: the application category of the application in the terminal device that has the longest foreground running time within a preset period of time;
所述第三特征为:对所述终端设备安装的应用程序所属的应用程序类别统计后确定的所对应的应用程序最多的应用程序类别;The third feature is: the application program category with the most corresponding application programs determined after counting the application program categories to which the application programs installed on the terminal device belong;
所述第四特征为:所述锁定界面锁定的应用程序所属的应用程序类别;The fourth feature is: the application category to which the application locked by the locking interface belongs;
所述第五特征为:所述终端设备安装的应用程序的界面中显示的文字。The fifth feature is: the text displayed on the interface of the application program installed on the terminal device.
其中,应用程序的界面中显示的文字可以有多种,如:用户输入的文字或接收的其他用户发生的文字、用户点击的设置有超链接的文字等。Among them, the text displayed on the interface of the application program may be of various types, such as: text input by the user or text received from other users, text clicked by the user and set with a hyperlink, and the like.
其中,应用程序类别可以为终端设备的操作系统提供商对应用程序划分的类别,如谷歌对应用程序划分的类别。当然,运行本发明实施例提供的方法的应用程序/终端设备的生产商也可以自行划分应用程序类别,如将应用程序划分为:游戏、社交、图文处理、多媒体播放、新闻资讯等多种类别。Wherein, the application program category may be the category of the application program classified by the operating system provider of the terminal device, such as the category of the application program by Google. Certainly, the manufacturer of the application program/terminal device running the method provided by the embodiment of the present invention can also divide the application program category by itself, such as dividing the application program into: games, social interaction, image processing, multimedia playback, news information, etc. category.
终端设备中可以预先存储应用程序的安装包名称与应用程序类别的对应关系,这样,只需要根据应用程序的安装包名称就可以确定该应用程序所属的应用程序类别。The corresponding relationship between the name of the installation package of the application and the category of the application can be stored in the terminal device in advance, so that the application category to which the application belongs can be determined only according to the name of the installation package of the application.
其中,上述第一特征、第二特征、第三特征、第五特征可以预先根据所述终端设备中安装的应用程序确定并存储于终端设备中。Wherein, the above-mentioned first feature, second feature, third feature, and fifth feature may be pre-determined according to an application program installed in the terminal device and stored in the terminal device.
所述请求发送单元120,用于向所述服务器发送携带有所述推荐信息特征的推荐信息请求;The request sending unit 120 is configured to send a recommendation information request carrying the characteristics of the recommendation information to the server;
其中,服务器在接收到推荐信息请求后,可以根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息。Wherein, after receiving the recommendation information request, the server may determine the recommendation information matching the recommendation information characteristics according to the recommendation information characteristics in the recommendation information request.
具体的,当所述推荐信息特征包括:第一特征、第二特征、第三特征、第四特征、第五特征中的至少两个特征时,服务器可以分别查找与推荐信息特征中的各特征匹配的推荐信息,从而得到多个推荐信息。然后,服务器从多个推荐信息中选择一个或多个作为与所述推荐信息特征匹配的推荐信息并发送给终端设备。Specifically, when the recommended information features include: at least two of the first feature, the second feature, the third feature, the fourth feature, and the fifth feature, the server can search and recommend each feature in the information features Matching recommendation information, so as to obtain multiple recommendation information. Then, the server selects one or more pieces of recommended information as recommended information matching the characteristics of the recommended information and sends them to the terminal device.
所述第一信息接收单元130,用于接收所述服务器反馈的与所述推荐信息特征匹配的推荐信息;The first information receiving unit 130 is configured to receive recommendation information fed back by the server that matches the characteristics of the recommendation information;
所述信息显示单元140,用于将接收的推荐信息显示在所述锁定界面上。The information display unit 140 is configured to display the received recommendation information on the locking interface.
本发明的推荐信息特征均根据终端设备中安装的应用程序确定,同时,与推荐信息特征匹配的推荐信息在锁定界面中显示,因此本发明可以针对应用程序进行推荐,推荐成功率较高。The features of the recommended information in the present invention are all determined according to the application programs installed in the terminal equipment, and at the same time, the recommended information matching the features of the recommended information is displayed in the locking interface, so the present invention can recommend specific to the application programs, and the recommendation success rate is high.
其中,所述信息显示单元140,可以包括:第一显示子单元和/或第二显示子单元,Wherein, the information display unit 140 may include: a first display subunit and/or a second display subunit,
所述第一显示子单元,用于将接收的推荐信息显示在所述锁定界面的非解锁功能区中;The first display subunit is configured to display the received recommendation information in the non-unlock functional area of the locked interface;
所述第二显示子单元,用于将接收的推荐信息显示在所述锁定界面的解锁功能区中。The second display subunit is configured to display the received recommendation information in the unlock function area of the lock interface.
其中,非解锁功能区可以包括锁定界面的边缘,如锁定界面的底部、顶部、左侧边缘、右侧边缘。Wherein, the non-unlocking functional area may include the edges of the locked interface, such as the bottom, top, left edge, and right edge of the locked interface.
可选的,在所述信息显示单元140包括第二显示子单元时,所述解锁功能区为九宫格样式的解锁功能区,所述第二显示子单元,可以具体用于:Optionally, when the information display unit 140 includes a second display subunit, the unlocking functional area is an unlocking functional area in a nine-grid style, and the second display subunit can be specifically used for:
将接收的推荐信息显示在所述锁定界面的九宫格样式解锁功能区的至少一个宫格所在区域中。The received recommendation information is displayed in the area where at least one grid is located in the nine-grid-style unlocking functional area of the locking interface.
进一步,本发明实施例提供的信息推荐装置,还可以包括:参数获得单元和信息切换单元,Further, the information recommendation device provided by the embodiment of the present invention may further include: a parameter obtaining unit and an information switching unit,
所述参数获得单元,用于在所述第二显示子单元将接收的推荐信息显示在所述锁定界面的九宫格样式解锁功能区的至少一个宫格所在区域中后,接收用户的滑动解锁操作,根据所述滑动解锁操作确定操作参数;The parameter obtaining unit is configured to receive the user's sliding unlock operation after the second display subunit displays the received recommendation information in the area where at least one grid is located in the nine-square-style unlocking functional area of the locking interface, determining an operating parameter according to the sliding unlock operation;
所述信息切换单元,用于根据所述操作参数对所述滑动解锁操作当前触及的宫格所在区域中的推荐信息进行切换。The information switching unit is configured to switch the recommended information in the area where the grid currently touched by the sliding unlock operation is located according to the operating parameters.
其中,操作参数可以为当前滑动方向或当前触及位置。Wherein, the operation parameter may be the current sliding direction or the current touched position.
其中,确定的所述操作参数可以为当前滑动方向,所述信息切换单元可以具体用于:Wherein, the determined operating parameter may be the current sliding direction, and the information switching unit may be specifically used for:
根据所述当前滑动方向将所述滑动解锁操作当前触及的宫格所在的区域中的推荐信息切换为具有与所述当前滑动方向相匹配的动画效果的推荐信息。According to the current sliding direction, the recommendation information in the area where the grid grid currently touched by the sliding unlock operation is switched to the recommendation information having an animation effect matching the current sliding direction.
在本发明另一实施例中,信息显示单元140也可以直接将具有动画效果的推荐信息显示在宫格所在区域中。所述终端设备接收的推荐信息为多个具有动画效果的推荐信息,信息显示单元140可以具体用于:In another embodiment of the present invention, the information display unit 140 may also directly display the recommendation information with an animation effect in the area where the grid is located. The recommendation information received by the terminal device is a plurality of recommendation information with animation effects, and the information display unit 140 can be specifically used for:
接收用户的滑动解锁操作,将接收的具有动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格。Receive the user's sliding unlock operation, and display the received recommendation information with animation effect in the area where the grid currently touched by the slide unlock operation is located, wherein the grid currently touched is the nine-grid style unlocking functional area of the locking interface in the grid.
这样,随着用户的滑动解锁操作,该操作当前触及的宫格所在区域中就会显示具有动画效果的推荐信息。这种信息推荐方式更加生动,用户感受良好。In this way, as the user slides to unlock, recommendation information with an animation effect will be displayed in the area where the grid currently touched by the operation is located. This information recommendation method is more vivid, and the user feels good.
当然,显示的推荐信息的动画效果也可以和用户的滑动解锁操作的当前滑动方向相匹配,以提高显示效果。因此,进一步,信息显示单元140可以具体用于:Of course, the animation effect of the displayed recommendation information may also match the current sliding direction of the user's sliding unlock operation, so as to improve the display effect. Therefore, further, the information display unit 140 can be specifically used for:
接收用户的滑动解锁操作,根据所述滑动解锁操作确定当前滑动方向;根据所述当前滑动方向将接收的推荐信息中具有与所述当前滑动方向相匹配的动画效果的推荐信息显示在所述滑动解锁操作当前触及的宫格所在区域中,其中,当前触及的宫格为所述锁定界面的九宫格样式解锁功能区中的宫格。Receive the user's sliding unlock operation, determine the current sliding direction according to the sliding unlocking operation; display the recommended information with the animation effect matching the current sliding direction among the received recommended information on the sliding screen according to the current sliding direction The grid currently touched by the unlocking operation is located in the area where the grid currently touched is the grid in the nine-grid style unlocking function area of the locking interface.
本发明实施例提供的信息推荐装置,可以在终端设备显示锁定界面时,获得根据终端设备中安装的应用程序确定的推荐信息特征并发送到服务器,将服务器反馈的与推荐信息特征匹配的推荐信息显示在锁定界面上。本发明充分利用了锁定界面,实现了在锁定界面上进行信息的推荐。由于本发明的推荐信息显示在了锁定界面上,因此和锁定界面融合在了一起,用户在当前的锁定界面中就可以看到推荐信息。由于没有采用弹窗、短信等通知形式向用户推荐信息,因此不会给用户以“突然冒出”的感觉,降低了对用户正常使用终端设备的影响,同时,推荐信息的成功率也较高。The information recommendation device provided by the embodiment of the present invention can obtain the recommended information characteristics determined according to the application program installed in the terminal device and send it to the server when the terminal device displays the locking interface, and send the recommended information fed back by the server that matches the recommended information characteristics Displayed on the lock screen. The invention makes full use of the locking interface, and realizes information recommendation on the locking interface. Since the recommendation information of the present invention is displayed on the lock interface, it is integrated with the lock interface, and the user can see the recommendation information in the current lock interface. Since there is no pop-up window, SMS and other notification forms to recommend information to users, it will not give users the feeling of "popping out of nowhere", which reduces the impact on users' normal use of terminal equipment. At the same time, the success rate of recommended information is also high. .
如图5所示,本发明实施例提供了一种信息推荐方法,应用于服务器,所述服务器与第一终端设备通信连接,该方法可以包括:As shown in FIG. 5, an embodiment of the present invention provides an information recommendation method, which is applied to a server, and the server communicates with the first terminal device. The method may include:
S210、接收所述第一终端设备发送的携带有推荐信息特征的推荐信息请求,所述推荐信息特征是所述第一终端设备在显示锁定界面时根据所述第一终端设备中安装的应用程序确定的;S210. Receive a recommendation information request sent by the first terminal device that carries a feature of recommendation information, where the feature of the recommendation information is that when the first terminal device displays a lock interface, according to the application program installed in the first terminal device definite;
具体的,第一终端设备确定推荐信息特征的过程请参考图1所示的应用于终端设备的信息推荐方法,本实施例不再赘述。Specifically, please refer to the information recommendation method applied to the terminal device shown in FIG. 1 for the process of determining the recommended information features by the first terminal device, which will not be repeated in this embodiment.
S220、根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息;S220. According to the recommended information features in the recommended information request, determine recommended information that matches the recommended information features;
其中,服务器在接收到推荐信息请求后,可以根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息。Wherein, after receiving the recommendation information request, the server may determine the recommendation information matching the recommendation information characteristics according to the recommendation information characteristics in the recommendation information request.
具体的,当所述推荐信息特征包括:图1所示实施例中的第一特征、第二特征、第三特征、第四特征、第五特征中的至少两个特征时,服务器可以分别查找与推荐信息特征中的各特征匹配的推荐信息,从而得到多个推荐信息。然后,服务器从多个推荐信息中选择一个或多个作为与所述推荐信息特征匹配的推荐信息并发送给第一终端设备。Specifically, when the recommended information features include: at least two of the first feature, second feature, third feature, fourth feature, and fifth feature in the embodiment shown in Figure 1, the server can search for The recommended information matched with each feature in the recommended information features, so as to obtain a plurality of recommended information. Then, the server selects one or more pieces of recommended information as recommended information matching the features of the recommended information and sends them to the first terminal device.
其中,服务器选择推荐信息的方式有多种,如将多个推荐信息中收益最大的推荐信息作为与所述推荐信息特征匹配的推荐信息,本发明在此不作限定。There are many ways for the server to select the recommended information. For example, the recommended information with the greatest profit among the multiple recommended information is used as the recommended information matching the characteristics of the recommended information, which is not limited in the present invention.
S230、将所确定的推荐信息发送到所述第一终端设备,以使所述第一终端设备将所述服务器发送的推荐信息显示在所述锁定界面上。S230. Send the determined recommendation information to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the locking interface.
具体的,终端设备将所述服务器发送的推荐信息显示在所述锁定界面上的方式请参考图1所示的应用于终端设备的信息推荐方法,本实施例不再赘述。Specifically, for the manner in which the terminal device displays the recommendation information sent by the server on the lock interface, please refer to the information recommendation method applied to the terminal device shown in FIG. 1 , which will not be repeated in this embodiment.
可选的,所述服务器中可以保存有多个推荐信息模板,所述服务器还与第二终端设备通信连接,图5所示方法还可以包括:Optionally, multiple recommendation information templates may be stored in the server, and the server may also communicate with the second terminal device. The method shown in FIG. 5 may also include:
接收所述第二终端设备发送的对所述推荐信息模板的选择指令,将所述选择指令选择的推荐信息模板发送到所述第二终端设备;receiving a selection instruction for the recommended information template sent by the second terminal device, and sending the recommended information template selected by the selection instruction to the second terminal device;
接收所述第二终端设备上传的第一推荐信息,所述第一推荐信息根据所述选择指令选择的推荐信息模板制作得到;receiving first recommendation information uploaded by the second terminal device, where the first recommendation information is prepared according to the recommendation information template selected by the selection instruction;
存储所述第一推荐信息。The first recommendation information is stored.
通过图5所示方法提供的推荐信息模板,广告商等推荐信息提供者就可以根据推荐信息模板制作推荐信息。例如:本发明提供九宫格样式的推荐信息模板,广告商可以通过该模板制作可以在九宫格的宫格所在区域中显示的广告。这样,本发明对广告商上传的广告存储后,就可以将其推送到各用户的终端设备中并显示在锁屏界面的宫格所在区域中。Through the recommended information template provided by the method shown in FIG. 5 , recommended information providers such as advertisers can create recommended information according to the recommended information template. For example: the present invention provides a recommended information template in the style of Jiugongge, through which advertisers can make advertisements that can be displayed in the area where the Jiugongge is located. In this way, after the present invention stores the advertisement uploaded by the advertiser, it can be pushed to each user's terminal device and displayed in the area where the grid is located on the lock screen interface.
本发明实施例提供的信息推荐方法,服务器可以接收第一终端设备发送的携带有推荐信息特征的推荐信息请求,推荐信息特征是第一终端设备在显示锁定界面时根据第一终端设备中安装的应用程序确定的;服务器确定与推荐信息特征匹配的推荐信息并发送到第一终端设备,以使第一终端设备将服务器发送的推荐信息显示在锁定界面上。本发明充分利用了锁定界面,实现了在锁定界面上进行信息的推荐。由于本发明的推荐信息显示在了锁定界面上,因此和锁定界面融合在了一起,用户在当前的锁定界面中就可以看到推荐信息。由于没有采用弹窗、短信等通知形式向用户推荐信息,因此不会给用户以“突然冒出”的感觉,降低了对用户正常使用终端设备的影响,同时,推荐信息的成功率也较高。In the information recommendation method provided by the embodiment of the present invention, the server may receive the recommendation information request sent by the first terminal device and carry the recommendation information feature. Determined by the application program; the server determines the recommendation information that matches the characteristics of the recommendation information and sends it to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the lock interface. The invention makes full use of the locking interface, and realizes information recommendation on the locking interface. Since the recommendation information of the present invention is displayed on the lock interface, it is integrated with the lock interface, and the user can see the recommendation information in the current lock interface. Since there is no pop-up window, SMS and other notification forms to recommend information to users, it will not give users the feeling of "popping out of nowhere", which reduces the impact on users' normal use of terminal equipment. At the same time, the success rate of recommended information is also high. .
与图5所示方法相对应,本发明还提供了一种信息推荐装置。Corresponding to the method shown in FIG. 5 , the present invention also provides an information recommendation device.
如图6所示,本发明实施例提供的一种信息推荐装置,应用于服务器,所述服务器与第一终端设备通信连接,该装置可以包括:请求接收单元210、信息确定单元220和信息推荐单元230,As shown in FIG. 6 , an information recommendation device provided by an embodiment of the present invention is applied to a server, and the server communicates with the first terminal device. The device may include: a request receiving unit 210, an information determination unit 220, and an information recommendation unit. Unit 230,
所述请求接收单元210,用于接收所述第一终端设备发送的携带有所述推荐信息特征的推荐信息请求,所述推荐信息特征是所述第一终端设备在显示锁定界面时根据所述第一终端设备中安装的应用程序确定的;The request receiving unit 210 is configured to receive the recommendation information request carrying the recommendation information feature sent by the first terminal device, and the recommendation information feature is that the first terminal device displays the lock interface according to the Determined by the application program installed in the first terminal device;
具体的,第一终端设备确定推荐信息特征的过程请参考图4所示的应用于终端设备的信息推荐装置,本实施例不再赘述。Specifically, please refer to the information recommendation apparatus applied to the terminal device shown in FIG. 4 for the process of determining the recommended information features by the first terminal device, which will not be repeated in this embodiment.
所述信息确定单元220,用于根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息;The information determining unit 220 is configured to determine recommended information that matches the recommended information features according to the recommended information features in the recommended information request;
其中,图6所示装置在接收到推荐信息请求后,可以根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息。Wherein, after receiving the recommendation information request, the device shown in FIG. 6 may determine the recommendation information matching the recommendation information characteristics according to the recommendation information characteristics in the recommendation information request.
具体的,当所述推荐信息特征包括:第一特征、第二特征、第三特征、第四特征、第五特征中的至少两个特征时,图6所示装置可以分别查找与推荐信息特征中的各特征匹配的推荐信息,从而得到多个推荐信息。然后,图6所示装置从多个推荐信息中选择一个或多个作为与所述推荐信息特征匹配的推荐信息并发送给第一终端设备。Specifically, when the recommended information features include: at least two of the first feature, the second feature, the third feature, the fourth feature, and the fifth feature, the device shown in FIG. 6 can respectively search and recommend information features The recommended information matched by each feature in , so as to obtain multiple recommended information. Then, the apparatus shown in FIG. 6 selects one or more pieces of recommendation information from multiple pieces of recommendation information as recommendation information matching the features of the recommendation information, and sends it to the first terminal device.
其中,图6所示装置选择推荐信息的方式有多种,如将多个推荐信息中收益最大的推荐信息作为与所述推荐信息特征匹配的推荐信息,本发明在此不作限定。There are many ways for the device shown in FIG. 6 to select the recommended information. For example, the recommended information with the highest profit among the multiple recommended information is used as the recommended information that matches the characteristics of the recommended information, which is not limited in the present invention.
所述信息推荐单元230,用于将所确定的推荐信息发送到所述第一终端设备,以使所述第一终端设备将所述服务器发送的推荐信息显示在所述锁定界面上。The information recommendation unit 230 is configured to send the determined recommendation information to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the locking interface.
具体的,图6所示装置将所述服务器发送的推荐信息显示在所述锁定界面上的方式请参考图4所示的应用于终端设备的信息推荐装置,本实施例不再赘述。Specifically, for the manner in which the device shown in FIG. 6 displays the recommendation information sent by the server on the locking interface, please refer to the information recommendation device applied to the terminal device shown in FIG. 4 , which will not be repeated in this embodiment.
其中,所述服务器可以中保存有多个推荐信息模板,所述服务器还与第二终端设备通信连接,图6所示装置还可以包括:模板发送单元、第二信息接收单元和信息存储单元,Wherein, the server may store a plurality of recommended information templates, and the server may also communicate with the second terminal device. The device shown in FIG. 6 may also include: a template sending unit, a second information receiving unit, and an information storage unit,
所述模板发送单元,用于接收所述第二终端设备发送的对所述推荐信息模板的选择指令,将所述选择指令选择的推荐信息模板发送到所述第二终端设备;The template sending unit is configured to receive a selection instruction for the recommended information template sent by the second terminal device, and send the recommended information template selected by the selection instruction to the second terminal device;
所述第二信息接收单元,用于接收所述第二终端设备上传的第一推荐信息,所述第一推荐信息根据所述选择指令选择的推荐信息模板制作得到;The second information receiving unit is configured to receive the first recommendation information uploaded by the second terminal device, the first recommendation information is produced according to the recommendation information template selected by the selection instruction;
所述信息存储单元,用于存储所述第一推荐信息。The information storage unit is configured to store the first recommendation information.
本发明实施例提供的信息推荐装置,可以接收第一终端设备发送的携带有推荐信息特征的推荐信息请求,推荐信息特征是第一终端设备在显示锁定界面时根据第一终端设备中安装的应用程序确定的;确定与推荐信息特征匹配的推荐信息并发送到第一终端设备,以使第一终端设备将服务器发送的推荐信息显示在锁定界面上。本发明充分利用了锁定界面,实现了在锁定界面上进行信息的推荐。由于本发明的推荐信息显示在了锁定界面上,因此和锁定界面融合在了一起,用户在当前的锁定界面中就可以看到推荐信息。由于没有采用弹窗、短信等通知形式向用户推荐信息,因此不会给用户以“突然冒出”的感觉,降低了对用户正常使用终端设备的影响,同时,推荐信息的成功率也较高。The information recommendation device provided by the embodiment of the present invention can receive a recommendation information request sent by the first terminal device that carries the recommended information feature. The recommended information feature is based on the application installed in the first terminal device when the first terminal device displays the lock interface Determined by the program: determine the recommendation information that matches the characteristics of the recommendation information and send it to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the lock interface. The invention makes full use of the locking interface, and realizes information recommendation on the locking interface. Since the recommendation information of the present invention is displayed on the lock interface, it is integrated with the lock interface, and the user can see the recommendation information in the current lock interface. Since there is no pop-up window, SMS and other notification forms to recommend information to users, it will not give users the feeling of "popping out of nowhere", which reduces the impact on users' normal use of terminal equipment. At the same time, the success rate of recommended information is also high. .
相应地,本申请实施例还提供了一种存储介质,其中,该存储介质用于存储应用程序,所述应用程序用于在运行时执行本申请所述的一种信息推荐方法。其中,本申请所述的一种信息推荐方法,应用于终端设备,所述终端设备与服务器通信连接,该方法包括:Correspondingly, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store an application program, and the application program is used to execute an information recommendation method described in the present application when running. Wherein, an information recommendation method described in this application is applied to a terminal device, and the terminal device communicates with a server, and the method includes:
在所述终端设备显示锁定界面时,获得根据所述终端设备中安装的应用程序确定的推荐信息特征;When the terminal device displays the locking interface, obtain recommended information features determined according to the application programs installed in the terminal device;
向所述服务器发送携带有所述推荐信息特征的推荐信息请求;sending a recommendation information request carrying the characteristics of the recommendation information to the server;
接收所述服务器反馈的与所述推荐信息特征匹配的推荐信息;receiving recommendation information fed back by the server that matches the characteristics of the recommendation information;
将接收的推荐信息显示在所述锁定界面上。The received recommendation information is displayed on the locking interface.
相应地,本申请实施例还提供了另一种存储介质,其中,该存储介质用于存储应用程序,所述应用程序用于在运行时执行本申请所述的一种信息推荐方法。其中,本申请所述的一种信息推荐方法,应用于服务器,所述服务器与第一终端设备通信连接,该方法包括:Correspondingly, the embodiment of the present application also provides another storage medium, wherein the storage medium is used to store an application program, and the application program is used to execute an information recommendation method described in the present application during operation. Wherein, a method for recommending information described in this application is applied to a server, and the server communicates with the first terminal device, and the method includes:
接收所述第一终端设备发送的携带有推荐信息特征的推荐信息请求,所述推荐信息特征是所述第一终端设备在显示锁定界面时根据所述第一终端设备中安装的应用程序确定的;receiving a recommendation information request sent by the first terminal device and carrying a recommendation information feature, the recommendation information feature being determined by the first terminal device according to the application program installed in the first terminal device when the lock interface is displayed ;
根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息;According to the recommended information features in the recommended information request, determine the recommended information that matches the recommended information features;
将所确定的推荐信息发送到所述第一终端设备,以使所述第一终端设备将所述服务器发送的推荐信息显示在所述锁定界面上。Sending the determined recommendation information to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the locking interface.
相应地,本申请实施例还提供了一种应用程序,其中,该应用程序用于在运行时执行本申请所述的一种信息推荐方法。其中,本申请所述的一种信息推荐方法,应用于终端设备,所述终端设备与服务器通信连接,该方法包括:Correspondingly, an embodiment of the present application also provides an application program, wherein the application program is used to execute an information recommendation method described in the present application during operation. Wherein, an information recommendation method described in this application is applied to a terminal device, and the terminal device communicates with a server, and the method includes:
在所述终端设备显示锁定界面时,获得根据所述终端设备中安装的应用程序确定的推荐信息特征;When the terminal device displays the locking interface, obtain recommended information features determined according to the application programs installed in the terminal device;
向所述服务器发送携带有所述推荐信息特征的推荐信息请求;sending a recommendation information request carrying the characteristics of the recommendation information to the server;
接收所述服务器反馈的与所述推荐信息特征匹配的推荐信息;receiving recommendation information fed back by the server that matches the characteristics of the recommendation information;
将接收的推荐信息显示在所述锁定界面上。The received recommendation information is displayed on the locking interface.
相应地,本申请实施例还提供了另一种应用程序,其中,该应用程序用于在运行时执行本申请所述的一种信息推荐方法。其中,本申请所述的一种信息推荐方法,应用于服务器,所述服务器与第一终端设备通信连接,该方法包括:Correspondingly, the embodiment of the present application also provides another application program, wherein the application program is used to execute an information recommendation method described in the present application at runtime. Wherein, a method for recommending information described in this application is applied to a server, and the server communicates with the first terminal device, and the method includes:
接收所述第一终端设备发送的携带有推荐信息特征的推荐信息请求,所述推荐信息特征是所述第一终端设备在显示锁定界面时根据所述第一终端设备中安装的应用程序确定的;receiving a recommendation information request sent by the first terminal device and carrying a recommendation information feature, the recommendation information feature being determined by the first terminal device according to the application program installed in the first terminal device when the lock interface is displayed ;
根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息;According to the recommended information features in the recommended information request, determine the recommended information that matches the recommended information features;
将所确定的推荐信息发送到所述第一终端设备,以使所述第一终端设备将所述服务器发送的推荐信息显示在所述锁定界面上。Sending the determined recommendation information to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the locking interface.
相应地,本申请实施例还提供了一种终端设备,所述终端设备与服务器通信连接,所述终端设备包括:Correspondingly, the embodiment of the present application also provides a terminal device, the terminal device is communicatively connected to the server, and the terminal device includes:
处理器、存储器、通信接口和总线;Processor, memory, communication interface and bus;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;The processor, the memory, and the communication interface are connected through the bus and complete mutual communication;
所述存储器存储可执行程序代码;The memory stores executable program code;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to:
在所述终端设备显示锁定界面时,获得根据所述终端设备中安装的应用程序确定的推荐信息特征;When the terminal device displays the locking interface, obtain recommended information features determined according to the application programs installed in the terminal device;
向所述服务器发送携带有所述推荐信息特征的推荐信息请求;sending a recommendation information request carrying the characteristics of the recommendation information to the server;
接收所述服务器反馈的与所述推荐信息特征匹配的推荐信息;receiving recommendation information fed back by the server that matches the characteristics of the recommendation information;
将接收的推荐信息显示在所述锁定界面上。The received recommendation information is displayed on the locking interface.
相应地,本申请实施例还提供了一种服务器,所述服务器与第一终端设备通信连接,所述服务器包括:Correspondingly, the embodiment of the present application also provides a server, the server is communicatively connected to the first terminal device, and the server includes:
处理器、存储器、通信接口和总线;Processor, memory, communication interface and bus;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;The processor, the memory, and the communication interface are connected through the bus and complete mutual communication;
所述存储器存储可执行程序代码;The memory stores executable program code;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to:
接收所述第一终端设备发送的携带有推荐信息特征的推荐信息请求,所述推荐信息特征是所述第一终端设备在显示锁定界面时根据所述第一终端设备中安装的应用程序确定的;receiving a recommendation information request sent by the first terminal device and carrying a recommendation information feature, the recommendation information feature being determined by the first terminal device according to the application program installed in the first terminal device when the lock interface is displayed ;
根据所述推荐信息请求中的推荐信息特征,确定与所述推荐信息特征匹配的推荐信息;According to the recommended information features in the recommended information request, determine the recommended information that matches the recommended information features;
将所确定的推荐信息发送到所述第一终端设备,以使所述第一终端设备将所述服务器发送的推荐信息显示在所述锁定界面上。Sending the determined recommendation information to the first terminal device, so that the first terminal device displays the recommendation information sent by the server on the locking interface.
如图7所示,本发明实施例提供了一种锁定界面的显示方法,应用于终端设备中,该终端设备中存储有多个动画,该方法可以包括:As shown in FIG. 7, an embodiment of the present invention provides a method for displaying a locked interface, which is applied to a terminal device, where multiple animations are stored in the terminal device, and the method may include:
S310、在锁定界面下,接收用户的滑动解锁操作,根据所述滑动解锁操作确定操作参数;S310. On the locking interface, receive a user's slide unlock operation, and determine an operation parameter according to the slide unlock operation;
其中,终端设备中存储的多个动画可以具有多种动画效果,所述多个动画可以从与所述终端设备连接的服务器中获得。Wherein, the plurality of animations stored in the terminal device may have various animation effects, and the plurality of animations may be obtained from a server connected to the terminal device.
其中,所述锁定界面可以为对应用程序的锁定界面或对所述终端设备的锁定界面。所述锁定界面可以为九宫格锁定界面,所述终端设备中存储的动画可以为可在九宫格中的一个宫格所在区域中显示的动画,所述操作参数可以为当前滑动方向或当前触及位置。Wherein, the lock interface may be a lock interface for an application program or a lock interface for the terminal device. The locking interface can be a Jiugongge locking interface, the animation stored in the terminal device can be an animation that can be displayed in the area where a grid in the Jiugongge is located, and the operating parameter can be the current sliding direction or the current touch position.
在所述操作参数为当前滑动方向时,S310可以包括:When the operation parameter is the current sliding direction, S310 may include:
在所述滑动解锁操作的当前触及位置为所述当前触及位置所在宫格的中心点时,确定所述滑动解锁操作产生的轨迹到该宫格的进入点,根据所述进入点与所述中心点的位置关系,确定所述滑动解锁操作的当前滑动方向;When the current touch position of the slide unlock operation is the center point of the grid where the current touch position is located, determine the trajectory generated by the slide unlock operation to the entry point of the grid, and according to the entry point and the center The positional relationship of the points determines the current sliding direction of the sliding unlock operation;
和/或,and / or,
在所述滑动解锁操作的当前触及位置为所述当前触及位置所在宫格的边缘且所述滑动解锁操作产生的轨迹经过该宫格的中心点时,根据所述当前触及位置与所述中心点的位置关系,确定所述滑动解锁操作的当前滑动方向。When the current touch position of the slide unlock operation is the edge of the grid where the current touch position is located and the trajectory generated by the slide unlock operation passes through the center point of the grid, according to the current touch position and the center point to determine the current sliding direction of the sliding unlock operation.
S320、从存储的多个动画中确定与所述操作参数匹配的动画;S320. Determine an animation that matches the operation parameter from a plurality of stored animations;
在所述操作参数为当前滑动方向时,S320可以包括:从存储的多个动画中确定具有所述当前滑动方向的动画效果的动画,将该动画确定为与所述操作参数匹配的动画;When the operation parameter is the current sliding direction, S320 may include: determining an animation having an animation effect of the current sliding direction from a plurality of stored animations, and determining the animation as an animation matching the operation parameter;
和/或,and / or,
在所述操作参数为当前触及位置时,S320可以包括:按照预设的宫格与动画的对应关系,从存储的多个动画中确定与所述当前触及位置所在的宫格相对应的动画,将该动画确定为与所述操作参数匹配的动画。When the operation parameter is the current touch position, S320 may include: according to the preset correspondence between grids and animations, determining the animation corresponding to the grid where the current touch position is located from the multiple stored animations, The animation is determined to be the animation matching the operating parameters.
如图8所示,当当前滑动方向为向右时,显示具有火苗向右效果的蜡烛燃烧动画。当当前滑动方向为向左时,显示具有火苗向左效果的蜡烛燃烧动画。当当前滑动方向为向下或向上时,显示具有火苗静止不同的效果的蜡烛燃烧动画。当然,在本发明其他实施例中,当当前滑动方向为向下时,可以显示具有火苗向下效果的蜡烛燃烧动画。As shown in FIG. 8 , when the current sliding direction is rightward, a candle burning animation with the effect of the flame turning to the right is displayed. When the current sliding direction is left, a candle burning animation with the effect of the flame moving to the left is displayed. When the current sliding direction is down or up, a candle burning animation with different effects of the flame stilling is displayed. Certainly, in other embodiments of the present invention, when the current sliding direction is downward, a candle burning animation with a downward flame effect may be displayed.
当然,也可以根据当前触及位置,将任意一种动画确定为与所述操作参数匹配的动画。如图9所示,当滑动解锁操作触及某宫格时,该宫格所在区域中显示的动画可以随机产生。Of course, any kind of animation may also be determined as the animation matching the operation parameter according to the current touched position. As shown in FIG. 9 , when the sliding unlock operation touches a grid, the animation displayed in the area where the grid is located may be randomly generated.
S330、在所述锁定界面中显示所述匹配的动画。S330. Display the matching animation on the locking interface.
S330可以包括:在所述滑动解锁操作当前触及的宫格所在的区域中显示所述匹配的动画。S330 may include: displaying the matching animation in an area where the grid currently touched by the sliding unlock operation is located.
当然,S330也可以在锁定界面的其他地方显示匹配的动画,例如:在锁定界面底部显示匹配的动画,本发明在此不作限定。Certainly, S330 may also display the matching animation in other places of the locking interface, for example: displaying the matching animation at the bottom of the locking interface, which is not limited in the present invention.
可选的,本发明还可以在所述滑动解锁操作当前触及的宫格的相邻宫格中显示动画。Optionally, in the present invention, an animation may also be displayed in adjacent cells of the cell currently touched by the sliding unlock operation.
在本发明其他实施例中,在所述操作参数为当前滑动方向时,S320可以包括:从存储的多个动画中确定在所述当前触及位置所在宫格中显示的、与所述当前滑动方向匹配的第一动画;从存储的多个动画中确定在所述当前触及位置所在宫格的相邻宫格中显示的、与所述当前滑动方向匹配的第二动画;In other embodiments of the present invention, when the operation parameter is the current sliding direction, S320 may include: determining from a plurality of stored animations, which is displayed in the grid where the current touched position is located, and which is related to the current sliding direction A matched first animation; determining a second animation that matches the current sliding direction and is displayed in an adjacent grid of the grid where the current touch position is located from the multiple stored animations;
相应的,S330可以包括:Correspondingly, S330 may include:
在所述滑动解锁操作当前触及的宫格所在的区域中显示所述第一动画;displaying the first animation in the area where the grid currently touched by the sliding unlock operation is located;
在所述滑动解锁操作当前触及的宫格的相邻宫格所在的区域中显示所述第二动画。The second animation is displayed in an area where adjacent cells of the cell currently touched by the sliding unlock operation are located.
具体的,所述滑动解锁操作当前触及的宫格的相邻宫格可以为:当前滑动方向上的、所述滑动解锁操作未触及的宫格,该宫格与所述滑动解锁操作当前触及的宫格相邻;所述从存储的多个动画中确定在所述当前触及位置所在宫格的相邻宫格中显示的、与所述当前滑动方向匹配的第二动画,可以包括:Specifically, the adjacent grids of the grid currently touched by the slide to unlock operation may be: a grid not touched by the slide to unlock operation in the current sliding direction, and the grid is the same as the grid currently touched by the slide to unlock operation. The grid is adjacent; the determination of the second animation displayed in the adjacent grid of the grid where the current touch position is located and matching the current sliding direction from the multiple stored animations may include:
从存储的多个动画中确定在所述当前触及位置所在宫格的相邻宫格中显示的、与所述当前滑动方向匹配的、具有预示将要触及该相邻宫格的动画效果的第二动画。Determine the second animation that is displayed in the adjacent grid of the grid where the current touch position is located, matches the current sliding direction, and has an animation effect that indicates that the adjacent grid will be touched, from the multiple stored animations. animation.
请参照图8,当前触及的宫格右侧的相邻宫格中可以显示蜡烛火焰从无到有,从小到大的动画,以预示将要触及该相邻宫格。Please refer to FIG. 8 , the adjacent grid on the right side of the currently touched grid can display the animation of the candle flame growing from scratch, from small to large, to indicate that the adjacent grid will be touched.
具体的,所述滑动解锁操作当前触及的宫格的相邻宫格可以为:当前滑动方向上的、所述滑动解锁操作已触及过的宫格,该宫格与所述滑动解锁操作当前触及的宫格相邻;所述从存储的多个动画中确定在所述当前触及位置所在宫格的相邻宫格中显示的、与所述当前滑动方向匹配的第二动画,可以包括:Specifically, the adjacent cells of the cell currently touched by the slide to unlock operation may be: a cell that has been touched by the slide to unlock operation in the current sliding direction, and the cell is not the same as the cell currently touched by the slide to unlock operation. The grids are adjacent to each other; the determination of the second animation displayed in the adjacent grid of the grid where the current touch position is located and matched with the current sliding direction from the multiple stored animations may include:
从存储的多个动画中确定在所述当前触及位置所在宫格的相邻宫格中显示的、与所述当前滑动方向匹配的、具有预示将要远离该相邻宫格的动画效果的第二动画。Determine from the plurality of stored animations the second animation that is displayed in the adjacent grid of the grid where the current touch position is located, matches the current sliding direction, and has an animation effect that indicates that it will move away from the adjacent grid. animation.
请参照图8,当前触及的宫格左侧的相邻宫格中可以显示蜡烛火焰从偏向右侧逐渐回归到火焰向上的动画,以预示将要远离该相邻宫格。Please refer to FIG. 8 , the adjacent grid on the left side of the currently touched grid can display the animation of the candle flame gradually returning to the flame from the right side to indicate that it will move away from the adjacent grid.
在本发明其他实施例中,该终端设备中存储的动画为与锁定主题的标识对应的动画,在S320之前,还可以包括:获得所述锁定界面对应的锁定主题的标识;In other embodiments of the present invention, the animation stored in the terminal device is an animation corresponding to the logo of the locked theme. Before S320, it may also include: obtaining the logo of the locked theme corresponding to the locked interface;
进一步,S320可以具体包括:从存储的多个动画中确定与获得的锁定主题的标识对应的动画;从与获得的锁定主题的标识对应的动画中确定与所述操作参数匹配的动画。Further, S320 may specifically include: determining an animation corresponding to the obtained identification of the locked theme from the multiple stored animations; determining an animation matching the operation parameter from the animations corresponding to the obtained identification of the locked theme.
通过显示与锁定主题对应的动画,可以使得显示的动画与锁定主题具有相匹配的显示效果,用户感受更佳。如图9所示,在锁定主题为圣诞节主题时,显示的动画为礼物打开效果动画,该动画与圣诞节主题相匹配,使得整体显示效果非常一致。By displaying the animation corresponding to the locked theme, the displayed animation can have a display effect that matches the locked theme, and the user experience is better. As shown in FIG. 9 , when the locked theme is the Christmas theme, the displayed animation is a gift opening effect animation, which matches the Christmas theme, making the overall display effect very consistent.
在本发明其他实施例中,图7所示方法还可以包括:In other embodiments of the present invention, the method shown in FIG. 7 may also include:
在用户停止在所述终端设备上进行滑动解锁操作后,判断所述滑动解锁操作产生的轨迹是否与预设的解锁轨迹相同,如果是,则停止显示所述匹配的动画并进行解锁;否则,停止显示所述匹配的动画并保持所述锁定界面的显示。After the user stops performing the sliding unlock operation on the terminal device, it is judged whether the track generated by the sliding unlock operation is the same as the preset unlocking track, and if so, stop displaying the matching animation and perform unlocking; otherwise, Stop displaying the matching animation and keep displaying the locking interface.
滑动解锁操作产生的轨迹与预设的解锁轨迹相同,也即代表解锁成功,可以进行解锁,停止动画的显示。如不相同,则代表解锁失败,可以停止动画的显示,保持锁定界面的显示让用户再次进行解锁。The track generated by the sliding unlock operation is the same as the preset unlocking track, which means that the unlocking is successful, the unlocking can be performed, and the display of the animation stops. If they are not the same, it means that the unlocking has failed, and the display of the animation can be stopped, and the display of the lock interface can be kept for the user to unlock again.
在本发明其他实施例中,在解锁失败后,还可以将滑动解锁操作产生的轨迹的颜色切换为红色,以提示用户解锁错误。当然,在解锁失败后,还可以有其他的提示,例如:晃动应用程序图标等,本发明在此不做限定。In other embodiments of the present invention, after the unlocking fails, the color of the trajectory generated by the slide unlocking operation may also be switched to red to prompt the user for an unlocking error. Of course, after the unlocking fails, there may be other prompts, for example: shaking application program icons, etc., which is not limited in the present invention.
本发明实施例提供的一种锁定界面的显示方法,可以在终端设备中存储多个动画,在锁定界面下,接收用户的滑动解锁操作,根据滑动解锁操作确定操作参数;从存储的多个动画中确定与操作参数匹配的动画并在锁定界面中显示。本发明可以在锁定界面中显示动画,丰富了锁定界面中的显示内容。由于显示的动画与滑动解锁操作的操作参数相匹配,因此本发明的动画具有较高的显示效果,用户感受良好。A method for displaying a lock interface provided by an embodiment of the present invention can store a plurality of animations in a terminal device, receive a user's slide unlock operation under the lock interface, and determine operating parameters according to the slide unlock operation; from the stored multiple animations Determine the animation that matches the operating parameters and display it in the lock interface. The invention can display animation in the locking interface, which enriches the display content in the locking interface. Since the displayed animation matches the operating parameters of the sliding unlock operation, the animation of the present invention has a high display effect and the user feels good.
与图7所示方法实施例相对应,本发明还提供了一种锁定界面的显示装置。Corresponding to the method embodiment shown in FIG. 7 , the present invention also provides a display device for locking an interface.
如图10所示,本发明提供的一种锁定界面的显示装置,应用于终端设备中,所述终端设备中存储有多个动画,该装置可以包括:参数确定单元310、动画确定单元320和动画显示单元330,As shown in FIG. 10 , a device for displaying a locking interface provided by the present invention is applied to a terminal device, and multiple animations are stored in the terminal device. The device may include: a parameter determination unit 310, an animation determination unit 320 and animation display unit 330,
所述参数确定单元310,用于在锁定界面下,接收用户的滑动解锁操作,根据所述滑动解锁操作确定操作参数;The parameter determination unit 310 is configured to receive a user's sliding unlock operation under the locking interface, and determine an operating parameter according to the sliding unlock operation;
其中,终端设备中存储的多个动画可以具有多种动画效果,所述多个动画可以从与所述终端设备连接的服务器中获得。Wherein, the plurality of animations stored in the terminal device may have various animation effects, and the plurality of animations may be obtained from a server connected to the terminal device.
其中,所述锁定界面可以为对应用程序的锁定界面或对所述终端设备的锁定界面。所述锁定界面可以为九宫格锁定界面,所述终端设备中存储的动画可以为可在九宫格中的一个宫格所在区域中显示的动画,所述操作参数可以为当前滑动方向或当前触及位置。Wherein, the lock interface may be a lock interface for an application program or a lock interface for the terminal device. The locking interface can be a Jiugongge locking interface, the animation stored in the terminal device can be an animation that can be displayed in the area where a grid in the Jiugongge is located, and the operating parameter can be the current sliding direction or the current touch position.
在所述操作参数为当前滑动方向时,所述参数确定单元310可以包括:第一确定子单元和/或第二确定子单元,When the operation parameter is the current sliding direction, the parameter determining unit 310 may include: a first determining subunit and/or a second determining subunit,
所述第一确定子单元,用于在锁定界面下,接收滑动解锁操作,在所述滑动解锁操作的当前触及位置为所述当前触及位置所在宫格的中心点时,确定所述滑动解锁操作产生的轨迹到该宫格的进入点,根据所述进入点与所述中心点的位置关系,确定所述滑动解锁操作的当前滑动方向;The first determining subunit is configured to receive a slide unlock operation on the locking interface, and determine the slide unlock operation when the current touch position of the slide unlock operation is the center point of the grid where the current touch position is located From the generated track to the entry point of the grid, according to the positional relationship between the entry point and the center point, determine the current sliding direction of the sliding unlock operation;
所述第二确定子单元,用于在锁定界面下,接收滑动解锁操作,在所述滑动解锁操作的当前触及位置为所述当前触及位置所在宫格的边缘且所述滑动解锁操作产生的轨迹经过该宫格的中心点时,根据所述当前触及位置与所述中心点的位置关系,确定所述滑动解锁操作的当前滑动方向。The second determination subunit is configured to receive a sliding unlock operation under the locking interface, the current touched position of the sliding unlock operation is the edge of the grid where the current touched position is located and the trajectory generated by the sliding unlock operation When the central point of the grid is passed, the current sliding direction of the sliding unlock operation is determined according to the positional relationship between the current touched position and the central point.
所述动画确定单元320,用于从存储的多个动画中确定与所述操作参数匹配的动画;The animation determining unit 320 is configured to determine an animation matching the operation parameter from a plurality of stored animations;
其中,在所述操作参数为当前滑动方向时,所述动画确定单元320,可以具体用于从存储的多个动画中确定具有所述当前滑动方向的动画效果的动画,将该动画确定为与所述操作参数匹配的动画;Wherein, when the operation parameter is the current sliding direction, the animation determining unit 320 may be specifically configured to determine an animation having an animation effect of the current sliding direction from among the plurality of stored animations, and determine the animation as an animation of the matching of said operating parameters;
和/或,and / or,
在所述操作参数为当前触及位置时,所述动画确定单元320,可以具体用于按照预设的宫格与动画的对应关系,从存储的多个动画中确定与所述当前触及位置所在的宫格相对应的动画,将该动画确定为与所述操作参数匹配的动画。When the operation parameter is the current touched position, the animation determination unit 320 can be specifically configured to determine the location corresponding to the current touched position from the multiple stored animations according to the preset correspondence between grids and animations. The animation corresponding to the grid is determined as the animation matching the operation parameter.
所述动画显示单元330,用于在所述锁定界面中显示所述匹配的动画。The animation display unit 330 is configured to display the matching animation on the locking interface.
其中,所述动画显示单元330,可以具体用于:在所述滑动解锁操作当前触及的宫格所在的区域中显示所述匹配的动画。Wherein, the animation display unit 330 may be specifically configured to: display the matching animation in the area where the grid currently touched by the sliding unlock operation is located.
当然,所述动画显示单元330也可以在锁定界面的其他地方显示匹配的动画,例如:在锁定界面底部显示匹配的动画,本发明在此不作限定。Certainly, the animation display unit 330 may also display the matching animation in other places of the locking interface, for example: displaying the matching animation at the bottom of the locking interface, which is not limited in the present invention.
可选的,在所述操作参数为当前滑动方向时,所述动画确定单元320,可以包括:第三确定子单元和第四确定子单元,Optionally, when the operation parameter is the current sliding direction, the animation determining unit 320 may include: a third determining subunit and a fourth determining subunit,
所述第三确定子单元,用于从存储的多个动画中确定在所述当前触及位置所在宫格中显示的、与所述当前滑动方向匹配的第一动画;The third determination subunit is configured to determine, from a plurality of stored animations, the first animation displayed in the grid where the current touch position is located and matching the current sliding direction;
所述第四确定子单元,用于从存储的多个动画中确定在所述当前触及位置所在宫格的相邻宫格中显示的、与所述当前滑动方向匹配的第二动画;The fourth determination subunit is configured to determine a second animation that is displayed in an adjacent grid of the grid where the current touch position is located and matches the current sliding direction from a plurality of stored animations;
所述动画显示单元330,具体用于:在所述滑动解锁操作当前触及的宫格所在的区域中显示所述第一动画;在所述滑动解锁操作当前触及的宫格的相邻宫格所在的区域中显示所述第二动画。The animation display unit 330 is specifically configured to: display the first animation in the area where the grid currently touched by the sliding unlock operation is located; The second animation is displayed in the area of the .
具体的,所述滑动解锁操作当前触及的宫格的相邻宫格可以为:当前滑动方向上的、所述滑动解锁操作未触及的宫格,该宫格与所述滑动解锁操作当前触及的宫格相邻;所述第四确定子单元可以具体用于:Specifically, the adjacent grids of the grid currently touched by the slide to unlock operation may be: a grid not touched by the slide to unlock operation in the current sliding direction, and the grid is the same as the grid currently touched by the slide to unlock operation. The grids are adjacent; the fourth determining subunit can be specifically used for:
从存储的多个动画中确定在所述当前触及位置所在宫格的相邻宫格中显示的、与所述当前滑动方向匹配的、具有预示将要触及该相邻宫格的动画效果的第二动画。Determine the second animation that is displayed in the adjacent grid of the grid where the current touch position is located, matches the current sliding direction, and has an animation effect that indicates that the adjacent grid will be touched, from the multiple stored animations. animation.
具体的,所述滑动解锁操作当前触及的宫格的相邻宫格可以为:当前滑动方向上的、所述滑动解锁操作已触及过的宫格,该宫格与所述滑动解锁操作当前触及的宫格相邻;所述第四确定子单元可以具体用于:Specifically, the adjacent cells of the cell currently touched by the slide to unlock operation may be: a cell that has been touched by the slide to unlock operation in the current sliding direction, and the cell is not the same as the cell currently touched by the slide to unlock operation. The grids are adjacent; the fourth determining subunit can be specifically used for:
从存储的多个动画中确定在所述当前触及位置所在宫格的相邻宫格中显示的、与所述当前滑动方向匹配的、具有预示将要远离该相邻宫格的动画效果的第二动画。Determine from the plurality of stored animations the second animation that is displayed in the adjacent grid of the grid where the current touch position is located, matches the current sliding direction, and has an animation effect that indicates that it will move away from the adjacent grid. animation.
在本发明其他实施例中,所述终端设备中存储的动画可以为与锁定主题的标识对应的动画,本发明实施例提供的锁定界面的显示装置还可以包括:主题标识获得单元,用于在所述动画确定单元320从存储的多个动画中确定与所述操作参数匹配的动画之前,获得所述锁定界面对应的锁定主题的标识;In other embodiments of the present invention, the animation stored in the terminal device may be an animation corresponding to the logo of the locked theme, and the display device of the locked interface provided in the embodiment of the present invention may further include: a theme logo obtaining unit, configured to Before the animation determining unit 320 determines the animation that matches the operation parameter from the multiple stored animations, obtain the identification of the locking theme corresponding to the locking interface;
所述动画确定单元320,可以具体用于:从存储的多个动画中确定与获得的锁定主题的标识对应的动画;从与获得的锁定主题的标识对应的动画中确定与所述操作参数匹配的动画。The animation determining unit 320 may be specifically configured to: determine the animation corresponding to the obtained identification of the locked theme from the multiple stored animations; determine from the animation corresponding to the obtained identification of the locked theme that matches the operation parameter animation.
通过显示与锁定主题对应的动画,可以使得显示的动画与锁定主题具有相匹配的显示效果,用户感受更佳。如图9所示,在锁定主题为圣诞节主题时,显示的动画为礼物打开效果动画,该动画与圣诞节主题相匹配,使得整体显示效果非常一致。By displaying the animation corresponding to the locked theme, the displayed animation can have a display effect that matches the locked theme, and the user experience is better. As shown in FIG. 9 , when the locked theme is the Christmas theme, the displayed animation is a gift opening effect animation, which matches the Christmas theme, making the overall display effect very consistent.
在本发明其他实施例中,图10所示装置还可以包括:轨迹判断单元、第一动画停止单元和第二动画停止单元,In other embodiments of the present invention, the device shown in FIG. 10 may further include: a trajectory judging unit, a first animation stop unit, and a second animation stop unit,
所述轨迹判断单元,用于在用户停止在所述终端设备上进行滑动解锁操作后,判断所述滑动解锁操作产生的轨迹是否与预设的解锁轨迹相同,如果是,则触发所述第一动画停止单元,否则触发所述第二动画停止单元;The trajectory judging unit is configured to judge whether the trajectory generated by the sliding unlock operation is the same as the preset unlocking trajectory after the user stops performing the sliding unlock operation on the terminal device, and if so, trigger the first an animation stop unit, otherwise triggering the second animation stop unit;
所述第一动画停止单元,用于停止显示所述匹配的动画并进行解锁;The first animation stop unit is configured to stop displaying the matching animation and perform unlocking;
所述第二动画停止单元,用于停止显示所述匹配的动画并保持所述锁定界面的显示。The second animation stopping unit is configured to stop displaying the matching animation and keep displaying the locking interface.
滑动解锁操作产生的轨迹与预设的解锁轨迹相同,也即代表解锁成功,可以进行解锁,停止动画的显示。如不相同,则代表解锁失败,可以停止动画的显示,保持锁定界面的显示让用户再次进行解锁。The track generated by the sliding unlock operation is the same as the preset unlocking track, which means that the unlocking is successful, the unlocking can be performed, and the display of the animation stops. If they are not the same, it means that the unlocking has failed, and the display of the animation can be stopped, and the display of the lock interface can be kept for the user to unlock again.
在本发明其他实施例中,在解锁失败后,还可以将滑动解锁操作产生的轨迹的颜色切换为红色,以提示用户解锁错误。当然,在解锁失败后,还可以有其他的提示,例如:晃动应用程序图标等,本发明在此不做限定。In other embodiments of the present invention, after the unlocking fails, the color of the trajectory generated by the slide unlocking operation may also be switched to red to prompt the user for an unlocking error. Of course, after the unlocking fails, there may be other prompts, for example: shaking application program icons, etc., which is not limited in the present invention.
本发明实施例提供的一种锁定界面的显示装置,可以在终端设备中存储多个动画,在锁定界面下,接收用户的滑动解锁操作,根据滑动解锁操作确定操作参数;从存储的多个动画中确定与操作参数匹配的动画并在锁定界面中显示。本发明可以在锁定界面中显示动画,丰富了锁定界面中的显示内容。由于显示的动画与滑动解锁操作的操作参数相匹配,因此本发明的动画具有较高的显示效果,用户感受良好。A display device for a locking interface provided by an embodiment of the present invention can store a plurality of animations in a terminal device, receive a user's sliding unlock operation under the locking interface, and determine operating parameters according to the sliding unlocking operation; from the stored multiple animations Determine the animation that matches the operating parameters and display it in the lock interface. The invention can display animation in the locking interface, which enriches the display content in the locking interface. Since the displayed animation matches the operating parameters of the sliding unlock operation, the animation of the present invention has a high display effect and the user feels good.
相应地,本申请实施例还提供了一种存储介质,其中,该存储介质用于存储应用程序,所述应用程序用于在运行时执行本申请所述的一种锁定界面的显示方法。其中,本申请所述的一种锁定界面的显示方法,应用于终端设备中,所述终端设备中存储有多个动画,所述方法包括:Correspondingly, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store an application program, and the application program is used to execute the method for displaying a lock interface described in the present application when running. Wherein, a method for displaying a lock interface described in this application is applied to a terminal device, where multiple animations are stored in the terminal device, and the method includes:
在锁定界面下,接收用户的滑动解锁操作,根据所述滑动解锁操作确定操作参数;Under the locking interface, receiving a user's sliding unlock operation, and determining operating parameters according to the sliding unlock operation;
从存储的多个动画中确定与所述操作参数匹配的动画;determining an animation matching said operating parameter from a plurality of stored animations;
在所述锁定界面中显示所述匹配的动画。The matching animation is displayed in the locking interface.
相应地,本申请实施例还提供了一种应用程序,其中,该应用程序用于在运行时执行本申请所述的一种锁定界面的显示方法。其中,本申请所述的一种锁定界面的显示方法,应用于终端设备中,所述终端设备中存储有多个动画,所述方法包括:Correspondingly, an embodiment of the present application also provides an application program, wherein the application program is used to execute the method for displaying a lock interface described in the present application during operation. Wherein, a method for displaying a lock interface described in this application is applied to a terminal device, where multiple animations are stored in the terminal device, and the method includes:
在锁定界面下,接收用户的滑动解锁操作,根据所述滑动解锁操作确定操作参数;Under the locking interface, receiving a user's sliding unlock operation, and determining operating parameters according to the sliding unlock operation;
从存储的多个动画中确定与所述操作参数匹配的动画;determining an animation matching said operating parameter from a plurality of stored animations;
在所述锁定界面中显示所述匹配的动画。The matching animation is displayed in the locking interface.
相应地,本申请实施例还提供了一种终端设备,所述终端设备中存储有多个动画,所述终端设备包括:Correspondingly, the embodiment of the present application also provides a terminal device, wherein a plurality of animations are stored in the terminal device, and the terminal device includes:
处理器、存储器、通信接口和总线;Processor, memory, communication interface and bus;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;The processor, the memory, and the communication interface are connected through the bus and complete mutual communication;
所述存储器存储可执行程序代码;The memory stores executable program code;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于:The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to:
在锁定界面下,接收用户的滑动解锁操作,根据所述滑动解锁操作确定操作参数;Under the locking interface, receiving a user's sliding unlock operation, and determining operating parameters according to the sliding unlock operation;
从存储的多个动画中确定与所述操作参数匹配的动画;determining an animation matching said operating parameter from a plurality of stored animations;
在所述锁定界面中显示所述匹配的动画。The matching animation is displayed in the locking interface.
本发明实施例提供的一种终端设备,可以在终端设备中存储多个动画,在锁定界面下,接收用户的滑动解锁操作,根据用户的滑动解锁操作确定操作参数;从存储的多个动画中确定与操作参数匹配的动画并在锁定界面中显示。本发明可以在锁定界面中显示动画,丰富了锁定界面中的显示内容。由于显示的动画与滑动解锁操作的操作参数相匹配,因此本发明的动画具有较高的显示效果,用户感受良好。A terminal device provided by an embodiment of the present invention can store a plurality of animations in the terminal device, receive the user's sliding unlock operation under the lock interface, and determine the operating parameters according to the user's sliding unlock operation; from the stored multiple animations An animation that matches the operating parameters is determined and displayed in the locked interface. The invention can display animation in the locking interface, which enriches the display content in the locking interface. Since the displayed animation matches the operating parameters of the sliding unlock operation, the animation of the present invention has a high display effect and the user feels good.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. any such actual relationship or order exists between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510482558.2A CN105187495A (en) | 2015-08-07 | 2015-08-07 | Information recommendation method and device, terminal device and server |
PCT/CN2016/093027 WO2017024973A1 (en) | 2015-08-07 | 2016-08-03 | Information recommendation method and device, terminal apparatus, and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510482558.2A CN105187495A (en) | 2015-08-07 | 2015-08-07 | Information recommendation method and device, terminal device and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105187495A true CN105187495A (en) | 2015-12-23 |
Family
ID=54909335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510482558.2A Pending CN105187495A (en) | 2015-08-07 | 2015-08-07 | Information recommendation method and device, terminal device and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105187495A (en) |
WO (1) | WO2017024973A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955649A (en) * | 2016-04-29 | 2016-09-21 | 湖南博广信息科技有限公司 | Slide unlocking-based advertisement display method |
CN107168693A (en) * | 2017-04-17 | 2017-09-15 | 北京小米移动软件有限公司 | The display methods and device of locking screen interface |
CN107704560A (en) * | 2017-09-21 | 2018-02-16 | 星潮闪耀移动网络科技(中国)有限公司 | The method, apparatus and equipment of a kind of information recommendation |
CN107765707A (en) * | 2017-10-25 | 2018-03-06 | 深圳慧源创新科技有限公司 | Control the method, apparatus and system of unmanned plane rolling |
CN109491392A (en) * | 2018-12-03 | 2019-03-19 | 上海木木聚枞机器人科技有限公司 | A kind of method and system of shared avoidance |
CN110209963A (en) * | 2018-02-13 | 2019-09-06 | 阿里巴巴集团控股有限公司 | Interface display method, device, equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110929140A (en) * | 2018-09-14 | 2020-03-27 | 奇酷互联网络科技(深圳)有限公司 | Application recommendation method applied to mobile terminal, mobile terminal and storage device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136324A (en) * | 2011-11-22 | 2013-06-05 | 三星电子株式会社 | System and method of recommending applications based on context information |
CN103327102A (en) * | 2013-06-24 | 2013-09-25 | 北京小米科技有限责任公司 | Application program recommending method and device |
CN103473302A (en) * | 2013-09-09 | 2013-12-25 | 百度在线网络技术(北京)有限公司 | Lock screen information display method, device and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1846885A2 (en) * | 2005-02-04 | 2007-10-24 | Cellfire, Inc. | Delivering targeted advertising to mobile devices |
WO2010044629A2 (en) * | 2008-10-17 | 2010-04-22 | Samsung Electronics Co., Ltd. | Apparatus and method for managing advertisement application |
-
2015
- 2015-08-07 CN CN201510482558.2A patent/CN105187495A/en active Pending
-
2016
- 2016-08-03 WO PCT/CN2016/093027 patent/WO2017024973A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136324A (en) * | 2011-11-22 | 2013-06-05 | 三星电子株式会社 | System and method of recommending applications based on context information |
CN103327102A (en) * | 2013-06-24 | 2013-09-25 | 北京小米科技有限责任公司 | Application program recommending method and device |
CN103473302A (en) * | 2013-09-09 | 2013-12-25 | 百度在线网络技术(北京)有限公司 | Lock screen information display method, device and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955649A (en) * | 2016-04-29 | 2016-09-21 | 湖南博广信息科技有限公司 | Slide unlocking-based advertisement display method |
CN107168693A (en) * | 2017-04-17 | 2017-09-15 | 北京小米移动软件有限公司 | The display methods and device of locking screen interface |
CN107704560A (en) * | 2017-09-21 | 2018-02-16 | 星潮闪耀移动网络科技(中国)有限公司 | The method, apparatus and equipment of a kind of information recommendation |
CN107704560B (en) * | 2017-09-21 | 2021-02-23 | 星潮闪耀移动网络科技(中国)有限公司 | Information recommendation method, device and equipment |
CN107765707A (en) * | 2017-10-25 | 2018-03-06 | 深圳慧源创新科技有限公司 | Control the method, apparatus and system of unmanned plane rolling |
CN110209963A (en) * | 2018-02-13 | 2019-09-06 | 阿里巴巴集团控股有限公司 | Interface display method, device, equipment and storage medium |
CN109491392A (en) * | 2018-12-03 | 2019-03-19 | 上海木木聚枞机器人科技有限公司 | A kind of method and system of shared avoidance |
Also Published As
Publication number | Publication date |
---|---|
WO2017024973A1 (en) | 2017-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105187495A (en) | Information recommendation method and device, terminal device and server | |
US10496267B2 (en) | Operation method and terminal device | |
US11868605B2 (en) | Application bar display method and electronic device | |
CN107547750B (en) | Terminal control method, device and storage medium | |
US10282386B1 (en) | Sampling a part of a content item | |
CN102763065B (en) | For navigating through multiple device, method and graphical user interface of checking region | |
KR101974393B1 (en) | Cargo distribution information providing system for shippers, car owner and broker | |
US20100023871A1 (en) | Methods and Systems Providing an Interactive Social Ticker | |
CN103064584A (en) | Method and device for pasting | |
US20140081801A1 (en) | User terminal device and network server apparatus for providing evaluation information and methods thereof | |
CN104462564B (en) | The method and apparatus that prompt message is provided | |
CN105786930A (en) | Touch interaction based search method and apparatus | |
CN106371789A (en) | Method for displaying prompt message in application program, and mobile terminal | |
WO2017024972A1 (en) | Method and device for displaying a locked interface and terminal device for same | |
US9204205B1 (en) | Viewing advertisements using an advertisement queue | |
CN112988006A (en) | Display method, display device, electronic equipment and storage medium | |
CN109976599B (en) | Method, device and device for processing unread messages of application program | |
CN112843723B (en) | Interactive methods, devices, electronic devices and storage media | |
CN103324478A (en) | Mobile terminal and application program management method thereof | |
CN111934985A (en) | Media content sharing method, device and equipment and computer readable storage medium | |
WO2014176896A1 (en) | System and method for updating information in an instant messaging application | |
CN102902455A (en) | Method for paying attention in social contact system | |
CN109299355B (en) | A recommended book list display method, device and storage medium | |
CN105988679A (en) | Information presentation method and device and user equipment | |
CN109525485B (en) | Message leaving method and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151223 |