WO2020147411A1 - Method, device and apparatus for page switching control and storage medium - Google Patents

Method, device and apparatus for page switching control and storage medium Download PDF

Info

Publication number
WO2020147411A1
WO2020147411A1 PCT/CN2019/118605 CN2019118605W WO2020147411A1 WO 2020147411 A1 WO2020147411 A1 WO 2020147411A1 CN 2019118605 W CN2019118605 W CN 2019118605W WO 2020147411 A1 WO2020147411 A1 WO 2020147411A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
display area
label
operation instruction
display
Prior art date
Application number
PCT/CN2019/118605
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 WO2020147411A1 publication Critical patent/WO2020147411A1/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
    • 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/0485Scrolling or panning

Definitions

  • This application relates mainly to the field of communication technology, and specifically to a method, device, device, and computer-readable storage medium for controlling page switching.
  • TAB page (or label tab) is a commonly used interactive interface application form.
  • tags are usually displayed in a matrix arrangement. In the switching process, switch in sequence according to the order in which the user starts. Using the above method to switch pages, when there are multiple similar tags, it is impossible to switch to the target page intuitively and quickly.
  • the main purpose of this application is to provide a page switching control method, device, device, and computer-readable storage medium, aiming to solve the problem of intuitive and fast switching to the target page in the TAB switching process in the prior art.
  • the page switching control method includes the following steps:
  • the TAB page When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
  • the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
  • the step of displaying the TAB page further includes:
  • adjusting the display mode of the subtags according to the number of the subtags is to display the number of the subtags corresponding to the reference value and hide the other subtags according to the arrangement sequence.
  • adjusting the display mode of the sub-labels according to the number of the sub-labels is to adjust the width of the sub-labels to a second reference width; the first reference width is greater than the second reference width.
  • the step of placing the sub-display area corresponding to the stop position of the operation instruction on top of the display, and highlighting the corresponding sub-label in the label display area further includes:
  • the sub-display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and will be displayed in the same way as the top display.
  • the sub-label corresponding to the sub-display area is highlighted in the label display area;
  • the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance
  • the sub-display area corresponding to the position where the sliding operation is stopped is displayed on the top of the content display area, and the sub-label corresponding to the sub-display area displayed on the top is higher in the label display area. Bright display.
  • the step of displaying the TAB page further includes:
  • the sub-label corresponding to the stop position of the operation instruction is highlighted, and the corresponding sub-display area is displayed on top.
  • the step of highlighting the sub-tag corresponding to the stop position of the operation instruction and displaying the corresponding sub-display area on top further includes:
  • the sub-label corresponding to the position where the operation instruction is generated is highlighted in the label display area, and will be highlighted
  • the sub-display area corresponding to the sub-tab has a built-in top display in the content display area;
  • the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance
  • this application also proposes a page switching control device, the page switching control device includes:
  • the acquisition module is used to display a TAB page when the terminal device executes a page switching instruction;
  • the TAB page includes a label display area and a content display area;
  • the label display area includes a plurality of sub-tabs, and the plurality of sub-tabs have One highlighted sub-tab;
  • the content display area includes multiple sub-display areas;
  • the detection module is used to detect whether the operation instruction is generated in the content display area when the operation instruction is detected;
  • the detection module displays the sub-display area corresponding to the stop position of the operation instruction on top, and displays the corresponding sub-label in the label The area is highlighted.
  • the terminal device includes a processor and a memory.
  • the processor is configured to execute the computer-readable instructions stored in the memory to implement the following steps:
  • the TAB page When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
  • the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
  • this application also proposes a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one computer-readable instruction, and the at least one computer-readable When the instruction is executed by the processor, the following steps are implemented:
  • the TAB page When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
  • the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
  • the TAB page has a content display area, and the sub-tabs corresponding to the label display area are adjusted together according to the switching operation in the content display area, which avoids blind switching during the TAB switching process and realizes the terminal device operation experience Optimization.
  • Figure 1 is a schematic flow chart of a method for controlling page switching of this application.
  • FIG. 2 is a schematic diagram of the detailed flow of step S11 in FIG. 1.
  • Fig. 3 is a detailed flowchart of step S13 in Fig. 1.
  • Fig. 4 is a detailed flowchart of step S15 in Fig. 1.
  • FIG. 5 is a functional block diagram of the page switching control device of this application.
  • FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the application.
  • FIG. 1 is a flowchart of a method for controlling page switching of this application. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the page switching control method is applied to at least one terminal device.
  • the terminal device establishes a communication connection with the server through the network. Multiple application programs can be executed in the terminal device. Each of the application programs has a corresponding working interface.
  • the terminal device has a display screen. The display screen is used to display a working interface corresponding to each application program.
  • the terminal device and the server perform data transmission according to a preset protocol.
  • the preset protocol includes, but is not limited to, any of the following: HTTP protocol (Hyper Text Transfer Protocol, Hypertext Transfer Protocol), HTTPS protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTP with security as the goal) Agreement) etc.
  • the server may be a single server or a server group composed of several functional servers.
  • the terminal device may be any terminal with a network connection function.
  • the terminal device may be a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television ( Internet Protocol Television (IPTV), smart wearable devices, navigation devices and other mobile devices, or desktop computers, digital TVs and other fixed devices.
  • the terminal device system has at least one data storage 102 (as shown in FIG. 6).
  • the memory 102 may be a non-volatile readable storage medium, such as a flash memory, a hard disk, a multimedia card, an SD memory, a static random access memory (ROM), a magnetic disk, an optical disk, and other non-volatile storage media.
  • a non-volatile readable storage medium such as a flash memory, a hard disk, a multimedia card, an SD memory, a static random access memory (ROM), a magnetic disk, an optical disk, and other non-volatile storage media.
  • the TAB page may be a corresponding interactive interface for switching between multiple applications, or a work interface corresponding to a designated application.
  • the TAB page generally includes a label display area and a content display area.
  • the label display area and the content display area are displayed in parallel on the display screen of the terminal device in a two-line manner. In other embodiments, the label display area and the content display area may also be displayed in parallel on the display screen of the terminal device in two columns.
  • the label display area is used to display the name of the application program or the label name.
  • the label display area may further include a plurality of sub-labels. Each of the sub-labels corresponds to a label name and corresponds to a display content.
  • a plurality of said sub-tags are arranged in a row with a certain distance apart. There is only one highlighted sub-label in the label display area. In at least one embodiment of the present application, the number of the sub-tags is a predetermined value.
  • the content display area is used to display a plurality of sub-display areas. Each of the sub-display areas corresponds to one sub-label, and is used to display the display content of the corresponding sub-label.
  • the plurality of sub-display areas are stacked in a partially stacked manner, and the sub-display area corresponding to the highlighted sub-tag is located on the top layer.
  • the sub-display area located on the top layer may be displayed with a predetermined transparency, so that other sub-display areas located under the top layer are partially displayed through the sub-display area located on the top layer in a predetermined order.
  • the corresponding content in each sub-display area can be set according to user's customization, or it can be the default content in the terminal device.
  • the step of displaying the TAB page further includes:
  • the adjusting the display mode of the sub-tags according to the number of the sub-tags is to display the number of the sub-tags corresponding to the reference value according to the arrangement sequence and hide the other sub-tags. label.
  • the adjustment of the display mode of the subtags according to the number of the subtags is to adjust the width of the subtags to a second reference width.
  • the first reference width is greater than the second reference width.
  • the user may perform operations in the label display area, and may also perform operations in the content display area.
  • the sub-display area corresponding to the stop position of the operation instruction is placed on top for display, and the corresponding sub-label is placed on the label.
  • the step of highlighting in the display area further includes:
  • the operation instruction is a click operation
  • the sub display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and the sub display area corresponding to the top display is displayed.
  • the sub-label is highlighted in the label display area;
  • the click operation may be a single click or a double click.
  • the step of highlighting the sub-tag corresponding to the stop position of the operation instruction and displaying the corresponding sub-display area on top is further include:
  • the operation instruction is a click operation in the label display area
  • the sub-display area corresponding to the highlighted sub-tab has a built-in top display in the content display area;
  • the click operation may be a single click or a double click.
  • the content of the tab page can be displayed during the TAB switching process, and the displayed tab page content is updated during the switching process, which avoids blind switching during the TAB switching process and realizes the optimization of the terminal device operating experience.
  • the present application provides a page switching control device 1 applied to at least one terminal device.
  • the terminal device establishes a communication connection with the server through the network.
  • Multiple application programs can be executed in the terminal device.
  • Each of the application programs has a corresponding working interface.
  • the terminal device has a display screen. The display screen is used to display a working interface corresponding to each application program.
  • the page switching control method is applied to a video system composed of at least one terminal device and a server.
  • the server and the terminal device are connected through network communication.
  • data transmission is performed between the terminal device and the server according to a preset protocol.
  • the preset protocol includes, but is not limited to, any of the following: HTTP protocol (Hyper Text Transfer Protocol, Hypertext Transfer Protocol), HTTPS protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTP with security as the goal) Agreement) etc.
  • the server may be a single server or a server group composed of several functional servers.
  • the terminal device may be any terminal with a network connection function.
  • the terminal device may be a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television ( Internet Protocol Television (IPTV), smart wearable devices, navigation devices and other mobile devices, or desktop computers, digital TVs and other fixed devices.
  • the terminal device system has at least one data storage 102.
  • the memory 102 may be a readable storage medium, such as a nonvolatile storage medium such as flash memory, hard disk, multimedia card, SD memory, static random access memory (ROM), magnetic disk, and optical disk.
  • the page switching control device 1 includes:
  • the obtaining module 10 is used for displaying the TAB page when the terminal device executes the page switching instruction.
  • the TAB page may be a corresponding interactive interface for switching between multiple applications, or may be a work interface corresponding to a designated application.
  • the TAB page generally includes a label display area and a content display area.
  • the label display area and the content display area are displayed in parallel on the display screen of the terminal device in a two-line manner. In other embodiments, the label display area and the content display area may also be displayed in parallel on the display screen of the terminal device in two columns.
  • the label display area is used to display the name of the application program or the label name.
  • the label display area may further include a plurality of sub-labels. Each of the sub-labels corresponds to a label name and corresponds to a display content.
  • a plurality of said sub-tags are arranged in a row with a certain distance apart. There is the only highlighted sub-tag in the tag display area. In at least one embodiment of the present application, the number of the sub-tags is a predetermined value.
  • the content display area is used to display a plurality of sub-display areas. Each of the sub-display areas corresponds to one sub-label, and is used to display the display content of the corresponding sub-label.
  • the plurality of sub-display areas are stacked in a partially stacked manner, and the sub-display area corresponding to the highlighted sub-tag is located on the top layer.
  • the sub-display area located on the top layer may be displayed with a predetermined transparency, so that other sub-display areas located under the top layer are partially displayed through the sub-display area located on the top layer in a predetermined order.
  • the corresponding content in each sub-display area can be set according to user's customization, or it can be the default content in the terminal device.
  • the acquiring module 10 is further configured to determine whether the number of the sub-tags is greater than a reference value.
  • the acquisition module 10 further adjusts the display mode of the subtags according to the number of subtags.
  • the acquisition module 10 further displays the sub-tags with a first reference width.
  • the acquisition module 10 further identifies the highlighted sub-tag in the label display area, and acquires the sub-display area corresponding to the highlighted sub-tag, and has a built-in top in the content display area. display.
  • the adjusting the display mode of the sub-tags according to the number of the sub-tags is to display the number of the sub-tags corresponding to the reference value according to the arrangement sequence and hide the other sub-tags. label.
  • the adjustment of the display mode of the subtags according to the number of the subtags is to adjust the width of the subtags to a second reference width.
  • the first reference width is greater than the second reference width.
  • the detection module 20 is configured to detect whether the operation instruction is generated in the content display area when the operation instruction is detected.
  • the detection module 20 displays the sub-display area corresponding to the stop position of the operation instruction on top, and puts the corresponding sub-tag in the The label display area is highlighted.
  • the detection module 20 further detects whether the operation instruction is a click operation. If the operation instruction is a click operation, the detection module 20 sets the sub-display area corresponding to the position where the operation instruction is generated to a built-in top display in the content display area, and combines it with the sub-display area displayed on the top. The corresponding subtag is highlighted in the tag display area.
  • the click operation may be a single click or a double click.
  • the detection module 20 determines whether the distance of the sliding operation is less than a predetermined distance. If the distance of the sliding operation is greater than or equal to the predetermined distance, the detection module 20 further controls the scroll display of the sub-display area. The detection module 20 further displays the sub-display area corresponding to the position where the sliding operation is stopped in the content display area, and displays the sub-label corresponding to the sub-display area displayed on the top The label display area is highlighted.
  • the detection module 20 recognizes that the operation is incorrect and does not cause any action.
  • the detection module 20 When the operation instruction is generated in the label display area, the detection module 20 further highlights the sub label corresponding to the stop position of the operation instruction, and displays the corresponding sub display area on top.
  • the detection module 20 further detects whether the operation instruction is a click operation. If the operation instruction is a click operation, the detection module 20 further highlights the subtag corresponding to the position where the operation instruction is generated in the tag display area, and compares it with the highlighted The sub display area corresponding to the sub tag has a built-in top display in the content display area.
  • the click operation may be a single click or a double click.
  • the detection module 20 determines whether the distance of the sliding operation is less than a predetermined distance. If the distance of the sliding operation is greater than or equal to the predetermined distance, the detection module 20 further controls the scrolling display of the sub-tabs. The detection module 20 further highlights the sub-tag corresponding to the position where the sliding operation is stopped in the tag display area, and displays the sub-display area corresponding to the highlighted sub-tag A top display is built in the content display area.
  • the detection module 20 recognizes that the operation is incorrect and does not cause any action.
  • the TAB page has a content display area, and the highlighted sub-tabs in the label display area are adjusted according to the switching operation in the content display area, which avoids blind switching during the TAB switching process and realizes terminal device operation Optimization of experience.
  • FIG. 6 is a terminal device according to an embodiment of the application.
  • Computer readable instructions are stored on the terminal device.
  • the terminal device includes a memory 102, a communication bus 104, and a processor 106.
  • the computer-readable instructions may be stored on the memory 102, and when executed by one or more processors 106, so as to realize the page switching control method as described in the above method embodiments.
  • the memory 102 is used to store program code, and the program code is a series of computer readable instructions.
  • the memory 102 may be a circuit with a storage function in an integrated circuit without a physical form, such as a memory stick, a TF card (Trans-flash Card), a smart media card (smart media card), a secure digital card (secure digital card), Storage devices such as flash cards.
  • the memory 102 can perform data communication with the processor 106 through the communication bus 104.
  • the memory 102 may include an operating system, a network communication module, and a page switching control program.
  • the operating system is a program that manages and controls page switching control equipment hardware and software resources, and supports the operation of file page switching control programs and other software and/or programs.
  • the network communication module is used to implement communication between various components in the memory 102 and communication with other hardware and software in the page switching control device.
  • the processor 106 may include one or more microprocessors and digital processors.
  • the processor 106 can call the program code stored in the memory 102 to perform related functions.
  • the various modules described in FIG. 5 are program codes stored in the memory 102 and executed by the processor 106 to implement a page switching control method.
  • the processor 106 is also called a central processing unit (CPU, Central Processing Unit), which is a very large-scale integrated circuit, which is a computing core (Core) and a control core (Control Unit).
  • CPU Central Processing Unit
  • Core computing core
  • Control Unit Control Unit
  • the processor 106 is configured to execute multiple computer-readable instructions stored in the memory 102 to implement a page switching control method, and the processor 106 can execute multiple computer-readable instructions to implement the following steps:
  • the page switching control method is applied to at least one terminal device.
  • the terminal device establishes a communication connection with the server through the network.
  • Multiple application programs can be executed in the terminal device.
  • Each of the application programs has a corresponding working interface.
  • the terminal device has a display screen. The display screen is used to display a working interface corresponding to each application program.
  • the TAB page may be a corresponding interactive interface for switching between multiple applications, or may be a work interface corresponding to a designated application.
  • the TAB page generally includes a label display area and a content display area.
  • the label display area and the content display area are displayed in parallel on the display screen of the terminal device in a two-line manner. In other embodiments, the label display area and the content display area may also be displayed in parallel on the display screen of the terminal device in two columns.
  • the label display area is used to display the name of the application program or the label name.
  • the label display area may further include a plurality of sub-labels. Each of the sub-labels corresponds to a label name and corresponds to a display content.
  • a plurality of said sub-tags are arranged in a row with a certain distance apart. There is the only highlighted sub-tag in the tag display area. In at least one embodiment of the present application, the number of the sub-tags is a predetermined value.
  • the content display area is used to display a plurality of sub-display areas. Each of the sub-display areas corresponds to one sub-label, and is used to display the display content of the corresponding sub-label.
  • the plurality of sub-display areas are stacked in a partially stacked manner, and the sub-display area corresponding to the highlighted sub-tag is located at the uppermost layer.
  • the sub-display area located on the top layer may be displayed with a predetermined transparency, so that other sub-display areas located under the top layer are partially displayed through the sub-display area located on the top layer in a predetermined order.
  • the corresponding content in each sub-display area can be set according to user's customization, or it can be the default content in the terminal device.
  • the step of displaying the TAB page further includes:
  • the adjusting the display mode of the sub-tags according to the number of the sub-tags is to display the number of the sub-tags corresponding to the reference value according to the arrangement sequence and hide the other sub-tags. label.
  • the adjustment of the display mode of the subtags according to the number of the subtags is to adjust the width of the subtags to a second reference width.
  • the first reference width is greater than the second reference width.
  • the user may perform operations in the label display area, and may also perform operations in the content display area.
  • the sub-display area corresponding to the stop position of the operation instruction is placed on top for display, and the corresponding sub-label is placed on the label.
  • the step of highlighting in the display area further includes:
  • the operation instruction is a click operation
  • the sub display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and the sub display area corresponding to the top display is displayed.
  • the sub-label is highlighted in the label display area;
  • the click operation may be a single click or a double click.
  • the step of highlighting the sub-tag corresponding to the stop position of the operation instruction and displaying the corresponding sub-display area on top is further include:
  • the operation instruction is a click operation in the label display area
  • the sub-display area corresponding to the highlighted sub-tab has a built-in top display in the content display area;
  • the TAB page has a content display area, and according to the switching operation in the content display area, the highlighted sub-tabs corresponding to the label display area are adjusted together, which avoids blind switching during the TAB switching process and realizes the terminal equipment Optimization of operating experience.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical or other forms.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the functional modules in the various embodiments of the present application may be integrated into one processor, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a non-volatile computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several computer-readable instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM random access memory
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain (Synchlink) DRAM
  • RDRAM direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

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

Disclosed are a method, device and apparatus for page switching control and a nonvalatile computer readable storage medium. The method comprises the following steps: step 1, displaying a TAB page when executing a page switching instruction on a terminal device, wherein the TAB page includes a tag display area and a content display area, the tag display area includes a plurality of sub-tags and there is a highlighted sub-tag among the plurality of sub-tags, and the content display area includes a plurality of sub-display areas; step 2, upon the detection of an operation instruction, detecting whether the operation instruction is generated in the tag display area; step 3, if an operation instruction is generated in the content display area, displaying the sub-display area corresponding to the stop position of the operation instruction on the top, and highlighting the corresponding sub-tag in the tag display area. The TAB page according to the present application has a content display area, adjusts the sub-display area according to a switching operation in the content display area and highlights the corresponding sub-tag, thereby optimizing the operation experience of a terminal device.

Description

页面切换控制方法、装置、设备及存储介质Page switching control method, device, equipment and storage medium
本申请要求于2019年01月15日提交中国专利局,申请号为201910037003.5发明名称为“页面切换控制方法、装置、设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on January 15, 2019. The application number is 201910037003.5. The title of the invention is "page switching control method, device, equipment, and computer-readable storage medium." The reference is incorporated in this application.
技术领域Technical field
本申请涉及主要涉及通信技术领域,具体地说,涉及一种页面切换控制方法、装置、设备及计算机可读存储介质。This application relates mainly to the field of communication technology, and specifically to a method, device, device, and computer-readable storage medium for controlling page switching.
背景技术Background technique
在使用终端设备时,经常需要进行页面切换,比如在操作软件、浏览信息、网页等时。目前,较常用的一种进行页面切换的方式是通过TAB页面来实现页面切换。TAB页面(或称标签选项卡)为常用的交互界面应用形式。TAB页面中通常将多个标签呈矩阵状排列显示。在切换过程中,根据用户启用的顺序依次切换。采用上述方式进行页面切换,当存在多个类似标签时无法直观且迅速的切换至目标页面。When using a terminal device, it is often necessary to switch pages, such as when operating software, browsing information, and web pages. Currently, one of the more commonly used methods for page switching is to implement page switching through TAB pages. The TAB page (or label tab) is a commonly used interactive interface application form. In the TAB page, multiple tags are usually displayed in a matrix arrangement. In the switching process, switch in sequence according to the order in which the user starts. Using the above method to switch pages, when there are multiple similar tags, it is impossible to switch to the target page intuitively and quickly.
发明内容Summary of the invention
本申请的主要目的是提供一种页面切换控制方法、装置、设备及计算机可读存储介质,旨在解决现有技术中在TAB切换过程中可直观且快速切换至目标页面的问题。The main purpose of this application is to provide a page switching control method, device, device, and computer-readable storage medium, aiming to solve the problem of intuitive and fast switching to the target page in the TAB switching process in the prior art.
为实现上述目的,本申请提供一种页面切换控制方法,所述页面切换控制方法包括以下步骤:In order to achieve the above objective, this application provides a page switching control method. The page switching control method includes the following steps:
在终端设备执行页面切换指令时,显示TAB页面;所述TAB页面包括标签显示区域和内容展示区域;所述标签显示区域内包括多个子标签,且多个所述子标签中具有一个高亮显示的所述子标签;所述内容展示区域包括多个子展示区域;When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
在侦测到操作指令时,检测所述操作指令是否产生在所述内容显示区域内;When an operation instruction is detected, detecting whether the operation instruction is generated in the content display area;
所述操作指令产生在所述内容展示区域内时,将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示。When the operation instruction is generated in the content display area, the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
优选地,所述显示TAB页面的步骤进一步包括:Preferably, the step of displaying the TAB page further includes:
判断所述子标签的个数是否大于基准值;Judging whether the number of the sub-tags is greater than a reference value;
若所述子标签的个数大于所述基准值,则根据所述子标签的个数调整所述子标签的显示 方式;If the number of subtags is greater than the reference value, adjusting the display mode of the subtags according to the number of subtags;
若所述子标签的个数小于等于所述基准值,则将所述子标签以第一基准宽度进行显示;If the number of the sub-tags is less than or equal to the reference value, display the sub-tags with the first reference width;
识别所述标签显示区域内高亮显示的所述子标签;Identifying the highlighted subtag in the tag display area;
获取与高亮显示的所述子标签对应的在所述子展示区域,并在所述内容展示区域内置顶显示。Obtain the sub-display area corresponding to the highlighted sub-tag, and build a top display in the content display area.
优选地,根据所述子标签的个数调整所述子标签的显示方式为根据排列顺序显示与所述基准值对应数量的所述子标签并隐藏其他所述子标签。Preferably, adjusting the display mode of the subtags according to the number of the subtags is to display the number of the subtags corresponding to the reference value and hide the other subtags according to the arrangement sequence.
优选地,根据所述子标签的个数调整所述子标签的显示方式为调整所述子标签的宽度为第二基准宽度;所述第一基准宽度大于所述第二基准宽度。Preferably, adjusting the display mode of the sub-labels according to the number of the sub-labels is to adjust the width of the sub-labels to a second reference width; the first reference width is greater than the second reference width.
优选地,所述将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示的步骤进一步包括:Preferably, the step of placing the sub-display area corresponding to the stop position of the operation instruction on top of the display, and highlighting the corresponding sub-label in the label display area further includes:
检测所述操作指令是否为点击操作;Detecting whether the operation instruction is a click operation;
若所述操作指令为在所述内容展示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示;If the operation instruction is a click operation in the content display area, the sub-display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and will be displayed in the same way as the top display. The sub-label corresponding to the sub-display area is highlighted in the label display area;
若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;If the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance;
若所述滑动操作的距离大于等于所述预定距离,则控制所述子展示区域滚动显示;If the distance of the sliding operation is greater than or equal to the predetermined distance, controlling the sub-display area to scroll and display;
将所述滑动操作停止的位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示。The sub-display area corresponding to the position where the sliding operation is stopped is displayed on the top of the content display area, and the sub-label corresponding to the sub-display area displayed on the top is higher in the label display area. Bright display.
优选地,所述显示TAB页面的步骤进一步包括:Preferably, the step of displaying the TAB page further includes:
检测所述操作指令是否产生在所述标签显示区域内;Detecting whether the operation instruction is generated in the label display area;
所述操作指令产生在所述标签显示区域内时,将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示。When the operation instruction is generated in the label display area, the sub-label corresponding to the stop position of the operation instruction is highlighted, and the corresponding sub-display area is displayed on top.
优选地,所述将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示的步骤进一步包括:Preferably, the step of highlighting the sub-tag corresponding to the stop position of the operation instruction and displaying the corresponding sub-display area on top further includes:
检测所述操作指令是否为点击操作;Detecting whether the operation instruction is a click operation;
若所述操作指令为在所述标签显示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示;If the operation instruction is a click operation in the label display area, the sub-label corresponding to the position where the operation instruction is generated is highlighted in the label display area, and will be highlighted The sub-display area corresponding to the sub-tab has a built-in top display in the content display area;
若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;If the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance;
若所述滑动操作的距离大于等于所述预定距离,则控制所述子标签滚动显示;If the distance of the sliding operation is greater than or equal to the predetermined distance, controlling the sub-tab to scroll and display;
将所述滑动操作停止的位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示。Highlight the sub-tag corresponding to the position where the sliding operation is stopped in the tag display area, and highlight the sub-display area corresponding to the highlighted sub-tag in the content display area Show on top.
此外,为了实现上述目的,本申请还提出一种页面切换控制装置,所述页面切换控制装置包括:In addition, in order to achieve the above object, this application also proposes a page switching control device, the page switching control device includes:
获取模块,用于在终端设备执行页面切换指令时显示TAB页面;所述TAB页面包括标签显示区域和内容展示区域;所述标签显示区域内包括多个子标签,且多个所述子标签中具有一个高亮显示的所述子标签;所述内容展示区域包括多个子展示区域;The acquisition module is used to display a TAB page when the terminal device executes a page switching instruction; the TAB page includes a label display area and a content display area; the label display area includes a plurality of sub-tabs, and the plurality of sub-tabs have One highlighted sub-tab; the content display area includes multiple sub-display areas;
检测模块,用于在侦测到操作指令时检测所述操作指令是否产生在所述内容展示区域内;The detection module is used to detect whether the operation instruction is generated in the content display area when the operation instruction is detected;
所述操作指令产生在所述内容展示区域内时,所述检测模块将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示。When the operation instruction is generated in the content display area, the detection module displays the sub-display area corresponding to the stop position of the operation instruction on top, and displays the corresponding sub-label in the label The area is highlighted.
此外,为了实现上述目的,本申请还提出一种终端设备,所述终端设备包括处理器和存储器,处理器用于执行存储器中存储的计算机可读指令时实现如下步骤:In addition, in order to achieve the above-mentioned object, this application also proposes a terminal device. The terminal device includes a processor and a memory. The processor is configured to execute the computer-readable instructions stored in the memory to implement the following steps:
在终端设备执行页面切换指令时,显示TAB页面;所述TAB页面包括标签显示区域和内容展示区域;所述标签显示区域内包括多个子标签,且多个所述子标签中具有一个高亮显示的所述子标签;所述内容展示区域包括多个子展示区域;When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
在侦测到操作指令时,检测所述操作指令是否产生在所述内容显示区域内;When an operation instruction is detected, detecting whether the operation instruction is generated in the content display area;
所述操作指令产生在所述内容展示区域内时,将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示。When the operation instruction is generated in the content display area, the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
此外,为了实现上述目的,本申请还提出一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现如下步骤:In addition, in order to achieve the above object, this application also proposes a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one computer-readable instruction, and the at least one computer-readable When the instruction is executed by the processor, the following steps are implemented:
在终端设备执行页面切换指令时,显示TAB页面;所述TAB页面包括标签显示区域和内容展示区域;所述标签显示区域内包括多个子标签,且多个所述子标签中具有一个高亮显示的所述子标签;所述内容展示区域包括多个子展示区域;When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
在侦测到操作指令时,检测所述操作指令是否产生在所述内容显示区域内;When an operation instruction is detected, detecting whether the operation instruction is generated in the content display area;
所述操作指令产生在所述内容展示区域内时,将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示。When the operation instruction is generated in the content display area, the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
与现有技术相比较,TAB页面具有内容展示区域,且根据在内容展示区域的切换操作一并调整标签显示区域对应的子标签,避免了在TAB切换过程中盲目切换,实现了终端设备操作体验的优化。Compared with the prior art, the TAB page has a content display area, and the sub-tabs corresponding to the label display area are adjusted together according to the switching operation in the content display area, which avoids blind switching during the TAB switching process and realizes the terminal device operation experience Optimization.
附图说明BRIEF DESCRIPTION
图1为本申请页面切换控制方法的流程示意图。Figure 1 is a schematic flow chart of a method for controlling page switching of this application.
图2为图1中步骤S11的细化流程示意图。FIG. 2 is a schematic diagram of the detailed flow of step S11 in FIG. 1.
图3为图1中步骤S13的细化流程示意图。Fig. 3 is a detailed flowchart of step S13 in Fig. 1.
图4为图1中步骤S15的细化流程示意图。Fig. 4 is a detailed flowchart of step S15 in Fig. 1.
图5为本申请页面切换控制装置的功能模块图。Figure 5 is a functional block diagram of the page switching control device of this application.
图6为本申请实施例的终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work should fall within the protection scope of this application.
请参阅图1,其为本申请页面切换控制方法的流程图。根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。Please refer to FIG. 1, which is a flowchart of a method for controlling page switching of this application. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
本申请的至少一个实施例中,所述页面切换控制方法应用于至少一终端设备中。所述终端设备通过网络与服务器建立通信连接。所述终端设备内可执行多个应用程序。每个所述应用程序具有对应的工作界面。所述终端设备具有显示屏幕。所述显示屏幕用于显示每个所述应用程序对应的工作界面。所述终端设备和所述服务器之间根据预设协议进行数据传输。优选地,所述预设协议包括,但不限于以下任意一种:HTTP协议(Hyper Text Transfer Protocol,超文本传输协议)、HTTPS协议(Hyper Text Transfer Protocol over Secure Socket Layer,以安全为目标的HTTP协议)等。本申请的至少一个实施例中,所述服务器可以是单一的服务器,也可以为由几个功能服务器共同组成的服务器群。所述终端设备可以是任意具有网络连接功能的终端,例如,所述终端设备可以为个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备、导航装置等等的可移动设备,或者台式电脑、数字TV等等固定设备。所述终端设备系统具有至少一个数据存储器102(如图6所示)。所述存储器102可以为非易失性可读存储介质,例如闪存、硬盘、多媒体卡、SD存储器、静态随机访问存储器(ROM)、磁盘、光盘等非易失性存储介质。In at least one embodiment of the present application, the page switching control method is applied to at least one terminal device. The terminal device establishes a communication connection with the server through the network. Multiple application programs can be executed in the terminal device. Each of the application programs has a corresponding working interface. The terminal device has a display screen. The display screen is used to display a working interface corresponding to each application program. The terminal device and the server perform data transmission according to a preset protocol. Preferably, the preset protocol includes, but is not limited to, any of the following: HTTP protocol (Hyper Text Transfer Protocol, Hypertext Transfer Protocol), HTTPS protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTP with security as the goal) Agreement) etc. In at least one embodiment of the present application, the server may be a single server or a server group composed of several functional servers. The terminal device may be any terminal with a network connection function. For example, the terminal device may be a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television ( Internet Protocol Television (IPTV), smart wearable devices, navigation devices and other mobile devices, or desktop computers, digital TVs and other fixed devices. The terminal device system has at least one data storage 102 (as shown in FIG. 6). The memory 102 may be a non-volatile readable storage medium, such as a flash memory, a hard disk, a multimedia card, an SD memory, a static random access memory (ROM), a magnetic disk, an optical disk, and other non-volatile storage media.
S11、在终端设备执行页面切换指令时,显示TAB页面。S11. When the terminal device executes the page switching instruction, the TAB page is displayed.
本申请的至少一个实施例中,所述TAB页面可以为在多个所述应用程序之间切换对应的 交互界面,也可以为指定应用程序对应的工作界面。所述TAB页面一般包括标签显示区域和内容展示区域。所述标签显示区域和所述内容展示区域呈两行方式平行显示于所述终端设备的显示屏幕内。在其他实施方式中,所述标签显示区域和所述内容展示区域也可呈两列方式平行显示于所述终端设备的显示屏幕内。所述标签显示区域用于显示应用程序的名称或标签名称。所述标签显示区域可进一步包括多个子标签。每个所述子标签对应一个标签名称,且对应一个展示内容。多个所述子标签呈一行且间隔一定距离排列。所述标签显示区域内具有唯一一个高亮显示的所述子标签。在本申请的至少一实施例中,所述子标签的数量为预定值。所述内容展示区域用于显示包括多个子展示区域。每个所述子展示区域对应一个所述子标签,用于展示对应的所述子标签的展示内容。所述多个子展示区域以部分层叠的方式堆叠设置,且与高亮显示的所述子标签对应的所述子展示区域位于顶层。其中,位于顶层的所述子展示区域可以以预定透明度进行显示,以使得位于顶层下的其他所述子展示区域以预定顺序透过位于顶层的所述子展示区域进行部分展示。本申请的至少一个实施例中,所述每个子展示区域内对应的内容可根据用户的自定义进行设置,也可以为所述终端设备中默认的内容。In at least one embodiment of the present application, the TAB page may be a corresponding interactive interface for switching between multiple applications, or a work interface corresponding to a designated application. The TAB page generally includes a label display area and a content display area. The label display area and the content display area are displayed in parallel on the display screen of the terminal device in a two-line manner. In other embodiments, the label display area and the content display area may also be displayed in parallel on the display screen of the terminal device in two columns. The label display area is used to display the name of the application program or the label name. The label display area may further include a plurality of sub-labels. Each of the sub-labels corresponds to a label name and corresponds to a display content. A plurality of said sub-tags are arranged in a row with a certain distance apart. There is only one highlighted sub-label in the label display area. In at least one embodiment of the present application, the number of the sub-tags is a predetermined value. The content display area is used to display a plurality of sub-display areas. Each of the sub-display areas corresponds to one sub-label, and is used to display the display content of the corresponding sub-label. The plurality of sub-display areas are stacked in a partially stacked manner, and the sub-display area corresponding to the highlighted sub-tag is located on the top layer. Wherein, the sub-display area located on the top layer may be displayed with a predetermined transparency, so that other sub-display areas located under the top layer are partially displayed through the sub-display area located on the top layer in a predetermined order. In at least one embodiment of the present application, the corresponding content in each sub-display area can be set according to user's customization, or it can be the default content in the terminal device.
请一并参阅图2,本申请的至少一个实施例中,所述显示TAB页面的步骤进一步包括:Please also refer to FIG. 2. In at least one embodiment of the present application, the step of displaying the TAB page further includes:
S110、判断所述子标签的个数是否大于基准值;S110: Determine whether the number of the subtags is greater than a reference value;
S111、若所述子标签的个数大于所述基准值,则根据所述子标签的个数调整所述子标签的显示方式;S111: If the number of subtags is greater than the reference value, adjust the display mode of the subtags according to the number of subtags;
S112、若所述子标签的个数小于等于所述基准值,则将所述子标签以第一基准宽度进行显示;S112. If the number of the subtags is less than or equal to the reference value, display the subtags with a first reference width;
S113、识别所述标签显示区域内高亮显示的所述子标签;S113: Identify the highlighted subtag in the tag display area;
S114、获取与高亮显示的所述子标签对应的所述子展示区域,并在所述内容展示区域内置顶显示。S114. Obtain the sub-display area corresponding to the highlighted sub-tag, and build a top display in the content display area.
本申请的至少一个实施例中,所述根据所述子标签的个数调整所述子标签的显示方式为根据排列顺序显示与所述基准值对应数量的所述子标签并隐藏其他所述子标签。In at least one embodiment of the present application, the adjusting the display mode of the sub-tags according to the number of the sub-tags is to display the number of the sub-tags corresponding to the reference value according to the arrangement sequence and hide the other sub-tags. label.
在本申请的另一实施例中,所述根据所述子标签的个数调整所述子标签的显示方式为调整所述子标签的宽度为第二基准宽度。所述第一基准宽度大于所述第二基准宽度。In another embodiment of the present application, the adjustment of the display mode of the subtags according to the number of the subtags is to adjust the width of the subtags to a second reference width. The first reference width is greater than the second reference width.
S12、在侦测到操作指令时,检测所述操作指令是否产生在所述内容展示区域内。S12. When an operation instruction is detected, detect whether the operation instruction is generated in the content display area.
本申请的至少一个实施例中,用户可以在所述标签显示区域内进行操作而产生,也可在所述内容展示区域内进行操作而产生。In at least one embodiment of the present application, the user may perform operations in the label display area, and may also perform operations in the content display area.
S13、所述操作指令产生在所述内容展示区域内时,将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示。S13. When the operation instruction is generated in the content display area, the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is also in the label display area. Highlight.
请一并参阅图3,本申请的至少一个实施例中,所述将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应的所述子标签在所述标签显示区域内高亮显示的步骤进一步包括:Please also refer to FIG. 3. In at least one embodiment of the present application, the sub-display area corresponding to the stop position of the operation instruction is placed on top for display, and the corresponding sub-label is placed on the label. The step of highlighting in the display area further includes:
S131、检测所述操作指令是否为点击操作;S131: Detect whether the operation instruction is a click operation;
S132、若所述操作指令为点击操作,则将与所述操作指令产生位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示;S132. If the operation instruction is a click operation, the sub display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and the sub display area corresponding to the top display is displayed. The sub-label is highlighted in the label display area;
S133、若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;S133: If the operation instruction is a sliding operation, determine whether the distance of the sliding operation is less than a predetermined distance;
S134、若所述滑动操作的距离大于等于所述预定距离,则控制所述子展示区域滚动显示;S134: If the distance of the sliding operation is greater than or equal to the predetermined distance, control the scroll display of the sub-display area;
S135、将所述滑动操作停止的位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示;S135. The sub-display area corresponding to the position where the sliding operation is stopped is displayed on the top of the content display area, and the sub-label corresponding to the sub-display area displayed on the top is displayed in the label display area. Highlight inside;
S136、若所述滑动操作的距离小于所述预定距离,则识别为误操作。S136. If the distance of the sliding operation is less than the predetermined distance, it is recognized as a misoperation.
本申请的至少一个实施例中,所述点击操作可以为单击或双击。In at least one embodiment of the present application, the click operation may be a single click or a double click.
S14、检测所述操作指令是否产生在所述标签显示区域内。S14. Detect whether the operation instruction is generated in the label display area.
S15、所述操作指令产生在所述标签显示区域内时,将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示。S15. When the operation instruction is generated in the label display area, highlight the sub-label corresponding to the stop position of the operation instruction, and display the corresponding sub-display area on top.
请一并参阅图4,本申请的至少一个实施例中,所述将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示的步骤进一步包括:Please also refer to FIG. 4, in at least one embodiment of the present application, the step of highlighting the sub-tag corresponding to the stop position of the operation instruction and displaying the corresponding sub-display area on top is further include:
S151、检测所述操作指令是否为点击操作;S151: Detect whether the operation instruction is a click operation;
S152、若所述操作指令为在所述标签显示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示;S152. If the operation instruction is a click operation in the label display area, highlight the sub-label corresponding to the position where the operation instruction is generated in the label display area, and compare it with the high The sub-display area corresponding to the highlighted sub-tab has a built-in top display in the content display area;
S153、若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;S153: If the operation instruction is a sliding operation, determine whether the distance of the sliding operation is less than a predetermined distance;
S154、若所述滑动操作的距离大于等于所述预定距离,则控制所述子标签滚动显示;S154: If the distance of the sliding operation is greater than or equal to the predetermined distance, control the sub-tab to scroll and display;
S155、将所述滑动操作停止的位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示;S155. Highlight the sub-label corresponding to the position where the sliding operation is stopped in the label display area, and display the sub-display area corresponding to the highlighted sub-label in the content Built-in top display in the area;
S156、若所述滑动操作的距离小于所述预定距离,则识别为误操作。S156. If the distance of the sliding operation is less than the predetermined distance, it is recognized as a misoperation.
本申请的至少一个实施例中,所述点击操作可以为单击或双击。In at least one embodiment of the present application, the click operation may be a single click or a double click.
由以上实施例可知,在TAB切换过程中可展示标签页面内容,且在切换过程中一并更新展示的标签页面内容,避免了在TAB切换过程中盲目切换,实现了终端设备操作体验的优化。It can be seen from the above embodiments that the content of the tab page can be displayed during the TAB switching process, and the displayed tab page content is updated during the switching process, which avoids blind switching during the TAB switching process and realizes the optimization of the terminal device operating experience.
请参照图5,本申请提供一种页面切换控制装置1,应用于至少一终端设备中。所述终端 设备通过网络与服务器建立通信连接。所述终端设备内可执行多个应用程序。每个所述应用程序具有对应的工作界面。所述终端设备具有显示屏幕。所述显示屏幕用于显示每个所述应用程序对应的工作界面。Referring to FIG. 5, the present application provides a page switching control device 1 applied to at least one terminal device. The terminal device establishes a communication connection with the server through the network. Multiple application programs can be executed in the terminal device. Each of the application programs has a corresponding working interface. The terminal device has a display screen. The display screen is used to display a working interface corresponding to each application program.
本申请的至少一个实施例中,该页面切换控制方法应用于至少一终端设备及服务器构成的视频系统中。所述服务器与所述终端设备通过网络通信连接。在本申请的至少一个实施例中,所述终端设备和所述服务器之间根据预设协议进行数据传输。优选地,所述预设协议包括,但不限于以下任意一种:HTTP协议(Hyper Text Transfer Protocol,超文本传输协议)、HTTPS协议(Hyper Text Transfer Protocol over Secure Socket Layer,以安全为目标的HTTP协议)等。本申请的至少一个实施例中,所述服务器可以是单一的服务器,也可以为由几个功能服务器共同组成的服务器群。所述终端设备可以是任意具有网络连接功能的终端,例如,所述终端设备可以为个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备、导航装置等等的可移动设备,或者台式电脑、数字TV等等固定设备。所述终端设备系统具有至少一个数据存储器102。所述存储器102可以为可读存储介质,例如闪存、硬盘、多媒体卡、SD存储器、静态随机访问存储器(ROM)、磁盘、光盘等非易失性存储介质。In at least one embodiment of the present application, the page switching control method is applied to a video system composed of at least one terminal device and a server. The server and the terminal device are connected through network communication. In at least one embodiment of the present application, data transmission is performed between the terminal device and the server according to a preset protocol. Preferably, the preset protocol includes, but is not limited to, any of the following: HTTP protocol (Hyper Text Transfer Protocol, Hypertext Transfer Protocol), HTTPS protocol (Hyper Text Transfer Protocol over Secure Socket Layer, HTTP with security as the goal) Agreement) etc. In at least one embodiment of the present application, the server may be a single server or a server group composed of several functional servers. The terminal device may be any terminal with a network connection function. For example, the terminal device may be a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television ( Internet Protocol Television (IPTV), smart wearable devices, navigation devices and other mobile devices, or desktop computers, digital TVs and other fixed devices. The terminal device system has at least one data storage 102. The memory 102 may be a readable storage medium, such as a nonvolatile storage medium such as flash memory, hard disk, multimedia card, SD memory, static random access memory (ROM), magnetic disk, and optical disk.
在本申请的一个实施例中,所述页面切换控制装置1包括:In an embodiment of the present application, the page switching control device 1 includes:
获取模块10,用于在终端设备执行页面切换指令时显示TAB页面。The obtaining module 10 is used for displaying the TAB page when the terminal device executes the page switching instruction.
本申请的至少一个实施例中,所述TAB页面可以为在多个所述应用程序之间切换对应的交互界面,也可以为指定应用程序对应的工作界面。所述TAB页面一般包括标签显示区域和内容展示区域。所述标签显示区域和所述内容展示区域呈两行方式平行显示于所述终端设备的显示屏幕内。在其他实施方式中,所述标签显示区域和所述内容展示区域也可呈两列方式平行显示于所述终端设备的显示屏幕内。所述标签显示区域用于显示应用程序的名称或标签名称。所述标签显示区域可进一步包括多个子标签。每个所述子标签对应一个标签名称,且对应一个展示内容。多个所述子标签呈一行且间隔一定距离排列。所述标签显示区域内具有唯一高亮显示的所述子标签。在本申请的至少一实施例中,所述子标签的数量为预定值。所述内容展示区域用于显示包括多个子展示区域。每个所述子展示区域对应一个所述子标签,用于展示对应的所述子标签的展示内容。所述多个子展示区域以部分层叠的方式堆叠设置,且与高亮显示的所述子标签对应的所述子展示区域位于顶层。其中,位于顶层的所述子展示区域可以以预定透明度进行显示,以使得位于顶层下的其他所述子展示区域以预定顺序透过位于顶层的所述子展示区域进行部分展示。本申请的至少一个实施例中,所述每个子展示区域内对应的内容可根据用户的自定义进行设置,也可以为所述终端设备中默认的内容。In at least one embodiment of the present application, the TAB page may be a corresponding interactive interface for switching between multiple applications, or may be a work interface corresponding to a designated application. The TAB page generally includes a label display area and a content display area. The label display area and the content display area are displayed in parallel on the display screen of the terminal device in a two-line manner. In other embodiments, the label display area and the content display area may also be displayed in parallel on the display screen of the terminal device in two columns. The label display area is used to display the name of the application program or the label name. The label display area may further include a plurality of sub-labels. Each of the sub-labels corresponds to a label name and corresponds to a display content. A plurality of said sub-tags are arranged in a row with a certain distance apart. There is the only highlighted sub-tag in the tag display area. In at least one embodiment of the present application, the number of the sub-tags is a predetermined value. The content display area is used to display a plurality of sub-display areas. Each of the sub-display areas corresponds to one sub-label, and is used to display the display content of the corresponding sub-label. The plurality of sub-display areas are stacked in a partially stacked manner, and the sub-display area corresponding to the highlighted sub-tag is located on the top layer. Wherein, the sub-display area located on the top layer may be displayed with a predetermined transparency, so that other sub-display areas located under the top layer are partially displayed through the sub-display area located on the top layer in a predetermined order. In at least one embodiment of the present application, the corresponding content in each sub-display area can be set according to user's customization, or it can be the default content in the terminal device.
所述获取模块10进一步用于判断所述子标签的个数是否大于基准值。The acquiring module 10 is further configured to determine whether the number of the sub-tags is greater than a reference value.
若所述子标签的个数大于所述基准值,所述获取模块10进一步地根据所述子标签的个数调整所述子标签的显示方式。If the number of subtags is greater than the reference value, the acquisition module 10 further adjusts the display mode of the subtags according to the number of subtags.
若所述子标签的个数小于等于所述基准值,所述获取模块10进一步地将所述子标签以第一基准宽度进行显示。If the number of the sub-tags is less than or equal to the reference value, the acquisition module 10 further displays the sub-tags with a first reference width.
所述获取模块10进一步地识别所述标签显示区域内高亮显示的所述子标签,并获取与高亮显示的所述子标签对应所述子展示区域,并在所述内容展示区域内置顶显示。The acquisition module 10 further identifies the highlighted sub-tag in the label display area, and acquires the sub-display area corresponding to the highlighted sub-tag, and has a built-in top in the content display area. display.
本申请的至少一个实施例中,所述根据所述子标签的个数调整所述子标签的显示方式为根据排列顺序显示与所述基准值对应数量的所述子标签并隐藏其他所述子标签。In at least one embodiment of the present application, the adjusting the display mode of the sub-tags according to the number of the sub-tags is to display the number of the sub-tags corresponding to the reference value according to the arrangement sequence and hide the other sub-tags. label.
在本申请的另一实施例中,所述根据所述子标签的个数调整所述子标签的显示方式为调整所述子标签的宽度为第二基准宽度。所述第一基准宽度大于所述第二基准宽度。In another embodiment of the present application, the adjustment of the display mode of the subtags according to the number of the subtags is to adjust the width of the subtags to a second reference width. The first reference width is greater than the second reference width.
检测模块20,用于在侦测到操作指令时检测所述操作指令是否产生在所述内容展示区域内。The detection module 20 is configured to detect whether the operation instruction is generated in the content display area when the operation instruction is detected.
所述操作指令产生在所述内容展示区域内时,所述检测模块20将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应的所述子标签在所述标签显示区域内高亮显示。When the operation instruction is generated in the content display area, the detection module 20 displays the sub-display area corresponding to the stop position of the operation instruction on top, and puts the corresponding sub-tag in the The label display area is highlighted.
所述检测模块20进一步地检测所述操作指令是否为点击操作。若所述操作指令为点击操作,所述检测模块20将与所述操作指令产生位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示。The detection module 20 further detects whether the operation instruction is a click operation. If the operation instruction is a click operation, the detection module 20 sets the sub-display area corresponding to the position where the operation instruction is generated to a built-in top display in the content display area, and combines it with the sub-display area displayed on the top. The corresponding subtag is highlighted in the tag display area.
本申请的至少一个实施例中,所述点击操作可以为单击或双击。In at least one embodiment of the present application, the click operation may be a single click or a double click.
若所述操作指令为滑动操作时,所述检测模块20判断所述滑动操作的距离是否小于预定距离。若所述滑动操作的距离大于等于所述预定距离,所述检测模块20进一步地控制所述子展示区域滚动显示。所述检测模块20进一步地将所述滑动操作停止的位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示。If the operation instruction is a sliding operation, the detection module 20 determines whether the distance of the sliding operation is less than a predetermined distance. If the distance of the sliding operation is greater than or equal to the predetermined distance, the detection module 20 further controls the scroll display of the sub-display area. The detection module 20 further displays the sub-display area corresponding to the position where the sliding operation is stopped in the content display area, and displays the sub-label corresponding to the sub-display area displayed on the top The label display area is highlighted.
若所述滑动操作的距离小于所述预定距离,所述检测模块20识别为误操作不产生任何动作。If the distance of the sliding operation is less than the predetermined distance, the detection module 20 recognizes that the operation is incorrect and does not cause any action.
所述操作指令产生在所述标签显示区域内时,所述检测模块20进一步将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示。When the operation instruction is generated in the label display area, the detection module 20 further highlights the sub label corresponding to the stop position of the operation instruction, and displays the corresponding sub display area on top.
所述检测模块20进一步地检测所述操作指令是否为点击操作。若所述操作指令为点击操 作,所述检测模块20进一步地将与所述操作指令产生位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示。The detection module 20 further detects whether the operation instruction is a click operation. If the operation instruction is a click operation, the detection module 20 further highlights the subtag corresponding to the position where the operation instruction is generated in the tag display area, and compares it with the highlighted The sub display area corresponding to the sub tag has a built-in top display in the content display area.
本申请的至少一个实施例中,所述点击操作可以为单击或双击。In at least one embodiment of the present application, the click operation may be a single click or a double click.
若所述操作指令为滑动操作时,所述检测模块20判断所述滑动操作的距离是否小于预定距离。若所述滑动操作的距离大于等于所述预定距离,所述检测模块20进一步地控制所述子标签滚动显示。所述检测模块20进一步地将所述滑动操作停止的位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示。If the operation instruction is a sliding operation, the detection module 20 determines whether the distance of the sliding operation is less than a predetermined distance. If the distance of the sliding operation is greater than or equal to the predetermined distance, the detection module 20 further controls the scrolling display of the sub-tabs. The detection module 20 further highlights the sub-tag corresponding to the position where the sliding operation is stopped in the tag display area, and displays the sub-display area corresponding to the highlighted sub-tag A top display is built in the content display area.
若所述滑动操作的距离小于所述预定距离,所述检测模块20识别为误操作不产生任何动作。If the distance of the sliding operation is less than the predetermined distance, the detection module 20 recognizes that the operation is incorrect and does not cause any action.
由以上实施例可知,TAB页面具有内容展示区域,且根据在内容展示区域的切换操作一并调整标签显示区域高亮显示的子标签,避免了在TAB切换过程中盲目切换,实现了终端设备操作体验的优化。It can be seen from the above embodiments that the TAB page has a content display area, and the highlighted sub-tabs in the label display area are adjusted according to the switching operation in the content display area, which avoids blind switching during the TAB switching process and realizes terminal device operation Optimization of experience.
请参阅图6,其为本申请实施例的一种终端设备。该终端设备上存储有计算机可读指令。所述终端设备包括存储器102、通信总线104以及处理器106。所述计算机可读指令可被存储于存储器102上,且当被一个或多个处理器106执行时,从而实现如上文方法实施例所述的页面切换控制方法。Please refer to FIG. 6, which is a terminal device according to an embodiment of the application. Computer readable instructions are stored on the terminal device. The terminal device includes a memory 102, a communication bus 104, and a processor 106. The computer-readable instructions may be stored on the memory 102, and when executed by one or more processors 106, so as to realize the page switching control method as described in the above method embodiments.
所述存储器102用于存储程序代码,所述程序代码为一系列的计算机可读指令。所述存储器102可以是集成电路中没有实物形式的具有存储功能的电路,如内存条、TF卡(Trans-flash Card)、智能媒体卡(smart media card)、安全数字卡(secure digital card)、快闪存储器卡(flash card)等储存设备。所述存储器102可通过通信总线104与处理器106进行数据通信。所述存储器102中可以包括操作系统、网络通信模块以及页面切换控制程序。操作系统是管理和控制页面切换控制设备硬件和软件资源的程序,支持文件页面切换控制程序以及其他软件和/或程序的运行。网络通信模块用于实现所述存储器102内部各组件之间的通信,以及与页面切换控制设备中其他硬件和软件之间通信。The memory 102 is used to store program code, and the program code is a series of computer readable instructions. The memory 102 may be a circuit with a storage function in an integrated circuit without a physical form, such as a memory stick, a TF card (Trans-flash Card), a smart media card (smart media card), a secure digital card (secure digital card), Storage devices such as flash cards. The memory 102 can perform data communication with the processor 106 through the communication bus 104. The memory 102 may include an operating system, a network communication module, and a page switching control program. The operating system is a program that manages and controls page switching control equipment hardware and software resources, and supports the operation of file page switching control programs and other software and/or programs. The network communication module is used to implement communication between various components in the memory 102 and communication with other hardware and software in the page switching control device.
所述处理器106可以包括一个或者多个微处理器、数字处理器。所述处理器106可调用所述存储器102中存储的程序代码以执行相关的功能。例如,图5中所述的各个模块是存储在所述存储器102中的程序代码,并由所述处理器106所执行,以实现一种页面切换控制方法。所述处理器106又称中央处理器(CPU,Central Processing Unit),是一块超大规模的集成电路,是运算核心(Core)和控制核心(Control Unit)。The processor 106 may include one or more microprocessors and digital processors. The processor 106 can call the program code stored in the memory 102 to perform related functions. For example, the various modules described in FIG. 5 are program codes stored in the memory 102 and executed by the processor 106 to implement a page switching control method. The processor 106 is also called a central processing unit (CPU, Central Processing Unit), which is a very large-scale integrated circuit, which is a computing core (Core) and a control core (Control Unit).
所述处理器106用于执行所述存储器102中存储的多个计算机可读指令以实现页面切换控制方法,所述处理器106可执行多个计算机可读指令从而实现以下步骤:The processor 106 is configured to execute multiple computer-readable instructions stored in the memory 102 to implement a page switching control method, and the processor 106 can execute multiple computer-readable instructions to implement the following steps:
S10、在终端设备执行页面切换指令时,显示TAB页面。S10. When the terminal device executes the page switching instruction, display the TAB page.
本申请的至少一个实施例中,所述页面切换控制方法应用于至少一终端设备中。所述终端设备通过网络与服务器建立通信连接。所述终端设备内可执行多个应用程序。每个所述应用程序具有对应的工作界面。所述终端设备具有显示屏幕。所述显示屏幕用于显示每个所述应用程序对应的工作界面。In at least one embodiment of the present application, the page switching control method is applied to at least one terminal device. The terminal device establishes a communication connection with the server through the network. Multiple application programs can be executed in the terminal device. Each of the application programs has a corresponding working interface. The terminal device has a display screen. The display screen is used to display a working interface corresponding to each application program.
本申请的至少一个实施例中,所述TAB页面可以为在多个所述应用程序之间切换对应的交互界面,也可以为指定应用程序对应的工作界面。所述TAB页面一般包括标签显示区域和内容展示区域。所述标签显示区域和所述内容展示区域呈两行方式平行显示于所述终端设备的显示屏幕内。在其他实施方式中,所述标签显示区域和所述内容展示区域也可呈两列方式平行显示于所述终端设备的显示屏幕内。所述标签显示区域用于显示应用程序的名称或标签名称。所述标签显示区域可进一步包括多个子标签。每个所述子标签对应一个标签名称,且对应一个展示内容。多个所述子标签呈一行且间隔一定距离排列。所述标签显示区域内具有唯一高亮显示的所述子标签。在本申请的至少一实施例中,所述子标签的数量为预定值。所述内容展示区域用于显示包括多个子展示区域。每个所述子展示区域对应一个所述子标签,用于展示对应的所述子标签的展示内容。所述多个子展示区域以部分层叠的方式堆叠设置,且与高亮显示的所述子标签对应的所述子展示区域位于最上层。其中,位于顶层的所述子展示区域可以以预定透明度进行显示,以使得位于顶层下的其他所述子展示区域以预定顺序透过位于顶层的所述子展示区域进行部分展示。本申请的至少一个实施例中,所述每个子展示区域内对应的内容可根据用户的自定义进行设置,也可以为所述终端设备中默认的内容。In at least one embodiment of the present application, the TAB page may be a corresponding interactive interface for switching between multiple applications, or may be a work interface corresponding to a designated application. The TAB page generally includes a label display area and a content display area. The label display area and the content display area are displayed in parallel on the display screen of the terminal device in a two-line manner. In other embodiments, the label display area and the content display area may also be displayed in parallel on the display screen of the terminal device in two columns. The label display area is used to display the name of the application program or the label name. The label display area may further include a plurality of sub-labels. Each of the sub-labels corresponds to a label name and corresponds to a display content. A plurality of said sub-tags are arranged in a row with a certain distance apart. There is the only highlighted sub-tag in the tag display area. In at least one embodiment of the present application, the number of the sub-tags is a predetermined value. The content display area is used to display a plurality of sub-display areas. Each of the sub-display areas corresponds to one sub-label, and is used to display the display content of the corresponding sub-label. The plurality of sub-display areas are stacked in a partially stacked manner, and the sub-display area corresponding to the highlighted sub-tag is located at the uppermost layer. Wherein, the sub-display area located on the top layer may be displayed with a predetermined transparency, so that other sub-display areas located under the top layer are partially displayed through the sub-display area located on the top layer in a predetermined order. In at least one embodiment of the present application, the corresponding content in each sub-display area can be set according to user's customization, or it can be the default content in the terminal device.
请一并参阅图2,本申请的至少一个实施例中,所述显示TAB页面的步骤进一步包括:Please also refer to FIG. 2. In at least one embodiment of the present application, the step of displaying the TAB page further includes:
S110、判断所述子标签的个数是否大于基准值;S110: Determine whether the number of the subtags is greater than a reference value;
S111、若所述子标签的个数大于所述基准值,则根据所述子标签的个数调整所述子标签的显示方式;S111: If the number of subtags is greater than the reference value, adjust the display mode of the subtags according to the number of subtags;
S112、若所述子标签的个数小于等于所述基准值,则将所述子标签以第一基准宽度进行显示;S112. If the number of the subtags is less than or equal to the reference value, display the subtags with a first reference width;
S113、识别所述标签显示区域内高亮显示的所述子标签;S113: Identify the highlighted subtag in the tag display area;
S114、获取与高亮显示的所述子标签对应的所述子展示区域,并在所述内容展示区域内置顶显示。S114. Obtain the sub-display area corresponding to the highlighted sub-tag, and build a top display in the content display area.
本申请的至少一个实施例中,所述根据所述子标签的个数调整所述子标签的显示方式为 根据排列顺序显示与所述基准值对应数量的所述子标签并隐藏其他所述子标签。In at least one embodiment of the present application, the adjusting the display mode of the sub-tags according to the number of the sub-tags is to display the number of the sub-tags corresponding to the reference value according to the arrangement sequence and hide the other sub-tags. label.
在本申请的另一实施例中,所述根据所述子标签的个数调整所述子标签的显示方式为调整所述子标签的宽度为第二基准宽度。所述第一基准宽度大于所述第二基准宽度。In another embodiment of the present application, the adjustment of the display mode of the subtags according to the number of the subtags is to adjust the width of the subtags to a second reference width. The first reference width is greater than the second reference width.
S12、在侦测到操作指令时,检测所述操作指令是否产生在所述内容展示区域内。S12. When an operation instruction is detected, detect whether the operation instruction is generated in the content display area.
本申请的至少一个实施例中,用户可以在所述标签显示区域内进行操作而产生,也可在所述内容展示区域内进行操作而产生。In at least one embodiment of the present application, the user may perform operations in the label display area, and may also perform operations in the content display area.
S13、所述操作指令产生在所述内容展示区域内时,将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应的所述子标签在所述标签显示区域内高亮显示。S13. When the operation instruction is generated in the content display area, display the sub-display area corresponding to the stop position of the operation instruction on top, and put the corresponding sub-label in the label display area. Highlighted inside.
请一并参阅图3,本申请的至少一个实施例中,所述将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应的所述子标签在所述标签显示区域内高亮显示的步骤进一步包括:Please also refer to FIG. 3. In at least one embodiment of the present application, the sub-display area corresponding to the stop position of the operation instruction is placed on top for display, and the corresponding sub-label is placed on the label. The step of highlighting in the display area further includes:
S131、检测所述操作指令是否为点击操作;S131: Detect whether the operation instruction is a click operation;
S132、若所述操作指令为点击操作,则将与所述操作指令产生位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示;S132. If the operation instruction is a click operation, the sub display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and the sub display area corresponding to the top display is displayed. The sub-label is highlighted in the label display area;
S133、若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;S133: If the operation instruction is a sliding operation, determine whether the distance of the sliding operation is less than a predetermined distance;
S134、若所述滑动操作的距离大于等于所述预定距离,则控制所述子展示区域滚动显示;S134: If the distance of the sliding operation is greater than or equal to the predetermined distance, control the scroll display of the sub-display area;
S135、将所述滑动操作停止的位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示;S135. The sub-display area corresponding to the position where the sliding operation is stopped is displayed on the top of the content display area, and the sub-label corresponding to the sub-display area displayed on the top is displayed in the label display area. Highlight inside;
S136、若所述滑动操作的距离小于所述预定距离,则识别为误操作。S136. If the distance of the sliding operation is less than the predetermined distance, it is recognized as a misoperation.
本申请的至少一个实施例中,所述点击操作可以为单击或双击。In at least one embodiment of the present application, the click operation may be a single click or a double click.
S14、检测所述操作指令是否产生在所述标签显示区域内。S14. Detect whether the operation instruction is generated in the label display area.
S15、所述操作指令产生在所述标签显示区域内时,将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示。S15. When the operation instruction is generated in the label display area, highlight the sub-label corresponding to the stop position of the operation instruction, and display the corresponding sub-display area on top.
请一并参阅图4,本申请的至少一个实施例中,所述将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示的步骤进一步包括:Please also refer to FIG. 4, in at least one embodiment of the present application, the step of highlighting the sub-tag corresponding to the stop position of the operation instruction and displaying the corresponding sub-display area on top is further include:
S151、检测所述操作指令是否为点击操作;S151: Detect whether the operation instruction is a click operation;
S152、若所述操作指令为在所述标签显示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示;S152. If the operation instruction is a click operation in the label display area, highlight the sub-label corresponding to the position where the operation instruction is generated in the label display area, and compare it with the high The sub-display area corresponding to the highlighted sub-tab has a built-in top display in the content display area;
S153、若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;S153: If the operation instruction is a sliding operation, determine whether the distance of the sliding operation is less than a predetermined distance;
S154、若所述滑动操作的距离大于等于所述预定距离,则控制所述子标签滚动显示;S154: If the distance of the sliding operation is greater than or equal to the predetermined distance, control the sub-tab to scroll and display;
S155、将所述滑动操作停止的位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示;S155. Highlight the sub-label corresponding to the position where the sliding operation is stopped in the label display area, and display the sub-display area corresponding to the highlighted sub-label in the content Built-in top display in the area;
S156、若所述滑动操作的距离小于所述预定距离,则识别为误操作。S156. If the distance of the sliding operation is less than the predetermined distance, it is recognized as a misoperation.
由以上实施例可知,TAB页面具有内容展示区域,且根据在内容展示区域的切换操作一并调整标签显示区域对应高亮显示的子标签,避免了在TAB切换过程中盲目切换,实现了终端设备操作体验的优化。It can be seen from the above embodiments that the TAB page has a content display area, and according to the switching operation in the content display area, the highlighted sub-tabs corresponding to the label display area are adjusted together, which avoids blind switching during the TAB switching process and realizes the terminal equipment Optimization of operating experience.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the sequence of actions described. Because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请的各个实施例中的各功能模块可以集成在一个处理器中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processor, or each module may exist alone physically, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules.
所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干计算机可读指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a non-volatile computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several computer-readable instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机非易失性 可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile computer. In a readable storage medium, when the computer-readable instructions are executed, they may include the processes of the above-mentioned method embodiments. Wherein, any reference to the memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
还需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should also be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements , But also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, article or device that includes the element.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they can still The technical solutions described in the embodiments are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种页面切换控制方法,其特征在于,所述页面切换控制方法包括:A page switching control method, characterized in that, the page switching control method includes:
    在终端设备执行页面切换指令时,显示TAB页面;所述TAB页面包括标签显示区域和内容展示区域;所述标签显示区域内包括多个子标签,且多个所述子标签中具有一个高亮显示的所述子标签;所述内容展示区域包括多个子展示区域;When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
    在侦测到操作指令时,检测所述操作指令是否产生在所述内容展示区域内;When an operation instruction is detected, detecting whether the operation instruction is generated in the content display area;
    所述操作指令产生在所述内容展示区域内时,将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示。When the operation instruction is generated in the content display area, the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
  2. 如权利要求1所述的页面切换控制方法,其特征在于,所述显示TAB页面的步骤包括:8. The page switching control method of claim 1, wherein the step of displaying the TAB page comprises:
    判断所述子标签的个数是否大于基准值;Judging whether the number of the sub-tags is greater than a reference value;
    若所述子标签的个数大于所述基准值,则根据所述子标签的个数调整所述子标签的显示方式;If the number of subtags is greater than the reference value, adjusting the display mode of the subtags according to the number of subtags;
    若所述子标签的个数小于等于所述基准值,则将所述子标签以第一基准宽度进行显示;If the number of the sub-tags is less than or equal to the reference value, display the sub-tags with the first reference width;
    识别所述标签显示区域内高亮显示的所述子标签;Identifying the highlighted subtag in the tag display area;
    获取与高亮显示的所述子标签对应的子展示区域,并在所述内容展示区域内置顶显示。Obtain the sub-display area corresponding to the highlighted sub-tag, and build a top display in the content display area.
  3. 如权利要求2所述的页面切换控制方法,其特征在于,所述根据所述子标签的个数调整所述子标签的显示方式,包括:3. The page switching control method according to claim 2, wherein the adjusting the display mode of the sub-tabs according to the number of the sub-tabs comprises:
    根据排列顺序显示与所述基准值对应数量的所述子标签并隐藏其他所述子标签。According to the arrangement sequence, the number of the subtags corresponding to the reference value is displayed and the other subtags are hidden.
  4. 如权利要求2所述的页面切换控制方法,其特征在于,所述根据所述子标签的个数调整所述子标签的显示方式,包括:3. The page switching control method according to claim 2, wherein the adjusting the display mode of the sub-tabs according to the number of the sub-tabs comprises:
    调整所述子标签的宽度为第二基准宽度;所述第一基准宽度大于所述第二基准宽度。Adjust the width of the sub-label to a second reference width; the first reference width is greater than the second reference width.
  5. 如权利要求1所述的页面切换控制方法,其特征在于,所述将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示的步骤进一步包括:The page switching control method of claim 1, wherein the sub-display area corresponding to the stop position of the operation instruction is displayed on top of the display, and the sub-tab is displayed in the tab correspondingly. The steps of highlighting in the area further include:
    检测所述操作指令是否为点击操作;Detecting whether the operation instruction is a click operation;
    若所述操作指令为在所述内容展示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示;If the operation instruction is a click operation in the content display area, the sub-display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and will be displayed in the same way as the top display. The sub-label corresponding to the sub-display area is highlighted in the label display area;
    若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;If the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance;
    若所述滑动操作的距离大于等于所述预定距离,则控制所述子展示区域滚动显示;If the distance of the sliding operation is greater than or equal to the predetermined distance, controlling the sub-display area to scroll and display;
    将所述滑动操作停止的位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示。The sub-display area corresponding to the position where the sliding operation is stopped is displayed on the top of the content display area, and the sub-label corresponding to the sub-display area displayed on the top is higher in the label display area. Bright display.
  6. 如权利要求1所述的页面切换控制方法,其特征在于,所述页面切换控制方法进一步包括:8. The page switching control method of claim 1, wherein the page switching control method further comprises:
    检测所述操作指令是否产生在所述标签显示区域内;Detecting whether the operation instruction is generated in the label display area;
    所述操作指令产生在所述标签显示区域内时,将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示。When the operation instruction is generated in the label display area, the sub-label corresponding to the stop position of the operation instruction is highlighted, and the corresponding sub-display area is displayed on top.
  7. 如权利要求6所述的页面切换控制方法,其特征在于,所述将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示的步骤进一步包括:The page switching control method according to claim 6, wherein the step of highlighting the sub-tag corresponding to the stop position of the operation instruction, and displaying the corresponding sub-display area on top include:
    检测所述操作指令是否为点击操作;Detecting whether the operation instruction is a click operation;
    若所述操作指令为在所述标签显示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子标签高亮显示,并将与所述子标签高亮显示对应的所述子展示区域在所述内容展示区域内置顶显示;If the operation instruction is a click operation in the label display area, the sub-label corresponding to the position where the operation instruction is generated will be highlighted, and all the corresponding sub-labels will be highlighted. The sub display area has a built-in top display in the content display area;
    若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;If the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance;
    若所述滑动操作的距离大于等于所述预定距离,则控制所述子标签滚动显示;If the distance of the sliding operation is greater than or equal to the predetermined distance, controlling the sub-tab to scroll and display;
    将所述滑动操作停止的位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示。Highlight the sub-tag corresponding to the position where the sliding operation is stopped in the tag display area, and highlight the sub-display area corresponding to the highlighted sub-tag in the content display area Show on top.
  8. 一种页面切换控制装置,其特征在于,所述页面切换控制装置包括:A page switching control device, characterized in that the page switching control device includes:
    获取模块,用于在终端设备执行页面切换指令时显示TAB页面;所述TAB页面包括标签显示区域和内容展示区域;所述标签显示区域内包括多个子标签,且多个所述子标签中具有一个高亮显示的所述子标签;所述内容展示区域包括多个子展示区域;The acquisition module is used to display a TAB page when the terminal device executes a page switching instruction; the TAB page includes a label display area and a content display area; the label display area includes a plurality of sub-tabs, and the plurality of sub-tabs have One highlighted sub-tab; the content display area includes multiple sub-display areas;
    检测模块,用于在侦测到操作指令时检测所述操作指令是否产生在所述内容展示区域内;The detection module is used to detect whether the operation instruction is generated in the content display area when the operation instruction is detected;
    所述操作指令产生在所述内容展示区域内时,所述检测模块将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域高亮显示。When the operation instruction is generated in the content display area, the detection module displays the sub-display area corresponding to the stop position of the operation instruction on top, and displays the corresponding sub-label in the label The area is highlighted.
  9. 一种终端设备,其特征在于,所述终端设备包括处理器和存储器,所述处理器用于执行所述存储器中存储的计算机可读指令时实现如下步骤:A terminal device, characterized in that the terminal device includes a processor and a memory, and the processor is configured to implement the following steps when executing computer-readable instructions stored in the memory:
    在终端设备执行页面切换指令时,显示TAB页面;所述TAB页面包括标签显示区域和内容展示区域;所述标签显示区域内包括多个子标签,且多个所述子标签中具有一个高亮显示的所述子标签;所述内容展示区域包括多个子展示区域;When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
    在侦测到操作指令时,检测所述操作指令是否产生在所述内容展示区域内;When an operation instruction is detected, detecting whether the operation instruction is generated in the content display area;
    所述操作指令产生在所述内容展示区域内时,将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示。When the operation instruction is generated in the content display area, the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
  10. 如权利要求9所述的终端设备,其特征在于,所述处理器用于执行所述计算机可读指令以实现所述显示TAB页面时,包括以下步骤:9. The terminal device according to claim 9, wherein when the processor is configured to execute the computer-readable instruction to realize the display of the TAB page, it comprises the following steps:
    判断所述子标签的个数是否大于基准值;Judging whether the number of the sub-tags is greater than a reference value;
    若所述子标签的个数大于所述基准值,则根据所述子标签的个数调整所述子标签的显示方式;If the number of subtags is greater than the reference value, adjusting the display mode of the subtags according to the number of subtags;
    若所述子标签的个数小于等于所述基准值,则将所述子标签以第一基准宽度进行显示;If the number of the sub-tags is less than or equal to the reference value, display the sub-tags with the first reference width;
    识别所述标签显示区域内高亮显示的所述子标签;Identifying the highlighted subtag in the tag display area;
    获取与高亮显示的所述子标签对应的子展示区域,并在所述内容展示区域内置顶显示。Obtain the sub-display area corresponding to the highlighted sub-tag, and build a top display in the content display area.
  11. 如权利要求10所述的终端设备,其特征在于,所述处理器执行所述计算机可读指令以实现所述根据所述子标签的个数调整所述子标签的显示方式时,包括以下步骤:The terminal device according to claim 10, wherein when the processor executes the computer-readable instructions to implement the adjustment of the display mode of the subtags according to the number of the subtags, the method comprises the following steps :
    根据排列顺序显示与所述基准值对应数量的所述子标签并隐藏其他所述子标签。According to the arrangement sequence, the number of the subtags corresponding to the reference value is displayed and the other subtags are hidden.
  12. 如权利要求9所述的终端设备,其特征在于,所述处理器执行所述计算机可读指令以实现将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示时,包括以下步骤:The terminal device of claim 9, wherein the processor executes the computer-readable instruction to display the sub-display area corresponding to the stop position of the operation instruction on top of the display, and correspondingly When the sub-label is highlighted in the label display area, the following steps are included:
    检测所述操作指令是否为点击操作;Detecting whether the operation instruction is a click operation;
    若所述操作指令为在所述内容展示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示;If the operation instruction is a click operation in the content display area, the sub-display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and will be displayed in the same way as the top display. The sub-label corresponding to the sub-display area is highlighted in the label display area;
    若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;If the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance;
    若所述滑动操作的距离大于等于所述预定距离,则控制所述子展示区域滚动显示;If the distance of the sliding operation is greater than or equal to the predetermined distance, controlling the sub-display area to scroll and display;
    将所述滑动操作停止的位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示。The sub-display area corresponding to the position where the sliding operation is stopped is displayed on the top of the content display area, and the sub-label corresponding to the sub-display area displayed on the top is higher in the label display area. Bright display.
  13. 如权利要求9所述的终端设备,其特征在于,所述处理器用于执行所述计算机可读指令时还用以实现如下步骤:9. The terminal device of claim 9, wherein the processor is further configured to implement the following steps when the processor is used to execute the computer-readable instructions:
    检测所述操作指令是否产生在所述标签显示区域内;Detecting whether the operation instruction is generated in the label display area;
    所述操作指令产生在所述标签显示区域内时,将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示。When the operation instruction is generated in the label display area, the sub-label corresponding to the stop position of the operation instruction is highlighted, and the corresponding sub-display area is displayed on top.
  14. 如权利要求13所述的终端设备,其特征在于,所述处理器用于执行所述计算机可读指令以实现所述将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子 展示区域置顶显示时,包括以下步骤:The terminal device of claim 13, wherein the processor is configured to execute the computer-readable instruction to realize the highlighting of the sub-tag corresponding to the stop position of the operation instruction, and When the corresponding sub-display area is displayed on top, the following steps are included:
    检测所述操作指令是否为点击操作;Detecting whether the operation instruction is a click operation;
    若所述操作指令为在所述标签显示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子标签高亮显示,并将与所述子标签高亮显示对应的所述子展示区域在所述内容展示区域内置顶显示;If the operation instruction is a click operation in the label display area, the sub-label corresponding to the position where the operation instruction is generated will be highlighted, and all the corresponding sub-labels will be highlighted. The sub display area has a built-in top display in the content display area;
    若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;If the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance;
    若所述滑动操作的距离大于等于所述预定距离,则控制所述子标签滚动显示;If the distance of the sliding operation is greater than or equal to the predetermined distance, controlling the sub-tab to scroll and display;
    将所述滑动操作停止的位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示。Highlight the sub-tag corresponding to the position where the sliding operation is stopped in the tag display area, and highlight the sub-display area corresponding to the highlighted sub-tag in the content display area Show on top.
  15. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现如下步骤:A non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores at least one computer-readable instruction, which is implemented when executed by a processor The following steps:
    在终端设备执行页面切换指令时,显示TAB页面;所述TAB页面包括标签显示区域和内容展示区域;所述标签显示区域内包括多个子标签,且多个所述子标签中具有一个高亮显示的所述子标签;所述内容展示区域包括多个子展示区域;When the terminal device executes the page switching instruction, the TAB page is displayed; the TAB page includes a label display area and a content display area; the label display area includes multiple sub-tabs, and one of the multiple sub-tabs has a highlight display The sub-tab; the content display area includes multiple sub-display areas;
    在侦测到操作指令时,检测所述操作指令是否产生在所述内容展示区域内;When an operation instruction is detected, detecting whether the operation instruction is generated in the content display area;
    所述操作指令产生在所述内容展示区域内时,将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签在所述标签显示区域内高亮显示。When the operation instruction is generated in the content display area, the sub-display area corresponding to the stop position of the operation instruction is displayed on top, and the corresponding sub-label is highlighted in the label display area. display.
  16. 如权利要求15所述的存储介质,其特征在于,所述计算机可读指令被处理器执行以实现所述显示TAB页面时,包括以下步骤:15. The storage medium of claim 15, wherein when the computer-readable instructions are executed by a processor to implement the TAB page display, the method comprises the following steps:
    判断所述子标签的个数是否大于基准值;Judging whether the number of the sub-tags is greater than a reference value;
    若所述子标签的个数大于所述基准值,则根据所述子标签的个数调整所述子标签的显示方式;If the number of subtags is greater than the reference value, adjusting the display mode of the subtags according to the number of subtags;
    若所述子标签的个数小于等于所述基准值,则将所述子标签以第一基准宽度进行显示;If the number of the sub-tags is less than or equal to the reference value, display the sub-tags with the first reference width;
    识别所述标签显示区域内高亮显示的所述子标签;Identifying the highlighted subtag in the tag display area;
    获取与高亮显示的所述子标签对应的子展示区域,并在所述内容展示区域内置顶显示。Obtain the sub display area corresponding to the highlighted sub tag, and build a top display in the content display area.
  17. 如权利要求16所述的存储介质,其特征在于,所述计算机可读指令被处理器执行以实现所述根据所述子标签的个数调整所述子标签的显示方式时,包括以下步骤:15. The storage medium according to claim 16, wherein when the computer-readable instructions are executed by a processor to adjust the display mode of the subtags according to the number of the subtags, the method comprises the following steps:
    根据排列顺序显示与所述基准值对应数量的所述子标签并隐藏其他所述子标签。According to the arrangement sequence, the number of the subtags corresponding to the reference value is displayed and the other subtags are hidden.
  18. 如权利要求15所述的存储介质,其特征在于,所述计算机可读指令被处理器执行以实现将所述操作指令的停止位置对应的所述子展示区域置顶显示,且一并将对应所述子标签 在所述标签显示区域内高亮显示时,包括以下步骤:The storage medium according to claim 15, wherein the computer-readable instructions are executed by a processor to display the sub-display area corresponding to the stop position of the operation instruction on top of the display, and corresponding to all When the sub-label is highlighted in the label display area, the following steps are included:
    检测所述操作指令是否为点击操作;Detecting whether the operation instruction is a click operation;
    若所述操作指令为在所述内容展示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示;If the operation instruction is a click operation in the content display area, the sub-display area corresponding to the position where the operation instruction is generated is built-in top display in the content display area, and will be displayed in the same way as the top display. The sub-label corresponding to the sub-display area is highlighted in the label display area;
    若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;If the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance;
    若所述滑动操作的距离大于等于所述预定距离,则控制所述子展示区域滚动显示;If the distance of the sliding operation is greater than or equal to the predetermined distance, controlling the sub-display area to scroll and display;
    将所述滑动操作停止的位置对应的所述子展示区域在所述内容展示区域内置顶显示,并将与置顶显示的所述子展示区域对应的所述子标签在所述标签显示区域内高亮显示。The sub-display area corresponding to the position where the sliding operation is stopped is displayed on the top of the content display area, and the sub-label corresponding to the sub-display area displayed on the top is higher in the label display area. Bright display.
  19. 如权利要求15所述的存储介质,其特征在于,所述计算机可读指令被处理器执行还用以实现如下步骤:15. The storage medium of claim 15, wherein the computer-readable instructions are executed by the processor to further implement the following steps:
    检测所述操作指令是否产生在所述标签显示区域内;Detecting whether the operation instruction is generated in the label display area;
    所述操作指令产生在所述标签显示区域内时,将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示。When the operation instruction is generated in the label display area, the sub-label corresponding to the stop position of the operation instruction is highlighted, and the corresponding sub-display area is displayed on top.
  20. 如权利要求19所述的存储介质,其特征在于,所述计算机可读指令被处理器执行以实现所述将所述操作指令的停止位置对应的所述子标签高亮显示,并将对应的所述子展示区域置顶显示时,包括以下步骤:The storage medium according to claim 19, wherein the computer-readable instructions are executed by the processor to realize the highlighting of the sub-tag corresponding to the stop position of the operation instruction, and the corresponding When the sub-display area is displayed on top, the following steps are included:
    检测所述操作指令是否为点击操作;Detecting whether the operation instruction is a click operation;
    若所述操作指令为在所述标签显示区域内的点击操作时,则将与所述操作指令产生位置对应的所述子标签高亮显示,并将与所述子标签高亮显示对应的所述子展示区域在所述内容展示区域内置顶显示;If the operation instruction is a click operation in the label display area, the sub-label corresponding to the position where the operation instruction is generated will be highlighted, and all the corresponding sub-labels will be highlighted. The sub display area has a built-in top display in the content display area;
    若所述操作指令为滑动操作时,判断所述滑动操作的距离是否小于预定距离;If the operation instruction is a sliding operation, determining whether the distance of the sliding operation is less than a predetermined distance;
    若所述滑动操作的距离大于等于所述预定距离,则控制所述子标签滚动显示;If the distance of the sliding operation is greater than or equal to the predetermined distance, controlling the sub-tab to scroll and display;
    将所述滑动操作停止的位置对应的所述子标签在所述标签显示区域内高亮显示,并将与高亮显示的所述子标签对应的所述子展示区域在所述内容展示区域内置顶显示。Highlight the sub-tag corresponding to the position where the sliding operation is stopped in the tag display area, and highlight the sub-display area corresponding to the highlighted sub-tag in the content display area Show on top.
PCT/CN2019/118605 2019-01-15 2019-11-14 Method, device and apparatus for page switching control and storage medium WO2020147411A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910037003.5A CN109918002A (en) 2019-01-15 2019-01-15 Page switching control method, device, equipment and computer readable storage medium
CN201910037003.5 2019-01-15

Publications (1)

Publication Number Publication Date
WO2020147411A1 true WO2020147411A1 (en) 2020-07-23

Family

ID=66960319

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118605 WO2020147411A1 (en) 2019-01-15 2019-11-14 Method, device and apparatus for page switching control and storage medium

Country Status (2)

Country Link
CN (1) CN109918002A (en)
WO (1) WO2020147411A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918002A (en) * 2019-01-15 2019-06-21 平安科技(深圳)有限公司 Page switching control method, device, equipment and computer readable storage medium
CN111338625B (en) * 2020-02-20 2023-04-18 广东小天才科技有限公司 Data processing method, system, terminal equipment and storage medium
CN111625167B (en) * 2020-05-28 2021-08-24 上海哔哩哔哩科技有限公司 Page switching method and device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020163545A1 (en) * 2001-05-01 2002-11-07 Hii Samuel S. Method of previewing web page content while interacting with multiple web page controls
CN101807202A (en) * 2010-02-24 2010-08-18 深圳市五巨科技有限公司 Mobile terminal browser optimization method and mobile terminal browser
CN105868250A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Page label management method and device of browser
CN109918002A (en) * 2019-01-15 2019-06-21 平安科技(深圳)有限公司 Page switching control method, device, equipment and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008146784A1 (en) * 2007-05-29 2008-12-04 Access Co., Ltd. Terminal, history management method, and computer usable recording medium for history management
CN103729106B (en) * 2012-10-10 2019-03-26 腾讯科技(深圳)有限公司 Webpage thumbnail display method and device
CN103218156B (en) * 2013-02-28 2016-08-03 广东欧珀移动通信有限公司 Realize the method for many Tab page layout switch and touch mobile terminal thereof
CN104866582A (en) * 2015-05-26 2015-08-26 安一恒通(北京)科技有限公司 Method and apparatus for displaying page information
CN105353953A (en) * 2015-10-16 2016-02-24 上海卓易科技股份有限公司 Method for switching tab pages and electronic equipment
CN107678637A (en) * 2017-09-14 2018-02-09 广州神马移动信息科技有限公司 Method, equipment, browser and the electronic equipment of handoff options card
CN107704158A (en) * 2017-11-09 2018-02-16 珠海市魅族科技有限公司 A kind of desktop icon management method and device, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020163545A1 (en) * 2001-05-01 2002-11-07 Hii Samuel S. Method of previewing web page content while interacting with multiple web page controls
CN101807202A (en) * 2010-02-24 2010-08-18 深圳市五巨科技有限公司 Mobile terminal browser optimization method and mobile terminal browser
CN105868250A (en) * 2015-12-16 2016-08-17 乐视移动智能信息技术(北京)有限公司 Page label management method and device of browser
CN109918002A (en) * 2019-01-15 2019-06-21 平安科技(深圳)有限公司 Page switching control method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109918002A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
WO2020147411A1 (en) Method, device and apparatus for page switching control and storage medium
AU2018212531B2 (en) Data content filter
US20200089719A1 (en) Rule and filter-based deeplinking between applications
US9600595B2 (en) Modification of windows across multiple displays
US8997134B2 (en) Controlling presentation flow based on content element feedback
US10656787B2 (en) Touch target optimization system
US20120192110A1 (en) Electronic device and information display method thereof
US20120254729A1 (en) Web page element presenting method and system
US10042523B2 (en) Classifying and organizing web resources in web browsers
US20120266104A1 (en) Method and Apparatus of Scrolling a Document Displayed in a Browser Window
US10445417B2 (en) Entry of values into multiple fields of a form using touch screens
US20140380228A1 (en) Method and device of controlling input for input boxes
EP3080722B1 (en) Web page rendering on wireless devices
US9065872B1 (en) Sharing service management
CN108415678B (en) Multi-screen display method and multi-screen display system
US10171542B2 (en) Method for providing cloud streaming service, device and system for same, and computer-readable recording medium having, recorded thereon, cloud streaming script code for same
WO2024012416A1 (en) Display method and apparatus
US20230177265A1 (en) Electronic apparatus recommending content-based search terms and control method thereof
US9772768B2 (en) Touch page control method and system
US20140245214A1 (en) Enabling search in a touchscreen device
US20140337801A1 (en) Methods and systems for displaying icons on a user interface
US20180181289A1 (en) Sizing applications based on display parameters
JP6536007B2 (en) Information processing apparatus, control method and program thereof
US11288356B2 (en) Electronic apparatus and control method thereof
US20230305686A1 (en) Information processing system, information processing method, and non-transitory computer readable 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: 19909871

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: 19909871

Country of ref document: EP

Kind code of ref document: A1