CN104021218A - Information display method and device - Google Patents

Information display method and device Download PDF

Info

Publication number
CN104021218A
CN104021218A CN201410282851.XA CN201410282851A CN104021218A CN 104021218 A CN104021218 A CN 104021218A CN 201410282851 A CN201410282851 A CN 201410282851A CN 104021218 A CN104021218 A CN 104021218A
Authority
CN
China
Prior art keywords
information
mobile terminal
network environment
picture
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410282851.XA
Other languages
Chinese (zh)
Other versions
CN104021218B (en
Inventor
于振北
张跃辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Cheetah Mobile Technology Co Ltd
Original Assignee
Shell Internet Beijing Security 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 Shell Internet Beijing Security Technology Co Ltd filed Critical Shell Internet Beijing Security Technology Co Ltd
Priority to CN201410282851.XA priority Critical patent/CN104021218B/en
Publication of CN104021218A publication Critical patent/CN104021218A/en
Application granted granted Critical
Publication of CN104021218B publication Critical patent/CN104021218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an information display method and device. The method comprises the following steps: detecting a network environment in which a mobile terminal stays; transmitting an information download request to a server when the network environment stays in a preset specific network environment, so that the server transmits the information to the mobile terminal after receiving the information download request; receiving and saving the information; and displaying the acquired information on a display interface of the mobile terminal. When the mobile terminal stays in a preset network environment, at least one message is downloaded and stored in the mobile terminal, whether the mobile terminal in a state, as long as a reading instruction of a user for the information is received, the information can be acquired from the mobile terminal, and the previously-downloaded and stored information can be displayed, so that the user can read the information through the mobile terminal no matter what network environment the mobile terminal stays in.

Description

A kind of method for information display and device
Technical field
The present invention relates to mobile communication technology field, particularly a kind of method for information display and device.
Background technology
Along with the development of mobile communication technology, mobile terminal has been deep in people's life.User can browse social latest tendency by mobile terminal Internet access.In order to make user understand more easily current Domestic News, technician has developed various news clients.
In prior art, only mobile terminal in networking state under, news client could push news, that is to say, under the state of mobile terminal in Wi-Fi (Wireless-Fidelity, Wireless Fidelity) or 2G/3G/4G, user just can read news by news client.Yet the coverage of Wi-Fi is limited, mobile terminal is not can be connected to wireless network anywhere, and on the other hand, the 2G/3G/4G flow set meal that operator provides to user is also limited.
When user is not in covering carrier network and not covering the place of Wi-Fi,, when mobile terminal is during in off-line state, electronic equipment can not receive the news of news client push; And when user's 2G/3G/4G flow set meal is used up, if electronic equipment continues to receive the news of news client push, need to pay high campus network for this reason.From the above, when mobile terminal is during in situation that off-line state or flow set meal are used up, can have influence on user and read Domestic News.
Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses a kind of window display method, device.Technical scheme is as follows:
A method for information display, is applied to mobile terminal, and method comprises:
Detect the residing network environment of described mobile terminal;
When the particular network environment of described network environment in setting in advance, to server, send information download request, so that described server is after receiving described information download request, to described mobile terminal, send information;
Receive and preserve described information;
After receiving user's the reading command that is directed to described information, respond described reading command, obtain the information of having preserved;
The information of obtaining described in showing on the display interface of described mobile terminal.
Optionally, in above-mentioned method for information display, described before server transmission information download request, also comprise:
On the display interface of described mobile terminal, be provided for showing current network environment, and point out user whether to proceed the prompting download information of downloading;
After receiving the instruction that confirmation that user sends based on information downloads, continue to send information download request to server.
Optionally, in above-mentioned method for information display, described in the particular network environment that sets in advance be Wi-Fi network.
Optionally, in above-mentioned method for information display, described after receiving user's the reading command that is directed to described information, respond described reading command and obtain the information of having preserved, comprising:
Detect the residing network environment of described mobile terminal, if described mobile terminal, in off-line state or 2G/3G/4G state, after receiving user's the reading command that is directed to described information, responds described reading command and obtains the information of having preserved.
Optionally, in above-mentioned method for information display, after receiving and preserve described information, described method also comprises:
Receive user for the reading command of the first information;
Determine that the described first information whether in the information of described preservation, if so, obtains the described first information from the information of described preservation, and the first information obtaining described in showing on the display interface of described mobile terminal.
Optionally, in above-mentioned method for information display, before the residing network environment of the described mobile terminal of described detection, also comprise:
The information that whether starts download is provided on the display interface of described mobile terminal;
The residing network environment of the described mobile terminal of described detection comprises:
Start after the instruction of downloading receiving the confirmation that user sends based on described information, just detect the step of the residing network environment of described mobile terminal.
Optionally, in above-mentioned method for information display, described server, after receiving described information download request, sends information to described mobile terminal, comprising:
Described server is after receiving described information download request, take current point in time as start time point, the information that is N by quantity sends to described mobile terminal, and the information that described quantity is N is distance nearest N bar information of described start time point time, and N is more than or equal to 1 natural number.
Optionally, in above-mentioned method for information display, described information comprises word and picture;
Described reception is also preserved described information, comprising:
Preserve described word to wide area information server table;
Obtain the network address of described picture, the network address of described picture is carried out to data conversion algorithm computing, obtain the algorithm values of the network address of picture, preserve described algorithm values to described database table;
Preserve described picture is on the region of filename name based on respective algorithms value to storer;
The described information of having preserved of obtaining, comprising:
In described database table, obtain the algorithm values of the word segment of described information and the picture of described information part;
According to the algorithm values of the picture part of described information, in the storage area of described storer, obtain the picture part of described information.
Optionally, in above-mentioned method for information display, described information is news.
Corresponding with said method, the embodiment of the present invention also provides a kind of information display device, is applied to mobile terminal;
Device comprises:
First network environmental detection unit, for detection of the residing network environment of described mobile terminal;
Download request transmitting element, for when the particular network environment of described network environment in setting in advance, sends information download request to server, so that described server is after receiving described information download request, to described mobile terminal, sends information;
Information storage unit, for receiving and preserve described information;
Information acquisition unit, for after receiving user's the reading command that is directed to described information, responds described reading command, obtains the information of having preserved;
Information display unit, for the information of obtaining described in demonstration on the display interface of described mobile terminal.
Optionally, in above-mentioned information display device, also comprise:
Prompting download information display unit, was provided for showing current network environment, and points out user whether to proceed the prompting download information of downloading for described before server transmission information download request on the display interface of described mobile terminal;
Described download request transmitting element, after receiving the instruction that confirmation that user sends based on information downloads, continues to send information download request to server.
Optionally, in above-mentioned information display device, described in the particular network environment that sets in advance be Wi-Fi network.
Optionally, in above-mentioned information display device, described information acquisition unit comprises:
Second network environment measuring module, for detection of the residing network environment of described mobile terminal;
Acquisition of information module, if described mobile terminal detected in off-line state or 2G/3G/4G state for second network environment measuring module, after receiving user's the reading command that is directed to described information, respond described reading command and obtain the information of having preserved.
Optionally, in above-mentioned information display device, described device also comprises:
Reading command receiving element, for receiving and reporting and preserve after described information, receives user for the reading command of the first information;
Information determining unit, for determining that the described first information, whether in the information of described preservation, if so, obtains the described first information from the information of described preservation, and the first information obtaining described in showing on the display interface of described mobile terminal.
Optionally, in above-mentioned information display device, also comprise:
Download log-on message display unit;
Described download log-on message display unit before detecting the residing network environment of described mobile terminal, provides the information that whether starts download for described first network environmental detection unit on the display interface of described mobile terminal;
Described first network environmental detection unit starts after the instruction of downloading receiving the confirmation that user sends based on described information, just detects the step of the residing network environment of described mobile terminal.
Optionally, in above-mentioned information display device, described information comprises word and picture;
Described information storage unit, comprising:
Module preserved in word, for preserving described word to wide area information server table;
Picture address acquisition module, for obtaining the network address of described picture, carries out data conversion algorithm computing to the network address of described picture, obtains the algorithm values of the network address of picture, preserves described algorithm values to described database table;
Picture is preserved module, for preserving described picture, is the region of filename name to storer based on respective algorithms value;
Described information acquisition unit, comprising:
The first acquisition module, for obtaining the algorithm values of the word segment of described information and the picture of described information part at described database table;
The second acquisition module for according to the algorithm values of the picture part of described information, obtains the picture part of described information in the storage area of described storer.
Optionally, in above-mentioned information display device, described information is news.
The method that the embodiment of the present invention provides and device, during particular network environment at mobile terminal in setting in advance, download and preserve at least one information in this mobile terminal, therefore, no matter this mobile terminal is follow-up in which kind of network environment, as long as after the reading command of the information that is directed to that receives user, can on this mobile terminal, obtain and show the above-mentioned information of downloading in advance and preserving, no matter make mobile terminal in which kind of network environment, user can carry out by mobile terminal the reading of information.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of schematic flow sheet of the method for information display that Fig. 1 provides for the embodiment of the present invention;
The another kind of schematic flow sheet of the method for information display that Fig. 2 provides for the embodiment of the present invention;
A kind of prompting interface that Fig. 3 provides for Fig. 2 embodiment of the present invention;
Another prompting interface that Fig. 4 provides for Fig. 2 embodiment of the present invention;
A kind of structural representation of the information display device that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
With reference to figure 1, the embodiment of the present invention provides a kind of schematic flow sheet of method for information display, is applied to mobile terminal.
The method can comprise:
S110: detect the residing network environment of mobile terminal.
The executive agent of the method is mobile terminal, and mobile terminal can be mobile phone, panel computer etc.Further, the method can be applied to a certain client in mobile terminal, as news client.
The residing network environment of mobile terminal can be WI-FI network, or 2G/3G/4G network, or off-line state.When user is not in covering carrier network and not covering the place of Wi-Fi, when mobile terminal is in off-line state.
When needs detect the residing network environment of mobile terminal, can in the client software of mobile terminal, carry out corresponding solicit operation, for example, click certain function button, carry out certain menu option, or by some specific prompt operation, with triggering following, detect the step of the residing network environment of mobile terminal.The embodiment of the present invention does not need to limit to the concrete form of user's start detection step.
S120: when the particular network environment of network environment in setting in advance, mobile terminal sends information download request to server, so that server is after receiving above-mentioned information download request, sends information to mobile terminal.
The particular network environment setting in advance can be WI-FI network or 2G/3G/4G network, and preferred, the particular network setting in advance is WI-FI network.When the residing network environment of mobile terminal being detected and be WI-FI network, mobile terminal can directly send information download request to server.On the other hand, if the residing network environment of mobile terminal being detected is 2G/3G/4G network, can eject prompted dialog frame to user, the current network environment of the reminding user of take is 2G/3G/4G network, avoid user not know residing network environment and Download Info causes the waste of flow.
Server, after receiving above-mentioned information download request, sends at least one information to mobile terminal.Further, can send the N bar information setting in advance, as 20 information.When server receives after information download request, to mobile terminal, send 20 information that set in advance.The quantity of the information that the embodiment of the present invention sends does not need to limit.
S130: receive and preserve information.
S140: after the reading command of the information that is directed to that receives user, response reading command, obtains the information of having preserved.
Mobile terminal, when obtaining the information of having preserved, can obtain 1 information of having preserved, or can obtain the above-mentioned N bar information setting in advance.
S150: show the information of obtaining on the display interface of mobile terminal.
The method that the embodiment of the present invention provides, during particular network environment at mobile terminal in setting in advance, download and preserve at least one information in this mobile terminal, no matter this mobile terminal is follow-up in which kind of network environment, as long as after the reading command of the information that is directed to that receives user, can on this mobile terminal, obtain and show the above-mentioned information of downloading in advance and preserving, no matter make mobile terminal follow-up in which kind of network environment, user can carry out by mobile terminal the reading of information.
Below in conjunction with Fig. 2, a kind of schematic flow sheet of the method for information display of the present invention of detailed introduction.
S210: detect the residing network environment of mobile terminal.
In other embodiments, before detecting the residing network environment of mobile terminal, can also comprise:
The information that whether starts download is provided on the display interface of mobile terminal;
Start after the instruction of downloading receiving the confirmation that user sends based on this information, just detect the step of the residing network environment of mobile terminal.
During actual displayed, can on the display interface of mobile terminal, show prompting interface as shown in Figure 3, on this prompting interface, provide the prompting download information that whether starts download, as shown the prompting icon of "Yes" "No" on interface.When user selects "Yes", proceed S210, when user selects "No", can process ends.
S220: when the particular network environment of network environment in setting in advance, be provided for showing current network environment on the display interface of mobile terminal, and point out user whether to proceed the prompting download information of downloading.
Above-mentioned network environment can be 2G/3G/4G network.When network environment is during in 2G/3G/4G network, the network environment current in the demonstration of mobile terminal is 2G/3G/4G network, and the prompting download information downloaded whether proceeded is provided.During actual displayed, can on the display interface of mobile terminal, show prompting interface as shown in Figure 4, on this prompting interface, provide the prompting download information of whether proceeding download, as shown " determining " " cancellation " icon on interface.When user selects " determining ", proceed S230, when user selects " cancellation ", can process ends.
Optionally, in other embodiments of the invention, the above-mentioned network environment setting in advance can be Wi-Fi network.When network environment being detected in Wi-Fi network, can on the display interface of mobile terminal, show that current network environment is Wi-Fi network, and the prompting download information of whether proceeding download is provided.Certainly, be understandable that, when network environment being detected in Wi-Fi network, also can only at the display interface of mobile terminal, providing the prompting download information downloaded whether proceeded.
Whether further, mobile terminal can judge current network state, different according to network state, ejects different prompted dialog frames, to point out user to continue to download.If in the current situation in WI-FI network, eject the first prompted dialog frame, the current network environment of the reminding user of take is WI-FI network, if in the current situation in 2G/3G/4G network, eject the second prompted dialog frame, the current network environment of the reminding user of take is 2G/3G/4G network.Mobile terminal judges current network state, according to different network states, eject different prompting interfaces, with prompting user, whether continue to download, can avoid like this user's Download Info in the situation that not knowing whether in wireless network, thereby avoid the loss that causes due to a large amount of wanderings of waste.
Further, can also be when the network environment setting in advance being detected and be Wi-Fi network, to user, do not provide the prompting download information downloaded whether proceeded, proceed S230.
S230: after receiving the instruction that confirmation that user sends based on information downloads, continue to send information download request to server, so that server is after receiving information download request, send information to mobile terminal.
Further, server, after receiving information download request, can current point in time be start time point, and the information that is N by quantity sends to mobile terminal, quantity is that the information of N is the N bar information nearest apart from the start time point time, and N is more than or equal to 1 natural number.Concrete, the information that server sends can be news information.
For example, server is after receiving information download request, the current point in time of take while receiving download request is starting point, and the news that can be 20 by quantity sends to mobile terminal, the information that quantity is 20 for distance the above-mentioned start time point time nearest be 20 up-to-date news.
S240: receive and preserve information.
Below the detailed mobile terminal of introducing receive and preserve information to the implementation procedure of database.
In one embodiment of the invention, above-mentioned information can comprise word and picture, when mobile terminal is preserved information, word and picture can be preserved respectively, for example, preserves word to wide area information server table; Obtain the network address of picture, the network address of picture is carried out to data conversion algorithm computing, obtain the algorithm values of the network address of picture; Preserve algorithm values to database table, and in the storage space of storer, take this algorithm values to set up new file as filename; Then, by picture, be that picture in network address is saved in storer be on the region of filename name based on respective algorithms value.
Above-mentioned database table can be SQLlite database, and data conversion algorithm computing can be MD5 (Message Digest Algorithm MD5, Chinese Message Digest Algorithm 5 by name) conversion.
Further, information can be preserved with JSON file corresponding to Webpage, and the word segment in information can comprise article ID numbering, article title, article particular content, author, comment number.Picture in information comprises the picture comprising in small icon that article is corresponding and article content.Server by least one information in the mode of JSON to mobile terminal, the client software of mobile terminal receives this information.The client software of mobile terminal, after receiving information, is automatically resolved and is returned to corresponding JSON file, and JSON file is as shown in table 1.
Table 1
In JSON file, comprise the information such as picture that comprise in article ID numbering, article title, article particular content, author, small icon that article is corresponding, article content.Client software can, according to the content in JSON file, store word segment in field corresponding in SQLite database into.Picture in information carries out download process with another thread.
For example, a picture address in table 1 " picture comprising in article content ": " http://img1.mydrivers.com/img/20140331/610786af83014b0dae35235e 1672de65_300.jpg ", if the picture on this address is saved in the storer of smart machine, must exist in the mode of file, therefore, this network address need to be carried out to data conversion algorithm computing, concrete can carry out MD5 computing, the MD5 value of the network address obtaining is: 97B50E82354EE3240C8A46F2D7B5C3A0, corresponding file is by name: cache_97B50E82354EE3240C8A46F2D7B5C3A0, the position that is saved in smart machine internal storage is:
data\com.mydrivers.newsclient\cache\cache_97B50E82354EE3240C8A46F2D7B5C3A0,
Other picture is all adopted to use the same method and is downloaded and preserve, and at this, does not repeat.
S250: after the reading command of the information that is directed to that receives user, response reading command, obtains the information of having preserved.
Concrete, S250 can comprise:
Detect the residing network environment of described mobile terminal, if described mobile terminal, in off-line state or 2G/3G state, after receiving user's the reading command that is directed to described information, responds described reading command and obtains the information of having preserved.
That is to say, if preserved the information that user will read, after receiving the reading command of user for this information, if current mobile terminal is in wifi network, can carry out in real time download and the displaying of information so, if but current mobile terminal in off-line state or 2G/3G/4G state, can directly go to obtain the information of having preserved, therefore, do not need consumed flow.
For example, before S250, can detect the residing network environment of mobile terminal, if mobile terminal, in off-line state or 2G/3G/4G state, continues the step of response S250.
If mobile terminal is in 2G/3G/4G state, all right:
The indication of whether further reading is provided on the display interface of mobile terminal;
After receiving the download instruction that user selects determine to download, continue the step of response reading command.
In above-mentioned S250 step, obtain the information of having preserved and may further include: obtain the information that M bar has been preserved, M≤N and for being more than or equal to 1 natural number.That is to say, the number needs of user's reading information is less than and equals to protect stored quantity.
If information comprises word and picture, and the mode that has adopted word exemplary in aforementioned S240 and picture separately to preserve in S240, in S250, obtaining the information of having preserved, can comprise:
The algorithm values of the word segment of obtaining information and the picture of information part in database table; According to the algorithm values of the picture part of information, in the storage area of storer, obtain the picture part of described information.
S260: show the information of obtaining on the display interface of mobile terminal.
The article list content of the present embodiment request server, the content that mobile terminal provides by intelligently parsing is by article content and picture.Word segment is stored in SQLite database, picture is according to by the corresponding network address of figure, with the method for MD5 value, be saved in the region of storer of appointment, when user is not accessing high speed internet or user when using 2G/3G/4G network, can be without again downloading word and picture, thus reach the object of saving user's use traffic expense.
In other embodiments of the invention, above-mentioned 240 receive and preserve information after, can also comprise: receive user for the reading command of the first information; Determine that this first information whether in the information of above-mentioned preservation, if so, obtains this first information, and show the first information obtaining on the display interface of mobile terminal from the information of above-mentioned preservation.
Be understandable that, client can walk abreast and carry out with the normal use of user customer for download and the preservation of information.In other words, at specific net environment, user can normally use client, and in the situation that not affecting user's use, client can be carried out above-mentioned method, for example, open in addition the above-mentioned method of thread execution, and partial information is received and preserved.When subsequent user need to be read certain information, the first information for example, client can judge whether the first information has carried out downloading preserves, and if so,, without again downloading, has saved network traffics.
For example, client can be news client, and information can be news, and the first information can be news item, any news item that this news pushes on can the news client for mobile terminal.The reading command of the first information can be when detecting user and click a certain news, the news reading command for this news sending to news client.
And news client is when downloading and preserve news, can be by all picture addresses in this news, as picture url address is all retrieved.News client can separately be opened thread according to the download word of above-mentioned S240 and the mode of picture in the situation that not affecting user and using and read news, and the word segment of part news and picture are partly downloaded and preserved.When user selects news item to read by news client, news client can first go to search and whether download this news in database and storer, if so, and without again downloading.This method can improve speed of download, and if when user reads under 2G/3G/4G network condition, need to all will again not download news in each reading, has saved network traffics.
Information in above-mentioned all embodiment can be all news, take news below as example, and the implementation procedure of above-described embodiment is described.
Above-mentioned mobile terminal be take mobile phone as example, and other mobile terminals such as panel computer can be with reference to the implementation method of mobile phone, and therefore not to repeat here.
Mobile phone is when Wi-Fi network, user browses news by the news client on mobile phone, in the user interface of news client, be provided with off-line download button, after user's click on offline download button, news client is by the current network type of judgement, if Wi-Fi network, to the server download request of transmitting news, server can be according to this download request, and by pre-stored up-to-date N bar news, for example 20 news send to news client.20 news that news client server sends, and download picture and the word in news article, the word content of news is deposited in mobile phone memory wide area information server table, and the value that the network address of picture is carried out after MD5 computing stores in above-mentioned database table equally, and the picture in news is saved in storer based on MD5 value on the region for filename name.
And after user's click on offline download button, news client judges current network type, judge when current network type is 2G/3G/4G state, news client can eject information in the user interface of mobile phone, example as shown in Figure 4, whether prompting user proceeds to download, if user selects to continue to download, from server, download picture and the word in news article, the word content of news deposits in mobile phone memory wide area information server table, the network address of picture carries out storing into equally in above-mentioned database table after MD5 computing, picture in news is saved in storer based on MD5 value on the region for filename name.
When mobile phone is in off-line state time, if user need to read news, news client downloads to local news before can reading in storer according to being chosen in of user, and news is presented in the user interface of mobile phone.And when mobile phone is in 2G/3G/4G time, if user clicks certain news and reads, the MD5 value that news client can first go to take in storer this news picture network address is retrieved as key, if existed, just no longer again download this news, when not existing, just can ask internet to download this news, can save like this user's mobile phone flow.
With reference to figure 5, corresponding with foregoing invention device, the embodiment of the present invention also provides a kind of information display device, is applied to mobile terminal, and device comprises:
First network environmental detection unit 100, for detection of the residing network environment of described mobile terminal;
Download request transmitting element 110, for when the particular network environment of described network environment in setting in advance, sends information download request to server, so that described server is after receiving described information download request, to described mobile terminal, sends information;
Information storage unit 120, for receiving and preserve described information;
Information acquisition unit 130, for after receiving user's the reading command that is directed to described information, responds described reading command, obtains the information of having preserved;
Information display unit 140, for the information of obtaining described in demonstration on the display interface of described mobile terminal.
The device that the embodiment of the present invention provides, during particular network environment at mobile terminal in setting in advance, download and preserve at least one information in this mobile terminal, no matter this mobile terminal is follow-up in which kind of network environment, as long as after the reading command of the information that is directed to that receives user, can on this mobile terminal, obtain and show the above-mentioned information of downloading in advance and preserving, no matter make mobile terminal in which kind of network environment, user can carry out by mobile terminal the reading of information.
Further, in other embodiments of the invention, in above-mentioned information display device, also comprise:
Prompting download information display unit, was provided for showing current network environment, and points out user whether to proceed the prompting download information of downloading for described before server transmission information download request on the display interface of described mobile terminal;
Described download request transmitting element, after receiving the instruction that confirmation that user sends based on information downloads, continues to send information download request to server.
Further, in other embodiments of the invention, in above-mentioned information display device, described in the particular network environment that sets in advance be Wi-Fi network.
Further, in other embodiments of the invention, in above-mentioned information display device, described information acquisition unit comprises:
Second network environment measuring module, for detection of the residing network environment of described mobile terminal;
Acquisition of information module, if described mobile terminal detected in off-line state or 2G/3G/4G state for second network environment measuring module, after receiving user's the reading command that is directed to described information, respond described reading command and obtain the information of having preserved.
Further, in other embodiments of the invention, in above-mentioned information display device, described device also comprises:
Reading command receiving element, for receiving and reporting and preserve after described information, receives user for the reading command of the first information;
Information determining unit, for determining that the described first information, whether in the information of described preservation, if so, obtains the described first information from the information of described preservation, and the first information obtaining described in showing on the display interface of described mobile terminal.
Further, in other embodiments of the invention, in above-mentioned information display device, also comprise and download log-on message display unit;
Described download log-on message display unit before detecting the residing network environment of described mobile terminal, provides the information that whether starts download for described first network environmental detection unit on the display interface of described mobile terminal;
Described first network environmental detection unit starts after the instruction of downloading receiving the confirmation that user sends based on described information, just detects the step of the residing network environment of described mobile terminal.
Further, in other embodiments of the invention, in above-mentioned information display device, described information comprises word and picture;
Described information storage unit, comprising:
Module preserved in word, for preserving described word to wide area information server table;
Picture address acquisition module, for obtaining the network address of described picture, carries out data conversion algorithm computing to the network address of described picture, obtains the algorithm values of the network address of picture, preserves described algorithm values to described database table;
Picture is preserved module, for preserving described picture, is the region of filename name to storer based on respective algorithms value;
Described information acquisition unit, comprising:
The first acquisition module, for obtaining the algorithm values of the word segment of described information and the picture of described information part at described database table;
The second acquisition module for according to the algorithm values of the picture part of described information, obtains the picture part of described information in the storage area of described storer.
Further, in other embodiments of the invention, in above-mentioned information display device, described information is news.
It should be noted that, in this article, such as with the second grade relational terms be only used for an entity or operation to separate with another entity or operational zone, and not necessarily require or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, here alleged storage medium, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (17)

1. a method for information display, is characterized in that, is applied to mobile terminal, and method comprises:
Detect the residing network environment of described mobile terminal;
When the particular network environment of described network environment in setting in advance, to server, send information download request, so that described server is after receiving described information download request, to described mobile terminal, send information;
Receive and preserve described information;
After receiving user's the reading command that is directed to described information, respond described reading command, obtain the information of having preserved;
The information of obtaining described in showing on the display interface of described mobile terminal.
2. method according to claim 1, is characterized in that, described before server transmission information download request, also comprises:
On the display interface of described mobile terminal, be provided for showing current network environment, and point out user whether to proceed the prompting download information of downloading;
After receiving the instruction that confirmation that user sends based on information downloads, continue to send information download request to server.
3. method according to claim 1 and 2, is characterized in that, described in the particular network environment that sets in advance be Wi-Fi network.
4. method according to claim 3, is characterized in that, described after receiving user's the reading command that is directed to described information, responds described reading command and obtains the information of having preserved, and comprising:
Detect the residing network environment of described mobile terminal, if described mobile terminal, in off-line state or 2G/3G/4G state, after receiving user's the reading command that is directed to described information, responds described reading command and obtains the information of having preserved.
5. method according to claim 3, is characterized in that, after receiving and preserve described information, described method also comprises:
Receive user for the reading command of the first information;
Determine that the described first information whether in the information of described preservation, if so, obtains the described first information from the information of described preservation, and the first information obtaining described in showing on the display interface of described mobile terminal.
6. method according to claim 1, is characterized in that, before the residing network environment of the described mobile terminal of described detection, also comprises:
The information that whether starts download is provided on the display interface of described mobile terminal;
The residing network environment of the described mobile terminal of described detection comprises:
Start after the instruction of downloading receiving the confirmation that user sends based on described information, just detect the step of the residing network environment of described mobile terminal.
7. method according to claim 1, is characterized in that, described server, after receiving described information download request, sends information to described mobile terminal, comprising:
Described server is after receiving described information download request, take current point in time as start time point, the information that is N by quantity sends to described mobile terminal, and the information that described quantity is N is distance nearest N bar information of described start time point time, and N is more than or equal to 1 natural number.
8. method according to claim 1, is characterized in that, described information comprises word and picture;
Described reception is also preserved described information, comprising:
Preserve described word to wide area information server table;
Obtain the network address of described picture, the network address of described picture is carried out to data conversion algorithm computing, obtain the algorithm values of the network address of picture, preserve described algorithm values to described database table;
Preserve described picture is on the region of filename name based on respective algorithms value to storer;
The described information of having preserved of obtaining, comprising:
In described database table, obtain the algorithm values of the word segment of described information and the picture of described information part;
According to the algorithm values of the picture part of described information, in the storage area of described storer, obtain the picture part of described information.
9. according to the method described in claim 1-8 any one, it is characterized in that, described information is news.
10. an information display device, is characterized in that, is applied to mobile terminal, and device comprises:
First network environmental detection unit, for detection of the residing network environment of described mobile terminal;
Download request transmitting element, for when the particular network environment of described network environment in setting in advance, sends information download request to server, so that described server is after receiving described information download request, to described mobile terminal, sends information;
Information storage unit, for receiving and preserve described information;
Information acquisition unit, for after receiving user's the reading command that is directed to described information, responds described reading command, obtains the information of having preserved;
Information display unit, for the information of obtaining described in demonstration on the display interface of described mobile terminal.
11. devices according to claim 10, is characterized in that, also comprise:
Prompting download information display unit, was provided for showing current network environment, and points out user whether to proceed the prompting download information of downloading for described before server transmission information download request on the display interface of described mobile terminal;
Described download request transmitting element, after receiving the instruction that confirmation that user sends based on information downloads, continues to send information download request to server.
12. according to the device described in claim 10 or 11, it is characterized in that, described in the particular network environment that sets in advance be Wi-Fi network.
13. devices according to claim 12, is characterized in that, described information acquisition unit comprises:
Second network environment measuring module, for detection of the residing network environment of described mobile terminal;
Acquisition of information module, if described mobile terminal detected in off-line state or 2G/3G/4G state for second network environment measuring module, after receiving user's the reading command that is directed to described information, respond described reading command and obtain the information of having preserved.
14. devices according to claim 12, is characterized in that, described device also comprises:
Reading command receiving element, for receiving and reporting and preserve after described information, receives user for the reading command of the first information;
Information determining unit, for determining that the described first information, whether in the information of described preservation, if so, obtains the described first information from the information of described preservation, and the first information obtaining described in showing on the display interface of described mobile terminal.
15. devices according to claim 10, is characterized in that, also comprise and download log-on message display unit;
Described download log-on message display unit before detecting the residing network environment of described mobile terminal, provides the information that whether starts download for described first network environmental detection unit on the display interface of described mobile terminal;
Described first network environmental detection unit starts after the instruction of downloading receiving the confirmation that user sends based on described information, just detects the step of the residing network environment of described mobile terminal.
16. devices according to claim 10, is characterized in that, described information comprises word and picture;
Described information storage unit, comprising:
Module preserved in word, for preserving described word to wide area information server table;
Picture address acquisition module, for obtaining the network address of described picture, carries out data conversion algorithm computing to the network address of described picture, obtains the algorithm values of the network address of picture, preserves described algorithm values to described database table;
Picture is preserved module, for preserving described picture, is the region of filename name to storer based on respective algorithms value;
Described information acquisition unit, comprising:
The first acquisition module, for obtaining the algorithm values of the word segment of described information and the picture of described information part at described database table;
The second acquisition module for according to the algorithm values of the picture part of described information, obtains the picture part of described information in the storage area of described storer.
17. according to the device described in claim 10-16 any one, it is characterized in that, described information is news.
CN201410282851.XA 2014-06-23 2014-06-23 A kind of method for information display and device Active CN104021218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410282851.XA CN104021218B (en) 2014-06-23 2014-06-23 A kind of method for information display and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410282851.XA CN104021218B (en) 2014-06-23 2014-06-23 A kind of method for information display and device

Publications (2)

Publication Number Publication Date
CN104021218A true CN104021218A (en) 2014-09-03
CN104021218B CN104021218B (en) 2018-01-19

Family

ID=51437972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410282851.XA Active CN104021218B (en) 2014-06-23 2014-06-23 A kind of method for information display and device

Country Status (1)

Country Link
CN (1) CN104021218B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346460A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for downloading file and browser client
WO2016011749A1 (en) * 2014-07-21 2016-01-28 小米科技有限责任公司 Off-line update method and device for light application, and terminal
CN105657071A (en) * 2016-04-01 2016-06-08 太仓日森信息技术有限公司 Live telecast push method based on network environments
CN105656664A (en) * 2015-12-23 2016-06-08 小米科技有限责任公司 Information display method and device
CN106528193A (en) * 2015-09-15 2017-03-22 腾讯科技(深圳)有限公司 Application update method and terminal
US9672026B2 (en) 2014-07-21 2017-06-06 Xiaomi Inc. Light app offline updating method, device and terminal
CN107026895A (en) * 2017-01-12 2017-08-08 阿里巴巴集团控股有限公司 Method for pushing, device and the server of the application list data
CN107995375A (en) * 2018-01-18 2018-05-04 广东欧珀移动通信有限公司 A kind of information-pushing method, mobile terminal and storage medium
CN108255371A (en) * 2018-01-18 2018-07-06 广东欧珀移动通信有限公司 A kind of method for pushing of information, mobile terminal and storage medium
CN109376323A (en) * 2018-09-11 2019-02-22 平安科技(深圳)有限公司 Using operation method, device, computer installation and storage medium
WO2019096269A1 (en) * 2017-11-16 2019-05-23 中兴通讯股份有限公司 Management method for presetting third-party application, intelligent terminal and storage medium
CN113360195A (en) * 2021-06-07 2021-09-07 挂号网(杭州)科技有限公司 Protocol loading method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378163A (en) * 2011-10-21 2012-03-14 福州博远无线网络科技有限公司 Method for quickly downloading file by mobile phone user
CN102571921A (en) * 2011-12-09 2012-07-11 广东威创视讯科技股份有限公司 Network access method and device for mobile equipment
US20120209969A1 (en) * 2009-11-04 2012-08-16 Zte Corporation Browser adjusting method and mobile terminal
CN103067481A (en) * 2012-12-24 2013-04-24 北京奇虎科技有限公司 Data transmission method, device and system
CN103379472A (en) * 2012-04-12 2013-10-30 腾讯科技(深圳)有限公司 File downloading method, device and mobile terminal
CN103685474A (en) * 2013-11-21 2014-03-26 中兴通讯股份有限公司 File downloading method and file downloading device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120209969A1 (en) * 2009-11-04 2012-08-16 Zte Corporation Browser adjusting method and mobile terminal
CN102378163A (en) * 2011-10-21 2012-03-14 福州博远无线网络科技有限公司 Method for quickly downloading file by mobile phone user
CN102571921A (en) * 2011-12-09 2012-07-11 广东威创视讯科技股份有限公司 Network access method and device for mobile equipment
CN103379472A (en) * 2012-04-12 2013-10-30 腾讯科技(深圳)有限公司 File downloading method, device and mobile terminal
CN103067481A (en) * 2012-12-24 2013-04-24 北京奇虎科技有限公司 Data transmission method, device and system
CN103685474A (en) * 2013-11-21 2014-03-26 中兴通讯股份有限公司 File downloading method and file downloading device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016011749A1 (en) * 2014-07-21 2016-01-28 小米科技有限责任公司 Off-line update method and device for light application, and terminal
US9672026B2 (en) 2014-07-21 2017-06-06 Xiaomi Inc. Light app offline updating method, device and terminal
CN104346460A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for downloading file and browser client
CN104346460B (en) * 2014-11-07 2018-09-21 北京奇虎科技有限公司 Carry out the method, apparatus and browser client of file download
CN106528193A (en) * 2015-09-15 2017-03-22 腾讯科技(深圳)有限公司 Application update method and terminal
CN106528193B (en) * 2015-09-15 2019-11-12 腾讯科技(深圳)有限公司 A kind of application update method and terminal
CN105656664A (en) * 2015-12-23 2016-06-08 小米科技有限责任公司 Information display method and device
CN105657071B (en) * 2016-04-01 2018-11-30 盐城吉大智能终端产业研究院有限公司 A kind of live information method for pushing of Network Environment
CN105657071A (en) * 2016-04-01 2016-06-08 太仓日森信息技术有限公司 Live telecast push method based on network environments
CN107026895A (en) * 2017-01-12 2017-08-08 阿里巴巴集团控股有限公司 Method for pushing, device and the server of the application list data
WO2019096269A1 (en) * 2017-11-16 2019-05-23 中兴通讯股份有限公司 Management method for presetting third-party application, intelligent terminal and storage medium
US11144312B2 (en) 2017-11-16 2021-10-12 Zte Corporation Management method for preset third-party applications, intelligent terminal and storage medium
CN108255371A (en) * 2018-01-18 2018-07-06 广东欧珀移动通信有限公司 A kind of method for pushing of information, mobile terminal and storage medium
CN107995375A (en) * 2018-01-18 2018-05-04 广东欧珀移动通信有限公司 A kind of information-pushing method, mobile terminal and storage medium
CN109376323A (en) * 2018-09-11 2019-02-22 平安科技(深圳)有限公司 Using operation method, device, computer installation and storage medium
CN113360195A (en) * 2021-06-07 2021-09-07 挂号网(杭州)科技有限公司 Protocol loading method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104021218B (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN104021218A (en) Information display method and device
CN107911487B (en) Information pushing method and device, server and readable storage medium
US9584612B2 (en) Systems and methods for pushing applications
CN103685528B (en) Information displaying method and device
CN107888703B (en) Information pushing method and device, server and readable storage medium
CN107872534B (en) Information pushing method and device, server and readable storage medium
CN109462632B (en) Page jump method, page jump device, computer equipment and computer readable storage medium
CN103544027B (en) Method and electronic device for controlling application updating
CN108319662A (en) Page processing method, device, electronic equipment and readable storage medium storing program for executing
CN103874032A (en) Information pushing method and device based on mobile terminals
CN103473302A (en) Lock screen information display method, device and system
CN102904912B (en) Method and system for downloading webpage contents
CN104380769A (en) Information reminding method, apparatus, and electronic terminal
CN105867714A (en) Application downloading method, apparatus and system
CN103678307A (en) Page display method and client-side
CN111159269B (en) Data processing method, device and system
CN103810176A (en) Pre-fetching accessing method and device of webpage information
CN106850780A (en) System-level application information recommends method, device and mobile terminal
CN103414765A (en) Method, device and system for shunting information in graphic code
CN113242308A (en) Information pushing method, device, equipment and storage medium
CN108319624B (en) Data loading method and device
CN104572710A (en) Webpage information processing method and device
CN108196902A (en) For showing the method and apparatus for advertisement of spreading its tail
CN107391763A (en) Information display method and device
CN105159692B (en) Identification method, device and the server of application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100041 Beijing, Shijingshan District Xing Xing street, building 30, No. 3, building 2, A-0071

Patentee after: Beijing cheetah Mobile Technology Co., Ltd.

Address before: 100041 Beijing city Shijingshan District Badachu high tech Park West Wells Road No. 3 Building No. 3 1100A

Patentee before: SHELL INTERNET (BEIJING) SECURITY TECHNOLOGY CO., LTD.

CP03 Change of name, title or address