CN103150312A - Method and terminal for opening external link in network application - Google Patents

Method and terminal for opening external link in network application Download PDF

Info

Publication number
CN103150312A
CN103150312A CN2011104396305A CN201110439630A CN103150312A CN 103150312 A CN103150312 A CN 103150312A CN 2011104396305 A CN2011104396305 A CN 2011104396305A CN 201110439630 A CN201110439630 A CN 201110439630A CN 103150312 A CN103150312 A CN 103150312A
Authority
CN
China
Prior art keywords
window
network application
outer chain
browser kernel
sign
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104396305A
Other languages
Chinese (zh)
Other versions
CN103150312B (en
Inventor
殷宇
张孝超
魏亚民
李斌
谢昕虬
李劲秋
常平
黄奎
杨光
秦颖夫
饶瑞
曹超利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110439630.5A priority Critical patent/CN103150312B/en
Publication of CN103150312A publication Critical patent/CN103150312A/en
Application granted granted Critical
Publication of CN103150312B publication Critical patent/CN103150312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a terminal for opening an external link in a network application, which belong to the technical field of the network application. The method comprises the following steps that a request for opening the external link in the network application is received; a corresponding window is created in accordance with the request for opening the external link; and a tab page is created in the network application, the window is loaded in the tab page, and a web page corresponding to the external link is opened in the window. According to the method and the terminal, through a browsing mode that multi-window display is established in the network application and a multi-example mode that a separate browser kernel object is created for each new tab page, the window of the external link can be opened in the network application without jumping out of the environment of an open platform, the user experience is improved, the burden of a developer of the network application is reduced, and the generality of the application is improved.

Description

A kind of method and terminal of opening outer chain in network application
Technical field
The present invention relates to the network application technical field, particularly a kind of method and terminal of opening outer chain in network application.
Background technology
Along with the development of internet open platform, increasing open platform begins to carry out the exploitation of webapp (network application), and webapp is take the Web page as the basis, completes the application of certain function.Develop a webapp, open platform need to provide the window of an operation third party web page, embeds the web page that the third party uses in this window, and the user just can use these webapp as using local the application like this.
Often can be with outer chain in the page of Webapp, outer chain is external linkage, is the annexation that a webpage points to a target.In prior art externally the processing mode of chain be: jump out the webapp window when the user clicks outer chain in webapp, open the webpage of this link sensing by the terminal browser; Further situation, some open platform does not wish to jump out when webapp opens outer chain the scope of webapp, therefore forbid directly that the third party who accesses uses with outer chain, when if webapp must use outer chain, the white list that needs webapp to add open platform to set up, just can open the outer chain that occurs in the webapp page, the same needs of opening of this outer chain jump to the terminal browser and open.Adopt the white list mode, the developer of webapp need to carry out extra modification to adapt to the requirement of open platform to webapp.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
During chain, need the user to carry out blocked operation between open platform and browser outside open platform allows, can affect user's experience; When the outer chain of open platform restriction, need the personnel of exploitation webapp to carry out extra modification, can affect the versatility of network application, the application access amount of reduction open platform.
Summary of the invention
Can only open by browser the defective of the outer chain in network application in order to solve in prior art, the embodiment of the present invention provides a kind of method and terminal of opening outer chain in network application.Described technical scheme is as follows:
The embodiment of the present invention has proposed a kind of method of opening outer chain in network application, comprising:
Receive the request of opening outer chain of network application;
Create corresponding window according to described request of opening outer chain;
The establishing label page in described network application loads described window, and open webpage corresponding to described outer chain in described window in described labels page.
Preferred as technique scheme describedly creates corresponding window according to described request of opening outer chain, specifically comprises:
According to described request of opening outer chain, create the browser kernel object;
According to described browser kernel object, the window of establishment and described browser kernel object association is that described window distributes window ID.
Preferred, described according to described request of opening outer chain as technique scheme creates the browser kernel object, specifically comprises:
Whether there be browser kernel object corresponding to described kernel sign in the query caching pond;
If there be browser kernel object corresponding to described kernel sign in described cache pool, call browser kernel object corresponding to described kernel sign as the described browser kernel object of opening the request of outer chain;
If there be not browser kernel object corresponding to described kernel sign in described cache pool, select the browser kernel interface corresponding with described network application according to described kernel sign, the browser kernel interface that calls described selection is that described request of opening outer chain creates the browser kernel object.
Preferred as technique scheme describedly creates new labels page in described network application, load described window in described labels page, and open webpage corresponding to described outer chain in described window, specifically comprises:
Obtain the handle of described window, and the handle of described window ID and described window is returned to described network application, make described network application create a new labels page, load described window according to the handle of described window ID and described window in described labels page, and open webpage corresponding to described outer chain in described window.
Preferred as technique scheme, described send the request of opening outer chain by browser kernel corresponding to the described network application page after, described method also comprises:
Obtain the authority sign of described outer chain, can call local service according to webpage corresponding to the described authority sign described outer chain of judgement;
Wherein, described authority sign is used for identifying the authority that webpage corresponding to described outer chain calls local service.
Preferred as technique scheme, described method also comprises:
Judge that whether number of windows in described network application is less than predetermined threshold value;
If the number of windows in described network application less than predetermined threshold value, is controlled each window and is used respectively a process;
If the number of windows of described network application more than or equal to predetermined threshold value, is controlled two or more windows and is shared a process.
Preferred as technique scheme, described method also comprises:
Record the outer chain information of opening in described network application;
When described network application is broken down, transfer the outer chain information of described record and described network application is returned to state before fault.
The embodiment of the present invention has also proposed a kind of terminal of opening outer chain in network application, comprising:
Receiver module is used for receiving the request of opening outer chain of network application;
The window creation module is used for creating corresponding window according to the request of opening outer chain that described receiver module receives;
The webpage load-on module is used at the described network application establishing label page, loads the window of described window creation module creation in described labels page, and open webpage corresponding to described outer chain in described window.
Preferred as technique scheme, described window creation module comprises:
The kernel creating unit is used for according to described request of opening outer chain, creates the browser kernel object;
The window creation unit is used for according to described browser kernel object, and the window of establishment and described browser kernel object association is that described window distributes window ID.
Preferred as technique scheme, described kernel creating unit specifically comprises:
Obtain subelement, be used for obtaining the default kernel sign of described network application;
The inquiry subelement is used for the query caching pond and whether has had browser kernel object corresponding to described kernel sign that has been created;
There is browser kernel object corresponding to described kernel sign in the kernel calls subelement if be used for described cache pool, calls browser kernel object corresponding to described kernel sign as the described browser kernel object of opening the request of outer chain;
Kernel creates subelement, there be not browser kernel object corresponding to described kernel sign if be used for described cache pool, select the browser kernel interface corresponding with described network application according to described kernel sign, the browser kernel interface that calls described selection is that described request of opening outer chain creates the browser kernel object.
Preferred as technique scheme, described window load-on module specifically is used for:
Obtain the handle of described window, and the handle of described window ID and described window is returned to described network application, make described network application create a new labels page, load described window according to the handle of described window ID and described window in described labels page, and open webpage corresponding to described outer chain in described window.
Preferred as technique scheme, described terminal also comprises:
Can the authority identifier acquisition module be used for calling local service according to webpage corresponding to the described authority sign described outer chain of judgement;
Wherein, described authority sign is used for identifying the authority that webpage corresponding to described outer chain calls local service.
Preferred as technique scheme, described terminal also comprises:
The management of process module is used for judging that whether the number of windows of described network application is less than predetermined threshold value;
If the number of windows in described network application less than predetermined threshold value, is controlled each window and is used respectively a process;
If the number of windows of described network application more than or equal to predetermined threshold value, is controlled two or more windows and is shared a process.
Preferred as technique scheme, described terminal also comprises:
Recover module, be used for recording the outer chain information that described network application is opened;
When described network application is broken down, transfer the outer chain information of described record and described network application is returned to state before fault.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: the browsing mode of showing by set up multiwindow in network application, and by create many way of example of independent browser kernel object for each newly-established labels page, the environment of having realized need not jumping out open platform in network application can be opened the window of outer chain, improved user's experience, and the burden that has alleviated the Network application and development person has improved the versatility of its application.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, during the below will describe embodiment, the accompanying drawing of required use is done to introduce simply, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of the method for opening outer chain in network application that provides in the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of the method for opening outer chain in network application that provides in the embodiment of the present invention 2;
Fig. 3 is the structural representation of the terminal of opening outer chain in network application that provides in the embodiment of the present invention 3.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, the embodiment of the present invention provides a kind of method of opening outer chain in network application, comprising:
Step 101: receive the request of opening outer chain of network application;
Step 102: create corresponding window according to described request of opening outer chain;
Step 103: the establishing label page in described network application loads described window, and open webpage corresponding to described outer chain in described window in described labels page.
The browsing mode that the embodiment of the present invention is showed by set up multiwindow in network application, and by create many way of example of independent browser kernel object for each newly-established labels page, the environment of having realized need not jumping out open platform in network application can be opened the window of outer chain, improved user's experience, and the burden that has alleviated the Network application and development person has improved the versatility of its application.
Embodiment 2
Referring to Fig. 2, the embodiment of the present invention provides a kind of method of opening outer chain in network application, comprising:
Step 201: receive the request of opening outer chain of network application.
When having the action of opening outer chain to occur on the network application page, this page sends by the page mechanism of browser kernel the event of opening this outer chain, after terminal captures this event, get URL (Universal Resource Locator, the URL(uniform resource locator)) address of this outer chain.
Step 202: obtain the authority sign of described outer chain, can call local service according to webpage corresponding to the described authority sign described outer chain of judgement.
Wherein, described authority sign is used for identifying the authority that webpage corresponding to described outer chain calls local service.
In the embodiment of the present invention, terminal can provide a special purpose interface for the outer chain page that uses local service.If outer chain is accepted by open platform, its authority sign represents that the special purpose interface that this outer chain can call terminal and provides opens, and allows the local service of its access terminal, otherwise forbids.For the page of these disable access Terminal Service, terminal can by the highlighted demonstration of the label on the interface, be unsafe with the page corresponding to this outer chain of reminding user.
The special purpose interface that can call terminal provides is opened outer chain, can check the outer chain of this network application whether can call the local service of terminal, with some functions of using terminal to provide, if the special purpose interface that can't call terminal provides is opened outer chain, can't call the local service of terminal, the various functions that can't use terminal to provide.Wherein, the function that provides of described terminal can comprise: the functions such as microblogging is shared, feedback, report.URL address in outer chain may be to point to an advertisement, game etc., and its character is varied.In order to prevent that advertisement that some are false and fishing website from using the illegal operation of service of terminal, the service that terminal can not allow the Shipping Options Page of each outer chain of opening can access terminal provide by checking the authority sign of outer chain, can guarantee the security of terminal.
Be understandable that, in other embodiments of the invention, can also guarantee by other means the security of terminal, for example: can preset blacklist, preserved the URL address of unsafe webpage in this blacklist, check that URL address corresponding to outer chain whether in predefined blacklist, if refuse response request in blacklist, also can reach the purpose of guaranteeing terminal security by the way.
Step 203: create corresponding window according to described request of opening outer chain.
Step 203 can be specially:
Step 2031: according to described request of opening outer chain, create the browser kernel object.
Step 2031 can be specially:
Step 20311: obtain the default kernel sign of described network application.
When being outer chain creation browser kernel object, select the browser kernel interface corresponding with the kernel sign to create the browser kernel object for it.The browser kernel interface is set, can supports different browser kernels, for example: the embodiment of the present invention can be supported IE kernel and webkit kernel simultaneously.Different in view of the browser kernel that network application is required, therefore need the kernel of judgement network application to identify, for it creates corresponding browser kernel object.
Step 20312: whether query caching has existed browser kernel object corresponding to described kernel sign in the pond.
Concrete, be this page creation browser kernel object by terminal.Preferably, can also inquire about whether there be browser kernel object corresponding to described kernel sign before establishment in cache pool, if having need not create new browser kernel object, save the time of opening the page.Wherein, in cache pool, the browser kernel object of buffer memory can be that terminal is pre-created the also browser kernel object of buffer memory, can be also that this opens the browser kernel object that has created and used before outer chain of network application.This cache pool can be label control on interface in terminal, it can be also the labels page in network application, this cache pool can make the browser kernel object that directly calls buffer memory when opening the outer chain of network application as opening the browser kernel object of the request of outer chain, thereby has improved the opening speed of the outer chain page.
Step 20313: if there be browser kernel object corresponding to described kernel sign in described cache pool, call browser kernel object corresponding to described kernel sign as the described browser kernel object of opening the request of outer chain.
Step 20314: if there be not browser kernel object corresponding to described kernel sign in described cache pool, select the browser kernel interface corresponding with described network application according to described kernel sign, the browser kernel interface that calls described selection is that described request of opening outer chain creates the browser kernel object.
Need to prove, carrying out the multiwindow page in network application shows, need to realize many examples of browser kernel, make the decoupling zero of interface and browser kernel, the many examples of the kernel of browser refer to moving in a network application a plurality of browser kernel objects, the corresponding browser kernel object of the page.
Step 2032: according to described browser kernel object, the window of establishment and described browser kernel object association is that described window distributes window ID.
Be specially, draw described window by the browse interface in described browser kernel object, and be this window distribution window ID.
Step 204: the establishing label page in described network application loads described window, and open webpage corresponding to described outer chain in described window in described labels page.
At first create a label control in network application, representative has created a labels page.Obtain the handle of described window, and, by the windows message mechanism, the handle of window ID and window is returned to described network application, make described network application create a new labels page, load described window according to the handle of described window ID and described window in described labels page, and open webpage corresponding to described outer chain in described window.
The handle of just described window ID and described window carries out related with described labels page, shine upon preservation by the label control in network application and window ID, label control finds the handle of its window by the mapping relations of window ID, operate on it again, when for example closing labels page, synchronous communication makes itself and labels page close simultaneously to corresponding window.
Further, the original window of network application also stashes accordingly, as a labels page before the labels page of new establishment.The user can operate by the label control on the interface a plurality of windows, and the switching of a plurality of labels page can not cause basic impact in fact on the framework of existing network application, is only in user interface and browses and do an isolation between window.The operation such as can carry out the switch labels page to each labels page of opening, close window, advance, retreat, refresh.
The window ID of this window and the handle of window are joined in the window list, preserve the corresponding relation between the handle of window ID corresponding to all windows, each window and each window in described window list.Wherein, handle is the unique identification of window, handle is corresponding one by one with window, and handle is used for different objects and the different example in homogeneous object, for example a window in identification application, button, icon, scroll bar, output device, control or file etc., application program can find object corresponding to this handle by this handle.For example: embed web page etc. in window, need first to find this window by handle, just can carry out the operation to this window.
Come synchronous communication by window ID between label control in browser kernel object and network application, window ID is the unique identification of window corresponding to outer chain.Adopt this mode, the label control on the network application interface only has its corresponding window ID, does not have the entity of this window, has reduced coupling.For example when the close of network application, the labels page that needs this network application correspondence to open is also closed, and the labels page in it is only a window related with it, not in the middle of its network application, therefore need to inform that this window carries out shutoff operation by window ID corresponding to the page.
Step 205: judge that whether number of windows in described network application is less than predetermined threshold value; If the number of windows in described network application less than predetermined threshold value, is controlled each window and is used respectively a process; If the number of windows of described network application more than or equal to predetermined threshold value, is controlled two or more windows and is shared a process.
Because browser kernel may break down, if the outer chain window of opening from network application all in same process, the fault of a window will cause the fault of whole network application.If the independent process of each outer chain window can cause consuming excessively of resource, system performance reduces.Therefore need to keep the balance of stability and performance with a strategy, for different machines, different systems, different configurations, the browser process number that can open simultaneously is different.
Step 206: record the outer chain information of opening in described network application; When described network application is broken down, transfer the outer chain information of described record and described network application is returned to state before fault.
When the design's support was broken down in when operation when network application, the user restarted this applications, and automatically prompting user recovers the window of fault front opening, and wherein fault comprises: grade machine, the situation such as restart, close.The relevant information of each outer chain that the user is opened is carried out record, its China and foreign countries' chain information can be one or more information in the number of the title of URL address, window, the outer chain opened, but also be not limited to this several information, the information that comprises in the page corresponding to all outer chains all can be used for all can carrying out record for the information of recovering pre-fault status.When the user is restarted this network application, can go local data base to read these information, the state before reverting to rapidly.
The browsing mode that the embodiment of the present invention is showed by set up multiwindow in network application, and by create many way of example of independent browser kernel object for each newly-established labels page, the environment of having realized need not jumping out open platform in network application can be opened the window of outer chain, improved user's experience, and the burden that has alleviated the Network application and development person has improved the versatility of its application.
Embodiment 3
Referring to Fig. 3, the embodiment of the present invention provides a kind of terminal of opening outer chain in network application, comprising:
Receiver module 301 is used for receiving the request of opening outer chain of network application;
Window creation module 302 is used for creating corresponding window according to the request of opening outer chain that described receiver module receives;
Webpage load-on module 303 is used at the described network application establishing label page, loads the window of described window creation module creation in described labels page, and open webpage corresponding to described outer chain in described window.
In specific embodiment, described window creation module 302 comprises:
Kernel creating unit 3021 is used for according to described request of opening outer chain, creates the browser kernel object;
Window creation unit 3022 is used for according to described browser kernel object, and the window of establishment and described browser kernel object association is that described window distributes window ID.
Preferably, described kernel creating unit 3021 specifically comprises:
Obtain subelement 30211, be used for obtaining the default kernel sign of described network application;
Inquiry subelement 30212 is used for the query caching pond and whether has had browser kernel object corresponding to described kernel sign that has been created;
There is browser kernel object corresponding to described kernel sign in kernel calls subelement 30213 if be used for described cache pool, calls browser kernel object corresponding to described kernel sign as the described browser kernel object of opening the request of outer chain;
Kernel creates subelement 30214, there be not browser kernel object corresponding to described kernel sign if be used for described cache pool, select the browser kernel interface corresponding with described network application according to described kernel sign, the browser kernel interface that calls described selection is that described request of opening outer chain creates the browser kernel object.
Preferably, described window load-on module 303 specifically is used for:
Obtain the handle of described window, and the handle of described window ID and described window is returned to described network application, make described network application create a new labels page, load described window according to the handle of described window ID and described window in described labels page, and open webpage corresponding to described outer chain in described window.
Preferably, described terminal also comprises:
Can authority identifier acquisition module 304 be used for calling local service according to webpage corresponding to the described authority sign described outer chain of judgement;
Wherein, described authority sign is used for identifying the authority that webpage corresponding to described outer chain calls local service.
Management of process module 305 is used for judging that whether the number of windows of described network application is less than predetermined threshold value;
If the number of windows in described network application less than predetermined threshold value, is controlled each window and is used respectively a process;
If the number of windows of described network application more than or equal to predetermined threshold value, is controlled two or more windows and is shared a process.
Recover module 306, be used for recording the outer chain information that described network application is opened;
When described network application is broken down, transfer the outer chain information of described record and described network application is returned to state before fault.
The browsing mode that the embodiment of the present invention is showed by set up multiwindow in network application, and by create many way of example of independent browser kernel object for each newly-established labels page, the environment of having realized need not jumping out open platform in network application can be opened the window of outer chain, improved user's experience, and the burden that has alleviated the Network application and development person has improved the versatility of its application.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the relevant hardware of instruction to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (14)

1. a method of opening outer chain in network application, is characterized in that, described method comprises:
Receive the request of opening outer chain of network application;
Create corresponding window according to described request of opening outer chain;
The establishing label page in described network application loads described window, and open webpage corresponding to described outer chain in described window in described labels page.
2. method according to claim 1, is characterized in that, the described window that creates correspondence according to described request of opening outer chain specifically comprises:
According to described request of opening outer chain, create the browser kernel object;
According to described browser kernel object, the window of establishment and described browser kernel object association is that described window distributes window ID.
3. method according to claim 2, is characterized in that, and is described according to described request of opening outer chain, creates the browser kernel object, specifically comprises:
Obtain the default kernel sign of described network application;
Whether there be browser kernel object corresponding to described kernel sign in the query caching pond;
If there be browser kernel object corresponding to described kernel sign in described cache pool, call browser kernel object corresponding to described kernel sign as the described browser kernel object of opening the request of outer chain;
If there be not browser kernel object corresponding to described kernel sign in described cache pool, select the browser kernel interface corresponding with described network application according to described kernel sign, the browser kernel interface that calls described selection is that described request of opening outer chain creates the browser kernel object.
4. method according to claim 1, is characterized in that, described in described network application the establishing label page, load described window in described labels page, and open webpage corresponding to described outer chain in described window, specifically comprise:
Obtain the handle of described window, and the handle of described window ID and described window is returned to described network application, make described network application create a new labels page, load described window according to the handle of described window ID and described window in described labels page, and open webpage corresponding to described outer chain in described window.
5. method according to claim 1, is characterized in that, described send the request of opening outer chain by browser kernel corresponding to the described network application page after, described method also comprises:
Obtain the authority sign of described outer chain, can call local service according to webpage corresponding to the described authority sign described outer chain of judgement;
Wherein, described authority sign is used for identifying the authority that webpage corresponding to described outer chain calls local service.
6. method according to claim 1, is characterized in that, described method also comprises:
Judge that whether number of windows in described network application is less than predetermined threshold value;
If the number of windows in described network application less than predetermined threshold value, is controlled each window and is used respectively a process;
If the number of windows of described network application more than or equal to predetermined threshold value, is controlled two or more windows and is shared a process.
7. method according to claim 1, is characterized in that, described method also comprises:
Record the outer chain information of opening in described network application;
When described network application is broken down, transfer the outer chain information of described record and described network application is returned to state before fault.
8. a terminal of opening outer chain in network application, is characterized in that, described terminal comprises:
Receiver module is used for receiving the request of opening outer chain of network application;
The window creation module is used for creating corresponding window according to the request of opening outer chain that described receiver module receives;
The webpage load-on module is used at the described network application establishing label page, loads the window of described window creation module creation in described labels page, and open webpage corresponding to described outer chain in described window.
9. terminal according to claim 8, is characterized in that, described window creation module comprises:
The kernel creating unit is used for according to described request of opening outer chain, creates the browser kernel object;
The window creation unit is used for according to described browser kernel object, and the window of establishment and described browser kernel object association is that described window distributes window ID.
10. terminal according to claim 9, is characterized in that, described kernel creating unit specifically comprises:
Obtain subelement, be used for obtaining the default kernel sign of described network application;
The inquiry subelement is used for the query caching pond and whether has had browser kernel object corresponding to described kernel sign that has been created;
There is browser kernel object corresponding to described kernel sign in the kernel calls subelement if be used for described cache pool, calls browser kernel object corresponding to described kernel sign as the described browser kernel object of opening the request of outer chain;
Kernel creates subelement, there be not browser kernel object corresponding to described kernel sign if be used for described cache pool, select the browser kernel interface corresponding with described network application according to described kernel sign, the browser kernel interface that calls described selection is that described request of opening outer chain creates the browser kernel object.
11. terminal according to claim 8 is characterized in that, described window load-on module specifically is used for:
Obtain the handle of described window, and the handle of described window ID and described window is returned to described network application, make described network application create a new labels page, load described window according to the handle of described window ID and described window in described labels page, and open webpage corresponding to described outer chain in described window.
12. terminal according to claim 8 is characterized in that, described terminal also comprises:
Can the authority identifier acquisition module be used for calling local service according to webpage corresponding to the described authority sign described outer chain of judgement;
Wherein, described authority sign is used for identifying the authority that webpage corresponding to described outer chain calls local service.
13. terminal according to claim 8 is characterized in that, described terminal also comprises:
The management of process module is used for judging that whether the number of windows of described network application is less than predetermined threshold value;
If the number of windows in described network application less than predetermined threshold value, is controlled each window and is used respectively a process;
If the number of windows of described network application more than or equal to predetermined threshold value, is controlled two or more windows and is shared a process.
14. terminal according to claim 8 is characterized in that, described terminal also comprises:
Recover module, be used for recording the outer chain information that described network application is opened;
When described network application is broken down, transfer the outer chain information of described record and described network application is returned to state before fault.
CN201110439630.5A 2011-12-23 2011-12-23 A kind of method and apparatus opening outer chain in network application Active CN103150312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110439630.5A CN103150312B (en) 2011-12-23 2011-12-23 A kind of method and apparatus opening outer chain in network application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110439630.5A CN103150312B (en) 2011-12-23 2011-12-23 A kind of method and apparatus opening outer chain in network application

Publications (2)

Publication Number Publication Date
CN103150312A true CN103150312A (en) 2013-06-12
CN103150312B CN103150312B (en) 2016-07-06

Family

ID=48548398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110439630.5A Active CN103150312B (en) 2011-12-23 2011-12-23 A kind of method and apparatus opening outer chain in network application

Country Status (1)

Country Link
CN (1) CN103150312B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414696A (en) * 2013-07-19 2013-11-27 百度在线网络技术(北京)有限公司 Third-party login method and device based on limited skip
CN104133608A (en) * 2014-08-13 2014-11-05 百度在线网络技术(北京)有限公司 Method and device for opening new tab
CN104199597A (en) * 2014-08-13 2014-12-10 百度在线网络技术(北京)有限公司 New label page opening method and device
CN104348658A (en) * 2013-08-08 2015-02-11 阿里巴巴集团控股有限公司 Fault report generation method and system thereof
CN104951326A (en) * 2014-03-31 2015-09-30 腾讯科技(深圳)有限公司 Web access method and device
CN105095291A (en) * 2014-05-15 2015-11-25 腾讯科技(深圳)有限公司 Browser kernel control method and apparatus
CN105159787A (en) * 2015-08-17 2015-12-16 北京京东尚科信息技术有限公司 Webpage action processing method and apparatus
CN105760145A (en) * 2014-12-16 2016-07-13 宏碁股份有限公司 Method for calling applications adaptively and electronic device adopting method
CN105991410A (en) * 2015-02-12 2016-10-05 深圳积友聚乐科技有限公司 Method and system for acquiring message
CN106708967A (en) * 2016-11-30 2017-05-24 北京小米移动软件有限公司 Page display method and device
CN107656728A (en) * 2017-09-15 2018-02-02 网宿科技股份有限公司 The creation method and Cloud Server of a kind of Application Instance
CN108255890A (en) * 2016-12-29 2018-07-06 腾讯科技(深圳)有限公司 The treating method and apparatus of the page
CN110633156A (en) * 2018-06-22 2019-12-31 杭州海康威视系统技术有限公司 Method and device for associating application program with browser, electronic equipment and storage medium
CN113986447A (en) * 2021-12-24 2022-01-28 畅捷通信息技术股份有限公司 Interaction method and device of local application service and browser and storage medium
US11262883B2 (en) * 2018-06-22 2022-03-01 Hangzhou Hikvision System Technology Co., Ltd. Associating browser with application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030016241A1 (en) * 2001-07-23 2003-01-23 Burke Paul E. Adding a shortcut to a web site
CN1902679A (en) * 2003-11-05 2007-01-24 Google公司 Persistent user interface for providing navigational functionality
US20070067733A1 (en) * 2005-09-08 2007-03-22 Microsoft Corporation Browser tab management
CN1996285A (en) * 2006-01-06 2007-07-11 胡擘 Window system of page browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030016241A1 (en) * 2001-07-23 2003-01-23 Burke Paul E. Adding a shortcut to a web site
CN1902679A (en) * 2003-11-05 2007-01-24 Google公司 Persistent user interface for providing navigational functionality
US20070067733A1 (en) * 2005-09-08 2007-03-22 Microsoft Corporation Browser tab management
CN1996285A (en) * 2006-01-06 2007-07-11 胡擘 Window system of page browser

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414696A (en) * 2013-07-19 2013-11-27 百度在线网络技术(北京)有限公司 Third-party login method and device based on limited skip
CN104348658A (en) * 2013-08-08 2015-02-11 阿里巴巴集团控股有限公司 Fault report generation method and system thereof
CN104951326A (en) * 2014-03-31 2015-09-30 腾讯科技(深圳)有限公司 Web access method and device
WO2015149664A1 (en) * 2014-03-31 2015-10-08 Tencent Technology (Shenzhen) Company Limited Web page access method and apparatus
CN105095291A (en) * 2014-05-15 2015-11-25 腾讯科技(深圳)有限公司 Browser kernel control method and apparatus
CN104133608B (en) * 2014-08-13 2018-01-30 百度在线网络技术(北京)有限公司 New Shipping Options Page deployment method and device
CN104133608A (en) * 2014-08-13 2014-11-05 百度在线网络技术(北京)有限公司 Method and device for opening new tab
CN104199597A (en) * 2014-08-13 2014-12-10 百度在线网络技术(北京)有限公司 New label page opening method and device
CN105760145A (en) * 2014-12-16 2016-07-13 宏碁股份有限公司 Method for calling applications adaptively and electronic device adopting method
CN105760145B (en) * 2014-12-16 2019-04-23 宏碁股份有限公司 The method and its electronic device of adaptive call application program
CN105991410B (en) * 2015-02-12 2020-06-30 北京创新方舟科技有限公司 Method and system for acquiring message
CN105991410A (en) * 2015-02-12 2016-10-05 深圳积友聚乐科技有限公司 Method and system for acquiring message
CN105159787B (en) * 2015-08-17 2018-08-14 北京京东尚科信息技术有限公司 A kind of webpage action processing method and device
CN105159787A (en) * 2015-08-17 2015-12-16 北京京东尚科信息技术有限公司 Webpage action processing method and apparatus
CN106708967B (en) * 2016-11-30 2020-06-02 北京小米移动软件有限公司 Page display method and device
CN106708967A (en) * 2016-11-30 2017-05-24 北京小米移动软件有限公司 Page display method and device
CN108255890A (en) * 2016-12-29 2018-07-06 腾讯科技(深圳)有限公司 The treating method and apparatus of the page
CN108255890B (en) * 2016-12-29 2020-08-11 腾讯科技(深圳)有限公司 Page processing method and device
CN107656728A (en) * 2017-09-15 2018-02-02 网宿科技股份有限公司 The creation method and Cloud Server of a kind of Application Instance
CN110633156A (en) * 2018-06-22 2019-12-31 杭州海康威视系统技术有限公司 Method and device for associating application program with browser, electronic equipment and storage medium
US11262883B2 (en) * 2018-06-22 2022-03-01 Hangzhou Hikvision System Technology Co., Ltd. Associating browser with application
CN110633156B (en) * 2018-06-22 2022-03-25 杭州海康威视系统技术有限公司 Method and device for associating application program with browser, electronic equipment and storage medium
CN113986447A (en) * 2021-12-24 2022-01-28 畅捷通信息技术股份有限公司 Interaction method and device of local application service and browser and storage medium
CN113986447B (en) * 2021-12-24 2022-03-29 畅捷通信息技术股份有限公司 Interaction method and device of local application service and browser and storage medium

Also Published As

Publication number Publication date
CN103150312B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN103150312B (en) A kind of method and apparatus opening outer chain in network application
US10754917B2 (en) Method and system for displaying customized webpage on double webview
CN104536981B (en) Realize method, browser client and the device of secure browser
CN104468363B (en) Page reorientation method, routing device, terminal device and system
CN106682176A (en) Page loading method, equipment and device
US20120304286A1 (en) Methods and apparatus for blocking usage tracking
KR102355973B1 (en) Apparatus and method for detecting smishing message
CN102938766B (en) Maliciously website prompt method and device
CN105045887A (en) Mixed mode cross-domain data interaction system and method
CN102833212A (en) Webpage visitor identity identification method and system
CN105630461A (en) Managing method of android application interface
CN105205072B (en) The methods of exhibiting and system of webpage information
CN102647417A (en) Method, device and system realizing network access and network system
US10691390B2 (en) Method and device for video rendering
CN103617164B (en) Webpage prefetching method, device and terminal equipment
CN107800611A (en) The method and page layout switch device of a kind of page layout switch
CN102957693A (en) Method and device for judging phishing websites
CN107124477A (en) Processing method, terminal and the server of web site contents
CN103400268A (en) Device and method for realizing safety payment of browser
CN107979573A (en) A kind of detection method of risk information, system and server
CN104951700A (en) Webpage loophole detecting method and device
CN107896218A (en) A kind of method and system of automatic detection identifying code passback logic leak
CN103309695A (en) Icon loading method and terminal
CN109446460B (en) HTML5 online video redirection system and implementation method thereof
CN103024003A (en) Webpage registering method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant