CN108763541A - A kind of page display method and terminal - Google Patents

A kind of page display method and terminal Download PDF

Info

Publication number
CN108763541A
CN108763541A CN201810551630.6A CN201810551630A CN108763541A CN 108763541 A CN108763541 A CN 108763541A CN 201810551630 A CN201810551630 A CN 201810551630A CN 108763541 A CN108763541 A CN 108763541A
Authority
CN
China
Prior art keywords
page
information
browser
terminal
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810551630.6A
Other languages
Chinese (zh)
Other versions
CN108763541B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810551630.6A priority Critical patent/CN108763541B/en
Publication of CN108763541A publication Critical patent/CN108763541A/en
Application granted granted Critical
Publication of CN108763541B publication Critical patent/CN108763541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of page display method and terminals, are applied to field of communication technology, can solve the problems, such as that the process of the browser switching page existing in the prior art is dumb.This method includes:When browser shows first page, the first input of user is received, the first input is switched to second page for triggering terminal from first page;In response to the first input, the first information preserved in the history stack of browser is obtained, according to the first information, first page is switched to second page;The first information includes at least first identifier for identifying second page, the first information, wherein the page that the information including first identifier is identified is the page of the operation triggering display of user;Second page is the page in addition to homepage in the page that browser was shown, first page and second page are user's page that continuously operation triggering twice is shown.This method is applied in the scene that the page is shown.

Description

A kind of page display method and terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of page display method and terminals.
Background technology
With popularizing for terminal technology, the application of terminal is more and more extensive.For example, user is commonly using the browsing in terminal Device browses webpage to obtain information.
Currently, during user uses browser, when user wants to access some page (being denoted as the purpose page), use Family can click some link in the current page (being denoted as homepage), and target pages are switched to triggering terminal, but from master Terminal may can just be switched to target pages by one or more intermediate pages during page is switched to target pages.? During being somebody's turn to do, the page (for example, above-mentioned homepage, intermediate page and target pages) that user had accessed can be pressed and be visited by terminal It asks and is stored sequentially in the history stack of browser.When user's triggering terminal returns to homepage from target pages, terminal can be cut first Intermediate page is changed to, at this point, if user returns without quickly repeatedly clicking, terminal again can be according to the history stack of browser The access order of the page of middle preservation switches back to target pages from intermediate page.Only user is in the quick multiple point of target pages Homepage could be returned to by hitting return.If user without quickly repeatedly clicking return, then will produce the phenomenon that can not exiting the page, So cause the browser switching page dumb.
Invention content
A kind of page display method of offer of the embodiment of the present invention and terminal, to solve browser existing in the prior art Switch the inflexible problem of process of the page.
In order to solve the above-mentioned technical problem, the embodiment of the present invention is realized in:
In a first aspect, providing a kind of page display method, it is applied to terminal, this method includes:First is shown in browser In the case of the page, the first input of user is received, the first input is switched to second page for triggering terminal from first page; In response to the first input, the first information preserved in the history stack of browser is obtained, according to the first information, first page is switched For second page;The first information includes at least first identifier for identifying second page, the first information, wherein including the first mark The page that the information of knowledge is identified is the page of the operation triggering display of user;Second page is in the page that browser was shown The page in addition to homepage, first page and second page are user's page that continuously operation triggering twice is shown.
Second aspect provides a kind of terminal, which includes:Receiving module and display module;
Receiving module, the first input in the case where browser shows first page, receiving user, the first input For triggering terminal second page is switched to from first page;Display module, first for being received in response to receiving module are defeated Enter, obtain the first information preserved in the history stack of browser, according to the first information, first page is switched to second page; The first information includes at least first identifier for identifying second page, the first information, wherein the information including first identifier is marked The page of knowledge is the page of the operation triggering display of user;In the page that second page showed for browser in addition to homepage The page, first page and second page are user's page that continuously operation triggering twice is shown.
The third aspect provides a kind of terminal, which includes processor, memory and be stored on the memory and can be The computer program run on the processor realizes page as described in relation to the first aspect when the computer program is executed by the processor The step of plane display method.
Fourth aspect provides a kind of computer readable storage medium, and computer is stored on the computer readable storage medium Program, the step of page display method as described in relation to the first aspect is realized when which is executed by processor.
In embodiments of the present invention, browser show first page in the case of, receive user first input, first Input is switched to second page for triggering terminal from first page;In response to the first input, in the history stack for obtaining browser First page is switched to second page by the first information of preservation according to the first information;The first information is for identifying second page Face, the first information include at least first identifier, wherein the page that the information including first identifier is identified is that the operation of user is touched Send out the page of display;Second page is the page in addition to homepage, first page and second page in the page that browser was shown Face is user's page that continuously operation triggering twice is shown.With this solution, due to may be used in the history stack of browser First identifier identified page is that the operation triggering of user shows the page, therefore switches the page (such as from above-mentioned first page in browser Face switches to second page) during, the second page of the operation triggering display of user can be directly switch into, without warp Redirecting for intermediate page is crossed, so that more flexible when the browser switching page.
Description of the drawings
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of interface display method schematic diagram one provided in an embodiment of the present invention;
Fig. 3 is a kind of interface display method schematic diagram two provided in an embodiment of the present invention;
Fig. 4 is a kind of interface display method schematic diagram three provided in an embodiment of the present invention;
Fig. 5 is a kind of interface display method schematic diagram four provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram one of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram two of terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of hardware schematic of terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs As, rather than for the particular order of description object.For example, the first input and the second input etc. are different defeated for distinguishing Enter, rather than the particular order for describing input.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android (Android) operating system can be ios operating systems, can also be other possible operating systems, the embodiment of the present invention is not Make specific limit.
Below by taking Android operation system as an example, introduces the method that the page provided in an embodiment of the present invention is shown and applied Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming In 1, the framework of Android operation system includes 4 layers, respectively:Application layer, application framework layer, system operation library layer and Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation of the frame in accordance with application program In the case of principle, some application programs are developed based on application framework layer.
System operation library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour All kinds of resources needed for it are provided as system.Android operation system running environment is used to provide software loop for Android operation system Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1 The software program of page display method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that The page display method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal can by The software program is run in Android operation system realizes page display method provided in an embodiment of the present invention.
A kind of page display method of offer of the embodiment of the present invention and terminal are received and are used when browser shows first page First input at family, the first input are switched to second page for triggering terminal from first page;In response to the first input, obtain First page is switched to second page by the first information preserved in the history stack of browser according to the first information;The first information For identifying second page, the first information includes at least first identifier, wherein the page that the information including first identifier is identified For the page of the operation triggering display of user;Second page is the page in addition to homepage in the page that browser was shown, the One page and second page are user's page that continuously operation triggering twice is shown.With this solution, going through due to browser The operation triggering that first identifier identified page is user may be used in history stack and show the page, therefore switch the page in browser During (such as switching to second page from above-mentioned first page), the of the operation triggering display of user can be directly switch into Two pages, without being subjected to redirecting for intermediate page, so that more flexible when the browser switching page.
Terminal in the embodiment of the present invention can be mobile terminal, or immobile terminal.Mobile terminal can be Mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personal digital Assistant, PDA) etc.;Immobile terminal can be personal computer (personal computer, PC), television set (television, TV), automatic teller machine or self-service machine etc.;The embodiment of the present invention is not especially limited.
The executive agent of page display method provided in an embodiment of the present invention can be above-mentioned terminal (including mobile terminal And immobile terminal), or the function module and/or functional entity of the page display method can be realized in the terminal, It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.Below by taking terminal as an example, to of the invention real The page display method for applying example offer is illustratively illustrated.
As shown in Fig. 2, the embodiment of the present invention provides a kind of page display method, this method includes:
S11, terminal show first page in a browser.
Optionally, above-mentioned browser can be the application program with browser function in terminal.
In the embodiment of the present invention, before above-mentioned S11, terminal during browsing pages, can gone through in a browser The information of the browsed page is stored in history stack (for example, the uniform resource locator that can preserve the browsed page is (English complete Claim:Uniform resource locator, english abbreviation:URL)), page info is being preserved unlike the prior art When, URL information and first identifier can be preserved for the page of the operation triggering display of user, wherein including first identifier The page that information is identified is the page of the operation triggering display of user.
The operation of user may include clicking operation or touch operation of user etc. in the embodiment of the present invention.
In order to more clearly describe page display method provided in an embodiment of the present invention, below in above-mentioned S11 Before, user's triggering terminal opens second page and first page in browser, and jumps to first page in second page Page display method provided in an embodiment of the present invention is carried out for the intermediate page redirected there are 1 during face exemplary Explanation.
It is assumed that the homepage of browser is page A, above-mentioned second page is page B, and first page is page C, second page An existing intermediate page redirected is the page 1 during jumping to first page.Then terminal browse page in a browser During face, the process that the information of the browsed page is stored in history stack may include following step a-e.
A, user opens the homepage of browser by operating 1 triggering terminal, and terminal shows page A in a browser, and The information of memory page A in history stack.
B, user switches to page B by operating 2 triggering terminals from page A.
C, terminal switches to page B in response to operation 2 from page A, and in history stack memory page B information.
D, user switches to page C by operating 3 triggering terminals from page B.
E, terminal first switches to the page 1 from page B, then switches to page C from the page 1, and going through in response to operation 3 The information of memory page 1 information and page C in history stack.
Aforesaid operations 1, operation 2 and operation 3 are the operation of user, and corresponding page A, page B and page C are user Operation triggering terminal open operation.
Illustratively, after above-mentioned steps a-e, history stack can be as shown in the following table 1 or table 2:
URL Mark
The URL of page C It is
The URL of the page 1
The URL of page B It is
The URL of page A It is
Table 1
In table 1, "Yes" is the first identifier for the page for the operation triggering display that identified page is user, for not being The page (such as intermediate page 1) of the operation triggering display of user, can be without mark.
URL Mark
The URL of page C It is
The URL of the page 1 It is no
The URL of page B It is
The URL of page A It is
Table 2
In table 2, "Yes" is the first identifier for the page for the operation triggering display that identified page is user, for not being The page (such as intermediate page 1) of the operation triggering display of user, may be used "No" and is identified.
S12, terminal receive the first input of user, and the first input is switched to second page for triggering terminal from first page Face.
S13, terminal obtain the first information preserved in the history stack of browser in response to the first input.
S14, terminal are switched to second page according to the first information, by first page.
Wherein, the first information includes at least first identifier for identifying second page, the first information, wherein including first The page that the information of mark is identified is the page of the operation triggering display of user;Second page is the page that browser was shown In the page in addition to homepage, first page and second page are the page of the continuous display of operation triggering twice of user.
Optionally, the second information is preserved in the history stack of browser, the second information is for identifying first page, the second letter Breath includes at least first identifier.Optionally, the first information further includes the uniform resource position mark URL of second page.
Illustratively, as shown in above-mentioned table 1 or table 2, obtain preserved in the history stack of browser for identifying second page (i.e. the first information of page b) includes " URL of page B " and first identifier "Yes" in face.By the first identifier "Yes", terminal can To know the page of operation triggering display of the second page for user, then terminal can jump to the according to " URL of page B " Two pages, to which first page is switched to second page.
In above-mentioned embodiment shown in Fig. 2, since the first information for identifying second page is stored in history stack, and The page that terminal is currently shown is that first page had already turned on second page thus, it can be known that before terminal shows first page Face, user are switched to second page from first page by the first input triggering terminal, are as retracted into second from first page The page.Page display method provided in an embodiment of the present invention is used at this time, it can be according in the first information preserved in history stack First identifier confirm second page be user operation triggering display the page, so as to directly be switched to from first page Second page, without being subjected to intermediate page.In compared with the prior art must user quickly repeatedly click and can just be back to use The page of the operation triggering display at family, browser switches more flexible when the page.
Illustratively, as shown in figure 3, following Sa1-Sa5 specifically may be used to realize page provided in an embodiment of the present invention Plane display method.
Sa1, the back operation for receiving user.
Specifically, the back operation for receiving user can be clicked in the current page of browser with page back work( The button of energy, usually identifies the button with fallback function using the button with arrow in a browser.
Sa2, judge whether current page is homepage (first page i.e. after browser opening).
Wherein, if current page is homepage, illustrate that current page can not retreat, do not make any action.
If Sa3, current page are not homepages, the index value of current page is subtracted 1, obtains the index of a page Value, a upper page is determined according to the index value.
Sa4, judge whether a page is target pages (i.e. the page of the operation triggering display of user) on this.
If Sa5, a upper page are target pages, according to the URL of the upper page preserved in history stack, jump to A upper page.
If a upper page is not target pages, S2a is returned.
It should be noted that each page in browser corresponds to an index value, and the index value difference of adjacent page 1, illustratively, the corresponding index values of page A are 1 in above-mentioned table 1, then the corresponding index values of page B are 2,1 corresponding rope of the page It is 3 to draw value, and the corresponding index values of page C are 4.
The embodiment of the present invention provides a kind of page display method, in the case where browser shows first page, receives and uses First input at family, the first input are switched to second page for triggering terminal from first page;In response to the first input, obtain First page is switched to second page by the first information preserved in the history stack of browser according to the first information;The first information For identifying second page, the first information includes at least first identifier, wherein the page that the information including first identifier is identified For the page of the operation triggering display of user;Second page is the page in addition to homepage in the page that browser was shown, the One page and second page are user's page that continuously operation triggering twice is shown.With this solution, going through due to browser The operation triggering that first identifier identified page is user may be used in history stack and show the page, therefore switch the page in browser During (such as switching to second page from above-mentioned first page), the of the operation triggering display of user can be directly switch into Two pages, without being subjected to redirecting for intermediate page, so that more flexible when the browser switching page.
As shown in figure 4, after above-mentioned S14, page display method provided in an embodiment of the present invention further includes following S15- S17。
S15, terminal receive the second input of user, and the second input is switched to first page for triggering terminal from second page Face.
In the embodiment of the present invention, after being retracted into first page from second page, terminal have received again the second operation with Triggering advances to second page from first page.
In the embodiment of the present invention, before terminal receives the second input of user, terminal can be in the history stack of browser The second information of middle preservation, the second information include at least first identifier for identifying first page, the second information.Optionally, second Information further includes the URL of first page.
Optionally, the sequence that the first information is preserved with the second information in the history stack of browser with browse in a browser Second page is identical with the sequence of first page.
S16, terminal obtain the second information in response to the second input.
Second page is switched to first page by S17, terminal according to the second information.
Specifically, terminal can obtain the second information from the history stack of browser.And according to first in the second information Mark determines the page that the operation triggering that first page is user is opened, then terminal can include according to the second information the The URL of one page, jumps to first page, to which second page is switched to first page.
Illustratively, as shown in figure 5, following Sb1-Sb5 specifically may be used to realize page provided in an embodiment of the present invention Plane display method.
Sb1, the forward operation for receiving user.
Specifically, the forward operation for receiving user can be clicked in the current page of browser with page advance work( The button of energy, usually identifies the button with advancement function using the button with arrow in a browser.
Sb2, judge whether current page is the last one page.
Wherein, the last one page is the last one page that browser can be opened.If current page is the last one The page then illustrates that current page can not advance, does not make any action.
If Sb3, current page are not the last one pages, the index value of current page is added 1, obtains next page Index value determines next page according to the index value.
Sb4, judge whether next page is target pages (whether being that the operation of user triggers the page of display).
It is jumped to according to the URL of the next page preserved in history stack if Sb5, next page are target pages Next page.
If next page is not target pages, Sb2 is returned.
Above-mentioned page display method shown in Fig. 4, after being retracted into first page from second page, terminal has received again Second operation advances to second page to trigger from first page, since the second information preservation for identifying first page is being gone through In history stack, therefore it can confirm that first page is the operation of user according to the first identifier in the second information preserved in history stack The page for triggering display, so as to directly switch to first page from second page, without being subjected to intermediate page.To nothing The intermediate page that need to pass through between second page and first page redirects so that browser switches more flexible when the page.
As shown in fig. 6, the embodiment of the present invention provides a kind of terminal 130, which includes:Receiving module 131 and display Module 132;
Receiving module 131, the first input for when browser shows first page, receiving user, the first input are used In triggering terminal second page is switched to from first page;Display module 132, for being received in response to receiving module 131 One input, obtains the first information preserved in the history stack of browser, according to the first information, first page is switched to second page Face.Wherein, the first information includes at least first identifier for identifying second page, the first information, wherein including first identifier The page that information is identified is the page of the operation triggering display of user;Second page is in the page that browser was shown except master The page except page, first page and second page are user's page that continuously operation triggering twice is shown.
Optionally, as shown in fig. 7, terminal further includes preserving module 133;
Preserving module 133, for preserving the second information in the history stack of browser, the second information is for identifying first page Face, the second information include at least first identifier.
Optionally, receiving module is additionally operable in the case where browser shows second page, and receive user second is defeated Enter, the second input is switched to first page for triggering terminal from second page;Display module is additionally operable to defeated in response to second Enter, obtains the second information;Second page is switched to first page according to the second information.
Optionally, the first information further includes the uniform resource position mark URL of second page, and the second information further includes first page The URL in face.
Optionally, the sequence that the first information is preserved with the second information in the history stack of browser with browse in a browser Second page is identical with the sequence of first page.
Terminal provided in an embodiment of the present invention can realize each process shown in above method embodiment, to avoid weight Multiple, details are not described herein again.
The embodiment of the present invention provides a kind of terminal, when browser shows first page, receives the first input of user, the One input is switched to second page for triggering terminal from first page;In response to the first input, the history stack of browser is obtained First page is switched to second page by the first information of middle preservation according to the first information;The first information is for identifying second page Face, the first information include at least first identifier, wherein the page that the information including first identifier is identified is that the operation of user is touched Send out the page of display;Second page is the page in addition to homepage, first page and second page in the page that browser was shown Face is user's page that continuously operation triggering twice is shown.With this solution, due to may be used in the history stack of browser First identifier identified page is that the operation triggering of user shows the page, therefore switches the page (such as from above-mentioned first page in browser Face switches to second page) during, the second page of the operation triggering display of user can be directly switch into, without warp Redirecting for intermediate page is crossed, so that more flexible when the browser switching page.
A kind of hardware schematic of Fig. 8 terminals of each embodiment to realize the present invention, the terminal 100 include but unlimited In:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, The components such as user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.Art technology Personnel are appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 8, terminal may include than illustrate it is more or Less component either combines certain components or different components arrangement.In embodiments of the present invention, terminal includes but not It is limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, user input unit 107, the first input for receiving user, the first input is for triggering terminal from the One page is switched to second page;Processor 110 obtains first preserved in the history stack of browser in response to the first input First page is switched to second page by information according to the first information;The first information is for identifying second page, the first information Including at least first identifier, wherein the page that the information including first identifier is identified is the page of the operation triggering display of user Face;Second page is that the page in addition to homepage, first page and second page connect for user in the page that browser was shown The page of the continuous triggering display of operation twice.
The embodiment of the present invention provides a kind of terminal, when browser shows first page, receives the first input of user, the One input is switched to second page for triggering terminal from first page;In response to the first input, the history stack of browser is obtained First page is switched to second page by the first information of middle preservation according to the first information;The first information is for identifying second page Face, the first information include at least first identifier, wherein the page that the information including first identifier is identified is that the operation of user is touched Send out the page of display;Second page is the page in addition to homepage, first page and second page in the page that browser was shown Face is user's page that continuously operation triggering twice is shown.With this solution, due to may be used in the history stack of browser First identifier identified page is that the operation triggering of user shows the page, therefore switches the page (such as from above-mentioned first page in browser Face switches to second page) during, the second page of the operation triggering display of user can be directly switch into, without warp Redirecting for intermediate page is crossed, so that more flexible when the browser switching page.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set Standby communication.
Terminal has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 100 executes.Sound Frequency output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 105 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 107 include touch panel 1071 and other Input equipment 1072.Touch panel 1071, also referred to as touch screen, collect user on it or neighbouring touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 1071 or near touch panel 1071 Operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receives processor 110 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072. Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Button etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch The type for touching event provides corresponding visual output on display panel 1061.Although in fig. 8, touch panel 1071 and display Panel 1061 is to realize the function that outputs and inputs of terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically It is fixed.
Interface unit 108 is the interface that external device (ED) is connect with terminal 100.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting the port of device with identification module, the port audio input/output (I/O), video i/o port, ear port Etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 100 or can be used for terminal 100 and external device (ED) it Between transmission data.
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one Or multiple processing units;Optionally, processor 110 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, and optionally, power supply 111 can be with It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.In addition, terminal 100 includes some unshowned function modules, details are not described herein.
The embodiment of the present invention also provides a kind of terminal, which may include processor, memory and is stored in storage On device and the above-mentioned page may be implemented in the computer program that can run on a processor, the computer program when being executed by processor Each process that terminal executes in display methods embodiment, and identical technique effect can be reached, to avoid repeating, here no longer It repeats.
A kind of computer readable storage medium of the embodiment of the present invention, which is characterized in that on the computer readable storage medium Computer program is stored, which realizes that terminal executes in above-mentioned page display method embodiment when being executed by processor Each process, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, this computer-readable is deposited Storage media can be read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (12)

1. a kind of page display method is applied to terminal, which is characterized in that the method includes:
Browser show first page when, receive user first input, it is described first input for trigger the terminal from The first page is switched to second page;
In response to first input, the first information preserved in the history stack of the browser is obtained, the first information is used In identifying the second page, the first information includes first identifier, wherein the information including the first identifier is identified The page be user operation triggering display the page;The second page is that homepage is removed in the page that the browser was shown Except the page, the first page and the second page are the page of the continuous display of operation triggering twice of user;
According to the first information, the first page is switched to the second page.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The second information is preserved in the history stack of the browser, second information is described for identifying the first page Second information includes at least the first identifier.
3. according to the method described in claim 2, it is characterized in that, described according to the first information, by the first page It is switched to after the second page, the method further includes:
When the browser shows the second page, the second input of user is received, second input is for triggering It states terminal and is switched to the first page from the second page;
In response to second input, second information is obtained;
According to second information, the second page is switched to the first page.
4. according to the method in claim 2 or 3, which is characterized in that the first information further includes the second page Uniform resource position mark URL, second information further include the URL of the first page.
5. according to the method in claim 2 or 3, which is characterized in that the first information is with second information described The sequence preserved in the history stack of browser and the sequence phase for browsing the second page and the first page in a browser Together.
6. a kind of terminal, which is characterized in that including:Receiving module and display module;
The receiving module, the first input for when browser shows first page, receiving user, first input are used In triggering the terminal second page is switched to from the first page;
The display module, the first input for being received in response to the receiving module, obtains the history stack of the browser The first page is switched to the second page by the first information of middle preservation according to the first information;
The first information includes at least first identifier for identifying the second page, the first information, wherein including institute State the page for the operation triggering display that the page that the information of first identifier is identified is user;, the second page is described clear The page in the page that device of looking at was shown in addition to homepage, the first page and the second page be user continuously twice The page of operation triggering display.
7. terminal according to claim 6, which is characterized in that the terminal further includes preserving module;
The preserving module, for preserving the second information in the history stack of the browser, second information is for identifying The first page, second information include at least the first identifier.
8. terminal according to claim 7, which is characterized in that
The receiving module is additionally operable to when the browser shows the second page, receives the second input of user, described Second input is switched to the first page for triggering the terminal from the second page;
The display module is additionally operable to, in response to second input, obtain second information;It will according to second information The second page is switched to the first page.
9. terminal according to claim 7 or 8, which is characterized in that the first information further includes the second page Uniform resource position mark URL, second information further include the URL of the first page.
10. terminal according to claim 7 or 8, which is characterized in that the first information is with second information described The sequence preserved in the history stack of browser and the sequence phase for browsing the second page and the first page in a browser Together.
11. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 5 The step of page display method described in one.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the page display method as described in any one of claim 1 to 5 is realized when the computer program is executed by processor Step.
CN201810551630.6A 2018-05-31 2018-05-31 Page display method and terminal Active CN108763541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810551630.6A CN108763541B (en) 2018-05-31 2018-05-31 Page display method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810551630.6A CN108763541B (en) 2018-05-31 2018-05-31 Page display method and terminal

Publications (2)

Publication Number Publication Date
CN108763541A true CN108763541A (en) 2018-11-06
CN108763541B CN108763541B (en) 2021-07-13

Family

ID=64001366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810551630.6A Active CN108763541B (en) 2018-05-31 2018-05-31 Page display method and terminal

Country Status (1)

Country Link
CN (1) CN108763541B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104099A (en) * 2019-12-25 2020-05-05 北京中微媒网络科技有限公司 Data processing method and device
CN111783018A (en) * 2020-07-28 2020-10-16 支付宝(杭州)信息技术有限公司 Page processing method, device and equipment
CN111897478A (en) * 2020-08-11 2020-11-06 聚好看科技股份有限公司 Page display method and display equipment
CN112000255A (en) * 2020-08-21 2020-11-27 北京明略软件系统有限公司 List display method and apparatus, storage medium, and electronic apparatus
CN112163143A (en) * 2020-10-29 2021-01-01 百度时代网络技术(北京)有限公司 Page switching method, device, equipment and storage medium
CN112241296A (en) * 2019-07-17 2021-01-19 北京密境和风科技有限公司 Page switching method and device in application
CN113656127A (en) * 2021-08-12 2021-11-16 北京数码大方科技股份有限公司 Page routing method, device, storage medium and processor
CN113805962A (en) * 2021-08-31 2021-12-17 北京百度网讯科技有限公司 Application page display method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156232A (en) * 2014-07-18 2014-11-19 百度在线网络技术(北京)有限公司 Equipment and method for nonlinear page skip under linear page structure
CN104731807A (en) * 2013-12-20 2015-06-24 北京风行在线技术有限公司 Method and device for computing and analyzing page skip data
WO2015096588A1 (en) * 2013-12-25 2015-07-02 乐视网信息技术(北京)股份有限公司 Method and device for switching display pages
CN105302811A (en) * 2014-06-13 2016-02-03 腾讯科技(深圳)有限公司 Browser page skipping method and apparatus
US20160291920A1 (en) * 2011-09-27 2016-10-06 Z124 Browser full screen view
CN106021549A (en) * 2016-05-27 2016-10-12 青岛海信传媒网络技术有限公司 Page control method and device of web application program and terminal device
CN106951148A (en) * 2017-05-02 2017-07-14 深圳乐信软件技术有限公司 A kind of method and apparatus for switching the page
CN107277242A (en) * 2017-06-14 2017-10-20 黄之 A kind of processing method of displaying information on screen, display methods and display system
CN107885767A (en) * 2017-09-26 2018-04-06 五八有限公司 A kind of page operation method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160291920A1 (en) * 2011-09-27 2016-10-06 Z124 Browser full screen view
CN104731807A (en) * 2013-12-20 2015-06-24 北京风行在线技术有限公司 Method and device for computing and analyzing page skip data
WO2015096588A1 (en) * 2013-12-25 2015-07-02 乐视网信息技术(北京)股份有限公司 Method and device for switching display pages
CN105302811A (en) * 2014-06-13 2016-02-03 腾讯科技(深圳)有限公司 Browser page skipping method and apparatus
CN104156232A (en) * 2014-07-18 2014-11-19 百度在线网络技术(北京)有限公司 Equipment and method for nonlinear page skip under linear page structure
CN106021549A (en) * 2016-05-27 2016-10-12 青岛海信传媒网络技术有限公司 Page control method and device of web application program and terminal device
CN106951148A (en) * 2017-05-02 2017-07-14 深圳乐信软件技术有限公司 A kind of method and apparatus for switching the page
CN107277242A (en) * 2017-06-14 2017-10-20 黄之 A kind of processing method of displaying information on screen, display methods and display system
CN107885767A (en) * 2017-09-26 2018-04-06 五八有限公司 A kind of page operation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NOBUO FUNABIKI 等: "An Extension of the Web-Page Layout Optimization Method for Multimodal Browsing Sizes", 《IEEE》 *
崔巍: "移动设备交互界面动态化视觉设计研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241296A (en) * 2019-07-17 2021-01-19 北京密境和风科技有限公司 Page switching method and device in application
CN112241296B (en) * 2019-07-17 2024-03-22 北京密境和风科技有限公司 Page switching method and device in application
CN111104099A (en) * 2019-12-25 2020-05-05 北京中微媒网络科技有限公司 Data processing method and device
CN111783018A (en) * 2020-07-28 2020-10-16 支付宝(杭州)信息技术有限公司 Page processing method, device and equipment
CN111897478A (en) * 2020-08-11 2020-11-06 聚好看科技股份有限公司 Page display method and display equipment
CN112000255A (en) * 2020-08-21 2020-11-27 北京明略软件系统有限公司 List display method and apparatus, storage medium, and electronic apparatus
CN112163143A (en) * 2020-10-29 2021-01-01 百度时代网络技术(北京)有限公司 Page switching method, device, equipment and storage medium
CN112163143B (en) * 2020-10-29 2024-02-27 百度时代网络技术(北京)有限公司 Page switching method, device, equipment and storage medium
CN113656127A (en) * 2021-08-12 2021-11-16 北京数码大方科技股份有限公司 Page routing method, device, storage medium and processor
CN113656127B (en) * 2021-08-12 2023-08-04 北京数码大方科技股份有限公司 Page routing method, device, storage medium and processor
CN113805962A (en) * 2021-08-31 2021-12-17 北京百度网讯科技有限公司 Application page display method and device and electronic equipment
CN113805962B (en) * 2021-08-31 2023-10-20 北京百度网讯科技有限公司 Application page display method and device and electronic equipment

Also Published As

Publication number Publication date
CN108763541B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN108763541A (en) A kind of page display method and terminal
CN108595237A (en) A kind of method and terminal of display content
CN110083413A (en) A kind of small routine call method and terminal device
CN110456953A (en) File interface switching method and terminal device
CN110221753A (en) Application program downloads classification method and terminal device
CN109543099A (en) A kind of content recommendation method and terminal device
CN109032719A (en) A kind of object recommendation method and terminal
CN109085968A (en) A kind of screenshotss method and terminal device
CN109871246A (en) A kind of message display method and terminal device
CN109857290A (en) One kind not reading content display method and terminal device
CN110109593A (en) A kind of screenshotss method and terminal device
CN110046015A (en) Using sharing method and terminal
CN109189298A (en) A kind of language switching method and terminal
CN108446338A (en) A kind of method and terminal preserving browsing record
CN109828731A (en) A kind of searching method and terminal device
CN110069188A (en) Identification display method and terminal device
CN110099296A (en) A kind of information display method and terminal device
CN107948429A (en) A kind of content demonstration method and terminal device
CN108763540A (en) A kind of file browsing method and terminal
CN109117054A (en) A kind of display control method and terminal
CN110046013A (en) A kind of interface display method and terminal device
CN110049187A (en) A kind of display methods and terminal device
CN110442281A (en) A kind of application icon display methods and terminal
CN109358931A (en) A kind of interface display method and terminal
CN108881723A (en) A kind of image preview method and terminal

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
GR01 Patent grant
GR01 Patent grant