



技术领域technical field
本发明涉及计算机技术领域,尤其涉及一种多页签页面跳转定位方法、装置、电子设备及存储介质。The present invention relates to the field of computer technology, in particular to a multi-tab page jump positioning method, device, electronic equipment and storage medium.
背景技术Background technique
随着计算机技术的发展,各个领域的发展都离不开计算机设备的使用。用户在使用计算机时,经常需要打开某个应用程序进行操作,例如进入某处理平台查询某客户基本信息、经营状况、新闻舆情等多方面多维度的信息,这些维度的信息以页签的方式显示,每个维度又包含更底层的信息,比如经营状况包含资产负债表、现金流量表、利润表以及其他经营状况等二级子页签,而其他经营状况还包括抽查检查和双随机检查等更小维度的三级子页签。With the development of computer technology, the development of various fields is inseparable from the use of computer equipment. When using a computer, users often need to open an application to perform operations, such as entering a processing platform to query a customer's basic information, business status, news and public opinion, and other multi-dimensional and multi-dimensional information. The information of these dimensions is displayed in the form of tabs , and each dimension contains lower-level information. For example, operating status includes second-level sub-tabs such as balance sheet, cash flow statement, income statement, and other operating status, while other operating status also includes random checks and double random checks. Three-level sub-tabs for small dimensions.
如果用户想在多个三级子页签中进行浏览,需要用户事先知晓各级页签之间的对应关系。在进行实际浏览操作时,需要用户根据各级页签之间的对应关系,逐个查找,操作繁琐费时费力,效率低下,而且在查找的过程中,频繁调用后台接口,增加了后台的系统开销。If the user wants to browse in multiple third-level sub-tabs, the user needs to know the corresponding relationship between the tabs at all levels in advance. In the actual browsing operation, the user needs to search one by one according to the corresponding relationship between the tabs at all levels. The operation is cumbersome, time-consuming, laborious, and inefficient. In addition, during the search process, the background interface is frequently called, which increases the background system overhead.
因此,如何提高用户在多页签页面中的查找效率,提升用户的使用体验成为业界亟待解决的技术问题。Therefore, how to improve the user's search efficiency in the multi-tab page and improve the user's experience has become a technical problem to be solved urgently in the industry.
发明内容Contents of the invention
本发明提供一种多页签页面跳转定位方法、装置、电子设备及存储介质,用以解决现有技术中查找效率低操作繁琐的技术问题。The present invention provides a multi-tab page jump positioning method, device, electronic equipment and storage medium to solve the technical problem of low search efficiency and cumbersome operation in the prior art.
本发明提供一种多页签页面跳转定位方法,包括:The present invention provides a multi-tab page jump positioning method, including:
在当前页面监听到页签显示指令的情况下,在当前页面的第二显示区显示悬浮窗口;悬浮窗口用于显示当前页面的第一显示区中各个初始页签对应的多级子页签;When the current page monitors the tab display instruction, display the floating window in the second display area of the current page; the floating window is used to display the multi-level sub-tabs corresponding to each initial tab in the first display area of the current page;
在悬浮窗口监听到页签跳转指令的情况下,确定待跳转子页签的路由信息和页面标识;In the case that the floating window monitors the tab jump command, determine the routing information and page identification of the sub-tab to be jumped to;
基于待跳转子页签的路由信息,在第二显示区跳转显示待跳转子页签对应的目标页面,并基于待跳转子页签的页面标识,在目标页面中定位待跳转子页签对应的显示内容。Based on the routing information of the sub-tab to be jumped to, jump to display the target page corresponding to the sub-tab to be jumped to in the second display area, and locate the target page to be jumped to based on the page identification of the sub-tab to be jumped to The display content corresponding to the sub-tab.
根据本发明提供的一种多页签页面跳转定位方法,在当前页面的第二显示区显示悬浮窗口,包括:According to a multi-tab page jump positioning method provided by the present invention, a floating window is displayed in the second display area of the current page, including:
基于各个初始页签对应的多级子页签的数量以及各个子页签显示高度,确定各个初始页签在悬浮窗口中对应的子页签显示区域的显示高度;Based on the number of multi-level sub-tabs corresponding to each initial tab and the display height of each sub-tab, determine the display height of the sub-tab display area corresponding to each initial tab in the floating window;
在任一初始页签对应的子页签显示区域的显示高度大于悬浮窗口的显示高度的情况下,在任一初始页签对应的子页签显示区域中滚动显示任一初始页签对应的多级子页签,并在任一初始页签对应的子页签显示区域中显示滚动条;If the display height of the sub-tab display area corresponding to any initial tab is greater than the display height of the floating window, scroll and display the multi-level sub-tab corresponding to any initial tab in the sub-tab display area corresponding to any initial tab. tab, and display a scroll bar in the sub-tab display area corresponding to any initial tab;
其中,滚动条中滚动滑块的位置与任一初始页签对应的多级子页签的显示位置相对应。Wherein, the position of the scroll slider in the scroll bar corresponds to the display position of any multi-level sub-tab corresponding to any initial tab.
根据本发明提供的一种多页签页面跳转定位方法,在当前页面的第二显示区显示悬浮窗口,包括:According to a multi-tab page jump positioning method provided by the present invention, a floating window is displayed in the second display area of the current page, including:
在当前页面的第一显示区中监听鼠标事件;Monitor mouse events in the first display area of the current page;
在鼠标事件的事件参数与页签显示指令对应的事件参数相匹配的情况下,确定鼠标事件对应的操作指令为页签显示指令;When the event parameter of the mouse event matches the event parameter corresponding to the tab display instruction, determine that the operation instruction corresponding to the mouse event is a tab display instruction;
基于页签显示指令,获取第一显示区中各个初始页签对应的多级子页签;Obtaining multi-level sub-tabs corresponding to each initial tab in the first display area based on the tab display instruction;
基于各个初始页签对应的多级子页签的页签名称和页签链接信息,生成悬浮窗口,并在第二显示区中显示;Based on the tab name and tab link information of the multi-level sub-tabs corresponding to each initial tab, a floating window is generated and displayed in the second display area;
其中,悬浮窗口的显示尺寸小于或等于第二显示区的显示尺寸。Wherein, the display size of the floating window is smaller than or equal to the display size of the second display area.
根据本发明提供的一种多页签页面跳转定位方法,在鼠标事件的事件参数与页签显示指令对应的事件参数相匹配的情况下,确定鼠标事件对应的操作指令为页签显示指令,包括:According to a multi-tab page jump positioning method provided by the present invention, when the event parameter of the mouse event matches the event parameter corresponding to the tab display command, it is determined that the operation command corresponding to the mouse event is a tab display command, include:
在鼠标事件为鼠标指针静止的情况下,获取鼠标事件的静止时间参数;In the case that the mouse event is that the mouse pointer is still, get the still time parameter of the mouse event;
在静止时间参数大于或者等于预设时间参数的情况下,确定鼠标事件对应的操作指令为页签显示指令。When the static time parameter is greater than or equal to the preset time parameter, it is determined that the operation instruction corresponding to the mouse event is a tab display instruction.
根据本发明提供的一种多页签页面跳转定位方法,在悬浮窗口监听到页签跳转指令的情况下,确定待跳转子页签的路由信息和页面标识,包括:According to a multi-tab page jump positioning method provided by the present invention, in the case that the floating window monitors the page jump instruction, the routing information and page identification of the sub-tab to be jumped are determined, including:
在悬浮窗口中获取鼠标指针的移动位置;Obtain the moving position of the mouse pointer in the floating window;
在移动位置与任一子页签的页签名称的显示位置重合且监听到鼠标点击事件的情况下,确定在悬浮窗口监听到页签跳转指令;When the moving position coincides with the display position of the tab name of any sub-tab and the mouse click event is monitored, make sure that the tab jump command is monitored in the floating window;
将任一子页签确定为待跳转子页签,并对任一子页签的页签链接信息进行解析,得到待跳转子页签的路由信息和页面标识。Determine any sub-tab as a sub-tab to be jumped to, and analyze the page link information of any sub-tab to obtain the routing information and page identifier of the sub-tab to be jumped to.
根据本发明提供的一种多页签页面跳转定位方法,在悬浮窗口中获取鼠标指针的移动位置之后,方法包括:According to a multi-tab page jump positioning method provided by the present invention, after obtaining the moving position of the mouse pointer in the floating window, the method includes:
在移动位置与任一子页签的页签名称的显示位置重合的情况下,调整任一子页签的页签名称的显示颜色和/或显示格式。When the moving position coincides with the display position of the header name of any sub-tab, adjust the display color and/or display format of the header name of any sub-tab.
本发明还提供一种多页签页面跳转定位装置,包括:The present invention also provides a multi-tab page jump positioning device, including:
第一监听单元,用于在当前页面监听到页签显示指令的情况下,在当前页面的第二显示区显示悬浮窗口;悬浮窗口用于显示当前页面的第一显示区中各个初始页签对应的多级子页签;The first monitoring unit is used to display the floating window in the second display area of the current page when the current page monitors the page tab display instruction; the floating window is used to display the correspondence between each initial tab in the first display area of the current page multi-level sub-tabs;
第二监听单元,用于在悬浮窗口监听到页签跳转指令的情况下,确定待跳转子页签的路由信息和页面标识;The second monitoring unit is used to determine the routing information and page identification of the sub-tab to be jumped when the floating window monitors the tab jump instruction;
跳转定位单元,用于基于待跳转子页签的路由信息,在第二显示区跳转显示待跳转子页签对应的目标页面,并基于待跳转子页签的页面标识,在目标页面中定位待跳转子页签对应的显示内容。The jump positioning unit is used to jump and display the target page corresponding to the sub-tab to be jumped in the second display area based on the routing information of the sub-tab to be jumped to, and based on the page identification of the sub-tab to be jumped to, in Locate the display content corresponding to the sub-tab to be jumped to on the target page.
本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现如上述任一种多页签页面跳转定位方法。The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, any one of the above multi-tab page jump positioning methods is realized.
本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种多页签页面跳转定位方法。The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any method for jumping and locating a multi-tab page is implemented.
本发明还提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时实现如上述任一种多页签页面跳转定位方法。The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, any method for jumping and locating a multi-tab page is implemented.
本发明提供的多页签页面跳转定位方法、装置、电子设备及存储介质,通过设置悬浮窗口,并在悬浮窗口中显示各个初始页签对应的多级子页签,可以使用户直接看到初始页签和多级子页签的页签名称以及各级页签之间的对应关系;通过在悬浮窗口监听到页签跳转指令的情况下,确定待跳转子页签的路由信息和页面标识,基于待跳转子页签的路由信息可以在第二显示区跳转到待跳转子页签对应的目标页面,基于待跳转子页签的页面标识,可以在目标页面中定位到待跳转子页签对应的显示位置,所以用户能够快速获得待跳转子页签对应的目标页面并直接定位到待跳转子页签对应的显示位置,提高了用户在多页签页面中查找待跳转子页签的效率,提升了用户的使用体验。The multi-tab page jump positioning method, device, electronic equipment and storage medium provided by the present invention can allow users to directly see the multi-level sub-tabs corresponding to each initial tab by setting a floating window The page signature names of the initial tab and the multi-level sub-tabs and the corresponding relationship between the tabs at all levels; by monitoring the tab jump command in the floating window, determine the routing information of the sub-tab to be jumped and Page ID, based on the routing information of the sub-tab to be jumped to, you can jump to the target page corresponding to the sub-tab to be jumped to in the second display area, and based on the page ID of the sub-tab to be jumped to, you can locate it in the target page Go to the display position corresponding to the sub-tab to be jumped to, so the user can quickly obtain the target page corresponding to the sub-tab to be jumped to and directly locate the display position corresponding to the sub-tab to be jumped to, which improves the user experience in multi-tab pages The efficiency of finding the sub-tabs to be jumped in, which improves the user experience.
附图说明Description of drawings
为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the present invention or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present invention. For some embodiments of the invention, those skilled in the art can also obtain other drawings based on these drawings without creative effort.
图1是本发明提供的多页签页面跳转定位方法的应用场景图;FIG. 1 is an application scene diagram of the multi-tab page jump positioning method provided by the present invention;
图2是本发明提供的多页签页面跳转定位方法的流程示意图;Fig. 2 is a schematic flow chart of the multi-tab page jump positioning method provided by the present invention;
图3是本发明提供的多页签页面跳转定位装置的结构示意图;Fig. 3 is a schematic structural diagram of a multi-tab page jump positioning device provided by the present invention;
图4是本发明提供的电子设备的结构示意图。Fig. 4 is a schematic structural diagram of an electronic device provided by the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
需要说明的是,本发明中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the present invention are used to distinguish similar objects, but not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
在本发明的技术方案中,所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,采取了必要保密措施,且不违背公序良俗。In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved are all in compliance with relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good customs.
本发明提供一种多页签页面跳转定位方法、装置、电子设备及存储介质。图1是本发明提供的多页签页面跳转定位方法的应用场景图,如图1所示,本发明实施例的应用场景可以包括终端设备110、网络和服务器120。网络用以在终端设备110和服务器120之间提供通信链路的介质。网络可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等。The invention provides a multi-tab page jump positioning method, device, electronic equipment and storage medium. FIG. 1 is an application scenario diagram of the multi-tab page jump positioning method provided by the present invention. As shown in FIG. The network is a medium used to provide a communication link between the
用户可以使用终端设备110通过网络与服务器120交互,以接收或发送消息等。终端设备110上可以安装有各种通讯客户端应用,例如金融类应用、购物类应用、网页浏览器应用和搜索类应用等(仅为示例)。The user can use the
终端设备110可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等。The
服务器120可以是提供各种服务的服务器,例如对用户利用终端设备110所浏览的网站提供支持的后台管理服务器(仅为示例)。后台管理服务器可以对接收到的用户查询请求等数据进行分析等处理,并将处理结果(例如根据用户查询请求获取或生成的网页、信息或数据等)反馈给终端设备。The
需要说明的是,本发明实施例所提供的多页签页面跳转定位方法一般可以由服务器120执行。相应地,本发明实施例所提供的多页签页面跳转定位装置一般可以设置于服务器120中。本发明实施例所提供的多页签页面跳转定位方法也可以由不同于服务器120且能够与终端设备110和/或服务器120通信的服务器或服务器集群执行。相应地,本发明实施例所提供的多页签页面跳转定位装置也可以设置于不同于服务器120且能够与终端设备110和/或服务器120通信的服务器或服务器集群中。It should be noted that the multi-tab page jump positioning method provided by the embodiment of the present invention can generally be executed by the
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
需要注意的是,图1所示仅为可以应用本发明实施例的应用场景的示例,以帮助本领域技术人员理解本发明的技术内容,但并不意味着本发明实施例不可以用于其他设备、系统、环境或场景。It should be noted that Figure 1 is only an example of an application scenario where the embodiment of the present invention can be applied to help those skilled in the art understand the technical content of the present invention, but it does not mean that the embodiment of the present invention cannot be used in other device, system, environment or scenario.
以下将基于图1描述的场景,通过图2对本发明实施例的多页签页面跳转定位进行详细描述。Based on the scenario described in FIG. 1 , the multi-tab page jump positioning in the embodiment of the present invention will be described in detail below through FIG. 2 .
图2是本发明提供的多页签页面跳转定位方法的流程示意图,如图2所示,该方法包括步骤210、步骤220和步骤230。FIG. 2 is a schematic flowchart of a multi-tab page jump positioning method provided by the present invention. As shown in FIG. 2 , the method includes
步骤210,在当前页面监听到页签显示指令的情况下,在当前页面的第二显示区显示悬浮窗口;悬浮窗口用于显示当前页面的第一显示区中各个初始页签对应的多级子页签。
具体地,本发明实施例的页签显示指令为指示当前页面的第二显示区显示多级子页签页签名称的指令。悬浮窗口为多页签页面跳转定位装置在接收到页签显示指令后,在当前页面的第二显示区的表面悬浮的窗口。Specifically, the tab display instruction in the embodiment of the present invention is an instruction that instructs the second display area of the current page to display the signature names of multi-level sub-tabs. The floating window is a window suspended on the surface of the second display area of the current page after the multi-tab page jump positioning device receives the tab display instruction.
本发明实施例的当前页面的显示区域包括第一显示区和第二显示区,第一显示区用于显示当前页面的各个初始页签的页签名称,第二显示区用于显示当前页面各个初始页签对应的多级子页签的页签名称。其中,一个初始页签对应至少一个多级子页签,初始页签与其对应的多级子页签的页签名称对应显示,初始页签与其对应的多级子页签的页签名称可以上下对应显示,也可以左右对应显示。例如,每个初始页签的页签名称下显示的是该初始页签的所有二级子页签和三级子页签的页签名称。The display area of the current page in the embodiment of the present invention includes a first display area and a second display area, the first display area is used to display the page name of each initial tab of the current page, and the second display area is used to display each initial tab of the current page. The page name of the multi-level sub-tab corresponding to the initial tab. Among them, an initial tab corresponds to at least one multi-level sub-tab, and the initial tab and the corresponding multi-level sub-tab's title name are displayed correspondingly, and the initial tab and the corresponding multi-level sub-tab's title name can be up and down Corresponding display, or left and right corresponding display. For example, under the header name of each initial tab are the header names of all the second-level sub-tabs and third-level sub-tabs of the initial tab.
以公司客户的当前页面包括基本信息、经营状况、经营风险、司法诉讼、融资信息和新闻舆情等初始页签,经营状况包括资产负债表、现金流量表、利润表以及其他经营状况等二级子页签,其他经营状况包括抽查检查和双随机检查等更小维度的三级子页签为例。The current page of a corporate customer includes initial tabs such as basic information, operating conditions, operating risks, judicial proceedings, financing information, and news and public opinion, and the operating status includes secondary sub-pages such as balance sheet, cash flow statement, Tab, other operating conditions include three-level sub-tabs with smaller dimensions such as spot check and double random check as examples.
在用户进入到当前页面时,当前页面会显示基本信息、经营状况、经营风险、司法诉讼、融资信息和新闻舆情等页签名称。在当前页面监听到页签显示指令的情况下,在当前页面的第二显示区显示悬浮窗口,悬浮窗口会在对应各个初始页签的页签名称的位置显示初始页签对应的二级子页签的页签名称,并在对应二级子页签的位置显示三级子页签的页签名称。比如,在对应经营状况的页签名称的位置显示资产负债表、现金流量表、利润表以及其他经营状况等页签名称,在对应其他经营状况的页签名称的位置显示抽查检查和双随机检查等页签名称。用户能够清楚看到每个二级子页签和三级子页签的归属关系,避免用户想要查看多级子页签时,还需逐个查找,操作非常繁琐。When the user enters the current page, the current page will display basic information, operating conditions, operating risks, judicial proceedings, financing information, news and public opinion, and other page names. When the current page monitors the tab display command, a floating window will be displayed in the second display area of the current page, and the floating window will display the secondary subpage corresponding to the initial tab at the position corresponding to the page name of each initial tab tab, and display the page name of the third-level sub-tab at the position corresponding to the second-level sub-tab. For example, the balance sheet, cash flow statement, income statement, and other business status page titles are displayed in the position of the page title corresponding to the business status, and the spot check and double random check are displayed in the position of the page title corresponding to other business status Wait for the page signature name. Users can clearly see the attribution relationship between each second-level sub-tab and third-level sub-tab, avoiding the need to search for each sub-tab one by one when users want to view multi-level sub-tabs, which is very cumbersome to operate.
本发明实施例的不同级的子页签的页签名称的显示方式可以存在区别,例如不同级子页签的页签名称的字体大小逐级减小、二级子页签页签名称的字体加粗或每一级子页签页签名称的字体颜色不同。通过将不同级的子页签的页签名称区别显示,可以更加直观的看出每一级子页签的归属关系。In this embodiment of the present invention, there may be differences in the display methods of the signature names of sub-tabs at different levels. For example, the font size of the signature names of sub-tabs at different levels decreases step by step, and the Bold or sub-tab signature names of each level have different font colors. By displaying the page titles of different levels of sub-tabs differently, you can see the ownership relationship of each level of sub-tabs more intuitively.
本发明实施例通过设置悬浮窗口,可以全面的显示初始页签和多级页签,便于用户的观看和页签的查找。In the embodiment of the present invention, by setting a floating window, the initial tab and multi-level tabs can be displayed comprehensively, which is convenient for users to view and search for tabs.
步骤220,在悬浮窗口监听到页签跳转指令的情况下,确定待跳转子页签的路由信息和页面标识。
具体地,本发明实施例的页签跳转指令为指示显示装置从第二显示区的当前页面跳转到待跳转子页签对应的目标页面的指令。待跳转子页签的路由信息为由第二显示区的当前页面跳转到待跳转子页签对应的目标页面的路径信息。待跳转子页签的页面标识为可以确定待跳转子页签的内容在目标页面中的显示位置的标识。待跳转子页签的页面标识与待跳转子页签是一一对应的。例如,待跳转子页签的页面标识可以为待跳转子页签的ID(Identity Document)信息。每个页签携带有该页签的路由信息和页面标识。Specifically, the tab jump instruction in the embodiment of the present invention is an instruction instructing the display device to jump from the current page in the second display area to the target page corresponding to the sub-tab to be jumped. The routing information of the sub-tab to be jumped is the path information for jumping from the current page in the second display area to the target page corresponding to the sub-tab to be jumped to. The page identifier of the sub-tab to be jumped is an identifier that can determine the display position of the content of the sub-tab to be jumped to on the target page. There is a one-to-one correspondence between the page ID of the subtab to be jumped to and the subtab to be jumped to. For example, the page identifier of the sub-tab to be jumped may be ID (Identity Document) information of the sub-tab to be jumped. Each tab carries the routing information and page identifier of the tab.
例如,在悬浮窗口监听到跳转到抽查检查的页签跳转指令,确定待跳转子页签的路由信息,即确定由第二显示区的当前页面跳转到抽查检查页面的路径信息。确定待跳转子页签的页面标识,即确定抽查检查在包括抽查检查和双随机检查等内容的显示页面的显示位置的标识。For example, the tab jump command to jump to the spot check is monitored in the floating window, and the routing information of the sub-tab to be jumped is determined, that is, the path information for jumping from the current page in the second display area to the spot check page is determined. Determine the page ID of the sub-tab to be jumped, that is, determine the ID of the display position of the spot check check on the display page including the spot check check and double random check.
本发明实施例可以通过服务器下发页签跳转指令,悬浮窗口监听到页签跳转指令后,确定待跳转子页签的路由信息和页面标识,以为下一步的跳转和定位奠定基础。In the embodiment of the present invention, the server can issue a tab jump command. After the floating window monitors the tab jump command, it can determine the routing information and page identification of the sub-tab to be jumped, so as to lay the foundation for the next step of jumping and positioning. .
步骤230,基于待跳转子页签的路由信息,在第二显示区跳转显示待跳转子页签对应的目标页面,并基于待跳转子页签的页面标识,在目标页面中定位待跳转子页签对应的显示内容。
具体地,本发明实施例的待跳转子页签对应的目标页面为显示待跳转子页签的相关内容的页面,因为该页面可能也显示与待跳转子页签相同等级子页签的相关内容,所以跳转显示待跳转子页签对应的目标页面并在目标页面中定位待跳转子页签对应的显示内容,可以直接显示出用户想要看到的内容。Specifically, the target page corresponding to the to-be-jumped sub-tab in the embodiment of the present invention is a page displaying related content of the to-be-jumped sub-tab, because this page may also display the same level of sub-tab as the to-be-jumped sub-tab Therefore, jumping to display the target page corresponding to the sub-tab to be jumped to and locating the display content corresponding to the sub-tab to be jumped to on the target page can directly display the content that the user wants to see.
本发明实施例可以通过待跳转子页签的路由信息确定由第二显示区的当前页面跳转到待跳转子页签页面的路径,从而实现从第二显示区的当前页面跳转到显示待跳转子页签对应的目标页面。通过待跳转子页签的页面标识,可以定位到待跳转子页签的内容在目标页面中的显示位置,从而直接显示待跳转子页签的内容。In the embodiment of the present invention, the route from the current page of the second display area to the sub-tab page to be jumped can be determined through the routing information of the sub-tab to be jumped, so as to realize jumping from the current page of the second display area to the sub-tab page. Displays the target page corresponding to the sub-tab to be redirected. Through the page identifier of the sub-tab to be jumped to, the display position of the content of the sub-tab to be jumped to can be located on the target page, so as to directly display the content of the sub-tab to be jumped to.
例如,用户想要查找其他经营信息中的双随机检查的相关内容,基于双随机检查页签的路由信息,在第二显示区跳转到包括了其他经营信息中的抽查检查和双随机检查相关内容的页面,再基于双随机检查页签的页面标识,在包括了其他经营信息中的抽查检查和双随机检查相关内容的页面中定位双随机检查页签对应的显示内容。需要说明说的是,跳转和定位的先后顺序不做限定,此处仅为举例说明,不能用于限定本发明的保护范围。For example, if the user wants to find the relevant content of the double random inspection in other business information, based on the routing information of the double random inspection tab, jump to the second display area that includes the random inspection and double random inspection related content in other business information. On the content page, based on the page identification of the double random check tab, locate the display content corresponding to the double random check tab on the page that includes the random check and double random check related content in other business information. It should be noted that the order of jumping and positioning is not limited, and this is only for illustration and cannot be used to limit the protection scope of the present invention.
本发明实施例提供的多页签页面跳转定位,通过设置悬浮窗口,并在悬浮窗口中显示各个初始页签对应的多级子页签,可以使用户直接看到初始页签和多级子页签的页签名称以及各级页签之间的对应关系;通过在悬浮窗口监听到页签跳转指令的情况下,确定待跳转子页签的路由信息和页面标识,基于待跳转子页签的路由信息可以在第二显示区跳转到待跳转子页签对应的目标页面,基于待跳转子页签的页面标识,可以在目标页面中定位到待跳转子页签对应的显示位置,所以用户能够快速获得待跳转子页签对应的目标页面并直接定位到待跳转子页签对应的显示位置,提高了用户在多页签页面中查找待跳转子页签的效率,提升了用户的使用体验。In the multi-tab page jump positioning provided by the embodiment of the present invention, by setting a floating window and displaying the multi-level sub-tabs corresponding to each initial tab in the floating window, the user can directly see the initial tab and the multi-level sub-tabs. The page signature name of the tab and the corresponding relationship between the tabs at all levels; by monitoring the tab jump command in the floating window, determine the routing information and page identification of the sub-tab to be jumped, based on the The routing information of the sub-tab can be jumped to the target page corresponding to the sub-tab to be jumped in the second display area, based on the page identification of the sub-tab to be jumped to, the sub-tab to be jumped can be located on the target page The corresponding display position, so the user can quickly obtain the target page corresponding to the sub-tab to be jumped to and directly locate the display position corresponding to the sub-tab to be jumped to, which improves the user's search for the sub-page to be jumped to in the multi-tab page Signature efficiency improves the user experience.
基于上述实施例,步骤210包括:Based on the foregoing embodiments,
基于各个初始页签对应的多级子页签的数量以及各个子页签显示高度,确定各个初始页签在悬浮窗口中对应的子页签显示区域的显示高度;在任一初始页签对应的子页签显示区域的显示高度大于悬浮窗口的显示高度的情况下,在任一初始页签对应的子页签显示区域中滚动显示任一初始页签对应的多级子页签,并在任一初始页签对应的子页签显示区域中显示滚动条。Based on the number of multi-level sub-tabs corresponding to each initial tab and the display height of each sub-tab, determine the display height of the sub-tab display area corresponding to each initial tab in the floating window; If the display height of the tab display area is greater than the display height of the floating window, scroll to display the multi-level sub-tabs corresponding to any initial tab in the sub-tab display area corresponding to any initial tab, and A scroll bar is displayed in the display area of the sub-tab corresponding to the tab.
具体地,因为终端显示界面的高度是有限的,悬浮窗口即使展开,展开的高度也是有限的。所以本发明实施例会基于各个初始页签对应的多级子页签的数量以及各个子页签显示高度,确定各个初始页签在悬浮窗口中对应的子页签显示区域的显示高度。Specifically, because the height of the display interface of the terminal is limited, even if the floating window is expanded, the expanded height is limited. Therefore, the embodiment of the present invention determines the display height of the sub-tab display area corresponding to each initial tab in the floating window based on the number of multi-level sub-tabs corresponding to each initial tab and the display height of each sub-tab.
在所有初始页签对应的子页签显示区域的显示高度均小于或等于悬浮窗口的显示高度的情况下,所有初始页签对应的子页签均直接显示在悬浮窗口中;在初始页签对应的子页签显示区域的显示高度大于悬浮窗口的显示高度的情况下,在该初始页签对应的子页签显示区域中滚动显示该初始页签对应的多级子页签,并在该初始页签对应的子页签显示区域中显示滚动条。其中,滚动条中滚动滑块的位置与该初始页签对应的多级子页签的显示位置相对应。When the display heights of the sub-tab display areas corresponding to all initial tabs are less than or equal to the display height of the floating window, all the sub-tabs corresponding to the initial tab are displayed directly in the floating window; If the display height of the sub-tab display area is greater than the display height of the floating window, the multi-level sub-tabs corresponding to the initial tab are scrolled in the sub-tab display area corresponding to the initial tab, and the initial A scroll bar is displayed in the display area of the sub-tab corresponding to the tab. Wherein, the position of the scroll slider in the scroll bar corresponds to the display position of the multi-level sub-tabs corresponding to the initial tab.
例如,初始页签包括经营状况,经营状况的二级页签包括资产负债表、现金流量表、利润表以及其他经营状况等,而其他经营状况的三级子页签包括抽查检查和双随机检查等,因为经营状况对应的多级子页签的数量较多,显示高度超过了悬浮窗口的显示高度,所以在经营状况对应的二级子页签和三级子页签的显示区域中显示滚动条,拖动滚动条中滚动滑块的位置可以实现经营状况对应的二级子页签和三级子页签的上下滚动,从而获取初始页签对应的所有子页签的页签名称。For example, the initial tab includes business status, the second-level tabs of business status include balance sheet, cash flow statement, income statement, and other business status, and the third-level sub-tabs of other business status include spot checks and double random checks etc., because the number of multi-level sub-tabs corresponding to the business status is large, and the display height exceeds the display height of the floating window, so scrolling is displayed in the display area of the second-level sub-tabs and third-level sub-tabs corresponding to the business status bar, dragging the position of the scroll slider in the scroll bar can realize the scrolling up and down of the second-level sub-tab and the third-level sub-tab corresponding to the business status, so as to obtain the page names of all the sub-tabs corresponding to the initial tab.
本发明实施例提供的多页签页面跳转定位,在任一初始页签对应的子页签显示区域的显示高度大于悬浮窗口的显示高度的情况下,通过设置滚动条,可以拖动滚动条中滚动滑块的位置实现经营状况对应的二级子页签和三级子页签的上下滚动,从而获取初始页签对应的所有子页签的页签名称。In the multi-tab page jump positioning provided by the embodiment of the present invention, when the display height of the sub-tab display area corresponding to any initial tab is greater than the display height of the floating window, by setting the scroll bar, the scroll bar can be dragged The position of the scroll slider realizes the scrolling up and down of the second-level sub-tab and the third-level sub-tab corresponding to the business status, so as to obtain the page names of all the sub-tabs corresponding to the initial tab.
基于上述任一实施例,步骤210包括:Based on any of the above embodiments,
在当前页面的第一显示区中监听鼠标事件;在鼠标事件的事件参数与页签显示指令对应的事件参数相匹配的情况下,确定鼠标事件对应的操作指令为页签显示指令。基于页签显示指令,获取第一显示区中各个初始页签对应的多级子页签。基于各个初始页签对应的多级子页签的页签名称和页签链接信息,生成悬浮窗口,并在第二显示区中显示。其中,悬浮窗口的显示尺寸小于或等于第二显示区的显示尺寸。Monitor the mouse event in the first display area of the current page; if the event parameter of the mouse event matches the event parameter corresponding to the tab display instruction, determine that the operation instruction corresponding to the mouse event is the tab display instruction. Based on the tab display instruction, the multi-level sub-tabs corresponding to each initial tab in the first display area are acquired. Based on the tab names and tab link information of the multi-level sub-tabs corresponding to each initial tab, a floating window is generated and displayed in the second display area. Wherein, the display size of the floating window is smaller than or equal to the display size of the second display area.
具体地,本发明实施例的鼠标事件包括鼠标指针静止事件、鼠标点击事件和鼠标离开第一显示区的事件等。页签显示指令为指示当前页面的第二显示区显示悬浮窗口并在悬浮窗口显示多级子页签的指令。Specifically, the mouse event in this embodiment of the present invention includes a mouse pointer stationary event, a mouse click event, and an event in which the mouse leaves the first display area. The page tab display instruction is an instruction for displaying a floating window in the second display area of the current page and displaying multi-level sub-tabs in the floating window.
鼠标事件和页签显示指令均携带有事件参数,若鼠标事件的事件参数与页签显示指令对应的事件参数相匹配,则生成鼠标事件对应的操作指令,此时该操作指令即为页签显示指令。本发明实施例的第一显示区可以在当前页面的顶部也可以在当前页面的左侧部或者右侧部,第二显示区可以对应设置在第一显示区的下面或侧面。Both the mouse event and the tab display command carry event parameters. If the event parameter of the mouse event matches the event parameter corresponding to the tab display command, an operation command corresponding to the mouse event will be generated. At this time, the operation command is the tab display instruction. The first display area in this embodiment of the present invention may be on the top of the current page or on the left or right side of the current page, and the second display area may be correspondingly arranged below or on the side of the first display area.
本发明实施例提供的多页签页面跳转定位,通过监听鼠标事件,可以触发页签显示指令,并基于该页签显示指令展开悬浮窗口,在悬浮窗口中显示多级子页签的页签名称,用户通过控制鼠标即可快速查看所有多级子页签的页签名称The multi-tab page jump positioning provided by the embodiment of the present invention can trigger the tab display command by monitoring the mouse event, and expand the floating window based on the tab display command, and display the tabs of multi-level sub-tabs in the floating window Name, the user can quickly view the page name of all multi-level sub-tabs by controlling the mouse
基于上述任一实施例,在鼠标事件为鼠标指针静止的情况下,获取鼠标事件的静止时间参数;在静止时间参数大于或者等于预设时间参数的情况下,确定鼠标事件对应的操作指令为页签显示指令。Based on any of the above-mentioned embodiments, when the mouse event is that the mouse pointer is stationary, the static time parameter of the mouse event is obtained; when the static time parameter is greater than or equal to the preset time parameter, it is determined that the operation instruction corresponding to the mouse event is a page Check the display command.
具体地,为了避免用户不需要查看多级页签的页签名称,但因为误触而使悬浮窗口展开,本发明实施例预先设置静止时间参数,使鼠标指针在当前页面停留预设时间后再显示悬浮窗口,可以避免误触。例如,设置静止时间参数为2秒,鼠标事件为鼠标指针静止事件。用户将鼠标放置在当前页面的任意位置,若鼠标指针静止超过2秒,则展开悬浮窗口并在悬浮窗口显示多级子页签的页签名称。需要说明的是,具体的静止时间参数可预先设置,也可以根据实际情况进行修改。在鼠标移开当前页面后,悬浮窗口会自动关闭。Specifically, in order to avoid that the user does not need to view the tab name of the multi-level tab, but the floating window is expanded due to an accidental touch, the embodiment of the present invention pre-sets the static time parameter so that the mouse pointer stays on the current page for a preset time and then Display a floating window to avoid accidental touches. For example, set the static time parameter to 2 seconds, and the mouse event to be a mouse pointer static event. The user places the mouse anywhere on the current page, and if the mouse pointer remains still for more than 2 seconds, the floating window will be expanded and the page names of the multi-level sub-tabs will be displayed in the floating window. It should be noted that the specific static time parameters can be preset, and can also be modified according to actual conditions. After the mouse moves away from the current page, the floating window will automatically close.
本发明实施例提供的多页签页面跳转定位,通过设置静止时间参数,可以在鼠标指针停留一段时间后在显示悬浮窗口,防止误触而影响用户操作。The multi-tab page jump positioning provided by the embodiment of the present invention can display a floating window after the mouse pointer stays for a period of time by setting the static time parameter, so as to prevent accidental touches from affecting user operations.
基于上述实施例,步骤220包括:Based on the foregoing embodiments,
在悬浮窗口中获取鼠标指针的移动位置;在移动位置与任一子页签的页签名称的显示位置重合且监听到鼠标点击事件的情况下,确定在悬浮窗口监听到页签跳转指令;将任一子页签确定为待跳转子页签,并对任一子页签的页签链接信息进行解析,得到待跳转子页签的路由信息和页面标识。Obtain the moving position of the mouse pointer in the floating window; when the moving position coincides with the display position of the page name of any sub-tab and the mouse click event is detected, it is determined that the tab jump command is monitored in the floating window; Determine any sub-tab as a sub-tab to be jumped to, and analyze the page link information of any sub-tab to obtain the routing information and page identifier of the sub-tab to be jumped to.
具体地,本发明实施例的每个二级子页签和三级子页签在悬浮窗口中虽然只显示了页签名称,但每个二级子页签的页签名称内携带了其对应的链接信息,二级子页签的链接信息包括路由信息、等级信息、名称信息和三级子页签信息等,每个三级子页签的页签名称内也携带了其对应的链接信息,三级子页签的链接信息包括路由信息、等级信息、页面标识和归属信息等。三级子页签的归属信息为该三级子页签归属于哪个二级子页签的信息。Specifically, although each second-level sub-tab and third-level sub-tab in the embodiment of the present invention only display the page name in the floating window, the page name of each second-level sub-tab carries its corresponding The link information of the second-level sub-tab includes routing information, level information, name information and third-level sub-tab information, etc., and the page name of each third-level sub-tab also carries its corresponding link information , the link information of the third-level sub-tab includes routing information, level information, page identification and attribution information, etc. The attribution information of the third-level sub-tab is the information of which second-level sub-tab the third-level sub-tab belongs to.
实时获取鼠标指针的位置信息,若鼠标指针的移动位置与子页签的页签名称的显示位置重合,并且多页签页面跳转定位装置监听到鼠标点击事件,则代表用户想要通过移动鼠标并点击多级子页签的页签名称来获取待跳转子页签的相关内容。此时多页签页面跳转定位装置基于鼠标点击事件确定在悬浮窗口监听到页签跳转指令,将用户点击的多级子页签确定为待跳转子页签,并对点击的多级子页签的链接信息进行解析,得到待跳转子页签的路由信息和页面标识,以为下一步的跳转和定位做准备。Obtain the position information of the mouse pointer in real time. If the moving position of the mouse pointer coincides with the display position of the sub-tab name, and the multi-tab page jump positioning device detects the mouse click event, it means that the user wants to move the mouse And click the page name of the multi-level sub-tab to obtain the relevant content of the sub-tab to be jumped. At this time, the multi-tab page jump positioning device determines based on the mouse click event to monitor the tab jump command in the floating window, determines the multi-level sub-tab clicked by the user as the sub-tab to be jumped, and determines the clicked multi-level sub-tab The link information of the sub-tab is analyzed to obtain the routing information and page identification of the sub-tab to be jumped, so as to prepare for the next jump and positioning.
以用户想要查看其他经营信息(二级子页签)中的双随机检查(三级子页签)为例,用户在悬浮窗口上将鼠标指针移动到双随机检查的页签名称上并点击鼠标。多页签页面跳转定位装置会在悬浮窗口中获取到鼠标指针移动到了随机检查的页签名称上,并监听到鼠标指针点击事件,确定在悬浮窗口监听到跳转到双随机检查页面的指令,将双随机检查确定为待跳转子页签,对双随机检查的页签链接信息进行解析,得到了双随机检查的路由信息和页面标识。Take the example where the user wants to view the double random inspection (third-level sub-tab) in other business information (second-level sub-tab), the user moves the mouse pointer to the page name of the double random inspection on the floating window and clicks mouse. The multi-tab page jump positioning device will obtain the mouse pointer moving to the page name of the random check in the floating window, and monitor the click event of the mouse pointer, and confirm that the command to jump to the double random check page is listened to in the floating window , the double-random check is determined as the sub-tab to be jumped, the link information of the double-random check is analyzed, and the routing information and page identification of the double-random check are obtained.
本发明实施例提供的多页签页面跳转定位方法,通过获取鼠标指针的移动位置和监听鼠标事件,可以获取到待跳转子页签的路由信息和页面标识,为下一步的跳转和定位奠定了基础。The multi-tab page jump positioning method provided by the embodiment of the present invention can obtain the routing information and page identification of the sub-tab to be jumped by obtaining the moving position of the mouse pointer and monitoring the mouse event, which is used for the next step of jumping and Positioning lays the foundation.
基于上述任一实施例,在悬浮窗口中获取鼠标指针的移动位置之后,本发明实施例的多页签页面跳转定位方法包括:Based on any of the above-mentioned embodiments, after obtaining the moving position of the mouse pointer in the floating window, the multi-tab page jump positioning method in the embodiment of the present invention includes:
在移动位置与任一子页签的页签名称的显示位置重合的情况下,调整任一子页签的页签名称的显示颜色和/或显示格式。When the moving position coincides with the display position of the header name of any sub-tab, adjust the display color and/or display format of the header name of any sub-tab.
具体地,为了便于用户的查看,本发明实施例在鼠标指针的移动位置与子页签的页签名称的显示位置重合的情况下,对该子页签的页签名称的显示颜色和/或显示格式进行调整。例如,当鼠标指针移动到双随机检查的页签名称上,则随机检查的页签名称的显示颜色会从黑色变成红色、随机检查的页签名称会高亮、或随机检查的页签名称的字体会突出显示,以提高用户的观看体验感。Specifically, in order to facilitate the user's viewing, in the embodiment of the present invention, when the moving position of the mouse pointer coincides with the display position of the sub-tab's title name, the display color and/or Adjust the display format. For example, when the mouse pointer moves over the signature name of the double random inspection, the display color of the signature name of the random inspection will change from black to red, the signature name of the random inspection will be highlighted, or the signature name of the random inspection will be highlighted. will be highlighted to enhance the user's viewing experience.
本发明实施例提供的多页签页面跳转定位,通过根据鼠标指针的移动位置调整任一子页签的页签名称的显示颜色和/或显示格式,可以使用户准确找到想要查看的子页签的页签名称,提升用户体验感。The multi-tab page jump positioning provided by the embodiment of the present invention can enable users to accurately find the sub-tab that they want to view by adjusting the display color and/or display format of the title name of any sub-tab according to the moving position of the mouse pointer. The name of the page name of the tab to improve the user experience.
基于上述多页签页面跳转定位方法,本发明还提供了一种多页签页面跳转定位装置。以下将结合图3对该装置进行详细描述。Based on the above multi-tab page jump positioning method, the present invention also provides a multi-tab page jump positioning device. The device will be described in detail below with reference to FIG. 3 .
图3是本发明提供的多页签页面跳转定位装置的结构示意图,如图3所示,本发明实施例的多页签页面跳转定位装置包括第一监听单元310、第二监听单元320和跳转定位单元330。FIG. 3 is a schematic structural diagram of a multi-tab page jump positioning device provided by the present invention. As shown in FIG. and jump
第一监听单元310用于在当前页面监听到页签显示指令的情况下,在当前页面的第二显示区显示悬浮窗口;悬浮窗口用于显示当前页面的第一显示区中各个初始页签对应的多级子页签。The
第二监听单元320用于在悬浮窗口监听到页签跳转指令的情况下,确定待跳转子页签的路由信息和页面标识。The
跳转定位单元330用于基于待跳转子页签的路由信息,在第二显示区跳转显示待跳转子页签对应的目标页面,并基于待跳转子页签的页面标识,在目标页面中定位待跳转子页签对应的显示内容。The
具体地,根据本发明的实施例,第一监听单元310、第二监听单元320和跳转定位单元330中的任意多个单元可以合并在一个单元中实现,或者其中的任意一个单元可以被拆分成多个单元。Specifically, according to the embodiment of the present invention, any number of units in the
或者,这些单元中的一个或多个单元的至少部分功能可以与其他单元的至少部分功能相结合,并在一个单元中实现。Alternatively, at least part of the functions of one or more of these units may be combined with at least part of the functions of other units and implemented in one unit.
根据本发明的实施例,第一监听单元310、第二监听单元320和跳转定位单元330中的至少一个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式等硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。According to an embodiment of the present invention, at least one of the
或者,第一监听单元310、第二监听单元320和跳转定位单元330中的至少一个可以至少被部分地实现为计算机程序单元,当该计算机程序单元被运行时,可以执行相应的功能。Alternatively, at least one of the
基于上述任一实施例,第一监听单元310还用于:Based on any of the foregoing embodiments, the
基于各个初始页签对应的多级子页签的数量以及各个子页签显示高度,确定各个初始页签在悬浮窗口中对应的子页签显示区域的显示高度;在任一初始页签对应的子页签显示区域的显示高度大于悬浮窗口的显示高度的情况下,在任一初始页签对应的子页签显示区域中滚动显示任一初始页签对应的多级子页签,并在任一初始页签对应的子页签显示区域中显示滚动条;其中,滚动条中滚动滑块的位置与任一初始页签对应的多级子页签的显示位置相对应。Based on the number of multi-level sub-tabs corresponding to each initial tab and the display height of each sub-tab, determine the display height of the sub-tab display area corresponding to each initial tab in the floating window; If the display height of the tab display area is greater than the display height of the floating window, scroll to display the multi-level sub-tabs corresponding to any initial tab in the sub-tab display area corresponding to any initial tab, and A scroll bar is displayed in the sub-tab display area corresponding to the tab; wherein, the position of the scroll slider in the scroll bar corresponds to the display position of any multi-level sub-tab corresponding to any initial tab.
基于上述任一实施例,第一监听单元310还用于:Based on any of the foregoing embodiments, the
在当前页面的第一显示区中监听鼠标事件;在鼠标事件的事件参数与页签显示指令对应的事件参数相匹配的情况下,确定鼠标事件对应的操作指令为页签显示指令;基于页签显示指令,获取第一显示区中各个初始页签对应的多级子页签;基于各个初始页签对应的多级子页签的页签名称和页签链接信息,生成悬浮窗口,并在第二显示区中显示;其中,悬浮窗口的显示尺寸小于或等于第二显示区的显示尺寸。Monitor the mouse event in the first display area of the current page; when the event parameter of the mouse event matches the event parameter corresponding to the tab display instruction, determine that the operation instruction corresponding to the mouse event is a tab display instruction; based on the tab Display instructions to obtain the multi-level sub-tabs corresponding to each initial tab in the first display area; generate a floating window based on the tab name and tab link information of the multi-level sub-tabs corresponding to each initial tab, and displayed in the second display area; wherein, the display size of the floating window is smaller than or equal to the display size of the second display area.
基于上述任一实施例,第一监听单元310还用于:Based on any of the foregoing embodiments, the
在鼠标事件为鼠标指针静止的情况下,获取鼠标事件的静止时间参数;In the case that the mouse event is that the mouse pointer is still, get the still time parameter of the mouse event;
在静止时间参数大于或者等于预设时间参数的情况下,确定鼠标事件对应的操作指令为页签显示指令。When the static time parameter is greater than or equal to the preset time parameter, it is determined that the operation instruction corresponding to the mouse event is a tab display instruction.
基于上述任一实施例,第二监听单元320还用于:Based on any of the above embodiments, the
在悬浮窗口中获取鼠标指针的移动位置;在移动位置与任一子页签的页签名称的显示位置重合且监听到鼠标点击事件的情况下,确定在悬浮窗口监听到页签跳转指令;将任一子页签确定为待跳转子页签,并对任一子页签的页签链接信息进行解析,得到待跳转子页签的路由信息和页面标识。Obtain the moving position of the mouse pointer in the floating window; when the moving position coincides with the display position of the page name of any sub-tab and the mouse click event is detected, it is determined that the tab jump command is monitored in the floating window; Determine any sub-tab as a sub-tab to be jumped to, and analyze the page link information of any sub-tab to obtain the routing information and page identifier of the sub-tab to be jumped to.
基于上述任一实施例,第二监听单元320还用于:Based on any of the above embodiments, the
在移动位置与任一子页签的页签名称的显示位置重合的情况下,调整任一子页签的页签名称的显示颜色和/或显示格式。When the moving position coincides with the display position of the header name of any sub-tab, adjust the display color and/or display format of the header name of any sub-tab.
基于上述任一实施例,图4是本发明提供的电子设备的结构示意图,如图4所示,该电子设备可以包括:处理器(processor)410、通信接口(Communications Interface)420、存储器(memory)430和通信总线440(Communication Bus),其中,处理器410,通信接口420,存储器430通过通信总线440完成相互间的通信。处理器410可以调用存储器430中的逻辑指令,以执行多页签页面跳转定位方法,该方法包括:Based on any of the above embodiments, FIG. 4 is a schematic structural diagram of an electronic device provided by the present invention. As shown in FIG. 4, the electronic device may include: a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory ) 430 and a communication bus 440 (Communication Bus), wherein, the
在当前页面监听到页签显示指令的情况下,在当前页面的第二显示区显示悬浮窗口;悬浮窗口用于显示当前页面的第一显示区中各个初始页签对应的多级子页签;在悬浮窗口监听到页签跳转指令的情况下,确定待跳转子页签的路由信息和页面标识;基于待跳转子页签的路由信息,在第二显示区跳转显示待跳转子页签对应的目标页面,并基于待跳转子页签的页面标识,在目标页面中定位待跳转子页签对应的显示内容。When the current page monitors the tab display instruction, display the floating window in the second display area of the current page; the floating window is used to display the multi-level sub-tabs corresponding to each initial tab in the first display area of the current page; When the floating window monitors the page jump command, determine the routing information and page identification of the sub-tab to be jumped; based on the routing information of the sub-tab to be jumped, jump to display the to-be-jumped in the second display area The target page corresponding to the sub-tab, and based on the page identifier of the sub-tab to be jumped to, locate the display content corresponding to the sub-tab to be jumped to in the target page.
此外,上述的存储器430中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above logic instructions in the
另一方面,本发明还提供一种计算机程序产品,计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,计算机程序被处理器执行时可以实现上述各实施例提供的方法。On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the above-mentioned embodiments can be realized. Methods.
又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时可以实现上述各实施例提供的方法。In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the methods provided in the above-mentioned embodiments can be implemented.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place , or can also be distributed to multiple network elements. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention. It can be understood and implemented by those skilled in the art without any creative efforts.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211295657.6ACN115687834A (en) | 2022-10-21 | 2022-10-21 | Multi-tab page jump positioning method and device, electronic equipment and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211295657.6ACN115687834A (en) | 2022-10-21 | 2022-10-21 | Multi-tab page jump positioning method and device, electronic equipment and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN115687834Atrue CN115687834A (en) | 2023-02-03 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211295657.6APendingCN115687834A (en) | 2022-10-21 | 2022-10-21 | Multi-tab page jump positioning method and device, electronic equipment and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN115687834A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6025837A (en)* | 1996-03-29 | 2000-02-15 | Micrsoft Corporation | Electronic program guide with hyperlinks to target resources |
| CN101419621A (en)* | 2008-12-18 | 2009-04-29 | 金蝶软件(中国)有限公司 | Method for switching page label and apparatus |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6025837A (en)* | 1996-03-29 | 2000-02-15 | Micrsoft Corporation | Electronic program guide with hyperlinks to target resources |
| CN101419621A (en)* | 2008-12-18 | 2009-04-29 | 金蝶软件(中国)有限公司 | Method for switching page label and apparatus |
| Publication | Publication Date | Title |
|---|---|---|
| US9977768B2 (en) | System for clipping webpages by traversing a dom, and highlighting a minimum number of words | |
| KR102455232B1 (en) | Method and electronic device for tab management based on context | |
| EP2856300B1 (en) | Optimization schemes for controlling user interfaces through gesture or touch | |
| US9495339B2 (en) | Method and apparatus for displaying information in a browser | |
| US9767082B2 (en) | Method and system of retrieving ajax web page content | |
| KR101748196B1 (en) | Determining message data to present | |
| US11947377B2 (en) | Systems and methods for dynamically restricting the rendering of unauthorized content included in information resources | |
| RU2662632C2 (en) | Presenting fixed format documents in reflowed format | |
| JP6838560B2 (en) | Information analysis system, information analysis method, and program | |
| US20140082498A1 (en) | Method and mobile terminal device for independently playing a video | |
| US10205678B2 (en) | Systems and methods for client-side dynamic information resource activation and deactivation | |
| US20140115539A1 (en) | Customized shortcuts for resource browsing method and apparatus | |
| US11157576B2 (en) | Method, system and terminal for performing search in a browser | |
| CN110309444A (en) | A kind of page display method, device, medium and server | |
| US20130268832A1 (en) | Method and system for creating digital bookmarks | |
| CN104899131A (en) | Detection method and device of webpage loading in browser, and mobile terminal | |
| CN110569459A (en) | A statistical method and device for web page information | |
| CN105278977A (en) | Web parts loading method and apparatus | |
| US20120131053A1 (en) | Webpage content search method and system | |
| US20140129927A1 (en) | Page browsing method and browser | |
| US11163946B2 (en) | Method and system for displaying content for accessibility | |
| CN115687834A (en) | Multi-tab page jump positioning method and device, electronic equipment and storage medium | |
| JP2022524670A (en) | Applet material processing methods, appliances, electronic devices, computer-readable storage media and computer programs | |
| CN110851346A (en) | Method, device and equipment for detecting boundary problem of query statement and storage medium | |
| US9740793B2 (en) | Exposing fragment identifiers |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |