CN105224167A - Window switching method and apparatus - Google Patents

Window switching method and apparatus Download PDF

Info

Publication number
CN105224167A
CN105224167A CN 201510549146 CN201510549146A CN105224167A CN 105224167 A CN105224167 A CN 105224167A CN 201510549146 CN201510549146 CN 201510549146 CN 201510549146 A CN201510549146 A CN 201510549146A CN 105224167 A CN105224167 A CN 105224167A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
window
switching
target
current
method
Prior art date
Application number
CN 201510549146
Other languages
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

Links

Abstract

The application discloses a window switching method and apparatus. The method comprises: when a window switching instruction that comprises a target window to be switched to is received, determining a window type of a current window and the target window; if it is found that the window type of both the current window and the target window is a non-continuous display window, hiding the current window to a backstage, and reading the target window hidden in the backstage for display. According to the switching method disclosed by the application, in a process of switching between non-continuous display windows, the current window is hidden instead of being destroyed in the prior art, so that the target window to be switched to can be found from the window hidden in the backstage and read for display. In the process, it is not required to create and load a new window, so that a window switching time is greatly reduced, and a window switching speed is improved.

Description

_种窗口切换方法及装置 _ Species window switching method and device

技术领域 FIELD

[0001] 本申请涉及窗口切换技术领域,更具体地说,涉及一种窗口切换方法及装置。 [0001] The present application relates to a window switching technology, and more particularly, to a method and apparatus for window switching.

背景技术 Background technique

[0002] 现有的窗口切换方法一般是销毁已有的窗口,释放该窗口的内容。 [0002] The conventional window switching method is generally destroy existing window, releasing the contents of the window. 然后创建新窗口,并从新窗口中加载页面内容,然后显示该新窗口。 Then create a new window, new window and loads the page content, and then displays the new window.

[0003] 因此,现有技术在每次打开新窗口时均需要创建并加载窗口内容,而这个过程需要耗费一定的时间,降低了窗口切换速度。 [0003] Thus, the prior art needed to create a window and loaded every time they open a new window, and this process takes some time, the reduced window switching speed.

发明内容 SUMMARY

[0004] 有鉴于此,本申请提供了一种窗口切换方法及装置,用于解决现有技术在每次打开新窗口时均需要创建并加载窗口内容,因而降低了窗口切换速度的问题。 [0004] Accordingly, the present application provides a window switching method and apparatus for solving the prior art needed to create a window and loaded every time they open a new window, the window thereby reducing the switching speed problems.

[0005] 为了实现上述目的,现提出的方案如下: [0005] To achieve the above object, the following solutions are proposed:

[0006] 一种窗口切换方法,包括: [0006] A window switch method, comprising:

[0007] 接收窗口切换指令,所述窗口切换指令包括所要切换到的目标窗口; [0007] received handover command window, the window switching instruction to switch to include the target window;

[0008] 确定当前窗口及所述目标窗口的窗口类型,所述窗口类型包括持续显示型窗口和非持续显示型窗口; [0008] determining a current window type and window of the target window, the window type and window type comprising a continuous display non-display window duration;

[0009] 若所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口,则将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示。 [0009] If the current window and the window type of the target window are non continuous display windows, the current window is hidden to the background, the background reading the hidden window display will be the goal.

[0010] 优选地,持续显示型窗口的个数为一个,该方法还包括: [0010] Preferably, the number of continuously displayed as a window type, the method further comprising:

[0011] 若确定所述当前窗口的窗口类型为持续显示型窗口,则持续显示所述当前窗口,读取后台隐藏的目标窗口进行显示; [0011] When the window type of the current window type is determined as a continuous display window, continued to display the current window, read the background hidden target window display;

[0012] 若确定所述目标窗口的窗口类型为持续显示型窗口,则将所述当前窗口隐藏至后台,切换至处于显示状态的目标窗口。 [0012] When the window type of the target window is determined to continue to display windows, the current window is hidden to the background, the target window is switched to the display state will be said.

[0013] 优选地,所述非持续显示型窗口包括用于加载系统入口portal页面的第一类窗口,以及用于加载应用页面的第二类窗口,所述第一类窗口的个数为一个,所述第二类窗口的个数为多个,则在所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口时,将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示的过程,包括: The number of [0013] Preferably, the non-display window comprises a continuous system for loading a first type of portal page entry window, and a window for loading the second type of application pages, the first type of window to a the number of the plurality of second type of window, when the window is the current window type and window of the target type are non-continuous display window, the hidden window to the background current, the background reading Hide the target window display of the process, including:

[0014] 若确定所述当前窗口为非持续显示型窗口,且所述目标窗口为第二类窗口,则将所述当前窗口隐藏至后台; [0014] When determining a non-continuous display of the current window type window, and a second class of the target window is the window, then the current window is hidden to the background;

[0015] 判断后台是否存在与所述目标窗口的统一资源定位符url —致的窗口; [0015] Background is determined whether there is a uniform resource locator of the target window url - consistent window;

[0016] 若是,则读取该窗口并进行显示; [0016] If so, this window is read and displayed;

[0017] 若否,则创建一个目标窗口,并加载窗口页面内容。 [0017] If not, then create a target window, and the window to load the page content.

[0018] 优选地,在创建目标窗口之前,该方法还包括: [0018] Preferably, before creating a target window, the method further comprising:

[0019] 判断后台隐藏的窗口的个数是否达到窗口个数阈值; [0019] Background is determined whether the number of hidden window number reaches the threshold window;

[0020] 若是,则将后台隐藏的窗口中,最久未使用的一个第二类窗口销毁,然后执行创建目标窗口的过程; [0020] If so, then the background hide window, a second type of window Least Recently Used destruction, and then execute the process of creating the target window;

[0021] 若否,则直接执行创建目标窗口的过程。 [0021] If not, the direct implementation of the process of creating the target window.

[0022] 优选地,在判断后台存在与所述目标窗口的统一资源定位符url —致的窗口并读取该窗口之后,且在显示该窗口之前,该方法还包括: [0022] Preferably, there is a uniform resource locator url with the target window is determined in the background - after actuation of the window and the reading window, and before the display window, the method further comprising:

[0023] 判断预置的内容刷新列表中是否存在与所述目标窗口的url —致的url,若是,则对读取的窗口的内容进行刷新,并在刷新完毕后显示该窗口。 [0023] It is determined whether there is a preset content refresh url with the target window list - url consistent, if yes, reading the content of the window to be refreshed, and the window is displayed upon completion of the refresh.

[0024] —种窗口切换装置,包括: [0024] - species window switch apparatus comprising:

[0025] 指令接收单元,用于接收窗口切换指令,所述窗口切换指令包括所要切换到的目标窗口; [0025] The instruction receiving unit, configured to receive a switching instruction window, comprising a window switching instruction to switch to the target window;

[0026] 窗口类型确定单元,用于确定当前窗口及所述目标窗口的窗口类型,所述窗口类型包括持续显示型窗口和非持续显示型窗口; Window Type [0026] The window type determination unit for determining the current window and the target window, the window type and window type comprising a continuous display non-display window duration;

[0027] 第一窗口切换单元,用于在确定所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口时,将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示。 [0027] The first window switch unit for determining the current window type and window of the target window are non continuous display windows, the current window is hidden to the background, the background reading target window hidden display.

[0028] 优选地,持续显示型窗口的个数为一个,该装置还包括: [0028] Preferably, the number of continuously displayed as a window type, the apparatus further comprising:

[0029] 第二窗口切换单元,用于在确定所述当前窗口的窗口类型为持续显示型窗口时,持续显示所述当前窗口,读取后台隐藏的目标窗口进行显示; [0029] The second window switching unit for continuous display when the window type for the current display window, the hidden background reading displayed in the target window is determined window type of the current window;

[0030] 第三窗口切换单元,用于在确定所述目标窗口的窗口类型为持续显示型窗口时,将所述当前窗口隐藏至后台,切换至处于显示状态的目标窗口。 [0030] The third window switch unit for determining the type of the target window is the window display type window duration, to hide the background current window, the target window is switched to the display state.

[0031] 优选地,所述非持续显示型窗口包括用于加载系统入口portal页面的第一类窗口,以及用于加载应用页面的第二类窗口,所述第一类窗口的个数为一个,所述第二类窗口的个数为多个,所述第一窗口切换单元包括: The number of [0031] Preferably, the non-display window comprises a continuous system for loading a first type of portal page entry window, and a window for loading the second type of application pages, the first type of window to a the number of the second type into a plurality of windows, the first window switching unit comprises:

[0032] 窗口隐藏单元,用于在确定所述目标窗口为第二类窗口时,将所述当前窗口隐藏至后台; [0032] window is hidden unit for determining a second class of the target window is the window, the window is hidden to the background current;

[0033] 窗口判断单元,用于判断后台是否存在与所述目标窗口的统一资源定位符url —致的窗口; [0033] The window determination unit configured to determine whether there is a background uniform resource locator of the target window url - consistent window;

[0034] 窗口显示单元,用于在所述窗口判断单元判断为是时,读取该窗口并进行显示; [0034] The window display unit for the determination unit determines that the window is, read and display window;

[0035] 窗口创建单元,用于在所述窗口判断单元判断为否时,创建一个目标窗口,并加载窗口页面内容。 [0035] The window creation unit, for the case of No, the target to create a window, and the window loading page content judgment unit judges the window.

[0036] 优选地,所述第一窗口切换单元还包括: [0036] Preferably, the first window switching unit further comprises:

[0037] 个数判断单元,用于判断后台隐藏的窗口的个数是否达到窗口个数阈值,若是,执行窗口销毁单元,若否,执行所述窗口创建单元; [0037] The number determination means for determining the number of hidden window background window number reaches a threshold, if yes, the window is destroyed units, if not, performing the window creating unit;

[0038] 窗口销毁单元,用于将后台隐藏的窗口中,最久未使用的一个第二类窗口销毁,然后执行所述窗口创建单元。 [0038] The window unit is destroyed, the background for a hidden window, a second type of window destruction Least Recently Used, and then performing the window creating unit.

[0039] 优选地,所述窗口显示单元包括: [0039] Preferably, the window display unit comprises:

[0040] 列表判断单元,用于在所述窗口判断单元判断为是时,判断预置的内容刷新列表中是否存在与所述目标窗口的url —致的url,若是,则对读取的窗口的内容进行刷新,并在刷新完毕后显示该窗口。 [0040] List determination means for the determination means determines that the window is, the content of the refresh is determined whether there is preset with the target window url list - url consistent, if the window is to be read the content is refreshed and displays the window after refreshing finish.

[0041] 从上述的技术方案可以看出,本申请实施例提供的窗口切换方法,将窗口分为两种类型,一种是持续显示型窗口,另一种是非持续显示型窗口,对于持续显示型窗口而言,其需要持续显示在界面上。 [0041] As can be seen from the above technical solutions, the window switching application method provided in the present embodiment, the window is divided into two types, one is the continuous type display window, another type of non-continuous display window for continuous display For type window, it needs to remain on the screen. 在此基础上,在接收到包含所要切换到的目标窗口的窗口切换指令时,确定当前窗口及目标窗口的窗口类型,如果发现当前窗口及目标窗口的窗口类型均是非持续显示型窗口,则将当前窗口隐藏至后台,并读取后台隐藏的目标窗口进行显示。 On this basis, upon receiving the window containing the to be switched to the target window switching instruction, to determine the current window type window and the target window, if the discovery window type of the current window and the destination window are non continuous display type window, then hide the current window to the background, and reads back the hidden target window for display. 本申请中对于非持续显示型窗口间的切换过程,将当前窗口进行隐藏而非现有技术中的销毁,因此对于所要切换到的目标窗口可以从后台隐藏的窗口中查找并读取显示,这个过程不需要创建并加载新窗口,因此大大减少了窗口切换时间,提高了窗口切换速度。 For this application, the process of switching between non-continuous display windows, the current window will be hidden rather than the prior art destroyed, so you can find and read the display from the background to a hidden window you want to switch to the target window, this process does not need to create and load a new window, thus greatly reducing the switching time window, the window increase the switching speed.

附图说明 BRIEF DESCRIPTION

[0042] 为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。 [0042] In order to more clearly illustrate the technical solutions according to the prior art embodiment of the present application, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only examples of the present disclosure, those of ordinary skill in the art is concerned, without creative efforts, you can derive other drawings from the accompanying drawings provided.

[0043] 图1为本申请实施例公开的一种窗口切换方法流程图; [0043] FIG disclosed in Example 1. A window switching flowchart of a method embodiment of the present application;

[0044] 图2为本申请实施例公开的另一种窗口切换方法流程图; [0044] FIG 2 is a flowchart of another embodiment of the window switching method disclosed embodiment of the present application;

[0045] 图3为本申请实施例公开的又一种窗口切换方法流程图; [0045] FIG. 3 is a flowchart of a further application window handover method disclosed embodiments;

[0046] 图4为本申请实施例公开的又一种窗口切换方法流程图; [0046] FIG 4 is a flowchart window still another embodiment of the handover method of the present disclosure of the present application;

[0047] 图5为本申请实施例公开的又一种窗口切换方法流程图 Yet another method of switching windows [0047] FIG. 5 is a flowchart of the embodiment disclosed in Application Example

[0048] 图6为本申请实施例公开的一种窗口切换装置结构示意图; [0048] FIG. 6 a schematic view of one kind of structure of the disclosed embodiment of the window switching apparatus embodiment of the present application;

[0049] 图7为本申请实施例公开的另一种窗口切换装置结构示意图; [0049] FIG. 7 is another schematic structural diagram of the disclosed embodiment of the window switching apparatus embodiment of the present application;

[0050] 图8为本申请实施例公开的一种第一窗口切换单元结构示意图; [0050] FIG. 8 of the present application window one first schematic embodiment disclosed embodiment the switching cell structure;

[0051] 图9为本申请实施例公开的另一种第一窗口切换单元结构示意图; [0051] Figure 9 discloses another embodiment of a schematic view of a first window structure switching unit embodiment of the present application;

[0052] 图10为本申请实施例公开的一种窗口显示单元结构示意图。 [0052] FIG 10 a schematic section structure of an embodiment of the disclosed embodiment of the display window of the present application.

具体实施方式 detailed description

[0053] 下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。 [0053] below with reference to this application example of the accompanying drawings, technical solutions in the embodiments will be apparent to the present application, fully described, obviously, the described embodiments are merely part of the present application embodiment, but not all embodiments example. 基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。 Based on the embodiments of the present application, all other embodiments to those of ordinary skill in the art without any creative effort shall fall within the scope of the present application.

[0054] 在介绍本申请的窗口切换方法之前,先介绍下本申请对窗口的分类。 [0054] Before describing the present application window switching method, first introduced to the classification of the present application window.

[0055] 根据窗口的显示属性,本实施例中将窗口分为两类,一类是持续显示型窗口,另一类是非持续显示型窗口。 [0055] The display of the properties window, the window according to the present embodiment will be divided into two categories, one is a continuous type of display window, and the other non-display window continuously. 顾名思义,对于持续显示型窗口而言,其需要持续显示在界面上,举例如,在机顶盒显示界面上,一般在屏幕下方窗口会持续显示广电总局播放的通知等。 As the name suggests, to continue to display the window in terms of type, it needs to remain on the screen, such as, for example, set-top boxes in general in the bottom of the screen on the interface window will display notifications SARFT continued to play shows. 持续显示型窗口只有一个,在系统初始化完毕后就一直存在。 Continuous display only a window type, there has been in the system after the initialization is complete. 而对于非持续显示型窗口而言,其可以在窗口切换的过程中暂时不进行显示,举例如,机顶盒开机主菜单界面即为一个非持续显示型窗口,用户点击界面上的直播、点播等应用后所显示的应用界面也属于非持续显不型窗口O While for non-persistent type of display window, which may be temporarily displayed in the window during the handover, such as for example, the main menu is the power set-top box a non-persistent type of display windows, the user clicks on the live interface, on-demand applications after the application interface is displayed belong to non-sustained without significant window type O

[0056] 接下来,参见图1,图1为本申请实施例公开的一种窗口切换方法流程图。 [0056] Next, referring to FIG. 1, FIG. 1 is a flow chart of a method of switching windows embodiment disclosed embodiments apply.

[0057] 如图1所示,该方法包括: [0057] As shown in FIG 1, the method comprising:

[0058] 步骤S100、接收窗口切换指令; [0058] step S100, the receiving window switching instruction;

[0059] 其中,所述窗口切换指令包括所要切换到的目标窗口。 [0059] wherein the window comprises a switching instruction to switch to the target window. 用户可以通过触发屏幕上的目标窗口来输入窗口切换指令。 The user may input switching instruction window triggered by the target window on the screen. 或者可以输入文字、数字等形式的窗口切换指令。 Or you may enter text, numbers, and other forms of window switching instruction.

[0060] 步骤S110、确定当前窗口及所述目标窗口的窗口类型; [0060] step S110, the determined window type of the current window and the target window;

[0061] 具体地,上述已经介绍了窗口类型的概念,其包括持续显示型窗口和非持续显示型窗口。 [0061] Specifically, the above has introduced the concept of window type, comprising a continuous non-display type and window type continuously displayed window.

[0062] 步骤S120、若所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口,则将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示。 [0062] step S120, the window and if the current window type of the target window duration are non-display window, this window is hidden to the background, the background reading the hidden window display will be the goal.

[0063] 对于非持续显示型窗口间的切换过程,本实施例中将当前窗口进行隐藏,并从后台隐藏的窗口中读取目标窗口,然后进行显示。 [0063] For non-sustained type display switching process between the windows, in the current embodiment of the present embodiment hidden window, the target window and the reading window from the background hidden and then displayed. 其中,后台中隐藏了若干个窗口。 Among them, the background hide several windows.

[0064] 本申请实施例提供的窗口切换方法,将窗口分为两种类型,一种是持续显示型窗口,另一种是非持续显示型窗口,对于持续显示型窗口而言,其需要持续显示在界面上。 Window switching method provided [0064] embodiment of the present application, the window is divided into two types, one is the continuous display windows, the other being non-continuous display windows, the window type for continuous display purposes, which requires continuous display at the interface. 在此基础上,在接收到包含所要切换到的目标窗口的窗口切换指令时,确定当前窗口及目标窗口的窗口类型,如果发现当前窗口及目标窗口的窗口类型均是非持续显示型窗口,则将当前窗口隐藏至后台,并读取后台隐藏的目标窗口进行显示。 On this basis, upon receiving the window containing the to be switched to the target window switching instruction, to determine the current window type window and the target window, if the discovery window type of the current window and the destination window are non continuous display type window, then hide the current window to the background, and reads back the hidden target window for display. 本申请中对于非持续显示型窗口间的切换过程,将当前窗口进行隐藏而非现有技术中的销毁,因此对于所要切换到的目标窗口可以从后台隐藏的窗口中查找并读取显示,这个过程不需要创建并加载新窗口,因此大大减少了窗口切换时间,提高了窗口切换速度。 For this application, the process of switching between non-continuous display windows, the current window will be hidden rather than the prior art destroyed, so you can find and read the display from the background to a hidden window you want to switch to the target window, this process does not need to create and load a new window, thus greatly reducing the switching time window, the window increase the switching speed.

[0065] 在本申请的另一个实施例中,介绍了另一种窗口切换方法,参见图2。 [0065] In another embodiment of the present application, it describes another method of switching a window, see Fig.

[0066] 在本实施例中,持续显示型窗口的个数设定为一个,则本实施例中进一步介绍了持续显示型窗口和非持续显示型窗口间切换的过程。 [0066] In the present embodiment, the number of continuous display type is set to a window, the present embodiment further describes the process windows display type and duration of continuous non-display window switch.

[0067] 如图2所示,该方法包括: [0067] 2, the method comprising:

[0068] 步骤S200、接收窗口切换指令; [0068] step S200, the receiving window switching instruction;

[0069] 其中,所述窗口切换指令包括所要切换到的目标窗口。 [0069] wherein the window comprises a switching instruction to switch to the target window. 用户可以通过触发屏幕上的目标窗口来输入窗口切换指令。 The user may input switching instruction window triggered by the target window on the screen. 或者可以输入文字、数字等形式的窗口切换指令。 Or you may enter text, numbers, and other forms of window switching instruction.

[0070] 步骤S210、确定当前窗口及所述目标窗口的窗口类型; [0070] step S210, determines the current window and the window type of the target window;

[0071] 具体地,上述已经介绍了窗口类型的概念,其包括持续显示型窗口和非持续显示型窗口。 [0071] Specifically, the above has introduced the concept of window type, comprising a continuous non-display type and window type continuously displayed window.

[0072] 步骤S220、若所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口,则将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示; [0072] step S220, the window and if the current window type of the target window duration are non-display window, this window is hidden to the background, the background reading hidden then the target window is displayed;

[0073] 步骤S230、若确定所述当前窗口的窗口类型为持续显示型窗口,则持续显示所述当前窗口,读取后台隐藏的目标窗口进行显示; [0073] step S230, the window if the window type of the current display type is determined as a continuous window, the duration of the current display window, the hidden background reading target window display;

[0074] 步骤S240、若确定所述目标窗口的窗口类型为持续显示型窗口,则将所述当前窗口隐藏至后台,切换至处于显示状态的目标窗口。 [0074] step S240, the window type if the target window is determined to continue to display windows, the current window is hidden to the background, the target window is switched to the display state will be said.

[0075] 具体地,由于前文已经确定了非持续显示型窗口的个数为一个,因此在当前窗口和目标窗口中任意一个为持续显示型窗口时,另一个必然是非持续显示型窗口。 When [0075] Specifically, since the foregoing has determined the number of non-persistent type of display is a window, and therefore arbitrary in the current window to a target window continues to display windows, the other must be non-continuous window display type.

[0076] 如果当前窗口为持续显示型窗口,则在进行窗口切换时,需要保证当前窗口仍继续显示,而对于目标窗口,可以从后台隐藏的窗口中读取。 [0076] If the current window is a continuous display windows, the window switch is performed, it is necessary to ensure that the current window continues to display, and for the target window can be read from a hidden window in the background.

[0077] 如果目标窗口为持续显示型窗口,则在进行窗口切换时,直接切换至处于显示状态的目标窗口,对于当前窗口,则可以隐藏到后台。 [0077] If the target window is continuously displayed windows, the window switching is performed, the target window is directly switched to the display state, the current window, it is possible to hide the background.

[0078] 进一步,在本申请的又一个实施例中介绍了又一种窗口切换方法,参见图3。 [0078] Further, in still another embodiment of the present application, it describes a further embodiment the window switching method, see Fig.

[0079] 在本实施例中,以非持续显示型窗口包括第一类窗口和第二类窗口为例,其中第一类窗口用于加载系统入口portal页面,第二类窗口用于加载应用页面。 [0079] In the present embodiment, a non-continuous display window comprises a first class type and a second type of window Case window, wherein the window for the first type of loading system entry portal page, the second page of the application window for loading . 显然,第一类窗口仅有一个,而第二类窗口可以有多个。 Obviously, only a first type of window, and the window may have a plurality of the second type.

[0080] 如图3所示,该方法包括: [0080] As shown in FIG. 3, the method comprising:

[0081] 步骤S300、接收窗口切换指令; [0081] step S300, the receiving window switching instruction;

[0082] 其中,所述窗口切换指令包括所要切换到的目标窗口。 [0082] wherein the window comprises a switching instruction to switch to the target window. 用户可以通过触发屏幕上的目标窗口来输入窗口切换指令。 The user may input switching instruction window triggered by the target window on the screen. 或者可以输入文字、数字等形式的窗口切换指令。 Or you may enter text, numbers, and other forms of window switching instruction.

[0083] 步骤S310、确定当前窗口及所述目标窗口的窗口类型; [0083] step S310, the determined window type of the current window and the target window;

[0084] 具体地,上述已经介绍了窗口类型的概念,其包括持续显示型窗口和非持续显示型窗口。 [0084] Specifically, the above has introduced the concept of window type, comprising a continuous non-display type and window type continuously displayed window.

[0085] 步骤S320、若确定所述当前窗口为非持续显示型窗口,且所述目标窗口为第二类窗口,将所述当前窗口隐藏至后台; [0085] step S320, the determining if the current window type non-continuous display window, and the second type of the target window is the window, the window is hidden to the background current;

[0086] 步骤S330、判断后台是否存在与所述目标窗口的统一资源定位符url —致的窗口;若是,则执行步骤S340,若否,则执行步骤S350 ; [0086] step S330, the background is determined whether there is a uniform resource locator of the target window url - consistent window; if yes, perform step S340, the if not, step S350 is performed;

[0087] 步骤S340、读取该窗口并进行显示; [0087] step S340, the read and display window;

[0088] 步骤S350、创建一个目标窗口,并加载窗口页面内容。 [0088] step S350, to create a target window, and the window to load the page content.

[0089] 本实施例中,由于第一类窗口为加载系统入口portal页面的窗口,因此在不显示时一直隐藏在后台,并不会销毁第一类窗口。 [0089] In this embodiment, since the first window type loading system inlet portal page window, and therefore is not displayed in the background has been hidden, and does not destroy the first type window. 而第二类窗口是加载应用页面的窗口,因此若之前没有加载过某个第二类窗口,则在用户初次切换到该第二类窗口时,在后台中查询不到该窗口,因此需要重新创建并加载。 When the second type of window is the window to load the application page, and if not before loading over a second type of window, the user first switch to the second type of window can not find the window in the background, so you need to re create and load.

[0090] 更进一步地,在本申请的又一个实施例中介绍了又一种窗口切换方法,参见图4。 [0090] Furthermore, in still another embodiment the present application describes a further embodiment the window switching method, see Fig. [0091 ] 在本实施例中,仍以非持续显示型窗口包括第一类窗口和第二类窗口为例。 [0091] In the present embodiment, is still a non-continuous display window comprises a first class type and a second type of window Example window.

[0092] 如图4可知,该方法包括: [0092] FIG. 4, the method comprising:

[0093] 步骤S400、接收窗口切换指令; [0093] step S400, the receiving window switching instruction;

[0094] 其中,所述窗口切换指令包括所要切换到的目标窗口。 [0094] wherein the window comprises a switching instruction to switch to the target window. 用户可以通过触发屏幕上的目标窗口来输入窗口切换指令。 The user may input switching instruction window triggered by the target window on the screen. 或者可以输入文字、数字等形式的窗口切换指令。 Or you may enter text, numbers, and other forms of window switching instruction.

[0095] 步骤S410、确定当前窗口及所述目标窗口的窗口类型; [0095] step S410, the determined window type of the current window and the target window;

[0096] 具体地,上述已经介绍了窗口类型的概念,其包括持续显示型窗口和非持续显示型窗口。 [0096] Specifically, the above has introduced the concept of window type, comprising a continuous non-display type and window type continuously displayed window.

[0097] 步骤S420、若确定所述当前窗口为非持续显示型窗口,且所述目标窗口为第二类窗口,将所述当前窗口隐藏至后台; [0097] step S420, the determining if the current window type non-continuous display window, and the second type of the target window is the window, the window is hidden to the background current;

[0098] 步骤S430、判断后台是否存在与所述目标窗口的统一资源定位符url —致的窗口;若是,则执行步骤S440,若否,则执行步骤S450 ; [0098] step S430, the background is determined whether there is a uniform resource locator of the target window url - consistent window; if yes, perform step S440, the if not, step S450 is performed;

[0099] 步骤S440、读取该窗口并进行显示; [0099] step S440, the read and display window;

[0100] 步骤S450、判断后台隐藏的窗口的个数是否达到窗口个数阈值,若是,执行步骤S460,若否,执行步骤S470 ; [0100] step S450, the background hidden window is determined whether the number of window number reaches a threshold, if yes, perform step S460, the otherwise, go to step S470;

[0101] 步骤S460、将后台隐藏的窗口中,最久未使用的一个第二类窗口销毁,然后执行步骤S470 ; [0101] step S460, the hidden window in the background, a second type of window Least Recently Used destruction, then step S470;

[0102] 步骤S470、创建一个目标窗口,并加载窗口页面内容。 [0102] step S470, to create a target window, and the window to load the page content.

[0103] 相比于上一实施例可知,本实施例中在判断后台不存在与目标窗口的urI —致的窗口时,进一步增加了判断后台隐藏的窗口个数是否超过阈值的过程。 [0103] Compared to the previous embodiment a known embodiment, embodiment URI does not exist the target window in the background of the present embodiment is determined - when the window is activated, the process determines whether to further increase the number of hidden window background exceeds the threshold value. 本实施例中主要考虑到系统内存承受能力,如果后台隐藏的窗口过多时,则需要删除部分窗口,而考虑到后续窗口切换时能够快速切换,本实施例选择将最久没使用的窗口销毁。 In this embodiment the main consideration to system memory capacity, if the background hidden window too much, you need to remove part of the window, while taking into account the fast switching time of follow-window switch, for example, select the window longest not used to destroy the present embodiment.

[0104] 更进一步地,在本申请的又一个实施例中介绍了又一种窗口切换方法,参见图5。 [0104] Furthermore, in still another embodiment the present application describes a further embodiment the window switching method, see Fig.

[0105] 在本实施例中,仍以非持续显示型窗口包括第一类窗口和第二类窗口为例。 [0105] In the present embodiment, is still a non-continuous display window comprises a first class type and a second type of window Example window.

[0106] 如图5可知,该方法包括: [0106] FIG. 5 shows that the method comprising:

[0107] 步骤S500、接收窗口切换指令; [0107] step S500, the receiving window switching instruction;

[0108] 其中,所述窗口切换指令包括所要切换到的目标窗口。 [0108] wherein the window comprises a switching instruction to switch to the target window. 用户可以通过触发屏幕上的目标窗口来输入窗口切换指令。 The user may input switching instruction window triggered by the target window on the screen. 或者可以输入文字、数字等形式的窗口切换指令。 Or you may enter text, numbers, and other forms of window switching instruction.

[0109] 步骤S510、确定当前窗口及所述目标窗口的窗口类型; [0109] step S510, the determined window type of the current window and the target window;

[0110] 具体地,上述已经介绍了窗口类型的概念,其包括持续显示型窗口和非持续显示型窗口。 [0110] Specifically, the above has introduced the concept of window type, comprising a continuous non-display type and window type continuously displayed window.

[0111] 步骤S520、若确定所述当前窗口为非持续显示型窗口,且所述目标窗口为第二类窗口,将所述当前窗口隐藏至后台; [0111] step S520, the determining if the current window type non-continuous display window, and the second type of the target window is the window, the window is hidden to the background current;

[0112] 步骤S530、判断后台是否存在与所述目标窗口的统一资源定位符url —致的窗口;若是,则执行步骤S540,若否,则执行步骤S570 ; [0112] step S530, the background is determined whether there is a uniform resource locator of the target window url - consistent window; if yes, perform step S540, the if not, step S570 is performed;

[0113] 步骤S540、判断预置的内容刷新列表中是否存在与所述目标窗口的url —致的url,若是,则执行步骤S550,若否,则执行步骤S560 ; [0113] step S540, the pre-determined contents url refresh list whether there exists the target window - url consistent, if yes, perform step S550, the otherwise, execute step S560;

[0114] 其中,预置的内容刷新列表中记录了需要进行内容刷新的窗口的urI。 [0114] wherein the content of the preset list to refresh the record urI need to refresh the contents of the window.

[0115] 步骤S550、读取url与目标窗口一致的窗口,对该窗口的内容进行刷新,并在刷新完毕后显不该窗口; [0115] step S550, the read window url consistent with the target window, the window contents to be refreshed, and refreshes the window should not be significant;

[0116] 步骤S560、读取url与目标窗口一致的窗口,并直接显示; [0116] Step S560, and reads the target window same url window, and directly displayed;

[0117] 步骤S570、创建一个目标窗口,并加载窗口页面内容。 [0117] step S570, to create a target window, and the window to load the page content.

[0118] 本实施例中,在确定后台存在与所述目标窗口的统一资源定位符url —致的窗口时,进一步对该窗口是否需要进行内容刷新进行判断,在判断需要进行内容刷新时,对该窗口进行内容刷新,然后显示。 [0118] In this embodiment, there is a uniform resource locator url with the target window in the background is determined - when the window is activated, the further window is required to refresh the contents of the determination, when it is determined needed to refresh the content of the window content refresh, and then displayed.

[0119] 下面对本申请实施例提供的窗口切换装置进行描述,下文描述的窗口切换装置与上文描述的窗口切换方法可相互对应参照。 [0119] The present application under the window switching device provided in the embodiment described, the window switching means and methods described above window switching described below with reference to mutually correspond.

[0120] 参见图6,图6为本申请实施例公开的一种窗口切换装置结构示意图。 [0120] Referring to Figure 6, Figure 6 a schematic view of one kind of structure of the disclosed embodiment of the window switching apparatus embodiment of the present application.

[0121] 如图6所示,该装置包括: [0121] As shown in FIG 6, the apparatus comprising:

[0122] 指令接收单元61,用于接收窗口切换指令,所述窗口切换指令包括所要切换到的目标窗口; [0122] instruction receiving unit 61, for receiving the switching instruction window, comprising a window switching instruction to switch to the target window;

[0123] 窗口类型确定单元62,用于确定当前窗口及所述目标窗口的窗口类型,所述窗口类型包括持续显示型窗口和非持续显示型窗口; [0123] window type determination unit 62 for determining the current window type and window of the target window, the window type and window type comprising a continuous display non-display window duration;

[0124] 第一窗口切换单元63,用于在确定所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口时,将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示。 [0124] The first window switching unit 63 for determining the current window type and window of the target window are non continuous display windows, the current window is hidden to the background, the background reading hidden goal window displays.

[0125] 可选的,若持续显示型窗口的个数为一个,如图7所示,该装置还可以包括: [0125] Alternatively, if the number of continuously displayed as a window type shown in Figure 7, the apparatus may further comprise:

[0126] 第二窗口切换单元64,用于在确定所述当前窗口的窗口类型为持续显示型窗口时,持续显示所述当前窗口,读取后台隐藏的目标窗口进行显示; [0126] The second window switch unit 64 for continuous display when the window type for the current display window, the hidden background reading displayed in the target window is determined window type of the current window;

[0127] 第三窗口切换单元65,用于在确定所述目标窗口的窗口类型为持续显示型窗口时,将所述当前窗口隐藏至后台,切换至处于显示状态的目标窗口。 [0127] The third window switch unit 65, for use in determining the target window is the window type is type continuously display window, the hidden window to the background current, the target window is switched to the display state.

[0128] 可选的,所述非持续显示型窗口包括用于加载系统入口portal页面的第一类窗口,以及用于加载应用页面的第二类窗口,所述第一类窗口的个数为一个,所述第二类窗口的个数为多个。 [0128] Optionally the number, the type of non-continuous display window comprises an inlet system for loading a first type of portal page window, and a window for loading the second type of application pages, the first type of window a number of the second type into a plurality of windows. 如图8所示,所述第一窗口切换单元63可以包括: 8, the first window 63 may include a switching unit:

[0129] 窗口隐藏单元631,用于在确定所述目标窗口为第二类窗口时,将所述当前窗口隐藏至后台; When the [0129] window is hidden unit 631, the target window is determined for a second type window, the window is hidden to the background current;

[0130] 窗口判断单元632,用于判断后台是否存在与所述目标窗口的统一资源定位符url —致的窗口; [0130] window determination unit 632, for determining whether there is background uniform resource locator of the target window url - consistent window;

[0131] 窗口显示单元633,用于在所述窗口判断单元632判断为是时,读取该窗口并进行显不; [0131] window display unit 633, for the determination unit 632 determines that the window is, the read window and not significant;

[0132] 窗口创建单元634,用于在所述窗口判断单元632判断为否时,创建一个目标窗口,并加载窗口页面内容。 [0132] window creation unit 634, for the case of No, the target to create a window, and loads the page content in a window determination unit 632 determines the window.

[0133] 可选的,如图9所示,所述第一窗口切换单元63还可以包括: [0133] Optionally, as shown in FIG. 9, the first window 63 may further include a switching unit:

[0134] 个数判断单元635,用于判断后台隐藏的窗口的个数是否达到窗口个数阈值,若是,执行窗口销毁单元636,若否,执行所述窗口创建单元634 ; [0134] The number determination unit 635, for determining the number of background hidden window window number reaches a threshold, if yes, the window is destroyed unit 636, otherwise, go to the window creating unit 634;

[0135] 窗口销毁单元636,用于将后台隐藏的窗口中,最久未使用的一个第二类窗口销毁,然后执行所述窗口创建单元634。 [0135] the window is destroyed unit 636, the background for a hidden window, a second type of window Least Recently Used destruction and creation unit 634 executes the window.

[0136] 可选的,如图10所示,所述窗口显示单元633可以包括: [0136] Optionally, as shown in FIG. 10, the window display unit 633 may include:

[0137] 列表判断单元6331,用于在所述窗口判断单元632判断为是时,判断预置的内容刷新列表中是否存在与所述目标窗口的url —致的url,若是,则对读取的窗口的内容进行刷新,并在刷新完毕后显示该窗口。 [0137] List determination unit 6331, for the determination unit 632 determines that the window is, it is determined whether there is content url preset refresh the list of target window - url consistent, if yes, reading the content of the window is refreshed and displays the window after refreshing finish.

[0138] 当然,上述列表判断单元6331还可以在判断预置的内容刷新列表中不存在与所述目标窗口的url —致的url时,直接对读取的窗口进行显示。 [0138] Of course, the above list determining means 6331 may also be determined to refresh the content of the preset list does not exist in the target window url - url when induced directly read on the window display.

[0139] 本申请实施例提供的窗口切换装置,将窗口分为两种类型,一种是持续显示型窗口,另一种是非持续显示型窗口,对于持续显示型窗口而言,其需要持续显示在界面上。 [0139] Application of the present embodiment provides window switching means, the window is divided into two types, one is the continuous display windows, the other being non-continuous display windows, the window type for continuous display purposes, which requires continuous display at the interface. 在此基础上,在接收到包含所要切换到的目标窗口的窗口切换指令时,确定当前窗口及目标窗口的窗口类型,如果发现当前窗口及目标窗口的窗口类型均是非持续显示型窗口,则将当前窗口隐藏至后台,并读取后台隐藏的目标窗口进行显示。 On this basis, upon receiving the window containing the to be switched to the target window switching instruction, to determine the current window type window and the target window, if the discovery window type of the current window and the destination window are non continuous display type window, then hide the current window to the background, and reads back the hidden target window for display. 本申请中对于非持续显示型窗口间的切换过程,将当前窗口进行隐藏而非现有技术中的销毁,因此对于所要切换到的目标窗口可以从后台隐藏的窗口中查找并读取显示,这个过程不需要创建并加载新窗口,因此大大减少了窗口切换时间,提高了窗口切换速度。 For this application, the process of switching between non-continuous display windows, the current window will be hidden rather than the prior art destroyed, so you can find and read the display from the background to a hidden window you want to switch to the target window, this process does not need to create and load a new window, thus greatly reducing the switching time window, the window increase the switching speed.

[0140] 最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。 [0140] Finally, it should be noted that, herein, relational terms such as first and second and the like are only used to distinguish one entity or operation from another entity or action without necessarily requiring or implying any such actual relationship or order between these entities or operations. 而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。 Further, the term "comprising", "containing" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, article, or apparatus not include only those elements but not expressly listed further comprising the other elements, or further comprising such process, method, article, or apparatus inherent elements. 在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。 Without more constraints, by the wording "include a ......" defined does not exclude the existence of additional identical elements in the element comprising a process, method, article, or apparatus.

[0141] 本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。 [0141] In the present specification, the various embodiments described in a progressive manner, differences from the embodiment and the other embodiments each of which emphasizes embodiment, the same or similar portions between the various embodiments refer to each other.

[0142] 对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。 [0142] The above description of the disclosed embodiments enables those skilled in the art to make or use the present application. 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。 Various modifications to these professionals skilled in the art of the present embodiments will be apparent, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the disclosure. 因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 Accordingly, the present application will not be limited to the embodiments shown herein but is to be accorded herein consistent with the principles and novel features disclosed widest scope.

Claims (10)

  1. 1.一种窗口切换方法,其特征在于,包括: 接收窗口切换指令,所述窗口切换指令包括所要切换到的目标窗口; 确定当前窗口及所述目标窗口的窗口类型,所述窗口类型包括持续显示型窗口和非持续显不型窗口; 若所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口,则将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示。 A window switching method, comprising: receiving a switching instruction window, comprising a window switching instruction to switch to the target window; determining a current window type and window of the target window, the window comprising a continuous type windows display type and non-sustained type window not significant; if the current window and the window type of the target window are non continuous display type window, then the window is hidden to the background current, the background reading window hidden targets display.
  2. 2.根据权利要求1所述的方法,其特征在于,持续显示型窗口的个数为一个,该方法还包括: 若确定所述当前窗口的窗口类型为持续显示型窗口,则持续显示所述当前窗口,读取后台隐藏的目标窗口进行显示; 若确定所述目标窗口的窗口类型为持续显示型窗口,则将所述当前窗口隐藏至后台,切换至处于显示状态的目标窗口。 2. The method according to claim 1, wherein the number of continuously displayed as a window type, the method further comprising: determining if the window type of the current window type continuous display window, the display continuously current window, read the background hidden target window display; determining if the target window is the window type continuously-display window, this window is hidden to the background, the target window is switched to the display state will be said.
  3. 3.根据权利要求1所述的方法,其特征在于,所述非持续显示型窗口包括用于加载系统入口portal页面的第一类窗口,以及用于加载应用页面的第二类窗口,所述第一类窗口的个数为一个,所述第二类窗口的个数为多个,则在所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口时,将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示的过程,包括: 若确定所述当前窗口为非持续显示型窗口,且所述目标窗口为第二类窗口,则将所述当前窗口隐藏至后台; 判断后台是否存在与所述目标窗口的统一资源定位符url —致的窗口; 若是,则读取该窗口并进行显示; 若否,则创建一个目标窗口,并加载窗口页面内容。 3. The method according to claim 1, wherein said non-sustained-display window comprises an inlet portal page loading window system of the first category and a second category application window for loading the page, the when the number of the first window to a class, the class number of the second plurality of window, then the window type of the current window and the target window's display type windows are non-continuous, the current background to the window is hidden, the hidden background reading target window display process, comprising: determining if a non-continuous display of the current window type window, and a second class of the target window is the window, then the current window is hidden to the background; determining whether there is background uniform resource locator of the target window url - consistent window; if so, this window is read and displayed; if not, create a target window, the window and loading the page content.
  4. 4.根据权利要求3所述的方法,其特征在于,在创建目标窗口之前,该方法还包括: 判断后台隐藏的窗口的个数是否达到窗口个数阈值; 若是,则将后台隐藏的窗口中,最久未使用的一个第二类窗口销毁,然后执行创建目标窗口的过程; 若否,则直接执行创建目标窗口的过程。 4. The method according to claim 3, characterized in that, before creating a target window, the method further comprising: determining the number of background hidden window number of the window has reached a threshold value; if yes, a hidden window background a second type of window Least Recently used destruction, and then execute the process of creating the target window; if not, the direct implementation of the process of creating the target window.
  5. 5.根据权利要求3所述的方法,其特征在于,在判断后台存在与所述目标窗口的统一资源定位符url —致的窗口并读取该窗口之后,且在显示该窗口之前,该方法还包括: 判断预置的内容刷新列表中是否存在与所述目标窗口的url —致的url,若是,则对读取的窗口的内容进行刷新,并在刷新完毕后显示该窗口。 5. The method according to claim 3, characterized in that the presence of a uniform resource locator url with the target window is determined in the background - and the reading window after actuation of the window before the window and the display, the method further comprising: determining the content of the refresh whether there is preset the target window url list - url consistent, if yes, reading the content of the window to be refreshed, and the window is displayed upon completion of the refresh.
  6. 6.一种窗口切换装置,其特征在于,包括: 指令接收单元,用于接收窗口切换指令,所述窗口切换指令包括所要切换到的目标窗P ; 窗口类型确定单元,用于确定当前窗口及所述目标窗口的窗口类型,所述窗口类型包括持续显示型窗口和非持续显示型窗口; 第一窗口切换单元,用于在确定所述当前窗口及所述目标窗口的窗口类型均为非持续显示型窗口时,将所述当前窗口隐藏至后台,读取后台隐藏的目标窗口进行显示。 A window switch apparatus comprising: instruction receiving means for receiving the switching instruction window, comprising a window switching instruction to switch to the target window P; window type determining means for determining a current window and window type of the target window, the window type and window type comprising a continuous display type non-continuous display window; window a first switching unit for all non-continuously determining the current window in the target window and window type type window is displayed, the current window is hidden to the background, the background reading hidden target window display.
  7. 7.根据权利要求6所述的装置,其特征在于,持续显示型窗口的个数为一个,该装置还包括: 第二窗口切换单元,用于在确定所述当前窗口的窗口类型为持续显示型窗口时,持续显示所述当前窗口,读取后台隐藏的目标窗口进行显示; 第三窗口切换单元,用于在确定所述目标窗口的窗口类型为持续显示型窗口时,将所述当前窗口隐藏至后台,切换至处于显示状态的目标窗口。 7. The device according to claim 6, characterized in that the number of continuous display is a type of window, the apparatus further comprising: a second window switch unit, is continuously displayed for determining the current window type window when the window type for the current display window, read the background window displaying the hidden target; third window switching unit for determining the type of the target window is the window display type window duration, the current window to hide the background, the target window is switched to the display state.
  8. 8.根据权利要求6所述的装置,其特征在于,所述非持续显示型窗口包括用于加载系统入口portal页面的第一类窗口,以及用于加载应用页面的第二类窗口,所述第一类窗口的个数为一个,所述第二类窗口的个数为多个,所述第一窗口切换单元包括: 窗口隐藏单元,用于在确定所述目标窗口为第二类窗口时,将所述当前窗口隐藏至后台; 窗口判断单元,用于判断后台是否存在与所述目标窗口的统一资源定位符url —致的窗口; 窗口显示单元,用于在所述窗口判断单元判断为是时,读取该窗口并进行显示; 窗口创建单元,用于在所述窗口判断单元判断为否时,创建一个目标窗口,并加载窗口页面内容。 8. The apparatus according to claim 6, wherein said non-persistent type of display window comprises an inlet portal page loading window system of the first category and a second category application window for loading the page, the when the window is hidden unit for determining a second class of the target window is the window: the number of a first type of window, the number of the second type into a plurality of windows, the first window switching unit includes , the current window to the background hidden; window determination unit, a uniform resource locator url for determining whether there is a background of the target window and - actuation of the window; window display unit for the determination unit determines that the window is, read and display window; window creation unit, for the case of No, the target window to create a window determining unit determines, and loads the page content window.
  9. 9.根据权利要求8所述的装置,其特征在于,所述第一窗口切换单元还包括: 个数判断单元,用于判断后台隐藏的窗口的个数是否达到窗口个数阈值,若是,执行窗口销毁单元,若否,执行所述窗口创建单元; 窗口销毁单元,用于将后台隐藏的窗口中,最久未使用的一个第二类窗口销毁,然后执行所述窗口创建单元。 9. The apparatus according to claim 8, wherein the first window further comprises a switching unit: number determining means for determining the number of hidden window background window number reaches a threshold, if yes, window destruction unit, otherwise, go to the window creating unit; means the window is destroyed, the background for a hidden window, a second type of window destruction Least Recently used, and then performing the window creating unit.
  10. 10.根据权利要求8所述的装置,其特征在于,所述窗口显示单元包括: 列表判断单元,用于在所述窗口判断单元判断为是时,判断预置的内容刷新列表中是否存在与所述目标窗口的url —致的url,若是,则对读取的窗口的内容进行刷新,并在刷新完毕后显不该窗口。 10. The apparatus according to claim 8, wherein the window display unit includes: a list determination unit for the determination unit determines that the window is, to refresh the content of the preset list is determined whether or not there the target window url - url consistent, if yes, reading the content of the window to be refreshed, and refreshes the window should not be significant.
CN 201510549146 2015-08-31 2015-08-31 Window switching method and apparatus CN105224167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510549146 CN105224167A (en) 2015-08-31 2015-08-31 Window switching method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510549146 CN105224167A (en) 2015-08-31 2015-08-31 Window switching method and apparatus

Publications (1)

Publication Number Publication Date
CN105224167A true true CN105224167A (en) 2016-01-06

Family

ID=54993177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510549146 CN105224167A (en) 2015-08-31 2015-08-31 Window switching method and apparatus

Country Status (1)

Country Link
CN (1) CN105224167A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126955A1 (en) * 2004-05-06 2008-05-29 Yanase Takatoshi Window Display System, Window Display Method, Program Development Support Device, and Server Device
CN101627360A (en) * 2007-01-05 2010-01-13 苹果公司 Method, system, and graphical user interface for viewing multiple application windows
CN103116441A (en) * 2013-01-28 2013-05-22 广东威创视讯科技股份有限公司 Window switching method and device
CN103365546A (en) * 2013-08-08 2013-10-23 贝壳网际(北京)安全技术有限公司 Browser window creating method and device
CN103376974A (en) * 2013-06-28 2013-10-30 广州市动景计算机科技有限公司 Window switching method and device
CN104423777A (en) * 2013-08-23 2015-03-18 联想(北京)有限公司 Window display method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126955A1 (en) * 2004-05-06 2008-05-29 Yanase Takatoshi Window Display System, Window Display Method, Program Development Support Device, and Server Device
CN101627360A (en) * 2007-01-05 2010-01-13 苹果公司 Method, system, and graphical user interface for viewing multiple application windows
CN103116441A (en) * 2013-01-28 2013-05-22 广东威创视讯科技股份有限公司 Window switching method and device
CN103376974A (en) * 2013-06-28 2013-10-30 广州市动景计算机科技有限公司 Window switching method and device
CN103365546A (en) * 2013-08-08 2013-10-23 贝壳网际(北京)安全技术有限公司 Browser window creating method and device
CN104423777A (en) * 2013-08-23 2015-03-18 联想(北京)有限公司 Window display method and device

Similar Documents

Publication Publication Date Title
US8922575B2 (en) Tile cache
US20100262582A1 (en) Content synchronization across multiple computers
US20030188305A1 (en) Installer, external storage medium, computer system and method and program products for installing application program
US20110091187A1 (en) Resume point for digital media playback
US20090031208A1 (en) Expanding Rows and Cells Within a Table
US8386955B1 (en) User-optimized content for web browsing windows
US20070050769A1 (en) Operating system shut down
US20110283215A1 (en) Integrated user interface controls for web dialogs
US8359359B2 (en) Device, method, and computer program product for supporting creation of reply mail
US20090083860A1 (en) Security system for a browser-based environment
US8296673B2 (en) Collapsible tabbed user interface
US20100242044A1 (en) Adaptable software resource managers based on intentions
US20110066931A1 (en) Method for providing widget and apparatus for providing and displaying the same
US20120266100A1 (en) Dynamic Tile Billboard User Interface
CN103488383A (en) Interface operation method and terminal equipment
Calo Consumer subject review boards: A thought experiment
US20090037522A1 (en) System and Method for Simulating Network Functionality for Demonstration Devices
US20150095775A1 (en) Customizing mobile media end cap user interfaces based on mobile device orientation
CN102929653A (en) Method for loading application program, and communication terminal
US20120324396A1 (en) Method for quick application attribute transfer by user interface instance proximity
CN103686414A (en) Network video playing method and device
US20070074101A1 (en) Smart form completion of form values
CN103186671A (en) Searching method and searching system for mobile terminal, and mobile terminal
CN102708102A (en) Retrieval information presentation method and electronic equipment using retrieval information presentation method
JP2013045215A (en) Novel information detecting method, novel information detecting device, and novel information detecting program

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination