CN106951152A - The control method and device of tab bar - Google Patents

The control method and device of tab bar Download PDF

Info

Publication number
CN106951152A
CN106951152A CN201610009496.8A CN201610009496A CN106951152A CN 106951152 A CN106951152 A CN 106951152A CN 201610009496 A CN201610009496 A CN 201610009496A CN 106951152 A CN106951152 A CN 106951152A
Authority
CN
China
Prior art keywords
functionality controls
viewing area
function
tab bar
control
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
CN201610009496.8A
Other languages
Chinese (zh)
Other versions
CN106951152B (en
Inventor
张淼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610009496.8A priority Critical patent/CN106951152B/en
Priority to PCT/CN2016/112552 priority patent/WO2017118329A1/en
Publication of CN106951152A publication Critical patent/CN106951152A/en
Application granted granted Critical
Publication of CN106951152B publication Critical patent/CN106951152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of control method of tab bar and device.Wherein, this method includes:Viewing area of the tab bar in application interface is obtained, wherein, tab bar includes:I functionality controls in N number of functionality controls, N number of functionality controls are shown in viewing area, and N-i functionality controls are hidden, and i is the natural number less than or equal to N;When detecting drag events in the viewing area of tab bar, if detecting the first hiding functionality controls is dragged into viewing area, operational attribute when obtaining the attribute of the first functionality controls and/or occurring drag events;If operational attribute when attribute and/or the generation drag events of the first functionality controls meets default trigger condition, the corresponding task of the first functionality controls is performed.The viewing area that the present invention solves tab bar layout in the prior art is fixed, and the technical problem that multiple functionality controls easily cause maloperation is switched by clicking on.

Description

The control method and device of tab bar
Technical field
The present invention relates to mobile terminal control field, in particular to the control method and device of a kind of tab bar.
Background technology
With widely using for such as touch screen type mobile terminal such as auto-navigation system, mobile phone, flat board, people are mobile whole The application program used on end is more and more, and each application program is both provided with tab bar (Tab bar), can pass through Label in switch labels column, carries out the switching between multiple functions, as shown in Figure 1.
The viewing area of general tab bar (Tab bar) is fixed, the functionality controls (button) shown in viewing area Number can be 2-5, it is common for four.When the functionality controls for needing to switch exceed when screen operation is, it is necessary to first To be switched functionality controls are included in viewing area, for the function, function Tab switchings similar at present are logical Cross slip tab bar to add selection function to trigger the corresponding control function of the functionality controls, for example, pass through following two step (level) Or more operating process complete above-mentioned handoff functionality:
1st, the original state of tab bar such as Fig. 2 (a), when user needs to exceed when shielding operation, can be marked by dragging Column is signed, display needs the function of switching;
2nd, by clicking on the functionality controls for needing to switch, the purpose of function switching is completed, for example, it is desired to handoff functionality one, The then control of click function one, such as Fig. 2 (b);Handoff functionality two is needed, then the control of click function two, such as Fig. 2 (c); Handoff functionality three is needed, then the control of click function three, such as Fig. 2 (d).
But, prior art has the disadvantage that:
1st, Tab bar show that position number is limited, due to mobile phone screen fixed width, fail to lay down too many button.
When 2nd, function is more (>=5), when clicking on handoff functionality, each operation button space of Tab bar is small, Distance closely easily causes maloperation.
3rd, user is under the scene rocked, and such as drives, on subway, when walking, it is impossible to which function is accurately operated.
The viewing area being laid out for tab bar in the prior art is fixed, and is easily drawn by clicking on the multiple functionality controls of switching The technical problem of maloperation is played, effective solution is not yet proposed at present.
The content of the invention
The embodiments of the invention provide a kind of control method of tab bar and device, at least to solve label in the prior art The viewing area of column layout is fixed, and the technical problem that multiple functionality controls easily cause maloperation is switched by clicking on.
One side according to embodiments of the present invention there is provided a kind of control method of tab bar, including:Obtain label Viewing area of the column in application interface, wherein, tab bar includes:I in N number of functionality controls, N number of functionality controls Individual functionality controls are shown in viewing area, and N-i functionality controls are hidden, and i is the natural number less than or equal to N;In mark When detecting drag events in the viewing area for signing column, if detecting the first hiding functionality controls is dragged into viewing area Domain, operational attribute when obtaining the attribute of the first functionality controls and/or occurring drag events;If the first functionality controls Operational attribute when attribute and/or generation drag events meets default trigger condition, then performs the first functionality controls correspondence Task.
Another aspect according to embodiments of the present invention, additionally provides a kind of control method of tab bar, including:Work as touch When the application interface shown in screen senses drag events, judge whether drag events occur the tab bar in application interface Viewing area, wherein, tab bar includes:Functionality controls list, i functionality controls in functionality controls list show Show in viewing area, N-i functionality controls are hidden, i is the natural number less than or equal to N;If functionality controls list In the first functionality controls for hiding be dragged into viewing area, obtain the attribute of the first functionality controls and/or occur drag events When operational attribute;If operational attribute when attribute and/or the generation drag events of the first functionality controls meets default Trigger condition, then include the corresponding function pages of the first functionality controls in application interface.
Another aspect according to embodiments of the present invention, additionally provides a kind of control device of tab bar, including:First obtains Modulus block, for obtaining viewing area of the tab bar in application interface, wherein, tab bar includes:N number of function control I functionality controls in part, N number of functionality controls are shown in viewing area, and N-i functionality controls are hidden, and i is small In the natural number equal to N;Second acquisition module, during for detecting drag events in the viewing area of tab bar, If detecting the first hiding functionality controls is dragged into viewing area, attribute and/or the generation of the first functionality controls are obtained Operational attribute during drag events;Performing module, if attribute and/or generation drag events for the first functionality controls When operational attribute meet default trigger condition, then perform the corresponding task of the first functionality controls.
Another aspect according to embodiments of the present invention, additionally provides a kind of control device of tab bar, including:Judge mould Block, for when the application interface shown in touch-screen senses drag events, judging whether drag events occur answering With the viewing area of tab bar in interface, wherein, tab bar includes:Functionality controls list, in functionality controls list I functionality controls are shown in viewing area, and N-i functionality controls are hidden, and i is the natural number less than or equal to N;Obtain Modulus block, if the first functionality controls for being hidden in functionality controls list are dragged into viewing area, obtains the first work( The operational attribute when attribute and/or generation drag events of energy control;Display module, if for the first functionality controls Operational attribute when attribute and/or generation drag events meets default trigger condition, then the first functionality controls are corresponding Function pages are shown in application interface.
In embodiments of the present invention, viewing area of the tab bar in application interface is obtained, in the viewing area of tab bar When inside detecting drag events, if detecting the first hiding functionality controls is dragged into viewing area, the first work(is obtained The operational attribute when attribute and/or generation drag events of energy control, if attribute and/or the generation of the first functionality controls Operational attribute during drag events meets default trigger condition, then performs the corresponding task of the first functionality controls.
It is easily noted that, can be by i function in N number of functionality controls because tab bar includes N number of functionality controls Control is shown in viewing area, and N-i functionality controls hide (not being shown in viewing area), so as in label More functionality controls are extended in column, and can be by detecting the attribute for the functionality controls for being dragged into viewing area And/or in the case that operational attribute when occurring drag events meets trigger condition, the corresponding task of the functionality controls is performed, In the case of avoiding the functionality controls of display in viewing area excessive, because each functionality controls space is small, spacing Closely, maloperation is easily caused.
Thus, the viewing area that the scheme that the present invention is provided solves tab bar layout in the prior art is fixed, and passes through point Hit and switch the technical problem that multiple functionality controls easily cause maloperation.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In accompanying drawing In:
Fig. 1 is the logical schematic switched according to a kind of function of prior art;
Fig. 2 (a) is a kind of control method schematic diagram of tab bar according to prior art;
Fig. 2 (b) is a kind of control method schematic diagram of tab bar according to prior art;
Fig. 2 (c) is a kind of control method schematic diagram of tab bar according to prior art;
Fig. 2 (d) is a kind of control method schematic diagram of tab bar according to prior art;
Fig. 3 is a kind of tab bar and the schematic diagram of segmentation control according to prior art;
Fig. 4 is a kind of hardware block diagram of the terminal of the control method of tab bar of the embodiment of the present application;
Fig. 5 is a kind of flow chart of the control method of tab bar according to the embodiment of the present application one;
Fig. 6 (a) is a kind of control method schematic diagram of tab bar according to the embodiment of the present application;
Fig. 6 (b) is a kind of control method schematic diagram of tab bar according to the embodiment of the present application;
Fig. 7 (a) is a kind of control method schematic diagram of tab bar according to the embodiment of the present application;
Fig. 7 (b) is a kind of control method schematic diagram of tab bar according to the embodiment of the present application;
Fig. 7 (c) is a kind of control method schematic diagram of tab bar according to the embodiment of the present application;
Fig. 7 (d) is a kind of control method schematic diagram of tab bar according to the embodiment of the present application;
Fig. 8 is a kind of flow chart of the control method of tab bar according to the embodiment of the present application two;
Fig. 9 is a kind of schematic diagram of the control device of tab bar according to the embodiment of the present application three;
Figure 10 is a kind of schematic diagram of the control device of optional tab bar according to the embodiment of the present application three;
Figure 11 is a kind of schematic diagram of the control device of optional tab bar according to the embodiment of the present application three;
Figure 12 is a kind of schematic diagram of the control device of optional tab bar according to the embodiment of the present application three;
Figure 13 is a kind of schematic diagram of the control device of optional tab bar according to the embodiment of the present application three;
Figure 14 is a kind of schematic diagram of the control device of tab bar according to the embodiment of the present application four;
Figure 15 is a kind of structured flowchart of terminal according to the embodiment of the present application.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment The only embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ability The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, should all belong to The scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this The data that sample is used can be exchanged in the appropriate case, so as to embodiments of the invention described herein can with except Here the order beyond those for illustrating or describing is implemented.In addition, term " comprising " and " having " and they Any deformation, it is intended that covering is non-exclusive to be included, for example, containing process, the side of series of steps or unit Method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include unclear It is that ground is listed or for the intrinsic other steps of these processes, method, product or equipment or unit.
First, the part noun or term occurred during the embodiment of the present application is described is applied to following solution Release:
Tab bar:Tab bar, is normally at the bottom of mobile phone, but is not excluded for some specific positions, such as:Up and down, Each option of tab bar represents different functions, needs exist for carrying out with segmentedcontrol (segmentation control) Distinguish, the latter is it is emphasised that the different classes of differentiation of same function, the former is the differentiation of difference in functionality, such as Fig. 3 institutes Show, Fig. 3 centers 31 are segmentedcontrol, frame 32 is Tab bar.Due to segmentedcontrol It is emphasised that the different classes of differentiation of same function, so the content format of outward appearance page presentation is generally consistent, Tab Bar is it is emphasised that the differentiation of difference in functionality, generally corresponds to different views.Tab bar typically have icon either icon Plus the form of caption, segmentedcontrol is somewhat like label, and mainly word is shown.
Embodiment 1
According to embodiments of the present invention, a kind of control method embodiment of tab bar is additionally provided, it is necessary to illustrate, The step of flow of accompanying drawing is illustrated can perform in the computer system of such as one group computer executable instructions, and And, although logical order is shown in flow charts, but in some cases, can be with different from order herein Perform shown or described step.
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune Calculate in device and perform.Exemplified by running on computer terminals, Fig. 4 is a kind of control of tab bar of the embodiment of the present application The hardware block diagram of the terminal of method processed.As shown in figure 4, terminal 40 can include one or many (processor 402 can include but is not limited to Micro-processor MCV or can individual (one is only shown in figure) processor 402 Programmed logic device FPGA etc. processing unit), the memory 404 for data storage and for communication function Transport module 406.It will appreciated by the skilled person that the structure shown in Fig. 4 is only signal, it is not Structure to above-mentioned electronic installation causes to limit.For example, terminal 40 may also include it is more more than shown in Fig. 4 or The less component of person, or with the configuration different from shown in Fig. 4.
The label that memory 404 can be used in the software program and module of storage application software, such as embodiment of the present invention Corresponding programmed instruction/the module of control method on column, processor 402 is stored in the software in memory 404 by operation Program and module, so as to perform various function application and data processing, that is, realize the controlling party of above-mentioned tab bar Method.Memory 404 may include high speed random access memory, may also include nonvolatile memory, such as one or more Magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 404 can Further comprise the memory remotely located relative to processor 402, these remote memories can pass through network connection To terminal 40.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, movement Communication network and combinations thereof.
Transmitting device 406 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 40 are provided.In an example, transmitting device 406 includes one Network adapter (Network Interface Controller, NIC), it can pass through base station and other network equipments It is connected to be communicated with internet.In an example, transmitting device 406 can be radio frequency (Radio Frequency, RF) module, it is used to wirelessly be communicated with internet.
Under above-mentioned running environment, this application provides the control method of tab bar as shown in Figure 5.Fig. 5 is basis The flow chart of the control method of a kind of tab bar of the embodiment of the present application one, as shown in figure 5, the above method is including as follows Step:
Step S51, obtains viewing area of the tab bar in application interface, wherein, tab bar includes:N number of function control I functionality controls in part, N number of functionality controls are shown in viewing area, and N-i functionality controls are hidden, and i is small In the natural number equal to N.
Specifically, the page that the application software that above-mentioned application interface can be mounted on mobile terminal is shown after opening, Above-mentioned application software can be instant communication software, music player or navigation software, and above-mentioned mobile terminal can be intelligence Can mobile phone (such as Android phone, ios mobile phones), panel computer, the terminal device such as auto-navigation system, but not This is only limitted to, is not specifically limited in the embodiment of the present application.
Alternatively, the viewing area of tab bar can be located at the bottom of application interface, and can be according to tab bar (Tab Bar display area size), shows the functionality controls (button) of fixed qty, unnecessary work(in viewing area Energy control can be hidden, that is, not appeared in viewing area.
In a kind of optional scheme, the tab bar in the application can include functionality controls list, functionality controls list In can include multiple continuously arranged functionality controls, can be according to user the need for, by part in functionality controls list Functionality controls are shown in the viewing area of tab bar, and remaining functionality controls can be hidden, and pass through user's drag events Hiding functionality controls can be included in the viewing area of tab bar.
For example, as shown in Fig. 6 (a), tab bar is located at the bottom at interface, including 5 functionality controls:Function A is controlled Part, the control of function one, the control of function two, the control of function three and function B controls, wherein, the control of function one, function Two controls, these three functionality controls of the control of function three are shown in the viewing area of tab bar, function A controls and function The two functionality controls of B controls are hidden.
Step S53, when detecting drag events in the viewing area of tab bar, if detecting the first hiding work( Energy control is dragged into viewing area, operational attribute when obtaining the attribute of the first functionality controls and/or occurring drag events.
Specifically, the attribute of above-mentioned first functionality controls can be the face that the first functionality controls enter tab bar viewing area Product size, operational attribute when occurring drag events can be the duration for occurring drag events.
In a kind of optional scheme, after the viewing area of tab bar is got, if detecting the aobvious of tab bar Show occur drag events in region, and the first hiding functionality controls are dragged into the viewing area of tab bar, then are obtained Take the first functionality controls to enter the size of tab bar viewing area and occur the duration of drag events.
For example, as shown in Fig. 6 (b), when detecting user in viewing area to tab bar progress drag operation, such as Fruit user's drag function A enters viewing area, that is, exposes function A, then obtains the area that function A enters viewing area And the duration of the gesture operation of user.
Step S55, if operational attribute when attribute and/or the generation drag events of the first functionality controls meets default Trigger condition, then perform the corresponding task of the first functionality controls.
In a kind of optional scheme, get the first functionality controls into tab bar viewing area size and After the duration for occurring drag events, if the size that the first functionality controls enter tab bar viewing area meets tactile Fermentation product, and occur the duration satisfaction triggering duration of drag events, then run the corresponding task of the first functionality controls.
For example, as shown in Fig. 6 (b), when detecting user in viewing area to tab bar progress drag operation, such as Fruit user's drag function A enters viewing area, that is, exposes function A, and system is according to the gesture operation and displaying page of user Face (i.e. above-mentioned viewing area) size, is activated and operation function A.
Herein it should be noted that after the gesture operation for detecting user terminates, tab bar returns to original state, The control of display function one i.e. in the viewing area of tab bar, the control of function two and the control of function three, function A controls and work( The two functionality controls of energy B controls are still hidden.As shown in Fig. 6 (a).
In scheme disclosed in the above embodiments of the present application one, viewing area of the tab bar in application interface is obtained, in mark When detecting drag events in the viewing area for signing column, if detecting the first hiding functionality controls is dragged into viewing area Domain, operational attribute when obtaining the attribute of the first functionality controls and/or occurring drag events, if the first functionality controls Operational attribute when attribute and/or generation drag events meets default trigger condition, then performs the first functionality controls correspondence Task.
It is easily noted that, can be by i function in N number of functionality controls because tab bar includes N number of functionality controls Control is shown in viewing area, and N-i functionality controls hide (not being shown in viewing area), so as in label More functionality controls are extended in column, and can be by detecting the attribute for the functionality controls for being dragged into viewing area And/or in the case that operational attribute when occurring drag events meets trigger condition, the corresponding task of the functionality controls is performed, In the case of avoiding the functionality controls of display in viewing area excessive, because each functionality controls space is small, spacing Closely, maloperation is easily caused.
Thus, the scheme of above-described embodiment one that the application is provided solves the viewing area of tab bar layout in the prior art Domain is fixed, and the technical problem that multiple functionality controls easily cause maloperation is switched by clicking on.
According to the above embodiments of the present application, above-mentioned functions control includes any one or more following type:For performing The control of application function, the control for performing establishment new task and the control for closing current application function, wherein, System default will create the control of new task for performing and is hidden for the control for closing current application function.
For example, as shown in Fig. 7 (a), tab bar can include the control of function one for perform function one, for holding The control of function two of row function two, for the control of function three of perform function three, the establishment control for creating new task With the closing control for the task of closing, and the control of display function one in the viewing area of tab bar under default conditions, The control of function two and the control of function three, and establishment control is hidden with control is closed, do not appear in the aobvious of tab bar Show in region.
According to the above embodiments of the present application, in step S53, obtain the attribute of the first functionality controls and/or occur dragging thing Before operational attribute during part, the above method also comprises the following steps:
Step S531, during occurring drag events in tab bar, reads each functionality controls being hidden in real time Coordinate position, wherein, the coordinate position of each functionality controls can be with drag events dynamic change.
For example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, setting work( Can A controls coordinate value be X-axis (- 20,0), Y-axis (0,20), when user slide pull tab bar when, the work( The coordinate of energy A controls starts transverse shifting, i.e. X-axis coordinate and change takes place, and Y-axis data keep constant.
Herein it should be noted that when tab bar Tab bar are fixed on the left of application interface, can be by longitudinal direction above and below Slide to pull and complete, now the corresponding Y-axis of functionality controls changes, X-axis data keep constant;Can also be to Screen center pulls, and now, X and Y-axis coordinate data can all change.
Step S533, judges whether the coordinate position for any one functionality controls being hidden is located at the scope of viewing area It is interior.
Step S535, in the case where the coordinate position for the first functionality controls being hidden is located in the range of viewing area, Determine that the first functionality controls are dragged into viewing area.
, can be every by reading when drag events occur in the viewing area of tab bar in a kind of optional scheme One coordinate position of functionality controls for being hidden, and judge each functionality controls being hidden coordinate position whether Into in the coordinate range of tab bar viewing area, if the coordinate position of any one functionality controls being hidden enters In the coordinate range of tab bar viewing area, it is determined that the functionality controls being hidden are dragged into viewing area.
For example, as shown in Fig. 6 (b), when user in the viewing area of tab bar by carrying out dragging generation dragging thing During part, the coordinate position of the function A controls being hidden and function B controls is read in real time, when function A controls Coordinate position enter tab bar viewing area coordinate range in, determine that function A controls are dragged into viewing area.
According to the above embodiments of the present application, the attribute of above-mentioned first functionality controls includes:The control face of first functionality controls Product and the registration of viewing area, and/or the first functionality controls are dragged into the stay time behind viewing area.
For example, as shown in Fig. 6 (b), after it is determined that function A controls are dragged into viewing area, function can be obtained The registration of the viewing area of A controls and tab bar, and function A controls are when being dragged into the stop after viewing area Between.
According to the above embodiments of the present application, step S55, if the attribute of the first functionality controls meets default triggering bar Part, then perform the corresponding task of the first functionality controls and comprise the following steps:
Step S551, reads the attribute of current the first functionality controls for being dragged into viewing area.
Step S553, in the control area of the first functionality controls and the registration of viewing area more than predetermined area, and/ Or first functionality controls be dragged into the stay time behind viewing area more than the first scheduled duration in the case of, determine first The function of functionality controls is triggered.
Specifically, above-mentioned predetermined area can be the 80% of the control area of the first functionality controls, the above-mentioned first pre- timing Length can be 5 seconds.
Step S555, after the function of the first functionality controls is triggered, by the execution letter for calling the first functionality controls Count to perform the corresponding task of the first functionality controls.
In a kind of optional scheme, after it is determined that the first functionality controls are dragged into the viewing area of tab bar, read The control area and the registration of viewing area of first functionality controls, and the stay time behind viewing area is dragged into, The control area of first functionality controls and the registration of viewing area exceed the 80% of control area, and are dragged into viewing area In the case that stay time behind domain was more than 5 seconds, the function of the first functionality controls is triggered, and by calling the first function The corresponding function of control performs the corresponding task of the first functionality controls;If registration is not less than the 80% of control area, Or be dragged into residence time of viewing area and do not perform the corresponding function of the first functionality controls not less than 5 seconds, then.
For example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, setting work( Can A controls coordinate value be X-axis (- 20,0), Y-axis (0,20), when user slides tab bar to the right, function A controls start to move from left to right, and manifest the viewing area that screen, i.e. function A controls enter tab bar, The area that function A controls expose screen accounts for the 80% of the whole control area of function A controls, the i.e. control of function A controls The registration of the viewing area of area and tab bar exceedes in the case of the 80% of spatial area, and drag events triggering is held OK.Wherein, the control area of function A controls can be by the coordinate absolute value that shows:Length, which is multiplied by width, to be obtained.
Again for example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, when with When tab bar is slided in family to the right, function A controls start to move from left to right, and manifest screen, i.e. function A controls Into the viewing area of tab bar, when pulling the display durations of displaying function A controls more than 5 seconds, i.e. functionality controls A The stay time behind viewing area is dragged into more than 5 seconds, after user stops operation, perform function A controls correspondence Task.
According to the above embodiments of the present application, the feelings of drag events are occurring in viewing area by pressing touch-screen triggering Under condition, operational attribute when occurring drag events includes:The press pressure detected during pressing touch-screen, and/or occur Operation duration during drag events.
, can be with the case where user carries out dragging tab bar by pressing touch-screen for example, as shown in Fig. 6 (b) The press pressure and the operation duration of dragging tab bar during user's pressing screen are obtained, behaviour when occurring drag events is used as Make attribute.
According to the above embodiments of the present application, step S55, operational attribute during in the event of drag events meets default Trigger condition, then perform the corresponding task of the first functionality controls and comprise the following steps:
Step S552, reads the first functionality controls and is dragged into after viewing area, currently detected press pressure and/ Or operation duration during generation drag events.
Step S554, in currently detected press pressure more than scheduled pressure value, and/or during generation drag events In the case of duration is operated more than the second scheduled duration, determine that the function of the first functionality controls is triggered.
Specifically, above-mentioned scheduled pressure value can be 5Pa, and the second scheduled duration can be 5s.
Step S556, after the function of the first functionality controls is triggered, by the execution letter for calling the first functionality controls Count to perform the corresponding task of the first functionality controls.
In a kind of optional scheme, after it is determined that the first functionality controls are dragged into the viewing area of tab bar, read The press pressure and the operation duration of generation drag events detected, in press pressure more than 5Pa, and occurs dragging thing In the case that the operation duration of part was more than 5 seconds, the function of the first functionality controls is triggered, and by calling the first function control The corresponding function of part performs the corresponding task of the first functionality controls;If press pressure is not less than 5Pa, or drags The operation duration of dynamic event does not perform the corresponding task of the first functionality controls not less than 5 seconds, then.
For example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, working as user When sliding tab bar to the right, function A controls start to move from left to right, and manifest screen, i.e. function A controls and enter Enter the viewing area of tab bar, in the case where detecting user's pressing dragging more than 5Pa, drag events triggering is held OK.Wherein, the control area of function A controls can be by the coordinate absolute value that shows:Length, which is multiplied by width, to be obtained.
Again for example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, when with When tab bar is slided in family to the right, function A controls start to move from left to right, and manifest screen, i.e. function A controls Into the viewing area of tab bar, when the operation duration for the drag events for pulling tab bar was more than 5 seconds, stop in user After operation, the corresponding task of perform function A controls.
According to the above embodiments of the present application, the above method also includes:
Step S561, the functionality controls list that tab bar is included is shown displayed across the optional position in application interface, or mark The functionality controls list that label column is included longitudinally is shown in the optional position in application interface;Wherein, when functionality controls list In the first functionality controls when being dragged into viewing area, the second function in viewing area is shown in functionality controls list Control is hidden.
In a kind of optional scheme, tab bar can also be shown in the left side of application interface, and functionality controls are longitudinal It has been shown that, and after the first functionality controls are dragged into viewing area, then will be moved out of due to dragging outside viewing area The second functionality controls be hidden.
For example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, working as user When sliding tab bar to the right, function A controls start to move from left to right, and manifest screen, i.e. function A controls and enter Enter the viewing area of tab bar, and script included into the control of function three in viewing area to be hidden.
Herein it should be noted that being pulled by left and right, some interface operations can also be triggered or other bodies are jumped to Test it is more further immerse interface, for example, in Safari, can be worked as by the above embodiments of the present application quick closedown The preceding page and the new Shipping Options Page of opening;In music player, can currently it be broadcast by the above embodiments of the present application Put page etc.;Or during driving, to rapidly enter navigation page by the above embodiments of the present application.
For example, in Safari, the control of original state display function one in tab bar, the control of function two and function three are controlled Part, creates control and closes control and hide, user is opened after webpage 1, wants to open webpage 2, can be by the right Tab bar is dragged, control will be created and be dragged in viewing area, shown in such as Fig. 7 (a), control area and tab bar is being created The registration of viewing area is more than in the case of create control area 80%, performs the behaviour for quickly opening new Shipping Options Page Make, open webpage 2, and tab bar is restPosed, such as shown in Fig. 7 (b).User wants to close current web page 2, it can will close control by dragging tab bar to the left and be dragged in viewing area, shown in such as Fig. 7 (c), closing Control area is more than in the case of close control area 80% with the registration of tab bar viewing area, performs to close and works as The operation of preceding webpage, webpage 2 is closed and enters the Web page 1, and tab bar is restPosed, such as Fig. 7 (d) institutes Show.
Herein it should also be noted that, the functionality controls that the tab bar Tab bar in the above embodiments of the present application are included can Shown in the form of adding caption using icon.
The scheme that the above embodiments of the present application are provided, function can be shown well using this new interactive mode is pulled And operation is distinguished, feeling of freshness is brought to user, the small maloperation brought in button spaces is reduced.With passing through slip at present Plus the scheme of selection is compared, the scheme that the above embodiments of the present application are provided does not need clicking operation, simply pins dragging, System judges whether this function of triggering according to the button areas exposed, after finger unclamps, performs this function.
Such advantage is:When user is under the scene rocked, and such as walks, takes the subway, driving, to tiny button When can not make accurate operation, by pinning the sliding operation dragged, returned, operation task just can quickly be performed according to area, Greatly reduce the situation of maloperation, bring convenient to user.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to one it is The combination of actions of row, but those skilled in the art should know, the present invention is not limited by described sequence of movement System, because according to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, art technology Personnel should also know that embodiment described in this description belongs to preferred embodiment, involved action and module Not necessarily necessary to the present invention.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but The former is more preferably embodiment in many cases.Based on it is such understand, technical scheme substantially or Say that the part contributed to prior art can be embodied in the form of software product, the computer software product is deposited Storage is in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal Equipment (can be mobile phone, computer, server, or network equipment etc.) is performed described in each embodiment of the invention Method.
Embodiment 2
According to embodiments of the present invention, a kind of control method embodiment of tab bar is additionally provided, it is necessary to illustrate, The step of flow of accompanying drawing is illustrated can perform in the computer system of such as one group computer executable instructions, and And, although logical order is shown in flow charts, but in some cases, can be with different from order herein Perform shown or described step.Fig. 8 is a kind of stream of the control method of tab bar according to the embodiment of the present application two Cheng Tu, as shown in figure 8, the above method comprises the following steps:
Step S81, when the application interface shown in touch-screen senses drag events, judges whether drag events are sent out The viewing area of the raw tab bar in application interface, wherein, tab bar includes:Functionality controls list, functionality controls row I functionality controls in table are shown in viewing area, and N-i functionality controls are hidden, and i is the nature less than or equal to N Number.
Specifically, above-mentioned touch-screen can be mounted in smart mobile phone (such as Android phone, ios mobile phones), put down It can be shown mounted on touch-screen on plate computer, the terminal device such as auto-navigation system, touch-screen on mobile terminal Application software open after the application interface that shows, but be not limited only to this, be not specifically limited in the embodiment of the present application.
Alternatively, the viewing area of tab bar can be located at the bottom of application interface in touch-screen, and can be according to mark The display area size of column (Tab bar) is signed, the functionality controls (button) of fixed qty are shown in viewing area, Unnecessary functionality controls can be hidden, that is, not appeared in viewing area.
In a kind of optional scheme, the tab bar in the application can include functionality controls list, functionality controls list In can include multiple continuously arranged functionality controls, can be according to user the need for, by part in functionality controls list Functionality controls are shown in the viewing area of tab bar, and remaining functionality controls can be hidden, and pass through user's drag events Hiding functionality controls can be included in the viewing area of tab bar.
For example, as shown in Fig. 6 (a), tab bar is located at the bottom at interface, including 5 functionality controls:Function A is controlled Part, the control of function one, the control of function two, the control of function three and function B controls, wherein, the control of function one, function Two controls, these three functionality controls of the control of function three are shown in the viewing area of tab bar, function A controls and function The two functionality controls of B controls are hidden.
Step S83, if the first functionality controls hidden in functionality controls list are dragged into viewing area, obtains first The operational attribute when attribute and/or generation drag events of functionality controls.
Specifically, the attribute of above-mentioned first functionality controls can be the face that the first functionality controls enter tab bar viewing area Product size, operational attribute when occurring drag events can be the duration for occurring drag events.
In a kind of optional scheme, after the viewing area of tab bar is got, if detecting the aobvious of tab bar Show occur drag events in region, and the first hiding functionality controls are dragged into the viewing area of tab bar, then are obtained Take the first functionality controls to enter the size of tab bar viewing area and occur the duration of drag events.
For example, as shown in Fig. 6 (b), when detecting user in viewing area to tab bar progress drag operation, such as Fruit user's drag function A enters viewing area, that is, exposes function A, then obtains the area that function A enters viewing area And the duration of the gesture operation of user.
Step S85, if operational attribute when attribute and/or the generation drag events of the first functionality controls meets default Trigger condition, then include the corresponding function pages of the first functionality controls in application interface.
In a kind of optional scheme, get the first functionality controls into tab bar viewing area size and After the duration for occurring drag events, if the size that the first functionality controls enter tab bar viewing area meets tactile Fermentation product, and occur the duration satisfaction triggering duration of drag events, then the first functionality controls pair are shown in application interface The function pages answered.
For example, as shown in Fig. 6 (b), when detecting user in viewing area to tab bar progress drag operation, such as Fruit user's drag function A enters viewing area, that is, exposes function A, and system is according to the gesture operation and displaying page of user Face (i.e. above-mentioned viewing area) size, is activated and operation function A.
Herein it should be noted that after the gesture operation for detecting user terminates, tab bar returns to original state, The control of display function one i.e. in the viewing area of tab bar, the control of function two and the control of function three, function A controls and work( The two functionality controls of energy B controls are still hidden.As shown in Fig. 6 (a).
In scheme disclosed in the above embodiments of the present application two, when the application interface shown in touch-screen senses drag events When, judge whether drag events occur the viewing area of the tab bar in application interface, if hidden in functionality controls list The first functionality controls hidden are dragged into viewing area, when obtaining the attribute of the first functionality controls and/or occurring drag events Operational attribute, if operational attribute when attribute and/or the generation drag events of the first functionality controls meets default triggering Condition, then include the corresponding function pages of the first functionality controls in application interface.
It is easily noted that, can be by i function in N number of functionality controls because tab bar includes N number of functionality controls Control is shown in viewing area, and N-i functionality controls hide (not being shown in viewing area), so as in label More functionality controls are extended in column, and can be by detecting the attribute for the functionality controls for being dragged into viewing area And/or in the case that operational attribute when occurring drag events meets trigger condition, the corresponding task of the functionality controls is performed, In the case of avoiding the functionality controls of display in viewing area excessive, because each functionality controls space is small, spacing Closely, maloperation is easily caused.
Thus, the scheme of above-described embodiment two that the application is provided solves the viewing area of tab bar layout in the prior art Domain is fixed, and the technical problem that multiple functionality controls easily cause maloperation is switched by clicking on.
According to the above embodiments of the present application, functionality controls include any one or more following type:For performing application The control of function, the control for performing establishment new task and the control for closing current application function, wherein, it is System acquiescence will create the control of new task for performing and is hidden for the control for closing current application function.
For example, as shown in Fig. 6 (a), tab bar can include the control of function one for perform function one, for holding The control of function two of row function two, for the control of function three of perform function three, the establishment control for creating new task With the closing control for the task of closing, and the control of display function one in the viewing area of tab bar under default conditions, The control of function two and the control of function three, and establishment control is hidden with control is closed, do not appear in the aobvious of tab bar Show in region.
According to the above embodiments of the present application, the viewing area of tab bar is divided into many sub-regions, divides per sub-regions The icon of corresponding functionality controls in other display function list of controls, wherein, when the first function in functionality controls list When control is dragged into viewing area, the second functionality controls being shown in functionality controls list in viewing area are moved out of aobvious Show region.
In a kind of optional scheme, tab bar can also be shown in the left side of application interface, and functionality controls are longitudinal Display.
For example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, setting work( Can A controls coordinate value be X-axis (- 20,0), Y-axis (0,20), when user slide pull tab bar when, the work( The coordinate of energy A controls starts transverse shifting, i.e. X-axis coordinate and change takes place, and Y-axis data keep constant.
Herein it should be noted that when tab bar Tab bar are fixed on the left of application interface, can be by longitudinal direction above and below Slide to pull and complete, now the corresponding Y-axis of functionality controls changes, X-axis data keep constant;Can also be to Screen center pulls, and now, X and Y-axis coordinate data can all change.
According to the above embodiments of the present application, the functionality controls list that tab bar is included is shown displayed across appointing in application interface Anticipate position, or the functionality controls list that includes of tab bar is longitudinally shown in the optional position in application interface.
In a kind of optional scheme, after the first functionality controls are dragged into viewing area, then it will be moved due to dragging The second functionality controls gone out outside viewing area are hidden.
For example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, working as user When sliding tab bar to the right, function A controls start to move from left to right, and manifest screen, i.e. function A controls and enter Enter the viewing area of tab bar, and script included into the control of function three in viewing area to be hidden.
Embodiment 3
According to embodiments of the present invention, a kind of control for being used to implement the tab bar of the control method of above-mentioned tab bar is additionally provided Device processed, as shown in figure 9, the device includes:First acquisition module 91, the second acquisition module 93 and performing module 95。
Wherein, the first acquisition module 91 is used to obtain viewing area of the tab bar in application interface, wherein, tab bar Including:I functionality controls in N number of functionality controls, N number of functionality controls are shown in viewing area, N-i function Control is hidden, and i is the natural number less than or equal to N.
Specifically, the page that the application software that above-mentioned application interface can be mounted on mobile terminal is shown after opening, Above-mentioned application software can be instant communication software, music player or navigation software, and above-mentioned mobile terminal can be intelligence Can mobile phone (such as Android phone, ios mobile phones), panel computer, the terminal device such as auto-navigation system, but not This is only limitted to, is not specifically limited in the embodiment of the present application.
Alternatively, the viewing area of tab bar can be located at the bottom of application interface, and can be according to tab bar (Tab Bar display area size), shows the functionality controls (button) of fixed qty, unnecessary work(in viewing area Energy control can be hidden, that is, not appeared in viewing area.
In a kind of optional scheme, the tab bar in the application can include functionality controls list, functionality controls list In can include multiple continuously arranged functionality controls, can be according to user the need for, by part in functionality controls list Functionality controls are shown in the viewing area of tab bar, and remaining functionality controls can be hidden, and pass through user's drag events Hiding functionality controls can be included in the viewing area of tab bar.
For example, as shown in Fig. 6 (a), tab bar is located at the bottom at interface, including 5 functionality controls:Function A is controlled Part, the control of function one, the control of function two, the control of function three and function B controls, wherein, the control of function one, function Two controls, these three functionality controls of the control of function three are shown in the viewing area of tab bar, function A controls and function The two functionality controls of B controls are hidden.
When second acquisition module 93 is used to detect drag events in the viewing area of tab bar, if detected hiding The first functionality controls be dragged into viewing area, behaviour when obtaining the attribute of the first functionality controls and/or occurring drag events Make attribute.
Specifically, the attribute of above-mentioned first functionality controls can be the face that the first functionality controls enter tab bar viewing area Product size, operational attribute when occurring drag events can be the duration for occurring drag events.
In a kind of optional scheme, after the viewing area of tab bar is got, if detecting the aobvious of tab bar Show occur drag events in region, and the first hiding functionality controls are dragged into the viewing area of tab bar, then are obtained Take the first functionality controls to enter the size of tab bar viewing area and occur the duration of drag events.
For example, as shown in Fig. 6 (b), when detecting user in viewing area to tab bar progress drag operation, such as Fruit user's drag function A enters viewing area, that is, exposes function A, then obtains the area that function A enters viewing area And the duration of the gesture operation of user.
If operational attribute when performing module 95 is used for the attribute of the first functionality controls and/or occurs drag events is met Default trigger condition, then perform the corresponding task of the first functionality controls.
In a kind of optional scheme, get the first functionality controls into tab bar viewing area size and After the duration for occurring drag events, if the size that the first functionality controls enter tab bar viewing area meets tactile Fermentation product, and occur the duration satisfaction triggering duration of drag events, then run the corresponding task of the first functional space.
For example, as shown in Fig. 6 (b), when detecting user in viewing area to tab bar progress drag operation, such as Fruit user's drag function A enters viewing area, that is, exposes function A, and system is according to the gesture operation and displaying page of user Face (i.e. above-mentioned viewing area) size, is activated and operation function A.
Herein it should be noted that after the gesture operation for detecting user terminates, tab bar returns to original state, The control of display function one i.e. in the viewing area of tab bar, the control of function two and the control of function three, function A controls and work( The two functionality controls of energy B controls are still hidden.As shown in Fig. 6 (a).
In scheme disclosed in the above embodiments of the present application three, it is aobvious in application interface that the first acquisition module obtains tab bar Show region, when detecting drag events in the viewing area of tab bar, if the second acquisition module detect it is hiding First functionality controls are dragged into viewing area, operation when obtaining the attribute of the first functionality controls and/or occurring drag events Attribute, if operational attribute when attribute and/or the generation drag events of the first functionality controls meets default trigger condition, Then performing module performs the corresponding task of the first functionality controls.
It is easily noted that, can be by i function in N number of functionality controls because tab bar includes N number of functionality controls Control is shown in viewing area, and N-i functionality controls hide (not being shown in viewing area), so as in label More functionality controls are extended in column, and can be by detecting the attribute for the functionality controls for being dragged into viewing area And/or in the case that operational attribute when occurring drag events meets trigger condition, the corresponding task of the functionality controls is performed, In the case of avoiding the functionality controls of display in viewing area excessive, because each functionality controls space is small, spacing Closely, maloperation is easily caused.
Thus, the scheme of above-described embodiment three that the application is provided solves the viewing area of tab bar layout in the prior art Domain is fixed, and the technical problem that multiple functionality controls easily cause maloperation is switched by clicking on.
According to the above embodiments of the present application, above-mentioned functions control includes any one or more following type:For performing The control of application function, the control for performing establishment new task and the control for closing current application function, wherein, System default will create the control of new task for performing and is hidden for the control for closing current application function.
For example, as shown in Fig. 6 (a), tab bar can include the control of function one for perform function one, for holding The control of function two of row function two, for the control of function three of perform function three, the establishment control for creating new task With the closing control for the task of closing, and the control of display function one in the viewing area of tab bar under default conditions, The control of function two and the control of function three, and establishment control is hidden with control is closed, do not appear in the aobvious of tab bar Show in region.
According to the above embodiments of the present application, as shown in Figure 10, said apparatus also includes:Read module 101, judges mould Block 103 and determining module 105.
Wherein, read module 101 is used for during occurring drag events in tab bar, reads what is be hidden in real time The coordinate position of each functionality controls, wherein, the coordinate position of each functionality controls can be with drag events dynamic change; Judge module 103 is used to judge whether the coordinate position for any one functionality controls being hidden to be located at the model of viewing area In enclosing;Determining module 105 is used in the range of the coordinate position for the first functionality controls being hidden is located at viewing area In the case of, determine that the first functionality controls are dragged into viewing area.
Herein it should be noted that above-mentioned read module 101, judge module 103 and determining module 105 correspond in fact Apply the step S531 to step S535 in example one, example and application scenarios that above-mentioned module is realized with corresponding step It is identical, but it is not limited to the disclosure of that of above-described embodiment one.It should be noted that above-mentioned module is used as the one of device Part may operate in the terminal 40 of the offer of embodiment one.
, can be by longitudinal direction herein it should also be noted that, when tab bar Tab bar are fixed on the left of application interface Lower slider, which is pulled, to be completed, and now the corresponding Y-axis of functionality controls changes, and X-axis data keep constant;Can be with Pulled to screen center, now, X and Y-axis coordinate data can all change.
According to the above embodiments of the present application, the attribute of above-mentioned first functionality controls includes:The control face of first functionality controls Product and the registration of viewing area, and/or the first functionality controls are dragged into the stay time behind viewing area.
For example, as shown in Fig. 6 (b), after it is determined that function A controls are dragged into viewing area, function can be obtained The registration of the viewing area of A controls and tab bar, and function A controls are when being dragged into the stop after viewing area Between.
According to the above embodiments of the present application, as shown in figure 11, performing module 95 includes:First reading submodule 111, First determination sub-module 113 and first calls submodule 115.
Wherein, the first reading submodule 111 is used for the attribute for reading current the first functionality controls for being dragged into viewing area; First determination sub-module 113 is used to exceed predetermined face in the control area of the first functionality controls and the registration of viewing area Product, and/or in the case that the first functionality controls are dragged into the stay time behind viewing area more than the first scheduled duration, really The function of fixed first functionality controls is triggered;First calls submodule 115 to be touched for the function in the first functionality controls After hair, the corresponding task of the first functionality controls is performed by calling the execution function of the first functionality controls.
Specifically, above-mentioned predetermined area can be the 80% of the control area of the first functionality controls, the above-mentioned first pre- timing Length can be 5 seconds.
Herein it should be noted that above-mentioned first reading submodule 111, the first determination sub-module 113 and first is called The step S551 to step S555 that submodule 115 corresponds in embodiment one, above-mentioned module and corresponding step institute are real Existing example is identical with application scenarios, but is not limited to the disclosure of that of above-described embodiment one.It should be noted that on Module is stated to may operate in as a part for device in the terminal 40 of the offer of embodiment one.
According to the above embodiments of the present application, the feelings of drag events are occurring in viewing area by pressing touch-screen triggering Under condition, operational attribute when occurring drag events includes:The press pressure detected during pressing touch-screen, and/or occur Operation duration during drag events.
, can be with the case where user carries out dragging tab bar by pressing touch-screen for example, as shown in Fig. 6 (b) The press pressure and the operation duration of dragging tab bar during user's pressing screen are obtained, behaviour when occurring drag events is used as Make attribute.
According to the above embodiments of the present application, as shown in figure 12, performing module 95 also includes:Second reading submodule 121, Second determination sub-module 123 and second calls submodule 125.
Wherein, the second reading submodule 121 is dragged into after viewing area for reading the first functionality controls, current inspection Operation duration when the press pressure and/or generation drag events that measure;Second determination sub-module 123 is used to examine currently The press pressure measured exceed scheduled pressure value, and/or occur drag events when operation duration more than the second scheduled duration In the case of, determine that the function of the first functionality controls is triggered;Second calls submodule 125 in the first function control After the function of part is triggered, by calling the execution function of the first functionality controls corresponding to perform the first functionality controls Task.
Specifically, above-mentioned scheduled pressure value can be 5Pa, and the second scheduled duration can be 5s.
Herein it should be noted that above-mentioned second reading submodule 121, the second determination sub-module 123 and second is called The step S552 to step S556 that submodule 125 corresponds in embodiment one, above-mentioned module and corresponding step institute are real Existing example is identical with application scenarios, but is not limited to the disclosure of that of above-described embodiment one.It should be noted that on Module is stated to may operate in as a part for device in the terminal 40 of the offer of embodiment one.
According to the above embodiments of the present application, as shown in figure 13, said apparatus also includes:Display module 131.
Wherein, display module 131 is shown displayed across appointing in application interface for the functionality controls list that tab bar is included Anticipate position, or the functionality controls list that includes of tab bar is longitudinally shown in the optional position in application interface;Wherein, when When the first functionality controls in functionality controls list are dragged into viewing area, viewing area is shown in functionality controls list In the second functionality controls be hidden.
Herein it should be noted that the step S561 that above-mentioned display module 131 corresponds in embodiment one, above-mentioned module It is identical with the example and application scenarios that the step of correspondence is realized, but it is not limited to the disclosure of that of above-described embodiment one. It should be noted that above-mentioned module may operate in the terminal 40 of the offer of embodiment one as a part for device In.
Embodiment 4
According to embodiments of the present invention, a kind of control for being used to implement the tab bar of the control method of above-mentioned tab bar is additionally provided Device processed, as shown in figure 14, the device include:Judge module 141, acquisition module 143 and display module 145.
Wherein, judge module 141 is used for when the application interface shown in touch-screen senses drag events, judges to drag Whether dynamic event occurs the viewing area of the tab bar in application interface, wherein, tab bar includes:Functionality controls list, I functionality controls in functionality controls list are shown in viewing area, and N-i functionality controls are hidden, i be less than etc. In N natural number.
Specifically, above-mentioned touch-screen can be mounted in smart mobile phone (such as Android phone, ios mobile phones), put down It can be shown mounted on touch-screen on plate computer, the terminal device such as auto-navigation system, touch-screen on mobile terminal Application software open after the application interface that shows, but be not limited only to this, be not specifically limited in the embodiment of the present application.
Alternatively, the viewing area of tab bar can be located at the bottom of application interface in touch-screen, and can be according to mark The display area size of column (Tab bar) is signed, the functionality controls (button) of fixed qty are shown in viewing area, Unnecessary functionality controls can be hidden, that is, not appeared in viewing area.
In a kind of optional scheme, the tab bar in the application can include functionality controls list, functionality controls list In can include multiple continuously arranged functionality controls, can be according to user the need for, by part in functionality controls list Functionality controls are shown in the viewing area of tab bar, and remaining functionality controls can be hidden, and pass through user's drag events Hiding functionality controls can be included in the viewing area of tab bar.
For example, as shown in Fig. 6 (a), tab bar is located at the bottom at interface, including 5 functionality controls:Function A is controlled Part, the control of function one, the control of function two, the control of function three and function B controls, wherein, the control of function one, function Two controls, these three functionality controls of the control of function three are shown in the viewing area of tab bar, function A controls and function The two functionality controls of B controls are hidden.
If the first functionality controls that acquisition module 143 is used to hide in functionality controls list are dragged into viewing area, obtain Operational attribute when taking the attribute of the first functionality controls and/or occurring drag events.
Specifically, the attribute of above-mentioned first functionality controls can be the face that the first functionality controls enter tab bar viewing area Product size, operational attribute when occurring drag events can be the duration for occurring drag events.
In a kind of optional scheme, after the viewing area of tab bar is got, if detecting the aobvious of tab bar Show occur drag events in region, and the first hiding functionality controls are dragged into the viewing area of tab bar, then are obtained Take the first functionality controls to enter the size of tab bar viewing area and occur the duration of drag events.
For example, as shown in Fig. 6 (b), when detecting user in viewing area to tab bar progress drag operation, such as Fruit user's drag function A enters viewing area, that is, exposes function A, then obtains the area that function A enters viewing area And the duration of the gesture operation of user.
If operational attribute when display module 145 is used for the attribute of the first functionality controls and/or occurs drag events is expired The default trigger condition of foot, then include the corresponding function pages of the first functionality controls in application interface.
In a kind of optional scheme, get the first functionality controls into tab bar viewing area size and After the duration for occurring drag events, if the size that the first functionality controls enter tab bar viewing area meets tactile Fermentation product, and occur the duration satisfaction triggering duration of drag events, then the first functionality controls pair are shown in application interface The function pages answered.
For example, as shown in Fig. 6 (b), when detecting user in viewing area to tab bar progress drag operation, such as Fruit user's drag function A enters viewing area, that is, exposes function A, and system is according to the gesture operation and displaying page of user Face (i.e. above-mentioned viewing area) size, is activated and operation function A.
Herein it should be noted that after the gesture operation for detecting user terminates, tab bar returns to original state, The control of display function one i.e. in the viewing area of tab bar, the control of function two and the control of function three, function A controls and work( The two functionality controls of energy B controls are still hidden.As shown in Fig. 6 (a).
In scheme disclosed in the above embodiments of the present application four, when the application interface shown in touch-screen senses drag events When, judge module 141 judges whether drag events occur the viewing area of the tab bar in application interface, if function The first functionality controls hidden in list of controls are dragged into viewing area, and acquisition module 143 obtains the first functionality controls Operational attribute when attribute and/or generation drag events, if the attribute and/or generation drag events of the first functionality controls When operational attribute meet default trigger condition, then display module 145 is by the corresponding function pages of the first functionality controls It is shown in application interface.
It is easily noted that, can be by i function in N number of functionality controls because tab bar includes N number of functionality controls Control is shown in N-i functionality controls in viewing area and hides (not being shown in viewing area) so as in label More functionality controls are extended in column, and can be by detecting the attribute for the functionality controls for being dragged into viewing area And/or in the case that operational attribute when occurring drag events meets trigger condition, the corresponding task of the functionality controls is performed, In the case of avoiding the functionality controls of display in viewing area excessive, because each functionality controls space is small, spacing Closely, maloperation is easily caused.
Thus, the scheme of above-described embodiment four that the application is provided solves the viewing area of tab bar layout in the prior art Domain is fixed, and the technical problem that multiple functionality controls easily cause maloperation is switched by clicking on.
According to the above embodiments of the present application, functionality controls include any one or more following type:For performing application The control of function, the control for performing establishment new task and the control for closing current application function, wherein, it is System acquiescence will create the control of new task for performing and is hidden for the control for closing current application function.
For example, as shown in Fig. 6 (a), tab bar can include the control of function one for perform function one, for holding The control of function two of row function two, for the control of function three of perform function three, the establishment control for creating new task With the closing control for the task of closing, and the control of display function one in the viewing area of tab bar under default conditions, The control of function two and the control of function three, and establishment control is hidden with control is closed, do not appear in the aobvious of tab bar Show in region.
According to the above embodiments of the present application, the viewing area of tab bar is divided into many sub-regions, divides per sub-regions The icon of corresponding functionality controls in other display function list of controls, wherein, when the first function in functionality controls list When control is dragged into viewing area, the second functionality controls being shown in functionality controls list in viewing area are moved out of aobvious Show region.
In a kind of optional scheme, tab bar can also be shown in the left side of application interface, and functionality controls are longitudinal Display.
For example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, setting work( Can A controls coordinate value be X-axis (- 20,0), Y-axis (0,20), when user slide pull tab bar when, the work( The coordinate of energy A controls starts transverse shifting, i.e. X-axis coordinate and change takes place, and Y-axis data keep constant.
Herein it should be noted that when tab bar Tab bar are fixed on the left of application interface, can be by longitudinal direction above and below Slide to pull and complete, now the corresponding Y-axis of functionality controls changes, X-axis data keep constant;Can also be to Screen center pulls, and now, X and Y-axis coordinate data can all change.
According to the above embodiments of the present application, the functionality controls list that tab bar is included is shown displayed across appointing in application interface Anticipate position, or the functionality controls list that includes of tab bar is longitudinally shown in the optional position in application interface.
In a kind of optional scheme, after the first functionality controls are dragged into viewing area, then it will be moved due to dragging The second functionality controls gone out outside viewing area are hidden.
For example, as shown in Fig. 6 (b), when performing drag events on horizontal tab bar Tab bar, working as user When sliding tab bar to the right, function A controls start to move from left to right, and manifest screen, i.e. function A controls and enter Enter the viewing area of tab bar, and script included into the control of function three in viewing area to be hidden.
Embodiment 5
Embodiments of the invention can provide a kind of terminal, the terminal can be terminal group in Any one computer terminal.Alternatively, in the present embodiment, above computer terminal can also be replaced with The terminal devices such as mobile terminal.
Alternatively, in the present embodiment, above computer terminal can be located in multiple network equipments of computer network At least one network equipment.
In the present embodiment, above computer terminal can perform following steps in the leak detection method of application program Program code:Viewing area of the tab bar in application interface is obtained, wherein, tab bar includes:N number of functionality controls, I functionality controls in N number of functionality controls are shown in viewing area, and N-i functionality controls are hidden, i be less than etc. In N natural number;When detecting drag events in the viewing area of tab bar, if detecting the first hiding work( Energy control is dragged into viewing area, operational attribute when obtaining the attribute of the first functionality controls and/or occurring drag events; If operational attribute when attribute and/or the generation drag events of the first functionality controls meets default trigger condition, hold The corresponding task of the functionality controls of row first.
Alternatively, Figure 15 is a kind of structured flowchart of terminal according to embodiments of the present invention.As shown in figure 15, Terminal A can include:One or more (one is only shown in figure) processors 151, memory 153, And transmitting device 155.
Wherein, memory 153 can be used for storage software program and module, such as the tab bar in the embodiment of the present invention Control method and the corresponding programmed instruction/module of device, processor 151 are stored in the software journey in memory by operation Sequence and module, so as to perform various function application and data processing, that is, realize the control method of above-mentioned tab bar. Memory 153 may include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 153 can enter One step includes the memory remotely located relative to processor, and these remote memories can pass through network connection to terminal A.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Processor 151 can call the information and application program of memory storage by transmitting device, to perform following steps Suddenly:Viewing area of the tab bar in application interface is obtained, wherein, tab bar includes:N number of functionality controls, N number of work( I functionality controls in energy control are shown in viewing area, and N-i functionality controls are hidden, and i is less than or equal to N Natural number;When detecting drag events in the viewing area of tab bar, if detecting the first hiding function control Part is dragged into viewing area, operational attribute when obtaining the attribute of the first functionality controls and/or occurring drag events;If The attributes of first functionality controls and/or operational attribute when occurring drag events meet default trigger condition, then perform the The corresponding task of one functionality controls.
Optionally, above-mentioned processor 151 can also carry out the program code of following steps:Functionality controls include following appoint The one or more types of meaning:For performing the control of application function, the control of new task being created for performing and for closing The control of current application function is closed, wherein, system default will create the control of new task for performing and work as closing The control of preceding application function is hidden.
Optionally, above-mentioned processor 151 can also carry out the program code of following steps:Dragged in tab bar During event, the coordinate position for each functionality controls being hidden is read in real time, wherein, each functionality controls Coordinate position can be with drag events dynamic change;Whether the coordinate position for any one functionality controls that judgement is hidden In the range of viewing area;Wherein, it is located at viewing area in the coordinate position for the first functionality controls being hidden In the range of in the case of, determine that the first functionality controls are dragged into viewing area.
Optionally, above-mentioned processor 151 can also carry out the program code of following steps:The attribute of first functionality controls Including:The control area and the registration of viewing area of first functionality controls, and/or the first functionality controls are dragged into display Stay time behind region.
Optionally, above-mentioned processor 151 can also carry out the program code of following steps:Reading is currently dragged into display The attribute of first functionality controls in region;Exceed in the control area of the first functionality controls and the registration of viewing area pre- Determine area, and/or in the case that the first functionality controls are dragged into the stay time behind viewing area more than the first scheduled duration, Determine that the function of the first functionality controls is triggered;After the function of the first functionality controls is triggered, by calling first The execution function of functionality controls performs the corresponding task of the first functionality controls.
Optionally, above-mentioned processor 151 can also carry out the program code of following steps:Touched by pressing touch-screen In the case that in viewing area drag events occur for hair, operational attribute when occurring drag events includes:Pressing is touched The press pressure detected during screen, and/or operation duration during generation drag events.
Optionally, above-mentioned processor 151 can also carry out the program code of following steps:Read the first functionality controls quilt It is dragged in after viewing area, operation duration when currently detected press pressure and/or generation drag events;Current The press pressure detected exceedes scheduled pressure value, and/or operation duration timing in advance more than second during generation drag events In the case of length, determine that the function of the first functionality controls is triggered;After the function of the first functionality controls is triggered, The corresponding task of the first functionality controls is performed by calling the execution function of the first functionality controls.
Optionally, above-mentioned processor 151 can also carry out the program code of following steps:The function control that tab bar is included Part list is shown displayed across the optional position in application interface, or the functionality controls list that tab bar is included longitudinally is shown in Optional position in application interface;Wherein, when the first functionality controls in functionality controls list are dragged into viewing area, The second functionality controls being shown in functionality controls list in viewing area are hidden.
Using the embodiment of the present invention, viewing area of the tab bar in application interface is obtained, in the viewing area of tab bar When inside detecting drag events, if detecting the first hiding functionality controls is dragged into viewing area, the first work(is obtained The operational attribute when attribute and/or generation drag events of energy control, if attribute and/or the generation of the first functionality controls Operational attribute during drag events meets default trigger condition, then performs the corresponding task of the first functionality controls.
It is easily noted that, can be by i function in N number of functionality controls because tab bar includes N number of functionality controls Control is shown in viewing area, and N-i functionality controls hide (not being shown in viewing area), so as in label More functionality controls are extended in column, and can be by detecting the attribute for the functionality controls for being dragged into viewing area And/or in the case that operational attribute when occurring drag events meets trigger condition, the corresponding task of the functionality controls is performed, In the case of avoiding the functionality controls of display in viewing area excessive, because each functionality controls space is small, spacing Closely, maloperation is easily caused.
Thus, the viewing area that the such scheme that the present invention is provided solves tab bar layout in the prior art is fixed, and is led to Cross and click on the technical problem that the multiple functionality controls of switching easily cause maloperation.
It will appreciated by the skilled person that the structure shown in Figure 15 is only signal, terminal can also be Smart mobile phone (such as Android phone, ios mobile phones), panel computer, palm PC and mobile internet device The terminal device such as (Mobile Internet Devices, MID), PAD.Figure 15 its not to above-mentioned electronic installation Structure cause limit.For example, terminal A may also include the component more or less than shown in Figure 15 (such as Network interface, display device etc.), or with the configuration different from shown in Figure 15.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can be with Completed by program come the device-dependent hardware of command terminal, the program can be stored in a computer-readable storage medium In matter, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), deposit at random Take device (Random Access Memory, RAM), disk or CD etc..
Embodiment 6
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium It can be used for preserving the program code performed by the control method for the tab bar that above-described embodiment one is provided.
Alternatively, in the present embodiment, above-mentioned storage medium can be located in computer network Computer terminal group In any one terminal, or in any one mobile terminal in mobile terminal group.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps: Viewing area of the tab bar in application interface is obtained, wherein, tab bar includes:N number of functionality controls, N number of function control I functionality controls in part are shown in viewing area, and N-i functionality controls are hidden, and i is the nature less than or equal to N Number;When detecting drag events in the viewing area of tab bar, dragged if detecting the first hiding functionality controls Enter viewing area, operational attribute when obtaining the attribute of the first functionality controls and/or occurring drag events;If the first work( The operational attribute when attribute and/or generation drag events of energy control meets default trigger condition, then performs the first function The corresponding task of control.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Functionality controls include Any one or more following type:For perform application function control, for perform create new task control and Control for closing current application function, wherein, system default will create the control of new task and be used for for performing The control for closing current application function is hidden.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Sent out in tab bar During raw drag events, the coordinate position for each functionality controls being hidden is read in real time, wherein, each function The coordinate position of control can be with drag events dynamic change;Judge the coordinate bit of any one functionality controls being hidden Put and whether be located in the range of viewing area;Wherein, it is located at display in the coordinate position for the first functionality controls being hidden In the case of in the range of region, determine that the first functionality controls are dragged into viewing area.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:First functionality controls Attribute include:The control area and the registration of viewing area of first functionality controls, and/or the first functionality controls are dragged Enter the stay time behind viewing area.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Reading is currently dragged Enter the attribute of the first functionality controls of viewing area;In the control area and the registration of viewing area of the first functionality controls The stay time behind viewing area is dragged into more than the first scheduled duration more than predetermined area, and/or the first functionality controls In the case of, determine that the function of the first functionality controls is triggered;After the function of the first functionality controls is triggered, pass through The execution function of the first functionality controls is called to perform the corresponding task of the first functionality controls.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Touched by pressing Screen triggering is touched in viewing area in the case of generation drag events, operational attribute when occurring drag events includes:Press The press pressure detected during pressure touch-screen, and/or operation duration during generation drag events.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Read the first function Control is dragged into after viewing area, operation duration when currently detected press pressure and/or generation drag events; Currently detected press pressure exceed scheduled pressure value, and/or occur drag events when operation duration more than second In the case of scheduled duration, determine that the function of the first functionality controls is triggered;It is triggered in the function of the first functionality controls Afterwards, the corresponding task of the first functionality controls is performed by calling the execution function of the first functionality controls.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:What tab bar was included Functionality controls list is shown displayed across the optional position in application interface, or the functionality controls list longitudinal direction that tab bar is included It is shown in the optional position in application interface;Wherein, when the first functionality controls in functionality controls list are dragged into display During region, the second functionality controls being shown in functionality controls list in viewing area are hidden.The invention described above is implemented Example sequence number is for illustration only, and the quality of embodiment is not represented.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
, can be by other in several embodiments provided herein, it should be understood that disclosed technology contents Mode realize.Wherein, device embodiment described above is only schematical, such as division of described unit, It is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, institute Display or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to On multiple NEs.Some or all of unit therein can be selected to realize the present embodiment according to the actual needs The purpose of scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit realized using in the form of SFU software functional unit and as independent production marketing or in use, It can be stored in a computer read/write memory medium.Understood based on such, technical scheme essence On all or part of the part that is contributed in other words to prior art or the technical scheme can be with software product Form is embodied, and the computer software product is stored in a storage medium, including some instructions are to cause one Platform computer equipment (can be personal computer, server or network equipment etc.) performs each embodiment institute of the invention State all or part of step of method.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improve and moistened Decorations also should be regarded as protection scope of the present invention.

Claims (21)

1. a kind of control method of tab bar, it is characterised in that including:
Viewing area of the tab bar in application interface is obtained, wherein, the tab bar includes:N number of function control I functionality controls in part, N number of functionality controls are shown in the viewing area, N-i function control Part is hidden, and i is the natural number less than or equal to N;
When detecting drag events in the viewing area of the tab bar, if detecting the first hiding function Control is dragged into the viewing area, obtains the attribute of first functionality controls and/or occurs the drag events When operational attribute;
If operational attribute when attribute and/or the generation drag events of first functionality controls meets pre- If trigger condition, then perform the corresponding task of first functionality controls.
2. according to the method described in claim 1, it is characterised in that the functionality controls include it is following any one or it is many Type:For performing the control of application function, the control of new task being created for performing and current for closing The control of application function, wherein, system default by it is described be used to perform create the control of new task and described be used for The control for closing current application function is hidden.
3. according to the method described in claim 1, it is characterised in that obtain the attribute of first functionality controls and/ Or before the operational attribute during generation drag events, methods described also includes:
During the drag events occur in the tab bar, each function control being hidden is read in real time The coordinate position of part, wherein, the coordinate position of each functionality controls can dynamically become with the drag events Change;
Judge whether the coordinate position for any one functionality controls being hidden is located in the range of the viewing area; Wherein,
Situation in the range of the coordinate position for first functionality controls being hidden is located at the viewing area Under, determine that first functionality controls are dragged into the viewing area.
4. method as claimed in any of claims 1 to 3, it is characterised in that first functionality controls Attribute includes:The control area of first functionality controls and the registration of the viewing area, and/or described the One functionality controls are dragged into the stay time behind the viewing area.
5. method according to claim 4, it is characterised in that if the attribute of first functionality controls meets pre- If trigger condition, then performing the corresponding task of first functionality controls includes:
Read the attribute for first functionality controls for being currently dragged into the viewing area;
In the control area of first functionality controls with the registration of the viewing area more than predetermined area, and/ Or first functionality controls are dragged into situation of the stay time more than the first scheduled duration behind the viewing area Under, determine that the function of first functionality controls is triggered;
After the function of first functionality controls is triggered, by the execution for calling first functionality controls Function performs the corresponding task of first functionality controls.
6. method as claimed in any of claims 1 to 3, it is characterised in that touched by pressing touch-screen In the case that the drag events occur in the viewing area for hair, occurs the operation category during drag events Property includes:Press the press pressure detected during the touch-screen, and/or the operation during generation drag events Duration.
7. method according to claim 6, it is characterised in that operational attribute during in the event of the drag events Default trigger condition is met, then performing the corresponding task of first functionality controls includes:
Read first functionality controls to be dragged into after the viewing area, the currently detected pressing pressure Operation duration when power and/or the generation drag events;
Exceed scheduled pressure value, and/or the generation drag events in the currently detected press pressure When operation duration more than the second scheduled duration in the case of, determine that the function of first functionality controls is triggered;
After the function of first functionality controls is triggered, by the execution for calling first functionality controls Function performs the corresponding task of first functionality controls.
8. according to the method described in claim 1, it is characterised in that the functionality controls list that the tab bar is included is horizontal It is shown in the optional position in the application interface, or the functionality controls list longitudinal direction that the tab bar is included It is shown in the optional position in the application interface;Wherein, when first work(in the functionality controls list Can control when being dragged into the viewing area, the in the viewing area is shown in the functionality controls list Two functionality controls are hidden.
9. a kind of control method of tab bar, it is characterised in that including:
When the application interface shown in touch-screen senses drag events, judge whether the drag events occur The viewing area of tab bar in the application interface, wherein, the tab bar includes:Functionality controls list, I functionality controls in the functionality controls list are shown in the viewing area, and N-i functionality controls are hidden Hide, i is the natural number less than or equal to N;
If the first functionality controls hidden in the functionality controls list are dragged into the viewing area, institute is obtained Operational attribute when stating the attribute of the first functionality controls and/or occurring the drag events;
If operational attribute when attribute and/or the generation drag events of first functionality controls meets pre- If trigger condition, then by the corresponding function pages of first functionality controls include in the application interface.
10. method according to claim 9, it is characterised in that the functionality controls include it is following any one or it is many Type:For performing the control of application function, the control of new task being created for performing and current for closing The control of application function, wherein, system default by it is described be used to perform create the control of new task and described be used for The control for closing current application function is hidden.
11. method according to claim 9, it is characterised in that the viewing area of the tab bar is divided into multiple Subregion, the icon of corresponding functionality controls in the functionality controls list is shown per sub-regions respectively, wherein, When first functionality controls in the functionality controls list are dragged into the viewing area, the function control The second functionality controls being shown in part list in the viewing area are moved out of the viewing area.
12. method according to claim 9, it is characterised in that the functionality controls list that the tab bar is included It is shown displayed across the optional position in the application interface, or the functionality controls list that the tab bar is included Longitudinal direction is shown in the optional position in the application interface.
13. a kind of control device of tab bar, it is characterised in that including:
First acquisition module, for obtaining viewing area of the tab bar in application interface, wherein, the label Column includes:I functionality controls in N number of functionality controls, N number of functionality controls are shown in the viewing area In domain, N-i functionality controls are hidden, and i is the natural number less than or equal to N;
Second acquisition module, during for detecting drag events in the viewing area of the tab bar, if inspection Measure the first hiding functionality controls and be dragged into the viewing area, obtain first functionality controls attribute and/ Or the operational attribute during generation drag events;
Performing module, if for first functionality controls attribute and/or occur the drag events when behaviour Default trigger condition is met as attribute, then performs the corresponding task of first functionality controls.
14. device according to claim 13, it is characterised in that the functionality controls include it is following any one or it is many Type:For performing the control of application function, the control of new task being created for performing and current for closing The control of application function, wherein, system default is used to perform the control of establishment new task and for closing by described The control of current application function is hidden.
15. device according to claim 13, it is characterised in that described device also includes:
Read module, during occurring the drag events in the tab bar, reads hidden in real time The coordinate position for each functionality controls hidden, wherein, the coordinate position of each functionality controls can be with described Drag events dynamic change;
Whether judge module, the coordinate position of any one functionality controls for judging to be hidden is located at described show In the range of showing region;Wherein,
Determining module, is located at the viewing area for the coordinate position in first functionality controls being hidden In the range of in the case of, determine that first functionality controls are dragged into the viewing area.
16. the device according to any one in claim 13 to 15, it is characterised in that first functionality controls Attribute include:The control area of first functionality controls and the registration of the viewing area, and/or it is described First functionality controls are dragged into the stay time behind the viewing area.
17. device according to claim 16, it is characterised in that the performing module includes:
First reading submodule, first functionality controls of the viewing area are currently dragged into for reading Attribute;
First determination sub-module, for the control area in first functionality controls and the weight of the viewing area It is right to be dragged into the stay time behind the viewing area more than predetermined area, and/or first functionality controls and surpass In the case of crossing the first scheduled duration, determine that the function of first functionality controls is triggered;
First calls submodule, after being triggered in the function of first functionality controls, by calling The execution function of the first functionality controls is stated to perform the corresponding task of first functionality controls.
18. the device according to any one in claim 13 or 15, it is characterised in that by pressing touch-screen In the case that the drag events occur in the viewing area for triggering, occurs the operation during drag events Attribute includes:Press the press pressure detected during the touch-screen, and/or the behaviour during generation drag events Make duration.
19. device according to claim 18, it is characterised in that the performing module also includes:
Second reading submodule, is dragged into after the viewing area for reading first functionality controls, when Before the press pressure that detects and/or operation duration when occurring the drag events;
Second determination sub-module, for the currently detected press pressure exceed scheduled pressure value, and/ Or in the case that operation duration when occurring the drag events is more than the second scheduled duration, determine described the The function of one functionality controls is triggered;
Second calls submodule, after being triggered in the function of first functionality controls, by calling The execution function of the first functionality controls is stated to perform the corresponding task of first functionality controls.
20. device according to claim 13, it is characterised in that described device also includes:
Display module, is shown displayed across in the application interface for the functionality controls list that the tab bar is included Optional position, or the functionality controls list that the tab bar is included longitudinally is shown in the application interface Optional position;Wherein, when first functionality controls in the functionality controls list are dragged into the display During region, the second functionality controls being shown in the functionality controls list in the viewing area are hidden.
21. a kind of control device of tab bar, it is characterised in that including:
Judge module, for when the application interface shown in touch-screen senses drag events, being dragged described in judgement Whether dynamic event occurs the viewing area of the tab bar in the application interface, wherein, the tab bar includes: Functionality controls list, i functionality controls in the functionality controls list are shown in the viewing area, N-i Individual functionality controls are hidden, and i is the natural number less than or equal to N;
Acquisition module, if the first functionality controls for being hidden in the functionality controls list are dragged into described show Show region, operational attribute when obtaining the attribute of first functionality controls and/or occurring the drag events;
Display module, if for first functionality controls attribute and/or occur the drag events when behaviour Default trigger condition is met as attribute, then is included the corresponding function pages of first functionality controls described In application interface.
CN201610009496.8A 2016-01-07 2016-01-07 Control method and device for label bar Active CN106951152B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610009496.8A CN106951152B (en) 2016-01-07 2016-01-07 Control method and device for label bar
PCT/CN2016/112552 WO2017118329A1 (en) 2016-01-07 2016-12-28 Method and apparatus for controlling tab bar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610009496.8A CN106951152B (en) 2016-01-07 2016-01-07 Control method and device for label bar

Publications (2)

Publication Number Publication Date
CN106951152A true CN106951152A (en) 2017-07-14
CN106951152B CN106951152B (en) 2020-12-08

Family

ID=59273293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610009496.8A Active CN106951152B (en) 2016-01-07 2016-01-07 Control method and device for label bar

Country Status (2)

Country Link
CN (1) CN106951152B (en)
WO (1) WO2017118329A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589893A (en) * 2017-09-21 2018-01-16 上海联影医疗科技有限公司 A kind of data load method, device and terminal
CN108304114A (en) * 2018-01-30 2018-07-20 深圳市富途网络科技有限公司 A kind of customized list interactive system
CN108491131A (en) * 2018-01-19 2018-09-04 广州视源电子科技股份有限公司 Operating method, device and the intelligent interaction tablet of intelligent interaction tablet
CN109299444A (en) * 2017-07-25 2019-02-01 北京国双科技有限公司 A kind of generation method and device of editor
CN109782983A (en) * 2017-11-13 2019-05-21 腾讯科技(深圳)有限公司 The view layout method of adjustment and device of Application Program Interface
WO2019129156A1 (en) * 2017-12-27 2019-07-04 深圳市泰衡诺科技有限公司 Shortcut operation processing method and device, and mobile terminal
CN110858856A (en) * 2018-08-22 2020-03-03 阿里巴巴集团控股有限公司 Multi-application display method, application group construction method and electronic equipment
CN110929054A (en) * 2019-11-20 2020-03-27 北京小米移动软件有限公司 Multimedia information application interface display method and device, terminal and medium
CN111221450A (en) * 2020-01-02 2020-06-02 杭州网易云音乐科技有限公司 Information display method and device, electronic equipment and storage medium
CN112099694A (en) * 2020-09-24 2020-12-18 维沃移动通信有限公司 Desktop control processing method and device
CN112148176A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Pendant control method and device, electronic equipment and readable storage medium
CN112840306A (en) * 2018-11-08 2021-05-25 深圳市欢太科技有限公司 Data display method of terminal equipment and terminal equipment
US11081230B2 (en) 2017-09-18 2021-08-03 Shanghai United Imaging Healthcare Co., Ltd. Systems and methods for image processing
WO2021218730A1 (en) * 2020-04-28 2021-11-04 维沃移动通信有限公司 Information display method and electronic device
CN114201085A (en) * 2021-11-30 2022-03-18 北京城市网邻信息技术有限公司 Information display method and device, electronic equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442510A (en) * 2019-06-19 2019-11-12 中国平安财产保险股份有限公司 A kind of page properties acquisition methods, device and computer equipment, storage medium
CN114442872B (en) * 2020-10-19 2023-10-27 聚好看科技股份有限公司 Layout and interaction method of virtual user interface and three-dimensional display equipment
CN113342230A (en) * 2021-06-29 2021-09-03 北京字跳网络技术有限公司 Control display method, device, equipment and medium
CN114385061A (en) * 2022-01-12 2022-04-22 京东方科技集团股份有限公司 Operation method, device, electronic equipment and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259003A (en) * 2001-03-01 2002-09-13 Nikko Co Ltd Operation device
KR20090034661A (en) * 2007-10-04 2009-04-08 엘지전자 주식회사 Mobile terminal and its menu display method
CN101720459A (en) * 2007-04-30 2010-06-02 谷歌公司 Hiding portions of display content
CN102566900A (en) * 2011-11-17 2012-07-11 珠海金山办公软件有限公司 Scroll toolbar display control method
CN102655548A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for realizing tab bar
CN103186331A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Display method and system for intelligent terminal interface
CN103455261A (en) * 2012-05-30 2013-12-18 腾讯科技(深圳)有限公司 Method for achieving display by calling tab label and mobile device
CN104238896A (en) * 2013-06-18 2014-12-24 腾讯科技(深圳)有限公司 Function menu display method and device
CN104951193A (en) * 2015-05-19 2015-09-30 腾讯科技(深圳)有限公司 Method and device for displaying menu

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455861A (en) * 2010-10-20 2012-05-16 万音达有限公司 Device and method for displaying menu
US20130212517A1 (en) * 2012-02-13 2013-08-15 Lenovo (Beijing) Co., Ltd. Electronic Device and Display Processing Method
CN104102441B (en) * 2013-04-09 2019-08-23 腾讯科技(深圳)有限公司 A kind of menu item execution method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259003A (en) * 2001-03-01 2002-09-13 Nikko Co Ltd Operation device
CN101720459A (en) * 2007-04-30 2010-06-02 谷歌公司 Hiding portions of display content
KR20090034661A (en) * 2007-10-04 2009-04-08 엘지전자 주식회사 Mobile terminal and its menu display method
CN102655548A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for realizing tab bar
CN102566900A (en) * 2011-11-17 2012-07-11 珠海金山办公软件有限公司 Scroll toolbar display control method
CN103186331A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Display method and system for intelligent terminal interface
CN103455261A (en) * 2012-05-30 2013-12-18 腾讯科技(深圳)有限公司 Method for achieving display by calling tab label and mobile device
CN104238896A (en) * 2013-06-18 2014-12-24 腾讯科技(深圳)有限公司 Function menu display method and device
CN104951193A (en) * 2015-05-19 2015-09-30 腾讯科技(深圳)有限公司 Method and device for displaying menu

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299444A (en) * 2017-07-25 2019-02-01 北京国双科技有限公司 A kind of generation method and device of editor
US11081230B2 (en) 2017-09-18 2021-08-03 Shanghai United Imaging Healthcare Co., Ltd. Systems and methods for image processing
US11449211B2 (en) 2017-09-21 2022-09-20 Shanghai United Imaging Healthcare Co., Ltd. Systems and methods for data loading
CN107589893A (en) * 2017-09-21 2018-01-16 上海联影医疗科技有限公司 A kind of data load method, device and terminal
CN109782983A (en) * 2017-11-13 2019-05-21 腾讯科技(深圳)有限公司 The view layout method of adjustment and device of Application Program Interface
WO2019129156A1 (en) * 2017-12-27 2019-07-04 深圳市泰衡诺科技有限公司 Shortcut operation processing method and device, and mobile terminal
CN108491131B (en) * 2018-01-19 2020-12-22 广州视源电子科技股份有限公司 Operation method and device of intelligent interaction panel and intelligent interaction panel
CN108491131A (en) * 2018-01-19 2018-09-04 广州视源电子科技股份有限公司 Operating method, device and the intelligent interaction tablet of intelligent interaction tablet
CN108304114A (en) * 2018-01-30 2018-07-20 深圳市富途网络科技有限公司 A kind of customized list interactive system
CN110858856A (en) * 2018-08-22 2020-03-03 阿里巴巴集团控股有限公司 Multi-application display method, application group construction method and electronic equipment
CN112840306A (en) * 2018-11-08 2021-05-25 深圳市欢太科技有限公司 Data display method of terminal equipment and terminal equipment
CN110929054A (en) * 2019-11-20 2020-03-27 北京小米移动软件有限公司 Multimedia information application interface display method and device, terminal and medium
CN111221450B (en) * 2020-01-02 2021-07-30 杭州网易云音乐科技有限公司 Information display method and device, electronic equipment and storage medium
CN111221450A (en) * 2020-01-02 2020-06-02 杭州网易云音乐科技有限公司 Information display method and device, electronic equipment and storage medium
WO2021218730A1 (en) * 2020-04-28 2021-11-04 维沃移动通信有限公司 Information display method and electronic device
CN112099694A (en) * 2020-09-24 2020-12-18 维沃移动通信有限公司 Desktop control processing method and device
CN112099694B (en) * 2020-09-24 2022-06-03 维沃移动通信有限公司 Desktop control processing method and device
CN112148176A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Pendant control method and device, electronic equipment and readable storage medium
CN114201085A (en) * 2021-11-30 2022-03-18 北京城市网邻信息技术有限公司 Information display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106951152B (en) 2020-12-08
WO2017118329A1 (en) 2017-07-13

Similar Documents

Publication Publication Date Title
CN106951152A (en) The control method and device of tab bar
CN106095215B (en) The manipulation of touch input cursor
CN104317499B (en) Device and method for the wallpaper that screen is arranged in the terminal
CN107562322A (en) Switch the method and apparatus of the page
CN104076916B (en) Information processing method and electronic device
CN102662555B (en) Operation method of terminal reselection, and terminal
CN104238946B (en) A kind of touch control method, device and terminal
CN102207826B (en) A kind of method and system of scribble
CN104063286B (en) The fluency method of testing and device of display content change
CN110134484A (en) Display methods, device, terminal and the storage medium of message icon
CN103914216B (en) Financial tape reading device with floating menu shortcut key and method
CN107045508A (en) The treating method and apparatus of application program
CN103888573B (en) Mobile terminal setting method and device for the blind
CN105955685A (en) Screen transmission demonstration content control method, apparatus and system
CN108829327A (en) The Writing method and device of interactive intelligence equipment
CN112114734B (en) Online document display method, device, terminal and storage medium
CN106550277A (en) A kind of method and display device of loading barrage
CN110124314A (en) Clue search method and device, electronic equipment, storage medium in game
CN106354373A (en) Icon moving method and mobile terminal
CN106896974A (en) The method and apparatus that data are sorted out
CN109215098A (en) Handwriting erasing method and apparatus
CN110536006A (en) A kind of object's position method of adjustment and electronic equipment
CN104199861B (en) Appointment ID method and device
CN107015743A (en) A kind of suspension key control method and terminal
CN108984089A (en) touch operation method, device, storage medium and electronic equipment

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