Page display method, device, computer equipment and storage medium
By displaying historical usage records through screen status and behavior detection on mobile terminals, the inefficiency problem in existing technologies is solved, and intuitive display of usage duration and frequency is achieved.
Patent Information
- Application Number
- CN202010785354.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-06
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2040-08-06
AI Technical Summary
Existing methods for determining mobile terminal usage are inefficient and require manual calculation of the usage time of each application to obtain the overall usage.
By detecting the screen status and behavior of the mobile terminal, a history usage record page is displayed. The page contains a target image area rendered with a preset color. The length of the area is determined according to the screen on duration, and the usage duration and frequency are displayed for each instance.
It enables a direct understanding of the usage duration and frequency of mobile terminals within a set time range, improving the efficiency of determining usage patterns.
Smart Images

Figure CN114064426B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a page display method, apparatus, computer equipment, and storage medium. Background Art
[0002] With the development of internet technology, mobile devices such as smartphones and tablets can meet people's diverse needs through various applications, bringing great convenience to people's production and daily lives, and gradually becoming essential to people's lives. However, the widespread use of mobile devices has also brought some problems, such as prolonged addiction to certain applications and excessive use of mobile devices. To address this problem, some researchers have proposed recording the usage time of various applications to remind users of their usage status.
[0003] However, the existing time recording method can only display the usage time of each application. If you want to obtain the overall usage of the mobile terminal, you still need to calculate and determine it based on the usage time of each application.
[0004] Therefore, the existing method of determining the usage of the mobile terminal is less efficient. Summary of the Invention
[0005] Based on this, it is necessary to provide a page display method, apparatus, computer device and storage medium to address the technical problem of low efficiency in determining the usage of mobile terminals.
[0006] A page display method, the method comprising:
[0007] Detecting a screen status of a mobile terminal and / or an action performed on the mobile terminal;
[0008] When it is detected that the screen state of the mobile terminal is the target state and / or the behavior is the target behavior, a historical usage record page for the mobile terminal is displayed on the terminal interface of the mobile terminal; the historical usage record page includes a historical usage record image; the historical usage record image is used to represent each time node of a set time range, and the historical usage record image includes a number of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time the screen of the mobile terminal is in the bright screen state.
[0009] In one embodiment, the target image area is determined by:
[0010] Obtaining a first time point when the screen of the mobile terminal changes from an off-screen state to a bright-screen state, and a duration for which the screen of the mobile terminal is in the bright-screen state;
[0011] Determine the first image position corresponding to the first time node from the historical usage record image, determine the second image position based on the first image position and the duration, and use the image area between the first image position and the second image position as the target image area.
[0012] In one embodiment, the target image area is determined by:
[0013] Obtaining a first time point when the screen of the mobile terminal changes from an off-screen state to an on-screen state, and obtaining a second time point when the screen of the mobile terminal changes from an on-screen state to an off-screen state;
[0014] A first image position corresponding to the first time node and a second image position corresponding to the second time node are determined from the historical usage record image, and an image area between the first image position and the second image position is used as the target image area.
[0015] In one embodiment, the historical usage record page further includes time information, and the method further includes:
[0016] The display area of the time information is moved in the area associated with the time node represented by the historical usage record image in the order of time change.
[0017] In one embodiment, the step of moving the display area of the time information in the area associated with the time node represented by the historical usage record image in chronological order further includes:
[0018] Obtaining the length of the display pixels of the historical usage record image;
[0019] Obtaining a moving speed of the display area of the time information according to the length of pixels displayed by the historical usage record image;
[0020] The display area of the time information is moved in an area associated with a time node represented by the historical usage record image in accordance with the time change order and the movement speed.
[0021] In one embodiment, the method further comprises:
[0022] The historical usage record image is moved at a set plurality of display positions at set time intervals.
[0023] In one embodiment, the historical usage record page further includes usage count information of the mobile terminal; the usage count information corresponds to the number of target image areas in the historical usage record image;
[0024] Before detecting the screen status of the mobile terminal and / or performing an action on the mobile terminal, the method further includes:
[0025] The number of times the screen state of the mobile terminal changes from the off state to the on state on that day is obtained as the number of times the mobile terminal is used on that day.
[0026] A page display device, comprising:
[0027] a detection module, configured to detect a screen status of a mobile terminal and / or an action performed on the mobile terminal;
[0028] A page display module is used to display a historical usage record page for the mobile terminal on the terminal interface of the mobile terminal when it is detected that the screen state of the mobile terminal is the target state or the behavior is the target behavior; the historical usage record page includes a historical usage record image; the historical usage record image is used to represent each time node of a set time range, and the historical usage record image includes a number of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time that the screen of the mobile terminal is in the bright screen state.
[0029] A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0030] Detecting a screen status of a mobile terminal and / or an action performed on the mobile terminal;
[0031] When it is detected that the screen state of the mobile terminal is the target state and / or the behavior is the target behavior, a historical usage record page for the mobile terminal is displayed on the terminal interface of the mobile terminal; the historical usage record page includes a historical usage record image; the historical usage record image is used to represent each time node of a set time range, and the historical usage record image includes a number of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time the screen of the mobile terminal is in the bright screen state.
[0032] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0033] Detecting a screen status of a mobile terminal and / or an action performed on the mobile terminal;
[0034] When it is detected that the screen state of the mobile terminal is the target state and / or the behavior is the target behavior, a historical usage record page for the mobile terminal is displayed on the terminal interface of the mobile terminal; the historical usage record page includes a historical usage record image; the historical usage record image is used to represent each time node of a set time range, and the historical usage record image includes a number of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time the screen of the mobile terminal is in the bright screen state.
[0035] The above-mentioned page display method, device, computer equipment and storage medium detect the screen status of the mobile terminal and / or the behavior implemented on the mobile terminal, so that when the screen status of the mobile terminal is in the target state and / or the behavior implemented on the mobile terminal is the target behavior, a historical usage record page for the mobile terminal is displayed in the terminal page of the mobile terminal, and a target image area of the previous usage time is displayed in the historical usage record image of the historical usage record page, and the time node corresponding to the target image area is corresponded to the time node represented by the historical usage record image, and the target image area is rendered into a set color, so that the usage time and usage frequency information of the mobile terminal within the set time range can be intuitively understood through the target image area in the historical usage record image, so that the time information and the user's usage behavior interact, thereby overcoming the defect of low efficiency of the existing method for determining the usage of the mobile terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 Schematic diagram of a flow chart of a page display method in one embodiment;
[0037] Figure 2a A schematic diagram of a historical usage record page in one embodiment;
[0038] Figure 2b A schematic diagram of another historical usage record page in one embodiment;
[0039] Figure 3 A schematic flow chart of the steps for determining a display area for time information in one embodiment;
[0040] Figure 4aA schematic diagram showing an embodiment in which a historical usage record image is located on the right;
[0041] Figure 4b A schematic diagram showing a historical usage record image located at a central position in an embodiment;
[0042] Figure 5a A schematic diagram of usage count information on a historical usage record page in one embodiment;
[0043] Figure 5b A schematic diagram of usage count information on another historical usage record page in one embodiment;
[0044] Figure 6 A schematic diagram of a historical usage record page in another embodiment;
[0045] Figure 7 This is a structural block diagram of a page display device in one embodiment;
[0046] Figure 8 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0048] It should be noted that the application scenario of the historical usage record page in this application can be to be presented in the unlock screen of the mobile terminal in the always on display (AOD) mode, or to call up the historical usage record page when the user moves the mobile terminal (for example, picks up the operation) or clicks the display screen of the mobile terminal, or to present the historical usage record page and the mobile terminal unlock interface at the same time. It can also be presented in the form of an APP (Application), and when the user clicks to enter the APP, the historical usage record page for the mobile terminal is displayed.
[0049] In one embodiment, Figure 1 As shown, a page display method is provided. This embodiment uses the method applied to a mobile terminal as an example for illustration. It is understandable that the method can also be applied to a server, or to a system including a mobile terminal and a server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0050] Step S102 : detecting the screen status of the mobile terminal and / or the behavior implemented on the mobile terminal.
[0051] Among them, the screen status includes the screen-on status and the screen-off status. Among them, the screen-on status indicates the screen status when the mobile terminal starts to be used or is in use, and the screen-off status indicates the screen status when the mobile terminal stops being used or is not in use.
[0052] The behavior implemented on the mobile terminal may be an operation implemented on a screen of the mobile terminal, or an operation implemented on the mobile terminal.
[0053] Step S104, when it is detected that the screen state of the mobile terminal is the target state and / or the behavior is the target behavior, a historical usage record page for the mobile terminal is displayed on the terminal interface of the mobile terminal; the historical usage record page includes a historical usage record image; the historical usage record image is used to represent each time node of the set time range interval, and the historical usage record image includes several target image areas rendered with preset colors and arranged in chronological order, and the image length of the target image area is determined according to the corresponding operation time of the mobile terminal when the mobile terminal is in the bright screen state.
[0054] The target state may be a screen-off state.
[0055] Among them, the target behavior can be a triggering operation behavior on the screen of the mobile terminal when the screen of the mobile terminal is in the off state, or a triggering operation behavior on the setting interface in the setting APP (Application) installed on the mobile terminal, or a moving operation behavior (such as a picking up operation) on the mobile terminal when the screen of the mobile terminal is in the off state.
[0056] In a specific implementation, when it is detected that the screen state of the mobile terminal is off, or the behavior implemented on the mobile terminal is the target behavior, the historical usage record page for the mobile terminal within the day is displayed on the terminal interface of the mobile terminal, such as Figure 2a As shown in FIG, a schematic diagram of a history usage record page displayed on a terminal interface of a mobile terminal is shown. The history usage record page includes a history usage record image. The history usage record image represents a set time range, such as various time nodes within 24 hours. Among them, several time nodes can be marked in the history record image with a time interval of 00:00 to 23:59 and a set time unit (such as 1s). The target image area included in the history record image is as follows Figure 2aAs shown in the black block in , the target image area is rendered with a preset color and arranged in chronological order in the historical usage record image, and the time node corresponding to the target image area corresponds one-to-one with the time node represented by the historical record image. The image length of the target image area is determined according to the length of time the screen of the mobile terminal is in the bright screen state. Therefore, the longer the screen of the mobile terminal is in the bright screen state each time, that is, the longer the time the mobile terminal is used, the longer the image length of the target image area is obtained. Conversely, if the screen of the mobile terminal is in the bright screen state each time for a shorter time, that is, the shorter the time the mobile terminal is used, the shorter the image length of the target image area is obtained.
[0057] Among them, there is no restriction on the width of the target image area and the pixel width of the historical usage record image, that is, the width of the target image area can be smaller than the pixel width of the historical usage record image, so that the target image area is displayed in a hollow form in the historical usage record image, and the width of the target image area can also be larger than the pixel width of the historical usage record image, so that the target image area is displayed in a form of disconnecting the historical usage record image.
[0058] Among them, the historical usage record image can be displayed in the form of an image or in the form of an image control, allowing users to operate (such as method, reduction, stretching, etc.) various positions of the historical usage record image, change the shape of the historical usage record image, and improve the user's interactive experience.
[0059] Furthermore, the historical usage record image is also rendered with a set color. Specifically, the color of the historical usage record image can be a single color or displayed in a gradient of multiple colors. For example, the historical usage record image is divided into multiple time nodes, each time node corresponds to a different color, and the colors between two adjacent time nodes are displayed in a gradient. For example, the historical usage record image is divided into three image intervals using sunrise time 06:00, noon 12:00, and sunset time 19:00 as the dividing time nodes, corresponding to red, blue, and yellow, respectively. The first image interval (06:00-12:00) gradually changes from red to blue, the second image interval (12:00-19:00) gradually changes from blue to yellow, and the third image interval (19:00-05:59) gradually changes from yellow to red.
[0060] In the above-mentioned page display method, by detecting the screen status of the mobile terminal and / or the behavior implemented on the mobile terminal, when the screen status of the mobile terminal is in the target status and / or the behavior implemented on the mobile terminal is the target behavior, a historical usage record page for the mobile terminal is displayed in the terminal page of the mobile terminal, and by displaying a target image area of all previous usage times in the historical usage record image of the historical usage record page, and by making the time node corresponding to the target image area correspond to the time node represented by the historical usage record image, and rendering the target image area into a set color, the usage time and usage frequency information of the mobile terminal within the set time range can be intuitively understood through the target image area in the historical usage record image, so that the time information and the user's usage behavior interact, thereby overcoming the defect of low efficiency of the existing method for determining the usage of the mobile terminal.
[0061] In one embodiment, the step of determining the target image area may include: obtaining the first time node when the screen of the mobile terminal changes from an off state to a bright state, and the duration that the screen of the mobile terminal is in the bright state; determining the first image position corresponding to the first time node from the historical usage record image, determining the second image position according to the image position and duration, and using the image area between the first image position and the second image position as the target image area.
[0062] The screen-on state indicates the state of the mobile terminal when it is in use. In actual applications, when the mobile terminal is equipped with an unlocking function, the screen-on state may specifically indicate the state when the unlocking is completed. When the mobile terminal is not equipped with an unlocking function, the screen-on state may directly indicate the state when the screen is lit.
[0063] Among them, the screen-off state indicates that the mobile terminal has stopped being used or is not in use.
[0064] In a specific implementation, when it is detected that the mobile terminal's screen changes from an off-screen state to an on-screen state, the moment of change is recorded as a first time node. Simultaneously, a timing instruction is generated to trigger a preset timer to start timing. When it is detected that the mobile terminal's screen changes from an on-screen state to an off-screen state, the timer is stopped to determine the duration of the mobile terminal's on-screen state. Based on the first time node, a first image position is determined from historical usage record images. An image length corresponding to the duration is added to the first image position to obtain a second image position. The image area between the first and second image positions is used as the target image area.
[0065] In another embodiment, the step of determining the target image area may also include: obtaining a first time node when the screen of the mobile terminal changes from an off-screen state to a bright-screen state, and obtaining a second time node when the screen of the mobile terminal changes from a bright-screen state to an off-screen state; determining a first image position corresponding to the first time node and a second image position corresponding to the second time node from the historical usage record image, and taking the image area between the first image position and the second image position as the target image area.
[0066] In a specific implementation, when the screen of the mobile terminal is detected to change from an off state to an on state, the change time is recorded as a first time node, and when the screen of the mobile terminal is detected to change from an on state to an off state, the change time is recorded as a second time node. A first image position is determined from the historical usage record image based on the first time node, and a second image position is determined from the historical usage record image based on the second time node, and the image area between the first image position and the second image position is used as the target image area.
[0067] In the above embodiment, the usage time of the mobile terminal is determined by obtaining the moment when the screen state of the mobile terminal changes, and the target image area is further determined in the historical usage record image, so that the target image area can be further rendered into a preset color, so that the usage frequency, usage time and other usage conditions of the mobile terminal can be intuitively understood through the display of the target image area in the historical usage record image.
[0068] In one embodiment, the historical usage record page also includes time information, and the above method further includes: moving the display area of the time information in the area associated with the time node represented by the historical usage record image in the order of time change. The time information is used to represent the system time of the current moving terminal and / or the local time of the corresponding geographical location. The time information is the local time of the corresponding geographical location, for example, displaying the Beijing time (UTC+8) of the corresponding geographical location in Beijing, China, or simultaneously displaying the Beijing time of the corresponding geographical location in Beijing, China and the Eastern Time (UTC-5) of the geographical location in New York, USA.
[0069] In specific implementation, such as Figure 2a As shown at 22:32 in the figure, the time information is displayed on the historical usage record page. In the implementation scheme of this embodiment, as time changes, the display area of the time information will also move. Specifically, the display area of the time information will move in the area associated with the time node represented by the historical usage record image. For example, Figure 2aIn the example, when the time from top to bottom of the historical usage record image is from 00:00 to 23:59, if the current time information is 5:10, the time node of 5:10 is determined from the historical usage record image, and the current time information is displayed in the area corresponding to the time node of 5:10. Among them, the area associated with each time node can be in the historical usage record image, overlap with the historical usage record image, or be within a set range adjacent to the historical usage record image, for example, the left area or the right area of the historical usage record image. Figure 2a and Figure 2b As shown in the figure, the schematic diagram of the historical usage record page is when the time information is 20:32 and 22:32 respectively. When the time information changes from 20:32 to 22:32, the time information also changes. Figure 2a The location in the history usage record page shown is moved to Figure 2b The location in the historical usage record page is shown.
[0070] In this embodiment, by moving the time information in the historical usage record page as time changes, the burn-in effect caused by the time information being displayed at a fixed position on the display screen for a long time can be avoided. On the other hand, the changes in time can be reflected, providing another visual experience of time changes and improving the user experience.
[0071] In one embodiment, Figure 3 As shown, the above-mentioned moving the display area of the time information in the area associated with the time node represented by the historical usage record image in the order of time change also includes:
[0072] Step S302, obtaining the length of the display pixels of the historical usage record image;
[0073] Step S304, obtaining the moving speed of the display area of the time information according to the length of the pixels displayed in the historical usage record image;
[0074] Step S306 : moving the display area of the time information in the area associated with the time node represented by the historical usage record image according to the time change sequence and the moving speed.
[0075] In a specific implementation, before moving the time information display area, it is necessary to first determine the movement speed. Specifically, the pixel length of the historical usage record image is first obtained, and the total time of the time range represented by the historical usage record image is determined. Based on the pixel length of the historical usage record image and the total time of the time range represented by the historical usage record image, the movement speed of the time information display area is calculated. According to the time change sequence and the movement speed, the time information display area is moved in the area associated with the time node represented by the historical usage record image.
[0076] For example, the pixel length of the historical usage record image is 1296 pixels (pixel), and the time range represented by the historical usage record image is 24 hours, then the total time is 86400 seconds, and the moving speed of the display area of the time information is calculated to be: 1296 pixels / 86400 seconds = 0.015 pixels / second, then the display area of the time information is moved according to the speed of 0.015 pixels / second and the order of time changes.
[0077] In this embodiment, the moving speed of the display area of the time information is calculated by historically recording the length of the image pixels, and the display area of the time information is further moved according to the moving speed and the order of time changes, thereby avoiding the problem of burn-in effect caused by the time information being displayed at a fixed position on the display screen for a long time.
[0078] In one embodiment, the method further comprises: moving the historical usage record image at a set plurality of display positions at set time intervals.
[0079] In a specific implementation, the historical usage record image can also be moved at a set time interval between multiple display positions. Specifically, the historical usage record image can be cyclically moved at each display position at a set time interval and in a fixed movement order, or it can be randomly moved at each display position at a set time interval. For example, it can be cyclically moved in the manner of "center → left → right → center" at a frequency of 5 seconds on the horizontal position of the terminal interface of the mobile terminal, or it can be randomly moved at a frequency of 5 seconds on the horizontal position or vertical position. Figure 4a and Figure 4b The figures shown are schematic diagrams of the historical usage record page when the historical usage record image is located at the right position and the center position respectively.
[0080] In this embodiment, by moving the historical usage record image in the terminal interface of the mobile terminal at set time intervals, the burn-in effect caused by the historical usage record image being displayed at a fixed position on the display screen for too long is further avoided.
[0081] In one embodiment, the historical usage record page also includes the usage count information of the mobile terminal; the usage count information corresponds to the number of target image areas in the historical usage record image; before the above step S102, it also includes: obtaining the number of times the screen state of the mobile terminal changes from the off state to the bright state on that day, as the usage count information of the mobile terminal on that day.
[0082] In a specific implementation, the usage count information of the mobile terminal can be displayed at any position on the history usage record page, such as Figure 5a and Figure 5bThe following are schematic diagrams of the usage count displayed on the historical usage record page. The usage count information is displayed above the historical usage record page, where: Figure 5a 6unlock in the code indicates that the mobile terminal has been unlocked 6 times, i.e. the number of times the mobile terminal has been used is 6 times. Figure 5a More specifically, before displaying the usage count information, the number of times the current mobile terminal's screen status changes from off to on is first obtained, i.e., the number of times the mobile terminal has been used. This information is used as the usage count information for the mobile terminal on that day. Furthermore, when the historical usage record page is displayed on the terminal interface of the mobile terminal, the usage count information is displayed at a set location on the historical usage record page.
[0083] Furthermore, a preset counter can be used to record the number of times the mobile terminal has been used. When the screen state of the mobile terminal is detected to have changed from an off-screen state to an on-screen state, a counting instruction is generated, triggering the preset counter to count. Each time the screen state is detected to have changed from an off-screen state to an on-screen state, the counter is incremented by one, thereby obtaining an accumulated count value as the number of times the mobile terminal has been used. Prior to generating the counting instruction, the current time information must be obtained and compared with a set time threshold. If the current time information exceeds the set time threshold, a data refresh instruction is generated to clear the counter's count record, thereby achieving a periodic update of the counter, so that the counter can cyclically record the number of times the mobile terminal has been used each day.
[0084] In this embodiment, the number of times the screen state of the mobile terminal changes from the off state to the on state is obtained as the usage count information of the mobile terminal on that day, and the usage count information is displayed in the historical usage record page so that the user can intuitively understand the usage count information of the mobile terminal.
[0085] Furthermore, in one embodiment, Figure 6 As shown, the historical usage record page also includes an APP information prompt bar and a power status information bar, so that when the screen is off, you can still view the number of information notifications and time and power information.
[0086] It should be understood that although Figure 1 and Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 1 and Figure 3At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0087] In one embodiment, a page display method is provided, comprising: detecting a screen state of a mobile terminal and / or a behavior implemented on the mobile terminal; when it is detected that the screen state of the mobile terminal is a target state and / or the behavior is a target behavior, displaying a historical usage record page for the mobile terminal on the terminal interface of the mobile terminal; the historical usage record page comprises a historical usage record image and time information; the historical usage record image is used to represent each time node of a set time range, and the historical usage record image comprises a plurality of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time that the screen of the mobile terminal is in a bright screen state; the time information is used to represent the current system time of the mobile terminal and / or the local time of the corresponding geographic location.
[0088] In one embodiment, Figure 7 As shown, a page display device is provided, including: a detection module 702 and a page display module 704, wherein:
[0089] A detection module 702 is configured to detect a screen status of the mobile terminal and / or an action performed on the mobile terminal;
[0090] The page display module 704 is used to display a historical usage record page for the mobile terminal on the terminal interface of the mobile terminal when it is detected that the screen state of the mobile terminal is the target state or the behavior is the target behavior; the historical usage record page includes a historical usage record image; the historical usage record image is used to represent each time node of the set time range, and the historical usage record image includes a number of target image areas rendered with preset colors and arranged in chronological order; wherein, the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time that the screen of the mobile terminal is in the bright screen state.
[0091] In one embodiment, the apparatus further comprises:
[0092] A time node acquisition module is used to acquire the first time node when the screen of the mobile terminal changes from the off state to the bright state, and the duration of the screen of the mobile terminal in the bright state;
[0093] The target image area determination module is used to determine the first image position corresponding to the first time node from the historical usage record image, determine the second image position based on the first image position and duration, and use the image area between the first image position and the second image position as the target image area.
[0094] In one embodiment, the above-mentioned time node acquisition module is also used to obtain the first time node when the screen of the mobile terminal changes from the off-screen state to the bright-screen state, and to obtain the second time node when the screen of the mobile terminal changes from the bright-screen state to the off-screen state; the above-mentioned target image area determination module is also used to determine the first image position corresponding to the first time node and the second image position corresponding to the second time node from the historical usage record image, and use the image area between the first image position and the second image position as the target image area.
[0095] In one embodiment, the apparatus further comprises:
[0096] The area moving module is used to move the display area of the time information in the area associated with the time node represented by the historical usage record image according to the time change sequence.
[0097] In one embodiment, the above-mentioned area movement module is also used to obtain the length of the pixels displayed in the historical usage record image; obtain the moving speed of the display area of the time information based on the length of the pixels displayed in the historical usage record image; and move the display area of the time information in the area associated with the time node represented by the historical usage record image according to the time change sequence and the moving speed.
[0098] In one embodiment, the apparatus further comprises:
[0099] The image moving module is used to move the historical usage record image at a set time interval at a set plurality of display positions.
[0100] In one embodiment, the apparatus further comprises:
[0101] The information acquisition module is used to obtain the number of times the screen state of the mobile terminal changes from the off state to the on state on that day, as the number of times the mobile terminal is used on that day.
[0102] It should be noted that the page display device of the present application corresponds one-to-one to the page display method of the present application. The technical features and beneficial effects described in the embodiments of the above-mentioned page display method are all applicable to the embodiments of the page display device. For specific contents, please refer to the description in the embodiments of the method of the present application. No further details will be given here. This is hereby declared.
[0103] In addition, each module in the above-mentioned page display device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0104] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a page display method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0105] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0106] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0107] Detecting the screen status of the mobile terminal and / or actions performed on the mobile terminal;
[0108] When it is detected that the screen state of the mobile terminal is the target state and / or the behavior is the target behavior, a historical usage record page for the mobile terminal is displayed on the terminal interface of the mobile terminal; the historical usage record page includes a historical usage record image; the historical usage record image is used to represent each time node of the set time range, and the historical usage record image includes a number of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time the screen of the mobile terminal is in the bright screen state.
[0109] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0110] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0111] Detecting the screen status of the mobile terminal and / or actions performed on the mobile terminal;
[0112] When it is detected that the screen state of the mobile terminal is the target state and / or the behavior is the target behavior, a historical usage record page for the mobile terminal is displayed on the terminal interface of the mobile terminal; the historical usage record page includes a historical usage record image; the historical usage record image is used to represent each time node of the set time range, and the historical usage record image includes a number of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time the screen of the mobile terminal is in the bright screen state.
[0113] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0114] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0115] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0116] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A page display method, characterized in that: The method comprises: Detecting a screen status of a mobile terminal and / or an action performed on the mobile terminal; When it is detected that the screen state of the mobile terminal is a target state and / or the behavior is a target behavior, a historical usage record page for the mobile terminal is displayed on the terminal interface of the mobile terminal; the historical usage record page includes a historical usage record image and time information; the historical usage record image is used to represent each time node of a set time range, and the historical usage record image includes a plurality of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the historical record image, and the image length of the target image area is determined according to the length of time that the screen of the mobile terminal is in the on-screen state; The display area of the time information is moved in the area associated with the time node represented by the historical usage record image in the order of time change.
2. The method according to claim 1, characterized in that The target image area is determined by: Obtaining a first time point when the screen of the mobile terminal changes from an off-screen state to a bright-screen state, and a duration for which the screen of the mobile terminal is in the bright-screen state; Determine the first image position corresponding to the first time node from the historical usage record image, determine the second image position based on the first image position and the duration, and use the image area between the first image position and the second image position as the target image area.
3. The method according to claim 1, characterized in that The target image area is determined by: Obtaining a first time point when the screen of the mobile terminal changes from an off-screen state to an on-screen state, and obtaining a second time point when the screen of the mobile terminal changes from an on-screen state to an off-screen state; A first image position corresponding to the first time node and a second image position corresponding to the second time node are determined from the historical usage record image, and an image area between the first image position and the second image position is used as the target image area.
4. The method according to claim 1, wherein The method of moving the display area of the time information in the area associated with the time node represented by the historical usage record image in the order of time change further includes: Obtaining a moving speed of the display area of the time information based on the length of pixels displayed by the historically recorded image; The display area of the time information is moved in an area associated with a time node represented by the historical usage record image in accordance with the time change order and the movement speed.
5. The method according to claim 4, characterized in that The method further comprises: The historical usage record image is moved at a set plurality of display positions at set time intervals.
6. The method according to claim 1, characterized in that The historical usage record page also includes usage count information of the mobile terminal; the usage count information corresponds to the number of target image areas in the historical usage record image; Before detecting the screen status of the mobile terminal and / or performing an action on the mobile terminal, the method further includes: The number of times the screen state of the mobile terminal changes from the off state to the on state on that day is obtained as the number of times the mobile terminal is used on that day.
7. The method according to claim 1, characterized in that The target state is the screen-off state, and the target behavior is a movement operation behavior on the mobile terminal when the screen of the mobile terminal is in the screen-off state, or a trigger operation behavior on the screen of the mobile terminal, or a trigger operation behavior on the setting interface in a setting application installed on the mobile terminal.
8. A page display device, characterized in that: The device comprises: a detection module, configured to detect a screen status of a mobile terminal and / or an action performed on the mobile terminal; a page display module configured to display a history usage record page for the mobile terminal on a terminal interface of the mobile terminal when detecting that the screen state of the mobile terminal is a target state or the behavior is a target behavior; the history usage record page includes a history usage record image and time information; the history usage record image is used to represent each time node within a set time range, and the history usage record image includes a plurality of target image areas rendered with preset colors and arranged in chronological order; wherein the time node corresponding to the target image area corresponds to the time node represented by the history record image, and the image length of the target image area is determined according to the length of time the screen of the mobile terminal is in the on-screen state; The area moving module is used to move the display area of the time information in the area associated with the time node represented by the historical usage record image according to the time change sequence.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.