CN103793459B - Webpage opening method and device - Google Patents

Webpage opening method and device Download PDF

Info

Publication number
CN103793459B
CN103793459B CN201310594423.6A CN201310594423A CN103793459B CN 103793459 B CN103793459 B CN 103793459B CN 201310594423 A CN201310594423 A CN 201310594423A CN 103793459 B CN103793459 B CN 103793459B
Authority
CN
China
Prior art keywords
light application
link
domain name
webpage
list
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.)
Active
Application number
CN201310594423.6A
Other languages
Chinese (zh)
Other versions
CN103793459A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310594423.6A priority Critical patent/CN103793459B/en
Publication of CN103793459A publication Critical patent/CN103793459A/en
Priority to US15/038,339 priority patent/US10402464B2/en
Priority to PCT/CN2014/087331 priority patent/WO2015074459A1/en
Application granted granted Critical
Publication of CN103793459B publication Critical patent/CN103793459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a webpage opening method and a webpage opening device, wherein the method comprises the following steps: receiving a webpage opening request containing a link; according to the link, searching a light application corresponding to the link in a light application list established in advance; when the light application exists in the light application list, the webpage corresponding to the link is opened by calling the light application. Therefore, the webpage corresponding to the link can be opened in a more friendly mode, the use of the user is facilitated, the efficiency of the user for obtaining information is improved, and the user experience is enhanced.

Description

Webpage opening method and device
Technical Field
The invention relates to computer technology, in particular to a webpage opening method and device.
Background
With the development of mobile internet, it has become more common to open web pages on mobile terminals.
In the prior art, as for a method for opening a web page on a mobile terminal, the web page is opened through a browser. Specifically, the mobile terminal responds to a webpage opening request containing a webpage link, starts a browser, the browser sends a request to the Web server according to the webpage link to request to acquire a webpage corresponding to the link, and after the Web server searches the webpage, the Web server sends the webpage to the mobile terminal browser, so that the webpage is displayed in the browser.
However, when a mobile terminal is used to access a general internet website, the page size and content are too large, which often results in a messy page distribution and a slow loading speed. The Wap site is generally only suitable for the access of a mobile terminal with a small screen, mainly adopts the text introduction, and has a less ideal display effect.
Therefore, an improved method for opening a web page is needed to solve the above problems.
Disclosure of Invention
In view of the above problems, the present invention is provided to provide a method and an apparatus for opening a web page, which overcome or at least partially solve the above problems, and can more effectively solve the problems of inconvenient use, low information acquisition efficiency, poor user experience, and the like caused by poor quality of the web page opened by a mobile terminal.
According to an aspect of the present invention, a method for opening a web page is provided, including: receiving a webpage opening request containing a link; according to the link, searching a light application corresponding to the link in a light application list established in advance; when the light application exists in the light application list, the webpage corresponding to the link is opened by calling the light application.
Optionally, the step of receiving a web page opening request containing a link may further include: receiving a webpage data packet from a long connection server; and analyzing the link from the webpage data packet.
Optionally, according to the link, the step of searching for the light application corresponding to the link in the pre-established light application list may further include: resolving a domain name corresponding to the link from the link; and according to the domain name, searching the light application corresponding to the domain name in a light application list established in advance.
Optionally, the step of pre-establishing the light application list may further include: acquiring a light application configuration file; analyzing the light application configuration file to obtain a light application access domain name and a corresponding light application data object; and storing the obtained light application access domain name and the corresponding light application data object into a light application list.
Optionally, the method may further include: acquiring the latest updating time of the light application configuration file; and when the time interval from the last updating time to the current time is greater than the preset interval time, updating the light application configuration file and correspondingly updating the light application list.
Optionally, the method may further include: when the light application does not exist in the light application list, the web page is opened through the browser.
According to another aspect of the present invention, there is provided a web page opening apparatus, including: the receiving module is used for receiving a webpage opening request containing a link; the searching module is used for searching the light application corresponding to the link in a light application list established in advance according to the link; and the opening module is used for opening the webpage corresponding to the link by calling the light application when the light application exists in the light application list.
Optionally, the receiving module may further include: the receiving submodule is used for receiving the webpage data packet from the long connection server; and the analysis submodule is used for analyzing the link from the webpage data packet.
Optionally, the searching module may further include: the first analysis submodule is used for analyzing the domain name corresponding to the link from the link; and the searching submodule is used for searching the light application corresponding to the domain name in a light application list established in advance according to the domain name.
Optionally, the searching module may further include: the first obtaining submodule is used for obtaining a light application configuration file; the second analysis submodule is used for analyzing the light application configuration file to obtain a light application access domain name and a corresponding light application data object; and the storage sub-module is used for storing the acquired light application access domain name and the corresponding light application data object into a light application list.
Optionally, the searching module may further include: the second acquisition submodule is used for acquiring the latest updating time of the light application configuration file; and the updating submodule is used for updating the light application configuration file and correspondingly updating the light application list when the time interval from the latest updating time to the current time is greater than the preset interval time.
Optionally, the opening module may further include: opening the web page through the browser when the light application does not exist in the light application list.
According to the webpage opening scheme, when a webpage opening request containing a link is received, the light application corresponding to the link is searched in the pre-established light application list, and the searched light application is called to open the requested webpage. The corresponding light application is determined through the corresponding link, and then the light application is called to open the requested webpage for the user, so that the problems that the user is inconvenient to use and poor in user experience and the like due to poor texture of the webpage opened by the mobile terminal are solved, the webpage is opened or displayed more friendly, the user is greatly facilitated, the information obtaining efficiency of the user is improved, and the user experience is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a web page opening method according to one embodiment of the invention;
FIG. 2 illustrates a flow diagram of a web page opening method according to one embodiment of the invention;
FIG. 3 illustrates a flow diagram of a method of building a list of light applications, according to one embodiment of the invention; and
fig. 4 is a block diagram illustrating a structure of a web page opening apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As mentioned above, in the prior art, the process of opening a Web page by a mobile terminal according to a link is generally to request a Web server through a browser to search for a Web page corresponding to the link and download the Web page to the mobile terminal, and then present the Web page in the browser. However, when a mobile terminal is used to access a general internet website, the page size and content are too large, which often results in a messy page distribution and a slow loading speed. The Wap site is generally only suitable for the access of a mobile terminal with a small screen, mainly adopts the text introduction, and has a less ideal display effect.
The application of the mobile phone is well established by the rich display effect and the strong function. And the mobile terminal can be directly implanted into mobile terminals of different platforms, and can also be directly accessed through a mobile phone browser. The user can acquire information more directly and browse more easily, and the best user experience is acquired through various interaction modes such as microblog, sign-in, sharing and the like. However, when the mobile phone application is used, a user needs to download various applications, the process is complicated, the waiting time is long, and the limited storage space of the mobile phone is occupied, so that the running speed of the mobile phone is reduced, the storage space is insufficient, and the like.
The inventor notices that the light application is a full-function application which is not required to be downloaded and used for searching, has user experience which is comparable to or even superior to that of native apps of local applications, has the characteristics of being retrievable and intelligently distributed of webapp, and can effectively solve the problem of butt joint of high-quality applications and services with the requirements of mobile users. Therefore, if the webpage can be opened by calling the light application, the problems of inconvenient use, low information acquisition efficiency, poor user experience and the like caused by poor texture of the webpage opened by the mobile terminal can be avoided.
Specifically, in the solution of the present invention, the mobile terminal may maintain a light application list for the light application thereon, and the light application list stores a corresponding relationship between light application data and an access domain name corresponding to the light application data. When the mobile terminal receives a webpage opening request containing a link, a domain name is analyzed according to the link, then whether a light application corresponding to the domain name exists or not is determined in the light application list, and when the light application exists in the light application list, a webpage corresponding to the link is opened by calling the light application.
The light application is an enhanced webpage application which is searched and used without downloading based on the search and intelligent distribution characteristics, so that the interference of applications such as plug-ins attached to a browser to the webpage viewing of a user can be avoided by calling the light application to open the webpage, the webpage is opened or displayed more friendly, the use of the user is facilitated, and the user experience is improved.
The following describes a web page opening method and apparatus provided by an embodiment of the present invention in more detail with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a web page opening method according to an embodiment of the present invention.
As shown in fig. 1, in step S110, a web page opening request including a link is received.
Specifically, the mobile terminal may receive a web page opening request from other terminal devices through a long connection server, a short message, an instant message, and the like. The mobile terminal can be a portable terminal such as a mobile phone, a notebook computer, a tablet computer and the like.
Further, for example, when a user requests to open a web page through a mobile phone, the request to open the web page includes an identifying or indicating link representing the web page, and the link is for connecting to the target web page.
Next, in step S120, a light application corresponding to the link is searched in a light application list established in advance according to the link.
Specifically, since it is implemented to open the requested web page by calling the light application, it is necessary to find the light application corresponding to the requested web page before that. To find such light applications, the mobile terminal may pre-establish a list of light applications such that it includes: and linking the corresponding light applications. Then, when the webpage needs to be opened, the light application list is searched by utilizing the webpage link so as to find the light application corresponding to the webpage link. In particular, the light application list may be traversed with the link, or may be looked up for which category the link belongs to. How to build the light application list will be described later in detail with reference to fig. 3.
Next, in step S130, when a light application exists in the light application list, a web page corresponding to the link is opened by calling the light application.
Specifically, when a light application corresponding to the link is found in the light application list, the light application is invoked to open the currently requested web page. That is, opening the light application opens the requested open web page. Therefore, the webpage can be opened quickly.
And when the light application does not exist in the light application list, opening a web page corresponding to the link in a manner commonly used in the prior art. For example, a Web page corresponding to the link is requested and acquired from a Web server through a browser, and the Web page is displayed in the browser.
The method for opening a web page according to an embodiment of the present invention is described so far, wherein the corresponding light application is found in the preset light application list through the link included in the web page opening request, and then the required web page is opened by using the light application. Therefore, the webpage is displayed more friendly, the use of the user is facilitated, and the user experience is enhanced.
A web page opening method according to another embodiment of the present invention is described below with reference to fig. 2, in which a case of receiving a web page opening request from a long connection server is described. In a typical scenario, when a user wants to turn a certain webpage browsed at the PC end to the mobile phone end for further browsing, the data of the webpage can be transmitted to the mobile phone end through the long connection server, so as to open the corresponding webpage at the mobile phone end.
FIG. 2 shows a flow diagram of a web page opening method according to one embodiment of the invention.
As shown in fig. 2, in step S210, a web page packet is received from the long connection server.
Specifically, the long connection server is used for establishing data transmission links between PC clients and mobile phone clients, between PCs and PCs, between mobile phones and other mobile terminals, and the like. For example, a PC client may send a web page packet to a mobile phone client through a long connection server.
Further, the long connection server sends the webpage data packet to the mobile phone, and can perform quick transmission according to user registration information which is established between the long connection server and the mobile phone in advance or through modes of command information and the like, and the safety of information transmission is realized.
Further, for example, a long connection between a PC-side browser and a mobile terminal browser is established, the PC-side browser sends a web page data packet to the mobile terminal, at this time, the web page data packet first passes through a PC-side server, and the PC-side server transfers the web page data packet to a long connection server of a corresponding account through a user registering an account on a certain browser or a shadow account, where the registered account may be a mailbox or a mobile phone number, and the shadow account may be a character string which is formed by the server and can be used as a unique identifier, specifically, the shadow account may be randomly generated by the server, and after the generation, whether the character string exists or not is checked, and if the character string exists, the character string exists again until the character does not exist. After receiving the webpage data packet, the long connection server transmits the webpage data packet to a mobile terminal (for example, a mobile phone) corresponding to the long connection established with the long connection server, and after receiving the registration information and analyzing the registration information, the mobile terminal executes corresponding operations, wherein the operations include opening of a webpage, merging of nine palates, updating of favorites and the like.
Next, in step S220, the link is parsed from the webpage data package.
Specifically, after receiving the webpage data packet, the mobile terminal parses the webpage data packet to obtain a link of the webpage.
In step S230, the domain name corresponding to the link is resolved from the link.
Specifically, since the link usually includes the domain name of the corresponding website, the domain name corresponding to the link, that is, the domain name of the corresponding website, can be resolved from the link. And if the link is http:// list.
In step S240, according to the domain name, it is searched in a pre-established light application list whether there is a light application corresponding to the domain name.
Specifically, the light application list may include a correspondence between the light application access domain name and the light application data object. The mobile terminal may match the received domain name with a light application access domain name in the light application list. If there is a matching domain name, it may be determined that the light application corresponding to the domain name is found in the light application list. If there is no matching domain name, it may be determined that there is no light application corresponding to the domain name in the light application list.
When the light application corresponding to the domain name is found in the pre-established light application list in step S240, step S250 is performed.
In step S250, a web page corresponding to the link is opened by calling the light application.
Specifically, when the mobile terminal opens a webpage required by the user, the light application list can be searched by using the parsed domain name to find the light application corresponding to the domain name.
In one particular embodiment, the execution code may be as follows:
public static void startApp(Context context,WebappInfo info){
this is the invocation of a specific execution action of the open light application
Intent intent=new Intent(“com.qihoo.browser.action.WEBAPP_LINK”);
// passing light application information as a parameter
Intent.putExtra(“data”,info);
context.startActivity(intent);
}
By the above example, the mobile terminal may first attempt to read a corresponding light application configuration file from the light application list, and store the corresponding light application configuration file into a memory (Map) of the mobile terminal by using a domain name in the light application list as a key and WebAppInfo as a key value (value), where data stored in the Map is resident in the memory. If the corresponding configuration file cannot be read from the light application list, the mobile terminal tries to search the light application configuration file from the built-in application program, and stores the light application configuration file in the Map with the domain name of the light application link url as key and the WebappInfo data object as value.
Furthermore, when the mobile terminal receives a request for calling the light application to open the webpage, the mobile terminal analyzes the corresponding domain name according to the link URL carried in the user request, then acquires corresponding light application data in the light application list according to the domain name, and can open the light application corresponding to the domain name by calling a startApp () method, so that the webpage corresponding to the link can be opened. Otherwise, the link is opened directly with the browser.
When the light application corresponding to the domain name is not found in the pre-established light application list in step S230, step S260 is performed.
In step S260, the web page is opened by the browser.
Specifically, when the light application corresponding to the domain name is not found, the browser may request and acquire a Web page corresponding to the link from the Web server, and then display the Web page in the browser. That is, the web page is opened by a manner in the related art.
A web page opening method according to another embodiment of the present invention is described so far with reference to fig. 2. According to the webpage opening method, the webpage can be displayed in a friendly way by calling the light application, the interference of the application such as a plug-in attached to the browser to the webpage viewing of the user is avoided, the use of the user is facilitated, and the user experience is enhanced.
It should be understood by those skilled in the art that the present invention is not limited to receiving a web page open request from a long connection server as shown in fig. 2, but may be received in any other manner, such as a short message, an instant message, etc. However, in any way the web page opening request is received, the requested web page may eventually be opened by invoking the light application corresponding to the link.
The above-described light application list establishment process is described in detail below with reference to fig. 3. Fig. 3 shows a flow diagram of a method of building a list of light applications according to one embodiment of the invention.
As shown in fig. 3, in step S310, a light application profile is acquired.
According to the embodiment of the application, the light application configuration file can be tried to be read from the internal storage of the mobile terminal. That is, if the mobile terminal has previously called the light application, the configuration file of the light application may be retrieved from the internal storage of the mobile terminal.
According to the embodiment of the application, when the light application configuration file cannot be read from the internal storage of the mobile terminal, the corresponding light application configuration file can be obtained by reading the built-in application program. That is, the mobile terminal has not previously called the light application, and thus needs to obtain the light application profile from the built-in application program.
In step S320, the light application configuration file is parsed to obtain the light application access domain name and the corresponding light application data object.
Specifically, the light application profile usually includes light application information such as a light application access domain name and a light application data object. Therefore, the light application access domain name and the corresponding light application data object can be obtained by analyzing the light application configuration file, and the light application access domain name and the corresponding light application data object are used for subsequently establishing a light application list to be used when a webpage is opened.
In step S330, the obtained light application access domain name and the corresponding light application data object are stored in a light application list.
According to an embodiment of the present invention, the light application list may store light application information in a key-value manner. For example, the light application access domain name may be used as a key (key), and the corresponding light application data object may be used as a value (value), and may be stored in the light application list in a key-value manner.
Of course, this application is not limited to such key-vlaue storage and may employ any other suitable storage known in the art or developed in the future.
After the light application list is established through steps S310 to S330, according to a preferred embodiment of the present invention, an update of the light application profile may be performed with respect to the light application list established in advance.
In a specific embodiment, the last update time of the light application profile may be obtained, and when the time interval from the last update time to the current time is greater than the preset interval time, the light application profile is updated and the light application list is updated accordingly. Therefore, the light application list can be updated quickly, and the webpage opening efficiency is improved.
More specifically, for example, the time when the light application profile was last updated (the server default time is 0) is read, and if the time interval from the time when the current light application profile is updated to the current time is greater than the preset time interval, the version number of the last light application profile is obtained. And then, requesting the server end to judge whether the version number of the server end is smaller than the version number of the light application configuration file in the server or not according to the version number of the server end. If the light application version number in the server is equal to or greater than the requested version number, the light application profile does not need to be updated. For example, the version number v2.0 of the light application configuration file in the server is equal to the requested version number, and at this time, the current version of the light application configuration file is the latest version without updating the configuration file. If the version number v2.2 of the light application configuration file in the server is greater than the requested version number, then the light application configuration file in the mobile terminal needs to be updated to the version number v 2.2. And meanwhile, storing the light application access domain name and the corresponding light application data object in the updated light application configuration file into a light application list.
In addition to the above examples, the light application list may be updated in a timed or real-time manner in any other suitable manner.
A web page opening method according to an embodiment of the present invention is described so far with reference to fig. 1 to 3. Similar to the above webpage opening method, the embodiment of the invention also provides a corresponding webpage opening device.
Referring to fig. 4, fig. 4 is a block diagram illustrating a structure of a web page opening apparatus according to an embodiment of the present invention.
As shown in fig. 4, the apparatus 400 may include a receiving module 410, a lookup module 420, and an opening module 430.
The receiving module 410 may be configured to receive a web page opening request including a link.
According to an embodiment of the present invention, the receiving module 410 may further include:
the receiving submodule can be used for receiving the webpage data packet from the long connection server; and
and the analysis submodule can be used for analyzing the link from the webpage data packet.
The searching module 420 may be configured to search, according to the link, a light application corresponding to the link in a light application list established in advance.
According to an embodiment of the present invention, the lookup module 420 may further include:
the first parsing submodule can be used for parsing the domain name corresponding to the link from the link; and
and the searching sub-module can be used for searching the light application corresponding to the domain name in a light application list established in advance according to the domain name.
According to an embodiment of the present invention, the lookup module 420 may further include:
the first obtaining submodule can be used for obtaining a light application configuration file;
the second analysis submodule can be used for analyzing the light application configuration file to acquire a light application access domain name and a corresponding light application data object; and
the storage sub-module may be configured to store the obtained light application access domain name and the corresponding light application data object in a light application list.
According to a more specific embodiment of the present invention, the lookup module 420 may further include:
the second acquisition submodule is used for acquiring the latest updating time of the light application configuration file; and
and the updating submodule is used for updating the light application configuration file and correspondingly updating the light application list when the time interval from the latest updating time to the current time is greater than the preset interval time.
The opening module 430 may be configured to open a webpage corresponding to the link by calling the light application when the light application exists in the light application list.
According to an embodiment of the invention, the opening module 430 is further configured to:
when the light application does not exist in the light application list, the web page is opened through the browser.
The web page opening apparatus according to the embodiment of the present invention has been described so far. Similar to the method, according to the device, the requested webpage can be opened by calling the light application, so that the interference of the application such as a plug-in attached to a browser to the webpage viewing of the user is avoided, the webpage is displayed more friendly, the use of the user is facilitated, and the user experience is improved.
Since the processing of the web page opening apparatus corresponds to the processing of the web page opening method described above with reference to fig. 1 to 3, for specific details, reference may be made to the web page opening method described previously, and details are not described here.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the apparatus for intercepting embedded information in an application according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The application is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the computer system/server include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, networked personal computers, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above, and the like.
The computer system/server may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
The invention also discloses B1, a webpage opening device, comprising:
the receiving module is used for receiving a webpage opening request containing a link;
the searching module is used for searching the light application corresponding to the link in a light application list established in advance according to the link; and
and the opening module is used for opening the webpage corresponding to the link by calling the light application when the light application exists in the light application list.
B2, the apparatus as in B1, the receiving module further comprising:
the receiving submodule is used for receiving the webpage data packet from the long connection server; and
and the link analysis submodule is used for analyzing the link from the webpage data packet.
B3, the apparatus as described in B1, the searching module further comprising:
the first analysis submodule is used for analyzing the domain name corresponding to the link from the link; and
and the searching sub-module is used for searching the light application corresponding to the domain name in a pre-established light application list according to the domain name.
B4, the apparatus as in any one of B1-B3, the lookup module further comprising:
the first obtaining submodule is used for obtaining a light application configuration file;
the second analysis submodule is used for analyzing the light application configuration file to obtain a light application access domain name and a corresponding light application data object; and
and the storage sub-module is used for storing the acquired light application access domain name and the corresponding light application data object into the light application list.
B5, the apparatus as described in B4, the searching module further comprising:
the second obtaining submodule is used for obtaining the latest updating time of the light application configuration file; and
and the updating submodule is used for updating the light application configuration file and correspondingly updating the light application list when the time interval from the latest updating time to the current time is greater than the preset interval time.
B6, the apparatus as in B1, the opening module further configured to:
opening the web page through a browser when the light application does not exist in the light application list.

Claims (12)

1. A method for opening a web page, comprising:
receiving a webpage opening request containing a link, wherein the link contains a domain name;
according to the link, searching a light application corresponding to the link in a light application list established in advance, wherein the light application list comprises a corresponding relation between a light application access domain name and a light application data object; and
when the light application exists in the light application list, the webpage corresponding to the link is opened by calling the light application so as to avoid interference of a plug-in attached to a browser.
2. The method of claim 1, wherein the step of receiving a web page open request containing a link further comprises:
receiving a webpage data packet from a long connection server; and
and analyzing the link from the webpage data packet.
3. The method according to claim 1, wherein the step of searching a light application corresponding to the link in a pre-established light application list according to the link further comprises:
analyzing a domain name corresponding to the link from the link; and
and searching the light application corresponding to the domain name in a light application list established in advance according to the domain name.
4. The method according to any one of claims 1-3, further comprising the step of pre-establishing a list of light applications, the step of pre-establishing a list of light applications comprising:
acquiring a light application configuration file;
analyzing the light application configuration file to obtain a light application access domain name and a corresponding light application data object; and
and storing the acquired light application access domain name and the corresponding light application data object into the light application list.
5. The method of claim 4, further comprising:
acquiring the latest updating time of the light application configuration file; and
and when the time interval from the latest updating time to the current time is greater than the preset interval time, updating the light application configuration file and correspondingly updating the light application list.
6. The method of claim 1, further comprising:
opening the web page through a browser when the light application does not exist in the light application list.
7. A web page opening apparatus, comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a webpage opening request containing a link, and the link contains a domain name;
the searching module is used for searching a light application corresponding to the link in a light application list established in advance according to the link, wherein the light application list comprises a corresponding relation between a light application access domain name and a light application data object; and
and the opening module is used for opening the webpage corresponding to the link by calling the light application when the light application exists in the light application list so as to avoid the interference of a plug-in attached to a browser.
8. The apparatus of claim 7, wherein the receiving module further comprises:
the receiving submodule is used for receiving the webpage data packet from the long connection server; and
and the link analysis submodule is used for analyzing the link from the webpage data packet.
9. The apparatus of claim 7, wherein the lookup module further comprises:
the first analysis submodule is used for analyzing the domain name corresponding to the link from the link; and
and the searching sub-module is used for searching the light application corresponding to the domain name in a pre-established light application list according to the domain name.
10. The apparatus of any of claims 7-9, wherein the lookup module further comprises:
the first obtaining submodule is used for obtaining a light application configuration file;
the second analysis submodule is used for analyzing the light application configuration file to obtain a light application access domain name and a corresponding light application data object; and
and the storage sub-module is used for storing the acquired light application access domain name and the corresponding light application data object into the light application list.
11. The apparatus of claim 10, the lookup module, further comprising:
the second obtaining submodule is used for obtaining the latest updating time of the light application configuration file; and
and the updating submodule is used for updating the light application configuration file and correspondingly updating the light application list when the time interval from the latest updating time to the current time is greater than the preset interval time.
12. The apparatus of claim 7, the opening module to further:
opening the web page through a browser when the light application does not exist in the light application list.
CN201310594423.6A 2013-11-21 2013-11-21 Webpage opening method and device Active CN103793459B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201310594423.6A CN103793459B (en) 2013-11-21 2013-11-21 Webpage opening method and device
US15/038,339 US10402464B2 (en) 2013-11-21 2014-09-24 Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
PCT/CN2014/087331 WO2015074459A1 (en) 2013-11-21 2014-09-24 Method and apparatus for opening webpage, invoking client, and creating light app

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310594423.6A CN103793459B (en) 2013-11-21 2013-11-21 Webpage opening method and device

Publications (2)

Publication Number Publication Date
CN103793459A CN103793459A (en) 2014-05-14
CN103793459B true CN103793459B (en) 2020-06-12

Family

ID=50669125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310594423.6A Active CN103793459B (en) 2013-11-21 2013-11-21 Webpage opening method and device

Country Status (1)

Country Link
CN (1) CN103793459B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015074459A1 (en) * 2013-11-21 2015-05-28 北京奇虎科技有限公司 Method and apparatus for opening webpage, invoking client, and creating light app
CN104158722B (en) * 2014-07-21 2016-11-09 小米科技有限责任公司 For light information push method, device, terminal and the server applied
CN104980512B (en) * 2015-06-18 2019-03-12 卓易畅想(北京)科技有限公司 It is a kind of to provide the method and apparatus of target object based on mobile application

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982106A (en) * 2012-11-07 2013-03-20 优视科技有限公司 Method and device for pre-opening web page
CN103179159A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Method for processing third-party applications and terminal browser

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179159A (en) * 2011-12-22 2013-06-26 腾讯科技(深圳)有限公司 Method for processing third-party applications and terminal browser
CN102982106A (en) * 2012-11-07 2013-03-20 优视科技有限公司 Method and device for pre-opening web page

Also Published As

Publication number Publication date
CN103793459A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
EP3229148B1 (en) Website access method and device, and website system
EP2916243B1 (en) Method, apparatus, server and system for implementing web application
WO2020199751A1 (en) Method and apparatus for loading page picture, and electronic device
US10402464B2 (en) Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
US20150189036A1 (en) Offline caching method and apparatus
US20130132422A1 (en) System and method for creating and controlling an application operating on a plurality of computer platform types
CN104978358B (en) The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
WO2018001124A1 (en) Webpage file sending method, webpage rendering method and apparatus, and webpage rendering system
TW201441829A (en) Client side page processing
CN103942225A (en) Method and system for invoking resources of Hybrid App client and client
CN107291759B (en) Method and device for processing browser page resources
CN103678508A (en) Webpage opening method and device
CN107040584B (en) Method and device for downloading picture by client
CN102209111A (en) Open cross-platform system for cloud computing mobile network terminal equipment
US10581993B2 (en) Method for forwarding traffic in application on mobile intelligent terminal
WO2013097592A1 (en) Script loading technology
CN103873918A (en) Picture processing method, device and terminal
CN103294717B (en) Web page opening method and device based on double-kernel browser
CN112256772A (en) Data service method, device and readable storage medium
CN110795650A (en) Webpage opening method and device and computer readable storage medium
CN103607454A (en) Method for setting private proxy server for Android system browser
CN103793459B (en) Webpage opening method and device
AU2016101498B4 (en) Data Interchange System
WO2015003570A1 (en) Data downloading method,device and system thereof
CN107391132B (en) Method, device and equipment for target App to execute preset action

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220720

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.