CN117390330A - Webpage access method and device - Google Patents

Webpage access method and device Download PDF

Info

Publication number
CN117390330A
CN117390330A CN202311303761.XA CN202311303761A CN117390330A CN 117390330 A CN117390330 A CN 117390330A CN 202311303761 A CN202311303761 A CN 202311303761A CN 117390330 A CN117390330 A CN 117390330A
Authority
CN
China
Prior art keywords
webpage
target object
link
user
webpage link
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.)
Pending
Application number
CN202311303761.XA
Other languages
Chinese (zh)
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202311303761.XA priority Critical patent/CN117390330A/en
Publication of CN117390330A publication Critical patent/CN117390330A/en
Pending legal-status Critical Current

Links

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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]

Abstract

The present divisional application is divisional application of chinese patent application No.201710392876.9 entitled "web page access method and apparatus" submitted on the 5 th month and 27 th day of 2017. The disclosure relates to a webpage access method and device. The method comprises the following steps: when the selection operation of a user on a target object in a current display interface is monitored, determining a webpage link corresponding to the target object; when the client corresponding to the installed or loaded webpage link in the terminal is monitored, loading a second entry component for opening the webpage by using the client in the current display interface; when the selection operation of the user for the second portal component is monitored, the client is used for opening the webpage content corresponding to the webpage link. According to the technical scheme, the analysis request carrying the target object is sent to the background server through the terminal, the background server determines the webpage link matched with the target object and returns the webpage link to the terminal, so that a user can directly access webpage content corresponding to the webpage link, the operation is simple and convenient, and the user experience is improved.

Description

Webpage access method and device
The present divisional application is divisional application of chinese patent application No.201710392876.9 entitled "web page access method and apparatus" submitted on the 5 th month and 27 th day of 2017.
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a webpage access method and device.
Background
In the process of using a smart phone, it is often encountered that: links of other websites forwarded or shared in some applications cannot be opened normally due to the closeness of the applications or due to the history contradiction between the applications, and cannot be skipped to the correct webpage or client page normally.
In the related art, taking the sharing of the commodity of the online shopping website b in the social application a as an example, since the social application a makes technical restrictions on links of all the commodity of the online shopping website b, the commodity link user shared in the social application a cannot be opened normally, and only by clicking more operations on the upper right corner of the interface of the social application a, the browser is selected to open the corresponding webpage of the shared link; on the other hand, the online shopping website b provides a panning command for the technical limitation of the social application a, namely, a user can freely share a piece of text based on the design format of the online shopping website b in the social application a, the piece of text can correspond to a unique item detail page of the online shopping website b, and when the user copies the panning command and enters the online shopping website b client, the online shopping website b client prompts to jump to the page corresponding to the panning command.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method and an apparatus for accessing a web page. The technical scheme is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a web page access method, applied to a terminal, including:
when the selection operation of a user on a target object in a current display interface is monitored, sending an analysis request carrying the target object to a background server;
receiving analysis response returned by the background server; the analysis response comprises a webpage link matched with the target object;
and accessing the webpage content corresponding to the webpage link.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: according to the technical scheme, the analysis request carrying the target object is sent to the background server through the terminal, the background server determines the webpage link matched with the target object and returns the webpage link to the terminal, so that a user can directly access webpage content corresponding to the webpage link, the operation is simple and convenient, and the user experience is improved.
In one embodiment, accessing the web content corresponding to the web link includes:
loading a first portal component for opening the web page link by using a browser in a current display interface;
And when the selection operation of the user for the first entry component is monitored, opening the webpage content corresponding to the webpage link by using a browser.
In one embodiment, accessing the web content corresponding to the web link includes:
when the client corresponding to the webpage link is detected to be installed in the terminal, a second entry component for opening the webpage by using the client is loaded in a current display interface;
and when the selection operation of the user for the second entry component is monitored, opening the webpage content corresponding to the webpage link by using the client.
In one embodiment, the types of the target objects include: links matching a preset format, or text of the associated links exists.
In one embodiment, when monitoring that the user selects the target object in the current display interface, sending an analysis request carrying the target object to a background server includes:
when long-press operation of a user on a target object in a current display interface is monitored, an analysis request carrying the target object is sent to a background server; the long press operation is an operation of which the touch duration exceeds a preset duration;
Or,
when the pressure touch operation of a user on a target object in a current display interface is monitored, sending an analysis request carrying the target object to a background server; the pressure touch operation is an operation that the touch pressure exceeds a preset pressure.
According to a second aspect of the embodiments of the present disclosure, there is provided a web page access method, applied to a background server, including:
receiving an analysis request sent by a terminal; wherein the analysis request carries a target object;
acquiring a webpage link matched with the target object;
sending an analysis response to the terminal; and the analysis response comprises a webpage link matched with the target object.
In one embodiment, the types of the target objects include: matching links in a preset format;
acquiring the webpage link matched with the target object, including:
analyzing the target object and obtaining the webpage links carried in the target object.
In one embodiment, the types of the target objects include: text for which an associated link exists;
acquiring the webpage link matched with the target object, including:
analyzing the target object to obtain keywords in the target object;
Searching web pages matched with the keywords on a search website according to the keywords;
and acquiring the webpage links of the searched webpages.
According to a third aspect of the embodiments of the present disclosure, there is provided a web page access apparatus, including:
the first sending module is used for sending an analysis request carrying the target object to a background server when monitoring that a user selects the target object in a current display interface;
the first receiving module is used for receiving an analysis response returned by the background server; the analysis response comprises a webpage link matched with the target object;
and the access module is used for accessing the webpage content corresponding to the webpage link.
In one embodiment, an access module includes:
the first loading sub-module is used for loading a first entry component for opening the webpage link by using a browser in the current display interface;
and the first opening sub-module is used for opening the webpage content corresponding to the webpage link by using the browser when the selection operation of the user on the first entry component is monitored.
In one embodiment, an access module includes:
the second loading sub-module is used for loading a second entry component for opening a webpage by using the client in the current display interface when the client corresponding to the webpage link is installed in the terminal;
And the second opening sub-module is used for opening the webpage content corresponding to the webpage link by using the client when the selection operation of the user on the second entry component is monitored.
According to a fourth aspect of an embodiment of the present disclosure, there is provided a web page access apparatus including:
the second receiving module is used for receiving an analysis request sent by the terminal; wherein the analysis request carries a target object;
the acquisition module is used for acquiring the webpage links matched with the target object;
the second sending module is used for sending an analysis response to the terminal; and the analysis response comprises a webpage link matched with the target object.
In one embodiment, the types of the target objects include: matching links in a preset format;
the acquisition module analyzes the target object and acquires a webpage link carried in the target object.
In one embodiment, the types of the target objects include: text for which an associated link exists;
an acquisition module comprising:
the analysis submodule is used for analyzing the target object to obtain keywords in the target object;
the searching sub-module is used for searching the web pages matched with the keywords on the searching website according to the keywords;
And the acquisition sub-module is used for acquiring the webpage links of the searched webpages.
According to a fifth aspect of an embodiment of the present disclosure, there is provided a web page access apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the selection operation of a user on a target object in a current display interface is monitored, sending an analysis request carrying the target object to a background server;
receiving analysis response returned by the background server; the analysis response comprises a webpage link matched with the target object;
and accessing the webpage content corresponding to the webpage link.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a web page access apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving an analysis request sent by a terminal; wherein the analysis request carries a target object;
acquiring a webpage link matched with the target object;
sending an analysis response to the terminal; and the analysis response comprises a webpage link matched with the target object.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of the first aspect described above.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of the second aspect described above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is an application scenario diagram illustrating a web page access method according to an example embodiment.
FIG. 2 is a flowchart illustrating a method of web page access, according to an example embodiment.
Fig. 3 is a flowchart illustrating step 203 in a web page access method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating step 203 in a web page access method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a web page access method according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a web page access method according to an exemplary embodiment.
Fig. 7 is a block diagram of a web page access apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram of a web page access apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram of a web page access apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram of a web page access apparatus according to an exemplary embodiment.
Fig. 11 is a block diagram of a web page access apparatus according to an exemplary embodiment.
Fig. 12 is a block diagram of a web page access apparatus according to an exemplary embodiment.
Fig. 13 is a block diagram of a web page access apparatus according to an exemplary embodiment.
Fig. 14 is a block diagram of a web page access apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In the related art, taking the sharing of the online shopping website b commodity in the social application a application as an example, since the social application a makes technical restrictions on links of all online shopping website b commodity, the link user shared in the social application a can not be opened normally, and can only select to open the corresponding webpage of the shared link by clicking more operations on the upper right corner of the social application a interface, the operation of the scheme is complex, the steps are complicated, the operation efficiency is low, and the opening mode is limited to one type, namely, the webpage is opened by using the browser, if the webpage is opened by using the browser, the webpage can be opened by using the client again, so that the user experience is poor.
On the other hand, the online shopping website b provides a panning command for the technical limitation of the social application a, namely, a user can freely share a piece of text based on the design format of the online shopping website b in the social application a, the piece of text can correspond to a unique item detail page of the online shopping website b, and when the user copies the panning command and enters the online shopping website b client, the online shopping website b client prompts to jump to the page corresponding to the panning command. The scheme can only be a compromise scheme, and a user needs special memory to copy and paste instead of sharing, so that an application (app) is opened to enter a process of panning a page corresponding to a password, and a process of opening a webpage by directly clicking a shared link is realized. The scheme is complex in operation and low in operation efficiency, so that the user experience is poor.
Referring to fig. 1, an optional application scenario of a web page access method in an embodiment of the present disclosure is shown; the application scenario shown in fig. 1 includes: the terminals 11, 12, 13, and 14, the web server 15 and the background server 16 supporting the floating browser function perform data interaction and communication through the network 14. In the related art, links of other websites forwarded or shared by users in some applications cannot be opened normally due to the sealing of the applications or due to the history contradiction between the applications; taking the example of sharing the online shopping website b commodity in the application of the social application a, referring to fig. 1, aiming at the link shared in the social application a, the user cannot normally open in the related art, but can only select to open the corresponding webpage of the shared link by clicking more operations on the upper right corner of the interface of the social application a, and the scheme has complex operation and low efficiency, is limited to a mode of opening the webpage by using the browser, and has a single opening mode; aiming at the panning password shared by the user in the social application a, the user needs to copy the panning password and enter the online shopping website b client, and the online shopping website b client prompts to jump to the page corresponding to the panning password. It should be noted that, the application scenario shown in fig. 1 is only one possible application scenario example of the technical solution provided by the embodiment of the present disclosure, and other application scenarios may include a terminal, a server, an application, and so on, which are not related to fig. 1.
The technical scheme of the embodiment of the disclosure can be applied to the above scene to help overcome the problems of complex operation, low efficiency and poor user experience in the related technology.
In order to solve the above problems, an embodiment of the present disclosure provides a web page access method, which is applied to a terminal, and includes: when the user is monitored to select the target object in the current display interface, sending an analysis request carrying the target object to a background server; receiving analysis response returned by the background server; the analysis response comprises a webpage link matched with the target object; and accessing the webpage content corresponding to the webpage link.
It should be noted that, in the embodiment of the present disclosure, the terminal may be a user device such as a smart phone, a tablet computer, a desktop computer, a notebook computer, and a wearable device.
According to the technical scheme provided by the embodiment of the disclosure, the analysis request carrying the target object is sent to the background server through the terminal, the background server determines the webpage link matched with the target object and returns the webpage link to the terminal, so that a user can directly access webpage content corresponding to the webpage link, the operation is simple and convenient, and the user experience is improved.
Based on the above-described application scenario, the following specific embodiments are presented.
Fig. 2 is a flowchart illustrating a web page access method, the execution subject of which may be a terminal, according to an exemplary embodiment, as shown in fig. 2, the method includes the following steps 201-203:
in step 201, when it is monitored that the user selects an operation for the target object in the current display interface, an analysis request carrying the target object is sent to the background server.
By way of example, the types of target objects include: matching links in a preset format or texts with associated links; for example, a link matching a pre-set format may be an panning password, and the text in which the associated link exists may be a shared link. The current display interface may be an application interface displaying a shared target object, such as social application a interface displaying an panning password in a social application a application.
By way of example, the selection operation may include, but is not limited to: long press operation, pressure touch operation, or operation of clicking for a predetermined number of times; the long-press operation is an operation of which the touch duration exceeds a preset duration; the pressure touch operation is an operation in which the touch pressure exceeds a preset pressure. For example, when the terminal monitors that a user presses a target object for a long time in a current display interface, an analysis request carrying the target object is sent to a background server; for another example, when the terminal monitors the pressure touch operation of the user on the target object in the current display interface, the terminal sends an analysis request carrying the target object to the background server.
For example, when a user needs to access webpage content corresponding to a target object in a current display interface, the user performs a selection operation on the target object in the current display interface; when the terminal monitors the selection operation of the user, an analysis request carrying a target object is sent to a background server, for example, when the user uses a mobile phone, the terminal shares contents in a specific format such as a long-time pressing password, a known sharing link in a social application a and the like, and the terminal sends the long-time pressing content of the user to the background server for analysis through the page content acquisition capability of the terminal; after receiving an analysis request sent by a terminal, a background server splits and identifies a target object, acquires a webpage link matched with the target object, and then sends an analysis response to the terminal, wherein the analysis response carries the webpage link matched with the target object; and the terminal jumps the current display interface to the webpage corresponding to the webpage link so as to enable the user to view the webpage content corresponding to the target object.
For example, the implementation manner of the background server to obtain the webpage link matched with the target object through splitting and identifying the target object at least includes the following manners: the method 1 includes that the type of the target object includes links matched with a preset format; after receiving the analysis request sent by the terminal, the background server analyzes the target object to obtain the webpage link carried in the target object. Mode 2, the type of the target object comprises a text with an associated link; after receiving the analysis request sent by the terminal, the background server analyzes the target object to obtain keywords in the target object, searches the web pages matched with the keywords on the search website according to the keywords, and obtains web page links of the searched web pages.
In step 202, an analysis response returned by the background server is received; wherein the analysis response includes a web page link that matches the target object.
In step 203, web content corresponding to the web link is accessed.
For example, the implementation manner of the terminal to access the webpage content corresponding to the webpage link at least may include the following manners:
a, presetting a webpage link opening mode in a terminal, wherein the webpage link opening mode at least comprises the steps of opening a webpage link by using a browser and opening the webpage link by using a client; after receiving the analysis response returned by the background server, the terminal acquires the webpage links matched with the target objects and accesses the webpage contents corresponding to the webpage links by using a preset webpage link opening mode, so that the terminal automatically opens the webpage, a user can directly display the webpage contents corresponding to the webpage links by only pressing the target objects for a long time, the operation is simple and convenient, and the user experience is improved.
And b, loading a first entry component for opening the webpage link by using the browser in the current display interface by the terminal, and opening webpage content corresponding to the webpage link by using the browser when the selection operation of the user on the first entry component is monitored.
C, when the terminal monitors that the client corresponding to the webpage link is installed in the terminal, loading a second entry component for opening the webpage by using the client in the current display interface; when the selection operation of the user for the second portal component is monitored, the client is used for opening the webpage content corresponding to the webpage link.
The method d includes that a first entry component for opening a webpage link by using a browser is loaded in a current display interface by a terminal, and a second entry component for opening a webpage by using a client is loaded in the current display interface when the terminal monitors that the client corresponding to the webpage link is installed in the terminal; when the selection operation of a user for the first entry component is monitored, opening webpage content corresponding to the webpage link by using a browser; when the selection operation of the user for the second entry component is monitored, opening webpage content corresponding to the webpage link by using the client; after receiving the data returned by the server, the terminal can display a plurality of returned results at the same time, and the terminal uses the mobile phone as an example, displays the most possible information or operation needed by a plurality of users for selection by the users in the form of loading the card on the screen of the mobile phone, and the users can directly use the browser or the client to open the target page and open the corresponding page content in the application or the website corresponding to the target object by selecting the card, for example, clicking the card.
Embodiments of the present disclosure are illustrated in connection with the application scenario illustrated in fig. 1. The webpage access method disclosed by the embodiment of the invention can be applied to relatively closed applications such as social application a, and aims at the problems that the shared link or the password in the social application a cannot be opened normally due to the history problem or the sealing property between certain applications, so that the user is ensured not to influence the user experience due to the reasons such as sealing or complaining between operators of each application in the using process of the terminal, the user can directly jump to the page which is wanted to be jumped by the long time operation by the background server to identify the password or the shared link and return to the terminal, the current display interface of the terminal jumps to the webpage corresponding to the webpage link, and the problem that the user experience and the operating efficiency of the terminal are originally possessed is solved from the operating system level.
According to the technical scheme provided by the embodiment of the disclosure, the analysis request carrying the target object is sent to the background server through the terminal, the background server determines the webpage link matched with the target object and returns the webpage link to the terminal, so that a user can directly access webpage content corresponding to the webpage link, the operation is simple and convenient, and the user experience is improved.
In one possible implementation, as shown in fig. 3, step 203 shown in fig. 2 may be implemented as steps 301-302:
in step 301, a first portal component for opening a web page link using a browser is loaded in a current display interface.
In step 302, when the selection operation of the user on the first portal component is monitored, a browser is used to open web page content corresponding to the web page link.
In the embodiment of the disclosure, after receiving the analysis response returned by the background server, the terminal obtains the webpage link matched with the target object included in the analysis response, loads the first portal component for opening the webpage link by using the browser in the current display interface, and when the user selects the first portal component, the terminal opens the webpage content corresponding to the webpage link by using the browser, so that the operation is simple and convenient.
In one possible implementation, as shown in FIG. 4, step 203 shown in FIG. 2 may be implemented as steps 401-402:
in step 401, when it is monitored that a client corresponding to a web page link is installed in the terminal, a second portal component for opening a web page by using the client is loaded in the current display interface.
In step 402, when the selection operation of the user on the second portal component is monitored, the client is used to open the web page content corresponding to the web page link.
In the embodiment of the disclosure, the client corresponding to the webpage link is installed in the terminal in advance, and when the terminal obtains the webpage link matched with the target object through the background server, the second entry component for opening the webpage by using the client is loaded in the current display interface, and when the user selects the second entry component, the terminal opens the webpage content corresponding to the webpage link by using the client, so that the operation is simple and the efficiency is high.
FIG. 5 is a flowchart illustrating a method of web page access, the method may be performed by a background server, as shown in FIG. 5, according to an exemplary embodiment, the method includes the following steps 501-503:
in step 501, an analysis request sent by a terminal is received; wherein the analysis request carries the target object.
By way of example, the types of target objects include: matching links in a preset format or texts with associated links; for example, a link matching a pre-set format may be an panning password, and the text in which the associated link exists may be a shared link.
For example, when a user needs to access webpage content corresponding to a target object in a current display interface, the user performs a selection operation on the target object in the current display interface; when the terminal monitors the selection operation of a user, an analysis request carrying a target object is sent to a background server, for example, when the user uses a mobile phone, a long-time pressing password, a known sharing link in a social application a and the like match preset format to share content, and the terminal sends the long-time pressing content (namely the target object) of the user to the background server for analysis through the page content acquisition capability of the terminal; and the background server receives an analysis request carrying the target object sent by the terminal.
In step 502, a web page link that matches the target object is obtained.
For example, after receiving an analysis request sent by a terminal, the background server splits and identifies a target object to obtain a web page link matched with the target object. The implementation manner of the background server to obtain the webpage link matched with the target object at least comprises the following manners: the type of the target object comprises links matched with a preset format; and the background server receives the analysis request sent by the terminal, analyzes the target object and acquires the webpage link carried in the target object. The type of the mode B and the target object comprises a text with an associated link; after receiving the analysis request sent by the terminal, the background server analyzes the target object to obtain keywords in the target object, searches the web pages matched with the keywords on the search website according to the keywords, and obtains web page links of the searched web pages.
In step 503, sending an analysis response to the terminal; wherein the analysis response includes a web page link that matches the target object.
According to the technical scheme provided by the embodiment of the disclosure, when the terminal monitors the selection operation of the user on the target object in the current display interface, the analysis request carrying the target object is sent to the background server, and the background server determines the webpage link matched with the target object and returns the webpage link to the terminal, so that the user can directly access the webpage content corresponding to the webpage link, the operation is simple and convenient, and the user experience is improved.
The implementation is described in detail below by way of several embodiments.
FIG. 6 is a flowchart illustrating a method of web page access implemented by a terminal in conjunction with a background server, according to an example embodiment; as shown in fig. 6, the method comprises the steps of:
in step 601, when the terminal monitors that the user selects an object in the current display interface, an analysis request carrying the object is sent to the background server.
By way of example, the types of target objects include: links matching a preset format, or text of the associated links exists. The selection operation may include, but is not limited to: long press operation, pressure touch operation, or operation of clicking for a predetermined number of times; the long-press operation is an operation of which the touch duration exceeds a preset duration; the pressure touch operation is an operation in which the touch pressure exceeds a preset pressure.
In step 602, a background server receives an analysis request sent by a terminal, and acquires a web page link matched with a target object; wherein the analysis request carries the target object.
In step 603, the background server sends an analysis response to the terminal; wherein the analysis response includes a web page link that matches the target object.
In step 604, after receiving the analysis response returned by the background server, the terminal accesses the web page content corresponding to the web page link.
After acquiring a webpage link matched with a target object, the terminal loads a first portal component for opening the webpage link by using a browser in a current display interface, and loads a second portal component for opening a webpage by using a client when the terminal monitors that the client corresponding to the webpage link is installed in the terminal; when the selection operation of a user for the first entry component is monitored, opening webpage content corresponding to the webpage link by using a browser; when the selection operation of the user for the second entry component is monitored, opening webpage content corresponding to the webpage link by using the client; after receiving the data returned by the server, the terminal can display a plurality of returned results at the same time, and the terminal uses the mobile phone as an example, displays the most possible information or operation needed by a plurality of users for selection by the users in the form of loading the card on the screen of the mobile phone, and the users can directly use the browser or the client to open the target page and open the corresponding page content in the application or the website corresponding to the target object by selecting the card, for example, clicking the card.
According to the technical scheme provided by the embodiment of the disclosure, the analysis request carrying the target object is sent to the background server through the terminal, the background server determines the webpage link matched with the target object and returns the webpage link to the terminal, so that a user can directly access webpage content corresponding to the webpage link, the operation is simple and convenient, and the user experience is improved.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure.
FIG. 7 is a block diagram of a web page access device, according to an example embodiment; the apparatus may be implemented in various ways, for example, implementing all components of the apparatus in a terminal, or implementing components of the apparatus in a coupled manner on the terminal side; the apparatus may implement the method related to the present disclosure by software, hardware or a combination of the two, as shown in fig. 7, the web page access apparatus includes: a first sending module 701, a first receiving module 702 and an accessing module 703, wherein:
the first sending module 701 is configured to send an analysis request carrying the target object to the background server when detecting that the user selects the target object in the current display interface;
the first receiving module 702 is configured to receive an analysis response returned by the background server; the analysis response comprises a webpage link matched with the target object;
The access module 703 is configured to access web content corresponding to the web links.
According to the webpage access device provided by the embodiment of the disclosure, when the first sending module 701 is configured to monitor that a user selects an operation for a target object in a current display interface, an analysis request carrying the target object is sent to a background server; the first receiving module 702 receives an analysis response returned by the background server; the analysis response comprises a webpage link matched with the target object; the access module 703 accesses the web page content corresponding to the web page link; therefore, the user can directly access the webpage content corresponding to the webpage link, the operation is simple and convenient, and the user experience is improved.
In one possible implementation, as shown in fig. 8, the web page access device shown in fig. 7 may further include an access module 703 configured to include: a first loading sub-module 801 and a first opening sub-module 802, wherein:
the first loading sub-module 801 is configured to load a first portal component in a current display interface for opening a web page link using a browser;
the first opening sub-module 802 is configured to open web page content corresponding to a web page link using a browser when a selection operation of a user with respect to the first portal component is monitored.
In one possible implementation, as shown in fig. 9, the web page access device shown in fig. 7 may further include an access module 703 configured to include: a second loading sub-module 901 and a second opening sub-module 902, wherein:
the second loading sub-module 901 is configured to load a second portal component for opening a webpage by using a client in a current display interface when the client corresponding to the webpage link is installed in the terminal;
the second opening sub-module 902 is configured to open web page content corresponding to the web page link by using the client when the selection operation of the user on the second portal component is monitored.
In a possible implementation manner, when the first sending module 701 monitors that the user presses the target object for a long time in the current display interface, an analysis request carrying the target object is sent to the background server; the long-press operation is an operation of which the touch duration exceeds a preset duration;
when the first sending module 701 monitors that a user performs pressure touch operation on a target object in a current display interface, sending an analysis request carrying the target object to a background server; the pressure touch operation is an operation that the touch pressure exceeds a preset pressure.
FIG. 10 is a block diagram of a web page access device, according to an example embodiment; the apparatus may be implemented in various ways, for example, implementing all components of the apparatus in a background server, or implementing components of the apparatus in a coupled manner on the background server side; the apparatus may implement the method related to the present disclosure by software, hardware or a combination of both, as shown in fig. 10, the web page access apparatus includes: a second receiving module 1001, an obtaining module 1002, and a second sending module 1003, wherein:
the second receiving module 1001 is configured to receive an analysis request sent by a terminal; wherein the analysis request carries a target object;
the acquisition module 1002 is configured to acquire a web page link that matches a target object;
the second transmitting module 1003 is configured to transmit an analysis response to the terminal; wherein the analysis response includes a web page link that matches the target object.
In one possible implementation, the types of target objects include: matching links in a preset format;
the obtaining module 1002 parses the target object, and obtains the web page link carried in the target object.
In one possible implementation, as shown in fig. 11, the web page access device shown in fig. 10 may further include configuring the obtaining module 1002 to include: parsing submodule 1101, searching submodule 1102 and obtaining submodule 1103, wherein:
The parsing sub-module 1101 is configured to parse the target object to obtain keywords in the target object; the types of the target objects include: text for which an associated link exists;
the search sub-module 1102 is configured to search for web pages matching the keywords on the search web site according to the keywords;
the acquisition sub-module 1103 is configured to acquire a web page link of the searched web page.
FIG. 12 is a block diagram of a web page access device 1200 according to an exemplary embodiment, which may be implemented in various ways, such as implementing all components of the device in a terminal, or implementing components of the device in a coupled manner on the terminal side; the web page access apparatus 1200 includes:
a processor 1201;
a memory 1202 for storing processor-executable instructions;
wherein the processor 1201 is configured to:
when the selection operation of a user on a target object in a current display interface is monitored, sending an analysis request carrying the target object to a background server;
receiving analysis response returned by the background server; the analysis response comprises a webpage link matched with the target object;
and accessing the webpage content corresponding to the webpage link.
By way of example, the types of target objects include: links matching a preset format, or text of the associated links exists.
In one embodiment, the processor 1201 may be further configured to:
loading a first portal component for opening a web page link using a browser in a current display interface;
when the selection operation of the user for the first entry component is monitored, the browser is used for opening the webpage content corresponding to the webpage link.
In one embodiment, the processor 1201 may be further configured to:
when the client corresponding to the webpage link is installed in the terminal, loading a second entry component for opening the webpage by using the client in the current display interface;
when the selection operation of the user for the second portal component is monitored, the client is used for opening the webpage content corresponding to the webpage link.
In one embodiment, the processor 1201 may be further configured to:
when long-press operation of a user on a target object in a current display interface is monitored, an analysis request carrying the target object is sent to a background server; the long-press operation is an operation of which the touch duration exceeds a preset duration;
or,
when the pressure touch operation of a user on a target object in a current display interface is monitored, sending an analysis request carrying the target object to a background server; the pressure touch operation is an operation that the touch pressure exceeds a preset pressure.
FIG. 13 is a block diagram of a web page access device 1300 that is shown in accordance with an exemplary embodiment, the web page access device 1300 may be implemented in various ways, such as implementing all of the components of the device in a background server or implementing the components of the device in a coupled manner on the background server side; the web page access apparatus 1300 includes:
a processor 1301;
a memory 1302 for storing processor-executable instructions;
wherein the processor 1301 is configured to:
receiving an analysis request sent by a terminal; wherein the analysis request carries a target object;
acquiring a webpage link matched with a target object;
sending an analysis response to the terminal; wherein the analysis response includes a web page link that matches the target object.
In one embodiment, the processor 1301 may be further configured to: analyzing the target object and acquiring a webpage link carried in the target object; the types of the target objects include: matching links in a preset format;
in one embodiment, the processor 1301 may be further configured to:
analyzing the target object and obtaining keywords in the target object;
searching web pages matched with the keywords on the searching website according to the keywords;
Acquiring a webpage link of the searched webpage;
the types of the target objects include: there is text associated with the link.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 14 is a block diagram illustrating a web page access apparatus according to an exemplary embodiment. For example, the web page access device 1400 may be a smart phone, tablet, or the like.
Referring to fig. 14, a web page access device 1400 may include one or more of the following components: processing component 1402, memory 1404, power component 1406, multimedia component 1408, audio component 1410, input/output (I/O) interface 1412, sensor component 1414, and communication component 1416.
The processing component 1402 generally controls overall operations of the web page access device 1400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1402 can include one or more modules that facilitate interaction between the processing component 1402 and other components. For example, the processing component 1402 can include a multimedia module to facilitate interaction between the multimedia component 1408 and the processing component 1402.
The memory 1404 is configured to store various types of data to support operations at the web access device 1400. Examples of such data include instructions for any application or method operating on the web access device 1400, contact data, phonebook data, messages, pictures, video, and the like. The memory 1404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 1406 provides power to the various components of the web page access device 1400. Power components 1406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for web page access device 1400.
The multimedia component 1408 includes a screen between the web page access device 1400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 1408 includes a front camera and/or a rear camera. When the web page access device 1400 is in an operation mode, such as a photographing mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1410 is configured to output and/or input audio signals. For example, the audio component 1410 includes a Microphone (MIC) configured to receive external audio signals when the web page access device 1400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1404 or transmitted via the communication component 1416. In some embodiments, audio component 1410 also includes a speaker for outputting audio signals.
The I/O interface 1412 provides an interface between the processing component 1402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1414 includes one or more sensors for providing status assessment of various aspects of the web page access device 1400. For example, the sensor component 1414 may detect an open/closed state of the web access device 1400, a relative positioning of components, such as a display and keypad of the web access device 1400, the sensor component 1414 may also detect a change in position of the web access device 1400 or a component of the web access device 1400, the presence or absence of a user's contact with the web access device 1400, an orientation or acceleration/deceleration of the web access device 1400, and a change in temperature of the web access device 1400. The sensor assembly 1414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1416 is configured to facilitate communication between the web page access apparatus 1400 and other devices in a wired or wireless manner. The web page access device 1400 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the web page access apparatus 1400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 1404 including instructions executable by the processor 1420 of the web page access device 1400 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A web page access method applied to a terminal, comprising the following steps:
when the selection operation of a user on a target object in a current display interface is monitored, determining a webpage link corresponding to the target object;
when the client corresponding to the webpage link is detected to be installed or loaded in the terminal, a second entry component for opening the webpage by using the client is loaded in the current display interface;
And when the selection operation of the user for the second entry component is monitored, opening the webpage content corresponding to the webpage link by using the client.
2. The method according to claim 1, wherein the method further comprises:
when the client corresponding to the webpage link is not installed and loaded in the terminal is monitored, loading a first entry component for opening the webpage link in a current display interface;
and when the selection operation of the user for the first entry component is monitored, opening the webpage content corresponding to the webpage link by using a browser.
3. The method of claim 1, wherein the type of target object comprises: links matching a preset format, or text of the associated links exists.
4. The method of claim 1, wherein determining the web page link corresponding to the target object when the user selects the target object in the current display interface is monitored, comprises:
when long-press operation of a user on a target object in a current display interface is monitored, determining a webpage link corresponding to the target object, wherein the long-press operation is an operation of which the touch duration exceeds a preset duration; /or
When pressure touch operation of a user on a target object in a current display interface is monitored, determining a webpage link corresponding to the target object, wherein the pressure touch operation is an operation that touch pressure exceeds preset pressure.
5. The method according to claim 3 or 4, wherein determining the web page link corresponding to the target object includes:
and splitting and identifying the target object to obtain a webpage link matched with the target object.
6. A web page access device, comprising:
the first sending module is used for determining a webpage link corresponding to a target object when monitoring a selection operation of the user on the target object in a current display interface;
the second loading sub-module is used for loading a second entry component for opening a webpage by using the client in the current display interface when the client corresponding to the webpage link is installed in the terminal;
and the second opening sub-module is used for opening the webpage content corresponding to the webpage link by using the client when the selection operation of the user on the second entry component is monitored.
7. The apparatus of claim 6, wherein the apparatus further comprises:
The first loading sub-module is used for loading a first entry component for opening the webpage link by using a browser in a current display interface when the client corresponding to the webpage link is not installed and loaded in the terminal;
and the first opening sub-module is used for opening the webpage content corresponding to the webpage link when the selection operation of the user on the first inlet component is monitored.
8. A web page access device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the selection operation of a user on a target object in a current display interface is monitored, determining a webpage link corresponding to the target object;
when the client corresponding to the webpage link is detected to be installed or loaded in the terminal, a second entry component for opening the webpage by using the client is loaded in the current display interface;
and when the selection operation of the user for the second entry component is monitored, opening the webpage content corresponding to the webpage link by using the client.
9. A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the steps of the method of any of claims 1-5.
CN202311303761.XA 2017-05-27 2017-05-27 Webpage access method and device Pending CN117390330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311303761.XA CN117390330A (en) 2017-05-27 2017-05-27 Webpage access method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311303761.XA CN117390330A (en) 2017-05-27 2017-05-27 Webpage access method and device
CN201710392876.9A CN107239527A (en) 2017-05-27 2017-05-27 web access method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710392876.9A Division CN107239527A (en) 2017-05-27 2017-05-27 web access method and device

Publications (1)

Publication Number Publication Date
CN117390330A true CN117390330A (en) 2024-01-12

Family

ID=59985695

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311303761.XA Pending CN117390330A (en) 2017-05-27 2017-05-27 Webpage access method and device
CN201710392876.9A Pending CN107239527A (en) 2017-05-27 2017-05-27 web access method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201710392876.9A Pending CN107239527A (en) 2017-05-27 2017-05-27 web access method and device

Country Status (1)

Country Link
CN (2) CN117390330A (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111676B (en) * 2017-12-14 2021-06-08 维沃移动通信有限公司 Application program control method, mobile terminal and computer readable storage medium
CN109995804B (en) * 2017-12-29 2021-09-14 腾讯科技(深圳)有限公司 Target resource information display method, information providing method and device
CN108287919B (en) * 2018-02-13 2020-05-12 Oppo广东移动通信有限公司 Webpage application access method and device, storage medium and electronic equipment
CN108710699B (en) * 2018-05-23 2022-03-08 陈达康 Dynamic password generation method, device and system
CN108959565A (en) * 2018-07-04 2018-12-07 广东小天才科技有限公司 A kind of method, apparatus and server of web page contents filtering
CN116431044A (en) * 2019-11-22 2023-07-14 华为技术有限公司 Method and device for starting application program and terminal equipment
CN112380476A (en) * 2020-11-17 2021-02-19 北京字跳网络技术有限公司 Information display method and device and electronic equipment
CN113727335B (en) * 2021-08-27 2024-02-20 支付宝(中国)网络技术有限公司 Sharing processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130111868A (en) * 2012-04-02 2013-10-11 삼성전자주식회사 Method for sharing content and mobile terminal thereof
CN102982144A (en) * 2012-11-22 2013-03-20 东莞宇龙通信科技有限公司 Method and system for sharing webpage information
CN106406931A (en) * 2016-08-25 2017-02-15 广州华多网络科技有限公司 Studio rapid starting method and device in application program, and terminal equipment
CN106682226A (en) * 2017-01-05 2017-05-17 珠海市魅族科技有限公司 Method, system and terminal for opening share link

Also Published As

Publication number Publication date
CN107239527A (en) 2017-10-10

Similar Documents

Publication Publication Date Title
US10990623B2 (en) Information retrieval method, eletronic device and storage medium
CN117390330A (en) Webpage access method and device
RU2649777C2 (en) Bank transfer processing method and device
EP3561691B1 (en) Method and apparatus for displaying webpage content
US11704001B2 (en) Method and device for displaying web page content
CN108764003B (en) Picture identification method and device
CN105786944B (en) Method and device for processing automatic page turning of browser
CN107402767B (en) Method and device for displaying push message
CN111159615B (en) Webpage processing method and device
EP3057006A1 (en) Method and device of filtering address
CN112463418A (en) Cross-device information sharing method, device, medium and electronic device
CN110413169B (en) Information display method, device and medium
US11122109B2 (en) Method for sharing information, electronic device and non-transitory storage medium
CN105976201B (en) Purchasing behavior monitoring method and device for e-commerce system
CN104951522B (en) Method and device for searching
CN107179837B (en) Input method and device
CN106960026B (en) Search method, search engine and electronic equipment
CN111859208A (en) Display method, display device and storage medium
CN112667852B (en) Video-based searching method and device, electronic equipment and storage medium
CN105868354B (en) Webpage repairing method and device
CN108804181B (en) Control content obtaining method and device and storage medium
CN112182449A (en) Page loading method and device, electronic equipment and storage medium
CN104991901A (en) Method and apparatus for accessing webpage
CN111611470A (en) Data processing method and device and electronic equipment
CN110020244B (en) Method and device for correcting website information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination