CN107992615B - Website recommendation method, server and terminal - Google Patents
Website recommendation method, server and terminal Download PDFInfo
- Publication number
- CN107992615B CN107992615B CN201711383472.XA CN201711383472A CN107992615B CN 107992615 B CN107992615 B CN 107992615B CN 201711383472 A CN201711383472 A CN 201711383472A CN 107992615 B CN107992615 B CN 107992615B
- Authority
- CN
- China
- Prior art keywords
- website
- terminal
- access
- candidate
- expected
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0709—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Data Mining & Analysis (AREA)
- Computer Hardware Design (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a website recommendation method, a server and a terminal. The method comprises the following steps: receiving a website access assistance request sent by a terminal, wherein the website access assistance request comprises: the method comprises the steps that an expected access website displayed abnormally on webpage content is displayed on a terminal at present; determining a candidate website related to the expected access website according to the expected access website; and recommending the candidate website to the terminal. The method comprises the steps of receiving a website access assistance request which is sent by a terminal and comprises an expected access website displayed abnormally on the webpage content of the current terminal, determining a candidate website related to the expected access website according to the expected access website, and recommending the candidate website to the terminal. Therefore, when a user accesses the webpage content through the terminal, but the webpage content is displayed abnormally, the candidate websites related to the webpage content expected to be accessed by the user are determined through the websites corresponding to the webpage content to be accessed, and are recommended to the terminal for the user to select, so that the user operation can be reduced, the resource searching efficiency is improved, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a website recommending method, a server and a terminal.
Background
The browser is one of the most used software for users in the internet era, and the users can access massive network resources on the internet through the browser, browse various webpages and enjoy various services provided by websites.
In the process of using the browser, often, due to abnormal web service or abnormal network between the mobile terminal and the remote server, the browsed web page is abnormal, the website cannot be opened normally, and the web page function cannot be used normally. At this time, the user generally searches for other resources related to the content that the user expects to access by means of re-retrieval through a search engine, web site navigation recommendation, or the like, and accesses the resources. The operation process is complicated, the search efficiency is low, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a website recommending method, a server and a terminal, and aims to solve the problems that when an existing webpage is abnormal and a user searches access resources corresponding to the webpage again, the operation process is complicated and the searching efficiency is low.
In order to solve the technical problem, the invention is realized as follows: a website recommending method is applied to a server and comprises the following steps:
receiving a website access assistance request sent by a terminal, wherein the website access assistance request comprises: the current expected access website displayed by the webpage content abnormity on the terminal;
determining a candidate website related to the expected access website according to the expected access website;
and recommending the candidate website to the terminal.
In a first aspect, an embodiment of the present invention further provides a website recommendation method, applied to a terminal, including:
detecting whether the webpage content acquired from the target source station through the website access request is normally displayed;
if the display is abnormal, sending a website access assistance request to a server, wherein the website access assistance request comprises: the current webpage content is displayed abnormally and the website is expected to be visited;
and receiving a candidate website which is sent by the server and is determined according to the expected access website and related to the expected access website, and displaying the candidate website on a screen of the terminal.
In a second aspect, an embodiment of the present invention provides a server, including:
a receiving module, configured to receive a website access assistance request sent by a terminal, where the website access assistance request includes: the current expected access website displayed by the webpage content abnormity on the terminal;
the candidate website determining module is used for determining a candidate website related to the expected access website according to the expected access website;
and the first recommending module is used for recommending the candidate website to the terminal.
In a third aspect, an embodiment of the present invention provides a terminal, including:
the detection module is used for detecting whether the webpage content acquired from the target source station through the website access request is normally displayed;
the first sending module is configured to send a website access assistance request to a server when the page content is abnormally displayed, where the website access assistance request includes: the current webpage content is displayed abnormally and the website is expected to be visited;
and the receiving processing module is used for receiving the candidate website which is sent by the server and is determined according to the expected access website and related to the expected access website, and displaying the candidate website on a screen of the terminal.
A fourth method, an embodiment of the present invention provides a server, including: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the web site recommendation method as described above.
In a fifth aspect, an embodiment of the present invention provides a terminal, including: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the web site recommendation method as described above.
In the embodiment of the invention, a website access assisting request which is sent by a terminal and comprises an expected access website displayed abnormally on the webpage content of the terminal is received, a candidate website related to the expected access website is determined according to the expected access website, and the candidate website is recommended to the terminal. Therefore, when a user accesses the webpage content through the terminal, but the webpage content is displayed abnormally, the candidate websites related to the webpage content expected to be accessed by the user are determined through the websites corresponding to the webpage content to be accessed, and are recommended to the terminal for the user to select, so that the user operation can be reduced, the resource searching efficiency is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flowchart illustrating a website recommendation method according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of step 102 in FIG. 1;
FIG. 3 is a detailed flowchart of step 102 in FIG. 1;
FIG. 4 is a flowchart illustrating a website recommendation method according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a website recommendation method according to an embodiment of the present invention, which is applied to a server. The implementation of the method is described in detail below with reference to this figure.
Here, preferably, the server in the embodiment of the present invention is a cloud proxy server.
Note that the abnormal display of the web page content includes: the web page content can not be displayed partially or completely, and the web page content is displayed as messy codes.
Specifically, the expected visited website displayed in an abnormal manner on the webpage content at present is obtained by the terminal in an active reporting manner, that is, the website access assistance request sent by the terminal is received, and the website access assistance request carries the expected visited website displayed in an abnormal manner on the webpage content at present.
Here, the website related to the website desired to be visited specifically refers to a website related (same or similar) to the classification attribute of the website desired to be visited.
For example, if the website content of the prospective visited website is classified as a news website, the website related to the prospective visited website should be the website of the news website in addition to the prospective visited website.
And 103, recommending the candidate website to the terminal.
The candidate websites are recommended to the terminal, so that the complicated operation of manually retrieving again by the user is omitted, the resource searching efficiency is improved, and the user experience is improved.
According to the website recommending method provided by the embodiment of the invention, a website access assisting request which is sent by a terminal and comprises an expected access website displayed abnormally on the webpage content of the terminal is received, a candidate website related to the expected access website is determined according to the expected access website, and the candidate website is recommended to the terminal. Therefore, when a user accesses the webpage content through the terminal, but the webpage content is displayed abnormally, the candidate websites related to the webpage content expected to be accessed by the user are determined through the websites corresponding to the webpage content to be accessed, and are recommended to the terminal for the user to select, so that the user operation can be reduced, the resource searching efficiency is improved, and the user experience is improved.
On the basis of the embodiment shown in fig. 1, as a preferred implementation manner, as shown in fig. 2, step 102 may specifically include:
step 1021, analyzing the expected access website to obtain domain name information of the expected access website.
Here, the expected access web address specifically refers to a web site address. It is expressed in the form of access protocol + type of network it belongs to + domain name.
For example, http:// www.abc.com/is a complete web address. Com is the domain name corresponding to this website.
Step 1022, according to the website classification attribute in the domain name information, determining the website with the same website classification attribute as the candidate website.
Here, there are many kinds of website classification attributes, and different classification bases correspond to different classification attributes. For example, the website may be classified into a portal website, an industry website, an entertainment website, etc. according to the usage of the website; the website can be classified into a personal website, a commercial website, a government website and the like according to the owner of the website; the classification according to the types of websites can be classified into a search engine, a news website, a resource sharing website, a navigation website, and the like.
Com, the website attribute represented by "com" in abc.com is a commercial website; the website attribute represented by the 'abc' is a video website in the entertainment website; the video websites are more accurately located, so that besides the expected visited website, the candidate website should be a website corresponding to a certain video website or certain video websites, such as http:// www.xyz.com/, http:// www.123.com/and the like.
On the basis of the embodiment shown in fig. 1, preferably, the website access assistance request further includes: the terminal accesses the website and the page content within a preset time period;
here, the website and the page content accessed by the terminal within the preset time period can be obtained in an active reporting manner by the terminal, that is, a website access assistance request sent by the terminal is received, and the website access assistance request carries the website and the page content accessed by the terminal within the preset time period; it can also be obtained directly through a database in the server.
Here, the database records the website and the web page content accessed by the terminal within a preset time period.
It should be noted that the preset time period may be specifically configured, such as half an hour, a day, and the like, and in short, is the website and the web page content recently accessed by the terminal.
As another preferred implementation manner, as shown in fig. 3, step 102 may include:
and 1023, judging whether a target website with the similarity to the expected visited website larger than a preset threshold exists in the websites visited by the terminal within a preset time period.
If not, go to step 1024; if yes, go to step 1026.
It should be noted that the number of websites accessed by the terminal in the preset time period is at least one.
Specifically, in this step, each website accessed by the terminal within a preset time period may be compared with the expected website to be accessed one by one from left to right, and the similarity may be calculated by dividing the number of the same characters by the number of all characters of the current website when the first different character appears.
Here, the similarity is smaller than a preset threshold, indicating that the content that the current end user desires to access is not highly similar to the content that has been accessed recently.
In this step, the specific process of analyzing the website to be visited and obtaining the domain name information of the website to be visited refers to the explanation of step 1021, which is not described herein again.
And 1025, determining the website with the same website classification attribute as the candidate website according to the website classification attribute in the domain name information.
For the specific process of this step, reference is made to the description of step 1022 above, which is not described herein again.
here, the existence of the target website with the similarity to the expected access website being greater than the preset threshold indicates that the similarity between the content that the current terminal user desires to access and the corresponding web content in the target website is high, and the possibility that the content that the terminal user desires to access exists in the target website is high.
It should be noted that, preferably, the key information includes: text information of the page content of the target website. For example, keyword information, such as a title of a web page or text content of a preset area on the web page, etc. Here, the key information may further include voice information, image information, and the like, which is not particularly limited herein.
Here, in this step, the candidate website matched with the key information is obtained by searching the database of the server.
It should be further explained that, if the website matched with the key information is not retrieved, the step is returned to step 1024 to perform the step of analyzing the website to be visited and acquiring the domain name information of the website to be visited.
Here, the accuracy of the retrieved candidate websites can be further improved, in other words, the correlation between the candidate websites and the content that the end user desires to access can be further enhanced by the candidate website determining manner of steps 1026 to 1027.
On the basis of the embodiment shown in fig. 1, preferably, after step 101, the method may further include:
and if the situation that the preset number of access terminals exist before the terminal and all the webpage contents of the expected access websites are abnormally displayed is detected, recommending the candidate websites recommended to the access terminals to the terminal.
Here, it should be noted that, when it is detected that a preset number of access terminals exist before the terminal, the web page content of the expected access website is abnormally displayed, which indicates that the website service corresponding to the preset access website is abnormal.
In the step, the server directly recommends the candidate website recommended to the previous access terminal to the terminal, so that the processing time for recommending the candidate website is further prolonged, and the user experience is further improved.
In summary, the website recommending method provided in the embodiment of the present invention determines the candidate website related to the expected visited website according to the expected visited website by receiving the website visiting assistance request including the expected visited website displayed abnormally in the content of the web page on the current terminal sent by the terminal, and recommends the candidate website to the terminal. Therefore, when a user accesses the webpage content through the terminal, but the webpage content is displayed abnormally, the candidate websites related to the webpage content expected to be accessed by the user are determined through the websites corresponding to the webpage content to be accessed, and are recommended to the terminal for the user to select, so that the user operation can be reduced, the resource searching efficiency is improved, and the user experience is improved.
Fig. 4 is a flowchart of a website address recommending method according to an embodiment of the present invention, which is applied to a terminal. The implementation of the method is described in detail below with reference to this figure.
Here, the terminal may detect whether the contents of the web page are normally displayed through the browser client.
It should be noted that, the server receives the website access assistance request, and sends a request for retrieving a candidate website related to the website desired to be accessed to its database.
Here, the step of specifically determining the candidate website may refer to the explanation of the server-side embodiment, and is not described herein again.
Here, the candidate web address is displayed on a screen of the terminal for selection by a user of the terminal. The candidate web addresses may be displayed on the screen of the terminal in the form of a list.
According to the website recommending method provided by the embodiment of the invention, when the display of the webpage content acquired from the target source station through the website access request is detected to be abnormal, the website access assisting request is sent to the server, the expected access website reported by the server through the terminal and sent by the server is received, and the candidate website related to the content expected to be accessed by the user is determined, so that the terminal user is free from frequent interactive operation with a human-computer interface on a terminal screen, the resource searching efficiency is improved, and the user experience is improved.
Preferably, the website access assistance request further includes: and the terminal accesses the website and the page content within a preset time period.
Here, the website and the page content accessed by the terminal within the preset time period are used as the basis for the subsequent server to determine the candidate website.
On the basis of the embodiment shown in fig. 4, it is preferable that before step 201, the method further includes:
and sending a website access request to a server so that the server sends the website access request to a target source station.
Here, the terminal transmits a website access request to the server through the browser client.
It should be noted that, the server obtains the network resources corresponding to the website access request from the target source station, and performs offline classification on the network resources, and stores the network resources in the database of the server.
Here, the offline classification of the network resources may be classified according to the website type corresponding to the target source station, or according to the type of the network resources. For example, the types of websites include: video websites, audio websites, news websites, and the like. The network resources include: video resources, audio resources, text information resources, and the like.
It should also be noted that the database of the server may asynchronously crawl and cache the website content. Specifically, the website information (website links and webpage content) is cached.
In summary, according to the website recommendation method provided in the embodiment of the present invention, when it is detected that the display of the web page content acquired from the target source station through the website access request is abnormal, the candidate websites related to the content desired to be accessed by the user are determined by sending the website access assistance request to the server, receiving the website desired to be accessed, which is sent by the server and reported by the server through the terminal, so that the terminal user is free from frequent interaction with a human-computer interface on a terminal screen, the resource search efficiency is improved, and the user experience is improved.
Fig. 5 is a schematic structural diagram of a server according to an embodiment of the present invention. Among them, the server 300 includes:
a receiving module 301, configured to receive a website access assistance request sent by a terminal, where the website access assistance request includes: the current expected access website displayed by the webpage content abnormity on the terminal;
a candidate website determining module 302, configured to determine, according to the website to be visited, a candidate website related to the website to be visited;
a first recommending module 303, configured to recommend the candidate website to the terminal.
On the basis of fig. 5, preferably, as shown in fig. 6, the candidate website determining module 302 may include:
a first parsing submodule 3021, configured to parse the website to be visited, and obtain domain name information of the website to be visited;
the first candidate website determining sub-module 3022 is configured to determine, according to the website classification attribute in the domain name information, a website with the same website classification attribute as the candidate website.
Preferably, the website access assistance request further includes: the terminal accesses the website and the page content within a preset time period;
accordingly, the candidate website determining module 302 may include:
a judging submodule 3023, configured to judge whether a target website with similarity to the expected visited website that is greater than a preset threshold exists in websites visited by the terminal within a preset time period;
a second parsing submodule 3024, configured to, when the similarity between the website accessed by the terminal in a preset time period and the website expected to be accessed is smaller than a preset threshold, parse the website expected to be accessed, and obtain domain name information of the website expected to be accessed;
the second candidate website determining sub-module 3025 is configured to determine, according to the website classification attribute in the domain name information, a website with the same website classification attribute as the candidate website.
Preferably, the candidate website determining module 302 may include:
the information extraction sub-module 3026 is configured to, when a target website exists, where similarity to the expected visited website is greater than a preset threshold, extract key information in page content corresponding to the target website;
and a third candidate website determining sub-module 3027, configured to determine, when a website matching the key information is retrieved, a website matching the key information as a candidate website.
Preferably, the candidate website determining module 302 may include:
the skip sub-module 3028 is configured to skip to perform the step of analyzing the website to be visited and obtaining domain name information of the website to be visited when the website matched with the key information is not retrieved after the key information in the page content corresponding to the target website is extracted.
Preferably, the server 300 may further include:
the second recommending module 304 is configured to recommend the candidate websites recommended to the access terminal to the terminal after receiving the website access assistance request sent by the terminal and when detecting that a preset number of access terminals exist before the terminal and all the web content of the website expected to be accessed is abnormally displayed.
The server provided by the embodiment of the present invention can implement each process implemented by the server in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
According to the server provided by the embodiment of the invention, the website access assistance request which is sent by the terminal and comprises the expected access website displayed on the webpage with abnormal content at the terminal is received through the receiving module, the candidate website related to the expected access website is determined according to the expected access website through the candidate website, and the first recommending module recommends the candidate website to the terminal. Therefore, when a user accesses the webpage content through the terminal, but the webpage content is displayed abnormally, the candidate websites related to the webpage content expected to be accessed by the user are determined through the websites corresponding to the webpage content to be accessed, and are recommended to the terminal for the user to select, so that the user operation can be reduced, the resource searching efficiency is improved, and the user experience is improved.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. Wherein the terminal 400 includes:
a detection module 401, configured to detect whether web page content obtained from a target source station through a website access request is normally displayed;
a first sending module 402, configured to send a website access assistance request to a server when a page content display is abnormal, where the website access assistance request includes: the current webpage content is displayed abnormally and the website is expected to be visited;
a receiving processing module 403, configured to receive a candidate website related to the website to be visited, which is determined according to the website to be visited and sent by the server, and display the candidate website on a screen of the terminal.
Preferably, the website access assistance request further includes: and the terminal accesses the website and the page content within a preset time period.
Preferably, the terminal 400 further includes:
and the second sending module is used for sending the website access request to the server before detecting whether the webpage content acquired from the target source station through the network request is normally displayed, so that the server sends the website access request to the target source station.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiment of fig. 4, and is not described herein again in order to avoid repetition.
According to the terminal provided by the embodiment of the invention, when the detection module detects that the webpage content acquired from the target source station through the website access request is abnormally displayed, the first sending module sends the website access assisting request to the server, the receiving and processing module receives the expected access website reported by the server through the terminal and sent by the server, the candidate website related to the content expected to be accessed by the user is determined, and the candidate website is displayed on the screen of the terminal, so that the terminal user can save frequent interaction operation with a human-computer interface on the screen of the terminal, the resource searching efficiency is improved, and the user experience is improved.
Fig. 8 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to detect whether the web page content obtained from the target source station through the website access request is normally displayed; if the display is abnormal, the radio frequency unit 501 sends a website access assistance request to the server, where the website access assistance request includes: the current webpage content is displayed abnormally and the website is expected to be visited; a display unit 506, configured to receive a candidate website related to the website to be visited, which is determined according to the website to be visited and sent by the server, and display the candidate website on a screen of the terminal.
The mobile terminal 500 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
The mobile terminal 500 of the embodiment of the invention enables a terminal user to save frequent interactive operation with a human-computer interface on a terminal screen, improves the resource searching efficiency and improves the user experience.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 8, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing website recommendation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing website recommendation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (16)
1. A website recommendation method is applied to a server and is characterized by comprising the following steps:
receiving a website access assistance request sent by a terminal, wherein the website access assistance request comprises: the current expected access website displayed by the webpage content abnormity on the terminal;
determining a candidate website related to the expected access website according to the expected access website;
recommending the candidate website to the terminal;
the website access assistance request further comprises: the terminal accesses the website and the page content within a preset time period;
wherein, the step of determining the candidate website related to the website to be visited according to the website to be visited includes:
judging whether a target website with similarity to the expected access website larger than a preset threshold exists in the websites accessed by the terminal within a preset time period;
if a target website with the similarity to the expected access website greater than a preset threshold exists, extracting key information in page content corresponding to the target website;
and if the website matched with the key information is retrieved, determining the website matched with the key information as a candidate website.
2. The website recommending method according to claim 1, wherein said step of determining candidate websites related to said website to be visited according to said website to be visited comprises:
analyzing the expected access website to obtain domain name information of the expected access website;
and determining the website with the same classification attribute as the website as a candidate website according to the classification attribute of the website in the domain name information.
3. The website recommending method according to claim 1,
after the step of judging whether a target website with similarity to the expected visited website greater than a preset threshold exists in the websites visited by the terminal within a preset time period, the method further comprises:
if the similarity between the website accessed by the terminal in a preset time period and the expected access website is smaller than a preset threshold value, analyzing the expected access website to obtain domain name information of the expected access website;
and determining the website with the same classification attribute as the website as a candidate website according to the classification attribute of the website in the domain name information.
4. The website recommendation method according to claim 1, wherein after the step of extracting key information in the page content corresponding to the target website, the method further comprises:
and if the website matched with the key information is not retrieved, skipping to execute the step of analyzing the expected access website and acquiring the domain name information of the expected access website.
5. The website recommending method according to claim 1, wherein after the step of receiving the website access assistance request sent by the terminal, the method further comprises:
and if the situation that the preset number of access terminals exist before the terminal and all the webpage contents of the expected access websites are abnormally displayed is detected, recommending the candidate websites recommended to the access terminals to the terminal.
6. A website recommendation method is applied to a terminal and is characterized by comprising the following steps:
detecting whether the webpage content acquired from the target source station through the website access request is normally displayed;
if the display is abnormal, sending a website access assistance request to a server, wherein the website access assistance request comprises: the current webpage content is displayed abnormally and the website is expected to be visited;
receiving a candidate website which is sent by the server and is determined according to the expected access website and related to the expected access website, and displaying the candidate website on a screen of the terminal;
the website access assistance request further comprises: the terminal accesses the website and the page content within a preset time period;
and the candidate website is a website which is obtained by extracting key information in page content corresponding to the target website and is matched with the key information when the server judges that the target website with the similarity to the expected access website larger than a preset threshold exists in the websites accessed by the terminal within a preset time period.
7. The website recommending method according to claim 6, wherein before the step of detecting whether the web content obtained from the target source station by the website access request is normally displayed, the method further comprises:
and sending a website access request to a server so that the server sends the website access request to a target source station.
8. A server, comprising:
a receiving module, configured to receive a website access assistance request sent by a terminal, where the website access assistance request includes: the current expected access website displayed by the webpage content abnormity on the terminal;
the candidate website determining module is used for determining a candidate website related to the expected access website according to the expected access website;
the first recommending module is used for recommending the candidate website to the terminal;
the website access assistance request further comprises: the terminal accesses the website and the page content within a preset time period;
wherein the candidate website determining module comprises:
the judging submodule is used for judging whether a target website with the similarity to the expected access website larger than a preset threshold exists in the websites accessed by the terminal within a preset time period;
the information extraction sub-module is used for extracting key information in page content corresponding to the target website when the target website with the similarity degree with the expected access website larger than a preset threshold exists;
and the third candidate website determining submodule is used for determining the website matched with the key information as a candidate website when the website matched with the key information is retrieved.
9. The server according to claim 8, wherein the candidate website determining module comprises:
the first analysis submodule is used for analyzing the expected access website to acquire domain name information of the expected access website;
and the first candidate website determining submodule is used for determining the website with the same classification attribute as the website as the candidate website according to the website classification attribute in the domain name information.
10. The server according to claim 8,
wherein the candidate website determining module further comprises:
the second analysis submodule is used for analyzing the expected access website to acquire domain name information of the expected access website when the similarity between the website accessed by the terminal in a preset time period and the expected access website is smaller than a preset threshold value;
and the second candidate website determining submodule is used for determining the website with the same classification attribute as the website as the candidate website according to the website classification attribute in the domain name information.
11. The server according to claim 8, wherein the candidate website determining module comprises:
and the skipping submodule is used for skipping to execute the step of analyzing the expected access website and acquiring the domain name information of the expected access website when the website matched with the key information is not retrieved after the key information in the page content corresponding to the target website is extracted.
12. The server of claim 8, further comprising:
and the second recommending module is used for recommending the candidate websites recommended to the access terminal to the terminal after receiving the website access assistance request sent by the terminal and when detecting that a preset number of access terminals exist before the terminal and all the webpage contents of the expected access websites are abnormally displayed.
13. A terminal, comprising:
the detection module is used for detecting whether the webpage content acquired from the target source station through the website access request is normally displayed;
the first sending module is configured to send a website access assistance request to a server when the page content is abnormally displayed, where the website access assistance request includes: the current webpage content is displayed abnormally and the website is expected to be visited;
the receiving processing module is used for receiving a candidate website which is sent by the server and is determined according to the expected access website and related to the expected access website, and displaying the candidate website on a screen of the terminal;
the website access assistance request further comprises: the terminal accesses the website and the page content within a preset time period;
and the candidate website is a website which is obtained by extracting key information in page content corresponding to the target website and is matched with the key information when the server judges that the target website with the similarity to the expected access website larger than a preset threshold exists in the websites accessed by the terminal within a preset time period.
14. The terminal of claim 13, wherein the terminal further comprises:
and the second sending module is used for sending the website access request to the server before detecting whether the webpage content acquired from the target source station through the network request is normally displayed, so that the server sends the website access request to the target source station.
15. A server, comprising: processor, memory and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the web site recommendation method according to any one of claims 1 to 5.
16. A mobile terminal, comprising: processor, memory and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the web site recommendation method according to any one of claims 6 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711383472.XA CN107992615B (en) | 2017-12-20 | 2017-12-20 | Website recommendation method, server and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711383472.XA CN107992615B (en) | 2017-12-20 | 2017-12-20 | Website recommendation method, server and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107992615A CN107992615A (en) | 2018-05-04 |
CN107992615B true CN107992615B (en) | 2020-06-16 |
Family
ID=62039219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711383472.XA Active CN107992615B (en) | 2017-12-20 | 2017-12-20 | Website recommendation method, server and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107992615B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804615B (en) * | 2018-05-30 | 2021-12-28 | 维沃移动通信(深圳)有限公司 | Sharing method and server |
CN109063106B (en) * | 2018-07-27 | 2022-03-04 | 北京字节跳动网络技术有限公司 | Website correction method and device, computer equipment and storage medium |
CN116136803A (en) * | 2021-11-18 | 2023-05-19 | 华为技术有限公司 | Webpage access exception processing method and related device |
CN115378905B (en) * | 2022-07-22 | 2023-11-14 | 北京华顺信安科技有限公司 | Domain name collection method, device, equipment and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708132A (en) * | 2012-03-06 | 2012-10-03 | 奇智软件(北京)有限公司 | Method and system for webpage recommendation |
CN104683344A (en) * | 2015-03-04 | 2015-06-03 | 安一恒通(北京)科技有限公司 | Method and device for intercepting malicious website |
CN106610988A (en) * | 2015-10-22 | 2017-05-03 | 阿里巴巴集团控股有限公司 | Webpage recommendation method and recommendation apparatus |
-
2017
- 2017-12-20 CN CN201711383472.XA patent/CN107992615B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708132A (en) * | 2012-03-06 | 2012-10-03 | 奇智软件(北京)有限公司 | Method and system for webpage recommendation |
CN104683344A (en) * | 2015-03-04 | 2015-06-03 | 安一恒通(北京)科技有限公司 | Method and device for intercepting malicious website |
CN106610988A (en) * | 2015-10-22 | 2017-05-03 | 阿里巴巴集团控股有限公司 | Webpage recommendation method and recommendation apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107992615A (en) | 2018-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108470041B (en) | Information searching method and mobile terminal | |
CN109917979B (en) | Searching method and mobile terminal | |
CN108924037B (en) | Display method of rich media communication RCS message and mobile terminal | |
CN107846352B (en) | Information display method and mobile terminal | |
CN106708496B (en) | Processing method and device for label page in graphical interface | |
CN107992615B (en) | Website recommendation method, server and terminal | |
CN108322523B (en) | Application recommendation method, server and mobile terminal | |
CN109284144B (en) | Fast application processing method and mobile terminal | |
US10956653B2 (en) | Method and apparatus for displaying page and a computer storage medium | |
CN110381204B (en) | Information display method, mobile terminal and computer readable storage medium | |
CN110688497A (en) | Resource information searching method and device, terminal equipment and storage medium | |
CN110795002A (en) | Screenshot method and terminal equipment | |
CN110087149A (en) | A kind of video image sharing method, device and mobile terminal | |
CN108595107B (en) | Interface content processing method and mobile terminal | |
CN110990679A (en) | Information searching method and electronic equipment | |
CN108391253B (en) | application program recommendation method and mobile terminal | |
CN107765954B (en) | Application icon updating method, mobile terminal and server | |
CN110795010B (en) | Screen capturing method and terminal equipment thereof | |
CN109670105B (en) | Searching method and mobile terminal | |
CN111143614A (en) | Video display method and electronic equipment | |
CN111061446A (en) | Display method and electronic equipment | |
CN108647063A (en) | A kind of method and terminal of display object | |
CN108804615B (en) | Sharing method and server | |
CN111352667A (en) | Information pushing method and electronic equipment | |
CN106339402B (en) | Method, device and system for pushing recommended content |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |