CN103198125B - The control method of page data loading and system - Google Patents
The control method of page data loading and system Download PDFInfo
- Publication number
- CN103198125B CN103198125B CN201310118790.9A CN201310118790A CN103198125B CN 103198125 B CN103198125 B CN 103198125B CN 201310118790 A CN201310118790 A CN 201310118790A CN 103198125 B CN103198125 B CN 103198125B
- Authority
- CN
- China
- Prior art keywords
- loading
- touch screen
- page data
- touch operation
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000007906 compression Methods 0.000 claims description 10
- 230000006835 compression Effects 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 8
- 238000013144 data compression Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses the control method that a kind of page data loads, the method is by detecting the touch operation of user, determine the preferential loading area of page data according to touch operation and the data of preferential loading area are preferentially loaded, under limited network condition, the interface realizing user interested preferentially loads, and reduces the uninterested interface content of user and loads online space and the time occupying user.The invention also discloses the control system that a kind of page data loads.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method and a system for controlling page data loading.
Background
With the popularization of mobile terminals with touch screens, more and more users browse webpages, read articles, browse videos and the like through the touch screen mobile terminals. Currently, the order of loading page data by a mobile terminal is gradually displayed from top to bottom, and the content that may be interested by a user is at the end of the loading order. On the premise of not changing network resources, a method is found, which can realize the prior loading of the interface which is interested by the user, reduce the occupation of the internet access space and time of the loading of the interface content which is not interested by the user, and is a difficult problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a control method for loading page data, aiming at realizing the prior loading of an interface which is interested by a user under the limited network condition and reducing the occupied internet space and time of the user for loading the interface content which is not interested by the user.
The invention also provides a control system for loading the page data, which aims to realize the preferential loading of the interface which is interested by the user under the limited network condition and reduce the occupation of the internet surfing space and time of the loading of the interface content which is not interested by the user.
The invention provides a control method for loading page data, which comprises the following steps: detecting touch operation of a user; determining a priority loading area of page data according to the detected touch operation of the user; and suspending the data loading of the data area which is currently prepared or loaded by the page, and loading the page data of the priority loading area.
Preferably, the method further comprises: and compressing the page data outside the priority loading area according to a preset compression ratio.
Preferably, the step of determining a priority loading area of the page data according to the detected touch operation of the user includes: acquiring a touch screen track of the touch operation; and determining a priority loading area of the page data according to the acquired touch screen track of the touch operation and the area layout of the page.
Preferably, the acquiring a touch screen track of the touch operation includes: a start point and an end point of the touch operation.
Preferably, the starting point and the ending point of the touch screen track are determined to be diagonal vertices of a preferential loading area according to the starting point and the ending point of the touch operation and the area layout of the page, so as to obtain the preferential loading area of the page data.
A system for controlling loading of page data, the system comprising: the device comprises a detection module, an analysis module and a processing module; wherein: the detection module is used for detecting the touch operation of a user; the analysis module is used for determining a priority loading area of page data according to the detected touch operation of the user; the processing module is used for suspending data loading of the area which is currently prepared or loaded by the page and loading the page data of the priority loading area.
Preferably, the processing module is further configured to compress the page data outside the preferential loading area according to a preset compression ratio.
Preferably, the determining, by the analysis module, the priority loading area of the page data according to the detected touch operation of the user includes: acquiring a touch screen track of the touch operation; and determining a priority loading area of the page data according to the acquired touch screen track of the touch operation and the area layout of the page.
Preferably, the acquiring a touch screen track of the touch operation includes: a start point and an end point of the touch operation.
Preferably, the starting point and the ending point of the touch screen track are determined to be diagonal vertices of a preferential loading area according to the starting point and the ending point of the touch screen track and the area layout of the page, so as to obtain the preferential loading area of the page data.
According to the method and the device, the touch operation of the user is detected, the priority area of data loading is determined according to the touch operation, the data in the priority area is loaded preferentially, the interface which the user is interested in is loaded preferentially under the limited network condition, and the phenomenon that the loading of the interface content which the user is not interested in occupies the internet space and time of the user is reduced.
Drawings
FIG. 1A is a flowchart illustrating a first preferred embodiment of a method for controlling page data loading according to the present invention;
FIG. 1B is a schematic diagram of a touch screen trace of a user touch operation in FIG. 1A;
FIG. 2 is a schematic diagram of a touch screen trace of a user touch operation in a second preferred embodiment of the page loading control method according to the present invention;
FIG. 3 is a schematic diagram of a touch screen trace of a user touch operation in a third preferred embodiment of the page loading control method according to the present invention;
FIG. 4 is a diagram of the system architecture of the preferred embodiment of the control system for page data loading according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1A and fig. 1B, fig. 1A is a flowchart illustrating a first preferred embodiment of a method for controlling page data loading according to the present invention; fig. 1B is a schematic diagram of a touch screen trace of a user touch operation in fig. 1A.
It is to be emphasized that: the flow chart shown in fig. 1A is only a preferred embodiment, and those skilled in the art should understand that any embodiment constructed around the idea of the present invention should not depart from the scope covered by the following technical solutions:
detecting touch operation of a user; determining a priority loading area of page data according to the detected touch operation of the user; and suspending the data loading of the data area which is currently prepared or loaded by the page, and loading the page data of the priority loading area.
The following are specific steps of the embodiment to gradually implement control over page data loading:
in step S10, a touch operation of the user is detected. In this embodiment, the user may generate a touch operation through a touch screen mobile phone. In other embodiments of the present invention, the user may also use any other electronic terminal capable of generating a touch operation.
Step S20, determining a preferential loading area for loading page data according to the detected touch operation of the user. In this embodiment, the determining, by the analysis module, the priority loading area for data loading according to the detected touch operation of the user includes: acquiring a touch screen track of the touch operation; and determining a priority loading area for data loading according to the acquired touch screen track of the touch operation and the area layout of the page. Referring to fig. 1B, the touch screen trace 201 is: and a starting point 202 and an ending point 203 of the touch operation determine that the starting point 202 and the ending point 203 of the touch screen track 201 are opposite angle vertexes of a priority loading area according to the starting point 202 and the ending point 203 of the touch screen track and the area layout of the page, obtain a priority loading area 204 for loading data, and load webpage data in the priority loading area 204. And when the touch operation of the user is not detected, the page loading is carried out according to the inherent mode. In other embodiments of the present invention, the touch screen track may also be one touch screen point or multiple touch screen points, and the preferential loading area for data loading is determined according to the area layout of the one touch screen point or multiple touch screen points and the page of the touch screen track.
Step S30, suspend the loading of the data of the area currently prepared or being loaded by the page, and load the page data of the priority loading area. In this embodiment, when a touch operation of a user is detected, a priority loading area for data loading is determined through the detected touch operation of the user, loading of data of an area currently prepared or being loaded on a page is stopped, and page data of the priority loading area is loaded. And compressing the network data outside the priority loading area according to a preset compression ratio. In this embodiment, when the data in the priority area is loaded, the network data outside the current priority area is compressed according to a preset compression ratio, so that the web page data in the priority loading area browsed by the user is ensured to keep the original web page data uncompressed, and the web page data can be completely displayed. And when the touch operation of the user is not detected, performing data compression on the currently loaded webpage according to a preset compression ratio.
According to the method and the device, the touch operation of the user is detected, the priority area of data loading is determined according to the touch operation, the data in the priority area is loaded preferentially, the interface which the user is interested in is loaded preferentially under the limited network condition, and the phenomenon that the loading of the interface content which the user is not interested in occupies the internet space and time of the user is reduced.
Referring to fig. 2, a schematic diagram of a touch screen track of a user touch operation in a second preferred embodiment of the method for controlling page data loading according to the present invention is shown.
The difference between this embodiment and the above first embodiment is that the touch screen trajectory 301 is: and a touch screen point 301, obtaining a priority loading area 302 for loading data according to the touch screen point 301 and the area layout of the page, and loading the webpage data in the priority loading area 302. In other embodiments of the present invention, the touch screen trajectory may also be a starting point and an ending point or multiple touch screen points, and a priority loading area for data loading is determined according to a touch screen point or multiple touch screen points of the touch screen trajectory and an area layout of a page. The preferential loading area is obtained through the touch screen track of the user touch operation, so that the user can better browse the interested webpage under the limited network condition.
Referring to fig. 3, a schematic diagram of a touch screen track of a user touch operation according to a third preferred embodiment of the method for controlling page data loading of the present invention is shown.
The difference between this embodiment and the above first embodiment is that the touch screen track 401 is: and obtaining a preferential loading area 406 for loading data according to the area layout of the touch screen points and the page by the touch screen points 402, 403, 404 and 405, and loading the webpage data in the preferential loading area 406. In other embodiments of the present invention, the touch screen track may also be one touch screen point or one touch screen starting point and ending point, and the preferential loading area for data loading is determined according to the area layout of the touch screen point or multiple touch screen points and the page of the touch screen track. The preferential loading area is obtained through the touch screen track of the user touch operation, so that the user can better browse the interested webpage under the limited network condition.
According to the method and the device, the touch operation of the user is detected, the priority area of data loading is determined according to the touch operation, the data in the priority area is loaded preferentially, the interface which the user is interested in is loaded preferentially under the limited network condition, and the phenomenon that the loading of the interface content which the user is not interested in occupies the internet space and time of the user is reduced.
FIG. 4 is a block diagram of a preferred embodiment of the page data loading control system of the present invention. The system comprises: a detection module 100, an analysis module 200 and a processing module 300.
The detecting module 100 is used for detecting a touch operation of a user. In this embodiment, the user may generate a touch operation through a touch screen mobile phone. In other embodiments of the present invention, the user may also use any other electronic terminal capable of generating a touch operation.
The analysis module 200 is configured to, when a touch operation of a user is detected, determine a priority loading area for loading page data according to the detected touch operation of the user. In this embodiment, the determining, by the analysis module, the priority loading area for data loading according to the detected touch operation of the user includes: acquiring a touch screen track of the touch operation; and determining a priority loading area for data loading according to the acquired touch screen track of the touch operation and the area layout of the page. The touch screen trajectory includes: and determining the starting point and the ending point of the touch screen track as diagonal vertices of the preferential loading area according to the starting point and the ending point of the touch screen track and the area layout of the page, so as to obtain the preferential loading area for loading data. In other embodiments of the present invention, the touch screen track may also be one touch screen point or multiple touch screen points, and the preferential loading area for data loading is determined according to the area layout of the one touch screen point or multiple touch screen points and the page of the touch screen track.
The processing module 300 is configured to stop loading data of the area where the page is currently prepared or is being loaded, and load the page data of the priority loading area. In this embodiment, when the detecting module 100 does not detect the touch operation of the user, the page loading is performed in an inherent manner. When the detection module 100 detects a touch operation of a user, a priority loading area for data loading is determined through the detected touch operation of the user, loading of data of an area currently prepared or loaded on a page is stopped, and page data of the priority loading area is loaded. The processing module 300 is further configured to compress the network data outside the priority region according to a preset compression ratio. In this embodiment, when the data in the priority area is loaded, the network data outside the current priority area is compressed according to a preset compression ratio, so that the web page data in the priority loading area browsed by the user is ensured to keep the original web page data uncompressed, and the web page data can be completely displayed. And when the touch operation of the user is not detected, performing data compression on the currently loaded webpage according to a preset compression ratio.
According to the method and the device, the touch operation of the user is detected, the priority area of data loading is determined according to the touch operation, the data in the priority area is loaded preferentially, the interface which the user is interested in is loaded preferentially under the limited network condition, and the phenomenon that the loading of the interface content which the user is not interested in occupies the internet space and time of the user is reduced.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (4)
1. A control method for page data loading is characterized in that the method comprises the following steps:
detecting touch operation of a user;
determining a priority loading area of page data according to the detected touch operation of the user;
suspending data loading of a data loading area which is currently prepared or loaded by the page, and loading page data of the priority loading area; wherein,
the step of determining the priority loading area of the page data according to the detected touch operation of the user comprises the following steps:
acquiring a touch screen track of the touch operation, wherein the touch screen track is one touch screen point or a plurality of touch screen points;
determining a priority loading area of page data according to the acquired touch screen track of the touch operation and the area layout of the page; wherein,
the acquiring of the touch screen track of the touch operation includes: and determining the starting point and the ending point of the touch screen track as diagonal vertices of a preferential loading area according to the starting point and the ending point of the touch operation and the area layout of the page, so as to obtain the preferential loading area of the page data.
2. The method for controlling page data loading according to claim 1, wherein the method further comprises: and compressing the page data outside the priority loading area according to a preset compression ratio.
3. A system for controlling loading of page data, the system comprising: the device comprises a detection module, an analysis module and a processing module; wherein:
the detection module is used for detecting the touch operation of a user;
the analysis module is used for determining a priority loading area of page data according to the detected touch operation of the user;
the processing module is used for suspending data loading of the currently prepared or loading area of the page and loading the page data of the priority loading area; wherein,
the step of determining the priority loading area of the page data according to the detected touch operation of the user comprises the following steps:
acquiring a touch screen track of the touch operation, wherein the touch screen track is one touch screen point or a plurality of touch screen points;
determining a priority loading area of page data according to the acquired touch screen track of the touch operation and the area layout of the page; wherein,
the acquiring of the touch screen track of the touch operation includes: and determining the starting point and the ending point of the touch screen track as diagonal vertices of a preferential loading area according to the starting point and the ending point of the touch screen track and the area layout of the page, so as to obtain the preferential loading area of the page data.
4. The system for controlling page data loading according to claim 3, wherein the processing module is further configured to compress the page data outside the preferential loading area according to a preset compression ratio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310118790.9A CN103198125B (en) | 2013-04-07 | 2013-04-07 | The control method of page data loading and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310118790.9A CN103198125B (en) | 2013-04-07 | 2013-04-07 | The control method of page data loading and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103198125A CN103198125A (en) | 2013-07-10 |
CN103198125B true CN103198125B (en) | 2016-08-24 |
Family
ID=48720682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310118790.9A Active CN103198125B (en) | 2013-04-07 | 2013-04-07 | The control method of page data loading and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103198125B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634661A (en) * | 2013-12-03 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Method and device for implementing video on demand |
CN105868420A (en) * | 2016-06-08 | 2016-08-17 | 腾讯科技(深圳)有限公司 | Network resource loading mode configuration method and device |
CN107315804A (en) * | 2017-06-26 | 2017-11-03 | 北京金山安全软件有限公司 | Picture loading method and device and electronic equipment |
CN107911709A (en) * | 2017-11-17 | 2018-04-13 | 广州酷狗计算机科技有限公司 | live interface display method, device and terminal |
CN112272226B (en) * | 2020-10-22 | 2023-04-07 | 抖音视界有限公司 | Picture loading method and device and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576798A (en) * | 2008-05-05 | 2009-11-11 | 宏达国际电子股份有限公司 | Method and device for browsing option information as well as storage medium |
CN102866993A (en) * | 2011-07-04 | 2013-01-09 | 联想(北京)有限公司 | Webpage data loading method and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110036463A (en) * | 2009-10-01 | 2011-04-07 | 엘지전자 주식회사 | Mobile terminal and browsing method thereof |
-
2013
- 2013-04-07 CN CN201310118790.9A patent/CN103198125B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576798A (en) * | 2008-05-05 | 2009-11-11 | 宏达国际电子股份有限公司 | Method and device for browsing option information as well as storage medium |
CN102866993A (en) * | 2011-07-04 | 2013-01-09 | 联想(北京)有限公司 | Webpage data loading method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103198125A (en) | 2013-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103198125B (en) | The control method of page data loading and system | |
CN107247691B (en) | Text information display method and device, mobile terminal and storage medium | |
CN106708496B (en) | Processing method and device for label page in graphical interface | |
US20140325323A1 (en) | Online video playing method and apparatus and computer readable medium | |
CN104965659A (en) | Page information preloading method and apparatus | |
JP2012527677A (en) | Method, apparatus and computer program product for generating graphic objects with desirable physical features for use in animation | |
CN103617165A (en) | Picture loading method, device and terminal | |
TW201514747A (en) | Method, apparatus and system for detecting webpages | |
WO2014176906A1 (en) | Online video playing method and apparatus and computer readable medium | |
CN104111950A (en) | Webpage image loading method and webpage image loading device | |
US20160217143A1 (en) | Method and device for displaying browser resources and computer readable storage medium | |
US20150128033A1 (en) | Method and apparatus for webpage browsing | |
CN106296760B (en) | Picture clipping method and device | |
US20170366832A1 (en) | Video reproduction apparatus, control method thereof, and computer-readable storage medium storing program | |
KR20120106617A (en) | Mobile terminal and recording medium | |
CN111258736B (en) | Information processing method and device and electronic equipment | |
CN103197931B (en) | A kind of quick interface arrangement method based on touch screen and device | |
CN105005607A (en) | Page information loading method and page information loading device | |
US20150007067A1 (en) | Method and system for generating a user interface | |
CN104778007A (en) | Screen capturing method and screen capturing device | |
CN104536787A (en) | Resource preloading method and device | |
CN105302802A (en) | Picture uploading method and system and browser | |
US9754391B2 (en) | Webpage display method and apparatus | |
CN104252350A (en) | Method and device for loading picture in listbox | |
US20150269274A1 (en) | Method and apparatus for uploading information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |