A kind of method of terminal device and its dynamic regulation control locationTechnical field
The present invention relates to field of mobile communication, more particularly to a kind of terminal device and its dynamic regulation control positionThe method put.
Background technology
Mobile phone screen is increasing, and the time of recent years, screen size rapidly extends to 7 cun from 2 cun,Thing followed operational issue becomes the common worry of all cellphone subscribers, and thumb cannot be reached during one-handed performanceOther side, the situation on the upside of screen can be can't reach when both hands hold machine.This Ji Nian all big enterprisesTry every possible means solve this problem, but effect is all poor, it is impossible to reach the anticipation target of user,The use of user is had an effect in a way.
At present, the top half screen that iphone is adopted is moved down, and facilitates user to reach, other manufacturersThere are the technologies such as suspension button, screen scaling.
But, screen reduces visible angle, suspension button most of the time to the technology such as moving down, scaleWithout, screen content is blocked, in addition existing technology is required for triggering manually, it has not been convenient to which user uses.
The content of the invention
The technical problem to be solved is to provide a kind of terminal device and its dynamic regulation control positionThe method put, to solve the problems, such as that the control that existing terminal shows cannot meet the easy demand for operating of user.
In order to solve above-mentioned technical problem, the invention discloses a kind of terminal device dynamic regulation control locationMethod, the method includes:
The information of all controls clicked in current display interface is collected and obtained to terminal device;
The terminal device according to it is all in current display interface type and acquired current display interface canThe information of the control of click, determines user in predicting action;
The terminal device shows in the predeterminated position of current display interface and performs the user in predicting action instituteThe all controls for needing.
Alternatively, in said method, the terminal device is according to current display interface type and acquiredThe information of all controls clicked in current display interface, determining the process of user in predicting action includes:
The terminal device by it is all in current display interface type and acquired current display interface can pointThe information of the control for hitting is sent to the webserver, obtains one or more groups of users from network server end pre-Survey action;Or
The terminal device according to it is all in current display interface type and acquired current display interface canThe information of the control of click, from local data base one or more groups of user in predicting actions are obtained.
Alternatively, in said method, when the terminal device determines user in predicting action, probability will be performedOne group or several groups actions of highest are defined as user in predicting action.
Alternatively, in said method, the predeterminated position of current display interface is the position of user preset,Or the position arranged according to user operation habits for system.
Alternatively, in said method, the terminal device shows in the predeterminated position of current display interfaceWhen performing all controls needed for the user in predicting action, show according to predetermined manner and perform the userAll controls needed for prediction action, wherein, the predetermined manner for user preset mode, Huo ZheweiThe mode that system is arranged.
Alternatively, the terminal device shows that the execution user is pre- in the predeterminated position of current display interfaceAfter all controls needed for survey action, the method also includes:
Terminal device records user in current display interface clicks on the action of control, and will be recordedAction be updated to the webserver and local data base.
The invention also discloses a kind of terminal device, including:
First module, collects and obtains the information of all controls clicked in current display interface;
Second unit, according to it is all in current display interface type and acquired current display interface can pointThe information of the control for hitting, determines user in predicting action;
Unit the 3rd, needed for the predeterminated position display execution user in predicting action in current display interfaceAll controls.
Alternatively, in the said equipment, the second unit, according to current display interface type and acquiredCurrent display interface in all controls clicked on information, determine that user in predicting action refers to:
By the letter of all controls clicked in current display interface type and acquired current display interfaceBreath is sent to the webserver, and from network server end one or more groups of user in predicting actions are obtained;Or
According to all controls clicked in current display interface type and acquired current display interfaceInformation, from local data base one or more groups of user in predicting actions are obtained.
Alternatively, in the said equipment, the second unit is general by performing when determining user in predicting actionThe one group or several groups actions of rate highest are defined as user in predicting action.
Alternatively, in the said equipment, the predeterminated position of current display interface is the position of user preset, orPerson is the position that system is arranged according to user operation habits.
Alternatively, in the said equipment, Unit the 3rd shows in the predeterminated position of current display interfaceWhen performing all controls needed for the user in predicting action, show according to predetermined manner and perform the userAll controls needed for prediction action, wherein, the predetermined manner for user preset mode, Huo ZheweiThe mode that system is arranged.
Alternatively, the said equipment also includes:
Unit the 4th, shows in the predeterminated position of current display interface in Unit the 3rd and performs the useAfter all controls needed for the prediction action of family, the action that the user in current display interface clicks on control is recorded,And the action for being recorded is updated to into the webserver and local data base.
Technical scheme has broken the layout type of routine, and the layout that user needs is placed on into most convenientWhere, the operating experience of large-screen mobile phone is greatly improved, lift the operating speed of user, and this ShenPlease the enforcement of technical scheme need not rely on special hardware device, therefore, with very strong feasibility.
Description of the drawings
Fig. 1 is the method flow diagram of embodiment of the present invention dynamic regulation control location;
Fig. 2 is the effect display schematic diagram of embodiment of the present invention dynamic regulation control location.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing pairTechnical solution of the present invention is described in further detail.It should be noted that in the case where not conflicting, thisFeature in the embodiment and embodiment of application can arbitrarily be mutually combined.
Embodiment 1
Present inventor proposes, can be in smart terminal product, including panel computer, smart mobile phone etc.On equipment, by recognizing the controls such as the button that can be clicked in viewing area, switch, by currentThe action of identification prediction user's next step of action, by the control of user's next step possible operation in user sideJust the position touched is suspended with one or several replacement buttons and is shown, user's point clicks to change replacement button, withRealize related operation.Based on above-mentioned thought, the present embodiment provides a kind of terminal device dynamic regulation controlThe method of position, the method is as shown in figure 1, main include following operation:
Step 100:Terminal device collects the letter of all controls that can be clicked in identification current display interfaceBreath, such as tutton, switch, menu;
The terminal device shows in the predeterminated position of current display interface and performs the user in predicting action instituteThe all controls for needing.
Step 200:Current page can perform operation information acquisition, and terminal device can be obtained from server endTake current page user in predicting action, it is also possible to obtain current page user in predicting action from local data base,The content of the data is a series of set of actions, for example, action A->Action B;
Wherein, terminal device can be according in current display interface type and acquired current display interfaceThe information of all controls clicked on, determines user in predicting action;
When terminal device obtains the prediction of current page user action from the webserver, webserver masterIf the collection and prediction of user action, it is achieved in that the movement decomposition of user, and data type isCurrent page type+continuous action, such as, for some application be divided into list interface, read interface,Other interfaces.List interface exist click on, return, delete etc. action, read interface exist slide,The action such as stop, share, returning, other interfaces user exists to return etc. and deposits between action, and actionUnder continuity, such as read interface, the action after user slides is probably to return, share, deletingDeng action, abstract, the subsequent action of page S action A is B1B2B3, and the webserver is unitedThe probability of meter subsequent action B1B2B3, and the several subsequent actions of probability highest are moved as user in predictingFeed back to terminal device.
Step 300:Terminal device shows in the predeterminated position of current display interface and performs user in predicting actionRequired all controls.
Wherein, the predeterminated position of current display interface can be the position of user preset, or system rootAccording to the position that user operation habits are arranged.
For example, user action, when action A is completed, the action B1B2 that system will likely be performed are monitoredButton required for B3 or other controls that can click on are with the translucent suspension of virtual key b1b2b3The form of control is placed into bottom of screen, if user clicks on corresponding translucent suspension control, realizesCorresponding function, if user performs other operations, translucent suspension control disappears.If user oneThe section time is not operated, then suspension button disappears.System restarts the slide for monitoring user.
In addition, based on the above method, the subsequent operation of user can also be recorded, that is, records userThe action of control is clicked in current display interface, and this action is updated to into network service and local dataStorehouse, for updating the probability of user in predicting action, to improve the reliability of subsequent prediction user action.
With reference to concrete application and description of the drawings said method specific implementation process, the process include asLower operation:
Step S101, during using starting, equipment reads the topology file of the current page of current application program,Obtain the control that can carry out clicking operation therein and (obtain all controls that can be clicked in viewing areaPart), such as button, switch, and obtain the coordinate information of control, the significant of id information and distinguish everyThe information of individual different controls;
Step S102, after startup, current page type is sent to the webserver by equipment, fromNetwork server end obtains current type Page user action prediction data, and the data are saved in locallyStorage, if data of the prediction data comprising the higher dry run of server meeting feedback probability here, such asFruit current device cannot connect to server, then read local data, if local data is sky, returnIt is also sky to return value.
User action prediction data action A->Action B, represents that user after execution action A, performsThe probability of action B, and the information such as the id of the control of the operation that may be included comprising action A and coordinate,The information such as the id and coordinate of the control operated by action B.Action A can for clicking operation, can alsoTouch etc. to slide is operated, and action B is defined herein to clicking operation.
Collect with regard to the record of action prediction data, it then follows claimed below:
When equipment observes that program enters this type interface 1 of the application program, start recording actionA1, when action A1 is finished, user execution action B1, the number of times of system operation of recording B1, andOperation of recording A1->Action B1 is one group of sequence, if now leaving interface 1, by action A1->Action B1 uploads onto the server, if now not leaving interface 1, user performs action C1, thenOperation of recording B1->Action C1 is one group of sequence, if now leaving interface 1, by action A1->Action B1, action B1->Action C1 uploads onto the server, if now continued to leave interface 1Record subsequent action is until leave interface 1, and upload sequence data.Server end statistics is all ofSequence data, server end is according to each action A- under the page>The frequency of action B entersRow probability statistics, for identical action A1, calculate respectively the probability of each action B1, and store.When device-to-server end is filed a request, server according to current page type, to equipment sending actionA->The detailed data of action B, including type of action, probability, the id and coordinate of the control being related to.
Step S103,:System monitoring user action, after detecting action A and implementing and complete,According to the probability scenarios of the user in predicting action B1B2B3 ... obtained from server, maximum of which is chosenSeveral situations, in mobile phone bottom several translucent suspension controls (as shown in Figure 2) such as b1b2b3 are shown,The effect for clicking on the suspension controls such as b1b2b3 is equal to the control of id corresponding to tri- actions of B1B2B3The effect being triggered, so as to complete user operation.If now exiting current interface, operation terminates,Translucent suspension control disappears.It is follow-up corresponding to query actions B if not exiting current interfaceOperation, shows corresponding translucent suspension control, until exiting current interface or user carries out other behaviourMake, translucent suspension control disappears.
In addition, system is also by all sequence data of recording step S103, and upload onto the server,The information such as the database of server update the type interface correlation coherent motion, including probability, position, id.And update local data base
So that news is read as an example, when user opens Netease's news client, when reading certain news item, it isSystem can read current arrangements' file, propose button information such as " return " " sharing " " settings ";
Device-to-server sends the message of " Netease's news " " the reading information page ", and server is to settingIt is standby to feed back the following several groups of operations that carried out (i.e. predicted operation):
Action A (slide at a slow speed readable text)->Action B1 (pressing return button) probability 80%;
Action A (slide read at a slow speed)->Action B2 (press and share button) probability 19%;
Action A (slide read at a slow speed)->Action B3 (pressing setting button) probability 1%;
Action B (press and share button)->Action C (selection wechat) probability 90%;
Action A (quick sliding reading)->The information such as action B (pressing return button) probability 90%.
User slides and is read, and when sliding frequency is less than a certain speed and reaches article bottom, regards asAction A-at a slow speed slides and reads, system can predict the sequence B of user and by the high action of probability withThe form arrangement of translucent suspension control and screen lower section, can show return in example below screen hereinTranslucent suspension button and the translucent suspension button for sharing, if user select return, whenTerminate current page, return news list, terminate current action, information is uploaded into database.If withFamily selects to share, then the translucent suspension button of wechat is shown below screen, is user-friendly to.
Embodiment 2
The present embodiment provides a kind of terminal device, and the method for its achievable above-described embodiment 1, the terminal setsIt is standby mainly to include following each unit.
First module, collects and obtains the information of all controls clicked in current display interface;
Second unit, according to it is all in current display interface type and acquired current display interface can pointThe information of the control for hitting, determines user in predicting action;
Specifically, second unit at least can determine user in predicting action with network side or local two ways,For example, can be by all controls clicked in current display interface type and acquired current display interfaceThe information of part is sent to the webserver, by network server end according to display interface type and display interfacePredicting one or more groups of user in predicting actions, network side will be predicted the information of interior all controls clicked onUser in predicting action feed back to second unit.Again for example, second unit is according to current display interfaceThe information of all controls clicked on, obtains from local data base in type and acquired current display interfaceTake one or more groups of user in predicting actions.
Wherein, user in predicting action determined by may have multigroup, therefore, it can that probability highest will be performedOne group or several groups of actions be defined as user in predicting action.
Unit the 3rd, needed for the predeterminated position display execution user in predicting action in current display interfaceAll controls.
Specifically, the predeterminated position of display interface can be the position of user preset, or system according toThe position that user operation habits are arranged, or the position of system initial default, in general, predeterminated positionIt is easy for the position that user operation meets user's use habit.Such as screen lower end both sides or screen side etc.Deng.
Also some schemes are proposed, in addition to user's use habit is met by the setting of predeterminated position,Can be to arrange display mode according to user's use habit, for example, transparent or semitransparent form shows,Or floating window shows etc..Can by user preset mode, or by system arrange mode.
It is noted that in order to improve the reliability of prediction user in predicting action, therefore can grasp every timeAfter the completion of work, the action of active user's actual selection is recorded, that is, record user institute in current display interfaceThe action of control is clicked on, such that it is able to update the webserver according to the action of the actual user for being recordedUser in predicting action is carried out to similar display interface with local data base.
One of ordinary skill in the art will appreciate that all or part of step in said method can pass through programTo instruct related hardware to complete, described program can be stored in computer-readable recording medium, such as read-onlyMemory, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be usedOne or more integrated circuits are realizing.Correspondingly, each module/unit in above-described embodiment can be adoptedThe form of hardware is realized, it would however also be possible to employ the form of software function module is realized.The application is not restricted to appointThe combination of the hardware and software of what particular form.
The above, preferred embodiments only of the invention are not intended to limit the protection model of the present inventionEnclose.All any modification, equivalent substitution and improvements within the spirit and principles in the present invention, done etc.,Should be included within the scope of the present invention.