CN107977127B - Method, device and terminal for updating page - Google Patents

Method, device and terminal for updating page Download PDF

Info

Publication number
CN107977127B
CN107977127B CN201711112914.7A CN201711112914A CN107977127B CN 107977127 B CN107977127 B CN 107977127B CN 201711112914 A CN201711112914 A CN 201711112914A CN 107977127 B CN107977127 B CN 107977127B
Authority
CN
China
Prior art keywords
page
target
time
time period
target operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711112914.7A
Other languages
Chinese (zh)
Other versions
CN107977127A (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 CN201711112914.7A priority Critical patent/CN107977127B/en
Publication of CN107977127A publication Critical patent/CN107977127A/en
Application granted granted Critical
Publication of CN107977127B publication Critical patent/CN107977127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Abstract

The disclosure relates to a method, a device and a terminal for updating a page. The method for updating the page comprises the following steps: after the first page is updated to a second page, detecting target operation aiming at the second page; in response to the detection of the target operation, acquiring a first target time period, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected; when the first target time period is less than or equal to a predetermined time period, the target operation is executed for the first page. The technical scheme disclosed by the invention can avoid misoperation of the user caused by updating the page, further avoid return re-operation and time waste caused by misoperation, avoid entering a conversation interface which the user does not want to select, improve the accuracy of the user on the conversation page operation and optimize the user experience.

Description

Method, device and terminal for updating page
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for updating a page, and a terminal.
Background
With the development of intelligent terminals, apps (Application programs) with various functions have come into play. Some apps have list controls for presenting information, such as chat tool class apps, have a list of conversations, typically with the conversations in the list ordered by the chronological order in which the messages were received. And the order of arrangement of the dialogs in the dialog list changes each time a new message is received.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device and a terminal for updating a page, which are used for reducing the probability of misoperation of a conversation in a list interface by a user.
According to a first aspect of the embodiments of the present disclosure, there is provided a method of updating a page, including:
after the first page is updated to a second page, detecting target operation aiming at the second page;
in response to the detection of the target operation, acquiring a first target time period, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
when the first target time period is less than or equal to a predetermined time period, the target operation is executed for the first page.
In an embodiment, the method further comprises:
when the first target time period is greater than the preset time period, the target operation is executed aiming at the second page.
In an embodiment, the method further comprises:
after each page is updated, the arrangement sequence of all conversations on the current page and the updating time of the current page are used as page information to be stored in a historical page record;
the obtaining a first target time period in response to detecting the target operation comprises:
in response to detecting the target operation, reading the historical page record, the historical page record comprising: updating time of the page and the arrangement sequence of each dialogue on the corresponding page;
and acquiring the starting time through the historical page record.
In an embodiment, the method further comprises:
determining that the difference value between the current time and the updating time in the historical page record is larger than the target page information of the preset time period;
and deleting the target page information.
In one embodiment, the target operation is an operation of a finger approaching a screen;
the obtaining a first target time period in response to detecting the target operation comprises:
when the distance between the finger and the screen is detected to be smaller than the preset distance, calculating the contact moment when the finger contacts the screen;
determining the contact time as the termination time.
In one embodiment, the calculating the contact time when the finger contacts the screen includes:
acquiring the speed and the acceleration of the finger and the distance between the finger and a screen;
calculating the contact time based on the velocity, the acceleration, and the distance.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for updating a page, including:
the detection module is configured to detect a target operation aiming at a second page after the first page is updated to the second page;
the acquisition module is configured to acquire a first target time period in response to the detection of the target operation, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
a first execution module configured to execute the target operation with respect to the first page when the first target time period is less than or equal to a predetermined time period.
In one embodiment, the apparatus further comprises:
a second execution module configured to execute the target operation for the second page when the first target time period is greater than the predetermined time period.
In one embodiment, the apparatus further comprises:
the storage module is configured to store the arrangement sequence of all conversations on the current page and the updating time of the current page as page information into a historical page record after each page is updated;
the acquisition module includes:
a reading sub-module configured to read the historical page record in response to detecting the target operation, the historical page record including: updating time of the page and the arrangement sequence of each dialogue on the corresponding page;
and the first obtaining submodule is configured to obtain the starting moment through the historical page record.
In one embodiment, the apparatus further comprises:
the determining module is configured to determine that the difference value between the current time and the updating time in the historical page record is larger than the target page information of the preset time period;
a deletion module configured to delete the target page information.
In one embodiment, the target operation is an operation of a finger approaching a screen;
the acquisition module includes:
a calculation sub-module configured to calculate a contact timing at which a finger contacts a screen when it is detected that a distance between the finger and the screen is less than a predetermined distance;
a determination submodule configured to determine the contact timing as the termination timing.
In one embodiment, the computation submodule includes:
a detection submodule configured to acquire a speed, an acceleration, and a distance between the finger and a screen of the mobile terminal;
a first calculation submodule configured to calculate the contact time based on the speed, the acceleration, and the distance.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
after the first page is updated to a second page, detecting target operation aiming at the second page;
in response to the detection of the target operation, acquiring a first target time period, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
when the first target time period is less than or equal to a predetermined time period, the target operation is executed for the first page.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
after the first page is updated to a second page, detecting target operation aiming at the second page;
in response to the detection of the target operation, acquiring a first target time period, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
when the first target time period is less than or equal to a predetermined time period, the target operation is executed for the first page.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the terminal can acquire the first target time period when the target operation aiming at the second page is detected after the first page is updated to the second page, and execute the target operation aiming at the first page when the first target time period is less than or equal to the preset time period, so that the misoperation of a user caused by the updating of the page is avoided, the return re-operation and time waste caused by the misoperation are further avoided, the conversation interface which the user does not want to select is avoided, the accuracy of the user on the operation of the conversation page is improved, and the user experience is optimized.
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 invention and together with the description, serve to explain the principles of the invention.
FIG. 1A is a flow diagram illustrating a method of updating a page in accordance with an exemplary embodiment.
FIG. 1B is a scene diagram illustrating a method of updating a page in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating another method of updating a page in accordance with an exemplary embodiment.
FIG. 3 is a flow diagram illustrating another method of updating a page in accordance with an exemplary embodiment.
FIG. 4 is a flow diagram illustrating another method of updating a page in accordance with an exemplary embodiment.
FIG. 5 is a flow diagram illustrating another method of updating a page in accordance with an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for updating a page according to an example embodiment.
FIG. 7 is a block diagram illustrating another apparatus for updating a page in accordance with an example embodiment.
FIG. 8 is a block diagram illustrating another apparatus for updating a page in accordance with an illustrative embodiment.
FIG. 9 is a block diagram illustrating another apparatus for updating a page in accordance with an illustrative embodiment.
FIG. 10 is a block diagram illustrating another apparatus for updating a page in accordance with an illustrative embodiment.
FIG. 11 is a block diagram illustrating another apparatus for updating a page in accordance with an illustrative embodiment.
FIG. 12 is a block diagram illustrating another apparatus suitable for updating pages in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1A is a flowchart illustrating a method of updating a page in accordance with an exemplary embodiment, and FIG. 1B is a scene diagram illustrating a method of updating a page in accordance with an exemplary embodiment; the method for updating a page may be applied to a terminal, and the terminal in the present disclosure may be any intelligent terminal having an internet access function, for example, a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and the like. The terminal can access the router through the wireless local area network and access the server on the public network through the router. As shown in fig. 1A, the method for updating a page includes the following steps 101-103:
in step 101, after the first page is updated to the second page, a target operation for the second page is detected.
In an embodiment, the terminal may be installed with an APP such as a social network for communicating chats. And after the icon of the APP is clicked, the conversation list on the APP interface is displayed and operated in the foreground.
In an embodiment, the first page and the second page may include pages of a dialog list, the dialog list includes a plurality of dialogues, and the dialogues are usually sorted according to the sequence of the update time except the dialog set as the top, and the update time is closest to the current time and the sort is earlier. When new information is generated by a conversation, namely the updating time of the conversation is changed, the sequence of the conversation in the conversation list is changed. In the embodiment of the present disclosure, the first page may include a page of a dialog list before update, and the second page may include a page of a dialog list after update.
In one embodiment, the target operation may be a selection of a dialog to enter into the dialog list, including a click operation to touch the screen, or an operation close to the screen without touching the screen, or the like.
In step 102, in response to detecting the target operation, a first target time period is acquired.
In an embodiment, the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time is the time when the target operation is detected.
In an embodiment, the terminal may store history list information, and after each page update, the terminal may store the arrangement order of each dialog on the current page and the update time updated to the current page as page information in the history page record.
That is, whenever a session receives a new message or sends a new message, the location of the session is arranged at the first location in the session list except for the top message, and thus the arrangement order of each session in the session list is changed, and the terminal records the update time and the arrangement order after the change, or the session list after the change. The terminal may determine the time at which the first page is updated to the second page by reading the history page record.
In step 103, when the first target period of time is less than or equal to the predetermined period of time, a target operation is performed with respect to the first page.
In an embodiment, the terminal compares the first target time period with a predetermined time period, and performs the target operation for the first page if the first target time period is not greater than a preset predetermined time period, which may be, for example, 100ms-20 min.
In an embodiment, the method may further comprise: and when the first target time period is greater than the preset time period, executing the target operation aiming at the second page.
Since the updating of the arranged sequence of the dialog in the dialog list has a certain delay, for example, the dialog is updated, but the sequence in the dialog list is not updated yet, and the updating is performed only when the user clicks the dialog or is about to click the dialog, an error may occur in the operation of the user, for example, the dialog that the user wants to operate is a, but when the user is about to click the dialog a, the sequence of the dialog a in the dialog list is changed, and the user may click another dialog, thereby causing an incorrect operation. However, in the embodiment of the present disclosure, by acquiring the first target time period and comparing the first target time period with the set time period, only when the first target time period is less than or equal to the set time period, it is considered that the user wants to operate the first page, so that the target operation is performed on the first page, thereby improving the accuracy of the user operation, avoiding the misoperation, avoiding multiple operations caused by the misoperation, and optimizing the user experience.
In an exemplary scenario, as shown in fig. 1B, taking an App of a WeChat as an example installed on a terminal and displaying a dialogue list of the WeChat for exemplary description, in the scenario shown in fig. 1B, a smart phone serving as the terminal is included, the App running on the smart phone in the foreground is the WeChat, and a currently displayed interface is a dialogue interface of the WeChat and is a second page. When the terminal detects the selection operation of the finger of the user on the conversation 'B', the current time is determined to be 11:50:03, then the terminal responds to the selection operation and reads history list information, the updating time of the conversation interface is stored in the history list information and is 11:22:56, and the updating time corresponds to a conversation list and is a first page. And the terminal obtains a first target time period which is 27 '07' according to the difference value between the time of detecting the target operation and the updating time, wherein the first target time period is less than the preset time period for 20min, so that the terminal performs selection operation on the first page and displays the first page.
Please refer to the following embodiments for details of how to update the page.
Therefore, according to the method provided by the embodiment of the disclosure, after the first page is updated to the second page, when the target operation for the second page is detected, the first target time period is obtained, and when the first target time period is less than or equal to the predetermined time period, the target operation is executed for the first page, so that the misoperation of the user due to the updating of the page is avoided, the return re-operation and the time waste caused by the misoperation are further avoided, the session interface which the user does not want to select is avoided, the accuracy of the user on the session page operation is improved, and the user experience is optimized.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
FIG. 2 is a flow diagram illustrating another method of updating a page in accordance with an illustrative embodiment; in this embodiment, by using the method provided by the embodiment of the present disclosure, an example of how to obtain the first target time period is taken as an example to be described, as shown in fig. 2, the method includes the following steps 201 and 203:
in step 201, after each page update, the arrangement order of the dialogs on the current page and the update time when the current page is updated are stored as page information in the history page record.
In an embodiment, a history page record may be stored in the terminal, and a plurality of update times and an arrangement order of each dialog of the corresponding page may be stored in the history page record. For example, the history page record stores the update time 10 when the first page is updated to the second page: 30: 22, and the corresponding sequence of the dialogs on the first page and the corresponding sequence of the dialogs on the second page, and further stores the update time 11 when the second page is updated to the third page: 02: 01, and the sequence of the dialogs on the third page, and also stores the update time 11 from the third page to the fourth page: 06: 08, and the order of the dialogs on the fourth page.
In step 202, in response to detecting the target operation, the historical page record is read.
In an embodiment, when the terminal detects a target operation, the history page record may be read to obtain an update time and an arrangement order of each session.
In step 203, the starting time of the first target time period is obtained from the history page record.
In an embodiment, the starting time is a starting time of the first target time period, that is, an updating time when the first page is updated to the second page.
In this embodiment, through the above-mentioned step 201 and 203, the terminal may store the update time of each page from the update to the next page in the history page record and the arrangement sequence of each session on the corresponding page, so that when the target operation is detected, the start time of the first target time period may be determined by reading the history page record, thereby facilitating to accurately determine whether the detected target operation is directed to the page before the update or the page after the update, avoiding the misoperation, unnecessary return operation and time waste, and optimizing the user experience.
FIG. 3 is a flow diagram illustrating yet another method of updating a page in accordance with an exemplary embodiment; in this embodiment, by using the method provided by the embodiment of the present disclosure, how to obtain the first target time period is taken as an example for an exemplary explanation, as shown in fig. 3, the method may further include the following steps 301 and 302:
in step 301, when it is detected that the distance between the finger and the screen is less than a predetermined distance, a contact timing at which the finger contacts the screen is calculated.
In an embodiment, the target operation includes an operation in which the finger is close to the screen, that is, an operation in which the finger has not touched the screen, the distance between the finger and the screen may be detected, and when the distance is smaller than a predetermined distance, for example, 5mm, the calculation of the touch time at which the finger can touch the screen may be started.
In one embodiment, a distance sensor is arranged on a screen of the terminal and used for detecting whether a finger is close to the screen.
In one embodiment, the terminal may statistically acquire and store an average speed of the finger approaching the screen, and then may calculate a contact time at which the finger can contact the screen based on a distance between the finger and the screen, the stored average speed, and a current time of the system.
In one embodiment, the terminal may further detect a speed and an acceleration of the finger and a distance between the finger and the screen, and then calculate the contact time based on the speed and the acceleration of the finger and the distance between the finger and the screen.
In step 302, the contact time is determined as the termination time of the first target period.
In an embodiment, the terminal may determine the calculated contact time as an end time of the first target time period, thereby facilitating determination of the first target time period from the calculated start time and end time.
In this embodiment, through the above-mentioned step 301 and step 302, the terminal may calculate the contact time when the finger contacts the screen when the distance between the finger and the screen is smaller than the predetermined distance, and determine the contact time as the termination time, so as to accurately calculate the first target time period, and make an accurate determination on whether the target operation is directed to the first page or the second page, thereby avoiding generating an erroneous operation.
FIG. 4 is a flowchart illustrating yet another method of updating a page in accordance with an exemplary embodiment; in this embodiment, by using the method provided by the embodiment of the present disclosure, how to obtain the first target time period is exemplarily described, as shown in fig. 4, the method may further include the following steps 401 and 402:
in step 401, the contact time when the finger contacts the screen is determined.
In step 402, the above-mentioned contact time is determined as the termination time of the first target period.
In an embodiment, the target operation may further include an operation of touching the screen with a finger, and in this case, the termination time may be a time when the finger touches the screen, and the terminal may read the system time when detecting that the finger touches the screen, and determine the time as the termination time. Then, the finger touches which dialog on the screen, and the target operation is the selection operation for the dialog.
In this embodiment, through the above-mentioned steps 401 and 402, the terminal may determine the contact time when the finger contacts the screen as the termination time, so as to conveniently and accurately calculate the first target time period, and accurately determine whether the target operation is directed to the first page or the second page, thereby avoiding the generation of the misoperation.
FIG. 5 is a flowchart illustrating yet another method of updating a page in accordance with an exemplary embodiment; in this embodiment, by using the method provided by the embodiment of the present disclosure, an example is described by taking how to delete the target page information as an example, as shown in fig. 5, the method may further include the following steps 501 and 502:
in step 501, target page information in which the difference between the current time and the update time in the history page record is greater than a predetermined time period is determined.
In step 502, the target page information is deleted.
In an embodiment, because the session information is updated more frequently, the session arrangement sequence of the session interfaces of the history page records is also more frequent, a large amount of information is stored in the history page records, and actually, due to the timeliness of the session information, a lot of information is no longer useful after a certain time, so that the terminal can timely clear the stored information in the history page records in order to avoid unnecessary redundant information. In an embodiment, the terminal may determine a page, for which a difference between the current time and the update time is greater than a predetermined time period, as the target page information, and delete the target page information.
In this embodiment, through the above-mentioned step 501 and step 502, the terminal can delete the content in the history page record in time, so as to not only save the storage space of the terminal, but also provide the most accurate reference information for the page targeted by the terminal to determine the target operation.
Fig. 6 is a block diagram illustrating an apparatus for updating a page according to an exemplary embodiment, where the apparatus for updating a page, as shown in fig. 6, includes: a detection module 610, an acquisition module 620 and a first execution module 630.
The detecting module 610 is configured to detect a target operation for a second page after the first page is updated to the second page;
an obtaining module 620, configured to, in response to the detection module 610 detecting a target operation, obtain a first target time period, where a starting time of the first target time period is a time when the first page is updated to the second page, and an ending time of the first target time period is a time when the target operation is detected;
a first executing module 630 configured to execute the target operation with respect to the first page when the first target time period acquired by the acquiring module 620 is less than or equal to a predetermined time period.
Fig. 7 is a block diagram illustrating another apparatus for updating a page according to an exemplary embodiment, where as shown in fig. 7, on the basis of the embodiment shown in fig. 6, in an embodiment, the apparatus further includes: a second execution module 640.
A second execution module 640 configured to execute the target operation for the second page when the first target time period is greater than the predetermined time period.
Fig. 8 is a block diagram illustrating another apparatus for updating a page according to an exemplary embodiment, where as shown in fig. 8, on the basis of the above embodiment shown in fig. 6, in an embodiment, the apparatus may further include: a storage module 650.
The storage module 650 is configured to store the arrangement order of the dialogues on the current page and the update time of updating the dialog to the current page as page information into a historical page record after each page update;
the obtaining module 620 may include: a read sub-module 621 and an acquire sub-module 622.
A reading sub-module 621 configured to, in response to detecting the target operation, read the history page record, where the history page record includes: updating time of the page and the arrangement sequence of each dialogue on the corresponding page;
the obtaining sub-module 622 is configured to obtain the starting time through the history page record read by the reading sub-module 621.
Fig. 9 is a block diagram illustrating another apparatus for updating a page according to an exemplary embodiment, where as shown in fig. 9, on the basis of the above embodiment shown in fig. 8, in an embodiment, the apparatus may further include: a determination module 660 and a deletion module 670.
A determining module 660 configured to determine that a difference between a current time and an update time in the historical page record is greater than the target page information of the predetermined time period;
a deletion module 670 configured to delete the target page information determined by the determination module 660.
FIG. 10 is a block diagram illustrating another apparatus for updating a page according to an exemplary embodiment, as shown in FIG. 10, based on the embodiment shown in FIG. 6, in an embodiment, the target operation is an operation of a finger approaching the screen; the obtaining module 620 may include: a calculation sub-module 623 and a determination sub-module 624.
A calculation sub-module 623 configured to calculate a contact time at which the finger contacts the screen when detecting that the distance between the finger and the screen is less than a predetermined distance;
a determination submodule 624 configured to determine the contact timing calculated by the calculation submodule 623 as the termination timing.
Fig. 11 is a block diagram illustrating another apparatus for updating a page according to an exemplary embodiment, and as shown in fig. 11, based on the embodiment shown in fig. 10, in an embodiment, the calculation submodule 624 may include: a detection sub-module 625 and a first calculation sub-module 626.
A detection sub-module 625 configured to obtain a speed, an acceleration, and a distance between the finger and a screen of the finger;
a first calculation submodule 626 configured to calculate the contact time based on the speed, acceleration and distance detected by the detection submodule 625.
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.
FIG. 12 is a block diagram illustrating an apparatus adapted to update a page in accordance with an example embodiment. For example, the apparatus 1200 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, or other user device.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the device 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 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.
A power component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia component 1208 comprises a screen that provides an output interface between the apparatus 1200 and a user, in some embodiments, the screen may comprise a liquid crystal display (L CD) and a Touch Panel (TP). if the screen comprises a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational 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 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 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 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the device 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, an orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 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 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 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 1216 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 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 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 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.
Wherein the processor 1220 is configured to:
after the first page is updated to a second page, detecting target operation aiming at the second page;
in response to the detection of the target operation, acquiring a first target time period, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
when the first target time period is less than or equal to a predetermined time period, the target operation is executed for the first 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 (12)

1. A method of updating a page, the method comprising:
after the first page is updated to a second page, detecting target operation aiming at the second page;
in response to the detection of the target operation, acquiring a first target time period, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
when the first target time period is less than or equal to a predetermined time period, executing the target operation aiming at the first page;
the method further comprises the following steps:
after each page is updated, the arrangement sequence of all conversations on the current page and the updating time of the current page are used as page information to be stored in a historical page record;
the obtaining a first target time period in response to detecting the target operation comprises:
in response to detecting the target operation, reading the historical page record, the historical page record comprising: updating time of the page and the arrangement sequence of each dialogue on the corresponding page;
and acquiring the starting time through the historical page record.
2. The method of claim 1, further comprising:
when the first target time period is greater than the preset time period, the target operation is executed aiming at the second page.
3. The method of claim 1, further comprising:
determining that the difference value between the current time and the updating time in the historical page record is larger than the target page information of the preset time period;
and deleting the target page information.
4. The method according to claim 1, wherein the target operation is an operation in which a finger approaches a screen;
the obtaining a first target time period in response to detecting the target operation comprises:
when the distance between the finger and the screen is detected to be smaller than the preset distance, calculating the contact moment when the finger contacts the screen;
determining the contact time as the termination time.
5. The method of claim 4, wherein the calculating the contact time when the finger contacts the screen comprises:
acquiring the speed and the acceleration of the finger and the distance between the finger and a screen;
calculating the contact time based on the velocity, the acceleration, and the distance.
6. An apparatus for updating a page, the apparatus comprising:
the detection module is configured to detect a target operation aiming at a second page after the first page is updated to the second page;
the acquisition module is configured to acquire a first target time period in response to the detection of the target operation, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
a first execution module configured to execute the target operation for the first page when the first target time period is less than or equal to a predetermined time period;
the device further comprises:
the storage module is configured to store the arrangement sequence of all conversations on the current page and the updating time of the current page as page information into a historical page record after each page is updated;
the acquisition module includes:
a reading sub-module configured to read the historical page record in response to detecting the target operation, the historical page record including: updating time of the page and the arrangement sequence of each dialogue on the corresponding page;
and the first obtaining submodule is configured to obtain the starting moment through the historical page record.
7. The apparatus of claim 6, further comprising:
a second execution module configured to execute the target operation for the second page when the first target time period is greater than the predetermined time period.
8. The apparatus of claim 6, further comprising:
the determining module is configured to determine that the difference value between the current time and the updating time in the historical page record is larger than the target page information of the preset time period;
a deletion module configured to delete the target page information.
9. The apparatus according to claim 6, wherein the target operation is an operation of a finger approaching the screen;
the acquisition module includes:
a calculation sub-module configured to calculate a contact timing at which a finger contacts a screen when it is detected that a distance between the finger and the screen is less than a predetermined distance;
a determination submodule configured to determine the contact timing as the termination timing.
10. The apparatus of claim 9, wherein the computation submodule comprises:
a detection submodule configured to acquire a speed, an acceleration, and a distance between the finger and a screen of the mobile terminal;
a first calculation submodule configured to calculate the contact time based on the speed, the acceleration, and the distance.
11. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
after the first page is updated to a second page, detecting target operation aiming at the second page;
in response to the detection of the target operation, acquiring a first target time period, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
when the first target time period is less than or equal to a predetermined time period, executing the target operation aiming at the first page;
the method further comprises the following steps:
after each page is updated, the arrangement sequence of all conversations on the current page and the updating time of the current page are used as page information to be stored in a historical page record;
the obtaining a first target time period in response to detecting the target operation comprises:
in response to detecting the target operation, reading the historical page record, the historical page record comprising: updating time of the page and the arrangement sequence of each dialogue on the corresponding page;
and acquiring the starting time through the historical page record.
12. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of:
after the first page is updated to a second page, detecting target operation aiming at the second page;
in response to the detection of the target operation, acquiring a first target time period, wherein the starting time of the first target time period is the time when the first page is updated to the second page, and the ending time of the first target time period is the time when the target operation is detected;
when the first target time period is less than or equal to a predetermined time period, executing the target operation aiming at the first page;
the method further comprises the following steps:
after each page is updated, the arrangement sequence of all conversations on the current page and the updating time of the current page are used as page information to be stored in a historical page record;
the obtaining a first target time period in response to detecting the target operation comprises:
in response to detecting the target operation, reading the historical page record, the historical page record comprising: updating time of the page and the arrangement sequence of each dialogue on the corresponding page;
and acquiring the starting time through the historical page record.
CN201711112914.7A 2017-11-13 2017-11-13 Method, device and terminal for updating page Active CN107977127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711112914.7A CN107977127B (en) 2017-11-13 2017-11-13 Method, device and terminal for updating page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711112914.7A CN107977127B (en) 2017-11-13 2017-11-13 Method, device and terminal for updating page

Publications (2)

Publication Number Publication Date
CN107977127A CN107977127A (en) 2018-05-01
CN107977127B true CN107977127B (en) 2020-07-10

Family

ID=62013283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711112914.7A Active CN107977127B (en) 2017-11-13 2017-11-13 Method, device and terminal for updating page

Country Status (1)

Country Link
CN (1) CN107977127B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111223477B (en) * 2018-11-23 2023-01-24 珠海格力电器股份有限公司 Method and device for topic upward movement during man-machine interaction
CN109725814A (en) * 2018-12-30 2019-05-07 联想(北京)有限公司 Information processing method, device and electronic equipment
CN113573115B (en) * 2020-04-29 2024-04-26 聚好看科技股份有限公司 Method for determining search characters and display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1152846A (en) * 1997-07-30 1999-02-26 Denso Corp Method and device for generating image, image display device and navigation system
CN103945052A (en) * 2013-01-21 2014-07-23 Lg电子株式会社 Mobile terminal and control method thereof
CN104142777A (en) * 2013-09-22 2014-11-12 腾讯科技(深圳)有限公司 Information displaying method and device
CN106547429A (en) * 2016-10-27 2017-03-29 广州三星通信技术研究有限公司 For the display packing and device of electric terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189596A1 (en) * 2012-12-27 2014-07-03 Kabushiki Kaisha Toshiba Information processing apparatus, screen control program and screen control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1152846A (en) * 1997-07-30 1999-02-26 Denso Corp Method and device for generating image, image display device and navigation system
CN103945052A (en) * 2013-01-21 2014-07-23 Lg电子株式会社 Mobile terminal and control method thereof
CN104142777A (en) * 2013-09-22 2014-11-12 腾讯科技(深圳)有限公司 Information displaying method and device
CN106547429A (en) * 2016-10-27 2017-03-29 广州三星通信技术研究有限公司 For the display packing and device of electric terminal

Also Published As

Publication number Publication date
CN107977127A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
US9942690B2 (en) Method and device for information push
RU2638154C2 (en) Methods and devices for number labeling
US11704001B2 (en) Method and device for displaying web page content
EP3242203A1 (en) Method for operating a display device and display device
US9661133B2 (en) Electronic device and method for extracting incoming/outgoing information and managing contacts
CN104238875A (en) Application corner mark addition method and device
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
CN107370772A (en) Account login method, device and computer-readable recording medium
CN107562349B (en) Method and device for executing processing
CN112905103B (en) False touch processing method and device and storage medium
CN106354504B (en) Message display method and device
EP3260998A1 (en) Method and device for setting profile picture
CN107977127B (en) Method, device and terminal for updating page
CN106027191B (en) Update method, device and the terminal device of time
EP4184506A1 (en) Audio processing
CN107153546B (en) Video playing method and mobile device
EP3176999A1 (en) Method and device for processing information
WO2021017853A1 (en) Method for recommending operation sequence, terminal, and computer readable medium
CN108803892B (en) Method and device for calling third party application program in input method
RU2742605C1 (en) Method and device for touch signal processing and data medium
CN112148148A (en) Touch operation identification method and device, mobile terminal and storage medium
CN109842688B (en) Content recommendation method and device, electronic equipment and storage medium
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN107844257B (en) Information display method, device, terminal and storage medium
CN107241439B (en) Message pushing method and device for H5 page

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