CN110795647A - Website prompting method and device - Google Patents
Website prompting method and device Download PDFInfo
- Publication number
- CN110795647A CN110795647A CN201911037691.1A CN201911037691A CN110795647A CN 110795647 A CN110795647 A CN 110795647A CN 201911037691 A CN201911037691 A CN 201911037691A CN 110795647 A CN110795647 A CN 110795647A
- Authority
- CN
- China
- Prior art keywords
- website
- information
- matching
- prompt
- regular
- 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
Links
Images
Classifications
-
- 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/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the technical field of browsers, and provides a website prompting method and a device, wherein the method comprises the following steps: receiving target information input in an address bar, wherein the target information comprises a regular expression for website matching; sending the target information to a server; receiving website prompt information sent by the server, wherein the website prompt information is website information obtained based on the target information matching; and displaying the website prompt information. The embodiment of the invention can improve the intelligent degree of inputting the website in the address bar of the browser to access the webpage.
Description
Technical Field
The invention relates to the technical field of browsers, in particular to a website prompting method and device.
Background
At present, a browser is needed to browse web page contents of the internet, and the browser interacts with a web page server through a hypertext transfer protocol and acquires a web page to display characters, images and other information contents in the web page. Before accessing a web page, a user usually needs to input a web address corresponding to the web page in an address bar of a browser. The user needs to remember the websites of different web pages, and when some content in the websites of the web pages is input incorrectly, the browser cannot correctly present the web pages that the user needs to access.
Therefore, the method for inputting the website in the address bar of the browser to access the webpage in the prior art has low intelligence degree.
Disclosure of Invention
The embodiment of the invention provides a website prompting method and device, and aims to solve the problem that the intelligent degree of a method for inputting a website in an address bar of a browser to access a webpage in the prior art is low.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a website prompting method, which is applied to a browser, and the method includes:
receiving target information input in an address bar, wherein the target information comprises a regular expression for website matching;
sending the target information to a server;
receiving website prompt information sent by the server, wherein the website prompt information is website information obtained based on the target information matching;
and displaying the website prompt information.
In a second aspect, an embodiment of the present invention provides a website address prompting method, which is applied to a server, and the method includes:
receiving target information sent by a browser, wherein the target information comprises a regular expression for website matching;
acquiring website prompt information matched with the target information based on the target information;
and sending the website prompt information to the browser.
In a third aspect, an embodiment of the present invention provides a website prompting device, which is applied to a browser, and includes:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving target information input in an address bar, and the target information comprises a regular expression for website matching;
the sending module is used for sending the target information to a server;
the second receiving module is used for receiving website prompt information sent by the server, wherein the website prompt information is obtained based on the target information matching;
and the display module is used for displaying the website prompt information.
In a fourth aspect, an embodiment of the present invention provides a website prompting device, which is applied to a server, and includes:
the receiving module is used for receiving target information sent by a browser, and the target information comprises a regular expression for website matching;
the acquisition module is used for acquiring website prompt information matched with the target information based on the target information;
and the sending module is used for sending the website prompt information to the browser.
In a fifth aspect, an embodiment of the present invention provides a website address prompting device, including: a memory, a processor and a program stored on the memory and operable on the processor, the program, when executed by the processor, implementing the steps in the website address prompting method according to the first aspect; alternatively, the program implements the steps in the website address prompting method according to the second aspect when executed by the processor.
In a sixth aspect, the embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program, when executed by a processor, implements the steps in the website prompting method according to the first aspect, or the computer program, when executed by the processor, implements the steps in the website prompting method according to the second aspect.
In the embodiment of the invention, target information input in an address bar is received, wherein the target information comprises a regular expression for website matching; sending the target information to a server; receiving website prompt information sent by the server, wherein the website prompt information is website information obtained based on the target information matching; and displaying the website prompt information. Therefore, the part forgotten in the website to be accessed can be replaced by the regular expression, the browser can display website prompt information according to the regular expression for a user to select, and the intelligent degree of inputting the website in the address bar of the browser to access the webpage can be 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 exercise.
Fig. 1 is a flowchart of a website address prompting method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a website address prompting method according to an embodiment of the present invention;
fig. 3 is a third flowchart of a website address prompting method according to an embodiment of the present invention;
fig. 4 is a schematic view of an interface display of a website address prompting device according to an embodiment of the present invention;
fig. 5 is a second schematic view of an interface display of a website address prompting device according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a website address prompting device according to an embodiment of the present invention;
fig. 7 is a second schematic structural diagram of a website address prompting device according to a second embodiment of the present invention;
fig. 8 is a third schematic structural diagram of a website address prompting device according to an embodiment of the present invention;
fig. 9 is a fourth schematic structural diagram of a website address prompting device 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.
Referring to fig. 1, fig. 1 is a flowchart of a website address prompting method provided in an embodiment of the present invention, where the method is applied to a browser, and as shown in fig. 1, the method includes the following steps:
Wherein the address bar may be a search box of the browser. And inputting the website in the address bar to access the webpage corresponding to the website. The target information comprises a regular expression for website matching, and the target information can also comprise part of websites. The target information may include a portion of the target web address, for example, the target web address may include a first portion of the web address and a second portion of the web address, and the target information may include the first portion of the web address and a regular expression matching the second portion of the web address. For example, the target website that the user wants to access is "www.aaadu.com", but the user only remembers "www.aaa? Com ", the web address portion represented by the question mark is forgotten by the user, the portion remembered by the user is the first portion of the web address, the portion forgotten by the user is the second portion of the web address, the user can replace the second portion of the web address with a regular expression, and the first portion of the web address and the regular expression matched with the second portion of the web address are input in the address bar, for example, the user can input" www.aaa [ \ w + ]. com ".
And 102, sending the target information to a server.
And the browser sends the target information to the server so that the server acquires the website prompt information matched with the target information based on the target information.
And 103, receiving website prompt information sent by the server, wherein the website prompt information is obtained based on the target information matching.
The website information may be a website corresponding to each website. The website prompt message may include one or more website messages. The website prompt information is obtained by matching based on the target information, and after the server receives the target information sent by the browser, the server obtains the website prompt information matched with the target information based on the target information. The server records website information of each website, and the website information may be configured on the server in advance or acquired by the server from other servers in real time. And the server performs regular matching on the target information and the recorded website information of each website, and sends the website information which is regularly matched with the target information to the browser. Under the condition that the target website comprises a first part of websites and a second part of websites, and the target information comprises the first part of websites and a regular expression matched with the second part of websites, the website information regularly matched with the target information comprises the first part of websites and a third part of websites, and the third part of websites is matched with the regular expression in the target information.
In addition, the website prompt information sent by the server may be ranked website information, and in the case that the website prompt information includes a plurality of pieces of website information, the server may rank the plurality of pieces of website information according to a preset rule, may rank the plurality of pieces of website information according to the size of the visited amount of the website, may rank the plurality of pieces of website information according to the popularity of the website, or may rank the plurality of pieces of website information according to the strength of a company to which the website belongs, or the like. The server may rank the plurality of pieces of website information according to the accessed amount of each piece of website information, and send the ranked plurality of pieces of website information to the browser. The server can rank the website information with larger user access amount in the front and rank the website information with smaller user access amount in the back. The probability that the website information with larger user access amount is used as the target website to be accessed is larger, and the website information with larger user access amount is sequenced in front, so that the user can conveniently and quickly select the website information.
It should be noted that, the server sends the website prompt information to the browser according to the target information sent by the browser, which may be a website prompt function, and the website prompt function may be a conventional function of the browser or an advanced function of the browser. The user can configure and open the website prompt function or close the website prompt function on a configuration interface.
And 104, displaying the website prompt information.
The website prompt information may be displayed in a drop-down list of the address bar in a list form. In the case that the website prompt information is the sorted website information, the website information sorted earlier may be displayed above the drop-down list. The browser can receive the operation of selecting one website information from the website prompt information by the user, and input the selected website information into the address bar as the target website to be accessed.
In the embodiment of the invention, target information input in an address bar is received, wherein the target information comprises a regular expression for website matching; sending the target information to a server; receiving website prompt information sent by the server, wherein the website prompt information is website information obtained based on the target information matching; and displaying the website prompt information. Therefore, the part forgotten in the website to be accessed can be replaced by the regular expression, the browser can display website prompt information according to the regular expression for a user to select, and the intelligent degree of inputting the website in the address bar of the browser to access the webpage can be improved.
As an optional implementation manner, the target information further includes website address sub-information, and the receiving the target information input in the address bar includes:
receiving the website sub information and preset character information input in an address bar;
displaying regular matching prompt information corresponding to the preset character information;
and acquiring the regular expression for website matching, and displaying the regular expression for website matching in the address bar.
The website sub-information may be a part of a website, and may be a part of a target website. For example, the target web address may be: "www.aaabbb.com", the website sub-information may be part of the target website, for example, the website sub-information is: "www.aaab". The preset character information may be preset characters or character strings, and may be, for example: is there a . The preset character information corresponds to regular matching prompt information, and when the preset character information is detected to be input, the regular matching prompt information is displayed and used for prompting a user how to obtain a regular expression, and the regular matching prompt information can include a commonly used regular expression. The user needs to access the target website, but only memorizes part of the website of the target website, after inputting the website sub-information in the address bar, the user can input the preset character information after inputting the website sub-information in the address bar, and according to the displayed regular matching prompt information, the user inputs the regular expression after inputting the website sub-information in the address bar. The obtaining of the regular expression for website matching may be a regular expression that is received from an address bar input by a user, or may be a regular matching prompt message that includes a plurality of regular matching prompt sub-messages, receiving an operation of selecting at least one regular matching prompt sub-message from the plurality of regular matching prompt sub-messages, and obtaining the regular expression for website matching based on the selected regular matching prompt sub-message.
In the embodiment, the website sub-information input in the address bar is received; receiving preset character information input in the address bar; displaying regular matching prompt information corresponding to the preset character information; the regular expression for website matching is obtained, the regular expression for website matching is displayed in the address bar, regular matching prompt information is displayed through preset character information input by a user, the regular matching prompt information is provided according to the requirements of the user so that the user can learn, and the intelligent degree of inputting websites in the address bar of the browser to access webpages can be further improved.
As an optional implementation manner, the target information further includes website address sub-information, and the receiving the target information input in the address bar includes:
receiving the website sub-information input in an address bar;
if the preset operation aiming at the address bar is not received within the preset time length, displaying the regular matching prompt information;
and acquiring the regular expression for website matching, and displaying the regular expression for website matching in the address bar.
The website sub-information may be a part of a website, and may be a part of a target website. For example, the target web address may be: "www.aaabbb.com", the website sub-information may be part of the target website, for example, the website sub-information is: "www.aaab". The preset operation aiming at the address bar is not received within the preset time length, which may be that the operation of searching the website in the address bar is not received within the preset time length; or, the operation of inputting the website in the address bar is not received within the preset time, at this time, only the website sub-information is input in the address bar, and the website information input in the address bar is incomplete. The browser detects that the website information input in the address bar is incomplete, and does not receive the operation of inputting the website in the address bar within a preset time period, and may display regular matching prompt information, where the regular matching prompt information is used to prompt a user how to obtain a regular expression, and the regular matching prompt information may include a commonly used regular expression. The obtaining of the regular expression for website matching may be a regular expression that is received from an address bar input by a user, or may be a regular matching prompt message that includes a plurality of regular matching prompt sub-messages, receiving an operation of selecting at least one regular matching prompt sub-message from the plurality of regular matching prompt sub-messages, and obtaining the regular expression for website matching based on the selected regular matching prompt sub-message.
In the embodiment, the website sub-information input in the address bar is received; if the preset operation aiming at the address bar is not received within the preset time length, displaying the regular matching prompt information; the regular expression for website matching is obtained, and the regular expression for website matching is displayed in the address bar, so that the regular matching prompt information is displayed by actively detecting the input behavior of a user, and the intelligent degree of inputting websites in the address bar of the browser to access webpages can be further improved.
As an optional implementation manner, the regular matching hint information includes a plurality of regular matching hint sub-information, and the obtaining the regular expression for website matching includes:
receiving an operation of selecting at least one regular matching prompt sub-message from the plurality of regular matching prompt sub-messages;
and acquiring the regular expression for website matching based on the selected regular matching prompt sub-information.
The regular matching prompt information is used to prompt a user how to obtain a regular expression, and the regular matching prompt information may include a commonly used regular expression. The regular matching hint sub-information may include regular expressions and interpretations of the regular expressions; alternatively, the regular matching hint sub-information may be a regular expression. The regular expression for website matching is obtained based on the selected regular matching prompt sub-information, and may be that the regular expression in the regular matching prompt sub-information is extracted, and the extracted regular expression is displayed in the address bar. The user can select at least one regular matching prompt sub-message from the regular matching prompt sub-messages, so that the browser can display the regular expression in the regular matching prompt sub-message selected by the user in the address bar.
In this embodiment, an operation of selecting at least one regular matching hint sub-message from the plurality of regular matching hint sub-messages is received; the regular expression for website matching is obtained based on the selected regular matching prompt sub-information, so that the regular expression is obtained by receiving the selection input of a user, convenience and rapidness are realized, and the intelligent degree of inputting the website in the address bar of the browser to access the webpage can be further improved.
Referring to fig. 2, fig. 2 is a second flowchart of a website address prompting method according to an embodiment of the present invention, where the method is applied to a server, and as shown in fig. 2, the method includes the following steps:
step 201, receiving target information sent by a browser, wherein the target information comprises a regular expression for website matching;
step 202, acquiring website prompt information matched with the target information based on the target information;
and 203, sending the website prompt information to the browser.
It should be noted that, this embodiment is used as an implementation of the server corresponding to the embodiment shown in fig. 1, and specific implementation thereof may refer to the relevant description of the embodiment shown in fig. 1, so that, in order to avoid repeated description, the embodiment is not described again, and the same beneficial effects may also be achieved.
As an optional implementation manner, the website prompt message includes a plurality of pieces of website information, and the sending the website prompt message to the browser includes:
sequencing the plurality of website information according to the accessed amount of each website information;
and sending the sequenced information of the plurality of websites to the browser.
The server may further record an access amount of each website information, and the access amount of each website information may be configured in advance on the server or may be acquired from other servers in real time. The website information with large user access amount can be ranked in front, and the website information with small user access amount can be ranked in the back.
In the embodiment, the plurality of website information are sorted according to the accessed amount of each website information; and sending the sequenced website information to the browser, so that the probability that the website information with larger user access amount is used as the target website to be accessed is higher, and the user can conveniently and quickly select the website information.
As a specific implementation manner, as shown in fig. 3, the website prompting method may specifically include the following steps:
In this case, when the user inputs a target website in the browser search box, a situation may occur in which a part of the target websites are forgotten, for example, the target website that the user wants to input is "www.cccdu.com", but the user only remembers "www.ccc? Com ", the web site portion indicated by the question mark is forgotten by the user. Under the condition that the browser has the function of prompting the user according to the historical search record, if the user does not search the target website before, the browser cannot prompt the user according to the historical search record. The user may enter a web address with a regular expression for web address matching, for example, the user may enter "www.ccc [ \ w + ]. com". To guide the user input, the browser may also be provided with a prompt function. The user may enter a particular character or string of characters in the search box, e.g., "? ", to tell the browser that a regular expression is to be entered. Upon detecting the particular character or string, the browser will list the commonly used regular expressions in the lower list of search boxes for guiding the user's input. For example, as shown in fig. 4, after the user inputs the memorized portion into the search box, if the user needs a prompt function, "? ", to tell the browser to give a prompt, the browser will list the regular expressions that are commonly used. When the user clicks on the listed regular expression, the browser will enter the regular expression clicked by the user into the search box.
It should be noted that the target website may include numbers, and it is difficult for the user to remember complicated numbers, and the numbers may be replaced by regular matching. For example, the target web address is "www.nums11223344.com," the user may enter the web address "www.nums [12345] +. com" with regular expressions to match, where the brackets [ ] indicate that the numbers may have several numbers of 1 or 2 or 3 or 4 or 5, the user remembers that there may be, although the target web address does not include number 5, the brackets [ ] indicate a relationship of "or," and "+" indicates that there are one or more numbers. The regular expression can be used for accurate matching, and the more information the user remembers, the higher the probability of matching the target website is.
Wherein the browser queries the server in the background. And after receiving the website with the regular expression, the server side performs regular matching in the background to obtain a plurality of websites matched with the website with the regular expression, obtains a regular matching result list, and sends the regular matching result list to the browser side.
The regular matching result list may be a ranked website list, and the server may rank the websites in the list according to the access amount of the websites.
And step 304, the browser displays the regular matching result list.
Wherein the browser may display the regular matching results list in a drop-down list of search boxes, as shown in fig. 5.
Compared with the prior art, the method has the advantages that an advanced function is added on the basis of the original search box function, and the method is particularly suitable for programmers or browser fans.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a website address prompting device according to an embodiment of the present invention, where the website address prompting device is applied to a browser, and as shown in fig. 6, the website address prompting device 400 includes:
a first receiving module 401, configured to receive target information input in an address bar, where the target information includes a regular expression used for website matching;
a sending module 402, configured to send the target information to a server;
a second receiving module 403, configured to receive website prompt information sent by the server, where the website prompt information is website information obtained based on the target information matching;
and a display module 404, configured to display the website prompt information.
Optionally, the target information further includes website address sub-information, as shown in fig. 7, the first receiving module 401 includes:
the receiving unit 4011 is configured to receive the website sub information and preset character information input in the address bar;
the display unit 4012 is configured to display regular matching prompt information corresponding to the preset character information;
the obtaining unit 4013 is configured to obtain the regular expression for website matching, and display the regular expression for website matching in the address bar.
Optionally, the target information further includes website sub information, and the first receiving module 401 is specifically configured to:
receiving the website sub-information input in an address bar;
if the preset operation aiming at the address bar is not received within the preset time length, displaying the regular matching prompt information;
and acquiring the regular expression for website matching, and displaying the regular expression for website matching in the address bar.
Optionally, the regular matching prompt information includes a plurality of regular matching prompt sub-information, and the obtaining unit 4013 is specifically configured to:
receiving an operation of selecting at least one regular matching prompt sub-message from the plurality of regular matching prompt sub-messages;
and acquiring the regular expression for website matching based on the selected regular matching prompt sub-information, and displaying the regular expression for website matching in the address bar.
The website prompting device can implement each process in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
Referring to fig. 8, fig. 8 is a third schematic structural diagram of a website address prompting device according to an embodiment of the present invention, as shown in fig. 8, the website address prompting device is applied to a server, and the website address prompting device 500 includes:
a receiving module 501, configured to receive target information sent by a browser, where the target information includes a regular expression used for website matching;
an obtaining module 502, configured to obtain, based on the target information, a website prompt message matched with the target information;
a sending module 503, configured to send the website prompt information to the browser.
Optionally, the website prompt information includes a plurality of pieces of website information, and the sending module 503 is specifically configured to:
sequencing the plurality of website information according to the accessed amount of each website information;
and sending the sequenced information of the plurality of websites to the browser.
The website prompting device can implement each process in the method embodiment of fig. 2, and is not described herein again to avoid repetition.
Referring to fig. 9, fig. 9 is a fourth schematic structural diagram of a website address prompting device according to an embodiment of the present invention, and as shown in fig. 9, the website address prompting device 600 includes: a memory 602, a processor 601, and a program stored on the memory 602 and executable on the processor 601, wherein:
in the case where the website address prompting device 600 is applied to a browser:
the processor 601 reads the program in the memory 602 for executing:
receiving target information input in an address bar, wherein the target information comprises a regular expression for website matching;
sending the target information to a server;
receiving website prompt information sent by the server, wherein the website prompt information is website information obtained based on the target information matching;
and displaying the website prompt information.
Optionally, the target information further includes website address sub-information, and the receiving, performed by the processor 601, the target information input in the address bar includes:
receiving the website sub information and preset character information input in an address bar;
displaying regular matching prompt information corresponding to the preset character information;
and acquiring the regular expression for website matching, and displaying the regular expression for website matching in the address bar.
Optionally, the target information further includes website address sub-information, and the receiving, performed by the processor 601, the target information input in the address bar includes:
receiving the website sub-information input in an address bar;
if the preset operation aiming at the address bar is not received within the preset time length, displaying the regular matching prompt information;
and acquiring the regular expression for website matching, and displaying the regular expression for website matching in the address bar.
Optionally, the regular matching hint information includes a plurality of regular matching hint sub-information, and the obtaining the regular expression for website matching executed by the processor 601 includes:
receiving an operation of selecting at least one regular matching prompt sub-message from the plurality of regular matching prompt sub-messages;
and acquiring the regular expression for website matching based on the selected regular matching prompt sub-information.
In the case where the website address prompting apparatus 600 is applied to a server:
the processor 601 reads the program in the memory 602 for executing:
receiving target information sent by a browser, wherein the target information comprises a regular expression for website matching;
acquiring website prompt information matched with the target information based on the target information;
and sending the website prompt information to the browser.
Optionally, the website prompt information includes a plurality of pieces of website information, and the sending of the website prompt information to the browser executed by the processor 601 includes:
sequencing the plurality of website information according to the accessed amount of each website information;
and sending the sequenced information of the plurality of websites to the browser.
In fig. 9, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 601 and various circuits of memory represented by memory 602 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface.
The processor 601 is responsible for managing the bus architecture and general processing, and the memory 602 may store data used by the processor 601 in performing operations.
It should be noted that any implementation manner in the method embodiments of the present invention may be implemented by the website prompting device in this embodiment, and achieve the same beneficial effects, and details are not described herein again.
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 being executed by a processor, the computer program implements each process of the above-mentioned website prompting method embodiment applied to a browser, or when being executed by a processor, the computer program implements each process of the above-mentioned website prompting method embodiment applied to a server, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described here again. 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 device (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 (13)
1. A website prompting method is applied to a browser and is characterized by comprising the following steps:
receiving target information input in an address bar, wherein the target information comprises a regular expression for website matching;
sending the target information to a server;
receiving website prompt information sent by the server, wherein the website prompt information is website information obtained based on the target information matching;
and displaying the website prompt information.
2. The method of claim 1, wherein the destination information further comprises web address sub-information, and wherein receiving the destination information entered in the address bar comprises:
receiving the website sub information and preset character information input in an address bar;
displaying regular matching prompt information corresponding to the preset character information;
and acquiring the regular expression for website matching, and displaying the regular expression for website matching in the address bar.
3. The method of claim 1, wherein the destination information further comprises web address sub-information, and wherein receiving the destination information entered in the address bar comprises:
receiving the website sub-information input in an address bar;
if the preset operation aiming at the address bar is not received within the preset time length, displaying the regular matching prompt information;
and acquiring the regular expression for website matching, and displaying the regular expression for website matching in the address bar.
4. The method according to any one of claims 2-3, wherein the regular matching hint information includes a plurality of regular matching hint sub-information, and the obtaining the regular expression for website matching includes:
receiving an operation of selecting at least one regular matching prompt sub-message from the plurality of regular matching prompt sub-messages;
and acquiring the regular expression for website matching based on the selected regular matching prompt sub-information.
5. A website prompting method is applied to a server and is characterized by comprising the following steps:
receiving target information sent by a browser, wherein the target information comprises a regular expression for website matching;
acquiring website prompt information matched with the target information based on the target information;
and sending the website prompt information to the browser.
6. The method of claim 5, wherein the website hint information comprises a plurality of website information, and wherein sending the website hint information to the browser comprises:
sequencing the plurality of website information according to the accessed amount of each website information;
and sending the sequenced information of the plurality of websites to the browser.
7. A website prompting device is applied to a browser and is characterized by comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving target information input in an address bar, and the target information comprises a regular expression for website matching;
the sending module is used for sending the target information to a server;
the second receiving module is used for receiving website prompt information sent by the server, wherein the website prompt information is obtained based on the target information matching;
and the display module is used for displaying the website prompt information.
8. The website address prompting device according to claim 7, wherein the target information further includes website address sub-information, and the first receiving module comprises:
the receiving unit is used for receiving the website sub information and the preset character information input in the address bar;
the display unit is used for displaying the regular matching prompt information corresponding to the preset character information;
and the acquisition unit is used for acquiring the regular expression for website matching and displaying the regular expression for website matching in the address bar.
9. The website prompting device according to claim 7, wherein the target information further includes website sub information, and the first receiving module is specifically configured to:
receiving the website sub-information input in an address bar;
if the preset operation aiming at the address bar is not received within the preset time length, displaying the regular matching prompt information;
and acquiring the regular expression for website matching, and displaying the regular expression for website matching in the address bar.
10. The website prompting device according to claim 8, wherein the regular matching prompt information includes a plurality of regular matching prompt sub-information, and the obtaining unit is specifically configured to:
receiving an operation of selecting at least one regular matching prompt sub-message from the plurality of regular matching prompt sub-messages;
and acquiring the regular expression for website matching based on the selected regular matching prompt sub-information, and displaying the regular expression for website matching in the address bar.
11. A website prompting device is applied to a server and is characterized by comprising:
the receiving module is used for receiving target information sent by a browser, and the target information comprises a regular expression for website matching;
the acquisition module is used for acquiring website prompt information matched with the target information based on the target information;
and the sending module is used for sending the website prompt information to the browser.
12. The website prompting device according to claim 11, wherein the website prompting message includes a plurality of website messages, and the sending module is specifically configured to:
sequencing the plurality of website information according to the accessed amount of each website information;
and sending the sequenced information of the plurality of websites to the browser.
13. A web site prompting device, comprising: a memory, a processor and a program stored on the memory and capable of running on the processor, wherein the program when executed by the processor implements the steps of the web address prompting method applied to the browser according to any one of claims 1 to 4; alternatively, the program realizes the steps in the website prompting method applied to the server according to any one of claims 5 to 6 when being executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911037691.1A CN110795647A (en) | 2019-10-29 | 2019-10-29 | Website prompting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911037691.1A CN110795647A (en) | 2019-10-29 | 2019-10-29 | Website prompting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110795647A true CN110795647A (en) | 2020-02-14 |
Family
ID=69441814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911037691.1A Pending CN110795647A (en) | 2019-10-29 | 2019-10-29 | Website prompting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110795647A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140595A (en) * | 2007-10-31 | 2008-03-12 | 北京搜狗科技发展有限公司 | Network resource address input method and input method system |
US7383299B1 (en) * | 2000-05-05 | 2008-06-03 | International Business Machines Corporation | System and method for providing service for searching web site addresses |
CN101763425A (en) * | 2010-01-12 | 2010-06-30 | 苏州阔地网络科技有限公司 | Universal method for capturing webpage contents of any webpage |
CN103793461A (en) * | 2013-12-02 | 2014-05-14 | 北京奇虎科技有限公司 | Webpage information analysis method and device |
CN105279212A (en) * | 2014-11-20 | 2016-01-27 | 黄建东 | Code-based website link method |
-
2019
- 2019-10-29 CN CN201911037691.1A patent/CN110795647A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7383299B1 (en) * | 2000-05-05 | 2008-06-03 | International Business Machines Corporation | System and method for providing service for searching web site addresses |
CN101140595A (en) * | 2007-10-31 | 2008-03-12 | 北京搜狗科技发展有限公司 | Network resource address input method and input method system |
CN101763425A (en) * | 2010-01-12 | 2010-06-30 | 苏州阔地网络科技有限公司 | Universal method for capturing webpage contents of any webpage |
CN103793461A (en) * | 2013-12-02 | 2014-05-14 | 北京奇虎科技有限公司 | Webpage information analysis method and device |
CN105279212A (en) * | 2014-11-20 | 2016-01-27 | 黄建东 | Code-based website link method |
Non-Patent Citations (1)
Title |
---|
社科学术圈整理: "超实用学术技巧!中国知网检索方式大盘点!", 《WWW.ECORR.ORG/NEWS/INDUSTY/2019-07-29/174738.HTML》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109190049B (en) | Keyword recommendation method, system, electronic device and computer readable medium | |
CN101427229B (en) | Technique for modifying presentation of information displayed to end users of a computer system | |
US8356051B2 (en) | Integrated saved search results | |
US8458207B2 (en) | Using anchor text to provide context | |
CN107590174B (en) | Page access method and device | |
US9639622B2 (en) | Image processing system, image processing method, program, and non-transitory information storage medium | |
US20140195893A1 (en) | Method and Apparatus for Generating Webpage Content | |
CN108399150B (en) | Text processing method and device, computer equipment and storage medium | |
US8768920B1 (en) | Posting questions from search queries | |
CN109408701B (en) | Method and device for displaying crawling path of web crawler | |
CN102073725A (en) | Method for searching structured data and search engine system for implementing same | |
CN110597962A (en) | Search result display method, device, medium and electronic equipment | |
US20130282361A1 (en) | Obtaining data from electronic documents | |
CN103034707A (en) | Website navigation method, device and browser client | |
CN107958078A (en) | Information generating method and device | |
WO2014029318A1 (en) | Method and apparatus for identifying webpage type | |
US20130155463A1 (en) | Method for selecting user desirable content from web pages | |
EP3961426A2 (en) | Method and apparatus for recommending document, electronic device and medium | |
US8819537B2 (en) | Information generation device, information generation method, information generation program, and recording medium | |
CN103049497A (en) | Method and device for website navigation | |
US20140053053A1 (en) | Methods and systems for real-time extraction of user-specified information | |
CN105183843A (en) | List page recognition system and method | |
US20100131541A1 (en) | Simultaneous searching using multiple search engines via client application | |
US9521182B1 (en) | Systems and methods related to identifying authorship of internet content | |
JP2001209655A (en) | Information providing device, information updating method, recording medium having information providing program recorded thereon and information providing system |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200214 |
|
WD01 | Invention patent application deemed withdrawn after publication |