CN107193572A - Processing method, device and the terminal device of the page - Google Patents

Processing method, device and the terminal device of the page Download PDF

Info

Publication number
CN107193572A
CN107193572A CN201710547214.4A CN201710547214A CN107193572A CN 107193572 A CN107193572 A CN 107193572A CN 201710547214 A CN201710547214 A CN 201710547214A CN 107193572 A CN107193572 A CN 107193572A
Authority
CN
China
Prior art keywords
page
current
information
position location
current page
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
CN201710547214.4A
Other languages
Chinese (zh)
Other versions
CN107193572B (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Alibaba Literature Information 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 Guangzhou Alibaba Literature Information Technology Co Ltd filed Critical Guangzhou Alibaba Literature Information Technology Co Ltd
Priority to CN201710547214.4A priority Critical patent/CN107193572B/en
Publication of CN107193572A publication Critical patent/CN107193572A/en
Application granted granted Critical
Publication of CN107193572B publication Critical patent/CN107193572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The embodiment of the present invention provides a kind of processing method of the page, device and terminal device, belongs to Computer Applied Technology field.Wherein, methods described includes:According to the trigger action of reception, current page information is obtained;Determined to position the page to the position location of setting according to current page information, and the page is performed since the position location of the setting and return to operation, the position location is the target location of target pages.The embodiment of the present invention saves the time of predetermined registration operation, meanwhile, the quantity of screen display page data during predetermined registration operation is decreased, resources occupation rate is reduced.

Description

Processing method, device and the terminal device of the page
Technical field
The present embodiments relate to Computer Applied Technology field, more particularly to a kind of processing method of the page, device and Terminal device.
Background technology
With the progress and the improvement of people's living standards of science and technology, intelligent terminal is increasingly popularized.Can by intelligent terminal To realize the functions such as news reading, receiving and dispatching mail, social chat.
When user is in browsing list class data, and data quantity it is larger when, for example, browsed the data of five screens, I.e. user has been browsed after the first screen data of screen display, is made screen display more data by roll screen operation, is shown successively Show the second screen data, until making the screen data of screen display the 5th.Now, it is again clear to be back to the top of the first screen data Look at, then need to make screen show the first screen data again by backscrolling screen operator.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:
If the data volume that user browses is more, so that screen shows digital showing screen data, if being back to from currently position is browsed The top of first screen data, then need to perform the rolling operation of relatively long distance, on the one hand, the return rolling operation of relatively long distance increases The time for having added user to operate;On the other hand, the return rolling operation of relatively long distance can be such that screen shows in a short time largely Data, add the resources occupation rate of intelligent terminal.
The content of the invention
In view of this, one of technical problem that the embodiment of the present invention is solved be to provide a kind of processing method of the page, Device and terminal device, when returning to initial page after user browse data in the prior art to overcome, user operation time is long, The high defect of the resources occupation rate of intelligent terminal, reaches the operating time for saving user, reduces the resource occupation of intelligent terminal The effect of rate.
One side according to embodiments of the present invention there is provided a kind of processing method of the page, including:
According to the trigger action of reception, current page information is obtained;
Determined to position the page to the position location of setting according to current page information, and from the position location of the setting Start to perform page return operation, the target location of target pages is in the position location set.
Another aspect according to embodiments of the present invention there is provided a kind of processing unit of the page, including:
Acquisition module, for the trigger action according to reception, obtains current page information;
Positioning action module, for being determined to position the page to the position location of setting according to current page information, and from The position location of the setting starts to perform page return operation, and the target position of target pages is in the position location set Put.
Another aspect according to embodiments of the present invention there is provided a kind of terminal device, including:Processor, memory, communication Interface and communication bus, the processor, the memory and the communication interface complete mutual by the communication bus Communication;
The memory is used to deposit an at least executable instruction, and the executable instruction makes the computing device as above The corresponding operation of the processing method of the described page.
From above technical scheme, the embodiment of the present invention obtains current page information according to the trigger action of reception, should Current page information can include the related letter of control in the relevant information for the page data that current page is shown, current page Breath, relevant information of current page movement etc..If being determined to need to position the page to the positioning of setting according to current page information Position, then perform the page since position location and return to operation.Wherein, position location is the target location of target pages.For example, Current location is the position where the page data of the 5th screen, and initial position is the position where the page data of the first screen, fixed Position position is the position where the page data of the second screen, and current location farther out, is not easy to return page by page by screen apart from initial position Return, then the page data shown current page is directly targeted to the page data of the second screen by the page data of the 5th screen, then The page is performed since the second screen position and returns to operation, if the page returns to operation for roll screen to return to the page number of the first screen According to top, then from the second screen position return the first screen page data top, compared to from the 5th screen position return first The top of the page data of screen, saves the time of roll screen, meanwhile, decrease screen in page return operating process and show Show the quantity of page data, reduce resources occupation rate.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in inventive embodiments, for those of ordinary skill in the art, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of step flow chart of the processing method of according to embodiments of the present invention one page;
Fig. 2 is a kind of step flow chart of the processing method of according to embodiments of the present invention two page;
Fig. 3 is a kind of structured flowchart of the processing unit of according to embodiments of the present invention three page;
Fig. 4 is a kind of structured flowchart of the processing unit of according to embodiments of the present invention four page;
Fig. 5 is a kind of structural representation of according to embodiments of the present invention five terminal device.
Embodiment
Certainly, implementing any technical scheme of the embodiment of the present invention must be not necessarily required to while reaching all excellent of the above Point.
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, below in conjunction with the present invention Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality It is only a part of embodiment of the embodiment of the present invention to apply example, rather than whole embodiments.Based on the implementation in the embodiment of the present invention Example, the every other embodiment that those of ordinary skill in the art are obtained should all belong to the scope of protection of the embodiment of the present invention.
Further illustrate that the embodiment of the present invention is implemented with reference to accompanying drawing of the embodiment of the present invention.
Embodiment one
Reference picture 1, shows a kind of step flow chart of the processing method of according to embodiments of the present invention one page.
The processing method of the page of the present embodiment can be performed by any appropriate equipment with data-handling capacity, bag Include but be not limited to:Various terminal equipment, e.g., PC, tablet personal computer, mobile terminal etc..
Step S100, the trigger action according to reception, obtain current page information.
In the present embodiment, trigger action, which is used to trigger, performs page return operation, and trigger action can be any operation, this Embodiment is not limited to the concrete operations form of trigger action.
Current page can be the currently displayed page of the screen of intelligent terminal, such as the news list page, message list The page, the desktop icons page, Webpage etc., the present embodiment are not limited to the concrete form of current page.
Current page information can include control in the relevant information for the page data that current page is shown, current page Relevant information, relevant information of current page movement etc., the present embodiment is not limited to the relevant information of current page.
Step S102, determined according to current page to position the page to the position location of setting, and determining from the setting Position position starts to perform page return operation.
In the present embodiment, it is thus necessary to determine that whether current page needs quickly to navigate to the position location of a certain setting, i.e. mesh The target location of the page is marked, the position location can be according to the actual requirements appropriately arranged with by those skilled in the art, is such as set to Specific setting of the present embodiment of second page to the position location is not limited.
Wherein, position location can be the target location of target pages, and the position location can be by those skilled in the art It is appropriately arranged with according to the actual requirements, a certain position (specific any position of such as page data of the second screen of such as a certain screen data Put or end position) for example, current page shows the page data of the 5th screen, current page is quickly navigated to the page of the second screen Face data, and show in current page the page data of the second screen.Wherein, the page data of the 5th screen is the page of current location Face data, the page data of the second screen is the page data of position location, moreover, the either page data of the 5th screen or the The page data of two screens, or other screens page data, during the multiple display of current page, remain not Become, not influence the display effect shown again.
It it is a moment it should be noted that current page quickly to be navigated to the corresponding page data in position location Process, quick positioning the spent time can be very short, for example, being millisecond or Microsecond grade other time, the present embodiment is to fast The specific time that speed positioning is spent is not limited.The present embodiment realizes current page by very short quick positioning time Quick position fixing process, which is tried one's best, reduces the stand-by period of user, and the time is shorter, and the stand-by period of user is fewer, is less susceptible to influence pre- If the execution of operation, to ensure trigger action to the fluency between subsequent execution predetermined registration operation, continuity.
Example is connected, current page is quickly navigated to the page data of the second screen, and shows in current page the second screen Page data, since the second screen performing the page returns to operation, if it is the top that is back to the first screen that the page, which returns to operation, The second screen can be quickly navigated to from the 5th screen, then is back to from the second screen the top of the first screen, it is to avoid is shielded one by one from the 5th screen Curtain is back to the top of the first screen, saves the time at the top for being back to the first screen.
The technical scheme provided according to the present embodiment, according to the trigger action of reception, obtains current page information, this is current Page info can include the relevant information of control in the relevant information of the page data that show of current page, current page, when Relevant information of preceding page movement etc..If being determined to need to position the page to the position location of setting according to current page information, The page is then performed since position location and returns to operation.Wherein, position location is the target location of target pages.For example, current Position is the position where the page data of the 5th screen, and initial position is the position where the page data of the first screen, sprocket bit The position where the page data of the second screen is set to, current location farther out, is not easy to return page by page by screen, then apart from initial position The page data that current page is shown is directly targeted to the page data of the second screen by the page data of the 5th screen, then from second Screen position starts to perform page return operation, if the page returns to operation for roll screen to return to the top of the page data of the first screen Portion, then return to the top of the page data of the first screen from the second screen position, compared to the page that the first screen is returned from the 5th screen position The top of face data, saves the time of roll screen, meanwhile, decrease the page and return to the screen display page in operating process The quantity of data, reduces resources occupation rate.
Embodiment two
It should be noted that the part of various embodiments of the present invention description is given priority to, the not detailed description of certain embodiment Part can be found in introduction and explanation in other embodiments of the invention, repeat no more.
The processing method of the page of the present embodiment can be performed by any appropriate equipment with data-handling capacity, bag Include but be not limited to:Various terminal equipment, e.g., PC, tablet personal computer, mobile terminal etc..
Reference picture 2, shows a kind of step flow chart of the processing method of according to embodiments of the present invention two page.
Step S200, the trigger action according to reception, obtain current page information.
In the present embodiment, trigger action can include one below:Clicking operation, gesture operation etc., for example, double-clicking top Column, the tab for clicking on bottom click on icon, a button, and the present embodiment is not limited the concrete operations form of trigger action System.
When obtaining current page information, the control class in current page can be specifically obtained according to the trigger action of reception Type;Control type in current page obtains current page information.In a kind of optional embodiment, for list class The control of type and/or the control of nine grids type, can obtain the index information of the page data in current page, every page The index information of data has uniqueness;The control that the support of control and/or routine for type of webpage is rolled, can be obtained The displacement information of control elevation information and current page in current page.It can be seen that, current page information can include:Current page The index information of page data in face, or, control elevation information and the displacement information of current page in current page.
Step S202, according to current page information, judge the current location of the page whether beyond the position location of setting;If Exceed, then perform step S204;If without departing from execution step S208.
Wherein, the target location of target pages is in the position location set, and the position location can be by people in the art Member's appropriate setting according to the actual requirements, the embodiment of the present invention is not restricted to this, such as optional position of the second screen page data, the End position of two screen page datas etc..
Step S204, according to current page information determine the page is positioned to the position location of setting.
The different relevant informations got based on above-mentioned steps S200, this step can be held according to the following two kinds situation OK:
If the index information and the index of the last item page data of first page data the first, in current page Information, determines that page data is the page data after position location in current page, then positions the page to the positioning of setting Position.
The index information of the page data in current page is obtained by above-mentioned steps S200, first page data is utilized Index information and the last item page data index information, judge in current page page data whether be position location it Page data afterwards.In a kind of optional embodiment, if n1 is more than (n2-n1) * m, it is determined that page number in current page According to for the page data after the position location;Wherein, n1 is the index information of first page data, and n2 is the last item The index information of page data, m is the number of pages information of the corresponding page in position location, and m can be just whole more than or equal to 2 Number.For example, n1=40, n2=50, m=2, n2-n1=10 are the quantity of whole page datas shown by a screen, due to n1 =40 > (n2-n1) * m=20, so page data is the page data after position location in current page.
If the displacement information of the control elevation information and current page the 2, in current page, is determined in current page Page data is the page data after position location, then positions the page to the position location of setting.
The displacement information of the control elevation information and current page in current page is obtained by above-mentioned steps S200, is judged Whether page data is page data after position location in current page.In a kind of optional embodiment, if h2 is big In h1*m, it is determined that page data is the page data after position location in current page;Wherein, h2 is the position of current page Move information, h1 is the control elevation information in current page, m is the number of pages information of the corresponding page in position location, m to be more than or Person is equal to 2 positive integer.For example, h1=10 height units, h2=30 parasangs, m=2, due to h2=30 > h1*m=20, So, page data is the page data after position location in current page.
It should be noted that the m in the present embodiment is set greater than or the positive integer equal to 2, it is primarily implemented in current The page data for the screen of page data distance first that the page is shown farther out in the case of, just the page is positioned to the sprocket bit of setting Put, perform step S206;If the page data for the screen of page data distance first that current page is shown is nearer, can directly it hold Row step S208.Wherein, the distance between page data and the page data of the first screen for currently showing can be current display Page data where screen number and the first screen between the screen number that is spaced, if for example, screen where the page data currently shown It is the 5th screen to count, then the distance between page data of the page data currently shown and the first screen is four screen distances.Moreover, needing It is noted that above-mentioned distant and closer to the distance for comparatively, the adjust the distance identification of distance of the present embodiment is not limited.
Step S206, the execution page return operation since position location, terminate this flow.
Alternatively, if current location is the 5th screen, position location is the second screen, specifically, and position location can be second The list end of the optional position of screen, such as the second screen, then be quickly switched into the second screen, display second by current page from the 5th screen Shield corresponding page data.It should be noted that being switched fast in this step can be a kind of momentary operation process, switching speed Degree quickly, takes very short.
Alternatively, the page in the present embodiment, which returns to operation, can include one below:The page returns to rolling operation, the page Return slide, the page return page turn over operation, the page return jump operation etc., specifically, current page can be rolled to The top of the corresponding page data of first screen, the concrete operations form that the present embodiment returns to operation to the page is not limited.
Step S208, the execution page return operation since the current location in current page, terminate this flow.
If determining the current location of the page without departing from page in the position location, i.e. current page according to current page information Face data are the page data before the corresponding page data in position location or position location, then are directly held since current location The row page returns to operation.
According to the trigger action of reception, current page information is obtained, the current page info can be aobvious including current page The relevant information of control, relevant information of current page movement etc. in the relevant information of the page data shown, current page.If root Determine to need to position the page to the position location of setting according to current page information, then the page is performed since position location and returned Operation.Wherein, position location is the target location of target pages.For example, current location is where the page data of the 5th screen Position, initial position is the position where the page data of the first screen, and position location is the position where the page data of the second screen Put, current location farther out, is not easy to return page by page by screen, then the page data shown current page is by the apart from initial position The page data of five screens is directly targeted to the page data of the second screen, then the execution page returns to operation since the second screen position, If the page return operation for roll screen to return to the top of the page data of the first screen, from the second screen position return the first screen Page data top, compared to from the 5th screen position return the first screen page data top, save roll screen Time, meanwhile, decrease the page return operating process in screen display page data quantity, reduce resource occupation Rate.
Can be a kind of instantaneous by the process that current page is quickly switched into position location from current location in the present embodiment Operating process, position location is quickly switched into from current location, then is rolled to the top of the first screen from position location, is one complete Whole, coherent operating process, the speed being switched fast is faster, and the speed for being rolled to the top of the first screen is faster, time-consuming fewer.
Technical scheme in the present embodiment can not only be applied in the system application of operating system, can be applied in behaviour Make in the third-party application of system, be a kind of general page processing scheme.
Embodiment three
Reference picture 3, shows a kind of structured flowchart of the processing unit of according to embodiments of the present invention three page.
The processing unit for the page that the present embodiment is provided includes:Acquisition module 30, for the trigger action according to reception, is obtained Take current page information;Positioning action module 32, for being determined to position the page to the positioning of setting according to current page information Position, and page return operation is performed since the position location of setting, position location is the target location of target pages.
The processing unit of the page of the present embodiment is used for the processing method for realizing the corresponding page in aforesaid plurality of embodiment, And the beneficial effect with corresponding embodiment of the method, it will not be repeated here.
Example IV
Reference picture 4, shows a kind of structured flowchart of the processing unit of according to embodiments of the present invention four page.
The processing unit for the page that the present embodiment is provided includes:Acquisition module 40, for the trigger action according to reception, is obtained Take current page information;Positioning action module 42, if for being determined the page positioning determining to setting according to current page information Position position, and page return operation is performed since the position location of setting, position location is the target location of target pages.
Alternatively, acquisition module 40, for obtaining the control type in current page according to the trigger action of reception;According to Control type in current page obtains the relevant information of current page.
Alternatively, current page information includes:The index information of page data in current page, or in current page The displacement information of control elevation information and current page.
Alternatively, positioning action module 42, including:First positioning action submodule 421, if for according in current page First page data index information and the index information of the last item page data, determine page data in current page Page data after position location, then position the page to the position location of setting;And opened from the position location of the setting Begin to perform page return operation.
Alternatively, the first positioning action submodule 421, if being more than (n2-n1) * m for n1, it is determined that page in current page Face data are the page data after the position location;The page is positioned to the position location of setting;And from the setting Position location starts to perform page return operation;Wherein, n1 is the index information of first page data, and n2 is the last item page The index information of face data, m is the number of pages information of the corresponding page in position location, and m is the positive integer more than or equal to 2.
Alternatively, positioning action module 42, including:Second positioning action submodule 422, if for according in current page Control elevation information and current page displacement information, it is the page after position location to determine page data in current page Data, then position the page to the position location of setting;And page return operation is performed since the position location of the setting.
Alternatively, the second positioning action submodule 422, if for h2 whether h1*m, it is determined that page in the current page Face data are the page data after the position location;The page is positioned to the position location of setting;And from the setting Position location starts to perform page return operation;Wherein, h2 is the displacement information of current page, and h1 is the control in current page Elevation information, m is the number of pages information of the corresponding page in position location, and m is the positive integer more than or equal to 2.
Alternatively, the processing unit for the page that the present embodiment is provided also includes:Judge module 44, in positioning action mould Block 42 determines to position the page to before the position location of setting according to current page information, according to current page information, judges Whether the current location of the page exceeds position location;Performing module 46, if for judge module 44 judged result be without departing from, The page is then performed since the current location and returns to operation;If the judged result of judge module 44 is beyond performing Positioning action module 42.
Alternatively, the page, which returns to operation, includes one below:The page returns to rolling operation, the page and returns to slide, page Face returns to page turn over operation, the operation of page return jump.
Alternatively, trigger action includes one below:Clicking operation, gesture operation.
The processing unit of the page of the present embodiment is used for the processing method for realizing the corresponding page in aforesaid plurality of embodiment, And the beneficial effect with corresponding embodiment of the method, it will not be repeated here.
Embodiment five
Reference picture 5, shows a kind of structural representation of according to embodiments of the present invention five terminal device, and the present invention is specific Embodiment is not limited implementing for terminal device.
As shown in figure 5, the terminal device can include:Processor (processor) 502, communication interface (Communications Interface) 504, memory (memory) 506 and communication bus 508.
Wherein:
Processor 502, communication interface 504 and memory 506 complete mutual communication by communication bus 508.
Communication interface 504, communicates for the network element with the such as other terminals of miscellaneous equipment or server etc..
Processor 502, for configuration processor 510, can specifically perform the phase in the processing method embodiment of the above-mentioned page Close step.
Specifically, program 510 can include program code, and the program code includes computer-managed instruction.
Processor 502 is probably central processor CPU, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement one or more integrated electricity of the embodiment of the present invention Road.The one or more processors that terminal device includes, can be same type of processors, such as one or more CPU;Also may be used To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 506, for depositing program 510.Memory 506 may include high-speed RAM memory, it is also possible to also include Nonvolatile memory (non-volatile memory), for example, at least one magnetic disk storage.
Program 510 specifically can be used for so that processor 502 performs following operation:According to the trigger action of reception, obtain Current page information;Determined to position the page to the position location of setting according to current page information, and determining from the setting Position position starts to perform predetermined registration operation, the target location of the target pages.
In a kind of optional embodiment, program 510 is additionally operable to that processor 502 is grasped according to the triggering of reception Make, when obtaining current page information, the control type in current page is obtained according to the trigger action of reception;According to described current Control type in the page obtains the current page information.
In a kind of optional embodiment, current page information includes the index letter of the page data in current page Breath, or, control elevation information and the displacement information of the current page in the current page.
In a kind of optional embodiment, program 510 is additionally operable to so that processor 502 is true according to current page information When determining to position the page to the position location of setting, if the index information of first page data in the current page With the index information of the last item page data, determine that page data is the page after the position location in the current page Face data, then position the page to the position location of setting.
In a kind of optional embodiment, program 510 is additionally operable to so that processor 502 is according in the current page First page data index information and the index information of the last item page data, determine the page in the current page Data be the position location after page data when, if n1 be more than (n2-n1) * m, it is determined that the page in the current page Data are the page data after the position location;Wherein, the n1 is the index information of first page data, institute The index information that n2 is the last item page data is stated, the m is the number of pages information of the corresponding page in the position location, The m is the positive integer more than or equal to 2.
In a kind of optional embodiment, program 510 is additionally operable to so that processor 502 is true according to current page information When determining to position the page to the position location of setting, if control elevation information and the current page in the current page The displacement information in face, determines that page data is the page data after the position location in the current page, then by the page The position location of positioning extremely setting.
In a kind of optional embodiment, program 510 is additionally operable to so that processor 502 is according in the current page Control elevation information and the current page displacement information, determine whether page data is described fixed in the current page Position position after page data when, if h2 be more than h1*m, it is determined that in the current page page data be the sprocket bit Page data after putting;Wherein, the h2 is the displacement information of the current page, and the h1 is in the current page Control elevation information, the m is the number of pages information of the corresponding page in the position location, and the m is more than or equal to 2 just Integer.
In a kind of optional embodiment, program 510 is additionally operable to so that processor 502 is true according to current page information It is fixed to position the page to before the position location of setting, according to current page information, judge whether the current location of the page exceeds Position location;If without departing from the execution page returns to operation since current location;If exceeding, the basis is performed current Page info is determined to position the page to the position location of setting, and the execution page is returned since the position location of the setting The step of operation..
In a kind of optional embodiment, the page, which returns to operation, includes one below:Page return rolling operation, The page returns to slide, the page and returns to page turn over operation, the operation of page return jump.
In a kind of optional embodiment, the trigger action includes one below:Clicking operation, gesture operation.
The corresponding steps implemented in the processing method embodiment that may refer to the above-mentioned page of each step in program 510 Corresponding description, will not be described here with unit.It is apparent to those skilled in the art that, for the convenience of description With succinct, the equipment of foregoing description and the specific work process of module, the corresponding process in preceding method embodiment may be referred to Description, will not be repeated here.
By the terminal device of the present embodiment, according to the trigger action of reception, current page information, the current page are obtained Information can include the relevant information of control, current page in the relevant information for the page data that current page is shown, current page Relevant information of face movement etc..If being determined to need to position the page to the position location of setting according to current page information, from Position location starts to perform page return operation.Wherein, position location is the target location of target pages.For example, current location For the position where the page data of the 5th screen, initial position is the position where the page data of the first screen, and position location is Position where the page data of second screen, current location farther out, is not easy to return page by page by screen, then ought apart from initial position The page data that the preceding page is shown is directly targeted to the page data of the second screen by the page data of the 5th screen, then from the second screen position Put start perform the page return operation, if the page return operation for roll screen to return to the top of the page data of the first screen, The top of the page data of the first screen is then returned to from the second screen position, compared to the page number that the first screen is returned from the 5th screen position According to top, save the time of roll screen, meanwhile, decrease the page return operating process in screen display page data Quantity, reduce resources occupation rate.
Can be a kind of instantaneous by the process that current page is quickly switched into position location from current location in the present embodiment Operating process, position location is quickly switched into from current location, then is rolled to the top of the first screen from position location, is one complete Whole, coherent operating process, the speed being switched fast is faster, and the speed for being rolled to the top of the first screen is faster, time-consuming fewer.
It may be noted that the need for according to implementation, all parts/step described in the embodiment of the present invention can be split as more The part operation of two or more components/steps or components/steps, can also be combined into new part/step by multi-part/step Suddenly, to realize the purpose of the embodiment of the present invention.
Above-mentioned method according to embodiments of the present invention can be realized in hardware, firmware, or be implemented as being storable in note Software or computer code in recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through net The original storage that network is downloaded is in long-range recording medium or nonvolatile machine readable media and will be stored in local recording medium In computer code so that method described here can be stored in using all-purpose computer, application specific processor or can compile Such software processing in journey or the recording medium of specialized hardware (such as ASIC or FPGA).It is appreciated that computer, processing Device, microprocessor controller or programmable hardware include can storing or receive software or computer code storage assembly (for example, RAM, ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and when performing, realize The processing method of the page described here.In addition, when all-purpose computer accesses the processing side for realizing the page being shown in which During the code of method, the execution of code is converted to all-purpose computer the special of the processing method for performing the page being shown in which Computer.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and method and step, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the embodiment of the present invention.
Embodiment of above is merely to illustrate the embodiment of the present invention, and the not limitation to the embodiment of the present invention, relevant skill The those of ordinary skill in art field, in the case where not departing from the spirit and scope of the embodiment of the present invention, can also make various Change and modification, therefore all equivalent technical schemes fall within the category of the embodiment of the present invention, the patent of the embodiment of the present invention Protection domain should be defined by the claims.

Claims (21)

1. a kind of processing method of the page, it is characterised in that including:
According to the trigger action of reception, current page information is obtained;
Determined to position the page to the position location of setting according to the current page information, and from the position location of the setting Start to perform page return operation, the target location of target pages is in the position location set.
2. according to the method described in claim 1, it is characterised in that the trigger action according to reception, obtain current page Information, including:
Control type in current page is obtained according to the trigger action of reception;
Control type in the current page obtains the current page information.
3. method according to claim 1 or 2, it is characterised in that the current page information includes:
The index information of page data in the current page, or,
The displacement information of control elevation information and the current page in the current page.
4. method according to claim 3, it is characterised in that it is described according to current page information determine by the page position to The position location of setting, including:
If the index information of first page data in the current page and the index letter of the last item page data Breath, determines that page data is the page data after the position location in the current page, then positions the page to setting Position location.
5. method according to claim 4, it is characterised in that first page number in the current page According to index information and the last item page data index information, it is the positioning to determine in the current page page data Page data after position, including:
If n1 is more than (n2-n1) * m, it is determined that page data is the page number after the position location in the current page According to;
Wherein, the n1 is the index information of first page data, and the n2 is the last item page data Index information, the m is the number of pages information of the corresponding page in the position location, and the m is just whole more than or equal to 2 Number.
6. method according to claim 3, it is characterised in that it is described according to current page information determine by the page position to The position location of setting, including:
If the displacement information of the control elevation information and the current page in the current page, determines the current page Page data is the page data after the position location in face, then positions the page to the position location of setting.
7. method according to claim 6, it is characterised in that the control elevation information in the current page With the displacement information of the current page, determine that page data is the page number after the position location in the current page According to, including:
If h2 is more than h1*m, it is determined that page data is the page data after the position location in the current page;
Wherein, the h2 is the displacement information of the current page, and the h1 is the control elevation information in the current page, The m is the number of pages information of the corresponding page in the position location, and the m is the positive integer more than or equal to 2.
8. the method according to claim any one of 1-7, it is characterised in that determined to incite somebody to action according to current page information described The page is positioned to before the position location of setting, and methods described also includes:
According to current page information, judge whether the current location of the page exceeds the position location;
If without departing from performing the page since the current location and return to operation;
If exceeding, perform it is described determined to position the page to the position location of setting according to current page information, and from described The position location of setting starts to perform the step of page returns to operation.
9. method according to claim 8, it is characterised in that the page, which returns to operation, includes one below:The page is returned Return rolling operation, the page and return to slide, page return page turn over operation, the operation of page return jump.
10. the method according to claim any one of 1-7, it is characterised in that the trigger action includes one below:Point Hit operation, gesture operation.
11. a kind of processing unit of the page, it is characterised in that including:
Acquisition module, for the trigger action according to reception, obtains current page information;
Positioning action module, for being determined to position the page to the position location of setting according to current page information, and from described The position location of setting starts to perform page return operation, and the target location of target pages is in the position location set.
12. device according to claim 11, it is characterised in that the acquisition module, for being grasped according to the triggering of reception Make the control type in acquisition current page;Control type in the current page obtains the current page information.
13. the device according to claim 11 or 12, it is characterised in that the current page information includes:It is described current The displacement of control elevation information and the current page in the index information of page data in the page, or the current page Information.
14. device according to claim 13, it is characterised in that the positioning action module, including:
First positioning action submodule, if the index information and most for first page data in the current page The index information of latter bar page data, determines that page data is the page number after the position location in the current page According to then the page is positioned to the position location of setting;And page return operation is performed since the position location of the setting.
15. device according to claim 14, it is characterised in that the first positioning action submodule, if big for n1 In (n2-n1) * m, it is determined that page data is the page data after the position location in the current page;The page is determined Position to the position location of setting;And page return operation is performed since the position location of the setting;
Wherein, the n1 is the index information of first page data, and the n2 is the last item page data Index information, the m is the number of pages information of the corresponding page in the position location, and the m is just whole more than or equal to 2 Number.
16. device according to claim 13, it is characterised in that the positioning action module, including:
Second positioning action submodule, if for the control elevation information in the current page and the current page Displacement information, determines that page data is the page data after the position location in the current page, then positions the page To the position location of setting;And page return operation is performed since the position location of the setting.
17. device according to claim 16, it is characterised in that the second positioning action submodule, if big for h2 In h1*m, it is determined that page data is the page data after the position location in the current page;By the page position to The position location of setting;And page return operation is performed since the position location of the setting;
Wherein, the h2 is the displacement information of the current page, and the h1 is the control elevation information in the current page, The m is the number of pages information of the corresponding page in the position location, and the m is the positive integer more than or equal to 2.
18. the device according to claim any one of 11-17, it is characterised in that described device also includes:
Judge module, for being determined to position the page to the positioning of setting according to current page information in the positioning action module Before position, according to current page information, judge whether the current location of the page exceeds the position location;
Performing module, if the judged result for the judge module is without departing from the execution institute since the current location State the page and return to operation;If the judged result of the judge module is beyond performing the positioning action module.
19. device according to claim 18, it is characterised in that the page, which returns to operation, includes one below:The page Return to rolling operation, the page and return to slide, page return page turn over operation, the operation of page return jump.
20. the device according to claim any one of 11-17, it is characterised in that the trigger action includes one below: Clicking operation, gesture operation.
21. a kind of terminal device, it is characterised in that including:Processor, memory, communication interface and communication bus, the processing Device, the memory and the communication interface complete mutual communication by the communication bus;
The memory is used to deposit an at least executable instruction, and the executable instruction makes the computing device such as right will Ask the corresponding operation of processing method of the page described in any one of 1-10.
CN201710547214.4A 2017-07-06 2017-07-06 Page processing method and device and terminal equipment Active CN107193572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710547214.4A CN107193572B (en) 2017-07-06 2017-07-06 Page processing method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710547214.4A CN107193572B (en) 2017-07-06 2017-07-06 Page processing method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN107193572A true CN107193572A (en) 2017-09-22
CN107193572B CN107193572B (en) 2021-02-23

Family

ID=59881945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710547214.4A Active CN107193572B (en) 2017-07-06 2017-07-06 Page processing method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN107193572B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894168A (en) * 2010-06-30 2010-11-24 优视科技有限公司 Method and system for layout display of web page of mobile terminal
CN103914523A (en) * 2014-03-24 2014-07-09 小米科技有限责任公司 Page rollback controlling method and page rollback controlling device
CN105786294A (en) * 2014-12-19 2016-07-20 阿里巴巴集团控股有限公司 Page access path return method and apparatus
CN106155675A (en) * 2015-04-23 2016-11-23 阿里巴巴集团控股有限公司 The page switching method of application program and device
CN106775428A (en) * 2017-02-28 2017-05-31 北京潘达互娱科技有限公司 A kind of page processing method and device
CN106843663A (en) * 2017-02-08 2017-06-13 网易(杭州)网络有限公司 For the localization method of pre- jump location, device and readable storage medium storing program for executing in the page

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894168A (en) * 2010-06-30 2010-11-24 优视科技有限公司 Method and system for layout display of web page of mobile terminal
CN103914523A (en) * 2014-03-24 2014-07-09 小米科技有限责任公司 Page rollback controlling method and page rollback controlling device
CN105786294A (en) * 2014-12-19 2016-07-20 阿里巴巴集团控股有限公司 Page access path return method and apparatus
CN106155675A (en) * 2015-04-23 2016-11-23 阿里巴巴集团控股有限公司 The page switching method of application program and device
CN106843663A (en) * 2017-02-08 2017-06-13 网易(杭州)网络有限公司 For the localization method of pre- jump location, device and readable storage medium storing program for executing in the page
CN106775428A (en) * 2017-02-28 2017-05-31 北京潘达互娱科技有限公司 A kind of page processing method and device

Also Published As

Publication number Publication date
CN107193572B (en) 2021-02-23

Similar Documents

Publication Publication Date Title
JP6029767B2 (en) Icon arrangement method, apparatus, device, program, and recording medium
CN103853729B (en) Page loading method and its system
US10417297B2 (en) Webpage loading method and system
JP2020504865A (en) Application data processing method, apparatus, and storage medium
CN106909281B (en) Method and device for switching application internal interfaces
CN104238897A (en) Menu item displaying method and device
CN112214142B (en) Application information display method and device, electronic equipment and storage medium
CN106951140A (en) The icon replacing options and electronic equipment of application program
US20180181295A1 (en) Method for displaying information, and terminal equipment
CN105468275A (en) Method and apparatus for performing operation on presented object
WO2014032589A1 (en) Window switching method and apparatus
KR20220127334A (en) Table browsing methods, devices, electronic devices and storage media in documents
CN105867805B (en) Information loading method and electronic equipment
CN111596911A (en) Method and device for generating control, computer equipment and storage medium
US9959010B1 (en) Method for displaying information, and terminal equipment
CN113805752A (en) Object moving method and electronic equipment
CN113253883A (en) Application interface display method and device and electronic equipment
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
CN107193572A (en) Processing method, device and the terminal device of the page
CN112578961B (en) Application identifier display method and device
US9536013B2 (en) Method and apparatus for web browsing of handheld device
CN113342222A (en) Application classification method and device and electronic equipment
CN112486366A (en) Control display method and device and electronic equipment
CN105677749B (en) Page display method and device
CN113835584B (en) Page operation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200605

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 03

Applicant before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant