WO2020062677A1 - 锁屏页面的消息显示方法、装置、电子设备及介质 - Google Patents

锁屏页面的消息显示方法、装置、电子设备及介质 Download PDF

Info

Publication number
WO2020062677A1
WO2020062677A1 PCT/CN2018/124337 CN2018124337W WO2020062677A1 WO 2020062677 A1 WO2020062677 A1 WO 2020062677A1 CN 2018124337 W CN2018124337 W CN 2018124337W WO 2020062677 A1 WO2020062677 A1 WO 2020062677A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
area
application
message
applications
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.)
Ceased
Application number
PCT/CN2018/124337
Other languages
English (en)
French (fr)
Inventor
赵芹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Publication of WO2020062677A1 publication Critical patent/WO2020062677A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application belongs to the technical field of data processing, and particularly relates to a method, an apparatus, an electronic device, and a medium for displaying a message on a lock screen page.
  • the message pop-up window of the existing lock screen page often displays multiple messages arranged in sequence according to the time sequence of receiving the messages. At this time, it is difficult for users to clearly determine which message is pushed by the application they want to browse most. More importantly, the user must perform multiple swipes or clicks to filter out the most wanted messages from a large number of push messages. Therefore, when the amount of push messages is large, the existing lock screen message popup window will be lost. Easy to navigate technical effects.
  • the existing method for displaying messages when the screen is locked has a problem that it is difficult for users to filter messages when coping with a large number of push messages, and the convenience of the operation is poor.
  • the prior art has a problem of poor operation convenience due to difficulty in filtering messages.
  • a first aspect of the embodiments of the present application provides a message display method for a lock screen page, including:
  • a second aspect of the embodiments of the present application provides a message display device for a lock screen page.
  • the message display device for the lock screen page includes a calculation module for calculating an unread message received by the electronic device in a lock screen state. Number; a statistics module for counting the number of applications if the number of unread messages is greater than a first preset number, the number of applications being the number of applications that generate the unread messages; a selection module for if The number of applications is greater than the second preset number, the second preset number of applications is selected as a candidate application from the applications generating the unread message, and an icon of the candidate application is displayed on the electronic device Display on the screen of the device in a first preset area; a first display module configured to detect candidates corresponding to the moved icons when detecting that the icons in the first preset area are moved to the second preset area The application is selected as the target application, and an identifier of a message type to which each unread message corresponding to the target application is displayed is displayed in the second preset area.
  • the message type is a specific category to which the unread message belongs in the target application; a second display module is configured to detect that the identifier in the second preset area is moved to a third preset area, Displaying all unread messages of the message type corresponding to the moved identifier in the third preset area.
  • a third aspect of the embodiments of the present application provides an electronic device including a memory and a processor.
  • the memory stores computer-readable instructions executable on the processor, and the processor executes the computer-readable instructions. The steps of the method for displaying a message on the lock screen page as described in the first aspect when the instruction is read.
  • a fourth aspect of the embodiments of the present application provides a computer non-volatile readable storage medium, where the computer non-readable storage medium stores computer readable instructions, and the computer readable instructions are executed by a processor Steps of implementing the message display method of the lock screen page as described in the first aspect.
  • the number of applications in the lock screen state of the electronic device is greater than the first preset number
  • the number of applications is counted. If the number of applications is greater than the second preset number, the application program that generates unread messages Selecting the second preset number of applications as candidate applications, and displaying the icons of the candidate applications in the first preset area of the screen; when the icons in the first preset area are detected to be moved When reaching the second preset area, the identifier of the message type to which each unread message belongs in the application corresponding to the icon being moved is displayed in the second preset area.
  • FIG. 1 is an implementation flowchart of a method for displaying a message on a lock screen page according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a screen display area provided by an embodiment of the present application.
  • FIG. 3 is a detailed implementation process of a message display method S105 of a lock screen page according to an embodiment of the present application
  • FIG. 4 is a flowchart of displaying a message type identifier according to an embodiment of the present application.
  • FIG. 5 is a structural block diagram of a message display device for a lock screen page according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the present application.
  • FIG. 1 shows an implementation flow of a method for displaying a message on a lock screen page according to an embodiment of the present application.
  • the method flow includes steps S101 to S107.
  • the specific implementation principle of each step is as follows.
  • S101 Calculate the number of unread messages received by the electronic device in the lock screen state.
  • the message display methods of the lock screen page provided in the embodiments of the present application are all completed in a lock screen state of the electronic device.
  • the electronic device may receive messages pushed by multiple applications under the lock screen state. Before the user unlocks the electronic device ’s lock screen state and opens the corresponding application, these messages will be considered as unread messages.
  • the message display process of the lock screen page is started.
  • the change of the placed state can be regarded as a trigger instruction, and a subsequent message display process starts.
  • the initial step is to count the number of unread messages, and in subsequent steps, different operations are performed according to the number of unread messages.
  • FIG. 2 shows a schematic diagram of a screen display area provided by an embodiment of the present application. It is worth noting that the schematic diagram is for the convenience of other technicians to understand the embodiment of the present application. It is only one method of arranging the display areas and does not affect the present application. The embodiment plays a restrictive role. Any different arrangement manner for different preset areas is within the protection scope of the claims as long as the display manner of the related messages is the same as the embodiment of the present application.
  • the number of unread messages is not greater than the first preset number, it proves that the unread messages are still relatively small, and therefore does not require excessive calculation steps, and is directly in the fourth preset area on the screen. All unread messages are displayed, so that the user can browse these unread messages without having to enter a specific application program once the trigger instruction is received in the lock screen state of the electronic device.
  • the number of unread messages is greater than the first preset number, it is proved that the number of unread messages is too much. Whether the user turns the page or scrolls through the pages in the fourth preset area, it takes a certain amount of time to filter out himself. The message that I want to browse, so if the unread messages are simply arranged in the chronological order in the fourth preset area, it is obvious that the unread messages still appear cluttered, which is not conducive to the user to quickly filter the messages.
  • the number of applications that generate the unread messages needs to be counted. For example, there are currently 30 unread messages in total, and these unread messages may be pushed by 8 types of applications, respectively. The number is 8.
  • the above S105 includes:
  • S1051 Generate a correspondence between the application and the click time according to the time when the icon of the application corresponding to each unread message is clicked on the lock screen page during the lock screen during the first preset time period.
  • the first preset time period is a fixed length of time before the current time, for example, the first preset time period may be a time period from 24 hours before the current time to the current time.
  • the first preset time period may be a time period from 24 hours before the current time to the current time.
  • S1052 Calculate the number of clicks corresponding to each application in multiple unit periods based on the corresponding relationship between the application and the click time, and generate a corresponding relationship between the unit time period and the number of clicks for each application.
  • the unit time period may be one hour. Assuming that the current time is 20:00, according to the click time corresponding to each application, the number of clicks corresponding to each application from 20:00 to 21:00 on the previous day is counted. The number of clicks corresponding to each application from 2:00 to 22:00 ... The number of clicks corresponding to each application from 19:00 to 20:00 today, thereby generating a correspondence between the unit time period and the number of clicks for each application.
  • S1053 Fit a corresponding relationship between the unit time period in the first preset time period and the number of clicks of each application program through a preset linear regression model.
  • the number of clicks on application i where n i is the n-th unit time period corresponding to application i in the preset time period, A is the linear regression coefficient, and B is the error coefficient.
  • the unit time periods in the first preset time period are sequentially sorted in chronological order, and the X of the first unit time period is sequentially (N) is set to 1, X (n) in the second unit time period is set to 2, X (n) in the third unit time period is set to 3, and so on, X (n)
  • the n-th unit time period within 24 hours is expressed as an independent variable.
  • the preset time period is divided into a total of 24 unit time periods
  • the X (n) of the first unit time period after the current time is 25, and the value of the second unit time period after the current time is 25.
  • X (n) is 26, and so on.
  • the linear regression coefficient and error coefficient in the linear regression model can be calculated by the least square method, and then After the linear regression coefficient and the error coefficient are brought into a linear regression model, a linear regression equation corresponding to each application program is generated.
  • the number of clicks for 2 hours after the current time is calculated according to the linear regression equation corresponding to each application. For example: if the first preset time period is 24 hours and the unit time period is 1 hour, then take 25 and 26 as the values of n i into the above linear regression equation to calculate the 1 hour after the current time, And during 1-2 hours, the number of clicks corresponding to the application i, and the sum of the two is used as the predicted clicks, and finally the application corresponding to the second preset number of the largest predicted clicks is selected as The candidate application.
  • the user can filter out the unread messages that need to be browsed through the process of sliding on the touch screen of the electronic device twice. This step is mainly about the execution of the electronic device after the user's first sliding operation is detected. method.
  • an instant messaging application may push messages from contacts with different tags, such as “friends” tags, "family” Tags, “customer” tags, etc.
  • these different tags correspond to a message type in the application; for example, an information application may push different types of messages, such as "sports" News, "current affairs” type news, "user attention” type news, etc.
  • these different news categories correspond to a message type in the application.
  • the intermediate layer information that is, the message type
  • it can help users better and faster filter the messages that they want to browse, rather than determining Once you have an application, filter each unread message pushed by the application one by one.
  • the number of different message types to which these unread messages belong may also be excessive. Since the area of the second preset area is The settings are limited, so this may cause a certain obstacle when displaying the identifiers of these message types in the second preset area, so this application further provides a method for displaying the identifiers of message types.
  • the method for displaying the foregoing message type identifier includes:
  • the display area of the identifier unit is a preset display area of a message type identifier on the screen.
  • S404 Generate a second region lock screen interface displayed in the second preset region, where the second region lock screen interface includes a second region page of the planned number, and the second region page is used to display the second region page. Identification of the message type, and after receiving the user's switching instruction, it switches to the other second area page.
  • multiple second area pages need to be generated in the second preset area.
  • the user can trigger multiple second area pages to switch by swiping or clicking.
  • a second region page has a corresponding page number. After detecting the switching instruction, the electronic device switches the currently displayed second region page in the second preset region to the page number of the second region page currently displayed. The second area page is displayed.
  • the embodiment of the present application enables the user to sort out the current messages of interest from a large number of unread messages through two sliding processes, which improves the user experience.
  • FIG. 5 shows a structural block diagram of the message display device of the lock screen page provided in the embodiment of the present application. Examples related parts.
  • the device includes:
  • the calculation module 501 is configured to calculate the number of unread messages received by the electronic device in the lock screen state; and the statistics module 502 is configured to count the number of applications if the number of unread messages is greater than a first preset number, where The number of applications is the number of applications that generate the unread messages; a selection module 503 is configured to select the second pre-selected application from the applications that generate the unread messages if the number of applications is greater than a second preset number Set a number of applications as candidate applications, and display an icon of the candidate application in a first preset area of the screen of the electronic device; a first display module 504 is configured to detect when the first When the icon in the preset area is moved to the second preset area, the candidate application corresponding to the moved icon is selected as the target application, and the target application corresponding to the target application is displayed in the second preset area.
  • An identifier of a message type to which each unread message belongs is a specific category to which the unread message belongs in the target application; the second display module 505 uses Upon detection of the identification in the second predetermined region is moved to the third predetermined region, displaying the message corresponding to the identifier of the mobile type all unread messages within the third predetermined region.
  • displaying the identifiers of message types to which each unread message corresponding to the target application program belongs in the second preset area includes: if the number of identifiers of the message types is greater than a preset first A quantity threshold, the preset display area of the identification unit is called, and the product of the number of logos of the message type and the display area of the identification unit is calculated as the area to be displayed, and the display area of the identification unit is a preset one Display area of the message type identifier on the screen; calculating the quotient of the area to be displayed divided by the area of the second preset area, and taking an approximate value as a planned quantity by a further method; generating and displaying the second area A second area lock screen interface of a preset area, the second area lock screen interface including the planned number of second area pages, where the second area page is used to display the identifier of the message type, and is received upon receiving After the user's switching instruction, the user switches to another page of the second area.
  • the method further includes: if the number of the message type identifiers is not greater than a preset first quantity threshold and greater than a second quantity threshold, calculating the area to be displayed divided by the second preset area The quotient of the area is used as the overflow ratio; the quotient of calculating the display area of the identification unit divided by the overflow ratio is used as the reduced display area, and the identifier of each of the message types is displayed in the second according to the reduced display area Arrange display in the preset area.
  • it further comprises: if the number of unread messages is not greater than the first preset number, displaying all of the unread messages in a fourth preset area on the screen.
  • the method further includes: if the number of applications is not greater than the second preset number, displaying icons of application programs corresponding to all unread messages in the first preset area.
  • FIG. 6 is a schematic diagram of an electronic device according to an embodiment of the present application.
  • the electronic device 6 of this embodiment includes a processor 60, a memory 61, and computer-readable instructions 62 stored in the memory 61 and executable on the processor 60, such as a lock screen page Message display program.
  • the processor 60 executes the computer-readable instructions 62
  • the steps in the embodiment of the method for displaying a message on each lock screen page are implemented, for example, steps 101 to 107 shown in FIG. 1.
  • the processor 60 executes the computer-readable instructions 62
  • the functions of each module / unit in the foregoing device embodiments are implemented, for example, the functions of the units 501 to 505 shown in FIG. 5.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请适用于数据处理技术领域,提供了一种锁屏页面的消息显示方法、装置、电子设备及介质,通过电子设备在锁屏状态下未读消息的数量大于第一数量时,统计应用数量,若应用数量大于第二数量,从生成未读消息的应用程序中选择部分应用程序作为候选应用程序,并将候选应用程序的图标在屏幕第一预设区域内进行显示;当检测到所述第一区域内的图标被移动至第二区域时,在第二区域显示被移动的图标对应的应用程序中各个未读消息所属的消息类型的标识,当检测到第二区域内的标识被移动至第三区域时,在第三区域内显示被移动的标识对应的消息类型的全部未读消息,以使用户通过两次滑动过程即可以简洁明了地从大量未读消息中筛序出当前关心的消息,提高了用户体验。

Description

锁屏页面的消息显示方法、装置、电子设备及介质
本申请要求于2018年09月26日提交中国专利局、申请号为201811121977.3、发明名称为“锁屏页面的消息显示方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于数据处理技术领域,尤其涉及一种锁屏页面的消息显示方法、装置、电子设备及介质。
背景技术
用户经常需要在手机锁屏的情况下,阅读某些应用程序推送的消息,锁屏页面的消息弹窗通过罗列显示应用程序的推送消息,使得用户可以在不解锁的情况下,快速浏览推送消息。
但是,在日常生活中,如果多个应用程序推送了较多的消息时,现有的锁屏页面的消息弹窗往往会按照接收到消息的时间顺序,显示多条依次排列的消息。此时,用户很难清晰的判断哪个消息是自己最想浏览的应用程序推送的。更重要的是,用户必须执行多次滑动或点击的操作才能从大量的推送消息中筛选出最想阅读的消息,因而在推送消息量大的时候,现有的锁屏页面消息弹窗会失去便于浏览的技术效果。
综上,现有锁屏时消息的显示方法在应对大量的推送消息时,存在用户难以筛选消息的问题,同时操作的便捷性较差。
技术问题
现有技术由于难以筛选消息导致的操作便捷性差的问题。
技术解决方案
本申请实施例的第一方面提供了一种锁屏页面的消息显示方法,包括:
计算电子设备在锁屏状态下接收到的未读消息的数量;若所述未读消息的数量大于第一预设数量,统计应用数量,所述应用数量为生成所述未读消息的应用程序的数量;若所述应用数量大于第二预设数量,从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将所述候选应用程序的图标在所述电子设备的屏幕第一预设区域内进行显示;当检测到所述第一预设区域内的图标被移动至第二预设区域时,将被移动的图标对应的候选应用程序选定为目标应用程序,并在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,所述消息类型为所述未读消息在所述目标应用程序中所属的具体类别;当检测到所述第二预设区域内的标识被移动至第三预设区域时,在所述第三预设区域内显示被移动的标识对应的消息类型的全部未读消息。
本申请实施例的第二方面提供了一种锁屏页面的消息显示装置,该锁屏页面的消息显示装置包括:计算模块,用于计算电子设备在锁屏状态下接收到的未读消息的数量;统计模块,用于若所述未读消息的数量大于第一预设数量,统计应用数量,所述应用数量为生成所述未读消息的应用程序的数量;选择模块,用于若所述应用数量大于第二预设数量,从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将所述候选应用程序的图标在所述电子设备的屏幕第一预设区域内进行显示;第一显示模块,用于当检测到所述第一预设区域内的图标被移动至第二预设区域时,将被移动的图标对应的候选应用程序选定为目标应用程序,并在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,所述消息类型为所述未读消息在所述目标应用程序中所属的具体类别;第二显示模块,用于 当检测到所述第二预设区域内的标识被移动至第三预设区域时,在所述第三预设区域内显示被移动的标识对应的消息类型的全部未读消息。
本申请实施例的第三方面提供了一种电子设备,包括存储器以及处理器,所述存储器中存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如第一方面所述的锁屏页面的消息显示方法的步骤。
本申请实施例的第四方面提供了一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如第一方面所述的锁屏页面的消息显示方法的步骤。
有益效果
在本申请实施例中,通过电子设备在锁屏状态下未读消息的数量大于第一预设数量时,统计应用数量,若应用数量大于第二预设数量,从生成未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将候选应用程序的图标在屏幕第一预设区域内进行显示;当检测到所述第一预设区域内的图标被移动至第二预设区域时,在第二预设区域显示被移动的图标对应的应用程序中各个未读消息所属的消息类型的标识,当检测到第二预设区域内的标识被移动至第三预设区域时,在第三预设区域内显示被移动的标识对应的消息类型的全部未读消息,以使用户通过两次滑动过程即可以简洁明了地从大量未读消息中筛序出当前关心的消息,提高了用户体验。
附图说明
图1是本申请实施例提供的锁屏页面的消息显示方法的实现流程图;
图2是本申请实施例提供的屏幕显示区域的示意图;
图3是本申请实施例提供的锁屏页面的消息显示方法S105的具体实现流程;
图4是本申请实施例提供的消息类型的标识的显示流程图;
图5是本申请实施例提供的锁屏页面的消息显示装置的结构框图;
图6是本申请实施例提供的电子设备的示意图。
本发明的实施方式
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。
图1示出了本申请实施例提供的锁屏页面的消息显示方法的实现流程,该方法流程包括步骤S101至S107。各步骤的具体实现原理如下。
S101:计算电子设备在锁屏状态下接收到的未读消息的数量。
本申请实施例提供的锁屏页面的消息显示方法均是在电子设备的锁屏状态下完成。电子设备在锁屏状态下可能接收到多个应用程序推送的消息,在用户未解除电子设备的锁屏状态,并打开对应的应用程序之前,这些消息会被认定为未读消息。
在本申请实施例中,当电子设备接收到一个触发指令后,启动锁屏页面的消息显示的流程。例如,当电子设备从水平放置状态转变为竖直放置状态,则可以将这种放置状态的改变视为一个触发指令,并开始后续的消息显示的流程。
在消息显示的流程中,起始的步骤是计算未读消息的数量,并在后续步骤中,根据未读消息的数量的不同,执行不同的操作。
S102:若所述未读消息的数量不大于所述第一预设数量,则在所述屏幕上的第四预设区域内显示全部的所述未读消息。
图2示出了本申请实施例提供的屏幕显示区域的示意图,值得注意地,该示意图是为了便于其他技术人员理解本申请实施例,只是其中一种显示区域的排布方法,并不对本申请实施例起到限制作用,任何对于不同预设区域的不同的排布方式只要涉及的消息的显示方式与本申请实施例相同,均落入权利要求的保护范围。
值得注意地,在本申请实施例中,不同的预设区域可能存在重合的区域,但是由于本申请实施例不可能同时显示这四个预设区域中的相关内容,所以重合的区域并不会对锁屏页面上的消息显示带来任何影响。
在本申请实施例中,如果未读消息的数量不大于第一预设数量,则证明未读消息还比较少,因此不需要过多的计算步骤,直接在屏幕上的第四预设区域内显示全部的未读消息,使得用户可以在电子设备的锁屏状态下,一旦接受到触发指令,就可以浏览这些未读消息而无需进入具体的应用程序。
S103,若所述未读消息的数量大于第一预设数量,统计应用数量,所述应用数量为生成所述未读消息的应用程序的数量。
如果未读消息的数量大于第一预设数量,则证明未读消息的数量过多,用户无论是通过翻页还是滚动第四预设区域内页面的方法,都需要一定的时间才能筛选出自己希望浏览的消息,所以如果只是在第四预设区域对未读消息按接收的时间顺序进行简单地排布,则显然未读消息依然显得杂乱,不利于用户快速的筛选消息。
在本申请实施例中,需要统计生成所述未读消息的应用程序的数量,例如,当前一共有30条未读消息,而这些未读消息可能分别是由8种应用程序推送的,那么应用数量为8。
S104,若所述应用数量不大于所述第二预设数量,则在所述第一预设区域内显示全部的未读消息对应的应用程序的图标。
在本申请实施例中,如果应用数量较少,则证明可以将未读消息对应的应用程序的图标全部显示,在这种情况下,用户也可以直观且清晰地在锁屏状态下的第一预设区域中选择自己希望浏览的未读消息对应的应用程序。
S105,若所述应用数量大于第二预设数量,从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将所述候选应用程序的图标在所述电子设备的屏幕第一预设区域内进行显示。
在本申请实施例中,如果应用数量过多,考虑到将这些应用程序的标识全部在第一预设区域内进行显示可能仍然会存在杂乱显示的问题,用户在筛序应用程序的过程中仍然需要耗费较多的经理去筛选,所以需要对全部的未读消息对应的应用程序做一个初步的自动筛选,选择出候选应用程序,只在屏幕第一预设区域中显示这些候选应用程序的图标,并在排布在最后的候选应用程序的图标之后,显示一个预设的图标(可以显示为“其他”),若电子设备检测到所述预设的图标被点击,则显示全部的未读消息对应的应用程序中,除所述候选应用程序以外的应用程序的图标。
作为本申请的一个实施例,如图3所示,上述S105包括:
S1051,根据在第一预设时间段内的锁屏期间,各个未读消息对应的应用程序的图标在锁屏页面上被用户点击的时间,生成应用程序与点击时间的对应关系。
在本申请实施例中,第一预设时间段是当前时刻之前的一段固定长度的时间,例如第一预设时间段可以是当前时刻之前的24小时到当前时刻的时间段。每当一个未读消息对应的应用程序的图标被用户点击时,则生成一条应用程序与点击时间的对应关系。显然,一个应用程序可能与多个点击时间对应。
S1052,根据所述应用程序与点击时间的对应关系,计算多个单位时段内各个应用程序对应的点击次数,生成单位时间段与各个应用程序的点击次数的对应关系。
在本申请实施例中,单位时间段可以是1小时,假设当前时刻为20点,则根据各个应用程序对应的点击时间,统计前一日20点至21点各个应用程序对应的点击次数,21点至22点各个应用程序对应的点击次数……今日19点至20点各个应用程序对应的点击次数,从而生成单位时间段与各个应用程序的点击次数的对应关系。
S1053,通过预设的线性回归模型拟合所述第一预设时间段内的单位时间段与各个应用程序的点击次数的对应关系。
可选地,所述预设的线性回归模型包括:NUM(n i)=A(n i)+B,所述NUM(n i)为所述预设时间段内第n个单位时间段对应的应用程序i的点击次数,所述n i为所述预设时间段内应用程序i对应的第n个单位时间段,所述A为所述线性回归系数,所述B为误差系数。
示例性地,假设第一预设时间段为24小时,单位时间段为1小时,将所以第一预设时间段内各个单位时间段按照时间顺序依次排序,将第一个单位时间段的X(n)设定为1,将第二个单位时间段的X(n)设定为2,将第三个单位时间段的X(n)设定为3,以此类推,X(n)作为自变量表示24小时内第n个单位时间段。
可以理解地,假设预设时间段一共被分为24个单位时间段,则当前时间之后的第一个单位时间段的X(n)则为25,当前时间之后的第二个单位时间段的X(n)则为26,以此类推。
可以理解地,在统计出预设时间段内的单位时间段与各个应用程序的点击次数的对应关系之后,可以通过最小二乘法计算所述线性回归模型中的线性回归系数和误差系数,再将所述线性回归系数和误差系数带入线性回归模型后,生成各个应用程序对应的线性回归方程。
S1054,通过所述线性回归方程计算在当前时刻后的第二预设时间段内,各个应用程序对应的点击次数,作为各个应用程序对应的预测点击次数,并选择所述第二预设数量个最大的所述预测点击次数对应的应用程序作为所述候选应用程序。
示例性地,假设第二预设时间段为2小时,则根据各个应用程序对应的线性回归方程,计算当前时刻之后的2个小时的点击次数。例如:第一预设时间段为24小时,单位时间段为1小时,则将25和26作为n i的取值带入上述的线性回归方程中,以分别计算出当前时刻之后的1小时,以及1-2小时期间,应用程序i对应的点击次数,并将2者求和的结果作为预测点击次数,最后选择所述第二预设数量个最大的所述预测点击次数对应的应用程序作为所述候选应用程序。
S106,当检测到所述第一预设区域内的图标被移动至第二预设区域时,将被移动的图标对应的候选应用程序选定为目标应用程序,并在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,所述消息类型为所述未读消息在所述目标应用程序中所属的具体类别。
在本申请实施例中,用户可以通过两次在电子设备的触屏屏幕上滑动的过程,筛选出需要浏览的未读消息,本步骤主要关于检测到用户第一次滑动操作后电子设备的执行方法。
由于在一款应用程序中,一般会存在多个应用程序中的消息类型,例如,一款即时通讯类应用程序,可能推送来自不同标签的联系人的消息,如“朋友”标签,“家人”标签,“客户”标签等,在本申请实施例中将这些不同的标签对应一个该应用程序中的消息类型;例如,一款资讯类应用程序,可能推送不同类别的消息,如“体育”类新闻,“时政”类新闻,“用户关注”类新闻等,在本申请实施例中将这些不同的新闻类别对应一个该应用程序中的消息类型。
在本申请实施例中,通过解析和显示应用程序和未读消息之间的中间层信息(即消息类型),可以帮助用户更好地、更快速地筛选自己希望浏览的消息,而不是在确定了一款应用程序后,逐一筛选各条该应用程序推送的未读消息。
在本申请实施例中,考虑到如果一款应用程序推送的未读消息过多,则可能出现这些未读消息所属的不同消息类型的数量也过多,由于第二预设区域的面积是预设的且是有限的,所以这可能会导致在第二预设区域内显示这些消息类型的标识的时候出现一定的障碍,所以本申请还进一步地提供了一个消息类型的标识的显示方法。
作为本申请的一个实施例,如图4所示,上述的消息类型的标识的显示方法包括:
S401,判断所述消息类型的标识的数量是否大于预设的第一数量阈值。
S402,若所述消息类型的标识的数量大于预设的第一数量阈值,则调取预设的标识单位显示面积,计算所述消息类型的标识的数量与所述标识单位显示面积的乘积,作为待显示面积,所述标识单位显示面积为预设的一个消息类型的标识在屏幕上的显示面积。
S403,计算所述待显示面积除以所述第二预设区域的面积的商,并通过进一法取近似值,作为计划数量。
S404,生成显示于所述第二预设区域的第二区域锁屏界面,所述第二区域锁屏界面包含所述计划数量的第二区域页面,所述第二区域页面用于显示所述消息类型的标识,并在接收到用户的切换指令后,切换至其他的所述第二区域页面。
在此种情况下,由于消息类型的标识过多,所以需要在第二预设区域内生成多个第二区域页面,用户可以通过滑动或点击等方式触发多个第二区域页面进行切换,每一个第二区域页面有其对应的页码,电子设备在检测到切换指令后,将第二预设区域的当前显示的第二区域页面切换至当前显示的第二区域页面的页码的后一页码对应的第二区域页面进行显示。
S405,若所述消息类型的标识的数量不大于预设的第一所述数量阈值且大于第二数量阈值,则计算所述待显示面积除以所述第二预设区域的面积的商,作为溢出比例。
S406,计算所述标识单位显示面积除以所述溢出比例的商,作为缩小显示面积,并将各个所述消息类型的标识按照所述缩小显示面积在所述第二预设区域内进行排列显示。
在此种情况下,由于消息类型的标签较少,所以在必要时进行较少程度的缩放,以在一个第二区域页面中显示全部的消息类型的标识,无需用户用手进一步地切换页面,保证操作的简洁便宜性。
S107,当检测到所述第二预设区域内的标识被移动至第三预设区域时,在所述第三预设区域内显示被移动的标识对应的消息类型的全部未读消息。
本申请实施例使用户通过两次滑动过程即可以简洁明了地从大量未读消息中筛序出当前关心的消息,提高了用户体验。
对应于上文实施例所述的锁屏页面的消息显示方法,图5示出了本申请实施例提供的锁屏页面的消息显示装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。
参照图5,该装置包括:
计算模块501,用于计算电子设备在锁屏状态下接收到的未读消息的数量;统计模块502,用于若所述未读消息的数量大于第一预设数量,统计应用数量,所述应用数量为生成所述未读消息的应用程序的数量;选择模块503,用于若所述应用数量大于第二预设数量,从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将所述候选应用程序的图标在所述电子设备的屏幕第一预设区域内进行显示;第一显示模块504,用于当检测到所述第一预设区域内的图标被移动至第二预设区域时,将被移动的图标对应的候选应用程序选定为目标应用程序,并在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,所述消息类型为所述未读消息在所述目标应用程序中所属的具体类别;第二显示模块505,用于 当检测到所述第二预设区域内的标识被移动至第三预设区域时,在所述第三预设区域内显示被移动的标识对应的消息类型的全部未读消息。
可选地,所述从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,包括:根据在第一预设时间段内的锁屏期间,各个未读消息对应的应用程序的图标在锁屏页面上被用户点击的时间,生成应用程序与点击时间的对应关系;根据所述应用程序与点击时间的对应关系,计算多个单位时段内各个应用程序对应的点击次数,生成单位时间段与各个应用程序的点击次数的对应关系;通过线性回归模型:NUM(n i)=An i +B拟合所述第一预设时间段内的单位时间段与各个应用程序的点击次数的对应关系,生成线性回归方程,所述NUM(n i)为所述预设时间段内第n个单位时间段对应的应用程序i的点击次数,所述n i为所述预设时间段内应用程序i对应的第n个单位时间段,所述A为所述线性回归系数,所述B为误差系数;通过所述线性回归方程计算在当前时刻后的第二预设时间段内,各个应用程序对应的点击次数,作为各个应用程序对应的预测点击次数,并选择所述第二预设数量个最大的所述预测点击次数对应的应用程序作为所述候选应用程序。
可选地,所述在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,包括:若所述消息类型的标识的数量大于预设的第一数量阈值,则调取预设的标识单位显示面积,计算所述消息类型的标识的数量与所述标识单位显示面积的乘积,作为待显示面积,所述标识单位显示面积为预设的一个消息类型的标识在屏幕上的显示面积;计算所述待显示面积除以所述第二预设区域的面积的商,并通过进一法取近似值,作为计划数量;生成显示于所述第二预设区域的第二区域锁屏界面,所述第二区域锁屏界面包含所述计划数量的第二区域页面,所述第二区域页面用于显示所述消息类型的标识,并在接收到用户的切换指令后,切换至其他的所述第二区域页面。
可选地,还包括:若所述消息类型的标识的数量不大于预设的第一所述数量阈值且大于第二数量阈值,则计算所述待显示面积除以所述第二预设区域的面积的商,作为溢出比例;计算所述标识单位显示面积除以所述溢出比例的商,作为缩小显示面积,并将各个所述消息类型的标识按照所述缩小显示面积在所述第二预设区域内进行排列显示。
可选地,还包括:若所述未读消息的数量不大于所述第一预设数量,则在所述屏幕上的第四预设区域内显示全部的所述未读消息。
可选地,还包括:若所述应用数量不大于所述第二预设数量,则在所述第一预设区域内显示全部的未读消息对应的应用程序的图标。
图6是本申请一实施例提供的电子设备的示意图。如图6所示,该实施例的电子设备6包括:处理器60、存储器61以及存储在所述存储器61中并可在所述处理器60上运行的计算机可读指令62,例如锁屏页面的消息显示程序。所述处理器60执行所述计算机可读指令62时实现上述各个锁屏页面的消息显示方法实施例中的步骤,例如图1所示的步骤101至107。或者,所述处理器60执行所述计算机可读指令62时实现上述各装置实施例中各模块/单元的功能,例如图5所示单元501至505的功能。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种锁屏页面的消息显示方法,其特征在于,包括:
    计算电子设备在锁屏状态下接收到的未读消息的数量;
    若所述未读消息的数量大于第一预设数量,统计应用数量,所述应用数量为生成所述未读消息的应用程序的数量;
    若所述应用数量大于第二预设数量,从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将所述候选应用程序的图标在所述电子设备的屏幕第一预设区域内进行显示;
    当检测到所述第一预设区域内的图标被移动至第二预设区域时,将被移动的图标对应的候选应用程序选定为目标应用程序,并在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识;
    当检测到所述第二预设区域内的标识被移动至第三预设区域时,在所述第三预设区域内显示被移动的标识对应的消息类型的全部未读消息。
  2. 如权利要求1所述的锁屏页面的消息显示方法,其特征在于,所述从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,包括:
    根据在第一预设时间段内的锁屏期间,各个未读消息对应的应用程序的图标在锁屏页面上被用户点击的时间,生成应用程序与点击时间的对应关系;
    根据所述应用程序与点击时间的对应关系,计算多个单位时段内各个应用程序对应的点击次数,生成单位时间段与各个应用程序的点击次数的对应关系;
    通过线性回归模型:NUM(n i)=An i +B拟合所述第一预设时间段内的单位时间段与各个应用程序的点击次数的对应关系,生成线性回归方程,所述NUM(n i)为所述预设时间段内第n个单位时间段对应的应用程序i的点击次数,所述n i为所述预设时间段内应用程序i对应的第n个单位时间段,所述A为所述线性回归系数,所述B为误差系数;
    通过所述线性回归方程计算在当前时刻后的第二预设时间段内,各个应用程序对应的点击次数,作为各个应用程序对应的预测点击次数,并选择所述第二预设数量个最大的所述预测点击次数对应的应用程序作为所述候选应用程序。
  3. 如权利要求1所述的锁屏页面的消息显示方法,其特征在于,所述在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,包括:
    若所述消息类型的标识的数量大于预设的第一数量阈值,则调取预设的标识单位显示面积,计算所述消息类型的标识的数量与所述标识单位显示面积的乘积,作为待显示面积,所述标识单位显示面积为预设的一个消息类型的标识在屏幕上的显示面积;
    计算所述待显示面积除以所述第二预设区域的面积的商,并通过进一法取近似值,作为计划数量;
    生成显示于所述第二预设区域的第二区域锁屏界面,所述第二区域锁屏界面包含所述计划数量的第二区域页面,所述第二区域页面用于显示所述消息类型的标识,并在接收到用户的切换指令后,切换至其他的所述第二区域页面。
  4. 如权利要求3所述的锁屏页面的消息显示方法,其特征在于,还包括:
    若所述消息类型的标识的数量不大于预设的第一所述数量阈值且大于第二数量阈值,则计算所述待显示面积除以所述第二预设区域的面积的商,作为溢出比例;
    计算所述标识单位显示面积除以所述溢出比例的商,作为缩小显示面积,并将各个所述消息类型的标识按照所述缩小显示面积在所述第二预设区域内进行排列显示。
  5. 如权利要求1所述的锁屏页面的消息显示方法,其特征在于,还包括:
    若所述未读消息的数量不大于所述第一预设数量,则在所述屏幕上的第四预设区域内显示全部的所述未读消息。
  6. 如权利要求1所述的锁屏页面的消息显示方法,其特征在于,还包括:
    若所述应用数量不大于所述第二预设数量,则在所述第一预设区域内显示全部的未读消息对应的应用程序的图标。
  7. 一种锁屏页面的消息显示装置,其特征在于,包括:
    计算模块,用于计算电子设备在锁屏状态下接收到的未读消息的数量;
    统计模块,用于若所述未读消息的数量大于第一预设数量,统计应用数量,所述应用数量为生成所述未读消息的应用程序的数量;
    选择模块,用于若所述应用数量大于第二预设数量,从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将所述候选应用程序的图标在所述电子设备的屏幕第一预设区域内进行显示;
    第一显示模块,用于当检测到所述第一预设区域内的图标被移动至第二预设区域时,将被移动的图标对应的候选应用程序选定为目标应用程序,并在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,所述消息类型为所述未读消息在所述目标应用程序中所属的具体类别;
    第二显示模块,用于 当检测到所述第二预设区域内的标识被移动至第三预设区域时,在所述第三预设区域内显示被移动的标识对应的消息类型的全部未读消息。
  8. 根据权利要求7所述的锁屏页面的消息显示装置,其特征在于,所述从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,包括:
    根据在第一预设时间段内的锁屏期间,各个未读消息对应的应用程序的图标在锁屏页面上被用户点击的时间,生成应用程序与点击时间的对应关系;根据所述应用程序与点击时间的对应关系,计算多个单位时段内各个应用程序对应的点击次数,生成单位时间段与各个应用程序的点击次数的对应关系;通过线性回归模型:NUM(n i)=An i+B拟合所述第一预设时间段内的单位时间段与各个应用程序的点击次数的对应关系,生成线性回归方程,所述NUM(n i)为所述预设时间段内第n个单位时间段对应的应用程序i的点击次数,所述n i为所述预设时间段内应用程序i对应的第n个单位时间段,所述A为所述线性回归系数,所述B为误差系数;通过所述线性回归方程计算在当前时刻后的第二预设时间段内,各个应用程序对应的点击次数,作为各个应用程序对应的预测点击次数,并选择所述第二预设数量个最大的所述预测点击次数对应的应用程序作为所述候选应用程序。
  9. 根据权利要求7所述的锁屏页面的消息显示装置,其特征在于,所述在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,包括:
    若所述消息类型的标识的数量大于预设的第一数量阈值,则调取预设的标识单位显示面积,计算所述消息类型的标识的数量与所述标识单位显示面积的乘积,作为待显示面积,所述标识单位显示面积为预设的一个消息类型的标识在屏幕上的显示面积;计算所述待显示面积除以所述第二预设区域的面积的商,并通过进一法取近似值,作为计划数量;生成显示于所述第二预设区域的第二区域锁屏界面,所述第二区域锁屏界面包含所述计划数量的第二区域页面,所述第二区域页面用于显示所述消息类型的标识,并在接收到用户的切换指令后,切换至其他的所述第二区域页面。
  10. 根据权利要求9所述的锁屏页面的消息显示装置,其特征在于,还包括:
    若所述消息类型的标识的数量不大于预设的第一所述数量阈值且大于第二数量阈值,则计算所述待显示面积除以所述第二预设区域的面积的商,作为溢出比例;
    计算所述标识单位显示面积除以所述溢出比例的商,作为缩小显示面积,并将各个所述消息类型的标识按照所述缩小显示面积在所述第二预设区域内进行排列显示。
  11. 一种电子设备,其特征在于,包括存储器以及处理器,所述存储器中存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:
    计算电子设备在锁屏状态下接收到的未读消息的数量;
    若所述未读消息的数量大于第一预设数量,统计应用数量,所述应用数量为生成所述未读消息的应用程序的数量;
    若所述应用数量大于第二预设数量,从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将所述候选应用程序的图标在所述电子设备的屏幕第一预设区域内进行显示;
    当检测到所述第一预设区域内的图标被移动至第二预设区域时,将被移动的图标对应的候选应用程序选定为目标应用程序,并在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识;
    当检测到所述第二预设区域内的标识被移动至第三预设区域时,在所述第三预设区域内显示被移动的标识对应的消息类型的全部未读消息。
  12. 根据权利要求11所述的电子设备,其特征在于,所述从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,包括:
    根据在第一预设时间段内的锁屏期间,各个未读消息对应的应用程序的图标在锁屏页面上被用户点击的时间,生成应用程序与点击时间的对应关系;
    根据所述应用程序与点击时间的对应关系,计算多个单位时段内各个应用程序对应的点击次数,生成单位时间段与各个应用程序的点击次数的对应关系;
    通过线性回归模型:NUM(n i)=An i+B拟合所述第一预设时间段内的单位时间段与各个应用程序的点击次数的对应关系,生成线性回归方程,所述NUM(n i)为所述预设时间段内第n个单位时间段对应的应用程序i的点击次数,所述n i为所述预设时间段内应用程序i对应的第n个单位时间段,所述A为所述线性回归系数,所述B为误差系数;
    通过所述线性回归方程计算在当前时刻后的第二预设时间段内,各个应用程序对应的点击次数,作为各个应用程序对应的预测点击次数,并选择所述第二预设数量个最大的所述预测点击次数对应的应用程序作为所述候选应用程序。
  13. 根据权利要求12所述的电子设备,其特征在于,所述在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,包括:
    若所述消息类型的标识的数量大于预设的第一数量阈值,则调取预设的标识单位显示面积,计算所述消息类型的标识的数量与所述标识单位显示面积的乘积,作为待显示面积,所述标识单位显示面积为预设的一个消息类型的标识在屏幕上的显示面积;
    计算所述待显示面积除以所述第二预设区域的面积的商,并通过进一法取近似值,作为计划数量;
    生成显示于所述第二预设区域的第二区域锁屏界面,所述第二区域锁屏界面包含所述计划数量的第二区域页面,所述第二区域页面用于显示所述消息类型的标识,并在接收到用户的切换指令后,切换至其他的所述第二区域页面。
  14. 根据权利要求13所述的电子设备,其特征在于,还包括:
    若所述消息类型的标识的数量不大于预设的第一所述数量阈值且大于第二数量阈值,则计算所述待显示面积除以所述第二预设区域的面积的商,作为溢出比例;
    计算所述标识单位显示面积除以所述溢出比例的商,作为缩小显示面积,并将各个所述消息类型的标识按照所述缩小显示面积在所述第二预设区域内进行排列显示。
  15. 根据权利要求11所述的电子设备,其特征在于,还包括:
    若所述未读消息的数量不大于所述第一预设数量,则在所述屏幕上的第四预设区域内显示全部的所述未读消息。
  16. 一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被至少一个处理器执行时实现如下步骤:
    计算电子设备在锁屏状态下接收到的未读消息的数量;
    若所述未读消息的数量大于第一预设数量,统计应用数量,所述应用数量为生成所述未读消息的应用程序的数量;
    若所述应用数量大于第二预设数量,从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,并将所述候选应用程序的图标在所述电子设备的屏幕第一预设区域内进行显示;
    当检测到所述第一预设区域内的图标被移动至第二预设区域时,将被移动的图标对应的候选应用程序选定为目标应用程序,并在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识;
    当检测到所述第二预设区域内的标识被移动至第三预设区域时,在所述第三预设区域内显示被移动的标识对应的消息类型的全部未读消息。
  17. 如权利要求16所述的计算机非易失性可读存储介质,其特征在于,所述从生成所述未读消息的应用程序中选择所述第二预设数量的应用程序作为候选应用程序,包括:
    根据在第一预设时间段内的锁屏期间,各个未读消息对应的应用程序的图标在锁屏页面上被用户点击的时间,生成应用程序与点击时间的对应关系;
    根据所述应用程序与点击时间的对应关系,计算多个单位时段内各个应用程序对应的点击次数,生成单位时间段与各个应用程序的点击次数的对应关系;
    通过线性回归模型:NUM(n i)=An i+B拟合所述第一预设时间段内的单位时间段与各个应用程序的点击次数的对应关系,生成线性回归方程,所述NUM(n i)为所述预设时间段内第n个单位时间段对应的应用程序i的点击次数,所述n i为所述预设时间段内应用程序i对应的第n个单位时间段,所述A为所述线性回归系数,所述B为误差系数;
    通过所述线性回归方程计算在当前时刻后的第二预设时间段内,各个应用程序对应的点击次数,作为各个应用程序对应的预测点击次数,并选择所述第二预设数量个最大的所述预测点击次数对应的应用程序作为所述候选应用程序。
  18. 如权利要求17所述的计算机非易失性可读存储介质,其特征在于,所述在所述第二预设区域内显示所述目标应用程序对应的各个未读消息所属的消息类型的标识,包括:
    若所述消息类型的标识的数量大于预设的第一数量阈值,则调取预设的标识单位显示面积,计算所述消息类型的标识的数量与所述标识单位显示面积的乘积,作为待显示面积,所述标识单位显示面积为预设的一个消息类型的标识在屏幕上的显示面积;
    计算所述待显示面积除以所述第二预设区域的面积的商,并通过进一法取近似值,作为计划数量;
    生成显示于所述第二预设区域的第二区域锁屏界面,所述第二区域锁屏界面包含所述计划数量的第二区域页面,所述第二区域页面用于显示所述消息类型的标识,并在接收到用户的切换指令后,切换至其他的所述第二区域页面。
  19. 如权利要求18所述的计算机非易失性可读存储介质,其特征在于,还包括:
    若所述消息类型的标识的数量不大于预设的第一所述数量阈值且大于第二数量阈值,则计算所述待显示面积除以所述第二预设区域的面积的商,作为溢出比例;
    计算所述标识单位显示面积除以所述溢出比例的商,作为缩小显示面积,并将各个所述消息类型的标识按照所述缩小显示面积在所述第二预设区域内进行排列显示。
  20. 如权利要求16所述的计算机非易失性可读存储介质,其特征在于,还包括:
    若所述未读消息的数量不大于所述第一预设数量,则在所述屏幕上的第四预设区域内显示全部的所述未读消息。
PCT/CN2018/124337 2018-09-26 2018-12-27 锁屏页面的消息显示方法、装置、电子设备及介质 Ceased WO2020062677A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811121977.3 2018-09-26
CN201811121977.3A CN109408169A (zh) 2018-09-26 2018-09-26 锁屏页面的消息显示方法及终端设备

Publications (1)

Publication Number Publication Date
WO2020062677A1 true WO2020062677A1 (zh) 2020-04-02

Family

ID=65465349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124337 Ceased WO2020062677A1 (zh) 2018-09-26 2018-12-27 锁屏页面的消息显示方法、装置、电子设备及介质

Country Status (2)

Country Link
CN (1) CN109408169A (zh)
WO (1) WO2020062677A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344162A (zh) * 2021-05-14 2022-11-15 腾讯科技(深圳)有限公司 会话消息处理方法和会话消息处理装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199134A (zh) * 2020-09-01 2021-01-08 北京达佳互联信息技术有限公司 消息展示方法、装置、电子设备以及存储介质
CN114741143B (zh) * 2022-03-18 2024-03-26 维沃移动通信有限公司 通知显示方法和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135967A (zh) * 2011-11-25 2013-06-05 腾讯科技(深圳)有限公司 显示未读消息的方法和系统
WO2014000255A1 (zh) * 2012-06-29 2014-01-03 宇龙计算机通信科技(深圳)有限公司 终端和通知消息的管理方法
CN104965580A (zh) * 2014-05-08 2015-10-07 腾讯科技(深圳)有限公司 未读消息的展示方法和装置
CN106445521A (zh) * 2016-09-23 2017-02-22 上海创功通讯技术有限公司 一种显示消息的方法及终端
US20170277361A1 (en) * 2016-03-25 2017-09-28 Amazon Technologies, Inc. Content optimizations for a lock screen
CN107295099A (zh) * 2017-07-21 2017-10-24 北京小米移动软件有限公司 推送消息处理方法、装置及存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722363B (zh) * 2011-03-30 2015-06-24 宏达国际电子股份有限公司 手持电子装置及其控制方法
CN102609272B (zh) * 2012-02-17 2014-06-18 上海电机学院 一种信息作业序列界面的生成装置及其生成方法
CN104133687A (zh) * 2014-08-05 2014-11-05 天津三星通信技术研究有限公司 未处理通知事件处理方法及便携式终端
CN105630490A (zh) * 2015-12-21 2016-06-01 小米科技有限责任公司 消息通知显示页面的布局调整方法及装置
CN105808235A (zh) * 2016-02-24 2016-07-27 北京奇虎科技有限公司 移动终端通知栏消息的管理方法、装置及移动终端
US10313448B2 (en) * 2016-04-25 2019-06-04 Wyse Technology L.L.C. Employing an auxiliary device to implement USB device redirection
CN107643929A (zh) * 2016-07-21 2018-01-30 平安科技(深圳)有限公司 信息展示界面的展示方法及装置
CN107220049A (zh) * 2017-05-24 2017-09-29 努比亚技术有限公司 一种通知栏中通知处理方法、移动终端以及计算机可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135967A (zh) * 2011-11-25 2013-06-05 腾讯科技(深圳)有限公司 显示未读消息的方法和系统
WO2014000255A1 (zh) * 2012-06-29 2014-01-03 宇龙计算机通信科技(深圳)有限公司 终端和通知消息的管理方法
CN104965580A (zh) * 2014-05-08 2015-10-07 腾讯科技(深圳)有限公司 未读消息的展示方法和装置
US20170277361A1 (en) * 2016-03-25 2017-09-28 Amazon Technologies, Inc. Content optimizations for a lock screen
CN106445521A (zh) * 2016-09-23 2017-02-22 上海创功通讯技术有限公司 一种显示消息的方法及终端
CN107295099A (zh) * 2017-07-21 2017-10-24 北京小米移动软件有限公司 推送消息处理方法、装置及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344162A (zh) * 2021-05-14 2022-11-15 腾讯科技(深圳)有限公司 会话消息处理方法和会话消息处理装置

Also Published As

Publication number Publication date
CN109408169A (zh) 2019-03-01

Similar Documents

Publication Publication Date Title
US11580004B2 (en) Information processor, information processing method, and non-transitory storage medium
US20220253212A1 (en) Split-Screen Display Processing Method and Apparatus, Device, and Storage Medium
CN103544293B (zh) 一种聊天记录查看方法及其移动终端
US20110055753A1 (en) User interface methods providing searching functionality
CN103365525B (zh) 移动终端及用于移动终端的多窗口显示方法
CN108829314B (zh) 截图选区界面选择方法、装置、设备及存储介质
CN110851045B (zh) 信息显示方法及装置、电子设备和计算机可读存储介质
CN104238927B (zh) 智能终端应用程序的控制方法和装置
CN102087575A (zh) 图标动态排列的电子装置及方法
CN109933256A (zh) 应用程序切换方法、应用程序切换装置、介质和计算设备
CN105607905B (zh) 一种工具栏上应用图标的显示方法、装置及电子设备
CN103488419A (zh) 通信终端的操作方法及通信终端
CN112099685B (zh) 通知消息显示控制方法、装置、电子设备和可读存储介质
CN109976599B (zh) 一种应用程序的未读消息处理方法、装置和设备
CN104360810B (zh) 一种虚拟按键的显示方法和电子设备
US20110107259A1 (en) Enhanced Slider Bar System
JP2015088180A (ja) 電子機器、その制御方法、及び制御プログラム
CN106201518B (zh) 一种信息显示方法和电子设备
CN111835623B (zh) 未读消息的展示方法、装置及电子设备
EP2981880A1 (en) Navigation of list items on portable electronic devices
WO2020062677A1 (zh) 锁屏页面的消息显示方法、装置、电子设备及介质
CN106020614A (zh) 一种应用程序的切换方法及终端
CN106775755A (zh) 一种应用推荐方法及移动终端
US10824445B2 (en) Dynamic presentation of function portals
CN106599263A (zh) 一种内容筛选方法、系统及用户终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18934944

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.07.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18934944

Country of ref document: EP

Kind code of ref document: A1