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

Information processing method, storage medium and mobile terminal Download PDF

Info

Publication number
CN110753914B
CN110753914B CN201780092198.2A CN201780092198A CN110753914B CN 110753914 B CN110753914 B CN 110753914B CN 201780092198 A CN201780092198 A CN 201780092198A CN 110753914 B CN110753914 B CN 110753914B
Authority
CN
China
Prior art keywords
information
update
cache
display
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.)
Active
Application number
CN201780092198.2A
Other languages
Chinese (zh)
Other versions
CN110753914A (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

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

The information processing method is suitable for a mobile terminal, and is characterized in that the mobile terminal comprises a cache, N sections of update information corresponding to current display information of the mobile terminal are stored in the cache, the N sections of update information are sequentially from first update information to N update information according to the sequence from the early to the late of the storage time, and N is a positive integer, and the method comprises the following steps: receiving an update instruction for current display information; reading first update information from the cache according to the update instruction; and displaying the first update information.

Description

Information processing method, storage medium and mobile terminal
Technical Field
The present invention 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 information on the network is displayed on the network, the terminal acquires information to be displayed on the screen of the terminal from the network server. Since the display screen space of the terminal is limited, the information which cannot be displayed is displayed all at once, and thus update display in the form of a list or a page is required.
In the conventional method, when updating the information displayed on the page, for example, the page is refreshed by pulling up or pulling down, at this time, the terminal will acquire the information to be updated and displayed from the web server, and after acquiring the updated information, the updated information is displayed on the interface.
Disclosure of Invention
According to various embodiments disclosed herein, an information processing method, a storage medium, and a mobile terminal are provided.
The information processing method is suitable for a mobile terminal, and is characterized in that the mobile terminal comprises a cache, N sections of update information corresponding to current display information of the mobile terminal are stored in the cache, the N sections of update information are sequentially from first update information to N update information according to the sequence from the early to the late of the storage time, and N is a positive integer, and the method comprises the following steps:
receiving an update instruction for current display information;
reading first update information from the cache according to the update instruction; and
And displaying the first updated information.
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:
receiving an update instruction for current display information;
reading first update information from a preset cache according to the update 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 the first updating information to the N updating information according to the sequence from the early to the late of the storage time, and N is a positive integer; and
And displaying the first updated information.
The mobile terminal comprises a memory and a processor, wherein the memory comprises a buffer memory, N sections of update information corresponding to current display information of the mobile terminal are stored in the buffer memory, the N sections of update information are sequentially from first update information to N update information according to the sequence from the early to the late of the storage time, N is a positive integer, and computer readable instructions are stored in the memory, and when the instructions are executed by the processor, the processor is caused to execute the following steps:
receiving an update instruction for current display information;
reading first update information from the cache according to the update instruction; and
And displaying the first updated 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 of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram of an application environment for a method of information processing in one embodiment;
FIG. 2 is a schematic diagram of an internal structure of a mobile terminal in one embodiment;
FIG. 3 is a flow chart of a method of processing information in one embodiment;
FIG. 4 is a flow diagram of a process for first displaying information in one embodiment;
FIG. 5 is a flow chart of a method of processing information according to another embodiment;
fig. 6 is a block diagram of a portion of a 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 will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first amount of information may be referred to as a second amount of information, and similarly, a second amount of information may be referred to as a 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 communicate with a network 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 a smart wearable device, etc. capable of displaying information; the web server 120 is a device that can provide display information to mobile terminals. The mobile terminal 110 may obtain information to be displayed from the web server 120, display the information according to an information display instruction, and update the currently displayed information according to an update instruction for the displayed information.
In one embodiment, the internal architecture of the mobile terminal 120 is shown in FIG. 2, which includes a processor, memory, network interface, and display screen coupled via a system bus. Wherein the processor is operative to provide computing and control capabilities supporting operation of the entire mobile terminal. The memory is used to store data, programs, etc., such as information to be displayed and being displayed, etc. The memory also has stored thereon at least one computer readable instruction executable by the processor to implement the information processing method suitable for a mobile terminal provided in the embodiments of the present application. The Memory may include a nonvolatile 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 are executable by a processor for implementing an information processing method provided in the following embodiments. The internal memory provides a cached operating environment for operating system computer readable instructions in a non-volatile storage medium. The network interface may be an ethernet card or a wireless network card, etc. for communicating with external devices. 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 on a control displayed on the touch screen.
In one embodiment, as shown in FIG. 3, an information processing method is provided. The present embodiment will be mainly described by taking an example in which the information processing method is applied to the mobile terminal 110 shown in fig. 1. The mobile terminal comprises a buffer memory, N sections of update information corresponding to the current display information of the mobile terminal are stored in the buffer memory, the N sections of update information are sequentially from the first update information to the N update information according to the sequence from the early to the late of the storage time, and N is a positive integer.
The first update information to the nth update information are respectively the next update information to the next N update information relative to the current display information, that is, respectively represent the next update information to the next N update information which are located after the current information, that is, represent the information which needs to be displayed next after the corresponding information is displayed.
In one embodiment, the method comprises:
step 302, an update instruction for the current display information is received.
In this embodiment, the current display information is information being displayed on the interface of the mobile terminal. The information may include visual data in one or more forms of text, pictures, or video. The update command may be an automatically triggered command, for example, after information is displayed on the interface, the update command may be automatically triggered according to a preset frequency. And may also be an update instruction that is triggered based on a detected user's update operation. The mobile terminal may provide an update button for triggering the update instruction, and when a click operation of the update button is detected, the update instruction for the current display information is triggered.
Optionally, the mobile terminal may further preset a swipe gesture for triggering the update instruction, or update the voice information, and trigger the update instruction when detecting that the update operation acting on the display interface matches the swipe gesture. The voice receiving device can be called to receive the corresponding voice information, and when the voice information is detected to be matched with the updated voice information, the updating instruction can be triggered.
Step 304, reading the first update information from the preset cache according to the update instruction.
In this embodiment, before receiving the update instruction for the current display information, the mobile terminal caches the first update information corresponding to the current display information. The first update information described in the present application all represents adjacent update information located after the current display information, that is, represents information that needs to be displayed next after the corresponding current display information is displayed. For example, there are sequentially data segments 1 to N in the order from front to 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 may read the first updated information from the pre-cached information.
Step 306, first update information is displayed.
In this embodiment, the mobile terminal may display the first update information. Optionally, the first update information is displayed after the current display information, so that the update of the display information is realized. And taking the interface display information displaying the first update information in the current interface as new current display information, so that the next update display can be updated based on the new current display information. It will be appreciated that the new current display information may include, in addition to the first updated information, some of the last current display information (i.e., the current display information in step 302). After the first update information is displayed, the second update information to the nth update information corresponding to the step S302 are the first update information to the nth 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 N information of the current display information are cached in advance before the update instruction is received, and after the update instruction of the current display information is received, the first update information can be read from the cache to update and display. The first updating information can be updated and displayed without waiting for downloading the first updating information from the network server, and the efficiency of information updating and displaying is improved.
In one embodiment, as shown in fig. 4, the above information processing method further includes a process of displaying information for the first time, where the process may be performed before step 302, including:
step 402, an information display instruction is received.
In this embodiment, the display instruction is used to indicate an instruction to start displaying information to be read. For example, the information to be read at this time may be the information on the corresponding web page. The mobile terminal can provide a display button for triggering the display instruction, and trigger an update instruction when a click operation of the display button is detected. The sliding gesture for triggering the display instruction can be preset, or voice information is displayed, and when the display operation acted on the display interface is detected to be matched with the sliding gesture, the display instruction is triggered. The voice receiving device can be called to receive the corresponding voice information, and the display instruction can be triggered when the voice information is detected to be matched with the display voice information.
And step 404, acquiring display information for current display and N sections of update information corresponding to the display information from a 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 sections of updating information sequentially comprise first updating information to N updating information according to the sequence from the early to the late of the storing time, and N is a positive integer and can be any set proper value. 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 sections of updated information corresponding to the display information into a cache.
In this embodiment, after the mobile terminal obtains the current information, the mobile terminal may display the current information on the interface for the user to read, and store N pieces of update information corresponding to the display information in a preset cache, so that after an update instruction is subsequently received, part or all of the N pieces of update information are read from the cache and displayed.
In this embodiment, the display information for direct display and the N pieces of update information thereof are acquired according to the display instruction, and the N pieces of update information are cached, so that the N pieces of update information are downloaded in advance before the update of the display information is received, thereby avoiding the need to wait for the acquisition of the first update information when the display is more displayed later, and improving the efficiency of the subsequent update display.
In one embodiment, after step 306, further comprising: the first update information is deleted from the cache.
The mobile terminal can delete the update information read from the cache so as to reduce the occupation of the cache space. Optionally, the next acquired update data may be overlaid on the storage space of the first update information in the cache, so as to implement deletion of the first update information.
In one embodiment, after step 306, further comprising: and acquiring the (n+1) th update information from the network server, wherein the (n+1) th update information is used for representing the latest update information corresponding to the current display information.
The mobile terminal can detect whether the information to be displayed is completely acquired according to the update instruction, if yes, the acquisition can be stopped, otherwise, the first update information (i.e. the n+1th update information) of the update information can be acquired from the network server according to the last cached update information (i.e. the n+1th update information), so that the n+1th update information can be directly read from the cache for display during subsequent updating.
In one embodiment, before the n+1th update information is obtained from the network server into the cache, the method further includes: detecting whether a first information amount of the remaining update information in the cache is smaller than an information amount threshold; and when the information quantity threshold value is smaller than the information quantity threshold value, executing the process of acquiring the (n+1) th updated information from the network server into the cache.
In this embodiment, the remaining update information indicates update information stored in the cache and not yet read and displayed. The information amount indicates the size of the space required for the information on the display interface. The first amount of information represents the amount of space occupied on the interface when the remaining updated information is displayed on the interface. The information amount threshold value can be any preset threshold value, and the threshold value can be a fixed threshold value or a dynamically-changing threshold value.
When detecting that the residual update information has variation, the mobile terminal can update the information quantity of the varied residual update information, detect the information quantity and the information quantity threshold value, and when judging that the information quantity threshold value is smaller than the information quantity threshold value, can execute the process of acquiring the (n+1) th update 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 the displayable information of the interface; an information amount threshold is determined based on the second information amount.
In this embodiment, the second information amount represents the information amount of the display information when the display information is occupied in the display space for displaying information on the interface. The display space may be the whole space on the interface, or may be a partial space. Such as when a full screen display is performed, the display space may be the entire space on the display interface. When not full screen display, the space occupied by the title bar, status bar, etc. may be removed.
The information amount threshold may be a threshold determined from the second information amount, for example, may be the same as the second information amount, or may be any value of half, or twice the second information amount. By determining the information amount threshold based on the second information amount, the remaining updated information in the cache may be matched to the display space of the information.
In one embodiment, step 302 includes: receiving an update instruction of current display information triggered by sliding operation acting on a display interface; after step 302, further includes: an information amount threshold is determined based on the sliding operation.
In this embodiment, the trigger action for triggering the update instruction may be an action of a sliding operation. The mobile terminal can detect sliding operation on the display interface, and when the sliding operation is matched with a preset operation, an update instruction of the current display information is triggered. Such as a slide up or slide down operation. The mobile terminal may determine an information amount threshold based on the sliding operation,
in one embodiment, the information amount threshold may be determined based on a detected sliding trajectory and/or sliding speed of the sliding operation. The larger the sliding track, the faster the sliding speed, and the larger the corresponding information amount threshold. Optionally, the mobile terminal may preset a calculation model of the information amount threshold, take factors such as a sliding track and a sliding speed of the detected sliding operation as input of the calculation model, operate the calculation model, and take an output value obtained by operation as the information amount threshold.
In one embodiment, the second information amount is also used as an input of the calculation model, and the corresponding information amount threshold value is calculated according to the sliding track, the sliding speed and the second information amount.
In one embodiment, step 302 includes: receiving an update instruction of current display information triggered by sliding operation acting on a display interface; after step 302, further includes: determining a third information amount of information to be updated for display according to the sliding operation; step 304 includes: and reading the first updated information of the third information amount from the cache according to the updated instruction.
In one embodiment, the data amount 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, the sliding speed is higher, the information amount required to be updated and displayed is also larger, that is, the corresponding third information amount is larger. The mobile terminal may further preset a calculation model of a third information amount, take factors such as a sliding track and a sliding speed of the detected sliding operation as input of the calculation model of the third information amount, operate the calculation model, and take an output value obtained by operation as the information amount threshold.
After the third information amount is calculated, the first updated information of the third information amount may be read from the cache and displayed after the current display information, so as to correspondingly update the first updated information of different information amounts 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 update information from a preset cache according to the update mark; after step 306, further comprising: updating information marked by the update marks.
In this embodiment, an update flag is preset in the mobile terminal, where the update flag is used to flag the information that is newly displayed 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 update information is updated and displayed, the information marked by the update mark is further updated, namely, the information marked by the update mark is modified into the first update information, so that when the display information is updated next time, new update information is determined according to the updated update mark.
In this embodiment, by setting the update flag, the information currently displayed on the interface may be obtained, so that the efficiency of determining the first update information to be displayed on the interface may be improved.
In one embodiment, before the n+1th update information is obtained from the network server into the cache, the method further includes: obtaining a cache mark for marking information of the latest cache; obtaining the (n+1) th update information from the network server into the cache, including: acquiring the (n+1) th update information from the network server according to the cache mark to the cache; after the n+1th update information is obtained from the network server, the method further comprises: updating the information marked by the cache marks.
In this embodiment, a cache tag is further preset in the mobile terminal, where the cache tag is used to tag the latest information cached in the cache. The latest information cached can be obtained according to the cache mark, so that the information which needs to be acquired from the network non-service next time can be determined.
The mobile terminal can determine the information in the marked cache, namely the information of the last cache according to the cache mark. And based on the determined information, acquiring update information, i.e., n+1th update information, with respect to the last cached information from the web 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 updated information, so that when the display information is updated next time, new updated information is determined according to the updated cache mark.
In this embodiment, by setting the cache flag, update information that needs to be acquired from the network server can be obtained, and accuracy in 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 current display information triggered by a sliding operation acting on a 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 acquired from the web server segment by segment.
The mobile terminal can acquire the sliding track and the sliding speed of the sliding operation, calculate the corresponding sliding amplitude and sliding position according to the acquired sliding track, and judge the sliding operation as an operation for triggering the updating instruction 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 corresponding to the preset sliding operation, so that the updating instruction of the current display information can be triggered.
Step 504, determining a third information amount of the information to be updated for display according to the sliding operation.
Alternatively, the mobile terminal may determine the third information amount according to the above-described sliding amplitude and sliding speed. The larger the sliding amplitude and the sliding speed, the larger the calculated third information amount. The mobile terminal may further preset a calculation model of a third information amount, take factors such as a sliding amplitude and a sliding speed of the detected sliding operation as input of the calculation model of the third information amount, operate the calculation model, and take an output value obtained by operation as the information amount threshold. In one embodiment, the second information amount is also used as an input of the calculation model of the third information amount, and the corresponding third information amount is calculated according to the sliding amplitude, the sliding speed and the second information amount.
Step 506, obtaining an update mark for marking the latest display information according to the update instruction.
In this embodiment, the update flag may flag the latest display information, and according to the update flag, the latest updated information currently displayed on the interface may be determined.
Step 508, reading the first update information of the third information amount from the preset cache according to the update flag.
The mobile terminal may acquire the update flag, and identify information marked by the update flag, so that the latest information displayed on the current interface, i.e., the current display information, may be determined. And extracting updated information occupying the third information volume after the current information from the cache according to the calculated third information volume, namely the first updated information.
Step 510, displaying the first updated information, using the updated information as new current display information, and updating the information marked by the update mark.
The mobile terminal can update and display the first update 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, the mobile terminal may read the first update information assignment in the cache and the storage space to update and display. And further changes the update flag to the first update information, i.e., indicates that the updated displayed information is at the location of the first update information.
Step 512, a cache tag is obtained for marking the information of the latest cache.
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 obtained from the network server at present, that is, the last cached information.
Step 514, deleting the first update information from the cache, and obtaining the (n+1) th update information from the network server to the cache.
In this embodiment, the mobile terminal includes a buffer, where N pieces of update information corresponding to current display information of the mobile terminal are stored in the buffer, where the N pieces of update information are sequentially from first update information to nth update information according to a sequence from early to late at a storage time, and N is a positive integer. The mobile terminal can delete the first update information in the cache, download the (n+1) th update information from the server, and store the (n+1) th update information in the cache. Alternatively, the mobile terminal may acquire the n+1th update information of the fourth information amount with respect to the information cached last time from the network server according to the above-mentioned cache flag. The fourth information amount is a preset information amount for information downloaded from the network server. The fourth information amount may be a fixed value, or may be a value determined from the second information amount. After the downloading is finished, updating the information marked by the cache mark to be the (n+1) th updated information of the downloading so as to obtain the specific information to be downloaded when the information is downloaded from the network server next time.
According to the information processing method, the first update information is cached in advance, so that after an update instruction is received, the first update information can be directly read from the cache for display, the first update information does not need to be downloaded from the network server, and the efficiency of information update display 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 method described in the above embodiments.
In one embodiment, a mobile terminal is also provided. A mobile terminal includes a memory and a processor, the memory storing computer readable instructions that, when executed by the processor, cause the processor to perform the steps of the information processing method described in the above embodiments.
Embodiments of the present application also provide 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 above embodiments.
The embodiment of the application also provides a mobile terminal. As shown in fig. 6, for convenience of explanation, only the portions related to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method portions 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 an example of the mobile phone:
fig. 6 is a block diagram of a part of a mobile phone related to a mobile terminal according to an embodiment of the present application. Referring to fig. 6, the mobile phone includes: radio Frequency (RF) circuitry 610, memory 620, input unit 630, display unit 640, sensor 650, audio circuitry 660, wireless fidelity (wireless fidelity, wiFi) module 670, processor 680, power supply 690, and the like. It will be appreciated by those skilled in the art that the handset construction shown in fig. 6 is not limiting of the handset and may include more or fewer components than shown, or may combine certain components, or may be arranged in a different arrangement of components.
The RF circuit 610 may be configured to receive and transmit information or receive and transmit signals during a call, and may receive downlink information of a base station and process the downlink information with the processor 680; the uplink data may be transmitted to the base station. Typically, RF circuitry includes, but is not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers (Low Noise Amplifier, LNAs), diplexers, and the like. In addition, the RF circuitry 610 may also communicate with networks and other devices via wireless communications. The wireless communications may use any communication standard or protocol including, but not limited to, global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), email, short message service (Short Messaging Service, SMS), and the like.
The memory 620 may be used to store software programs and modules, and the processor 680 may perform various functional applications and data processing of the cellular phone by executing 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, application programs required for at least one function (such as an application program of a sound playing function, an application program of an image playing function, etc.), and the like; the data storage area may store data (such as audio data, address book, etc.) created according to the use of the cellular phone, etc. In addition, 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 to generate key signal inputs related to user settings and function control of the handset 600. In particular, 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 thereon or thereabout by a user (e.g., operations of the user on the touch panel 631 or thereabout using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a predetermined 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 azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 680 and can receive commands from the processor 680 and execute them. In addition, the touch panel 631 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a 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 (e.g., volume control keys, switch keys, etc.), and the like.
The display unit 640 may be used to display information input by a 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 (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 631 may overlay the display panel 641, and upon detection of a touch operation thereon or thereabout by the touch panel 631, the touch panel 631 is passed to the processor 680 to determine the type of touch event, and the processor 680 then provides a corresponding visual output on the display panel 641 based on the type of touch event. Although in fig. 6, the touch panel 631 and the display panel 641 are two independent components to implement the input and input 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, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that may turn 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 acceleration in all directions, the gravity and the direction can be detected when the motion sensor is static, and the motion sensor can be used for identifying the application of the gesture of a mobile phone (such as switching of a transverse screen and a vertical screen), vibration identification related functions (such as a pedometer and knocking) and the like; in addition, the mobile phone can be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like.
Audio circuitry 660, speaker 661, and microphone 662 may provide an audio interface between a user and the handset. The audio circuit 660 may transmit the received electrical signal converted from audio data to the speaker 661, and the electrical signal is converted into a sound signal by the speaker 661 to be output; on the other hand, the microphone 662 converts the collected sound signals into electrical signals, which are received by the audio circuit 660 and converted into audio data, which are processed by the audio data output processor 680, and then transmitted to another cellular phone via the RF circuit 610, or the audio data are output to the memory 620 for subsequent processing.
WiFi belongs to a short-distance wireless transmission technology, and a mobile phone can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 670, so that wireless broadband Internet access is provided for the user. Although fig. 6 shows a WiFi module 670, it is understood that it is not a necessary component of the handset 600 and may be omitted as desired.
Processor 680 is a control center of the handset, connects various parts of the entire handset using various interfaces and lines, and performs various functions and processes of the handset by running or executing software programs and/or modules stored in memory 620, and invoking data stored in memory 620, thereby performing overall monitoring of the handset. 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 processes operating systems, user interfaces, application programs, and the like; the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 680.
The handset 600 also includes a power supply 690 (e.g., a battery) for powering the various components, which may be logically connected to the processor 680 through a power management system so as to provide charge, discharge, and power management functions via the power management system.
In one embodiment, the handset 600 may also include a camera, bluetooth module, etc.
In an embodiment of the present application, the processor included in the mobile phone implements the information processing method described above when executing computer readable instructions stored on the memory.
Those skilled in the art will appreciate that implementing all or part of the processes of the methods of the embodiments described above may be accomplished by instructing the associated hardware by computer readable instructions stored on a non-transitory computer readable storage medium, which when executed may comprise processes of 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 above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (12)

1. The information processing method is suitable for a mobile terminal, and is characterized in that the mobile terminal comprises a cache, N sections of update information corresponding to current display information of the mobile terminal are stored in the cache, the N sections of update information are sequentially from first update information to N update information according to the sequence from the early to the late of the storage time, and N is a positive integer, and the method comprises the following steps:
receiving an update instruction for current display information;
reading first update information from the cache according to the update instruction;
displaying the first update information;
deleting the first update information from the cache;
detecting whether the first information quantity of the remaining update information in the cache is smaller than an information quantity threshold value or not when detecting that the remaining update information in the cache is changed; the residual update information represents update information which is not read and displayed in the cache; and
When the first information quantity is smaller than the information quantity threshold value, acquiring the (n+1) th updated information from a network server into the cache; the (n+1) th update information is used for representing the latest update information corresponding to the current display information, and each update information in the cache is read out and displayed according to the sequence from the early to the late of the preservation time.
2. The method of claim 1, further comprising, prior to said receiving an update instruction for the currently displayed information:
receiving an information display instruction;
acquiring display information for current display and N sections of update 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 updated information corresponding to the display information into a cache.
3. The method according to claim 1, wherein the method further comprises:
acquiring a second information quantity of the displayable information of the interface;
and determining the information quantity threshold according to the second information quantity.
4. The method of claim 1, wherein receiving an update instruction for the current display information comprises:
receiving an update instruction of current display information triggered by sliding operation acting on a display interface;
After receiving the update instruction of the current display information, the method further comprises the following steps:
and determining the information quantity threshold according to the sliding operation.
5. The method of claim 1, wherein receiving an update instruction for the current display information comprises:
receiving an update instruction of current display information triggered by sliding operation acting on a display interface;
after receiving the update instruction of the current display information, the method further comprises the following steps:
determining a third information amount of information to be updated for display according to the sliding operation;
the reading the first update information from the cache according to the update instruction includes:
and reading the first updated information of the third information amount from the cache according to the updated instruction.
6. The method of claim 1, wherein the 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 update information from the cache according to the update instruction;
after the first update information is displayed, the method further comprises:
updating the information marked by the update marks.
7. The method of claim 1, further comprising, prior to said obtaining the n+1th update information from the web server into the cache:
obtaining a cache mark for marking information of the latest cache;
the obtaining the n+1th update information from the network server to the cache includes:
acquiring the (n+1) th update information from the network server according to the cache mark to the cache;
after the n+1th update information is obtained from the network server, the method further comprises:
and updating the information marked by the cache marks.
8. The method of claim 1, wherein the display information is in the form of a list.
9. 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:
receiving an update instruction for current display information;
reading first update information from a preset cache according to the update 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 the first updating information to the N updating information according to the sequence from the early to the late of the storage time, and N is a positive integer;
Displaying the first update information;
deleting the first update information from the cache;
detecting whether the first information quantity of the remaining update information in the cache is smaller than an information quantity threshold value or not when detecting that the remaining update information in the cache is changed; the residual update information represents update information which is not read and displayed in the cache; and
When the first information quantity is smaller than the information quantity threshold value, acquiring the (n+1) th updated information from a network server into the cache; the (n+1) th update information is used for representing the latest update information corresponding to the current display information, and each update information in the cache is read out and displayed according to the sequence from the early to the late of the preservation time.
10. The readable storage medium of claim 9, 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 for current display and N sections of update 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 updated information corresponding to the display information into a cache.
11. The mobile terminal comprises a memory and a processor, wherein the memory comprises a buffer memory, N sections of update information corresponding to current display information of the mobile terminal are stored in the buffer memory, the N sections of update information are sequentially from first update information to N update information according to the sequence from the early to the late of the storage time, N is a positive integer, and computer readable instructions are stored in the memory, and when the instructions are executed by the processor, the processor is caused to execute the following steps:
receiving an update instruction for current display information;
reading first update information from the cache according to the update instruction;
displaying the first update information;
deleting the first update information from the cache;
detecting whether the first information quantity of the remaining update information in the cache is smaller than an information quantity threshold value or not when detecting that the remaining update information in the cache is changed; the residual update information represents update information which is not read and displayed in the cache; and
When the first information quantity is smaller than the information quantity threshold value, acquiring the (n+1) th updated information from a network server into the cache; the (n+1) th update information is used for representing the latest update information corresponding to the current display information, and each update information in the cache is read out and displayed according to the sequence from the early to the late of the preservation time.
12. The mobile terminal of claim 11, wherein the instructions, when executed by the processor, further cause the processor to perform the steps of:
receiving an information display instruction;
acquiring display information for current display and N sections of update 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 updated information corresponding to the display information into a cache.
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 CN110753914A (en) 2020-02-04
CN110753914B true 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
WO2019084753A1 (en) 2019-05-09
CN110753914A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
CN106775637B (en) Page display method and device for application program
CN111984165B (en) Method and device for displaying message and terminal equipment
CN110196667B (en) Notification message processing method and terminal
EP2882234A1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
US10956653B2 (en) Method and apparatus for displaying page and a computer storage medium
CN111580815B (en) Page element editing method and related equipment
CN110569078B (en) Method and device for preloading webpage-level program
CN108241703B (en) Webpage data transmission method and device
CN109189300B (en) View circulation display method and device
US10320730B2 (en) Method and device for displaying message
US11290591B2 (en) Dialing method and mobile terminal
EP2876539A1 (en) Method, device and terminal apparatus for responding to a sliding operation
EP2846296A1 (en) Method, apparatus and terminal device for displaying messages
CN110753914B (en) Information processing method, storage medium and mobile terminal
CN104951215A (en) Processing method and device for page operation
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN108509788B (en) Information sharing method and device, computer readable storage medium and terminal
CN111405043B (en) Information processing method and device and electronic equipment
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN107632985B (en) Webpage preloading method and device
CN107908527B (en) Application icon display method and device
US9742901B2 (en) Method, apparatus and terminal device for obtaining call log
CN105513098B (en) Image processing method and device
EP3550790A1 (en) Streaming media data processing method and mobile terminal
CN108881969B (en) Method and device for drawing bullet screen and mobile terminal

Legal Events

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