CN106569937A - Page processing method and apparatus - Google Patents

Page processing method and apparatus Download PDF

Info

Publication number
CN106569937A
CN106569937A CN201610927349.9A CN201610927349A CN106569937A CN 106569937 A CN106569937 A CN 106569937A CN 201610927349 A CN201610927349 A CN 201610927349A CN 106569937 A CN106569937 A CN 106569937A
Authority
CN
China
Prior art keywords
display
page
specified type
preset
pages
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.)
Granted
Application number
CN201610927349.9A
Other languages
Chinese (zh)
Other versions
CN106569937B (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610927349.9A priority Critical patent/CN106569937B/en
Publication of CN106569937A publication Critical patent/CN106569937A/en
Application granted granted Critical
Publication of CN106569937B publication Critical patent/CN106569937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a page processing method and apparatus, and belongs to the technical field of information. The method comprises the steps of performing statistics on a display record of a page of a specified type according to pages displayed in a preset time, wherein the display record comprises at least one of a display duration and a display quantity; and when the at least one of the display duration and the display quantity is greater than a corresponding first preset threshold, displaying first prompt information, wherein the first prompt information is used for prompting a user to close the current page, the first preset duration threshold corresponding to the display duration is used for determining a first duration of browsing the page of the specified type, and the first preset quantity threshold corresponding to the display quantity is used for determining a first quantity of browsing the page of the specified type. According to the method and the apparatus, the browsing situation of the user for the page of the specified type can be automatically recorded; and when the user browses the page of the specified type excessively, the user is prompted to stop browsing of the page of the specified type, and a user behavior is subjected to intervention, so that the user is prevented from being excessively addicted to the page of the specified type.

Description

Page processing method and device
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a page processing method and apparatus.
Background
With the development and popularization of the internet technology, various types of pages can be widely spread through the internet, such as game pages, information pages and the like, the pages can provide a lot of information for users, the visual field of the users is greatly expanded, various operation functions can be provided for the users, and the operation requirements of the users are met.
The method comprises the steps that a plurality of pages in the internet can be provided for a user through a terminal, the user can open any page through the terminal, and after the page opened by the user is displayed by the terminal, the user can browse the page and can perform various operations in the page.
For example, the terminal displays a news navigation page to provide multiple news for the user, and after the user selects one news, the user opens a detail page of the news, so that the detailed information of the news can be browsed on the detail page, and the news can be commented on the detail page.
Disclosure of Invention
In order to solve the problems in the related art, the present disclosure provides a page processing method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a page processing method, including:
counting display records of the pages of the specified type according to the pages displayed within the preset time, wherein the display records comprise at least one of display duration and display quantity;
when at least one of the display duration and the display quantity is greater than a corresponding first preset threshold, displaying first prompt information, wherein the first prompt information is used for prompting a user to close a current page;
the first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
In a possible implementation manner, the counting, according to the page displayed within the preset time, the display records of the specified type of page includes:
when the currently opened page is the page of the specified type, adding 1 to the display number in the display record; or,
and when the currently opened page is the page of the specified type, updating the display duration in the display record according to the display duration of the currently opened page.
In another possible implementation, the method further includes:
and when the closing operation of the first prompt message is detected, closing the first prompt message.
In another possible implementation, the method further includes:
when at least one of the display duration and the display quantity is larger than a corresponding second preset threshold, locking a current page;
the second preset time threshold corresponding to the display time is used for determining a second time for browsing the specified type of pages, the second preset time threshold is greater than the first preset time threshold, the second preset number threshold corresponding to the display number is used for determining a second number for browsing the specified type of pages, and the second preset number threshold is greater than the first preset number threshold.
In another possible implementation manner, the locking the current page includes:
and generating a floating layer on the upper layer of the current page, and covering the current page by the floating layer.
In another possible implementation, the method further includes:
and unlocking the current page when the locking duration of the current page reaches a preset duration.
In another possible implementation, the method further includes:
and displaying second prompt information when the current page is unlocked, wherein the second prompt information comprises a display record of the page of the specified type.
According to a second aspect of the embodiments of the present disclosure, there is provided a page processing apparatus, the apparatus including:
the statistical module is used for counting display records of the specified type of pages according to the pages displayed within the preset time, wherein the display records comprise at least one of display duration and display quantity;
the display module is used for displaying first prompt information when at least one of the display duration and the display quantity is greater than a corresponding first preset threshold, wherein the first prompt information is used for prompting a user to close a current page;
the first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
In a possible implementation manner, the statistics module is configured to add 1 to the display number in the display record when the currently opened page is the page of the specified type; or when the currently opened page is the page of the specified type, updating the display duration in the display record according to the display duration of the currently opened page.
In another possible implementation manner, the apparatus further includes:
and the closing module is used for closing the first prompt message when the closing operation of the first prompt message is detected.
In another possible implementation manner, the apparatus further includes:
the locking module is used for locking the current page when at least one of the display duration and the display quantity is greater than a corresponding second preset threshold;
the second preset time threshold corresponding to the display time is used for determining a second time for browsing the specified type of pages, the second preset time threshold is greater than the first preset time threshold, the second preset number threshold corresponding to the display number is used for determining a second number for browsing the specified type of pages, and the second preset number threshold is greater than the first preset number threshold.
In another possible implementation manner, the locking module is configured to generate a floating layer on an upper layer of the current page, and cover the current page with the floating layer.
In another possible implementation manner, the apparatus further includes:
and the unlocking module is used for unlocking the current page when the locking duration of the current page reaches the preset duration.
In another possible implementation manner, the display module is further configured to display second prompt information when the current page is unlocked, where the second prompt information includes a display record of the page of the specified type.
According to a third aspect of the embodiments of the present disclosure, there is provided a page processing apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
counting display records of the pages of the specified type according to the pages displayed within the preset time, wherein the display records comprise at least one of display duration and display quantity;
when at least one of the display duration and the display quantity is greater than a corresponding first preset threshold, displaying first prompt information, wherein the first prompt information is used for prompting a user to close a current page;
the first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device provided by the embodiment, the user is prompted to close the current page when at least one of the display duration and the display number of the page of the specified type is greater than the corresponding first preset threshold value by counting the display records of the page of the specified type. By adopting the scheme of the embodiment, the browsing condition of the user on the specified type page can be automatically recorded, when the user browses the specified type page too much, the user is prompted to stop browsing the specified type page, the behavior of the user is interfered, and the user is prevented from drowning in the specified type page too much.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of page processing in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of page processing in accordance with an exemplary embodiment;
FIG. 3 is a block diagram illustrating a page processing apparatus according to an example embodiment;
FIG. 4 is a block diagram illustrating a page processing apparatus according to an example embodiment;
fig. 5 is a block diagram illustrating a page processing apparatus according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, the present disclosure is described in further detail below with reference to the embodiments and the accompanying drawings. The exemplary embodiments and descriptions of the present disclosure are provided herein for illustration of the present disclosure, but not for limitation of the present disclosure.
The embodiments of the present disclosure provide a page processing method and device, and the following describes the present disclosure in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a page processing method according to an exemplary embodiment, where as shown in fig. 1, the page processing method is used in a terminal and includes the following steps:
in step 101, according to the pages displayed within the preset time, counting the display records of the specified type of pages, wherein the display records include at least one of display duration and display number.
In step 102, when at least one of the display duration and the display number is greater than a corresponding first preset threshold, displaying a first prompt message, where the first prompt message is used to prompt a user to close a current page.
The first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
According to the method provided by the embodiment, the user is prompted to close the current page when at least one of the display duration and the display number of the page of the specified type is greater than the corresponding first preset threshold value by counting the display records of the page of the specified type. By adopting the scheme of the embodiment, the browsing condition of the user on the specified type page can be automatically recorded, when the user browses the specified type page too much, the user is prompted to stop browsing the specified type page, the behavior of the user is interfered, and the user is prevented from drowning in the specified type page too much.
In a possible implementation manner, the counting the display records of the pages of the specified type according to the pages displayed within the preset time includes:
when the currently opened page is the page of the specified type, adding 1 to the display number in the display record; or,
and when the currently opened page is the page of the specified type, updating the display duration in the display record according to the display duration of the currently opened page.
In one possible implementation, the method further comprises:
and when the closing operation of the first prompt message is detected, closing the first prompt message.
In another possible implementation, the method further includes:
when at least one of the display duration and the display number is greater than a corresponding second preset threshold, locking the current page;
the second preset time threshold corresponding to the display time is used for determining a second time for browsing the specified type of pages, the second preset time threshold is greater than the first preset time threshold, the second preset number threshold corresponding to the display number is used for determining a second number for browsing the specified type of pages, and the second preset number threshold is greater than the first preset number threshold.
In one possible implementation, the locking the current page includes:
and generating a floating layer at the upper layer of the current page, and covering the current page by the floating layer.
In one possible implementation, the method further comprises:
and unlocking the current page when the locking duration of the current page reaches the preset duration.
In one possible implementation, the method further comprises:
and displaying second prompt information when the current page is unlocked, wherein the second prompt information comprises a display record of the specified type of page.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating a page processing method according to an exemplary embodiment, where the page processing method is used in a terminal, as shown in fig. 2, and includes the following steps:
in step 201, counting the display records of the specified type of pages according to the pages displayed within the preset time.
The terminal can be various types of equipment such as a mobile phone and a computer, and the embodiment does not limit the terminal and only needs to ensure that the terminal can display a page. The page displayed by the terminal may include a webpage, a mobile phone page, an application page, or other types of pages, such as an HTML (Hypertext Markup Language) page, which is not limited in the embodiments of the present invention.
In practical application, a user can display a plurality of pages through the terminal, and the types of the pages are different. The designated type page refers to a page belonging to a certain designated type, and the designated type may include negative types such as a fraud type and a pornographic type, and may be specifically determined according to requirements.
In order to determine whether the user browses the specified type of pages too much, the terminal may count the display records of the specified type of pages according to one or more pages displayed within a preset time, and may know the condition that the terminal displays the specified type of pages according to the display records, that is, the condition that the user browses the specified type of pages.
The preset time may be a statistical time set by the terminal as a default, or may also be a statistical time set by a user, and the preset time may include a plurality of time periods, and the plurality of time periods may be randomly determined, or determined according to a preset time interval. For example, the time spans of the time periods are all the preset time intervals, and the ending time point of the previous time period is the starting time point of the next time period, then the preset time intervals are taken as the periods, and the display records of the periods can be respectively counted.
Wherein the display record includes at least one of a display duration and a display number, accordingly, the step 201 may include at least one of the following steps 2011 and 2012:
2011. and when the currently opened page is the page of the specified type, adding 1 to the display number in the display record.
2012. When the terminal opens a page, judging whether the currently opened page is a specified type page, and when the currently opened page is the specified type page, updating the display duration in the display record according to the display duration of the currently opened page.
And if the currently opened page is the page of the specified type, the terminal counts the display duration of the currently opened page along with the lapse of time, and increases the display duration in the display record by the display duration of the currently opened page.
The terminal may count the display duration of the currently opened page in real time or periodically, update the display duration in the display record according to the display duration of the currently opened page, or count the display duration of the currently opened page first, and when it is detected that the currently opened page is closed, increase the display duration in the display record by the display duration of the page.
In one possible implementation manner, in the above steps 2011 and 2012, the terminal may perform training in advance according to a sample page that is known to be a designated type page or not, to obtain a classification model for identifying the designated type page, and when the terminal opens a page, input the page into the classification model, so as to obtain a classification result, and determine whether the page is the designated type page or not.
The training algorithm used in training the classification model may be a support vector machine algorithm or a neural network algorithm, which is not limited in this embodiment.
In step 202, when at least one of the display duration and the display number is greater than a corresponding first preset threshold, displaying a first prompt message, where the first prompt message is used to prompt a user to close a current page.
When the display duration is greater than the first preset duration threshold, it indicates that the duration for the user to browse the specified type page is longer, and browsing the specified type page should be temporarily stopped. The first preset number threshold corresponding to the display number is used to determine the first number of pages of the specified type to be browsed, that is, the first number is used as a critical value for determining whether the display number is larger, and when the display number is larger than the first preset number threshold, it indicates that the user has a larger number of pages of the specified type to be browsed, and should temporarily stop browsing the pages of the specified type.
Accordingly, the step 202 may comprise at least one of the following steps 2021-2022:
2021. and when the display duration is greater than the first preset duration threshold, displaying the first prompt message.
2022. And when the display quantity is greater than the first preset quantity threshold value, displaying the first prompt message.
In the embodiment, when the user browses the designated type pages too much, the user is prompted to close the current page, browsing of the designated type pages is stopped, active intervention is performed on the behavior of the user, and the user is prevented from browsing the designated type pages too much.
In step 203, when the closing operation of the first prompt message is detected, the first prompt message is closed, and the display records of the specified type of page are counted according to the page displayed within the preset time.
When the terminal displays the first prompt message, the user views the first prompt message, and at this time, the user may close the current page, or may continue to close the prompt message to browse the current page. Then, when the terminal detects the closing operation of the first prompt message, the terminal may directly close the first prompt message, and continue to count the display record according to the displayed one or more pages in the subsequent process.
The first prompt message comprises a closing option, and the closing operation can be triggered by clicking operation on the closing option.
In step 204, when at least one of the display duration and the display number is greater than a corresponding second preset threshold, the current page is locked.
The second preset time length threshold corresponding to the display time length is used for determining a second time length for browsing the specified type of page, the second preset time length threshold is greater than the first preset time length threshold, that is, the second time length is used as another critical value for judging whether the display time length is greater, and when the display time length is greater than the second preset time length threshold, it indicates that the time length for browsing the specified type of page by the user is too great, and the specified type of page cannot be browsed any more. The second preset number threshold corresponding to the display number is used for determining a second number for browsing the specified type of page, the second preset number threshold is larger than the first preset number threshold, that is, the second number is used as another critical value for judging whether the display number is larger, and when the display number is larger than the second preset number threshold, it indicates that the user browses the specified type of page too much, and can not browse the specified type of page any more.
Accordingly, the step 204 may include at least one of the following steps 2041-2042:
2041. and when the display duration is greater than the second preset duration threshold, locking the current page.
2022. And when the display quantity is larger than the second preset quantity threshold value, locking the current page.
In a possible implementation manner, when the terminal locks the current page, a floating layer is generated at an upper layer of the current page, and the current page is covered by the floating layer. The transparency of the floating layer can be any value less than 100%, and only the current page can be covered. In addition, the floating layer may be white, or black with a stronger covering effect, and the like, and the floating layer may display a prompt message or an advertisement, and the like.
In the locking process, the user can not browse the current page any more, and at the moment, the user can be prompted to rest for a period of time to prevent the user from browsing the specified type of page too much.
In a possible implementation manner, in order to avoid that a user opens a new page of a specified type, when the terminal locks a current page, the terminal may further lock an input unit configured by the terminal, such as a keyboard and a mouse, so as to ensure that the user cannot control the terminal, or may further lock a display screen of the terminal so as to ensure that the terminal cannot display any page, which is not limited in this embodiment.
In step 205, when the locking duration of the current page reaches the preset duration, the current page is unlocked, and the second prompt message is displayed.
In this embodiment, in order to meet the requirement of the user for continuing to browse the page, the terminal may count the locking duration of the current page, and when the locking duration reaches the preset duration, the terminal may unlock the current page. And if the generated floating layer is not displayed, the current page is displayed again. At this time, the user may continue to browse the current page, or may close the current page, or may open other pages. The preset time period may be set by the default of the terminal, and may be 10 minutes, 20 minutes, and the like, and the preset time period is not limited in this embodiment.
In order to continue to prompt the user, when the terminal unlocks the current page, second prompt information can be displayed, and the second prompt information contains display records of the specified type of page, such as the display duration and the display number.
The second prompt information may not affect the display of the current page, for example, the second prompt information may be located at a lower right corner of the display screen, or may be located in a menu bar of the current page, and the display position of the second prompt information is not limited in this embodiment.
It should be noted that, the method provided in this embodiment may be executed by an operating system of the terminal, may also be executed by a browser client of the terminal, or executed by any game class client of the terminal, or executed by any page management class client of the terminal, which is not limited in this embodiment.
According to the method provided by the embodiment, the user is prompted to close the current page when at least one of the display duration and the display number of the page of the specified type is greater than the corresponding first preset threshold value by counting the display records of the page of the specified type. By adopting the scheme of the embodiment, the browsing condition of the user on the specified type page can be automatically recorded, when the user browses the specified type page too much, the user is prompted to stop browsing the specified type page, the behavior of the user is interfered, and the user is prevented from drowning in the specified type page too much. And when at least one of the display duration and the display quantity of the specified type of page is greater than the corresponding second preset threshold, locking the current page, so that the access of the user can be prohibited, and the user can have a rest for a period of time.
People spend a great deal of time browsing pages in the related art, but the terminal never analyzes which types of pages are browsed by the user and does not interfere with the behavior of the user. In the embodiment, the pages accessed by the user are monitored and classified, the specified type of pages are counted and timed, and when the user browses the specified type of pages too much, the user is advised to close the pages to rest, work or learn, so that the user is prevented from drowning in the network.
Fig. 3 is a block diagram illustrating a page processing apparatus according to an example embodiment. Referring to fig. 3, the apparatus includes a statistics module 301 and a display module 302.
The statistical module 301 is configured to perform statistics on display records of a specified type of page according to a page displayed within a preset time, where the display records include at least one of display duration and display number;
a display module 302, configured to display a first prompt message when at least one of the display duration and the display number is greater than a corresponding first preset threshold, where the first prompt message is used to prompt a user to close a current page;
the first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
The device provided by the embodiment prompts the user to close the current page when at least one of the display duration and the display number of the page of the specified type is greater than the corresponding first preset threshold value by counting the display records of the page of the specified type. By adopting the scheme of the embodiment, the browsing condition of the user on the specified type page can be automatically recorded, when the user browses the specified type page too much, the user is prompted to stop browsing the specified type page, the behavior of the user is interfered, and the user is prevented from drowning in the specified type page too much.
In one possible implementation manner, the statistics module 301 is configured to add 1 to the display number in the display record when the currently opened page is the specified type of page; or when the currently opened page is the page of the specified type, updating the display duration in the display record according to the display duration of the currently opened page.
Referring to fig. 4, in another possible implementation, the apparatus further includes:
a closing module 303, configured to close the first prompt message when a closing operation of the first prompt message is detected.
In another possible implementation manner, the apparatus further includes:
a locking module 304, configured to lock a current page when at least one of the display duration and the display number is greater than a corresponding second preset threshold;
the second preset time threshold corresponding to the display time is used for determining a second time for browsing the specified type of pages, the second preset time threshold is greater than the first preset time threshold, the second preset number threshold corresponding to the display number is used for determining a second number for browsing the specified type of pages, and the second preset number threshold is greater than the first preset number threshold.
In another possible implementation, the locking module 304 is configured to generate a floating layer at an upper layer of the current page, and to cover the current page with the floating layer.
In another possible implementation manner, the apparatus further includes:
the unlocking module 305 is configured to unlock the current page when the locking duration of the current page reaches a preset duration.
In another possible implementation manner, the display module 302 is further configured to display a second prompt message when the current page is unlocked, where the second prompt message includes a display record of the page of the specified type.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that: in the page processing apparatus provided in the foregoing embodiment, when processing a page, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the page processing apparatus and the page processing method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 5 is a block diagram illustrating a page processing apparatus 500 according to an example embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described page processing methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a terminal, enable the terminal to perform a page processing method, the method comprising:
counting display records of the pages of the specified type according to the pages displayed within the preset time, wherein the display records comprise at least one of display duration and display quantity;
when at least one of the display duration and the display quantity is greater than a corresponding first preset threshold, displaying first prompt information, wherein the first prompt information is used for prompting a user to close a current page;
the first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
In a possible implementation manner, the counting the display records of the pages of the specified type according to the pages displayed within the preset time includes:
when the currently opened page is the page of the specified type, adding 1 to the display number in the display record; or,
and when the currently opened page is the page of the specified type, updating the display duration in the display record according to the display duration of the currently opened page.
In another possible implementation, the method further includes:
and when the closing operation of the first prompt message is detected, closing the first prompt message.
In another possible implementation, the method further includes:
when at least one of the display duration and the display number is greater than a corresponding second preset threshold, locking the current page;
the second preset time threshold corresponding to the display time is used for determining a second time for browsing the specified type of pages, the second preset time threshold is greater than the first preset time threshold, the second preset number threshold corresponding to the display number is used for determining a second number for browsing the specified type of pages, and the second preset number threshold is greater than the first preset number threshold.
In another possible implementation, the locking the current page includes:
and generating a floating layer at the upper layer of the current page, and covering the current page by the floating layer.
In another possible implementation, the method further includes:
and unlocking the current page when the locking duration of the current page reaches the preset duration.
In another possible implementation, the method further includes:
and displaying second prompt information when the current page is unlocked, wherein the second prompt information comprises a display record of the specified type of page.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A page processing method, characterized in that the method comprises:
counting display records of the pages of the specified type according to the pages displayed within the preset time, wherein the display records comprise at least one of display duration and display quantity;
when at least one of the display duration and the display quantity is greater than a corresponding first preset threshold, displaying first prompt information, wherein the first prompt information is used for prompting a user to close a current page;
the first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
2. The method according to claim 1, wherein the counting the display records of the pages of the specified type according to the pages displayed within the preset time comprises:
when the currently opened page is the page of the specified type, adding 1 to the display number in the display record; or,
and when the currently opened page is the page of the specified type, updating the display duration in the display record according to the display duration of the currently opened page.
3. The method of claim 1, further comprising:
and when the closing operation of the first prompt message is detected, closing the first prompt message.
4. The method according to any one of claims 1 to 3, further comprising: when at least one of the display duration and the display quantity is larger than a corresponding second preset threshold, locking a current page;
the second preset time threshold corresponding to the display time is used for determining a second time for browsing the specified type of pages, the second preset time threshold is greater than the first preset time threshold, the second preset number threshold corresponding to the display number is used for determining a second number for browsing the specified type of pages, and the second preset number threshold is greater than the first preset number threshold.
5. The method of claim 4, wherein the locking the current page comprises:
and generating a floating layer on the upper layer of the current page, and covering the current page by the floating layer.
6. The method of claim 4, further comprising:
and unlocking the current page when the locking duration of the current page reaches a preset duration.
7. The method of claim 6, further comprising:
and displaying second prompt information when the current page is unlocked, wherein the second prompt information comprises a display record of the page of the specified type.
8. A page processing apparatus, characterized in that the apparatus comprises:
the statistical module is used for counting display records of the specified type of pages according to the pages displayed within the preset time, wherein the display records comprise at least one of display duration and display quantity;
the display module is used for displaying first prompt information when at least one of the display duration and the display quantity is greater than a corresponding first preset threshold, wherein the first prompt information is used for prompting a user to close a current page;
the first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
9. The apparatus according to claim 8, wherein the statistics module is configured to add 1 to the display number in the display record when the currently opened page is the specified type of page; or when the currently opened page is the page of the specified type, updating the display duration in the display record according to the display duration of the currently opened page.
10. The apparatus of claim 8, further comprising:
and the closing module is used for closing the first prompt message when the closing operation of the first prompt message is detected.
11. The apparatus according to any one of claims 8-10, further comprising:
the locking module is used for locking the current page when at least one of the display duration and the display quantity is greater than a corresponding second preset threshold;
the second preset time threshold corresponding to the display time is used for determining a second time for browsing the specified type of pages, the second preset time threshold is greater than the first preset time threshold, the second preset number threshold corresponding to the display number is used for determining a second number for browsing the specified type of pages, and the second preset number threshold is greater than the first preset number threshold.
12. The apparatus of claim 11, wherein the locking module is configured to generate a floating layer on top of the current page to cover the current page with the floating layer.
13. The apparatus of claim 11, further comprising:
and the unlocking module is used for unlocking the current page when the locking duration of the current page reaches the preset duration.
14. The apparatus according to claim 13, wherein the display module is further configured to display a second prompt message when the current page is unlocked, where the second prompt message includes a display record of the page of the specified type.
15. A page processing apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
counting display records of the pages of the specified type according to the pages displayed within the preset time, wherein the display records comprise at least one of display duration and display quantity;
when at least one of the display duration and the display quantity is greater than a corresponding first preset threshold, displaying first prompt information, wherein the first prompt information is used for prompting a user to close a current page;
the first preset time threshold corresponding to the display time is used for determining the first time for browsing the specified type of pages, and the first preset number threshold corresponding to the display number is used for determining the first number for browsing the specified type of pages.
CN201610927349.9A 2016-10-31 2016-10-31 Page processing method and device Active CN106569937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610927349.9A CN106569937B (en) 2016-10-31 2016-10-31 Page processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610927349.9A CN106569937B (en) 2016-10-31 2016-10-31 Page processing method and device

Publications (2)

Publication Number Publication Date
CN106569937A true CN106569937A (en) 2017-04-19
CN106569937B CN106569937B (en) 2019-12-13

Family

ID=58534547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610927349.9A Active CN106569937B (en) 2016-10-31 2016-10-31 Page processing method and device

Country Status (1)

Country Link
CN (1) CN106569937B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558229A (en) * 2018-11-23 2019-04-02 北京小米移动软件有限公司 Browser control method and device
CN106569937B (en) * 2016-10-31 2019-12-13 北京小米移动软件有限公司 Page processing method and device
CN111506849A (en) * 2020-04-07 2020-08-07 口碑(上海)信息技术有限公司 Page generation method and device
CN113779447A (en) * 2020-07-21 2021-12-10 北京沃东天骏信息技术有限公司 Method and device for acquiring user browsing data, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660821A (en) * 2015-03-04 2015-05-27 深圳市中兴移动通信有限公司 Method for controlling using duration of terminal as well as mobile terminal
CN104915278A (en) * 2014-03-14 2015-09-16 小米科技有限责任公司 Application control method and device
CN104980565A (en) * 2014-04-09 2015-10-14 小米科技有限责任公司 Terminal anti-addiction method and device
CN105468343A (en) * 2014-08-21 2016-04-06 小米科技有限责任公司 Application control method and apparatus
CN105554567A (en) * 2015-12-09 2016-05-04 小米科技有限责任公司 Television control method and device
CN105955868A (en) * 2016-05-05 2016-09-21 广东小天才科技有限公司 Method and system for saving running time of application program of intelligent terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569937B (en) * 2016-10-31 2019-12-13 北京小米移动软件有限公司 Page processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915278A (en) * 2014-03-14 2015-09-16 小米科技有限责任公司 Application control method and device
CN104980565A (en) * 2014-04-09 2015-10-14 小米科技有限责任公司 Terminal anti-addiction method and device
CN105468343A (en) * 2014-08-21 2016-04-06 小米科技有限责任公司 Application control method and apparatus
CN104660821A (en) * 2015-03-04 2015-05-27 深圳市中兴移动通信有限公司 Method for controlling using duration of terminal as well as mobile terminal
CN105554567A (en) * 2015-12-09 2016-05-04 小米科技有限责任公司 Television control method and device
CN105955868A (en) * 2016-05-05 2016-09-21 广东小天才科技有限公司 Method and system for saving running time of application program of intelligent terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569937B (en) * 2016-10-31 2019-12-13 北京小米移动软件有限公司 Page processing method and device
CN109558229A (en) * 2018-11-23 2019-04-02 北京小米移动软件有限公司 Browser control method and device
CN111506849A (en) * 2020-04-07 2020-08-07 口碑(上海)信息技术有限公司 Page generation method and device
CN111506849B (en) * 2020-04-07 2023-08-11 口碑(上海)信息技术有限公司 Page generation method and device
CN113779447A (en) * 2020-07-21 2021-12-10 北京沃东天骏信息技术有限公司 Method and device for acquiring user browsing data, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106569937B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
CN106020784B (en) Application message display method and device and terminal
EP3232299A2 (en) Physical key component, terminal, and touch response method and device
CN106469054B (en) Notification message control method and device and terminal
CN106896991B (en) Method and device for updating information
US20170139555A1 (en) Method and device for displaying a message
CN106569937B (en) Page processing method and device
CN106557755B (en) Fingerprint template acquisition method and device
CN109842612B (en) Log security analysis method and device based on graph library model and storage medium
CN111556352B (en) Multimedia resource sharing method and device, electronic equipment and storage medium
CN104536787B (en) Resource preloads method and device
CN105975540A (en) Information display method and device
CN106331328B (en) Information prompting method and device
RU2734780C1 (en) Method of presenting information, device and storage medium for information therefor
CN104199915B (en) Method and device for detecting webpage changes
CN104951445B (en) Webpage processing method and device
CN109521938B (en) Method and device for determining data evaluation information, electronic device and storage medium
CN109521923B (en) Floating window control method and device and storage medium
CN108984098B (en) Information display control method and device based on social software
CN112948704A (en) Model training method and device for information recommendation, electronic equipment and medium
CN104360875A (en) Private mode starting method and device
CN104951522B (en) Method and device for searching
CN114124866A (en) Session processing method, device, electronic equipment and storage medium
CN107734303B (en) Video identification method and device
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant