CN105389372A - Page display method and apparatus - Google Patents

Page display method and apparatus Download PDF

Info

Publication number
CN105389372A
CN105389372A CN201510788937.4A CN201510788937A CN105389372A CN 105389372 A CN105389372 A CN 105389372A CN 201510788937 A CN201510788937 A CN 201510788937A CN 105389372 A CN105389372 A CN 105389372A
Authority
CN
China
Prior art keywords
card
display
target
current display
page
Prior art date
Application number
CN201510788937.4A
Other languages
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 杭州九言科技股份有限公司
Priority to CN201510788937.4A priority Critical patent/CN105389372A/en
Publication of CN105389372A publication Critical patent/CN105389372A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders, dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The present invention discloses a page display method and apparatus The method comprises: in card units, loading a set number of cards from a content of a to-be-displayed page, and determining a current to-be-displayed card for displaying, wherein the cards is of a set card size; during a card display process, capturing a screen slide operation of a user, and acquiring a slide parameter corresponding to the screen slide operation, wherein the slide parameter comprises a slide acceleration and a slide direction; and based on a page display policy corresponding to a value of the slide parameter, acquiring a target content of a target card from all the loaded cards to display the target content. According to the technical scheme of the page display method and apparatus disclosed by the embodiments of the present invention, the web page is divided into a plurality of cards of the set size, and in conjunction with the screen slide parameter corresponding to the screen slide operation of the user, the corresponding web page display policy is used to display the content of the target card, thereby effectively reducing misoperations of the user, improving efficiency of the user in viewing, and improving user experience.

Description

A kind of page display method and device
Technical field
The present invention relates to page display technique field, particularly relate to a kind of page display method and device.
Background technology
In today that mobile Internet is popularized day by day, user more and more uses handheld device to read.At present in the third party software of terminal, popular a kind of Website page layout is waterfall-type layout, its visual performance is uneven multicolumn layout, and along with page scroll bar rolls downwards, this layout can constantly load data block and be attached to current tail.
Existing page display way, in use, the interactive form browsed mainly with sliding greatly switches to the content of carrying out on screen, and namely user adopts sliding screen operation to realize the functions such as advance, retrogressing usually.But because the waterfall-type layout of the page constantly can load data block, terminal is made to be difficult to the vision anchor point accurately navigated on screen, in reading process, virtually can the number of operations of adding users, such as, even if the maloperation that user is small, also user may be caused repeatedly to carry out adjustment location, very easily cause visual fatigue, and affect reading efficiency, make the reading experience of user not good.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of page display method and device, to reduce user when the page is read, due to the repeatedly adjustment location that maloperation produces, easily cause visual fatigue, and affect the problems such as reading efficiency, by improving the method for page display, promote user's reading experience.
First aspect, embodiments provides a kind of page display method, comprising:
In units of card, from the content of the page to be shown, load the card of setting quantity, and determine that current display card shows, wherein, described card has the card sizes of setting;
In card procedure for displaying, catch the sliding screen operation of user, and acquisition operates corresponding slip parameter with described sliding the screen, wherein, described slip parameter comprises slip acceleration and glide direction;
Based on the page display strategy corresponding with the value of described slip parameter, all loading in card the object content obtaining target card, be updated to current display card and show.
Second aspect, embodiments provides a kind of page display device, comprising:
Current card display module, in units of card, from the content of the page to be shown, load the card of setting quantity, and determine that current display card shows, wherein, described card has the card sizes of setting;
Slip parameter acquisition module, in card procedure for displaying, catch the sliding screen operation of user, and acquisition operates corresponding slip parameter with described sliding the screen, wherein, described slip parameter comprises slip acceleration and glide direction;
Target card display module, for based on the page display strategy corresponding with the value of described slip parameter, is all loading in card the object content obtaining target card, is being updated to current display card and shows.
The embodiment of the present invention is by adopting technique scheme, by by page division being the card of multiple setting size, shield the cunning such as the slip acceleration corresponding to operating and glide direction in conjunction with the cunning with user and shield parameter, take corresponding page display strategy, the content of target card is shown, effectively can reducing the maloperation of user, improving the efficiency of user when browsing, and then promote the reading experience of user.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is the process flow diagram of a kind of page display method that the embodiment of the present invention one provides;
Fig. 2 is the process flow diagram of a kind of page display method that the embodiment of the present invention two provides;
Fig. 3 is the structured flowchart of a kind of page display device that the embodiment of the present invention three provides.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the specific embodiment of the invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not full content.Before in further detail exemplary embodiment being discussed, it should be mentioned that some exemplary embodiments are described as the process or method described as process flow diagram.Although operations (or step) is described as the process of order by process flow diagram, many operations wherein can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations can be rearranged.Described process can be terminated when its operations are completed, but can also have the additional step do not comprised in the accompanying drawings.Described process can correspond to method, function, code, subroutine, subroutine etc.
Embodiment one
The process flow diagram of a kind of page display method that Fig. 1 provides for the embodiment of the present invention one.The method of the present embodiment can be performed by page display device, and this device realizes by the mode of hardware and/or software, and in the application end that generally independently can be configured in user terminal in realize the method for the present embodiment.
Wherein, application end can for being embedded in the plug-in unit of certain client in user terminal, or be the plug-in unit of the operating system of described user terminal, with the page be embedded in user terminal show class client (such as, browser or electronic reader etc.) with the use of; Application end also can for the client that in described user terminal, independently can provide the page to show service, and the present embodiment does not limit this.
The method of the present embodiment specifically comprises:
S110, in units of card, from the content of the page to be shown, load the card of setting quantity, and determine that current display card shows, wherein, described card has the card sizes of setting.
In the present embodiment, described card refers to the region of the setting size that page division to be shown becomes according to the page idsplay order received by foregoing application end.Wherein, when by page division to be shown being the card of setting size, the number of card tentatively can judge according to the size of the page and content.
Typically, when user wishes the content of checking some pages, corresponding page idsplay order can be produced by certain operation (such as, clicking page link).After application end receives this page idsplay order, page-downloading request can be sent by the page server corresponding with this page idsplay order, page server is after receiving this page-downloading request, first the base page information included by requested page (such as, the information bit etc. that page size or the page comprise) be back to application end, application end, according to set card sizes, downloads the content in the page to be shown to this page server in units of card.
When above-mentioned base page information displaying page size or content of pages less time, as page size be less than screen size time, can be a card by page division; Otherwise, when above-mentioned base page information displaying page size is comparatively large or content of pages is more, can be multiple card by page division.
In aforesaid operations, described card has the card sizes of setting, and the setting of described card sizes preferably sets according to the size of the page to be shown or the displaying contents of the described page.Concrete, can according to the size of the page received, be on average one or more card by page division.Further, the size of card can be preset, page self-adapted is divided into multiple card; Also can be the number presetting card, according to the size of the size self-adaptation card of the page.Wherein, the number of card can with reference to mobile phone, panel computer, the size of the display screen of the terminals such as intelligent watch, design, it can be such as the twice that the size of described card is less than or equal to display screen size, conveniently card switching and the coherent of content of pages are browsed or are read, preferably the size of described card equals display screen size, in actual use, be particularly useful for the content of user to the same page, when reading full content several times, all the elements of current card can be browsed to, be conducive to conveniently, find the target card comprising object content quickly.Optionally, according to the content of the page to be shown, being one or more card by page setting, can be set according to the content-form (video, audio frequency, picture or word etc.) in the page and subhead etc.
General, when presetting card, the content of pages shown by bottom of the content of pages shown by the top of current card and an adjacent upper card can be adopted, according to before and after former content of pages or be connected up and down; The content of pages shown by top of the content of pages shown by the bottom of current card and adjacent next card, according to before and after former content of pages or be connected up and down.Adopt this technical scheme to carry out page division, the content of the page can be made to show without omission.
In the present embodiment, described card display can be align with the bottom of display screen in card top, and carrying out the display of card content also can be align with the bottom of display screen in the bottom of current card, carries out the display of card content; Or both show in cooperation.
In the prior art, content after user wants to check present displayed content and after carrying out certain downslide operation, terminal can take the mode of real-time loading load after content, in the present embodiment, be then the mode using prestrain, the card loading setting quantity from the content of the page to be shown is checked for user.Make when user wants to check the card after current display card, this card is downloaded in user terminal in advance, ensure that the fluency of reading.
Accordingly, from the content of the page to be shown, load the card of setting quantity, and determine that current display card carries out showing and specifically can comprise:
Serial number is carried out for each has loaded card;
When the numbering of current display card meets setting preload condition, after continuing to load current display card, set the card of quantity.
Wherein, carry out serial number for each has loaded card, the sequencing of the content preferably according to the page is numbered successively.The numbering of card can be character or the character strings such as English alphabet, numeral, Chinese character, preferably the positive integer being numbered setting of card, such as, and can for the positive integer increased progressively by 1.
As previously mentioned, consider that loading card content is carried out display and needed the time, preferably when the numbering of current display card meets setting preload condition, after can continuing to load current display card, set the card of quantity.In current card procedure for displaying, carry out pre-loaded to the card setting quantity after current display card, the benefit of such setting is, usual user's reading page be order read, current card display process in, the card of prestrain is probably the card being about to display, when to carry out card afterwards and switch, if the card switching prestrain is as current display card, due to pre-loaded good, the content of card can be shown rapidly, save the time that user waits for.
Wherein, setting number and pre-loaded number of cards, specifically can set according to practical application, such as can consider according to the network speed of display device and internal storage state etc. and set, at this, we do not limit.
S120, in card procedure for displaying, catch the sliding screen operation of user, and obtain with described slide to shield operate corresponding slip parameter, wherein, described slip parameter comprises slip acceleration and glide direction.
The action that sliding screen operation produces when generally referring to user's touch screen, as click screen, long by screen, up and down or the operation such as to horizontally slip; What obtained operates corresponding slip parameter with described sliding the screen, can be the distance of slip, the direction of slip, slip acceleration and slip number of times etc.
In the present embodiment, catch the sliding screen operation of user, and obtain and operate corresponding slip acceleration and glide direction can be specifically with described sliding the screen: detect and record the starting point coordinate of touch screen gesture, terminal point coordinate and cunning and shield the time operated, obtain glide direction and the slip acceleration of described touch screen gesture.
S130, based on the page display strategy corresponding with the value of described slip parameter, all loading in card the object content obtaining target card, be updated to current display card and show.
In the present embodiment, the switching mode, card increment etc. of card and the corresponding relation of the value of described slip parameter is comprised based on the page display strategy corresponding with the value of described slip parameter.Wherein, switching mode comprises according to glide direction, and current card switches up or down, to obtain target card and to show; Card increment is included in the quantity of the card that the basis of current card switches.Such as, if switch a card up or down from current card, card increment is 1; If switch three cards up or down from current card, then card increment is 3, by that analogy.
Glide direction in described slip parameter corresponds to the moving direction of card, and such as, if glide direction upwards, the moving direction of usual screen is contrary with glide direction, namely moves down, then target card should be the card after current card or current card numbering; Otherwise if glide direction is downward, then target card should be the card before current card or current card numbering.In conjunction with the absolute value of the slip acceleration of described touch screen gesture, page display strategy can be obtained.
On the basis of technique scheme, the slip number of times in the Subscriber Unit time can be judged, according to slip number of times, glide direction and slip acceleration, page display strategy can be determined.Concrete, when user repeatedly slides screen operation in setting-up time, can according to the corresponding relation of card increment with the value of glide direction and slip acceleration, it is cumulative to carry out switching number.Such as, when user slides first time, slip parameter meets when imposing a condition, and corresponding target card is stir s downwards from current card to open the card after card, when user's second time is slided, if slip parameter also meets when imposing a condition, corresponding target card is stir t downwards from current card to open the card after card, then based on twice slide, target component is stir s+t downwards from current card to open the card after card, wherein, s, t are positive integer.
Be understandable that, in practical operation, because the default number of cards of the page is different, corresponding page display strategy is also different, and the corresponding relation between parameters and parameter specifically can set according to practical application scene.
The embodiment of the present invention is by adopting technique scheme, by by page division being the card of multiple setting size, shield the cunning such as the slip acceleration corresponding to operating and glide direction in conjunction with the cunning with user and shield parameter, take corresponding page display strategy, the content of target card is shown, effectively can reducing the maloperation of user, improving the efficiency of user when browsing, and then promote the reading experience of user.
On the basis of the present embodiment, the benefit of serial number is had to be to each described card, the numbering of card can become mark that is simple, orderly, that be convenient to the identifications such as terminal by enriching changeable content of pages, namely the card after can realizing determining whether to continue to load according to the numbering of current display card, also can be implemented in page procedure for displaying, according to the corresponding relation of numbering with card, as long as just can realize finding corresponding target card by index number to carry out content display.
The present embodiment one preferred embodiment in, when the numbering of current display card meets setting preload condition, the card setting quantity after continuing to load current display card specifically comprises: the numbering N of current display card and the maximum numbering M loading card are compared; If M-N<L, then do not loading in card, order loads L-(M-N) individual card; Wherein, L is the default integer being greater than 1.
For example, when supposing initialization, the number L setting the card after pre-loaded current display card is 2, the numbering N of current display card is 5, if the maximum of the card loaded is numbered 6, need then do not loading in card, order loads 1 card, namely the card of current display is the 5th card, if the maximum of the card loaded is numbered 6, illustrate and be loaded into the 6th card, namely be loaded with the card after 1 current display card, because the number setting the card after pre-loaded current display card is 2, so also need to reload 1 card.
Adopt technique scheme, effectively can ensure the fluency switching to next card from current card, especially need to skip over current page user, when switching to next card fast, due to pre-loaded, user, without the need to waiting for, can directly switch, save user time, promote Consumer's Experience.
Embodiment two
Fig. 2 is the process flow diagram of a kind of page display method of second embodiment of the invention.The present embodiment is optimized based on above-described embodiment, and the method for the present embodiment specifically comprises:
S201, in units of card, from the content of the page to be shown, load the card of setting quantity, and determine that current display card shows, wherein, described card has the card sizes of setting.
S202, in card procedure for displaying, judge whether to capture the sliding screen operation of user, if so, perform S203; If not, then S201 is returned.
S203, acquisition operate corresponding slip parameter with described sliding the screen, and wherein, described slip parameter comprises slip acceleration and glide direction.
S204, value according to described slip parameter, obtain corresponding page display strategy, wherein, when the absolute value of slip acceleration is greater than first threshold, performs S205; When the absolute value of slip acceleration is between Second Threshold and the 3rd threshold value, perform S206; When the absolute value of slip acceleration is less than the 4th threshold value, then perform 207.
In this operation, in conjunction with the corresponding relation of described glide direction in the direction of described target card, page display strategy can be obtained, similar with the method described in embodiment one, repeat no more herein.
The relation of the acceleration that S205, basis are default and card increment, obtains the card increment corresponding with described slip acceleration, performs S208.
Exemplary, card increment can correspond to the size of the absolute value of slip acceleration.Such as, when the slip acceleration in described slip parameter is greater than first threshold, card increment can be directly proportional to the absolute value of slip acceleration, wherein, scale-up factor can preset, such as, card increment can be the numerical value after rounding the product setting scale-up factor and slip acceleration; Slip acceleration can also be divided into different segments, respectively corresponding card increment, or both cooperations set.Such as, when described slip acceleration be greater than b pixel per second time, can by often increase c pixel per second time, card increment is d, and wherein, b is greater than first threshold, and d is positive integer.
S206, judge whether the card sizes set is greater than the size of display screen, if so, performs S210; If not, then S211 is performed.
S207, keep the present displayed content of current display card constant.
In the present embodiment, consider that user is when the card of current display carries out sliding screen operation, screen may be touched because of carelessness and produce certain slip acceleration, be preferred for slip acceleration setting the 4th threshold value to judge, when slip acceleration is in certain threshold range, the present displayed content of current display card can be kept constant, effectively can identify user's current operation whether to want to carry out card switching, the maloperation because user is tiny can be avoided to a great extent repeatedly to operate displaying contents, and then affect Consumer's Experience.
S208, numbering according to described glide direction, described card increment and current display card, obtain the target card all loaded in card, perform S209.
In the present embodiment, aforesaid operations preferably specifically comprises:
If described glide direction is upward sliding, then all loading in card, obtaining the card being numbered A+X and show as target card; If described glide direction is slide downward, then all loading in card, obtaining the card being numbered A-X and show as target card; Wherein, A is the numbering of current display card, and X is card increment, X be greater than 1 integer.
Concrete, when described glide direction is upward sliding, after target card is positioned at current card, namely turn under card, all loading in card, obtain the card being numbered A+X and show as target card; When described glide direction is slide downward, before target card is positioned at current card, namely card turns over, all loading in card, obtain the card being numbered A-X and show as target card.
On the basis of the embodiment of the present invention, if the numbering of target card obtained exceed described in loaded the Serial Number Range of card, then preferably obtain and loaded the limit in card number corresponding card as new target card with described.That is when carrying out card according to user operation and switching, if the target card numbering obtained is beyond the maximum numbering of card, then show the card that maximum numbering is corresponding, as the maximum of page card is numbered 50, when being numbered 60 according to the target card of slip parameter acquiring, then display is numbered the card content of 50.
On the basis of above-described embodiment, if the card of the current display of user is the card of limit numbering, i.e. last card of the page, when user's upward sliding, can set according to pre-conditioned, wherein, pre-conditioned can be that slip acceleration is greater than in the 5th threshold value or user's certain hour the card and glide direction is identical of repeatedly sliding, then card can switch to the initial card of the page (first card), i.e. the card of page lowest number, to realize again checking content of pages; Otherwise keep display current card.
S209, obtain from the top of described target card the object content adapted with display screen size and show.
In aforesaid operations, the top of described target card may be displayed on the top of display screen, from the reference position of card, namely show the content of card, and the current shown content of described target card and display screen size adapt.
S210, obtain the displaying contents that current display card exceeds described display screen part and show.
When the slip acceleration in described slip parameter is between Second Threshold and the 3rd threshold value, if the card sizes of setting is greater than the size of display screen, then display screen can not show the content of card completely, need to judge according to slip acceleration whether to show the displaying contents that current card exceeds described display screen part.Further, obtain the displaying contents that current display card exceeds described display screen part and carry out display preferably, obtain from the bottom of described target card the object content adapted with display screen size and show.Namely align with the bottom of display screen in the bottom of current card, carries out the display of card content.
S211, according to described glide direction, obtain a card adjacent with described current display card and show.
When the slip acceleration in described slip parameter is between Second Threshold and the 3rd threshold value, and the card sizes of setting is less than or equal to the size of display screen, then current screen can show the full content of current card, when getting described slip acceleration and meeting above-mentioned condition, card switching can be carried out, can according to glide direction, obtain a card adjacent with described current display card (upper or next) and show.
On the basis of the embodiment of the present invention, preferably described first threshold can be identical with described 3rd threshold value value; Further, described Second Threshold can be identical with described 4th threshold value value.Such as, can to get 4000 pixels per second for first threshold and the 3rd threshold value; Further, can to get 1000 pixels per second for Second Threshold and the 4th threshold value.
To sum up, the technical scheme of the present embodiment, by by page division being the card of multiple setting size, shield the cunning such as the slip acceleration corresponding to operating and glide direction in conjunction with the cunning with user and shield parameter, and the threshold range different to setting, when the content of target card is shown, take corresponding page display strategy, the maloperation of effective minimizing user, alleviation user debugs the visual fatigue that the page causes repeatedly, and then improve the efficiency of user when browsing, the significant increase reading experience of user.
Embodiment three
Fig. 3 provides a kind of page display device for the embodiment of the present invention three, and as shown in Figure 3, this device comprises:
Current card display module 310, in units of card, from the content of the page to be shown, load the card of setting quantity, and determine that current display card shows, wherein, described card has the card sizes of setting;
Slip parameter acquisition module 320, in card procedure for displaying, catch the sliding screen operation of user, and acquisition operates corresponding slip parameter with described sliding the screen, wherein, described slip parameter comprises slip acceleration and glide direction;
Target card display module 330, for based on the page display strategy corresponding with the value of described slip parameter, is all loading in card the object content obtaining target card, is being updated to current display card and shows.
On the basis of the various embodiments described above, current card display module can comprise:
Card numbering module, for carrying out serial number for each has loaded card;
Card preloaded components, for when the numbering of current display card meets setting preload condition, sets the card of quantity after continuing to load current display card.
On the basis of the various embodiments described above, card preloaded components can be specifically for:
The numbering N of current display card and the maximum numbering M loading card are compared;
If M-N<L, then do not loading in card, order loads L-(M-N) individual card;
Wherein, L is the default integer being greater than 1.
On the basis of the various embodiments described above, base object card display module can comprise:
Card increment acquisition module, if be greater than first threshold for the slip acceleration in described slip parameter, then the acceleration that basis is default and the relation of card increment, obtain the card increment corresponding with described slip acceleration;
Target card acquisition module, for the numbering according to described glide direction, described card increment and current display card, obtains the target card all loaded in card;
First object card display module, shows for obtaining from the top of described target card the object content adapted with display screen size.
On the basis of the various embodiments described above, target card acquisition module can be specifically for:
If described glide direction is upward sliding, then all loading in card, obtaining the card being numbered A+X and show as target card;
If described glide direction is slide downward, then all loading in card, obtaining the card being numbered A-X and show as target card; Wherein, A is the numbering of current display card, and X is card increment, X be greater than 1 integer.
On the basis of the various embodiments described above, can be further used for according to target card acquisition module:
If the numbering of target card obtained exceed described in loaded the Serial Number Range of card, then obtain and loaded the limit in card number corresponding card as new target card with described.
On the basis of the various embodiments described above, target card display module can also be used for:
If the slip acceleration in described slip parameter is between Second Threshold and the 3rd threshold value, then judge whether the card sizes set is greater than the size of display screen: if so, obtain the displaying contents that current display card exceeds described display screen part and show; Otherwise, according to described glide direction, obtain a card adjacent with described current display card and show.
On the basis of the various embodiments described above, target card display module can also be further used for:
If the slip acceleration in described slip parameter is less than the 4th threshold value, then keep the present displayed content of current display card constant.
The page display device that the embodiment of the present invention provides can be used for the page display method that the execution embodiment of the present invention provides, and possesses corresponding function and beneficial effect.
Obviously, it will be understood by those skilled in the art that above-mentioned of the present invention each module or each step can be implemented by application end as above.Alternatively, the embodiment of the present invention can realize by the executable program of computer installation, thus they storages can be performed by processor in the storage device, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.; Or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to the combination of any specific hardware and software.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (16)

1. a page display method, is characterized in that, comprising:
In units of card, from the content of the page to be shown, load the card of setting quantity, and determine that current display card shows, wherein, described card has the card sizes of setting;
In card procedure for displaying, catch the sliding screen operation of user, and acquisition operates corresponding slip parameter with described sliding the screen, wherein, described slip parameter comprises slip acceleration and glide direction;
Based on the page display strategy corresponding with the value of described slip parameter, all loading in card the object content obtaining target card, be updated to current display card and show.
2. method according to claim 1, is characterized in that, in units of card, loads the card of setting quantity, and determine that current display card carries out display and comprises from the content of the page to be shown:
Serial number is carried out for each has loaded card;
When the numbering of current display card meets setting preload condition, after continuing to load current display card, set the card of quantity.
3. method according to claim 2, is characterized in that, when the numbering of current display card meets setting preload condition, the card setting quantity after continuing to load current display card specifically comprises:
The numbering N of current display card and the maximum numbering M loading card are compared;
If M-N<L, then do not loading in card, order loads L-(M-N) individual card;
Wherein, L is the default integer being greater than 1.
4. method according to claim 3, is characterized in that, based on the page display strategy corresponding with the value of described slip parameter, is all loading in card the object content obtaining target card, is updated to current display card and carries out display and comprise:
If the slip acceleration in described slip parameter is greater than first threshold, then the acceleration that basis is default and the relation of card increment, obtain the card increment corresponding with described slip acceleration;
According to the numbering of described glide direction, described card increment and current display card, obtain the target card all loaded in card;
Obtain from the top of described target card the object content adapted with display screen size to show.
5. method according to claim 4, is characterized in that, according to the numbering of described glide direction, described card increment and current display card, obtains all target cards loaded in card and specifically comprises:
If described glide direction is upward sliding, then all loading in card, obtaining the card being numbered A+X and show as target card;
If described glide direction is slide downward, then all loading in card, obtaining the card being numbered A-X and show as target card; Wherein, A is the numbering of current display card, and X is card increment, X be greater than 1 integer.
6. method according to claim 4, is characterized in that, according to the numbering of described glide direction, described card increment and current display card, obtains all target cards loaded in card and comprises:
If the numbering of target card obtained exceed described in loaded the Serial Number Range of card, then obtain and loaded the limit in card number corresponding card as new target card with described.
7. method according to claim 3, is characterized in that, based on the page display strategy corresponding with the value of described slip parameter, is all loading in card the object content obtaining target card, is updated to current display card and carries out display and comprise:
If the slip acceleration in described slip parameter is between Second Threshold and the 3rd threshold value, then judge whether the card sizes set is greater than the size of display screen: if so, obtain the displaying contents that current display card exceeds described display screen part and show; Otherwise, according to described glide direction, obtain a card adjacent with described current display card and show.
8. method according to claim 3, is characterized in that, based on the page display strategy corresponding with the value of described slip parameter, is all loading in card the object content obtaining target card, is updated to current display card and carries out display and comprise:
If the slip acceleration in described slip parameter is less than the 4th threshold value, then keep the present displayed content of current display card constant.
9. a page display device, is characterized in that, comprising:
Current card display module, in units of card, from the content of the page to be shown, load the card of setting quantity, and determine that current display card shows, wherein, described card has the card sizes of setting;
Slip parameter acquisition module, in card procedure for displaying, catch the sliding screen operation of user, and acquisition operates corresponding slip parameter with described sliding the screen, wherein, described slip parameter comprises slip acceleration and glide direction;
Target card display module, for based on the page display strategy corresponding with the value of described slip parameter, is all loading in card the object content obtaining target card, is being updated to current display card and shows.
10. device according to claim 9, is characterized in that, current card display module comprises:
Card numbering module, for carrying out serial number for each has loaded card;
Card preloaded components, for when the numbering of current display card meets setting preload condition, sets the card of quantity after continuing to load current display card.
11. devices according to claim 10, is characterized in that, card preloaded components specifically for:
The numbering N of current display card and the maximum numbering M loading card are compared;
If M-N<L, then do not loading in card, order loads L-(M-N) individual card;
Wherein, L is the default integer being greater than 1.
12. devices according to claim 11, is characterized in that, object card display module comprises:
Card increment acquisition module, if be greater than first threshold for the slip acceleration in described slip parameter, then the acceleration that basis is default and the relation of card increment, obtain the card increment corresponding with described slip acceleration;
Target card acquisition module, for the numbering according to described glide direction, described card increment and current display card, obtains the target card all loaded in card;
First object card display module, shows for obtaining from the top of described target card the object content adapted with display screen size.
13. devices according to claim 12, is characterized in that, target card acquisition module is used for:
If described glide direction is upward sliding, then all loading in card, obtaining the card being numbered A+X and show as target card;
If described glide direction is slide downward, then all loading in card, obtaining the card being numbered A-X and show as target card; Wherein, A is the numbering of current display card, and X is card increment, X be greater than 1 integer.
14. devices according to claim 12, is characterized in that, are further used for according to target card acquisition module:
If the numbering of target card obtained exceed described in loaded the Serial Number Range of card, then obtain and loaded the limit in card number corresponding card as new target card with described.
15. devices according to claim 11, is characterized in that, target card display module also for:
If the slip acceleration in described slip parameter is between Second Threshold and the 3rd threshold value, then judge whether the card sizes set is greater than the size of display screen: if so, obtain the displaying contents that current display card exceeds described display screen part and show; Otherwise, according to described glide direction, obtain a card adjacent with described current display card and show.
16. devices according to claim 11, is characterized in that, target card display module is further used for:
If the slip acceleration in described slip parameter is less than the 4th threshold value, then keep the present displayed content of current display card constant.
CN201510788937.4A 2015-11-17 2015-11-17 Page display method and apparatus CN105389372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510788937.4A CN105389372A (en) 2015-11-17 2015-11-17 Page display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510788937.4A CN105389372A (en) 2015-11-17 2015-11-17 Page display method and apparatus

Publications (1)

Publication Number Publication Date
CN105389372A true CN105389372A (en) 2016-03-09

Family

ID=55421662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510788937.4A CN105389372A (en) 2015-11-17 2015-11-17 Page display method and apparatus

Country Status (1)

Country Link
CN (1) CN105389372A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843518A (en) * 2016-03-18 2016-08-10 钟林 Method for controlling intelligent terminal card flow by orientation gesture and device thereof
CN106251719A (en) * 2016-08-16 2016-12-21 广东小天才科技有限公司 A kind of letter and monogram combine learning method and electronic equipment into syllables
CN106371709A (en) * 2016-08-18 2017-02-01 努比亚技术有限公司 Mobile terminal and multi-task card display method
CN107066632A (en) * 2017-06-05 2017-08-18 厦门美柚信息科技有限公司 The method and device that a kind of info web is preloaded
CN107273006A (en) * 2017-05-03 2017-10-20 努比亚技术有限公司 A kind of method for information display, equipment and computer-readable recording medium
CN108268296A (en) * 2018-01-17 2018-07-10 链家网(北京)科技有限公司 Loading method, the client and server of page layout
WO2019072172A1 (en) * 2017-10-09 2019-04-18 华为技术有限公司 Method for displaying multiple content cards, and terminal device
CN109948091A (en) * 2019-03-20 2019-06-28 网宿科技股份有限公司 A kind of web page processing method and client device
WO2020156111A1 (en) * 2019-01-28 2020-08-06 维沃移动通信有限公司 Interface display method and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541848A (en) * 2010-12-08 2012-07-04 卓望数码技术(深圳)有限公司 Method, device, system and server for page loading based on cell phone browser
CN102804182A (en) * 2010-01-11 2012-11-28 苹果公司 Electronic text manipulation and display
CN103678622A (en) * 2013-12-18 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for dynamic rendering of waterfall-type picture
CN103809891A (en) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 Page switching method and device
CN104268221A (en) * 2014-09-25 2015-01-07 车智互联(北京)科技有限公司 Page turning method and page turning system based on Ios system WebView
CN104965659A (en) * 2015-07-06 2015-10-07 无锡天脉聚源传媒科技有限公司 Page information preloading method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102804182A (en) * 2010-01-11 2012-11-28 苹果公司 Electronic text manipulation and display
CN102541848A (en) * 2010-12-08 2012-07-04 卓望数码技术(深圳)有限公司 Method, device, system and server for page loading based on cell phone browser
CN103809891A (en) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 Page switching method and device
CN103678622A (en) * 2013-12-18 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for dynamic rendering of waterfall-type picture
CN104268221A (en) * 2014-09-25 2015-01-07 车智互联(北京)科技有限公司 Page turning method and page turning system based on Ios system WebView
CN104965659A (en) * 2015-07-06 2015-10-07 无锡天脉聚源传媒科技有限公司 Page information preloading method and apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843518A (en) * 2016-03-18 2016-08-10 钟林 Method for controlling intelligent terminal card flow by orientation gesture and device thereof
CN106251719A (en) * 2016-08-16 2016-12-21 广东小天才科技有限公司 A kind of letter and monogram combine learning method and electronic equipment into syllables
CN106251719B (en) * 2016-08-16 2019-04-19 广东小天才科技有限公司 A kind of letter and monogram combine learning method and electronic equipment into syllables
CN106371709A (en) * 2016-08-18 2017-02-01 努比亚技术有限公司 Mobile terminal and multi-task card display method
CN107273006A (en) * 2017-05-03 2017-10-20 努比亚技术有限公司 A kind of method for information display, equipment and computer-readable recording medium
CN107066632A (en) * 2017-06-05 2017-08-18 厦门美柚信息科技有限公司 The method and device that a kind of info web is preloaded
CN107066632B (en) * 2017-06-05 2018-03-16 厦门美柚信息科技有限公司 The method and device that a kind of info web preloads
WO2019072172A1 (en) * 2017-10-09 2019-04-18 华为技术有限公司 Method for displaying multiple content cards, and terminal device
CN108268296A (en) * 2018-01-17 2018-07-10 链家网(北京)科技有限公司 Loading method, the client and server of page layout
WO2020156111A1 (en) * 2019-01-28 2020-08-06 维沃移动通信有限公司 Interface display method and terminal
CN109948091A (en) * 2019-03-20 2019-06-28 网宿科技股份有限公司 A kind of web page processing method and client device

Similar Documents

Publication Publication Date Title
CN104090762B (en) Screenshot processing device and method
US9384503B2 (en) Terminal apparatus, advertisement display control apparatus, and advertisement display method
US10976920B2 (en) Techniques for image-based search using touch controls
US10082943B2 (en) Scrolling method of mobile terminal and apparatus for performing the same
KR101720849B1 (en) Touch screen hover input handling
US20160070432A1 (en) Manipulating Documents in Touch Screen File Management Applications
RU2668055C2 (en) Display method and apparatus for diversely displaying object according to scroll speed
US9965138B2 (en) Mobile communications device, non-transitory computer-readable medium and method of activating update of home screen of mobile communications device
RU2632144C1 (en) Computer method for creating content recommendation interface
US9575998B2 (en) Adaptive presentation of content based on user action
KR101395426B1 (en) Method, apparatus and computer program product for creating graphical objects with desired physical features for usage in animations
RU2616536C2 (en) Method, device and terminal device to display messages
KR101408168B1 (en) Apparatus and method for providing graphic user interface
RU2645276C2 (en) Creation of variations when converting data to consumer content
EP2754025B1 (en) Pinch to adjust
KR100737432B1 (en) Smooth scrolling with highlighted navigation and marking of page changes
US9013428B2 (en) Electronic device and handwritten document creation method
US9304668B2 (en) Method and apparatus for customizing a display screen of a user interface
KR20190136085A (en) On-screen comment display method and electronic device
US8375332B2 (en) Apparatus and method for displaying multimedia contents to accommodate a user&#39;s preference using limited buttons of a device
CN106484266B (en) Text processing method and device
KR20140126327A (en) Thumbnail-image selection of applications
CN103733172B (en) Auto zoom for text selecting/cursor placement
US20160202887A1 (en) Method for managing application icon and terminal
US9516156B2 (en) Apparatus and method for providing bookmark service in communication terminal

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160309

RJ01 Rejection of invention patent application after publication