The content of the invention
The present invention solves the technical problem of a kind of display page layout switch apparatus and method of mobile terminal of offer, energyEnough forward-reverse or switchings that display interface is realized by rocking mobile terminal, reduce cumbersome path finding operation, are useFamily brings convenient using mobile terminal, while improve interest.
To solve technical problem, one aspect of the present invention is:A kind of display page of mobile terminal is providedSwitching device, including:Identification module, the display content for recognizing current display interface when mobile terminal is opened;Monitoring mouldBlock, for monitoring and remembers access order of the user to display content, and monitoring user is when rocking mobile terminal, mobile terminalGravity sensing device sensing rock direction;Processing module, the visit in direction and display content is rocked for setting mobile terminalAsk the corresponding relation of order, and in previous display according to corresponding relation to current display interface display content in access orderPerhaps latter display content switching.
To solve technical problem, one aspect of the present invention is:A kind of display page of mobile terminal is providedThe step of changing method, the method, includes:The display content of current display interface is recognized when mobile terminal is opened;Monitor and rememberRecall access order of the user to display content, and monitoring user is when rocking mobile terminal, the gravity sensing device of mobile terminalWhat is sensed rocks direction;Setting mobile terminal rocks the corresponding relation in direction and the access order of display content, and according to correspondencePrevious display content or latter display content switching of the relation to current display interface display content in access order.
Prior art is different from, the display page layout switch apparatus and method of mobile terminal of the invention, the device includes:KnowOther module, the display content for recognizing current display interface when mobile terminal is opened;Monitoring modular, for monitoring and remembersWhen user rocks mobile terminal to the access order of display content, and monitoring user, the gravity sensing device sense of mobile terminalThat answers rocks direction;Processing module, the corresponding relation in direction and the access order of display content is rocked for setting mobile terminal,And previous display content or latter display content according to corresponding relation to current display interface display content in access orderSwitching.By means of the invention it is possible to realize forward-reverse or the switching of display interface by rocking mobile terminal, reduce cumbersomePath finding is operated, and is that user brings convenient using mobile terminal, while improve interest.
Specific embodiment
Elaborate many details in order to fully understand the present invention in the following description.But the present invention can be withMuch it is different from other manner described here to implement, those skilled in the art can be in the situation without prejudice to intension of the present inventionUnder do similar popularization, therefore the present invention is not limited by following public specific implementation.
Secondly, the present invention is described in detail using schematic diagram, when the embodiment of the present invention is described in detail, for purposes of illustration only, instituteIt is example to state schematic diagram, and it should not limit the scope of protection of the invention herein.
Refering to Fig. 1, Fig. 1 is a kind of structural representation of the display page layout switch device of mobile terminal that the present invention is provided.The device 100 is arranged in mobile terminal 1 01, is used to realize the advance of its display content by rocking mobile terminal 1 01, is retreatedAnd switching.The device 100 includes identification module 110, monitoring modular 120 and processing module 130.
Identification module 110 is used to be recognized when mobile terminal 1 01 is opened the display content of current display interface.Identification module110 display screens for being connected to mobile terminal 1 01, recognize the display content of current display screen.In the present embodiment, showContent is divided into parallel display content and comprising display content.Parallel display content refers to that the display content that user currently browses is phaseMutual parallel side-by-side, it is applied in mobile terminal scene, the parallel display content of mobile terminal 1 01 is the application list pageAnd the photograph album application program that the photograph album that carries of terminal or user download;It is in mobile terminal 1 01 comprising display content and is installedIt is all kinds of carry or application program that user downloads (the photograph album application program that photograph album that aforementioned terminals are carried or user download is removedOutward).Identification module 110 judges its type then according to the display content on current display screen.If mobile terminal 1 01 is worked asThe display content of preceding display screen is the ocr software of the application list, photograph album or page turning, and identification module 110 is by above-mentioned displayContent recognition is parallel display content;If the display content of the current display screen of mobile terminal 1 01 is the application program opened, orThe setting page of the built-in system of person's mobile terminal 1 01, when now display content switches, existing means are by clicking on the pageDesignated button or back spacer are realized moving forward and backward, and be identified as above-mentioned display content comprising display content by identification module 110.
Monitoring modular 120 is used to monitor and remember access order of the user to display content, and monitoring user rocks shiftingDuring dynamic terminal 101, direction is rocked in the gravity sensing device (not shown) sensing of mobile terminal 1 01.In the present invention, by shakingDynamic mobile terminal 1 01 carries out the switching of display content.Monitoring modular 120 includes that page monitoring unit 121 and gravity sensing are monitoredUnit 122.The display content that the monitoring user of page monitoring unit 121 browses, and record access of the user to the display contentSequentially.If identification module 110 recognizes current display content for parallel display content, the record display of page monitoring unit 121The access order of inner cylinder.For parallel display content, no matter photograph album or application program is read, its display content is typically continuity, now page monitoring unit 121 is without record access order;For comprising display content, now page monitoring unit 121 need toRecord access is sequentially.As user has checked one by the browser in mobile terminal 1 01 in the financial column of Sina websiteThe related article of stock, access order can record and be:Main browser page-Sina's homepage-channel for finance and economics homepage-article.Gravity-feed tankMonitoring unit 122 is answered to be connected to the gravity sensing device of mobile terminal 1 01, for monitoring gravity sensing device according to mobile terminalThe gravity sensing information that 101 situation of rocking gets.In the present embodiment, sloshing mode is set as two classes, rocks to the leftRock to the right.When user's hand-held mobile terminal 101 is rocked, the gravity sensing device of mobile terminal 1 01 can sense movementTerminal 101 is rocked situation and obtains gravity sensing information.Gravity sensing monitoring unit 122 understands to move according to gravity sensing informationThat moves terminal 101 rocks situation.
Further, device 100 includes a judge module 140, and judge module 140 is used for setting one and rocks threshold value, and in real timeThe case values of rocking for obtaining gravity sensing device sensing are compared, rock case values more than it is described rock threshold value when, notifyGravity sensing device sends gravity sensing information to the gravity sensing monitoring unit.That is rocking to mobile terminal 1 01 firstSituation judged, is monitored to avoiding being acted because user is subconscious rocking of causing, and carries out not user-drivenMobile terminal 1 01 shows page layout switch.Judged by the contrast of judge module 140, case values will be rocked less than rocking threshold valueRock and ignore, the case values that only shake notify that gravity sensing device believes gravity sensing more than when rocking of threshold value is rockedBreath is sent to gravity sensing monitoring unit 122.
Processing module 130 is used to set the corresponding relation that mobile terminal rocks direction and the access order of display content, andCut according to previous display content or latter display content of the corresponding relation to current display interface display content in access orderChange.Processing module 130 includes receiving unit 131, setup unit 132 and execution unit 133.Receiving unit 131 is used for basis and sentencesThe judged result of disconnected module 140, receives and parses through gravity sensing information, and determine mobile terminal 1 01 rocks direction.Rock situationThe rocking to the left and rock to the right when just to user including mobile terminal 1 01.After getting the situation of rocking, setup unit 132The corresponding relation in direction and display content access order is rocked for setting mobile terminal 1 01.In the present embodiment, correspondence is closedSystem is set as switching to previous display content of the present displayed content in access order when rocking mobile terminal to the left, shakes to the rightLatter display content of the present displayed content in access order is switched to during dynamic mobile terminal.Execution unit 133 is according to above-mentionedPrevious display content or latter display content switching of the corresponding relation to current display interface display content in access order.IfRecognize that present displayed content is parallel display content by identification module 110, such as user by mobile phone photo album browsing pictures, thenUser can realize returning back to previous picture or proceed to next picture by rocking mobile terminal 1 01 to the left or to the right;If passing throughThe identification present displayed content of identification module 110 is the browser application as the aforementioned comprising display content, page monitoring unitThe access order of 121 records is main browser page-Sina's homepage-channel for finance and economics homepage-article, then read article in userAfterwards, when rocking mobile terminal 1 01 to the left, execution unit 133 will make currently displaying display content be switched to the page of channel for finance and economicsFace, continues to the left, then execution unit 133 will make currently displaying display content be switched to Sina's homepage, when rocking to the right, performsUnit 133 will make currently displaying display content be switched to the page of channel for finance and economics.
Further, also including a removing module 150, during for being shut down for the first time after user's browse displays content, deleteAccess order of the user of record to display content.
Prior art is different from, the display page layout switch apparatus and method of mobile terminal of the invention, the device includes:KnowOther module, the display content for recognizing current display interface when mobile terminal is opened;Monitoring modular, for monitoring and remembersWhen user rocks mobile terminal to the access order of display content, and monitoring user, the gravity sensing device sense of mobile terminalThat answers rocks direction;Processing module, the corresponding relation in direction and the access order of display content is rocked for setting mobile terminal,And previous display content or latter display content according to corresponding relation to current display interface display content in access orderSwitching.By means of the invention it is possible to realize forward-reverse or the switching of display interface by rocking mobile terminal, reduce cumbersomePath finding is operated, and is that user brings convenient using mobile terminal, while improve interest.
Refering to Fig. 2, Fig. 2 is a kind of schematic flow sheet of the display page switching method of mobile terminal that the present invention is provided.The step of the method, includes:
S210:The display content of current display interface is recognized when mobile terminal is opened.
By being connected to the display screen of mobile terminal, the display content of current display screen is recognized.In present embodimentIn, display content is divided into parallel display content and comprising display content.Parallel display content refers to the display that user currently browsesContent is parallel to each other arranged side by side, is applied in mobile terminal scene, and the parallel display content of mobile terminal is Application ColumnThe photograph album application program that the photograph album or user that the table page and terminal are carried are downloaded;It is on mobile terminal comprising display content and is pacifiedDress it is all kinds of carry or application program that user downloads (the photograph album application program that photograph album that aforementioned terminals are carried or user download is removedOutward).According to the display content on current display screen, its type is judged.If the display of mobile terminal current display screenContent is the ocr software of the application list, photograph album or page turning, and above-mentioned display content is identified as into parallel display content;If working asThe display content of preceding display screen be open application program, or mobile terminal built-in system the setting page, now showWhen content switches, existing means are to realize moving forward and backward by clicking on the designated button on the page or back spacer, will be above-mentioned aobviousShow that content recognition is comprising display content.
S220:Monitor and remember access order of the user to display content, and monitoring user is when rocking mobile terminal, movesWhat the gravity sensing device of dynamic terminal sensed rocks direction.
The display content that monitoring user browses, and record access order of the user to the display content.If previous stepThe current display content of middle identification is parallel display content, then the access order of record display inner cylinder.For parallel display content,No matter photograph album or application program is read, its display content is typically successional, now without record access order;For comprisingDisplay content, now needs record access sequentially.As user passes through financial column of the browser on mobile terminal in Sina websiteIn checked the related article of stock, access order can record and be:Main browser page-Sina's homepage-channel for finance and economics homepage-Article.The gravity sensing device of mobile terminal is connected to, monitoring gravity sensing device is obtained according to the situation of rocking of mobile terminalThe gravity sensing information for arriving.In the present embodiment, sloshing mode is set as two classes, rocks to the left and rocks to the right.User's handWhen holding mobile terminal and being rocked, the gravity sensing device of mobile terminal can sense rocking situation and obtaining gravity for mobile terminalInduction information.Mobile terminal rocks situation according to knowable to gravity sensing information.
Further, threshold value is rocked in setting one, and the case values of rocking of acquisition gravity sensing device sensing are compared in real time,Rock case values more than it is described rock threshold value when, notify that gravity sensing device sends gravity sensing information.I.e. first to movementThe situation of rocking of terminal judged, is monitored to avoiding being acted because user is subconscious rocking of causing, and carried out notThe mobile terminal display page switching of user-driven.Judged by contrasting, case values will be rocked less than rocking rocking suddenly for threshold valueSlightly, the case values that only shake notify that gravity sensing device sends gravity sensing information more than when rocking of threshold value is rocked.
S230:Setting mobile terminal rocks the corresponding relation in direction and the access order of display content, and is closed according to correspondenceIt is previous display content or latter the display content switching to current display interface display content in access order.
Judged result in previous step, receives and parses through gravity sensing information, determines the side of rocking of mobile terminalTo.Rocking situation includes mobile terminal rocking to the left when just to user and rocks to the right.After getting the situation of rocking, settingMobile terminal rocks the corresponding relation in direction and display content access order.In the present embodiment, corresponding relation be set as toA left side switches to previous display content of the present displayed content in access order when rocking mobile terminal, mobile terminal is rocked to the rightWhen switch to latter display content of the present displayed content in access order.According to above-mentioned corresponding relation to current display interfacePrevious display content or latter display content switching of the display content in access order.If identification present displayed content is parallelBy mobile phone photo album browsing pictures, then user can be by rocking mobile terminal realization to the left or to the right for display content, such as userIt return back to previous picture or proceeds to next picture;If identification present displayed content is, comprising display content, to browse as the aforementionedDevice application program, the access order of record is main browser page-Sina's homepage-channel for finance and economics homepage-article, then read in userAfter complete article, when rocking mobile terminal to the left, currently displaying display content will be made to be switched to the page of channel for finance and economics, continue toA left side, then will make currently displaying display content be switched to Sina's homepage, when rocking to the right, will cut currently displaying display contentChange to the page of channel for finance and economics.
Further, when being shut down for the first time after user's browse displays content, the visit of the user of deletion record to display contentAsk order.
The step of being different from prior art, the display page layout switch apparatus and method of mobile terminal of the invention, the methodIncluding:The display content of current display interface is recognized when mobile terminal is opened;Monitor and remember visit of the user to display contentOrder is asked, and monitoring user is when rocking mobile terminal, direction is rocked in the gravity sensing device sensing of mobile terminal;Setting is movedDynamic terminal rocks the corresponding relation in direction and the access order of display content, and is shown to current display interface according to corresponding relationPrevious display content or latter display content switching of the content in access order.By means of the invention it is possible to by rocking movementTerminal realizes forward-reverse or the switching of display interface, reduces cumbersome path finding operation, is that user uses mobile terminalBring convenient, while improve interest.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this areaTechnical staff without departing from the spirit and scope of the present invention, may be by the methods and techniques content of the announcement to this hairBright technical scheme makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, according to the present inventionAny simple modification, equivalent variation and modification for being made to above example of technical spirit, belong to technical solution of the present inventionProtection domain.