WO2017133228A1 - Method and apparatus for increasing valid content display area, and user terminal - Google Patents

Method and apparatus for increasing valid content display area, and user terminal Download PDF

Info

Publication number
WO2017133228A1
WO2017133228A1 PCT/CN2016/096999 CN2016096999W WO2017133228A1 WO 2017133228 A1 WO2017133228 A1 WO 2017133228A1 CN 2016096999 W CN2016096999 W CN 2016096999W WO 2017133228 A1 WO2017133228 A1 WO 2017133228A1
Authority
WO
WIPO (PCT)
Prior art keywords
display interface
tab bar
moving direction
static
static tab
Prior art date
Application number
PCT/CN2016/096999
Other languages
French (fr)
Chinese (zh)
Inventor
赵洪涛
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017133228A1 publication Critical patent/WO2017133228A1/en

Links

Images

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/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • the embodiments of the present invention relate to the field of multimedia technologies, and in particular, to a method, an apparatus, and a user terminal for increasing an effective content display area.
  • the display interface displays the content that he or she wants to see.
  • the inventor has found that at least the following problems exist in the prior art: often, in a display interface designed by many applications, some static tab bars are inevitably set, which will be seen by the user. The content causes occlusion and wastes the usability of the display interface.
  • Figure 1a the user runs the chat software on the terminal.
  • a static tab bar composed of three functions: “message”, “contact” and “dynamic”. If there is no customer wanting to see on the existing interface, The information, then the user will perform an upward sliding interface operation, so that the following chat information can be displayed, and the tab bar will block the chat information below.
  • Figure 2 shows the same situation.
  • the user runs the photo viewing application on the terminal. At this time, the photo displayed on the interface on November 20 is composed of three function tags: “Photo”, “Share” and “Album”.
  • the static tab bar 1 obscures the lower half. When the user wants to see the image after November 20th, the user performs an operation of sliding up the display interface. During this process, the static tab bar 1 is always displayed on the user's desired view. Above the picture. In the above case, the terminal display interface cannot completely display the effective content required by the user, and the utilization of the display interface is reduced.
  • the technical problem to be solved by the embodiment of the present invention is that the terminal display interface in the prior art cannot completely display the effective content required by the user, and reduces the utilization rate of the display interface.
  • the present invention provides the following technical solutions:
  • An embodiment of the present invention provides a method for increasing an effective content display area, including the following steps:
  • the method for increasing the effective content display area includes the following steps:
  • the step of acquiring an operation request for the display interface, and acquiring the moving direction of the display interface according to the operation request includes:
  • the moving direction of the display interface is obtained according to the sliding direction.
  • the step of determining the sliding direction according to the start position coordinate and the end position coordinate includes:
  • the sliding direction is judged based on the difference.
  • the step of determining whether the absolute value of the difference is less than or equal to the preset threshold is:
  • the preset threshold is a distance of 10-20 pixels.
  • An embodiment of the present invention further provides an apparatus for increasing an effective content display area, including:
  • a first determining unit configured to determine whether a static tab bar is displayed on the display interface
  • a location obtaining unit configured to acquire a location of the static tab bar in the display interface when the determination result of the first determining unit is YES;
  • a moving direction acquiring unit configured to acquire an operation request for the display interface, and obtain a moving direction of the display interface according to the operation request;
  • a second determining unit configured to determine whether a moving direction of the display interface is opposite to a location of the static tab bar
  • the tab bar operation unit is configured to hide the static tab bar when the judgment result of the second judgment is YES.
  • the method further includes:
  • a third determining unit configured to determine whether a moving direction of the display interface is the same as a location of the static tab bar
  • the tab bar operation unit is further configured to display the static tab bar when the determination result of the third judging unit is YES.
  • the moving direction acquiring unit includes:
  • a monitoring subunit for monitoring a sliding operation on the display interface
  • a position obtaining subunit configured to acquire a starting position coordinate and a ending position coordinate corresponding to the sliding operation
  • a sliding direction acquisition subunit for seating according to the starting position coordinates and the ending position The mark determines the sliding direction
  • the moving direction acquires the subunit, and the moving direction of the display interface is obtained according to the sliding direction.
  • the sliding direction acquisition subunit includes:
  • a difference obtaining module configured to acquire a difference between the coordinates of the starting position and the coordinates of the ending position
  • a determining module configured to determine whether an absolute value of the difference is less than or equal to the preset threshold
  • the processing module is configured to ignore the operation when the determination result of the determination module is YES, and determine the sliding direction according to the difference when the determination result of the determination module is negative.
  • the preset threshold is a distance of 10-20 pixels.
  • the embodiment of the invention further provides a user terminal for adding an effective content display area, which comprises the above device for increasing the effective content display area.
  • An embodiment of the present invention further provides an apparatus for increasing an effective content display area, including:
  • the processor, the memory, and the communication interface complete communication with each other through the bus;
  • the communication interface is used for information transmission between a processing device and a display device;
  • the processor is configured to invoke logic instructions in the memory to perform the following method
  • the embodiment of the invention further provides a computer program, comprising program code, wherein the program code is used to perform the following operations:
  • the embodiment of the invention further provides a storage medium for storing the above computer program.
  • the method, device and user terminal for adding an effective content display area when a static tab bar is displayed on the display interface, determine the moving direction of the display interface according to the obtained operation request for the display interface, when the display interface is When the moving direction is opposite to the position of the static tab bar, the user needs to see the content behind the static tab bar.
  • the existence of the static tab bar will definitely obscure the content that the user wants to see.
  • the static tab bar is hidden. After the static tab bar is hidden, the area that can be used to display the effective content becomes larger, and the user can see more content that he wants to see, thereby improving the utilization of the display interface.
  • the method, device and user terminal for increasing the effective content display area of the present invention can be applied to a terminal adopting a touch screen.
  • the user controls the upward movement or the display interface by performing a sliding operation on the display interface. Move down.
  • it is determined whether the distance between the starting position and the ending position is within a preset threshold, and if within the preset threshold, the operation is ignored.
  • FIG. 1 is a schematic diagram of reducing the usage of a display interface by a static tab bar in the prior art
  • FIG. 2 is a flow chart of a method for increasing an effective content display area according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing an effect of increasing an effective content display area according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for increasing an effective content display area according to another embodiment of the present invention.
  • FIG. 5 is a schematic block diagram of an apparatus for increasing an effective content display area according to an embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of an apparatus for increasing an effective content display area according to another embodiment of the present invention.
  • Figure 7 is a logic block diagram of an apparatus for increasing an effective content display area in accordance with one embodiment of the present invention.
  • the invention provides a method, a device and a user terminal for increasing an effective content display area, wherein the user terminal can be a smart phone, a tablet computer or the like.
  • Multiple types of APPs are installed in the user terminal, and the interfaces of each type of APP are different.
  • the display interface is opposite to the position of the tab bar.
  • the static tab bar can be hidden by using the method for increasing the effective content display area provided by the present invention.
  • the position of the original static tab bar can be used to display the content that the user wants to see, so that the display interface can display the effective content. As the area increases, the utilization of the display interface is improved.
  • the device for increasing the effective content display area provided by the present invention may be a function module disposed in the user terminal or a small unit embedded in the APP.
  • the APP display interface When the APP display interface is opened, the corresponding function may be started.
  • the module or unit optimizes the utilization of the display interface.
  • This embodiment provides a method for increasing an effective content display area. As shown in FIG. 2, the method includes the following steps:
  • step S1 It is judged whether the static label column 1 is displayed on the display interface, and if yes, the process proceeds to step S2, otherwise the step is repeated.
  • S2 Acquire a position of the static tab bar 1 in the display interface.
  • the static tab bar 1 will be at the bottom of the display interface, as shown in Figure 1a and Figure 1b. However, this is not the only way to set it up. In actual application, depending on the size of the terminal screen, the operation buttons or the touch mode settings, the position of the static tab bar 1 may change regardless of the position of the static tab bar 1 Does not affect the implementation of this program.
  • S3 Acquire an operation request for the display interface, and obtain a moving direction of the display interface according to the operation request.
  • the existing terminals basically adopt a touch screen. At this time, when the display interface is operated, the finger is swiped or clicked on the touch screen.
  • the user terminals that may need to rely on some buttons set on the terminal when operating the display interface. Regardless of the implementation manner, in the prior art, the user's operation request can be accurately parsed, and the display interface is correspondingly operated according to the operation request.
  • step S4 determining whether the moving direction of the display interface is opposite to the position of the static tab bar 1, if yes, proceeding to step S5, if otherwise, proceeding to step S8.
  • the static tab bar 1 is hidden, as shown in FIG.
  • the static tab bar 1 is at the bottom of the display interface, and blocks the contents of some of the pictures.
  • the moving direction of the display interface is opposite to the position of the static tab bar 1.
  • the user wants to see the information below the static tab bar 1.
  • the static tab bar 1 is hidden, as shown in the right figure.
  • the static tab bar 1 is hidden, the image originally blocked by the static tab bar 1 can be seen. That is, the user can see more information that he wants to see, increases the display area of the effective content, and improves the utilization of the display interface.
  • This step can change the display state of the static tab bar 1 by designing the ChangeVisible interface in the display world.
  • step S4 when the result of the determination in step S4 is NO, the following steps are performed:
  • step S6 determining whether the moving direction of the display interface is different from the position of the static tab bar 1 If yes, go to step S7, otherwise go to step S8.
  • S7 Display the static tab bar 1.
  • the static tab bar 1 can be displayed, because the tab displayed on the static tab bar 1 can make the user switch quickly. To other functional interfaces, it can bring some convenience to users.
  • step S3 the method further includes:
  • S31 Monitor the sliding operation on the display interface; the OnMoveListener may be registered in the slidable list interface, which is a sliding event listening function for sliding the monitoring interface up and down.
  • the position coordinate referred to herein refers to the direction coordinate perpendicular to the static label column 1.
  • the static tab bar 1 is disposed at the bottom end of the display interface, and the direction perpendicular thereto is upward or downward. If the direction parallel to the static tab bar 1 is the X direction, then the direction is upward or downward. That is the Y direction. Then the starting position coordinates and the ending position coordinates that can be used to obtain the sliding direction refer to the Y coordinates of the starting position and the ending position.
  • S313 Determine a sliding direction according to the starting position coordinate and the ending position coordinate.
  • S314 Obtain a moving direction of the display interface according to the sliding direction.
  • newY–oldY>downThreshold it means that when the difference between the new Y-axis coordinate minus the old Y-axis coordinate is greater than the first preset value, it is determined to slide downward.
  • oldY–newY>upThreshold it means that when the difference between the new Y-axis coordinate minus the old Y-axis coordinate is greater than the preset value, it is determined to slide upward.
  • the first preset value and the second preset value may be the same value, and may be set according to actual conditions.
  • the preset threshold may also be the same as the first preset value and the second preset value, or may be smaller than them, and may be selected according to actual conditions.
  • the preset threshold is selected as a distance of 10-20 pixels. More preferably, the preset threshold may be selected as a distance of 15 pixels, or a distance of 10 pixels, a distance of 18 pixels, and 20 pixels may be selected. The distance and so on.
  • the embodiment provides an apparatus for increasing the effective content display area. As shown in FIG. 5, the method includes:
  • the first determining unit 1 is configured to determine whether the static tab bar 1 is displayed on the display interface.
  • the location obtaining unit 2 is configured to acquire the position of the static tab bar 1 in the display interface when the determination result of the first judging unit 1 is YES; in general, the static tab bar 1 is displayed.
  • the bottom of the interface as shown in Figure 3. However, this is not the only way to set it up. In actual application, depending on the size of the terminal screen, the operation buttons or the touch mode settings, the position of the static tab bar 1 may change regardless of the position of the static tab bar 1 Does not affect the implementation of this program.
  • the moving direction acquiring unit 3 is configured to acquire an operation request for the display interface, and obtain a moving direction of the display interface according to the operation request; with the advancement of the technology, the existing terminal basically adopts a touch screen, and then the display is When the interface is operated, it is swiped or clicked on the touch screen by fingers.
  • the existing terminal basically adopts a touch screen, and then the display is When the interface is operated, it is swiped or clicked on the touch screen by fingers.
  • the second determining unit 4 is configured to determine whether the moving direction of the display interface is opposite to the location of the static tab bar 1. As shown in Figure 3. For example, if the static tab bar 1 is at the bottom end of the display interface, then when the display interface is desired to move upward, that is, the moving direction of the display interface is opposite to the position of the static tab bar 1 at this time, the user wants to see the static tab bar 1 below. For information, the static tab bar 1 is hidden at this time. As shown in the figure, when the static tab bar 1 is hidden, the image originally blocked by the static tab bar 1 can be seen. That is, the user can see more information that he wants to see, increases the display area of the effective content, and improves the utilization of the display interface. In the specific implementation, the display state of the static tab bar 1 can be changed by designing a ChangeVisible interface in the display boundary.
  • the tab bar operation unit 5 hides the static tab bar 1 when the determination result of the second judgment 4 is YES. Taking FIG. 3 as an example, if the user performs a downward sliding operation, then the display interface is desired to move downward, and the user wants to see the above picture, then whether the static label column 1 is blocked does not affect the user. The above content, so you can not process the static tab bar 1 and keep the original state.
  • the apparatus for increasing the effective content display area further includes a third determining unit 6 configured to determine whether the moving direction of the display interface is the same as the position of the static tab bar 1;
  • the operation unit 5 is further configured to display the static tab bar 1 when the determination result of the third determining unit 6 is YES.
  • the static tab bar 1 can be displayed, because the tab displayed on the static tab bar 1 can make the user switch quickly. Go to other function interfaces, Can bring some convenience to the user.
  • the moving direction acquiring unit 3 includes:
  • the monitoring sub-unit 31 is configured to monitor a sliding operation on the display interface; the OnMoveListener may be registered in the slidable list interface, which is a sliding event listening function for sliding the monitoring interface up and down.
  • the position obtaining sub-unit 32 is configured to acquire the starting position coordinates and the ending position coordinates corresponding to the sliding operation; it can be understood that the position coordinates referred to herein refer to the direction coordinates perpendicular to the static label column 1.
  • the static tab bar 1 is disposed at the bottom end of the display interface, and the direction perpendicular thereto is upward or downward. If the direction parallel to the static tab bar 1 is the X direction, then the direction is upward or downward. That is the Y direction. Then the starting position coordinates and the ending position coordinates that can be used to obtain the sliding direction refer to the Y coordinates of the starting position and the ending position.
  • a sliding direction obtaining sub-unit 33 configured to determine a sliding direction according to the starting position coordinate and the ending position coordinate
  • the moving direction acquisition sub-unit 34 obtains the moving direction of the display interface according to the sliding direction. Further, the sliding direction acquiring subunit 33 includes:
  • a difference obtaining module 331, configured to acquire a difference between the start position coordinate and the end position coordinate;
  • the determining module 332 is configured to determine whether an absolute value of the difference is less than or equal to the preset threshold
  • the processing module 333 is configured to ignore the operation when the determination result of the determination module 332 is YES, and determine the sliding direction according to the difference when the determination result of the determination module 332 is negative.
  • newY–oldY>downThreshold it means that when the difference between the new Y-axis coordinate minus the old Y-axis coordinate is greater than the first preset value, it is determined to slide downward.
  • oldY–newY>upThreshold it means that when the difference between the new Y-axis coordinate minus the old Y-axis coordinate is greater than the preset value, it is determined to slide upward.
  • the first preset value and the second preset value may be the same value, and may be set according to actual conditions.
  • the preset threshold may also be the same as the first preset value and the second preset value, or may be smaller than They can all choose according to the actual situation.
  • the preset threshold is selected as a distance of 10-20 pixels. More preferably, the preset threshold may be selected as a distance of 15 pixels, or a distance of 10 pixels, a distance of 18 pixels, and 20 pixels may be selected. The distance and so on.
  • the embodiment provides a user terminal, which includes the apparatus for increasing the effective content display area described in Embodiment 2. It can be a function module set in the user terminal, or a small unit embedded in the APP. When the APP display interface is opened, the corresponding function module or unit can be activated to optimize the utilization of the display interface. improve.
  • an embodiment of the present invention further provides an apparatus for increasing an effective content display area, including:
  • processor 41 a processor 41, a memory 42, a communication interface 43 and a bus 44;
  • the processor 41, the memory 42, and the communication interface 43 complete communication with each other through the bus 44;
  • the communication interface 43 is configured to transmit information between the processing device and the display device;
  • the processor 41 is configured to invoke logic instructions in the memory to perform the following method
  • Embodiments of the present invention also provide a storage medium for storing the above computer program.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Disclosed are a method and an apparatus for increasing a valid content display area, and a user terminal. In the prior art when a static tab bar is displayed in a display interface, a moving direction of the display interface is determined according to an obtained operation request for the display interface; and when the displayed content is moved in a direction away from the position of the static tab bar, indicating that a user wishes to view content behind the static tab bar, the presence of the static tab bar will block the content the user wishes to view. The present invention resolves this issue by hiding the static tab bar so that the available area for displaying valid content is increased and more content can be seen by the user, thereby improving utilization rate of the display interface.

Description

一种增加有效内容显示区域的方法、装置及一种用户终端Method and device for increasing effective content display area and user terminal
交叉引用cross reference
本申请引用于2016年2月1日提交的专利名称为“一种增加有效内容显示区域的方法、装置及一种用户终端”的第2016100695368号中国专利申请,其通过引用被全部并入本申请。The present application is hereby incorporated by reference in its entirety in its entirety in its entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire entire content .
技术领域Technical field
本发明实施例涉及多媒体技术领域,具体地涉及一种增加有效内容显示区域的方法、装置及一种用户终端。The embodiments of the present invention relate to the field of multimedia technologies, and in particular, to a method, an apparatus, and a user terminal for increasing an effective content display area.
背景技术Background technique
当用户在使用手机等终端时,希望显示界面上显示的都是自己想看的内容。在实现本申请过程中,发明人发现现有技术至少存在如下问题:往往有很多的应用程序所设计的显示界面中,都不可避免的设置有一些静态标签栏,会对用户想要看到的内容造成遮挡,浪费了显示界面的可利用率。When the user is using a terminal such as a mobile phone, it is desirable that the display interface displays the content that he or she wants to see. In the process of implementing the present application, the inventor has found that at least the following problems exist in the prior art: often, in a display interface designed by many applications, some static tab bars are inevitably set, which will be seen by the user. The content causes occlusion and wastes the usability of the display interface.
例如,图1a和图1b所示的情况。图1a中,用户在终端上运行聊天软件,在该界面下方有“消息”“联系人”“动态”三个功能标签组成的静态标签栏1,在现有界面上如果没有客户想要看到的信息,那么用户会进行向上滑动界面的操作,使下面的聊天信息能够显示出来,这时标签栏就会对下面聊天信息造成遮挡。图2所示为相同的情况,用户在终端上运行照片查看的应用程序,此时界面上显示的11月20日的照片就被由“照片”“共享”“相簿”三个功能标签组成的静态标签栏1遮挡住了下半部分,当用户想要看11月20日以后的图片时,执行向上滑动显示界面的操作,这个过程中,静态标签栏1始终都会显示在用户想看的画面之上。上述情况下,终端显示界面不能够完全显示用户所需要的有效内容,降低了显示界面的利用率。For example, the situation shown in Figures 1a and 1b. In Figure 1a, the user runs the chat software on the terminal. Below the interface is a static tab bar composed of three functions: "message", "contact" and "dynamic". If there is no customer wanting to see on the existing interface, The information, then the user will perform an upward sliding interface operation, so that the following chat information can be displayed, and the tab bar will block the chat information below. Figure 2 shows the same situation. The user runs the photo viewing application on the terminal. At this time, the photo displayed on the interface on November 20 is composed of three function tags: “Photo”, “Share” and “Album”. The static tab bar 1 obscures the lower half. When the user wants to see the image after November 20th, the user performs an operation of sliding up the display interface. During this process, the static tab bar 1 is always displayed on the user's desired view. Above the picture. In the above case, the terminal display interface cannot completely display the effective content required by the user, and the utilization of the display interface is reduced.
发明内容 Summary of the invention
本发明实施例要解决的技术问题是现有技术中的终端显示界面不能够完全显示用户所需要的有效内容,降低了显示界面的利用率。The technical problem to be solved by the embodiment of the present invention is that the terminal display interface in the prior art cannot completely display the effective content required by the user, and reduces the utilization rate of the display interface.
为了解决上述技术问题,本发明提供如下技术方案:In order to solve the above technical problem, the present invention provides the following technical solutions:
本发明实施例提供一种增加有效内容显示区域的方法,包括如下步骤:An embodiment of the present invention provides a method for increasing an effective content display area, including the following steps:
判断显示界面上是否显示有静态标签栏;Determine whether a static tab bar is displayed on the display interface;
若有,则获取所述静态标签栏在所述显示界面中的位置;If yes, obtaining a location of the static tab bar in the display interface;
获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;Acquiring an operation request for the display interface, and acquiring a moving direction of the display interface according to the operation request;
判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;Determining whether a moving direction of the display interface is opposite to a position of the static tab bar;
若是,则隐藏所述静态标签栏。If so, the static tab bar is hidden.
优选地,上述的增加有效内容显示区域的方法中,还包括如下步骤:Preferably, the method for increasing the effective content display area includes the following steps:
判断所述显示界面的移动方向是否与所述静态标签栏所在位置相同;Determining whether the moving direction of the display interface is the same as the position of the static tab bar;
若是,则显示所述静态标签栏。If yes, the static tab bar is displayed.
优选地,上述的增加有效内容显示区域的方法中,获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向的步骤包括:Preferably, in the method for increasing the effective content display area, the step of acquiring an operation request for the display interface, and acquiring the moving direction of the display interface according to the operation request, includes:
监测对显示界面的滑动操作;Monitoring the sliding operation of the display interface;
获取滑动操作对应的起始位置坐标和终止位置坐标;Obtaining a starting position coordinate and a ending position coordinate corresponding to the sliding operation;
根据所述起始位置坐标和所述终止位置坐标判断滑动方向;Determining a sliding direction according to the starting position coordinate and the ending position coordinate;
根据所述滑动方向得到显示界面的移动方向。The moving direction of the display interface is obtained according to the sliding direction.
优选地,上述的增加有效内容显示区域的方法中,根据所述起始位置坐标和所述终止位置坐标判断滑动方向的步骤中包括:Preferably, in the method for increasing the effective content display area, the step of determining the sliding direction according to the start position coordinate and the end position coordinate includes:
获取所述起始位置坐标和所述终止位置坐标的差值;Obtaining a difference between the starting position coordinate and the ending position coordinate;
判断所述差值的绝对值是否小于或等于所述预设阈值;Determining whether an absolute value of the difference is less than or equal to the preset threshold;
若是,则忽略该操作; If yes, ignore the operation;
否则,根据所述差值判断滑动方向。Otherwise, the sliding direction is judged based on the difference.
优选地,上述的增加有效内容显示区域的方法中,判断所述差值的绝对值是否小于或等于所述预设阈值的步骤中:Preferably, in the method for increasing the effective content display area, the step of determining whether the absolute value of the difference is less than or equal to the preset threshold is:
所述预设阈值为10-20像素的距离。The preset threshold is a distance of 10-20 pixels.
本发明实施例还提供一种增加有效内容显示区域的装置,包括:An embodiment of the present invention further provides an apparatus for increasing an effective content display area, including:
第一判断单元,用于判断显示界面上是否显示有静态标签栏;a first determining unit, configured to determine whether a static tab bar is displayed on the display interface;
位置获取单元,用于在所述第一判断单元的判断结果为是时,则获取所述静态标签栏在所述显示界面中的位置;a location obtaining unit, configured to acquire a location of the static tab bar in the display interface when the determination result of the first determining unit is YES;
移动方向获取单元,用于获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;a moving direction acquiring unit, configured to acquire an operation request for the display interface, and obtain a moving direction of the display interface according to the operation request;
第二判断单元,用于判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;a second determining unit, configured to determine whether a moving direction of the display interface is opposite to a location of the static tab bar;
标签栏操作单元,用于所述第二判断的判断结果为是时,隐藏所述静态标签栏。The tab bar operation unit is configured to hide the static tab bar when the judgment result of the second judgment is YES.
优选地,上述的增加有效内容显示区域的装置中,还包括:Preferably, in the foregoing apparatus for increasing the effective content display area, the method further includes:
第三判断单元,用于判断所述显示界面的移动方向是否与所述静态标签栏所在位置相同;a third determining unit, configured to determine whether a moving direction of the display interface is the same as a location of the static tab bar;
所述标签栏操作单元,还用于在所述第三判断单元的判断结果为是时,显示所述静态标签栏。The tab bar operation unit is further configured to display the static tab bar when the determination result of the third judging unit is YES.
优选地,上述的增加有效内容显示区域的装置中,所述移动方向获取单元中包括:Preferably, in the device for increasing the effective content display area, the moving direction acquiring unit includes:
监测子单元,用于监测对显示界面的滑动操作;a monitoring subunit for monitoring a sliding operation on the display interface;
位置获取子单元,用于获取滑动操作对应的起始位置坐标和终止位置坐标;a position obtaining subunit, configured to acquire a starting position coordinate and a ending position coordinate corresponding to the sliding operation;
滑动方向获取子单元,用于根据所述起始位置坐标和所述终止位置坐 标判断滑动方向;a sliding direction acquisition subunit for seating according to the starting position coordinates and the ending position The mark determines the sliding direction;
移动方向获取子单元,根据所述滑动方向得到显示界面的移动方向。The moving direction acquires the subunit, and the moving direction of the display interface is obtained according to the sliding direction.
优选地,上述的增加有效内容显示区域的装置中,所述滑动方向获取子单元中包括:Preferably, in the device for increasing the effective content display area, the sliding direction acquisition subunit includes:
差值获取模块,用于获取所述起始位置坐标和所述终止位置坐标的差值;a difference obtaining module, configured to acquire a difference between the coordinates of the starting position and the coordinates of the ending position;
判断模块,用于判断所述差值的绝对值是否小于或等于所述预设阈值;a determining module, configured to determine whether an absolute value of the difference is less than or equal to the preset threshold;
处理模块,用于在所述判断模块的判断结果为是时,忽略该操作;在所述判断模块的判断结果为否时,根据所述差值判断滑动方向。The processing module is configured to ignore the operation when the determination result of the determination module is YES, and determine the sliding direction according to the difference when the determination result of the determination module is negative.
优选地,上述的增加有效内容显示区域的装置中,所述判断模块中,所述预设阈值为10-20像素的距离。Preferably, in the foregoing apparatus for increasing the effective content display area, in the determining module, the preset threshold is a distance of 10-20 pixels.
本发明实施例还提供一种增加有效内容显示区域的用户终端,包括上述的增加有效内容显示区域的装置。The embodiment of the invention further provides a user terminal for adding an effective content display area, which comprises the above device for increasing the effective content display area.
本发明实施例还提供一种增加有效内容显示区域的装置,包括:An embodiment of the present invention further provides an apparatus for increasing an effective content display area, including:
处理器、存储器、通信接口和总线;其中,a processor, a memory, a communication interface, and a bus; wherein
所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface complete communication with each other through the bus;
所述通信接口用于处理装置和显示设备之间的信息传输;The communication interface is used for information transmission between a processing device and a display device;
所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;The processor is configured to invoke logic instructions in the memory to perform the following method;
判断显示界面上是否显示有静态标签栏;Determine whether a static tab bar is displayed on the display interface;
若有,则获取所述静态标签栏在所述显示界面中的位置;If yes, obtaining a location of the static tab bar in the display interface;
获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;Acquiring an operation request for the display interface, and acquiring a moving direction of the display interface according to the operation request;
判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;Determining whether a moving direction of the display interface is opposite to a position of the static tab bar;
若是,则隐藏所述静态标签栏。 If so, the static tab bar is hidden.
本发明实施例还提供了一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:The embodiment of the invention further provides a computer program, comprising program code, wherein the program code is used to perform the following operations:
判断显示界面上是否显示有静态标签栏;Determine whether a static tab bar is displayed on the display interface;
若有,则获取所述静态标签栏在所述显示界面中的位置;If yes, obtaining a location of the static tab bar in the display interface;
获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;Acquiring an operation request for the display interface, and acquiring a moving direction of the display interface according to the operation request;
判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;Determining whether a moving direction of the display interface is opposite to a position of the static tab bar;
若是,则隐藏所述静态标签栏。If so, the static tab bar is hidden.
本发明实施例还提供了一种存储介质,用于存储上述的计算机程序。The embodiment of the invention further provides a storage medium for storing the above computer program.
本发明所述的增加有效内容显示区域的方法、装置及用户终端,当显示界面上显示有静态标签栏时,根据获取的对显示界面的操作请求,判断显示界面的移动方向,当显示界面的移动方向与静态标签栏所在的位置相反时,则说明用户需想要看到在静态标签栏之后的内容,则静态标签栏的存在一定会对用户想要看到的内容造成遮挡,此时将静态标签栏隐藏,隐藏静态标签栏之后,能够用于显示有效内容的区域变大,用户可以看到更多的想要看到的内容,从而提高了显示界面的利用率。The method, device and user terminal for adding an effective content display area according to the present invention, when a static tab bar is displayed on the display interface, determine the moving direction of the display interface according to the obtained operation request for the display interface, when the display interface is When the moving direction is opposite to the position of the static tab bar, the user needs to see the content behind the static tab bar. The existence of the static tab bar will definitely obscure the content that the user wants to see. The static tab bar is hidden. After the static tab bar is hidden, the area that can be used to display the effective content becomes larger, and the user can see more content that he wants to see, thereby improving the utilization of the display interface.
本发明所述的增加有效内容显示区域的方法、装置及用户终端,可适用于采用触摸屏的终端中,此时,用户会通过在显示界面上执行滑动操作,来控制显示界面的向上移动或者向下移动。而为了提高滑动检测的准确性,在检测到对显示界面的滑动操作后,判断起始位置和终止位置的之间的距离是否在预设阈值内,如果在预设阈值内,忽略该操作。通过上述方案,能够避免由于用户的手只是不小心碰触到显示界面就会被认为是向上滑动或者向下滑动,提高检测的精度。The method, device and user terminal for increasing the effective content display area of the present invention can be applied to a terminal adopting a touch screen. At this time, the user controls the upward movement or the display interface by performing a sliding operation on the display interface. Move down. In order to improve the accuracy of the sliding detection, after detecting the sliding operation on the display interface, it is determined whether the distance between the starting position and the ending position is within a preset threshold, and if within the preset threshold, the operation is ignored. Through the above solution, it can be avoided that the user's hand is only accidentally touched to the display interface and is considered to be sliding upward or downward, thereby improving the accuracy of detection.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下 面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below, obviously, The drawings in the above description are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
图1是现有技术中静态标签栏降低显示界面利用率的示意图;1 is a schematic diagram of reducing the usage of a display interface by a static tab bar in the prior art;
图2是本发明一个实施例所述增加有效内容显示区域的方法的流程图;2 is a flow chart of a method for increasing an effective content display area according to an embodiment of the present invention;
图3是本发明一个实施例所述增加有效内容显示区域的效果示意图;3 is a schematic diagram showing an effect of increasing an effective content display area according to an embodiment of the present invention;
图4是本发明另一个实施例所述增加有效内容显示区域的方法的流程图;4 is a flowchart of a method for increasing an effective content display area according to another embodiment of the present invention;
图5是本发明一个实施例所述增加有效内容显示区域的装置的原理框图;FIG. 5 is a schematic block diagram of an apparatus for increasing an effective content display area according to an embodiment of the present invention; FIG.
图6是本发明另一个实施例所述增加有效内容显示区域的装置的原理框图。FIG. 6 is a schematic block diagram of an apparatus for increasing an effective content display area according to another embodiment of the present invention.
图7是本发明一个实施例所述增加有效内容显示区域的装置的逻辑框图。Figure 7 is a logic block diagram of an apparatus for increasing an effective content display area in accordance with one embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明提供的增加有效内容显示区域的方法、装置及用户终端,其中的用户终端可以是智能手机、平板电脑等。在用户终端中会安装多种类型的APP,每一种APP的界面都不相同,对于一些设置有静态标签栏的APP界面来说当用户操作用户终端,希望显示界面向着与标签栏位置相反的方向移动时,可使用本发明提供的增加有效内容显示区域的方法使静态标签栏隐藏,原来静态标签栏所在的位置处可用于显示用户想要看到的内容,从而显示界面能够显示有效内容的区域增加,显示界面的利用率得到提高。而本发明提供的增加有效内容显示区域的装置,可以是设置于用户终端中的一个功能模块,或者是内嵌于APP中的一个小单元,当APP显示界面打开后,即可启动相应的功能模块或单元,对显示界面的利用率进行优化提高。下面结合具体实施例对本发明的上述方案进行详细说明。 The invention provides a method, a device and a user terminal for increasing an effective content display area, wherein the user terminal can be a smart phone, a tablet computer or the like. Multiple types of APPs are installed in the user terminal, and the interfaces of each type of APP are different. For some APP interfaces that have a static tab bar, when the user operates the user terminal, it is desirable that the display interface is opposite to the position of the tab bar. When the direction is moved, the static tab bar can be hidden by using the method for increasing the effective content display area provided by the present invention. The position of the original static tab bar can be used to display the content that the user wants to see, so that the display interface can display the effective content. As the area increases, the utilization of the display interface is improved. The device for increasing the effective content display area provided by the present invention may be a function module disposed in the user terminal or a small unit embedded in the APP. When the APP display interface is opened, the corresponding function may be started. The module or unit optimizes the utilization of the display interface. The above aspects of the present invention will be described in detail below with reference to specific embodiments.
实施例1Example 1
本实施例提供一种增加有效内容显示区域的方法,如图2所示,包括如下步骤:This embodiment provides a method for increasing an effective content display area. As shown in FIG. 2, the method includes the following steps:
S1:判断显示界面上是否显示有静态标签栏1,若有则进入步骤S2,否则重复本步骤。S1: It is judged whether the static label column 1 is displayed on the display interface, and if yes, the process proceeds to step S2, otherwise the step is repeated.
S2:获取所述静态标签栏1在所述显示界面中的位置。一般情况下,静态标签栏1会在显示界面的最下端,如图1a和图1b所示的情况。不过这并不是唯一的设置方式,在实际应用时,根据终端屏幕的大小,操作按键或者触摸方式的设置等,静态标签栏1的位置可能会发生变化,不论静态标签栏1的位置如何,都不影响本方案的实施。S2: Acquire a position of the static tab bar 1 in the display interface. In general, the static tab bar 1 will be at the bottom of the display interface, as shown in Figure 1a and Figure 1b. However, this is not the only way to set it up. In actual application, depending on the size of the terminal screen, the operation buttons or the touch mode settings, the position of the static tab bar 1 may change regardless of the position of the static tab bar 1 Does not affect the implementation of this program.
S3:获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向。随着科技的进步,现有的终端基本上都是采用触摸屏,这时对显示界面进行操作时,都是通过手指在触摸屏上进行出滑动或者点击。但是也有一些用户终端,在对显示界面进行操作时,可能还需要依靠设置于终端上的一些按键实现。无论哪种实现方式,现有技术中都能够准确的解析用户的操作请求,并根据操作请求使显示界面进行相应的操作。S3: Acquire an operation request for the display interface, and obtain a moving direction of the display interface according to the operation request. With the advancement of technology, the existing terminals basically adopt a touch screen. At this time, when the display interface is operated, the finger is swiped or clicked on the touch screen. However, there are also some user terminals that may need to rely on some buttons set on the terminal when operating the display interface. Regardless of the implementation manner, in the prior art, the user's operation request can be accurately parsed, and the display interface is correspondingly operated according to the operation request.
S4:判断所述显示界面的移动方向是否与所述静态标签栏1所在位置相反,若是则进入步骤S5,若否则进入步骤S8。S4: determining whether the moving direction of the display interface is opposite to the position of the static tab bar 1, if yes, proceeding to step S5, if otherwise, proceeding to step S8.
S5:隐藏所述静态标签栏1,如图3所示。例如,左边图中静态标签栏1在显示界面的最下端,遮挡了部分图片的内容。当希望显示界面向上移动时,即显示界面的移动方向与静态标签栏1所在位置相反,此时用户是希望看到静态标签栏1下方的信息的,此时隐藏静态标签栏1,如右图,当静态标签栏1被隐藏后,原本被静态标签栏1遮挡的图片就可以被看到了。即用户能够看到更多的想看的信息,增加了有效内容的显示区域,提高了显示界面的利用率。本步骤可以通过在该显示界设计ChangeVisible接口,以改变静态标签栏1所在位置的显示状态。S5: The static tab bar 1 is hidden, as shown in FIG. For example, in the left picture, the static tab bar 1 is at the bottom of the display interface, and blocks the contents of some of the pictures. When the display interface is desired to move upward, the moving direction of the display interface is opposite to the position of the static tab bar 1. At this time, the user wants to see the information below the static tab bar 1. At this time, the static tab bar 1 is hidden, as shown in the right figure. When the static tab bar 1 is hidden, the image originally blocked by the static tab bar 1 can be seen. That is, the user can see more information that he wants to see, increases the display area of the effective content, and improves the utilization of the display interface. This step can change the display state of the static tab bar 1 by designing the ChangeVisible interface in the display world.
S8:不需要对静态标签栏1进行任何操作。以图3为例,此时如果用户执行的是向下滑动的操作的话,那么希望显示界面向下移动,用户想看到的是上面的图片,那么静态标签栏1是否遮挡并不影响用户看上面的内容,所以可以不用对静态标签栏1进行处理,保持原先的状态即可。S8: No action is required on the static tab bar 1. Taking FIG. 3 as an example, if the user performs a downward sliding operation, then the display interface is desired to move downward, and the user wants to see the above picture, then whether the static label column 1 is blocked does not affect the user. The above content, so you can not process the static tab bar 1 and keep the original state.
而作为另一种方式,如图4所示,当步骤S4的判断结果为否时,按照以下步骤执行:On the other hand, as shown in FIG. 4, when the result of the determination in step S4 is NO, the following steps are performed:
S6:判断所述显示界面的移动方向是否与所述静态标签栏1所在位置 相同,若是则进入步骤S7,否则进入步骤S8。S6: determining whether the moving direction of the display interface is different from the position of the static tab bar 1 If yes, go to step S7, otherwise go to step S8.
S7:显示所述静态标签栏1。如前所述,此时用户希望看到的内容与静态标签栏1是否遮挡并没有关系时,那么可以令静态标签栏1显示出来,因为静态标签栏1上显示的标签可以使用户快速的切换到其他功能界面,能够给用户带来一些便利。S7: Display the static tab bar 1. As mentioned above, when the content that the user wants to see is not related to whether the static tab bar 1 is occluded, the static tab bar 1 can be displayed, because the tab displayed on the static tab bar 1 can make the user switch quickly. To other functional interfaces, it can bring some convenience to users.
优选地,在步骤S3中还包括:Preferably, in step S3, the method further includes:
S31:监测对显示界面的滑动操作;可以在含有可滑动列表界面注册OnMoveListener,其为用于监听界面上下滑动的滑动事件监听函数。S31: Monitor the sliding operation on the display interface; the OnMoveListener may be registered in the slidable list interface, which is a sliding event listening function for sliding the monitoring interface up and down.
S32:获取滑动操作对应的起始位置坐标和终止位置坐标,可以理解,此处所说的位置坐标是指与静态标签栏1垂直的方向坐标。以图3为例,静态标签栏1设置于显示界面的最底端,与它垂直的方向是向上或者向下,如果平行于静态标签栏1的方向为X方向,那么向上或者向下的方向即为Y方向。那么能够用来得到滑动方向的起始位置坐标和终止位置坐标是指起始位置和终止位置的Y坐标。S32: Obtain the starting position coordinate and the ending position coordinate corresponding to the sliding operation. It can be understood that the position coordinate referred to herein refers to the direction coordinate perpendicular to the static label column 1. Taking FIG. 3 as an example, the static tab bar 1 is disposed at the bottom end of the display interface, and the direction perpendicular thereto is upward or downward. If the direction parallel to the static tab bar 1 is the X direction, then the direction is upward or downward. That is the Y direction. Then the starting position coordinates and the ending position coordinates that can be used to obtain the sliding direction refer to the Y coordinates of the starting position and the ending position.
S313:根据所述起始位置坐标和所述终止位置坐标判断滑动方向。S313: Determine a sliding direction according to the starting position coordinate and the ending position coordinate.
S314:根据所述滑动方向得到显示界面的移动方向。S314: Obtain a moving direction of the display interface according to the sliding direction.
此时有以下三种情况:There are three situations at this time:
1.当newY–oldY>downThreshold时,就是说当新的Y轴坐标减去旧的Y轴坐标的差值大于第一预设值时,判定为向下滑动。1. When newY–oldY>downThreshold, it means that when the difference between the new Y-axis coordinate minus the old Y-axis coordinate is greater than the first preset value, it is determined to slide downward.
2.当oldY–newY>upThreshold时,就是说当新的Y轴坐标减去旧的Y轴坐标的差值大于第预设值时,判定为向上滑动。2. When oldY–newY>upThreshold, it means that when the difference between the new Y-axis coordinate minus the old Y-axis coordinate is greater than the preset value, it is determined to slide upward.
3.当(oldY–newY)的绝对值小于预设阈值时,忽略处理,以避免当用户只是略微触碰了界面,不是一个强烈向上,向下的意愿时对静态标签栏1的频繁显隐,对用户造成困扰。3. When the absolute value of (oldY–newY) is less than the preset threshold, the processing is ignored to avoid frequent display of the static tab bar 1 when the user only touches the interface slightly, not a strong upward and downward will. , causing trouble to users.
以上的第一预设值和第二预设值,可以是同一个值,可以根据实际情况进行设定。预设阈值也可以和第一预设值和第二预设值相同,或者小于他们,都可以根据实际情况选择。本实施例中选择所述预设阈值为10-20像素的距离,更为优选的可以选择所述预设阈值为15像素的距离,也可以选择10像素的距离、18像素的距离、20像素的距离等。The first preset value and the second preset value may be the same value, and may be set according to actual conditions. The preset threshold may also be the same as the first preset value and the second preset value, or may be smaller than them, and may be selected according to actual conditions. In this embodiment, the preset threshold is selected as a distance of 10-20 pixels. More preferably, the preset threshold may be selected as a distance of 15 pixels, or a distance of 10 pixels, a distance of 18 pixels, and 20 pixels may be selected. The distance and so on.
实施例2Example 2
本实施例提供一种增加有效内容显示区域的装置,如图5所示,包括: The embodiment provides an apparatus for increasing the effective content display area. As shown in FIG. 5, the method includes:
第一判断单元1,用于判断显示界面上是否显示有静态标签栏1。The first determining unit 1 is configured to determine whether the static tab bar 1 is displayed on the display interface.
位置获取单元2,用于在所述第一判断单元1的判断结果为是时,则获取所述静态标签栏1在所述显示界面中的位置;般情况下,静态标签栏1会在显示界面的最下端,如图3所示的情况。不过这并不是唯一的设置方式,在实际应用时,根据终端屏幕的大小,操作按键或者触摸方式的设置等,静态标签栏1的位置可能会发生变化,不论静态标签栏1的位置如何,都不影响本方案的实施。The location obtaining unit 2 is configured to acquire the position of the static tab bar 1 in the display interface when the determination result of the first judging unit 1 is YES; in general, the static tab bar 1 is displayed. The bottom of the interface, as shown in Figure 3. However, this is not the only way to set it up. In actual application, depending on the size of the terminal screen, the operation buttons or the touch mode settings, the position of the static tab bar 1 may change regardless of the position of the static tab bar 1 Does not affect the implementation of this program.
移动方向获取单元3,用于获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;随着科技的进步,现有的终端基本上都是采用触摸屏,这时对显示界面进行操作时,都是通过手指在触摸屏上进行出滑动或者点击。但是也有一些用户终端,在对显示界面进行操作时,可能还需要依靠设置于终端上的一些按键实现。无论哪种实现方式,现有技术中都能够准确的解析用户的操作请求,并根据操作请求使显示界面进行相应的操作。The moving direction acquiring unit 3 is configured to acquire an operation request for the display interface, and obtain a moving direction of the display interface according to the operation request; with the advancement of the technology, the existing terminal basically adopts a touch screen, and then the display is When the interface is operated, it is swiped or clicked on the touch screen by fingers. However, there are also some user terminals that may need to rely on some buttons set on the terminal when operating the display interface. Regardless of the implementation manner, in the prior art, the user's operation request can be accurately parsed, and the display interface is correspondingly operated according to the operation request.
第二判断单元4,用于判断所述显示界面的移动方向是否与所述静态标签栏1所在位置相反。如图3所示。例如,静态标签栏1在显示界面的最下端,那么当希望显示界面向上移动时,即显示界面的移动方向与静态标签栏1所在位置相反,此时用户是希望看到静态标签栏1下方的信息的,此时隐藏静态标签栏1,如图,当静态标签栏1被隐藏后,原本被静态标签栏1遮挡的图片就可以被看到了。即用户能够看到更多的想看的信息,增加了有效内容的显示区域,提高了显示界面的利用率。具体实现时,可以通过在该显示界设计ChangeVisible接口,以改变静态标签栏1所在位置的显示状态。The second determining unit 4 is configured to determine whether the moving direction of the display interface is opposite to the location of the static tab bar 1. As shown in Figure 3. For example, if the static tab bar 1 is at the bottom end of the display interface, then when the display interface is desired to move upward, that is, the moving direction of the display interface is opposite to the position of the static tab bar 1 at this time, the user wants to see the static tab bar 1 below. For information, the static tab bar 1 is hidden at this time. As shown in the figure, when the static tab bar 1 is hidden, the image originally blocked by the static tab bar 1 can be seen. That is, the user can see more information that he wants to see, increases the display area of the effective content, and improves the utilization of the display interface. In the specific implementation, the display state of the static tab bar 1 can be changed by designing a ChangeVisible interface in the display boundary.
标签栏操作单元5,用于所述第二判断4的判断结果为是时,隐藏所述静态标签栏1。以图3为例,此时如果用户执行的是向下滑动的操作的话,那么希望显示界面向下移动,用户想看到的是上面的图片,那么静态标签栏1是否遮挡并不影响用户看上面的内容,所以可以不用对静态标签栏1进行处理,保持原先的状态即可。The tab bar operation unit 5 hides the static tab bar 1 when the determination result of the second judgment 4 is YES. Taking FIG. 3 as an example, if the user performs a downward sliding operation, then the display interface is desired to move downward, and the user wants to see the above picture, then whether the static label column 1 is blocked does not affect the user. The above content, so you can not process the static tab bar 1 and keep the original state.
优选地,如图6所示,增加有效内容显示区域的装置还包括第三判断单元6,用于判断所述显示界面的移动方向是否与所述静态标签栏1所在位置相同;所述标签栏操作单元5,还用于在所述第三判断单元6的判断结果为是时,显示所述静态标签栏1。如前所述,此时用户希望看到的内容与静态标签栏1是否遮挡并没有关系时,那么可以令静态标签栏1显示出来,因为静态标签栏1上显示的标签可以使用户快速的切换到其他功能界面, 能够给用户带来一些便利。Preferably, as shown in FIG. 6, the apparatus for increasing the effective content display area further includes a third determining unit 6 configured to determine whether the moving direction of the display interface is the same as the position of the static tab bar 1; The operation unit 5 is further configured to display the static tab bar 1 when the determination result of the third determining unit 6 is YES. As mentioned above, when the content that the user wants to see is not related to whether the static tab bar 1 is occluded, the static tab bar 1 can be displayed, because the tab displayed on the static tab bar 1 can make the user switch quickly. Go to other function interfaces, Can bring some convenience to the user.
进一步优选地,所述移动方向获取单元3中包括:Further preferably, the moving direction acquiring unit 3 includes:
监测子单元31,用于监测对显示界面的滑动操作;可以在含有可滑动列表界面注册OnMoveListener,其为用于监听界面上下滑动的滑动事件监听函数。The monitoring sub-unit 31 is configured to monitor a sliding operation on the display interface; the OnMoveListener may be registered in the slidable list interface, which is a sliding event listening function for sliding the monitoring interface up and down.
位置获取子单元32,用于获取滑动操作对应的起始位置坐标和终止位置坐标;可以理解,此处所说的位置坐标是指与静态标签栏1垂直的方向坐标。以图3为例,静态标签栏1设置于显示界面的最底端,与它垂直的方向是向上或者向下,如果平行于静态标签栏1的方向为X方向,那么向上或者向下的方向即为Y方向。那么能够用来得到滑动方向的起始位置坐标和终止位置坐标是指起始位置和终止位置的Y坐标。The position obtaining sub-unit 32 is configured to acquire the starting position coordinates and the ending position coordinates corresponding to the sliding operation; it can be understood that the position coordinates referred to herein refer to the direction coordinates perpendicular to the static label column 1. Taking FIG. 3 as an example, the static tab bar 1 is disposed at the bottom end of the display interface, and the direction perpendicular thereto is upward or downward. If the direction parallel to the static tab bar 1 is the X direction, then the direction is upward or downward. That is the Y direction. Then the starting position coordinates and the ending position coordinates that can be used to obtain the sliding direction refer to the Y coordinates of the starting position and the ending position.
滑动方向获取子单元33,用于根据所述起始位置坐标和所述终止位置坐标判断滑动方向;a sliding direction obtaining sub-unit 33, configured to determine a sliding direction according to the starting position coordinate and the ending position coordinate;
移动方向获取子单元34,根据所述滑动方向得到显示界面的移动方向。进一步地,所述滑动方向获取子单元33中包括:The moving direction acquisition sub-unit 34 obtains the moving direction of the display interface according to the sliding direction. Further, the sliding direction acquiring subunit 33 includes:
差值获取模块331,用于获取所述起始位置坐标和所述终止位置坐标的差值;a difference obtaining module 331, configured to acquire a difference between the start position coordinate and the end position coordinate;
判断模块332,用于判断所述差值的绝对值是否小于或等于所述预设阈值;The determining module 332 is configured to determine whether an absolute value of the difference is less than or equal to the preset threshold;
处理模块333,用于在所述判断模块332的判断结果为是时,忽略该操作;在所述判断模块332的判断结果为否时,根据所述差值判断滑动方向。The processing module 333 is configured to ignore the operation when the determination result of the determination module 332 is YES, and determine the sliding direction according to the difference when the determination result of the determination module 332 is negative.
就是说有以下三种情况:That is to say, there are three situations:
1.当newY–oldY>downThreshold时,就是说当新的Y轴坐标减去旧的Y轴坐标的差值大于第一预设值时,判定为向下滑动。1. When newY–oldY>downThreshold, it means that when the difference between the new Y-axis coordinate minus the old Y-axis coordinate is greater than the first preset value, it is determined to slide downward.
2.当oldY–newY>upThreshold时,就是说当新的Y轴坐标减去旧的Y轴坐标的差值大于第预设值时,判定为向上滑动。2. When oldY–newY>upThreshold, it means that when the difference between the new Y-axis coordinate minus the old Y-axis coordinate is greater than the preset value, it is determined to slide upward.
3.当(oldY–newY)的绝对值小于预设阈值时,忽略处理,以避免当用户只是略微触碰了界面,不是一个强烈向上,向下的意愿时对静态标签栏1的频繁显隐,对用户造成困扰。3. When the absolute value of (oldY–newY) is less than the preset threshold, the processing is ignored to avoid frequent display of the static tab bar 1 when the user only touches the interface slightly, not a strong upward and downward will. , causing trouble to users.
以上的第一预设值和第二预设值,可以是同一个值,可以根据实际情况进行设定。预设阈值也可以和第一预设值和第二预设值相同,或者小于 他们,都可以根据实际情况选择。本实施例中选择所述预设阈值为10-20像素的距离,更为优选的可以选择所述预设阈值为15像素的距离,也可以选择10像素的距离、18像素的距离、20像素的距离等。The first preset value and the second preset value may be the same value, and may be set according to actual conditions. The preset threshold may also be the same as the first preset value and the second preset value, or may be smaller than They can all choose according to the actual situation. In this embodiment, the preset threshold is selected as a distance of 10-20 pixels. More preferably, the preset threshold may be selected as a distance of 15 pixels, or a distance of 10 pixels, a distance of 18 pixels, and 20 pixels may be selected. The distance and so on.
实施例3Example 3
本实施例提供一种用户终端,其包括实施例2所述的增加有效内容显示区域的装置。其可以是设置于用户终端中的一个功能模块,或者是内嵌于APP中的一个小单元,当APP显示界面打开后,即可启动相应的功能模块或单元,对显示界面的利用率进行优化提高。The embodiment provides a user terminal, which includes the apparatus for increasing the effective content display area described in Embodiment 2. It can be a function module set in the user terminal, or a small unit embedded in the APP. When the APP display interface is opened, the corresponding function module or unit can be activated to optimize the utilization of the display interface. improve.
实施例4Example 4
如图7所示,本发明的实施例还提供一种增加有效内容显示区域的装置,包括:As shown in FIG. 7, an embodiment of the present invention further provides an apparatus for increasing an effective content display area, including:
处理器(processor)41、存储器(memory)42、通信接口(Communications Interface)43和总线44;其中,a processor 41, a memory 42, a communication interface 43 and a bus 44;
所述处理器41、存储器42、通信接口43通过所述总线44完成相互间的通信;The processor 41, the memory 42, and the communication interface 43 complete communication with each other through the bus 44;
所述通信接口43用于处理装置和显示设备之间的信息传输;The communication interface 43 is configured to transmit information between the processing device and the display device;
所述处理器41用于调用所述存储器中的逻辑指令,以执行如下方法;The processor 41 is configured to invoke logic instructions in the memory to perform the following method;
判断显示界面上是否显示有静态标签栏;Determine whether a static tab bar is displayed on the display interface;
若有,则获取所述静态标签栏在所述显示界面中的位置;If yes, obtaining a location of the static tab bar in the display interface;
获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;Acquiring an operation request for the display interface, and acquiring a moving direction of the display interface according to the operation request;
判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;Determining whether a moving direction of the display interface is opposite to a position of the static tab bar;
若是,则隐藏所述静态标签栏。If so, the static tab bar is hidden.
实施例5:Example 5:
本发明的实施例还提供了一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:Embodiments of the present invention also provide a computer program comprising program code for performing the following operations:
判断显示界面上是否显示有静态标签栏; Determine whether a static tab bar is displayed on the display interface;
若有,则获取所述静态标签栏在所述显示界面中的位置;If yes, obtaining a location of the static tab bar in the display interface;
获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;Acquiring an operation request for the display interface, and acquiring a moving direction of the display interface according to the operation request;
判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;Determining whether a moving direction of the display interface is opposite to a position of the static tab bar;
若是,则隐藏所述静态标签栏。If so, the static tab bar is hidden.
实施例6Example 6
本发明的实施例还提供了一种存储介质,用于存储上述的计算机程序。Embodiments of the present invention also provide a storage medium for storing the above computer program.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。 It is apparent that the above-described embodiments are merely illustrative of the examples, and are not intended to limit the embodiments. Other variations or modifications of the various forms may be made by those skilled in the art in light of the above description. There is no need and no way to exhaust all of the implementations. Obvious changes or variations resulting therefrom are still within the scope of the invention.

Claims (14)

  1. 一种增加有效内容显示区域的方法,其特征在于,包括如下步骤:A method for increasing an effective content display area, comprising the steps of:
    判断显示界面上是否显示有静态标签栏;Determine whether a static tab bar is displayed on the display interface;
    若有,则获取所述静态标签栏在所述显示界面中的位置;If yes, obtaining a location of the static tab bar in the display interface;
    获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;Acquiring an operation request for the display interface, and acquiring a moving direction of the display interface according to the operation request;
    判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;Determining whether a moving direction of the display interface is opposite to a position of the static tab bar;
    若是,则隐藏所述静态标签栏。If so, the static tab bar is hidden.
  2. 根据权利要求1所述的增加有效内容显示区域的方法,其特征在于,还包括如下步骤:The method for increasing an effective content display area according to claim 1, further comprising the steps of:
    判断所述显示界面的移动方向是否与所述静态标签栏所在位置相同;Determining whether the moving direction of the display interface is the same as the position of the static tab bar;
    若是,则显示所述静态标签栏。If yes, the static tab bar is displayed.
  3. 根据权利要求1或2所述的增加有效内容显示区域的方法,其特征在于,获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向的步骤包括:The method for adding an effective content display area according to claim 1 or 2, wherein the step of acquiring an operation request for the display interface and obtaining the moving direction of the display interface according to the operation request comprises:
    监测对显示界面的滑动操作;Monitoring the sliding operation of the display interface;
    获取滑动操作对应的起始位置坐标和终止位置坐标;Obtaining a starting position coordinate and a ending position coordinate corresponding to the sliding operation;
    根据所述起始位置坐标和所述终止位置坐标判断滑动方向;Determining a sliding direction according to the starting position coordinate and the ending position coordinate;
    根据所述滑动方向得到显示界面的移动方向。The moving direction of the display interface is obtained according to the sliding direction.
  4. 根据权利要求3所述的增加有效内容显示区域的方法,其特征在于,根据所述起始位置坐标和所述终止位置坐标判断滑动方向的步骤中包括:The method for increasing the effective content display area according to claim 3, wherein the step of determining the sliding direction according to the start position coordinate and the end position coordinate comprises:
    获取所述起始位置坐标和所述终止位置坐标的差值;Obtaining a difference between the starting position coordinate and the ending position coordinate;
    判断所述差值的绝对值是否小于或等于所述预设阈值;Determining whether an absolute value of the difference is less than or equal to the preset threshold;
    若是,则忽略该操作; If yes, ignore the operation;
    否则,根据所述差值判断滑动方向。Otherwise, the sliding direction is judged based on the difference.
  5. 根据权利要求4所述的增加有效内容显示区域的方法,其特征在于,判断所述差值的绝对值是否小于或等于所述预设阈值的步骤中:The method of claim 4, wherein the step of determining whether the absolute value of the difference is less than or equal to the preset threshold is:
    所述预设阈值为10-20像素的距离。The preset threshold is a distance of 10-20 pixels.
  6. 一种增加有效内容显示区域的装置,其特征在于,包括:An apparatus for increasing an effective content display area, comprising:
    第一判断单元,用于判断显示界面上是否显示有静态标签栏;a first determining unit, configured to determine whether a static tab bar is displayed on the display interface;
    位置获取单元,用于在所述第一判断单元的判断结果为是时,则获取所述静态标签栏在所述显示界面中的位置;a location obtaining unit, configured to acquire a location of the static tab bar in the display interface when the determination result of the first determining unit is YES;
    移动方向获取单元,用于获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;a moving direction acquiring unit, configured to acquire an operation request for the display interface, and obtain a moving direction of the display interface according to the operation request;
    第二判断单元,用于判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;a second determining unit, configured to determine whether a moving direction of the display interface is opposite to a location of the static tab bar;
    标签栏操作单元,用于所述第二判断的判断结果为是时,隐藏所述静态标签栏。The tab bar operation unit is configured to hide the static tab bar when the judgment result of the second judgment is YES.
  7. 根据权利要求6所述的增加有效内容显示区域的装置,其特征在于,还包括:The device of claim 6, further comprising:
    第三判断单元,用于判断所述显示界面的移动方向是否与所述静态标签栏所在位置相同;a third determining unit, configured to determine whether a moving direction of the display interface is the same as a location of the static tab bar;
    所述标签栏操作单元,还用于在所述第三判断单元的判断结果为是时,显示所述静态标签栏。The tab bar operation unit is further configured to display the static tab bar when the determination result of the third judging unit is YES.
  8. 根据权利要求6或7所述的增加有效内容显示区域的装置,其特征在于,所述移动方向获取单元中包括:The device for adding an effective content display area according to claim 6 or 7, wherein the moving direction acquiring unit comprises:
    监测子单元,用于监测对显示界面的滑动操作;a monitoring subunit for monitoring a sliding operation on the display interface;
    位置获取子单元,用于获取滑动操作对应的起始位置坐标和终止位置坐标; a position obtaining subunit, configured to acquire a starting position coordinate and a ending position coordinate corresponding to the sliding operation;
    滑动方向获取子单元,用于根据所述起始位置坐标和所述终止位置坐标判断滑动方向;a sliding direction acquiring subunit, configured to determine a sliding direction according to the starting position coordinate and the ending position coordinate;
    移动方向获取子单元,根据所述滑动方向得到显示界面的移动方向。The moving direction acquires the subunit, and the moving direction of the display interface is obtained according to the sliding direction.
  9. 根据权利要求3所述的增加有效内容显示区域的装置,其特征在于,所述滑动方向获取子单元中包括:The device for adding an effective content display area according to claim 3, wherein the sliding direction acquisition subunit comprises:
    差值获取模块,用于获取所述起始位置坐标和所述终止位置坐标的差值;a difference obtaining module, configured to acquire a difference between the coordinates of the starting position and the coordinates of the ending position;
    判断模块,用于判断所述差值的绝对值是否小于或等于所述预设阈值;a determining module, configured to determine whether an absolute value of the difference is less than or equal to the preset threshold;
    处理模块,用于在所述判断模块的判断结果为是时,忽略该操作;在所述判断模块的判断结果为否时,根据所述差值判断滑动方向。The processing module is configured to ignore the operation when the determination result of the determination module is YES, and determine the sliding direction according to the difference when the determination result of the determination module is negative.
  10. 根据权利要求4所述的增加有效内容显示区域的装置,其特征在于:The apparatus for increasing an effective content display area according to claim 4, wherein:
    所述判断模块中,所述预设阈值为10-20像素的距离。In the determining module, the preset threshold is a distance of 10-20 pixels.
  11. 一种增加有效内容显示区域的用户终端,其特征在于,包括权利要求6-10任一项所述的增加有效内容显示区域的装置。A user terminal for increasing an effective content display area, comprising the apparatus for increasing an effective content display area according to any one of claims 6-10.
  12. 一种增加有效内容显示区域的装置,其特征在于,包括:An apparatus for increasing an effective content display area, comprising:
    处理器、存储器、通信接口和总线;其中,a processor, a memory, a communication interface, and a bus; wherein
    所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface complete communication with each other through the bus;
    所述通信接口用于处理装置和显示设备之间的信息传输;The communication interface is used for information transmission between a processing device and a display device;
    所述处理器用于调用所述存储器中的逻辑指令,以执行如下方法;The processor is configured to invoke logic instructions in the memory to perform the following method;
    判断显示界面上是否显示有静态标签栏;Determine whether a static tab bar is displayed on the display interface;
    若有,则获取所述静态标签栏在所述显示界面中的位置;If yes, obtaining a location of the static tab bar in the display interface;
    获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;Acquiring an operation request for the display interface, and acquiring a moving direction of the display interface according to the operation request;
    判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;Determining whether a moving direction of the display interface is opposite to a position of the static tab bar;
    若是,则隐藏所述静态标签栏。 If so, the static tab bar is hidden.
  13. 一种计算机程序,其特征在于,包括程序代码,所述程序代码用于执行如下操作:A computer program comprising program code for performing the following operations:
    判断显示界面上是否显示有静态标签栏;Determine whether a static tab bar is displayed on the display interface;
    若有,则获取所述静态标签栏在所述显示界面中的位置;If yes, obtaining a location of the static tab bar in the display interface;
    获取对显示界面的操作请求,并根据所述操作请求获取显示界面的移动方向;Acquiring an operation request for the display interface, and acquiring a moving direction of the display interface according to the operation request;
    判断所述显示界面的移动方向是否与所述静态标签栏所在位置相反;Determining whether a moving direction of the display interface is opposite to a position of the static tab bar;
    若是,则隐藏所述静态标签栏。If so, the static tab bar is hidden.
  14. 一种存储介质,其特征在于,用于存储上述权利要求13所述的计算机程序。 A storage medium characterized by storing the computer program of claim 13 above.
PCT/CN2016/096999 2016-02-01 2016-08-26 Method and apparatus for increasing valid content display area, and user terminal WO2017133228A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610069536.8A CN105843487A (en) 2016-02-01 2016-02-01 Method, apparatus, and user terminal for adding valid content display area
CN2016100695368 2016-02-01

Publications (1)

Publication Number Publication Date
WO2017133228A1 true WO2017133228A1 (en) 2017-08-10

Family

ID=56586825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096999 WO2017133228A1 (en) 2016-02-01 2016-08-26 Method and apparatus for increasing valid content display area, and user terminal

Country Status (2)

Country Link
CN (1) CN105843487A (en)
WO (1) WO2017133228A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821151A (en) * 2018-05-10 2021-12-21 聚好看科技股份有限公司 Page rolling control method and playing terminal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843487A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method, apparatus, and user terminal for adding valid content display area
CN109308154B (en) * 2018-08-17 2021-07-06 中兴通讯股份有限公司 Content display method and device and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100231612A1 (en) * 2009-03-16 2010-09-16 Imran Chaudhri Smart Keyboard Management for a Multifunction Device with a Touch Screen Display
CN103186343A (en) * 2011-12-29 2013-07-03 苹果公司 Device, method, and graphical user interface for resizing content viewing and text entry interfaces
CN105426086A (en) * 2015-12-23 2016-03-23 小米科技有限责任公司 Display processing method and device of searching functional block in page
CN105843487A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method, apparatus, and user terminal for adding valid content display area

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376977B (en) * 2012-04-23 2016-07-06 腾讯科技(深圳)有限公司 The display packing of browser and display device
CN103593116B (en) * 2012-08-15 2018-10-19 腾讯科技(深圳)有限公司 The display of portable terminal toolbar and control method and its device
CN103218137B (en) * 2013-04-27 2016-03-09 广东欧珀移动通信有限公司 Automatically method and the device of control is adjusted according to user operation
CN104238896B (en) * 2013-06-18 2019-05-28 腾讯科技(深圳)有限公司 The display methods and device of function menu

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100231612A1 (en) * 2009-03-16 2010-09-16 Imran Chaudhri Smart Keyboard Management for a Multifunction Device with a Touch Screen Display
CN103186343A (en) * 2011-12-29 2013-07-03 苹果公司 Device, method, and graphical user interface for resizing content viewing and text entry interfaces
CN105426086A (en) * 2015-12-23 2016-03-23 小米科技有限责任公司 Display processing method and device of searching functional block in page
CN105843487A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Method, apparatus, and user terminal for adding valid content display area

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821151A (en) * 2018-05-10 2021-12-21 聚好看科技股份有限公司 Page rolling control method and playing terminal
CN113821151B (en) * 2018-05-10 2023-09-22 聚好看科技股份有限公司 Page scrolling control method and playing terminal

Also Published As

Publication number Publication date
CN105843487A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
US9400590B2 (en) Method and electronic device for displaying a virtual button
TWI617953B (en) Multi-task switching method, system and electronic device for touching interface
EP2732364B1 (en) Method and apparatus for controlling content using graphical object
CN108958685B (en) Method for connecting mobile terminal and external display and apparatus for implementing the same
US20140078091A1 (en) Terminal Device and Method for Quickly Starting Program
CN105373326B (en) Data processing system and method
EP2560086B1 (en) Method and apparatus for navigating content on screen using pointing device
EP3416035B1 (en) Apparatus and method of displaying windows
US20150143285A1 (en) Method for Controlling Position of Floating Window and Terminal
WO2017032005A1 (en) Operation menu display method and terminal
US9256359B2 (en) Touch control method and electronic device using the same
TW201327355A (en) System and method for managing icons of a home screen of an electronic device
US10019148B2 (en) Method and apparatus for controlling virtual screen
US20150077358A1 (en) Electronic device and method of controlling the same
US9823773B2 (en) Handheld device and method for implementing input area position adjustment on handheld device
US9377944B2 (en) Information processing device, information processing method, and information processing program
TW201626204A (en) Touch control photography method and touch terminal thereof
WO2019119799A1 (en) Method for displaying application icon, and terminal device
US9830056B1 (en) Indicating relationships between windows on a computing device
WO2017133228A1 (en) Method and apparatus for increasing valid content display area, and user terminal
US20140359410A1 (en) Method and apparatus for gesture-based data processing
WO2016173307A1 (en) Message copying method and device, and smart terminal
US20170269775A1 (en) Touch control operation
US20200019366A1 (en) Data Processing Method and Mobile Device
WO2014034369A1 (en) Display control device, thin-client system, display control method, and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16889040

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16889040

Country of ref document: EP

Kind code of ref document: A1