WO2017133229A1 - Mobile terminal image display method and device - Google Patents

Mobile terminal image display method and device Download PDF

Info

Publication number
WO2017133229A1
WO2017133229A1 PCT/CN2016/097006 CN2016097006W WO2017133229A1 WO 2017133229 A1 WO2017133229 A1 WO 2017133229A1 CN 2016097006 W CN2016097006 W CN 2016097006W WO 2017133229 A1 WO2017133229 A1 WO 2017133229A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
memory
downloading
webpage image
webpage
Prior art date
Application number
PCT/CN2016/097006
Other languages
French (fr)
Chinese (zh)
Inventor
赵洪涛
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017133229A1 publication Critical patent/WO2017133229A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • Embodiments of the present invention relate to the field of picture display, and in particular, to a picture display method and apparatus for a mobile terminal.
  • the embodiment of the present invention provides a method for displaying a picture of a mobile terminal.
  • the method for canceling the download and display operation of the picture that is being displayed on the screen of the mobile terminal and being executed by the downloading is solved, and the user quickly browses the webpage picture.
  • the mobile terminal displays a problem that the webpage image is not smooth.
  • the embodiment of the present invention provides a picture display method of a mobile terminal, including:
  • Step S001 in response to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, where the webpage image is downloaded from the network;
  • Step S002 If it is detected that the downloading and displaying operation on the webpage image is not completed, cancel the downloading and displaying operation on the webpage image.
  • the detecting step further comprises: performing step S002 if it is detected that the memory of the mobile terminal is less than a preset memory threshold;
  • step S002 is not performed.
  • the step S002 specifically includes: if it is detected that the downloading and displaying operation on the webpage image is not completed, and the received memory is less than the preset memory threshold warning, canceling the downloading and displaying the webpage image In operation, the memory is less than a preset memory threshold warning sent by a listening function that listens to the memory of the mobile terminal.
  • the step S002 specifically includes: if it is detected that the downloading and displaying operation of the webpage image is not completed, adding the downloading display operation to the incomplete operation queue;
  • the memory is less than the preset memory threshold warning sent by the listening function that listens to the memory of the mobile terminal, and the uncompleted operation queue is used to store the download display operation that is not completed for the webpage picture.
  • the canceling the downloading and displaying operation on the webpage image comprises: stopping downloading the webpage image, and deleting a temporary file generated by downloading the webpage image.
  • an embodiment of the present invention further provides a picture display device of a mobile terminal, including:
  • an execution module configured to cancel the download and display operation on the webpage image if it is detected that the downloading and displaying operation on the webpage image is not completed.
  • the device further includes: a detecting module, configured to perform an operation of the execution module if the memory of the mobile terminal is detected to be less than a preset memory threshold;
  • the operation of the execution module is not performed.
  • the executing module specifically includes: if it is detected that the download and display operation on the webpage image is not completed, and the received memory is less than a preset memory threshold warning, canceling the The downloading display operation of the webpage picture, the memory being less than the preset memory threshold warning is sent by a listening function that listens to the memory of the mobile terminal.
  • the executing module specifically includes: if the downloading and displaying operation of the webpage image is not completed, adding the downloading display operation to the incomplete operation queue;
  • the memory is less than the preset memory threshold warning sent by the listening function that listens to the memory of the mobile terminal, and the uncompleted operation queue is used to store the download display operation that is not completed for the webpage picture.
  • the canceling the downloading and displaying operation on the webpage image comprises: stopping downloading the webpage image, and deleting a temporary file generated by downloading the webpage image.
  • an embodiment of the present invention further provides a picture display device of a mobile terminal, including:
  • the processor, the memory, and the communication interface complete communication with each other through the bus;
  • the communication interface is used for information transmission between the device and the mobile terminal;
  • the processor is configured to invoke logic instructions in the memory to perform the following method
  • the webpage image is downloaded from the network; if it is detected that the downloading and displaying operation of the webpage image is not completed, canceling the webpage
  • the download of the picture shows the operation.
  • the embodiment of the present invention further provides a computer program, including program code, where the program code is used to perform the following operations:
  • an embodiment of the present invention further provides a storage medium for storing the foregoing computer program.
  • the webpage image is swiped from the screen of the mobile terminal to the outside of the screen, and the webpage image is downloaded from the network; if the downloading and displaying operation of the webpage image is detected, the operation is not completed.
  • the downloading and displaying operation of the mobile terminal system resource is continued, and the webpage image currently displayed on the screen cannot be completely completed. The problem shown.
  • the display of the webpage image displayed on the screen of the mobile terminal can be quickly completed, so that the user experience is better.
  • FIG. 1 is a flowchart of a picture display method of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a picture display method of a mobile terminal according to another embodiment of the present invention.
  • FIG. 3 is a block diagram of a picture display device of a mobile terminal according to another embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a picture display device of a mobile terminal according to another embodiment of the present invention.
  • an embodiment of the present invention provides a method for displaying a picture of a mobile terminal, including:
  • Step S001 in response to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, and the webpage image is downloaded from the network; in step S002, if it is detected that the downloading and displaying operation of the webpage image is not completed, canceling the webpage The download of the picture shows the operation.
  • the mobile phone system when a user uses a mobile phone to browse a webpage image, the mobile phone system first downloads the webpage image of the web server, then decodes it, and finally displays the webpage image completely, where the webpage image is downloaded, decoded, and completed.
  • the displayed operation is simply referred to as the download and display operation of the webpage image.
  • the representative user has not paid attention to the webpage image at this time, so the downloading and displaying operation of the webpage image is cancelled, so as to save the mobile phone system.
  • Memory resources to avoid the need to display the web page image displayed on the screen, can not get the memory processing download display operation of the mobile phone system.
  • the mobile phone system continues to download and display the operation of the webpage image outside the screen. The problem that the incoming mobile phone system is out of memory and the newly downloaded webpage image cannot be displayed completely.
  • the webpage image is swiped from the screen of the mobile terminal to the outside of the screen by responding to the screen swipe instruction, and the webpage image is downloaded from the network; if the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled.
  • the method solves the problem that when the webpage image has been slid out of the screen of the mobile terminal, the user continues to occupy the resource of the mobile terminal system for downloading and displaying, which causes the problem that the webpage image currently displayed on the screen cannot be completely displayed.
  • the display of the webpage image displayed on the screen of the mobile terminal can be quickly completed, so that the user experience is better.
  • the detecting step further includes: if it is detected that the memory of the mobile terminal is less than the preset memory threshold, step S002 is performed; if it is detected that the memory of the mobile terminal is not less than the preset memory threshold, Step S002 is not performed.
  • the memory of the mobile terminal system When the memory of the mobile terminal system is insufficient, that is, the memory is less than the preset memory threshold, and the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled.
  • the memory of the mobile phone is 100M, which is less than the preset memory threshold of 400M.
  • the memory of the mobile phone is 1G, which is much larger than the preset memory threshold of 400M.
  • the step S002 specifically includes: if it is detected that the downloading and displaying operation of the webpage image is not completed, and the received memory is less than the preset memory threshold warning, the downloading and displaying operation of the webpage image is cancelled, and the memory is less than the pre- Let the memory threshold warning be sent by the listener function that listens to the memory of the mobile terminal.
  • the memory remaining in the mobile terminal system is monitored by adding a listening function to the memory.
  • the listening function issues a warning that the memory is less than the preset memory threshold, and the mobile terminal system receives the memory less than the preset memory.
  • the download operation is canceled for the webpage image that has been swiped out of the screen of the mobile terminal.
  • the memory is monitored by adding a listener function to the memory, so that the thread that processes the display and display operation of the webpage image does not need to interrupt to actively detect the memory, thereby improving the efficiency of processing the download display operation.
  • step S002 specifically includes: if it is detected that the download and display operation on the webpage image is not completed, adding the download display operation to the incomplete operation queue; If the memory is less than the preset memory threshold warning, the download display operation in the unfinished operation queue is canceled according to the chronological order; the memory is less than the preset memory threshold warning is sent by the listening function of the memory of the monitoring mobile terminal, and the incomplete operation queue is used for Stores the download operation of the unfinished web page image.
  • the downloading and displaying operation of the webpage image is cancelled, including: stopping downloading the webpage image, and deleting the temporary file generated by downloading the webpage image.
  • each webpage image when browsing a webpage image online, when the mobile terminal downloads a webpage image and decodes the webpage image, each webpage image generates a temporary file, so when the mobile terminal cancels the downloading and displaying operation of the webpage image, the corresponding delete downloading webpage image is deleted.
  • Temporary files generated during the process to save storage space on the mobile terminal. There is no need for the user to manually delete a large number of temporary files.
  • a method of canceling a download display operation by sliding a web page picture of a screen of a mobile terminal takes a mobile phone as an example.
  • Step S201 the user browses the webpage image in the network library by using the mobile phone; in step S202, receiving the user sliding screen operation, the first row of webpage image displayed on the mobile phone screen is swiped out of the mobile phone screen; and step S203, detecting the first row of the webpage image
  • the downloading display operation corresponding to each webpage image is completed, and the uncompleted downloading display operation is added to the incomplete operation queue; in step S204, the memory sent by the memory listening function is received to be smaller than the preset memory threshold warning; step S205,
  • the download display operation that is first added to the incomplete operation queue is canceled according to the chronological order. If the memory is still less than the preset memory threshold warning at this time, the download display operation in the incomplete operation queue is continued.
  • an embodiment of the present invention provides a picture display device of a mobile terminal, including:
  • the response sliding instruction module 301 is configured to: in response to the screen sliding instruction, slide the webpage image from the screen of the mobile terminal to the outside of the screen, the webpage image is downloaded from the network; and the executing module 302 is configured to: When it is detected that the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled.
  • the device further includes: a detecting module, configured to: if the memory of the mobile terminal is detected to be less than a preset memory threshold, perform an operation of the executing module;
  • the operation of the execution module is not performed.
  • the executing module 302 specifically includes: if it is detected that the downloading and displaying operation of the webpage image is not completed, and the received memory is less than the preset memory threshold warning, the downloading and displaying operation of the webpage image is cancelled, and the memory is less than The preset memory threshold warning is sent by the listen function that listens to the memory of the mobile terminal.
  • the executing module 302 specifically includes: if it is detected that the downloading and displaying operation on the webpage image is not completed, adding the downloading display operation to the incomplete operation queue;
  • the download display operation in the unfinished operation queue is canceled according to the chronological order
  • the memory is less than the preset memory threshold warning is sent by the listening function of the memory of the monitoring mobile terminal, and the unfinished operation queue is used for storing the downloading operation for the uncompleted webpage picture.
  • the downloading and displaying operation of the webpage image is cancelled, including: stopping downloading the webpage image, and deleting the temporary file generated by downloading the webpage image.
  • FIG. 4 is a block diagram showing the structure of another embodiment of a picture display device of the mobile terminal of the present application.
  • the device includes:
  • processor 101 a processor 101, a memory 102, a communication interface 103, and a bus 104;
  • the processor 101, the memory 102, and the communication interface 103 complete communication with each other through the bus 104;
  • the communication interface 103 is used for information transmission between the device and the mobile terminal;
  • the processor 101 is configured to invoke logic instructions in the memory 102 to perform the following methods;
  • the webpage image is downloaded from the network; if it is detected that the downloading and displaying operation of the webpage image is not completed, canceling the webpage
  • the download of the picture shows the operation.
  • the embodiment discloses a computer program, including program code, where the program code is used to perform the following operations:
  • This embodiment discloses a storage medium for storing a computer program as described in the foregoing embodiments.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

An embodiment of the present invention provides a mobile terminal image display method and device. The method comprises: step S001: responding to a screen sliding command, and sliding a website image from inside a screen of a mobile terminal to outside the screen, and downloading the website image from the Internet; step S002: if detecting that a download and display operation of the website image is incomplete, then canceling the download and display operation of the website image. The embodiment of the invention further provides a mobile terminal image display device, comprising: a slide command responding module and an execution module. The embodiment of the invention addresses an issue of slow display of a website image on a mobile terminal when a user browses the website image.

Description

一种移动终端的图片显示方法和装置Picture display method and device for mobile terminal
交叉引用cross reference
本申请引用于2016年2月1日提交的专利名称为“一种移动终端的图片显示方法和装置”的第2016100695885号中国专利申请,其通过引用被全部并入本申请。The present application is hereby incorporated by reference in its entirety in its entirety in its entirety in its entirety in its entirety in the the the the the the the the the the the
技术领域Technical field
本发明的实施例涉及图片显示领域,尤其涉及一种移动终端的图片显示方法和装置。Embodiments of the present invention relate to the field of picture display, and in particular, to a picture display method and apparatus for a mobile terminal.
背景技术Background technique
现有技术中,由于手机屏幕越来越大,用户对在手机上进行图片浏览的要求也越来越高,当用户在线浏览图片如在线使用百度图库进行图片浏览时,如果用户滑动手机的屏幕速度比较快时,会出现图片显示不流畅、手机间隔很长时间后也无法显示图片或甚至出现手机不响应触摸屏等问题,此时用户体验会非常差。In the prior art, as the screen of the mobile phone is getting larger and larger, the user has higher and higher requirements for performing picture browsing on the mobile phone. When the user browses the picture online, such as online browsing using the Baidu library for image browsing, if the user slides the screen of the mobile phone When the speed is faster, there will be a problem that the picture display is not smooth, the picture cannot be displayed after the mobile phone is separated for a long time, or even the mobile phone does not respond to the touch screen, and the user experience will be very poor.
因此,有必要改进上面提到的缺陷。Therefore, it is necessary to improve the defects mentioned above.
发明内容Summary of the invention
基于以上问题,本发明实施例提出一种移动终端的图片显示方法,通过对被滑动出移动终端的屏幕的且正在执行下载显示的图片进行取消下载显示操作的方式,解决了用户快速浏览网页图片时,移动终端显示网页图片不流畅的问题。Based on the above problem, the embodiment of the present invention provides a method for displaying a picture of a mobile terminal. The method for canceling the download and display operation of the picture that is being displayed on the screen of the mobile terminal and being executed by the downloading is solved, and the user quickly browses the webpage picture. At the time, the mobile terminal displays a problem that the webpage image is not smooth.
一方面,本发明实施例提出一种移动终端的图片显示方法,包括:In one aspect, the embodiment of the present invention provides a picture display method of a mobile terminal, including:
步骤S001,响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载; Step S001, in response to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, where the webpage image is downloaded from the network;
步骤S002,若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。Step S002: If it is detected that the downloading and displaying operation on the webpage image is not completed, cancel the downloading and displaying operation on the webpage image.
优选地,在所述步骤S002之前还包括检测步骤:若检测到所述移动终端的内存小于预设内存阈值,则执行所述步骤S002;Preferably, before the step S002, the detecting step further comprises: performing step S002 if it is detected that the memory of the mobile terminal is less than a preset memory threshold;
若检测到所述移动终端的内存不小于预设内存阈值,则不执行所述步骤S002。If it is detected that the memory of the mobile terminal is not less than the preset memory threshold, the step S002 is not performed.
优选地,所述步骤S002具体包括:若检测到对所述网页图片的所述下载显示操作未完成,且接收到内存小于预设内存阈值警告,则取消对所述网页图片的所述下载显示操作,所述内存小于预设内存阈值警告由监听所述移动终端的内存的监听函数所发送。Preferably, the step S002 specifically includes: if it is detected that the downloading and displaying operation on the webpage image is not completed, and the received memory is less than the preset memory threshold warning, canceling the downloading and displaying the webpage image In operation, the memory is less than a preset memory threshold warning sent by a listening function that listens to the memory of the mobile terminal.
优选地,所述步骤S002具体包括:若检测到对所述网页图片的下载显示操作未完成,则将所述下载显示操作加入到未完成操作队列;Preferably, the step S002 specifically includes: if it is detected that the downloading and displaying operation of the webpage image is not completed, adding the downloading display operation to the incomplete operation queue;
若接收到内存小于预设内存阈值警告,则依据时间顺序取消先加入所述未完成操作队列中的所述下载显示操作;If the received memory is less than the preset memory threshold warning, canceling the downloading display operation that is first added to the incomplete operation queue according to the chronological order;
所述内存小于预设内存阈值警告由监听所述移动终端的内存的监听函数所发送,所述未完成操作队列用于存放对所述网页图片未完成的所述下载显示操作。The memory is less than the preset memory threshold warning sent by the listening function that listens to the memory of the mobile terminal, and the uncompleted operation queue is used to store the download display operation that is not completed for the webpage picture.
优选地,所述取消对所述网页图片的所述下载显示操作,包括:停止下载所述网页图片,并删除下载所述网页图片所产生的临时文件。Preferably, the canceling the downloading and displaying operation on the webpage image comprises: stopping downloading the webpage image, and deleting a temporary file generated by downloading the webpage image.
另一方面,本发明实施例还提出一种移动终端的图片显示装置,包括:On the other hand, an embodiment of the present invention further provides a picture display device of a mobile terminal, including:
响应滑动指令模块,用于响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载;Responding to the sliding instruction module, in response to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, wherein the webpage image is downloaded from the network;
执行模块,用于若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。And an execution module, configured to cancel the download and display operation on the webpage image if it is detected that the downloading and displaying operation on the webpage image is not completed.
优选地,所述装置还包括检测模块:用于若检测到所述移动终端的内存小于预设内存阈值,则执行所述执行模块的操作;Preferably, the device further includes: a detecting module, configured to perform an operation of the execution module if the memory of the mobile terminal is detected to be less than a preset memory threshold;
若检测到所述移动终端的内存不小于预设内存阈值,则不执行所述执行模块的操作。If it is detected that the memory of the mobile terminal is not less than a preset memory threshold, the operation of the execution module is not performed.
优选地,所述执行模块具体包括:若检测到对所述网页图片的所述下载显示操作未完成,且接收到内存小于预设内存阈值警告,则取消对所述 网页图片的所述下载显示操作,所述内存小于预设内存阈值警告由监听所述移动终端的内存的监听函数所发送。Preferably, the executing module specifically includes: if it is detected that the download and display operation on the webpage image is not completed, and the received memory is less than a preset memory threshold warning, canceling the The downloading display operation of the webpage picture, the memory being less than the preset memory threshold warning is sent by a listening function that listens to the memory of the mobile terminal.
优选地,所述执行模块具体包括:若检测到对所述网页图片的下载显示操作未完成,则将所述下载显示操作加入到未完成操作队列;Preferably, the executing module specifically includes: if the downloading and displaying operation of the webpage image is not completed, adding the downloading display operation to the incomplete operation queue;
若接收到内存小于预设内存阈值警告,则依据时间顺序取消先加入所述未完成操作队列中的所述下载显示操作;If the received memory is less than the preset memory threshold warning, canceling the downloading display operation that is first added to the incomplete operation queue according to the chronological order;
所述内存小于预设内存阈值警告由监听所述移动终端的内存的监听函数所发送,所述未完成操作队列用于存放对所述网页图片未完成的所述下载显示操作。The memory is less than the preset memory threshold warning sent by the listening function that listens to the memory of the mobile terminal, and the uncompleted operation queue is used to store the download display operation that is not completed for the webpage picture.
优选地,所述取消对所述网页图片的所述下载显示操作,包括:停止下载所述网页图片,并删除下载所述网页图片所产生的临时文件。Preferably, the canceling the downloading and displaying operation on the webpage image comprises: stopping downloading the webpage image, and deleting a temporary file generated by downloading the webpage image.
另一方面,本发明实施例还提出一种移动终端的图片显示装置,包括:On the other hand, an embodiment of the present invention further provides a picture display device of a mobile terminal, including:
处理器、存储器、通信接口和总线;其中,a processor, a memory, a communication interface, and a bus; wherein
所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface complete communication with each other through the bus;
所述通信接口用于该装置与移动终端之间的信息传输;The communication interface is used for information transmission between the device and the mobile terminal;
所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;The processor is configured to invoke logic instructions in the memory to perform the following method;
响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载;若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。Responding to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, the webpage image is downloaded from the network; if it is detected that the downloading and displaying operation of the webpage image is not completed, canceling the webpage The download of the picture shows the operation.
另一方面,本发明实施例还提出一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:In another aspect, the embodiment of the present invention further provides a computer program, including program code, where the program code is used to perform the following operations:
响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载;Responsive to the screen swipe instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, the webpage image being downloaded from the network;
若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。If it is detected that the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled.
另一方面,本发明实施例还提出一种存储介质,用于存储前述的计算机程序。In another aspect, an embodiment of the present invention further provides a storage medium for storing the foregoing computer program.
采用上述技术方案,具有以下有益效果:The above technical solution has the following beneficial effects:
通过响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,网页图片为从网络下载;若检测到对网页图片的下载显示操作未完 成,则取消对网页图片的下载显示操作的方式解决了当网页图片已经滑动出移动终端屏幕时,继续占用移动终端系统资源进行下载显示操作,导致当前在屏幕上需要显示的网页图片无法正常完全显示的问题。使移动终端屏幕上显示的网页图片能够快速完成的显示,使用户的体验更好。In response to the screen swipe instruction, the webpage image is swiped from the screen of the mobile terminal to the outside of the screen, and the webpage image is downloaded from the network; if the downloading and displaying operation of the webpage image is detected, the operation is not completed. In the case of canceling the download operation of the webpage image, when the webpage image has been slid out of the screen of the mobile terminal, the downloading and displaying operation of the mobile terminal system resource is continued, and the webpage image currently displayed on the screen cannot be completely completed. The problem shown. The display of the webpage image displayed on the screen of the mobile terminal can be quickly completed, so that the user experience is better.
附图说明DRAWINGS
图1是根据本发明一个实施例的移动终端的图片显示方法的流程图;1 is a flowchart of a picture display method of a mobile terminal according to an embodiment of the present invention;
图2是根据本发明另一个实施例的移动终端的图片显示方法的流程图;2 is a flowchart of a picture display method of a mobile terminal according to another embodiment of the present invention;
图3是根据本发明另一个实施例的移动终端的图片显示装置的框图;3 is a block diagram of a picture display device of a mobile terminal according to another embodiment of the present invention;
图4为示出本发明另一个实施例的移动终端的图片显示装置的结构框图。4 is a block diagram showing the structure of a picture display device of a mobile terminal according to another embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参照图1,本发明实施例提出一种移动终端的图片显示方法,包括:Referring to FIG. 1 , an embodiment of the present invention provides a method for displaying a picture of a mobile terminal, including:
步骤S001,响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,网页图片为从网络下载;步骤S002,若检测到对网页图片的下载显示操作未完成,则取消对网页图片的下载显示操作。Step S001, in response to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, and the webpage image is downloaded from the network; in step S002, if it is detected that the downloading and displaying operation of the webpage image is not completed, canceling the webpage The download of the picture shows the operation.
以手机为例,当用户使用手机进行网页图片浏览时,手机系统对网络服务器的网页图片先进行下载,然后解码,最后对网页图片进行完整显示,这里将对网页图片进行下载、解码和进行完整显示的操作简称为对网页图片的下载显示操作。当用户滑动手机屏幕,将未完成下载显示操作的网页图片滑动出手机的屏幕以外时,此时代表用户已经不关注该网页图片,所以取消对该网页图片的下载显示操作,以节省手机系统的内存资源,避免需要在屏幕上显示的网页图片无法获取手机系统的内存处理下载显示操作。解决了在现有技术中,手机系统继续对滑动出屏幕以外的网页图片进行下载显示操作带 来的手机系统内存不足和新下载的网页图片无法完整显示的问题。Taking a mobile phone as an example, when a user uses a mobile phone to browse a webpage image, the mobile phone system first downloads the webpage image of the web server, then decodes it, and finally displays the webpage image completely, where the webpage image is downloaded, decoded, and completed. The displayed operation is simply referred to as the download and display operation of the webpage image. When the user slides the screen of the mobile phone and slides the webpage image that has not completed the download and display operation out of the screen of the mobile phone, the representative user has not paid attention to the webpage image at this time, so the downloading and displaying operation of the webpage image is cancelled, so as to save the mobile phone system. Memory resources, to avoid the need to display the web page image displayed on the screen, can not get the memory processing download display operation of the mobile phone system. In the prior art, the mobile phone system continues to download and display the operation of the webpage image outside the screen. The problem that the incoming mobile phone system is out of memory and the newly downloaded webpage image cannot be displayed completely.
通过响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,网页图片为从网络下载;若检测到对网页图片的下载显示操作未完成,则取消对网页图片的下载显示操作的方式解决了当网页图片已经滑动出移动终端屏幕时,继续占用移动终端系统资源进行下载显示操作,导致当前在屏幕上需要显示的网页图片无法正常完全显示的问题。使移动终端屏幕上显示的网页图片能够快速完成的显示,使用户的体验更好。The webpage image is swiped from the screen of the mobile terminal to the outside of the screen by responding to the screen swipe instruction, and the webpage image is downloaded from the network; if the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled. The method solves the problem that when the webpage image has been slid out of the screen of the mobile terminal, the user continues to occupy the resource of the mobile terminal system for downloading and displaying, which causes the problem that the webpage image currently displayed on the screen cannot be completely displayed. The display of the webpage image displayed on the screen of the mobile terminal can be quickly completed, so that the user experience is better.
在其中的一个实施例中,在步骤S002之前还包括检测步骤:若检测到移动终端的内存小于预设内存阈值,则执行步骤S002;若检测到移动终端的内存不小于预设内存阈值,则不执行步骤S002。In an embodiment, before the step S002, the detecting step further includes: if it is detected that the memory of the mobile terminal is less than the preset memory threshold, step S002 is performed; if it is detected that the memory of the mobile terminal is not less than the preset memory threshold, Step S002 is not performed.
当移动终端系统的内存不足即内存小于预设内存阈值时,且检测到对网页图片的下载显示操作未完成,则取消对网页图片的下载显示操作。如此时手机内存为100M,小于预设内存阈值400M,此时又检测到对已经滑动到手机屏幕之外的网页图片依然在进行下载显示操作,则此时应该取消对该网页图片进行的下载显示操作。如此时手机内存为1G,远大于预设内存阈值400M,此时检测到对已经滑动到手机屏幕之外的网页图片依然在进行下载显示操作,则此时应该继续对该网页图片进行的下载显示操作。通过检测步骤,使对网页图片是否继续下载显示操作的判断更加合理。When the memory of the mobile terminal system is insufficient, that is, the memory is less than the preset memory threshold, and the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled. In this case, the memory of the mobile phone is 100M, which is less than the preset memory threshold of 400M. At this time, it is detected that the image of the webpage that has been slid outside the screen of the mobile phone is still being downloaded and displayed, and then the downloading and displaying of the webpage image should be cancelled. operating. In this case, the memory of the mobile phone is 1G, which is much larger than the preset memory threshold of 400M. At this time, it is detected that the webpage image that has been slid outside the screen of the mobile phone is still being downloaded and displayed, and then the downloading and displaying of the webpage image should be continued. operating. Through the detection step, it is more reasonable to judge whether the webpage image continues to download and display operations.
在其中的一个实施例中,步骤S002具体包括:若检测到对网页图片的下载显示操作未完成,且接收到内存小于预设内存阈值警告,则取消对网页图片的下载显示操作,内存小于预设内存阈值警告由监听移动终端的内存的监听函数所发送。In one embodiment, the step S002 specifically includes: if it is detected that the downloading and displaying operation of the webpage image is not completed, and the received memory is less than the preset memory threshold warning, the downloading and displaying operation of the webpage image is cancelled, and the memory is less than the pre- Let the memory threshold warning be sent by the listener function that listens to the memory of the mobile terminal.
通过对内存增加监听函数的方式来监听移动终端系统所剩的内存,当内存小于预设内存阈值时,该监听函数会发出内存小于预设内存阈值警告,移动终端系统接收到内存小于预设内存阈值警告后,对已经被滑动出移动终端屏幕的网页图片取消下载显示操作。通过对内存增加监听函数的方式来监控内存,使处理网页图片的下载显示操作的线程不需要中断去主动检测内存,提高了处理下载显示操作的效率。The memory remaining in the mobile terminal system is monitored by adding a listening function to the memory. When the memory is less than the preset memory threshold, the listening function issues a warning that the memory is less than the preset memory threshold, and the mobile terminal system receives the memory less than the preset memory. After the threshold warning, the download operation is canceled for the webpage image that has been swiped out of the screen of the mobile terminal. The memory is monitored by adding a listener function to the memory, so that the thread that processes the display and display operation of the webpage image does not need to interrupt to actively detect the memory, thereby improving the efficiency of processing the download display operation.
在其中的一个实施例中,步骤S002具体包括:若检测到对网页图片的下载显示操作未完成,则将下载显示操作加入到未完成操作队列;若接收到内 存小于预设内存阈值警告,则依据时间顺序取消先加入未完成操作队列中的下载显示操作;内存小于预设内存阈值警告由监听移动终端的内存的监听函数所发送,未完成操作队列用于存放对网页图片未完成的下载显示操作。In one embodiment, step S002 specifically includes: if it is detected that the download and display operation on the webpage image is not completed, adding the download display operation to the incomplete operation queue; If the memory is less than the preset memory threshold warning, the download display operation in the unfinished operation queue is canceled according to the chronological order; the memory is less than the preset memory threshold warning is sent by the listening function of the memory of the monitoring mobile terminal, and the incomplete operation queue is used for Stores the download operation of the unfinished web page image.
当用户使用手机浏览网页图库时,此时网页上一行会显示多张网页图片,当用户滑动手机屏幕时,会一起将多张网页图片滑动出手机屏幕,这时需要将对多张网页图片的下载显示操作加入到未完成操作队列中进行管理,如果此时手机内存大于预设内存阈值,那么继续对该多张网页图片进行下载显示操作,如果此时手机内存不大于预设内存阈值,那么依照加入到未完成操作队列的时间顺序,对先加入到未完成操作队列的下载显示操作进行取消。通过采用未完成操作队列管理对网页图片的下载显示操作,使当有多个网页图片被滑动出手机屏幕时,依据移动终端的内存情况,进行合理的取消下载显示操作。When the user browses the webpage gallery by using the mobile phone, multiple webpage images will be displayed on the first line of the webpage. When the user slides the mobile phone screen, multiple webpage images will be slid out of the mobile phone screen together, and then multiple webpage images need to be The download display operation is added to the incomplete operation queue for management. If the mobile phone memory is greater than the preset memory threshold at this time, the download operation of the multiple webpage images is continued. If the mobile phone memory is not greater than the preset memory threshold, then The download display operation that is first added to the incomplete operation queue is canceled according to the time sequence added to the incomplete operation queue. By using the unfinished operation queue to manage the download and display operation of the webpage image, when a plurality of webpage images are swiped out of the mobile phone screen, a reasonable cancel download display operation is performed according to the memory condition of the mobile terminal.
在其中的一个实施例中,取消对网页图片的下载显示操作,包括:停止下载网页图片,并删除下载网页图片所产生的临时文件。In one of the embodiments, the downloading and displaying operation of the webpage image is cancelled, including: stopping downloading the webpage image, and deleting the temporary file generated by downloading the webpage image.
一般在线浏览网页图片时,移动终端在下载网页图片,解码网页图片时,每一张网页图片都会产生临时文件,所以当移动终端取消了对网页图片的下载显示操作时,对应的删除下载网页图片过程中产生的临时文件,以节省移动终端的存储空间。不需要用户手动去删除大量的临时文件。Generally, when browsing a webpage image online, when the mobile terminal downloads a webpage image and decodes the webpage image, each webpage image generates a temporary file, so when the mobile terminal cancels the downloading and displaying operation of the webpage image, the corresponding delete downloading webpage image is deleted. Temporary files generated during the process to save storage space on the mobile terminal. There is no need for the user to manually delete a large number of temporary files.
参照图2,作为本发明的最佳实施例,通过对滑动出移动终端的屏幕的网页图片进行取消下载显示操作的方式实现。移动终端以手机为例。步骤S201,用户使用手机浏览网络图库里的网页图片;步骤S202,接收用户滑动屏幕操作,在手机屏幕上显示的第一行网页图片被滑动出手机屏幕;步骤S203,检测第一行网页图片中的每一个网页图片对应的下载显示操作是否完成,将未完成的下载显示操作加入到未完成操作队列中;步骤S204,接收到内存监听函数发来的内存小于预设内存阈值警告;步骤S205,依照时间顺序将最先加入到未完成操作队列中的下载显示操作取消,若此时内存依然小于预设内存阈值警告,则继续取消未完成操作队列中的下载显示操作。Referring to Fig. 2, as a preferred embodiment of the present invention, a method of canceling a download display operation by sliding a web page picture of a screen of a mobile terminal is realized. The mobile terminal takes a mobile phone as an example. Step S201, the user browses the webpage image in the network library by using the mobile phone; in step S202, receiving the user sliding screen operation, the first row of webpage image displayed on the mobile phone screen is swiped out of the mobile phone screen; and step S203, detecting the first row of the webpage image The downloading display operation corresponding to each webpage image is completed, and the uncompleted downloading display operation is added to the incomplete operation queue; in step S204, the memory sent by the memory listening function is received to be smaller than the preset memory threshold warning; step S205, The download display operation that is first added to the incomplete operation queue is canceled according to the chronological order. If the memory is still less than the preset memory threshold warning at this time, the download display operation in the incomplete operation queue is continued.
参照图3,本发明实施例提出一种移动终端的图片显示装置,包括:Referring to FIG. 3, an embodiment of the present invention provides a picture display device of a mobile terminal, including:
响应滑动指令模块301,用于响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,网页图片为从网络下载;执行模块302,用于若 检测到对网页图片的下载显示操作未完成,则取消对网页图片的下载显示操作。The response sliding instruction module 301 is configured to: in response to the screen sliding instruction, slide the webpage image from the screen of the mobile terminal to the outside of the screen, the webpage image is downloaded from the network; and the executing module 302 is configured to: When it is detected that the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled.
在其中的一个实施例中,装置还包括检测模块:用于若检测到移动终端的内存小于预设内存阈值,则执行所述执行模块的操作;In an embodiment, the device further includes: a detecting module, configured to: if the memory of the mobile terminal is detected to be less than a preset memory threshold, perform an operation of the executing module;
若检测到移动终端的内存不小于预设内存阈值,则不执行所述执行模块的操作。If it is detected that the memory of the mobile terminal is not less than the preset memory threshold, the operation of the execution module is not performed.
在其中的一个实施例中,执行模块302具体包括:若检测到对网页图片的下载显示操作未完成,且接收到内存小于预设内存阈值警告,则取消对网页图片的下载显示操作,内存小于预设内存阈值警告由监听移动终端的内存的监听函数所发送。In one embodiment, the executing module 302 specifically includes: if it is detected that the downloading and displaying operation of the webpage image is not completed, and the received memory is less than the preset memory threshold warning, the downloading and displaying operation of the webpage image is cancelled, and the memory is less than The preset memory threshold warning is sent by the listen function that listens to the memory of the mobile terminal.
在其中的一个实施例中,执行模块302具体包括:若检测到对网页图片的下载显示操作未完成,则将下载显示操作加入到未完成操作队列;In one embodiment, the executing module 302 specifically includes: if it is detected that the downloading and displaying operation on the webpage image is not completed, adding the downloading display operation to the incomplete operation queue;
若接收到内存小于预设内存阈值警告,则依据时间顺序取消先加入未完成操作队列中的下载显示操作;If the received memory is less than the preset memory threshold warning, the download display operation in the unfinished operation queue is canceled according to the chronological order;
内存小于预设内存阈值警告由监听移动终端的内存的监听函数所发送,未完成操作队列用于存放对网页图片未完成的下载显示操作。The memory is less than the preset memory threshold warning is sent by the listening function of the memory of the monitoring mobile terminal, and the unfinished operation queue is used for storing the downloading operation for the uncompleted webpage picture.
在其中的一个实施例中,取消对网页图片的下载显示操作,包括:停止下载网页图片,并删除下载网页图片所产生的临时文件。In one of the embodiments, the downloading and displaying operation of the webpage image is cancelled, including: stopping downloading the webpage image, and deleting the temporary file generated by downloading the webpage image.
图4是示出本申请移动终端的图片显示装置另一实施例的结构框图。4 is a block diagram showing the structure of another embodiment of a picture display device of the mobile terminal of the present application.
参照图4,所述装置,包括:Referring to FIG. 4, the device includes:
处理器(processor)101、存储器(memory)102、通信接口(Communications Interface)103和总线104;其中,a processor 101, a memory 102, a communication interface 103, and a bus 104;
所述处理器101、存储器102、通信接口103通过所述总线104完成相互间的通信;The processor 101, the memory 102, and the communication interface 103 complete communication with each other through the bus 104;
所述通信接口103用于该装置与移动终端之间的信息传输;The communication interface 103 is used for information transmission between the device and the mobile terminal;
所述处理器101用于调用所述存储器102中的逻辑指令,以执行如下方法;The processor 101 is configured to invoke logic instructions in the memory 102 to perform the following methods;
响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载;若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。 Responding to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, the webpage image is downloaded from the network; if it is detected that the downloading and displaying operation of the webpage image is not completed, canceling the webpage The download of the picture shows the operation.
参看图1,本实施例公开一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:Referring to FIG. 1, the embodiment discloses a computer program, including program code, where the program code is used to perform the following operations:
响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载;Responsive to the screen swipe instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, the webpage image being downloaded from the network;
若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。If it is detected that the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled.
本实施例公开一种存储介质,用于存储如前述实施例所述的计算机程序。This embodiment discloses a storage medium for storing a computer program as described in the foregoing embodiments.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (13)

  1. 一种移动终端的图片显示方法,其特征在于,包括:A picture display method for a mobile terminal, comprising:
    步骤S001,响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载;Step S001, in response to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, where the webpage image is downloaded from the network;
    步骤S002,若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。Step S002: If it is detected that the downloading and displaying operation on the webpage image is not completed, cancel the downloading and displaying operation on the webpage image.
  2. 根据权利要求1所述的移动终端的图片显示方法,其特征在于,The picture display method of the mobile terminal according to claim 1, wherein
    在所述步骤S002之前还包括检测步骤:若检测到所述移动终端的内存小于预设内存阈值,则执行所述步骤S002;The step S002 is further included before the step S002: if it is detected that the memory of the mobile terminal is less than the preset memory threshold, the step S002 is performed;
    若检测到所述移动终端的内存不小于预设内存阈值,则不执行所述步骤S002。If it is detected that the memory of the mobile terminal is not less than the preset memory threshold, the step S002 is not performed.
  3. 根据权利要求1所述的移动终端的图片显示方法,其特征在于,所述步骤S002具体包括:若检测到对所述网页图片的所述下载显示操作未完成,且接收到内存小于预设内存阈值警告,则取消对所述网页图片的所述下载显示操作,所述内存小于预设内存阈值警告由监听所述移动终端的内存的监听函数所发送。The picture display method of the mobile terminal according to claim 1, wherein the step S002 specifically includes: if it is detected that the download and display operation on the webpage picture is not completed, and the received memory is less than the preset memory The threshold warning cancels the download display operation on the webpage picture, and the memory is less than the preset memory threshold warning sent by the listening function that listens to the memory of the mobile terminal.
  4. 根据权利要求3所述的移动终端的图片显示方法,其特征在于,The picture display method of the mobile terminal according to claim 3, wherein
    所述步骤S002具体包括:若检测到对所述网页图片的下载显示操作未完成,则将所述下载显示操作加入到未完成操作队列;The step S002 specifically includes: if it is detected that the downloading and displaying operation of the webpage image is not completed, adding the downloading display operation to the incomplete operation queue;
    若接收到内存小于预设内存阈值警告,则依据时间顺序取消先加入所述未完成操作队列中的所述下载显示操作;If the received memory is less than the preset memory threshold warning, canceling the downloading display operation that is first added to the incomplete operation queue according to the chronological order;
    所述内存小于预设内存阈值警告由监听所述移动终端的内存的监听函数所发送,所述未完成操作队列用于存放对所述网页图片未完成的所述下载显示操作。The memory is less than the preset memory threshold warning sent by the listening function that listens to the memory of the mobile terminal, and the uncompleted operation queue is used to store the download display operation that is not completed for the webpage picture.
  5. 根据权利要求1-4任一项所述的移动终端的图片显示方法,其特征在于,所述取消对所述网页图片的所述下载显示操作,包括:停止下载所述网页图片,并删除下载所述网页图片所产生的临时文件。The picture display method of the mobile terminal according to any one of claims 1 to 4, wherein the canceling the downloading and displaying operation on the webpage image comprises: stopping downloading the webpage image, and deleting the downloading a temporary file generated by the webpage image.
  6. 一种移动终端的图片显示装置,其特征在于,包括:A picture display device for a mobile terminal, comprising:
    响应滑动指令模块,用于响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载; Responding to the sliding instruction module, in response to the screen sliding instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, wherein the webpage image is downloaded from the network;
    执行模块,用于若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。And an execution module, configured to cancel the download and display operation on the webpage image if it is detected that the downloading and displaying operation on the webpage image is not completed.
  7. 根据权利要求6所述的移动终端的图片显示装置,其特征在于,A picture display device for a mobile terminal according to claim 6, wherein
    所述装置还包括检测模块:用于若检测到所述移动终端的内存小于预设内存阈值,则执行所述执行模块的操作;The device further includes: a detecting module, configured to: if it is detected that the memory of the mobile terminal is less than a preset memory threshold, perform an operation of the execution module;
    若检测到所述移动终端的内存不小于预设内存阈值,则不执行所述执行模块的操作。If it is detected that the memory of the mobile terminal is not less than a preset memory threshold, the operation of the execution module is not performed.
  8. 根据权利要求6所述的移动终端的图片显示装置,其特征在于,所述执行模块具体包括:若检测到对所述网页图片的所述下载显示操作未完成,且接收到内存小于预设内存阈值警告,则取消对所述网页图片的所述下载显示操作,所述内存小于预设内存阈值警告由监听所述移动终端的内存的监听函数所发送。The picture display device of the mobile terminal according to claim 6, wherein the execution module comprises: if it is detected that the download and display operation on the webpage image is not completed, and the received memory is less than the preset memory The threshold warning cancels the download display operation on the webpage picture, and the memory is less than the preset memory threshold warning sent by the listening function that listens to the memory of the mobile terminal.
  9. 根据权利要求8所述的移动终端的图片显示装置,其特征在于,A picture display device for a mobile terminal according to claim 8, wherein
    所述执行模块具体包括:若检测到对所述网页图片的下载显示操作未完成,则将所述下载显示操作加入到未完成操作队列;The executing module specifically includes: if the downloading and displaying operation of the webpage image is not completed, adding the downloading display operation to the incomplete operation queue;
    若接收到内存小于预设内存阈值警告,则依据时间顺序取消先加入所述未完成操作队列中的所述下载显示操作;If the received memory is less than the preset memory threshold warning, canceling the downloading display operation that is first added to the incomplete operation queue according to the chronological order;
    所述内存小于预设内存阈值警告由监听所述移动终端的内存的监听函数所发送,所述未完成操作队列用于存放对所述网页图片未完成的所述下载显示操作。The memory is less than the preset memory threshold warning sent by the listening function that listens to the memory of the mobile terminal, and the uncompleted operation queue is used to store the download display operation that is not completed for the webpage picture.
  10. 根据权利要求6-9任一项所述的移动终端的图片显示装置,其特征在于,所述取消对所述网页图片的所述下载显示操作,包括:停止下载所述网页图片,并删除下载所述网页图片所产生的临时文件。The picture display device of the mobile terminal according to any one of claims 6 to 9, wherein the canceling the downloading and displaying operation on the webpage image comprises: stopping downloading the webpage image, and deleting the downloading. a temporary file generated by the webpage image.
  11. 一种移动终端的图片显示装置,其特征在于,包括:A picture display device for a mobile terminal, comprising:
    处理器、存储器、通信接口和总线;其中,a processor, a memory, a communication interface, and a bus; wherein
    所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface complete communication with each other through the bus;
    所述通信接口用于该装置与移动终端之间的信息传输;The communication interface is used for information transmission between the device and the mobile terminal;
    所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;The processor is configured to invoke logic instructions in the memory to perform the following method;
    响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载;若检测到对所述网页图片的下载显示操 作未完成,则取消对所述网页图片的所述下载显示操作。Responding to the screen swipe instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, the webpage image is downloaded from the network; if the downloading and displaying operation of the webpage image is detected If the process is not completed, the download display operation on the webpage picture is cancelled.
  12. 一种计算机程序,其特征在于,包括程序代码,所述程序代码用于执行如下操作:A computer program comprising program code for performing the following operations:
    响应屏幕滑动指令,将网页图片从移动终端的屏幕内滑动至屏幕之外,所述网页图片为从网络下载;Responsive to the screen swipe instruction, sliding the webpage image from the screen of the mobile terminal to the outside of the screen, the webpage image being downloaded from the network;
    若检测到对所述网页图片的下载显示操作未完成,则取消对所述网页图片的所述下载显示操作。If it is detected that the downloading and displaying operation of the webpage image is not completed, the downloading and displaying operation of the webpage image is cancelled.
  13. 一种存储介质,用于存储如权利要求12所述的计算机程序。 A storage medium for storing the computer program of claim 12.
PCT/CN2016/097006 2016-02-01 2016-08-26 Mobile terminal image display method and device WO2017133229A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610069588.5 2016-02-01
CN201610069588.5A CN105847531A (en) 2016-02-01 2016-02-01 Picture displaying method and device for mobile terminal

Publications (1)

Publication Number Publication Date
WO2017133229A1 true WO2017133229A1 (en) 2017-08-10

Family

ID=56586826

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097006 WO2017133229A1 (en) 2016-02-01 2016-08-26 Mobile terminal image display method and device

Country Status (2)

Country Link
CN (1) CN105847531A (en)
WO (1) WO2017133229A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847531A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Picture displaying method and device for mobile terminal
CN106534312B (en) * 2016-11-15 2019-05-07 浙江大学 A kind of service request selection of facing mobile apparatus and dispatching method
CN109697045B (en) * 2018-12-28 2022-06-03 天弘基金管理有限公司 Picture display method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080083002A1 (en) * 2006-10-02 2008-04-03 Sanyo Electric Co., Ltd., Information processing apparatus displaying indices of video contents, information processing method and information processing program
CN101807180A (en) * 2009-02-16 2010-08-18 宏达国际电子股份有限公司 Mobile electric device and pretreatment and display method of web page thereof
CN102799687A (en) * 2012-07-30 2012-11-28 北界创想(北京)软件有限公司 Method and device for displaying webpage
CN103823690A (en) * 2013-12-05 2014-05-28 Tcl集团股份有限公司 Online image loading method and system
CN105847531A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Picture displaying method and device for mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080083002A1 (en) * 2006-10-02 2008-04-03 Sanyo Electric Co., Ltd., Information processing apparatus displaying indices of video contents, information processing method and information processing program
CN101807180A (en) * 2009-02-16 2010-08-18 宏达国际电子股份有限公司 Mobile electric device and pretreatment and display method of web page thereof
CN102799687A (en) * 2012-07-30 2012-11-28 北界创想(北京)软件有限公司 Method and device for displaying webpage
CN103823690A (en) * 2013-12-05 2014-05-28 Tcl集团股份有限公司 Online image loading method and system
CN105847531A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Picture displaying method and device for mobile terminal

Also Published As

Publication number Publication date
CN105847531A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
US10812564B1 (en) Preloading content for requesting applications
US9195519B2 (en) Disabling the self-referential appearance of a mobile application in an intent via a background registration
WO2020207454A1 (en) Information pushing method and device
US20140130053A1 (en) Data processing method, apparatus and mobile terminal
US9178746B2 (en) Browser-based fetch of external libraries
US20130191759A1 (en) Systems and methods for detecting and managing recurring electronic communications
US9274913B2 (en) Event pages for web applications and extensions
US10439967B2 (en) Attachment reply handling in networked messaging systems
CN103678506B (en) The method, apparatus and browser of loading application programs shortcut in a browser
US20150120374A1 (en) Automation of customer relationship management (crm) tasks responsive to electronic communications
EP3093809A1 (en) Systems and methods for state machine management
CN109582317B (en) Method and apparatus for debugging hosted applications
CN104462283A (en) Method, device and client for requesting webpage elements in mobile terminal
WO2017133229A1 (en) Mobile terminal image display method and device
US9021383B2 (en) Browsing between mobile and non-mobile web sites
CN111258736A (en) Information processing method and device and electronic equipment
WO2014012361A1 (en) Method and device for creating control interface for external device
CN104461829B (en) Calculating equipment optimization method and apparatus based on window application
CN113378093B (en) Method and device for determining resource release strategy, electronic equipment and storage medium
US11775439B2 (en) Prefetching data for application usage
WO2020077681A1 (en) Method and apparatus for lazy loading of js script
CA2788100C (en) Crawling of generated server-side content
US20140164523A1 (en) Automated enabling of instant messaging communications in a client system
US10242315B2 (en) Finite state machine forming
WO2012104472A1 (en) Method and apparatus for representing content data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16889041

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16889041

Country of ref document: EP

Kind code of ref document: A1