CN110753914A - Information processing method, storage medium and mobile terminal - Google Patents

Information processing method, storage medium and mobile terminal Download PDF

Info

Publication number
CN110753914A
CN110753914A CN201780092198.2A CN201780092198A CN110753914A CN 110753914 A CN110753914 A CN 110753914A CN 201780092198 A CN201780092198 A CN 201780092198A CN 110753914 A CN110753914 A CN 110753914A
Authority
CN
China
Prior art keywords
information
updating
cache
update
instruction
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
CN201780092198.2A
Other languages
Chinese (zh)
Other versions
CN110753914B (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.)
Shenzhen Huantai Technology Co Ltd
Original Assignee
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huantai Technology Co Ltd filed Critical Shenzhen Huantai Technology Co Ltd
Publication of CN110753914A publication Critical patent/CN110753914A/en
Application granted granted Critical
Publication of CN110753914B publication Critical patent/CN110753914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/363Graphics controllers
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/395Arrangements specially adapted for transferring the contents of the bit-mapped memory to the screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling
    • G09G2360/121Frame memory handling using a cache memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Telephone Function (AREA)

Abstract

An information processing method is applicable to a mobile terminal, and is characterized in that the mobile terminal comprises a cache, wherein N pieces of update information corresponding to current display information of the mobile terminal are stored in the cache, the N pieces of update information are first update information to nth update information in sequence from morning to evening according to storage time, and N is a positive integer, and the method comprises the following steps: receiving an updating instruction of the current display information; reading first updating information from the cache according to the updating instruction; and displaying the first updating information.

Description

Information processing method, storage medium and mobile terminal Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information processing method, a storage medium, and a mobile terminal.
Background
When displaying information on the network, the terminal obtains information to be displayed on the terminal screen from the network server. Since the space of the display screen of the terminal is limited, the information to be displayed cannot be displayed in a whole at one time, and therefore, the display needs to be updated in the form of a list or a page.
In the conventional method, when the information displayed on the page is updated, for example, the page display is refreshed by pulling up or pulling down, at this time, the terminal may obtain the information to be updated and displayed from the network server, and after obtaining the updated information, the updated information is displayed on the interface, which is inefficient.
Disclosure of Invention
According to various embodiments disclosed herein, an information processing method, a storage medium, and a mobile terminal are provided.
An information processing method is applicable to a mobile terminal, and is characterized in that the mobile terminal comprises a cache, wherein N pieces of update information corresponding to current display information of the mobile terminal are stored in the cache, the N pieces of update information are first update information to nth update information in sequence from morning to evening according to storage time, and N is a positive integer, and the method comprises the following steps:
receiving an updating instruction of the current display information;
reading first updating information from the cache according to the updating instruction; and
and displaying the first updating information.
One or more non-transitory computer-readable storage media embodying computer-readable instructions that, when executed by one or more processors, cause the processors to perform the steps of:
receiving an updating instruction of the current display information;
reading first updating information from a preset cache according to the updating instruction; n sections of updating information corresponding to the current display information of the mobile terminal are stored in the cache, the N sections of updating information are sequentially from first updating information to Nth updating information according to the sequence from the morning to the evening of the storage time, and N is a positive integer; and
and displaying the first updating information.
A mobile terminal comprises a memory and a processor, wherein the memory comprises a cache, N pieces of updating information corresponding to current display information of the mobile terminal are stored in the cache, the N pieces of updating information are first updating information to Nth updating information in sequence from morning to evening according to storage time, N is a positive integer, a computer readable instruction is stored in the memory, and when the instruction is executed by the processor, the processor executes the following steps:
receiving an updating instruction of the current display information;
reading first updating information from the cache according to the updating instruction; and
and displaying the first updating information.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the application will be apparent from the description and drawings, and from the claims.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram of an application environment of an information processing method in one embodiment;
FIG. 2 is a diagram illustrating an internal structure of a mobile terminal according to an embodiment;
FIG. 3 is a flow chart illustrating a method of processing information in one embodiment;
FIG. 4 is a flow diagram that illustrates processing of the first display of information, according to one embodiment;
FIG. 5 is a flowchart illustrating an information processing method according to another embodiment;
fig. 6 is a block diagram of a portion of the structure of a handset associated with a mobile terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first amount of information can be termed a second amount of information, and similarly, the second amount of information can be termed the first amount of information, without departing from the scope of the present application. Both the first information amount and the second information amount are information amounts, but they are not the same information amount.
Fig. 1 is a schematic diagram of an application environment of an information processing method in one embodiment. Referring to fig. 1, a mobile terminal 110 may be in connected communication with a web server 120 through a network. The mobile terminal 110 may include, but is not limited to, a mobile phone, a tablet computer, a portable notebook, or an intelligent wearable device, which may display information; the web server 120 is a device that can provide display information to the mobile terminal. Mobile terminal 110 may obtain information to be displayed from web server 120, and display the information according to the information display instruction, and may update the currently displayed information according to the update instruction for the displayed information.
In one embodiment, the internal structure of the mobile terminal 120 is shown in FIG. 2, and the terminal includes a processor, memory, network interface, and display screen connected via a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole mobile terminal. The memory is used for storing data, programs, etc., such as information to be displayed and being displayed, etc. The memory also stores at least one computer readable instruction which can be executed by the processor to realize the information processing method suitable for the mobile terminal provided by the embodiment of the application. The Memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random-Access-Memory (RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions. The computer readable instructions can be executed by a processor to implement an information processing method provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer-readable instructions in the non-volatile storage medium. The network interface may be an ethernet card or a wireless network card, etc. for communicating with an external device. The display screen may be a touch screen, such as a capacitive screen or an electronic screen, and the corresponding instruction may be generated by receiving a click operation applied to a control displayed on the touch screen.
In one embodiment, as shown in FIG. 3, an information processing method is provided. The present embodiment mainly takes the case where the information processing method is applied to the mobile terminal 110 shown in fig. 1 as an example. The mobile terminal comprises a cache, wherein N pieces of updating information corresponding to current display information of the mobile terminal are stored in the cache, the N pieces of updating information are first updating information to Nth updating information in sequence from morning to evening according to the storage time, and N is a positive integer.
The first to nth update information are respectively the next to next update information with respect to the current display information, that is, respectively indicate the next to next update information located behind the current information, that is, indicate information that needs to be displayed next after the corresponding information is displayed.
In one embodiment, the method comprises:
step 302, receiving an update instruction of the current display information.
In this embodiment, the currently displayed information is information being displayed on an interface of the mobile terminal. The information may include one or more forms of visual data, such as text, pictures, or video. The update instruction may be an instruction triggered automatically, for example, the update instruction may be triggered automatically according to a preset frequency after information is displayed on the interface. But also update instructions triggered according to detected user's update operations. The mobile terminal can provide an update button for triggering the update instruction, and when the click operation of the update button is detected, the update instruction of the current display information is triggered.
Optionally, the mobile terminal may further preset a sliding gesture for triggering the update instruction, or update voice information, and when it is detected that the update operation performed on the display interface matches the sliding gesture, the update instruction is triggered. And a voice receiving device can be called to receive the corresponding voice information, and when the voice information is detected to be matched with the updating voice information, the updating instruction can be triggered.
Step 304, reading the first updating information from a preset cache according to the updating instruction.
In this embodiment, before receiving the update instruction of the current display information, the mobile terminal caches first update information corresponding to the current display information. The first update information described in this application indicates adjacent update information that is located after the current display information, that is, indicates information that needs to be displayed next after the corresponding current display information is displayed. For example, the data segment 1 to the data segment N exist in order from the front to the back in the display order. If the current display information is the data segment D, the first update information of the data segment D is the data segment D +1, and the second update information is the data segment D + 2. The mobile terminal can read the first updating information from the pre-cached information.
Step 306, displaying the first updated information.
In this embodiment, the mobile terminal may display the first update information. Optionally, the first updated information is displayed after the current display information, so as to update the display information. And the interface display information which displays the first updating information in the current interface is used as new current display information, so that the next time the display is updated, the display can be updated based on the new current display information. It is understood that the new current display information may include a part of the information in the last current display information (i.e., the current display information in step 302) in addition to the first updated information. After the first update information is displayed, the second update information to the nth update information corresponding to step S302 are the first update information to the N-1 th update information of the new current display information, respectively.
According to the information processing method provided by the embodiment of the application, the first information to the Nth information of the currently displayed information are cached in advance before the update instruction is received, and the first update information can be read from the cache to be updated and displayed after the update instruction of the currently displayed information is received. Therefore, the first updating information can be updated and displayed without waiting for downloading from the network server, and the efficiency of information updating and displaying is improved.
In one embodiment, as shown in fig. 4, the information processing method further includes a first displaying information processing procedure, which may be performed before step 302, and includes:
step 402, receiving an information display instruction.
In this embodiment, the display instruction is an instruction to start displaying information to be viewed. For example, the information to be browsed may be information on a corresponding web page. The mobile terminal can provide a display button for triggering the display instruction, and when the click operation of the display button is detected, the update instruction is triggered. And a sliding gesture for triggering the display instruction can be preset, or voice information is displayed, and when the display operation acting on the display interface is detected to be matched with the sliding gesture, the display instruction is triggered. And a voice receiving device can be called to receive corresponding voice information, and when the voice information is detected to be matched with the display voice information, the display instruction can be triggered.
And step 404, acquiring display information for current display and N pieces of updating information corresponding to the display information from the network server according to the information display instruction.
In this embodiment, the mobile terminal may obtain, according to the information display instruction, display information for performing current display and N pieces of update information corresponding to the display information from the network server. The N pieces of updating information are first updating information to Nth updating information in sequence from morning to evening according to the storage time, and N is a positive integer and can be an appropriate numerical value set at will. By setting the size of N, the data amount of the cached update data can be controlled. For example, when N is 1, the N pieces of update information are only the first update information.
Step 406, displaying the first information.
And step 408, storing the N pieces of updating information corresponding to the display information into a cache.
In this embodiment, after acquiring the current information, the mobile terminal may display the current information on the interface for the user to read, and store the N pieces of update information corresponding to the display information in a preset cache, so that after receiving an update instruction subsequently, a part or all of the N pieces of update information are read from the cache and displayed.
In the embodiment, the display information for direct display and the N segments of update information are acquired according to the display instruction, the N segments of update information are cached, and the N segments of update information are downloaded in advance before the update of the display information is received, so that the situation that the first update information needs to be acquired later in the process of more display can be avoided, and the efficiency of the subsequent updated display is improved.
In one embodiment, after step 306, further comprising: the first updated information is deleted from the cache.
The mobile terminal can delete the read update information in the cache to reduce the occupation of the cache space. Optionally, the next acquired update data may be overwritten to the storage space of the first update information in the cache, so as to delete the first update information.
In one embodiment, after step 306, further comprising: and acquiring the (N + 1) th updating information from the network server to the cache, wherein the (N + 1) th updating information is used for representing the latest updating information corresponding to the current display information.
The mobile terminal can detect whether the information to be displayed is completely acquired according to the updating instruction, if so, the acquisition can be stopped, otherwise, the first updating information (namely, the N +1 updating information) of the updating information can be acquired from the network server according to the last cached updating information (namely, the N updating information), so that the N +1 updating information can be directly read from the cache for displaying during subsequent updating.
In one embodiment, before obtaining the N +1 th update information from the network server into the cache, the method further includes: detecting whether a first information quantity of the residual updating information in the cache is smaller than an information quantity threshold value; and when the number of the updates is smaller than the information quantity threshold value, the step of acquiring the (N + 1) th update information from the network server into the cache is executed.
In this embodiment, the remaining update information indicates update information that has not been read and displayed and is saved in the cache. The information amount represents the size of the space required by the information on the display interface. The first information amount represents the size of the space occupied on the interface when the remaining update information is displayed on the interface. The threshold of the information amount can be any preset threshold, and the threshold can be a fixed threshold, and can also be a dynamically changing threshold.
And when the mobile terminal detects that the residual updating information changes, the mobile terminal can update the information quantity of the changed residual updating information, detect the information quantity and the information quantity threshold value, and when the information quantity is judged to be smaller than the information quantity threshold value, the mobile terminal can execute the step of acquiring the (N + 1) th updating information from the network server into the cache. By setting the information quantity threshold, the information quantity of the cached information can be controlled, and the occupation of the cache space is reduced.
In one embodiment, the method further comprises: acquiring a second information quantity of information which can be displayed on the interface; and determining an information quantity threshold according to the second information quantity.
In this embodiment, the second information amount indicates the information amount of the display information when the display information occupies the display space for displaying the information on the interface. The display space may be the whole space on the interface, or may also be a partial space. The display space may be the entire space on the display interface, such as when a full screen display is performed. When not displayed full screen, there may be space taken up by the title bar, status bar, etc. removed.
The threshold of the amount of information may be a threshold determined according to the second amount of information, and may be the same as the second amount of information, or may be any value such as half or twice the second amount of information. By determining the information amount threshold according to the second information amount, the remaining updated information in the cache can be made to match the display space of the information.
In one embodiment, step 302 includes: receiving an updating instruction of current display information triggered by sliding operation acting on a display interface; after step 302, further comprising: an information amount threshold is determined according to the sliding operation.
In this embodiment, the trigger action for triggering the update instruction may be a sliding operation action. The mobile terminal can detect the sliding operation acted on the display interface, and when the sliding operation is matched with the preset operation, an updating instruction of the current display information is triggered. Such as an up or down slide operation. The mobile terminal may determine the information amount threshold according to the sliding operation,
in one embodiment, the traffic threshold may be determined based on a detected sliding trajectory and/or sliding speed of the sliding operation. When the sliding track is larger, the sliding speed is higher, and the corresponding information amount threshold value is larger. Optionally, the mobile terminal may preset a calculation model of the information amount threshold, and take factors such as a detected sliding trajectory and a detected sliding speed of the sliding operation as inputs of the calculation model, and operate the calculation model, and take an output value obtained by the operation as the information amount threshold.
In one embodiment, the second information amount may also be used as an input of the calculation model, and a corresponding information amount threshold value may be calculated according to the sliding trajectory, the sliding speed, and the second information amount.
In one embodiment, step 302 includes: receiving an updating instruction of current display information triggered by sliding operation acting on a display interface; after step 302, further comprising: determining a third information amount of the information needing to be updated and displayed according to the sliding operation; step 304 includes: and reading the first updating information of the third information amount from the cache according to the updating instruction.
In one embodiment, the data size of each piece of update information is not necessarily the same. Wherein the data amount of the first update data may be determined according to a specific sliding operation. Alternatively, the third information amount may be determined according to the sliding track and/or the sliding speed, and similarly, when the sliding track is larger and the sliding speed is faster, the information amount indicating that the display needs to be updated is larger, that is, the corresponding third information amount is larger. The mobile terminal can also preset a calculation model of a third information quantity, take factors such as the detected sliding track and sliding speed of the sliding operation as the input of the calculation model of the third information quantity, operate the calculation model, and take the output value obtained by operation as the threshold value of the information quantity.
After the third information amount is calculated, the first updating information of the third information amount can be read from the cache, and the first updating information is displayed after the current display information, so that the first updating information with different information amounts can be updated correspondingly according to different sliding operations.
In one embodiment, step 304 includes: acquiring an update mark for marking the latest display information according to the update instruction; reading first updating information from a preset cache according to the updating mark; after step 306, further comprising: the information marked by the update mark is updated.
In this embodiment, the mobile terminal is preset with an update tag, and the update tag is used for tagging information displayed latest on the interface. According to the update mark, the information currently displayed on the interface can be obtained, so that the information displayed on the interface can be determined to be updated.
The mobile terminal can determine the marked display information according to the update mark, and read the update information of the display information, namely the first update information, from the preset cache. After the first updating information is updated and displayed, the information marked by the updating mark is further updated, namely the information marked by the updating mark is modified into the first updating information, so that when the display information is updated next time, the new updating information is determined according to the updated updating mark.
In this embodiment, by setting the update flag, the information currently displayed on the interface can be obtained, so that the efficiency of determining the first update information to be displayed on the interface can be improved.
In one embodiment, before obtaining the N +1 th update information from the network server into the cache, the method further includes: obtaining a cache mark for marking the latest cached information; acquiring the N +1 th updating information from the network server to the cache, wherein the acquiring comprises the following steps: acquiring the (N + 1) th updating information from the network server to the cache according to the cache mark; after the N +1 th update information is obtained from the network server and is stored in the cache, the method further includes: the information marked by the cache mark is updated.
In this embodiment, a cache tag is also preset in the mobile terminal, and the cache tag is used for tagging the latest information cached in the cache. According to the cache mark, the cached latest information can be obtained, so that the information which needs to be acquired from the network without service next time can be determined.
The mobile terminal can determine the information in the marked cache, namely the last cached information, according to the cache mark. And according to the determined information, acquiring the updated information relative to the last cached information, namely the N +1 th updated information from the network server. After the acquisition is finished, the information marked by the cache mark is further updated, namely the information marked by the cache mark is modified into the (N + 1) th updating information, so that when the display information is updated next time, the new updating information is determined according to the updated cache mark.
In this embodiment, by setting the cache flag, the update information that needs to be acquired from the network server can be obtained, and the accuracy of determining the update information can be improved.
In one embodiment, as shown in FIG. 5, another method of updating a display is provided, the method comprising:
step 502, receiving an update instruction of the current display information triggered by the sliding operation acting on the display interface.
In one embodiment, the display information is in the form of a list. I.e. the information may be visual data displayed in the form of a list. For example, listview or recyclerview in the android operating system. The information displayed in the form of a list needs to be retrieved from the network server segment by segment.
The mobile terminal can obtain a sliding track and a sliding speed of the sliding operation, calculate a corresponding sliding amplitude and a corresponding sliding position according to the obtained sliding track, and when the sliding amplitude, the sliding position and the sliding speed are all in the range of the sliding amplitude, the sliding position and the sliding speed of the corresponding preset sliding operation, judge that the sliding operation is an operation for triggering an update instruction, and can trigger an update instruction of the current display information.
And step 504, determining a third information amount of the information needing to be updated and displayed according to the sliding operation.
Alternatively, the mobile terminal may determine the third information amount according to the sliding magnitude and the sliding speed described above. The calculated third information amount is larger as the slip magnitude and the slip speed are larger. The mobile terminal can also preset a calculation model of a third information quantity, take factors such as the detected sliding amplitude and sliding speed of the sliding operation as the input of the calculation model of the third information quantity, operate the calculation model, and take the output value obtained by operation as the threshold value of the information quantity. In one embodiment, the second information amount may also be used as an input of the calculation model of the third information amount, and the corresponding third information amount may be calculated according to the sliding amplitude, the sliding speed, and the second information amount.
And step 506, acquiring an update mark for marking the latest display information according to the update instruction.
In this embodiment, the update mark may mark the latest display information, and according to the update mark, the latest update information currently displayed on the interface may be determined.
And step 508, reading the first updating information of the third information amount from the preset cache according to the updating mark.
The mobile terminal can acquire the update mark and identify the information marked by the update mark, so that the latest information displayed on the current interface, namely the current display information can be determined. And according to the calculated third information quantity, the updating information occupying the third information quantity and positioned after the current information can be extracted from the cache, namely the first updating information.
And step 510, displaying the first updating information, taking the updated and displayed information as new current display information, and updating the information marked by the updating mark.
The mobile terminal can update and display the first updating information read from the cache. Optionally, the mobile terminal may set a corresponding storage space, where the storage space is used to specially store the displayed information, and after receiving the update instruction, may read the first update information assignment in the cache and the storage space to perform update display. And further changing the update mark into the first update information, namely indicating that the information after updated display is at the position of the first update information.
At step 512, a cache tag for tagging newly cached information is obtained.
In this embodiment, the mobile terminal may also identify the latest cached information marked by the cache mark, so as to obtain the latest information that has been currently acquired from the network server, that is, the last cached information.
And 514, deleting the first updating information from the cache, and acquiring the N +1 th updating information from the network server to the cache.
In this embodiment, the mobile terminal includes a cache, where N pieces of update information corresponding to current display information of the mobile terminal are stored in the cache, the N pieces of update information are first update information to nth update information in sequence from the morning to the evening according to a storage time, and N is a positive integer. The mobile terminal can delete the first updating information in the cache, download the N +1 th updating information from the server, and store the N +1 th updating information in the cache. Optionally, the mobile terminal may obtain, from the network server, the N +1 th updated information of the fourth information amount relative to the last cached information according to the cache flag. And the fourth information amount is preset information amount of information downloaded from the network server. The fourth information quantity may be a fixed value or a value determined according to the second information quantity. After the downloading is finished, the information marked by the cache mark is updated to the N +1 th updated information downloaded at this time, so that the specific information needing to be downloaded can be obtained when the information is downloaded from the network server next time.
According to the information processing method, the first updating information is cached in advance, so that after the updating instruction is received, the first updating information can be directly read from the cache to be displayed, the first updating information does not need to wait for downloading from the network server, and the information updating and displaying efficiency is improved.
In one embodiment, a computer-readable storage medium is also provided. One or more non-transitory computer-readable storage media containing computer-readable instructions that, when executed by one or more processors, cause the processors to perform the steps of the information processing methods described in the embodiments above.
In one embodiment, a mobile terminal is also provided. A mobile terminal includes a memory and a processor, wherein the memory stores computer readable instructions, and the instructions, when executed by the processor, cause the processor to perform the steps of the information processing method described in the above embodiments.
The embodiment of the application also provides a computer readable instruction product. A computer-readable instruction product containing instructions which, when run on a computer, cause the computer to perform the information processing method described in the embodiments above.
The embodiment of the application also provides the mobile terminal. As shown in fig. 6, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 6 is a block diagram of a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present application. Referring to fig. 6, the handset includes: radio Frequency (RF) circuit 610, memory 620, input unit 630, display unit 640, sensor 650, audio circuit 660, wireless fidelity (WiFi) module 670, processor 680, and power supply 690. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 610 may be used for receiving and transmitting signals during information transmission or communication, and may receive downlink information of the base station and then process the downlink information to the processor 680; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 610 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 620 may be used to store software programs and modules, and the processor 680 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 620. The memory 620 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 600. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, which may also be referred to as a touch screen, may collect touch operations performed by a user on or near the touch panel 631 (e.g., operations performed by the user on or near the touch panel 631 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 680, and can receive and execute commands sent by the processor 680. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 630 may include other input devices 632 in addition to the touch panel 631. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 640 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 640 may include a display panel 641. In one embodiment, the Display panel 641 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 631 can cover the display panel 641, and when the touch panel 631 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 680 to determine the type of the touch event, and then the processor 680 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in fig. 6, the touch panel 631 and the display panel 641 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 631 and the display panel 641 may be integrated to implement the input and output functions of the mobile phone.
The handset 600 may also include at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 641 and/or the backlight when the mobile phone is moved to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuit 660, speaker 661, and microphone 662 can provide an audio interface between a user and a cell phone. The audio circuit 660 may transmit the electrical signal converted from the received audio data to the speaker 661, and convert the electrical signal into an audio signal through the speaker 661 for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is received by the audio circuit 660 and converted into audio data, which is then processed by the audio data output processor 680 and then transmitted to another mobile phone via the RF circuit 610, or the audio data is output to the memory 620 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 670, and provides wireless broadband Internet access for the user. Although fig. 6 shows WiFi module 670, it is understood that it is not an essential component of handset 600 and may be omitted as desired.
The processor 680 is a control center of the mobile phone, and connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory 620, thereby performing overall monitoring of the mobile phone. In one embodiment, processor 680 may include one or more processing units. In one embodiment, processor 680 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 680.
The handset 600 also includes a power supply 690 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 680 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In one embodiment, the handset 600 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, the mobile phone includes a processor that implements the information processing method described above when executing computer readable instructions stored on a memory.
It will be understood by those of ordinary skill in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer readable instructions, which can be stored in a non-volatile computer readable storage medium, and when executed, can include processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (20)

  1. An information processing method is applicable to a mobile terminal, and is characterized in that the mobile terminal comprises a cache, wherein N pieces of update information corresponding to current display information of the mobile terminal are stored in the cache, the N pieces of update information are first update information to nth update information in sequence from morning to evening according to storage time, and N is a positive integer, and the method comprises the following steps:
    receiving an updating instruction of the current display information;
    reading first updating information from the cache according to the updating instruction; and
    and displaying the first updating information.
  2. The method of claim 1, further comprising, prior to said receiving an update instruction for current display information:
    receiving an information display instruction;
    acquiring display information used for current display and N sections of updating information corresponding to the display information from a network server according to the information display instruction;
    displaying the display information; and
    and storing the N sections of updating information corresponding to the display information into a cache.
  3. The method of claim 1, further comprising, after displaying the first updated information:
    deleting the first updated information from the cache.
  4. The method of claim 1, further comprising, after displaying the first updated information:
    and acquiring the (N + 1) th updating information from the network server to the cache, wherein the (N + 1) th updating information is used for representing the latest updating information corresponding to the current display information.
  5. The method of claim 4, wherein before the obtaining the N +1 th update information from the network server into the cache, the method further comprises:
    detecting whether a first information quantity of the update information which is not displayed in the cache is smaller than an information quantity threshold value;
    and when the number of the updates is smaller than the information quantity threshold value, the step of acquiring the (N + 1) th update information from the network server into the cache is executed.
  6. The method of claim 5, further comprising:
    acquiring a second information quantity of information which can be displayed on the interface;
    and determining the information quantity threshold value according to the second information quantity.
  7. The method of claim 5, wherein receiving an update instruction for the currently displayed information comprises:
    receiving an updating instruction of current display information triggered by sliding operation acting on a display interface;
    after the receiving of the update instruction of the current display information, the method further includes:
    and determining the information amount threshold according to the sliding operation.
  8. The method of claim 1, wherein receiving an update instruction for current display information comprises:
    receiving an updating instruction of current display information triggered by sliding operation acting on a display interface;
    after the receiving of the update instruction of the current display information, the method further includes:
    determining a third information amount of the information needing to be updated and displayed according to the sliding operation;
    the reading of the first update information from the cache according to the update instruction includes:
    and reading the first updating information of the third information amount from the cache according to the updating instruction.
  9. The method of claim 1, wherein reading the first update information from the cache according to the update instruction comprises:
    acquiring an update mark for marking the latest display information according to the update instruction; and
    reading first updating information from the cache according to the updating instruction;
    after the displaying the first updated information, further comprising:
    and updating the information marked by the update mark.
  10. The method according to claim 4, further comprising, before said obtaining the N +1 th update information from the network server into the cache:
    obtaining a cache mark for marking the latest cached information;
    the obtaining of the N +1 th update information from the network server into the cache includes:
    acquiring the (N + 1) th updating information from the network server to the cache according to the cache mark;
    after the N +1 th update information is obtained from the network server and is stored in the cache, the method further includes:
    and updating the information marked by the cache mark.
  11. The method of claim 1, wherein the display information is in the form of a list.
  12. One or more non-transitory computer-readable storage media embodying computer-readable instructions that, when executed by one or more processors, cause the processors to perform the steps of:
    receiving an updating instruction of the current display information;
    reading first updating information from a preset cache according to the updating instruction; n sections of updating information corresponding to the current display information of the mobile terminal are stored in the cache, the N sections of updating information are sequentially from first updating information to Nth updating information according to the sequence from the morning to the evening of the storage time, and N is a positive integer; and
    and displaying the first updating information.
  13. The readable storage medium of claim 12, wherein the computer readable instructions, when executed by one or more processors, further cause the processors to perform the steps of:
    receiving an information display instruction;
    acquiring display information used for current display and N sections of updating information corresponding to the display information from a network server according to the information display instruction;
    displaying the display information; and
    and storing the N sections of updating information corresponding to the display information into a cache.
  14. The readable storage medium of claim 10, wherein the computer readable instructions, when executed by one or more processors, further cause the processors to perform the steps of:
    deleting the first updated information from the cache.
  15. The readable storage medium of claim 10, wherein the computer readable instructions, when executed by one or more processors, further cause the processors to perform the steps of:
    and acquiring the (N + 1) th updating information from the network server to the cache, wherein the (N + 1) th updating information is used for representing the latest updating information corresponding to the current display information.
  16. A mobile terminal comprises a memory and a processor, wherein the memory comprises a cache, N pieces of updating information corresponding to current display information of the mobile terminal are stored in the cache, the N pieces of updating information are first updating information to Nth updating information in sequence from morning to evening according to storage time, N is a positive integer, a computer readable instruction is stored in the memory, and when the instruction is executed by the processor, the processor executes the following steps:
    receiving an updating instruction of the current display information;
    reading first updating information from the cache according to the updating instruction; and
    and displaying the first updating information.
  17. The mobile terminal of claim 16, wherein the instructions, when executed by the processor, further cause the processor to:
    receiving an information display instruction;
    acquiring display information used for current display and N sections of updating information corresponding to the display information from a network server according to the information display instruction;
    displaying the display information; and
    and storing the N sections of updating information corresponding to the display information into a cache.
  18. The mobile terminal of claim 16, wherein the instructions, when executed by the processor, further cause the processor to:
    deleting the first updated information from the cache.
  19. The mobile terminal of claim 16, wherein the instructions, when executed by the processor, further cause the processor to:
    and acquiring the (N + 1) th updating information from the network server to the cache, wherein the (N + 1) th updating information is used for representing the latest updating information corresponding to the current display information.
  20. The mobile terminal of claim 19, wherein the instructions, when executed by the processor, further cause the processor to:
    detecting whether a first information quantity of the update information which is not displayed in the cache is smaller than an information quantity threshold value;
    and when the number of the updates is smaller than the information quantity threshold value, the step of acquiring the (N + 1) th update information from the network server into the cache is executed.
CN201780092198.2A 2017-10-31 2017-10-31 Information processing method, storage medium and mobile terminal Active CN110753914B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/108516 WO2019084753A1 (en) 2017-10-31 2017-10-31 Information processing method, storage medium, and mobile terminal

Publications (2)

Publication Number Publication Date
CN110753914A true CN110753914A (en) 2020-02-04
CN110753914B CN110753914B (en) 2024-04-12

Family

ID=66331188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780092198.2A Active CN110753914B (en) 2017-10-31 2017-10-31 Information processing method, storage medium and mobile terminal

Country Status (2)

Country Link
CN (1) CN110753914B (en)
WO (1) WO2019084753A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597853B (en) * 2019-07-31 2023-06-02 深圳市元征科技股份有限公司 Data stream reading method, vehicle-mounted equipment and storage medium
CN111417028B (en) * 2020-03-13 2023-09-01 腾讯科技(深圳)有限公司 Information processing method, information processing device, storage medium and electronic equipment
CN114048223A (en) * 2021-11-26 2022-02-15 武汉联影生命科学仪器有限公司 Data reading and writing method and device, electronic equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599001A (en) * 2009-07-13 2009-12-09 青岛海信移动通信技术股份有限公司 Update method for touch-screen display interface and multimedia electronic equipment
US20140122638A1 (en) * 2011-07-08 2014-05-01 Tencent Technology (Shenzhen) Company Limited Webpage Browsing Method And Device
CN106599146A (en) * 2016-12-06 2017-04-26 腾讯科技(深圳)有限公司 Cache page processing method and device and cache page update request processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404458B (en) * 2014-09-10 2021-02-05 腾讯科技(深圳)有限公司 Webpage content updating method and device
US9934303B2 (en) * 2016-04-25 2018-04-03 Dropbox, Inc. Storage constrained synchronization engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599001A (en) * 2009-07-13 2009-12-09 青岛海信移动通信技术股份有限公司 Update method for touch-screen display interface and multimedia electronic equipment
US20140122638A1 (en) * 2011-07-08 2014-05-01 Tencent Technology (Shenzhen) Company Limited Webpage Browsing Method And Device
CN106599146A (en) * 2016-12-06 2017-04-26 腾讯科技(深圳)有限公司 Cache page processing method and device and cache page update request processing method and device

Also Published As

Publication number Publication date
CN110753914B (en) 2024-04-12
WO2019084753A1 (en) 2019-05-09

Similar Documents

Publication Publication Date Title
CN106775637B (en) Page display method and device for application program
CN107679559B (en) Image processing method, image processing device, computer-readable storage medium and mobile terminal
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN108984066B (en) Application icon display method and mobile terminal
CN109445917B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN108241703B (en) Webpage data transmission method and device
CN112703714A (en) Application program processing method and device, computer equipment and computer readable storage medium
CN108549698B (en) File processing method and device, mobile terminal and computer readable storage medium
CN110569078B (en) Method and device for preloading webpage-level program
CN106951492B (en) File searching method and device and electronic equipment
CN106326489B (en) Method and device for updating network resources
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN108509788B (en) Information sharing method and device, computer readable storage medium and terminal
CN110753914B (en) Information processing method, storage medium and mobile terminal
CN108228357B (en) Memory cleaning method and mobile terminal
CN107908527B (en) Application icon display method and device
CN106713627B (en) Method and device for pushing message in notification bar and mobile terminal
CN112445967B (en) Information pushing method and device, readable storage medium and information pushing system
CN108881969B (en) Method and device for drawing bullet screen and mobile terminal
CN108513005B (en) Contact person information processing method and device, electronic equipment and storage medium
CN114640739A (en) Application pushing method, intelligent terminal and storage medium
CN110767950B (en) Charging method, charging device, terminal equipment and computer readable storage medium
CN104461273A (en) Information displaying method and terminal device
CN109388487B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN107346347B (en) Webpage table display method and device

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