[go: up one dir, main page]

CN109086304B - Electronic bookmark updating method, device and storage medium - Google Patents

Electronic bookmark updating method, device and storage medium Download PDF

Info

Publication number
CN109086304B
CN109086304B CN201810644825.5A CN201810644825A CN109086304B CN 109086304 B CN109086304 B CN 109086304B CN 201810644825 A CN201810644825 A CN 201810644825A CN 109086304 B CN109086304 B CN 109086304B
Authority
CN
China
Prior art keywords
url
electronic
electronic bookmark
bookmark
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810644825.5A
Other languages
Chinese (zh)
Other versions
CN109086304A (en
Inventor
樊林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Wuhan Co Ltd
Original Assignee
Tencent Technology Wuhan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Wuhan Co Ltd filed Critical Tencent Technology Wuhan Co Ltd
Priority to CN201810644825.5A priority Critical patent/CN109086304B/en
Publication of CN109086304A publication Critical patent/CN109086304A/en
Application granted granted Critical
Publication of CN109086304B publication Critical patent/CN109086304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of Internet, and discloses a method and a device for updating an electronic bookmark and a storage medium, which are used for improving the probability of displaying page content really needed by a user through the electronic bookmark, wherein the method comprises the following steps: determining that a browser opens an electronic bookmark, and displaying a plurality of pages related to a Uniform Resource Locator (URL) of the electronic bookmark; and when the electronic bookmark is determined to be the electronic bookmark which needs to update the URL once browsed, updating the URL of the electronic bookmark according to the browsing record of the browser after the plurality of pages exit the browser.

Description

Electronic bookmark updating method, device and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and apparatus for updating an electronic bookmark, and a storage medium.
Background
As one of achievements in the development process of the internet technology, electronic bookmarks are increasingly used in daily life of people, for example, in the process of browsing webpages, reading electronic books and the like by end users, favorite webpages, website links and the like can be collected as electronic bookmarks, so that in the future use process, webpages can be conveniently and conveniently accessed through the stored electronic bookmarks. However, how to promote the probability of displaying the page content actually required by the user through the electronic bookmark in the use process of the electronic bookmark is also a technical problem to be considered.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a storage medium for updating an electronic bookmark, which are used for improving the probability of displaying page content really needed by a user through the electronic bookmark.
In a first aspect, an update method of an electronic bookmark provided by an embodiment of the present invention includes:
determining that a browser opens an electronic bookmark, and displaying a plurality of pages related to a Uniform Resource Locator (URL) of the electronic bookmark;
and when the electronic bookmark is determined to be the electronic bookmark which needs to update the URL once browsed, updating the URL of the electronic bookmark according to the browsing record of the browser after the plurality of pages exit the browser.
According to the method for updating the electronic bookmarks, whether the electronic bookmarks opened by the browser are the electronic bookmarks with the URL needing to be updated every time of browsing is firstly determined, if yes, the URL of the electronic bookmarks needs to be updated every time of browsing, and after a plurality of pages related to the URL of the electronic bookmarks exit the browser, the URL of the electronic bookmarks is synchronously updated, so that a user can continue browsing the content next to the last time of browsing, and therefore the probability of displaying the page content really needed by the user through the electronic bookmarks is improved quickly and conveniently.
Optionally, the determining the electronic bookmark is an electronic bookmark that needs to update the URL once browsed, and specifically includes:
acquiring a preset electronic bookmark list of which the URL needs to be updated once browsed;
if the electronic bookmark list comprises the electronic bookmarks, determining that the electronic bookmarks are electronic bookmarks which need to be updated with the URL once each time the electronic bookmarks are browsed.
In the embodiment of the method, the electronic bookmarks which are suitable for being updated once in each browsing process can be listed in the form of the electronic bookmark list, and the URL pointed by the electronic bookmarks has strong relevance to a plurality of pages included in the website of the domain name, so that when the electronic bookmark list is judged to include the electronic bookmarks opened by the browser, the electronic bookmarks which are required to be updated once in each browsing process can be determined.
Optionally, the determining the electronic bookmark is an electronic bookmark that needs to update the URL once browsed, and specifically includes:
acquiring a storage position of the electronic bookmark;
if the storage position is determined to be the preset storage position, determining that the electronic bookmark is the electronic bookmark which needs to be updated with the URL once browsed, wherein the preset storage position has the characteristic of being convenient for a user to quickly open the electronic bookmark.
In the embodiment of the method, the inventor fully considers the electronic bookmarks with stronger correlation among a plurality of pages under the same domain name of the website pointed by the URL in the electronic bookmarks, and can store the electronic bookmarks in a storage position which is convenient for a user to open quickly and has the display purpose in the terminal equipment for conveniently and quickly searching the electronic bookmarks, so that whether the electronic bookmarks are the electronic bookmarks which need to update the URL once browsed or not can be judged through the storage position of the electronic bookmarks, and if the storage position of the electronic bookmarks opened by the browser is the preset storage position with the characteristic of being convenient for the user to open the electronic bookmarks quickly, the electronic bookmarks which need to update the URL once browsed can be determined.
Optionally, the updating the URL of the electronic bookmark according to the browsing record of the browser specifically includes:
determining the URL of the page which is browsed at least once and is the same as the domain name, the directory name and the file name of the URL of the electronic bookmark from the browsing record;
and updating the URL of the electronic bookmark according to the determined URL of the page.
In the embodiment of the invention, after the browsing record is obtained, the URL of the page which is browsed at least once and is at least the same as the domain name, the directory name and the file name of the URL of the electronic bookmark is determined from the browsing record, and the URL of the electronic bookmark is updated according to the URL of the page, so that the probability of displaying the page content really needed by the user through the electronic bookmark can be further improved.
Optionally, the updating the URL of the electronic bookmark according to the determined URL of the page specifically includes:
replacing the URL of the electronic bookmark with the URL of the determined page; or,
and taking the URL of the electronic bookmark as an original URL and taking the URL of the determined page as a latest browsing URL, so that the electronic bookmark corresponds to the original URL and the latest browsing URL at the same time.
In the embodiment of the invention, the electronic bookmarks can also correspond to two URLs simultaneously, namely the original URL and the newly added latest browsing URL, so that the storage modes of the electronic bookmarks are enriched, and the beneficial effects of user experience are improved.
Optionally, before determining that the electronic bookmark is an electronic bookmark that needs to update the URL once browsed, the method includes:
the function that needs to update the electronic bookmark URL once browsed is determined to be in an on state.
In a second aspect, an embodiment of the present invention provides an apparatus for updating an electronic bookmark, including:
the determining unit is used for determining that the browser opens the electronic bookmark, displaying a plurality of pages related to the uniform resource locator URL of the electronic bookmark, and determining that the electronic bookmark is the electronic bookmark which needs to update the URL once browsed;
And the updating unit is used for updating the URL of the electronic bookmark according to the browsing record of the browser after the plurality of pages exit the browser.
Optionally, the method is specifically used for:
acquiring a preset electronic bookmark list of which the URL needs to be updated once browsed;
if the electronic bookmark list comprises the electronic bookmarks, determining that the electronic bookmarks are electronic bookmarks which need to be updated with the URL once each time the electronic bookmarks are browsed.
Alternatively, the method specifically comprises the following steps:
acquiring a storage position of the electronic bookmark;
if the storage position is determined to be the preset storage position, determining that the electronic bookmark is the electronic bookmark which needs to be updated with the URL once browsed, wherein the preset storage position has the characteristic of being convenient for a user to quickly open the electronic bookmark.
Optionally, the updating unit is specifically configured to:
determining the URL of the page which is browsed at least once and is the same as the domain name, the directory name and the file name of the URL of the electronic bookmark from the browsing record;
and updating the URL of the electronic bookmark according to the determined URL of the page.
Optionally, the method is further used for:
replacing the URL of the electronic bookmark with the URL of the determined page; or,
And taking the URL of the electronic bookmark as an original URL and taking the URL of the determined page as a latest browsing URL, so that the electronic bookmark corresponds to the original URL and the latest browsing URL at the same time.
Optionally, the method is further used for:
the function that needs to update the electronic bookmark URL once browsed is determined to be in an on state.
In a third aspect, an embodiment of the present invention provides an electronic signature update apparatus, including at least one processor and at least one memory, where the memory stores a program, and when the program is executed by the processor, causes the processor to perform the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present invention provide a storage medium having stored thereon computer instructions which, when run on a computer, cause the computer to perform the steps of the method according to the first aspect.
In the method for updating the electronic bookmark provided by the embodiment of the invention, when the browser is determined to open the electronic bookmark and display a plurality of pages related to the URL of the electronic bookmark, and when the electronic bookmark is determined to be the electronic bookmark which needs to update the URL once in each browsing, the URL of the electronic bookmark is synchronously updated after the plurality of pages displayed by the browser exit the browser, so that the URL pointed by the electronic bookmark is the URL of the latest browsing page, further, the user can continue browsing the content next to the last browsing, and if not, the electronic bookmark is not synchronously updated, and then the page of the original URL pointed by the electronic bookmark can be browsed, therefore, the probability of displaying the page content really needed by the user through the electronic bookmark can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
FIG. 2 is a flowchart of a method for updating an electronic bookmark according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a saved electronic bookmark according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another saved electronic bookmark according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a browsing record saved by a browser according to an embodiment of the present invention;
FIG. 6 is a flowchart of a first way of determining an electronic bookmark to update a URL for each browsing time according to an embodiment of the present invention;
FIG. 7 is a flowchart of a second way of determining an electronic bookmark to update a URL for each browsing time according to an embodiment of the present invention;
fig. 8 is a schematic diagram of saving an electronic bookmark on a desktop of a terminal device according to an embodiment of the present invention;
FIG. 9 is a flowchart of an embodiment of the present invention for updating an electronic bookmark;
FIG. 10 is a diagram of URLs comparing different electronic bookmarks provided in an embodiment of the present application;
fig. 11 is a schematic diagram of an electronic signature update apparatus according to an embodiment of the present application;
fig. 12 is a schematic diagram of another electronic book label updating apparatus according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the technical solutions of the present application, but not all embodiments. All other embodiments, based on the embodiments described in the present document, which can be obtained by a person skilled in the art without any creative effort, are within the scope of protection of the technical solutions of the present application.
Some of the concepts involved in the embodiments of the present application are described below.
Electronic bookmarks: the URL (Uniform Resource Locators, uniform resource locator) is used for marking various pages in the Internet, an electronic bookmark function is provided in the browser, and a user can store the interesting content or the URL corresponding to the frequently accessed content into an electronic bookmark, so that the user can conveniently and quickly open the electronic bookmark next time.
And (3) a browser: which may also be referred to as a web browser, is an application that displays files within a web server or file system and allows a user to interact with the files. It is used to display text, images and other information within the world wide web or local area network, etc. These text or images, which may be hyperlinks to other web sites, allow the user to quickly and easily view a variety of information.
Terminal equipment: various forms of devices such as smartphones, smartwatches, tablet computers (PADs) or desktop computers are used by users.
In a specific practical process, the inventor of the present invention finds that the technical problem that the page content actually required by the user is difficult to display exists in the electronic bookmark updating scheme in the prior art, and for this purpose, the inventor of the present invention considers that different types of electronic bookmarks have different characteristics, URLs pointed by some types of electronic bookmarks have strong correlation with a plurality of pages included in a website of the same domain name, such electronic bookmarks as a novel electronic bookmark, a cartoon electronic bookmark, a learning electronic bookmark and the like, and generally, URLs pointed by such electronic bookmarks, a plurality of pages included in a website of the same domain name, the content of the next page is a continuation of the content of the immediately preceding page, for example, when the webpage pointed by the novel electronic bookmark is the first page content of the first chapter of the novel, the second page content of the same domain name and immediately following the first page content is a continuation set of the first page content, and has strong correlation. Then, for an electronic bookmark with strong correlation among multiple pages under the same domain name, the user generally wants to continue browsing next to the page content browsed last time.
While some types of electronic bookmarks refer to web addresses, the relevance among a plurality of pages under the same domain name is low or no relevance, such electronic bookmarks as blog electronic bookmarks, entertainment web address electronic bookmarks, query electronic bookmarks and the like, for such electronic bookmarks with low relevance or no relevance among a plurality of pages under the same domain name, when browsing next time, a user generally wants to browse a page which is still the page content corresponding to the original web address of the electronic bookmark, but not the page content which is browsed next time. Based on the above, the inventor of the present invention provides a method for updating an electronic bookmark, which needs to determine whether the electronic bookmark opened by a browser is an electronic bookmark which needs to be updated once for each browsing, if yes, the URL of the electronic bookmark is synchronously updated after a plurality of pages related to the URL of the electronic bookmark exit the browser, so that the URL pointed by the electronic bookmark is the URL of the latest browsed page, i.e. the website, and further, the user can continue browsing the content next to last browsing, if not, the electronic bookmark is not synchronously updated, and then the page of the original URL pointed by the electronic bookmark can be browsed, so that the probability of displaying the page content really needed by the user through the electronic bookmark can be improved.
The method for updating the electronic bookmarks in the embodiment of the present invention may be applied to an application scenario as shown in fig. 1, where the application scenario includes a terminal device 10 and a server 11, where the terminal device 10 is any intelligent electronic device capable of running according to a program and automatically processing a large amount of data at a high speed, such as a smart phone, a computer, etc., where the server 11 may be a server, or may be a server cluster or a cloud computing center formed by a plurality of servers, where the terminal device 10 communicates with the server 11 through a network, where the network may be any one of a communication network such as a local area network, a wide area network, or a mobile internet, and where the terminal device may browse a web page through a browser, where the browser may be a browser provided by the terminal device itself, or may be a browser provided by a downloaded third party.
When the terminal equipment browses the web page through the browser, the web page which is interested or can be frequently used can be saved as the electronic bookmark, then the electronic bookmark points to a specific URL, the specific URL is the website corresponding to the web page, and when the browser opens the saved electronic bookmark and browses a plurality of pages related to the URL of the electronic bookmark, the URL of the electronic bookmark can be updated through the electronic bookmark updating method provided by the invention.
It should be noted that the above-mentioned application scenario is only shown for the convenience of understanding the spirit and principle of the present invention, and the embodiment of the present invention is not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
The method for updating the electronic bookmarks provided by the embodiment of the present invention is described below with reference to the application scenario shown in fig. 1.
As shown in fig. 2, the method for updating an electronic bookmark provided by the embodiment of the invention includes:
step 101: and determining that the browser opens the electronic bookmark, and displaying a plurality of pages related to the uniform resource locator URL of the electronic bookmark.
In the embodiment of the present invention, the electronic bookmarks in step 101 may be novel electronic bookmarks, cartoon electronic bookmarks, blog electronic bookmarks, entertainment website electronic bookmarks, etc., and in the embodiment of the present invention, the specific implementation process of the method for updating electronic bookmarks in the embodiment of the present invention is described specifically by taking the electronic bookmarks as messenger cartoon electronic bookmarks as an example.
In the embodiment of the invention, when the terminal equipment browses the vacation animation website through the browser, any browsed page can be saved as an electronic bookmark, for example, as shown in fig. 3, and the home page of the browsed vacation animation can be saved as an electronic bookmark, so that the URL of the electronic bookmark, namely the URL pointed by the electronic bookmark, is http:// ac.qq.com, and the protocol 'http://' is hidden in fig. 3. The bookmark names of the electronic bookmarks may be as shown in fig. 3: when the cartoon-Tencent official website browses next time, the terminal equipment can play the electronic bookmark through the browser, and the browser can display a page corresponding to the URL of the electronic bookmark, namely, a page corresponding to http:// ac.qq.com.
Of course, in practical application, when browsing the messenger animation website, a specific cartoon page in the website may be browsed, at this time, the cartoon page may be saved as an electronic bookmark, as shown in fig. 4, when the terminal device browses, through the browser, the specific animation of the navigation king in the messenger animation website, and browses the page of chapter 906 of the navigation king, the page is saved as an electronic bookmark, and then the URL of the electronic bookmark is: http:// ac.qq.com/ComicView/index/id/505430/cid/906, the bookmark name of the electronic bookmark may be as shown in fig. 4: cartoon-Tencement official website-navigation king.
Here, as shown in fig. 4, the bookmark name of the saved electronic bookmark is "cartoon-Tencerting official website-navigation king", and the URL is: for example, if the terminal device opens the electronic bookmark through the browser and browses to a page corresponding to the URL of the electronic bookmark, namely, a page corresponding to chapter 906 of the cartoon navigation king, a previous chapter or a next chapter button or a button of a specific chapter is usually set in the page, for example, a chapter 907 selection button, a chapter 908 selection button and a chapter next selection button (not shown in the figure) which are next to the chapter 906 can be displayed in the page shown in fig. 4, so that the options on the page can be operated to browse the domain name of the page: ac.qq.com the same plurality of pages, such as page showing chapter 907 of the browsed cartoon king, page of chapter 908 of the browsed cartoon king, etc.
Step 102: and determining the electronic bookmark as the electronic bookmark which needs to update the URL once browsed.
In the embodiment of the present invention, step 102 may be performed at any time during the process from when the browser opens the electronic bookmark "cartoon-Tech official website-King navigation" to when the browser displays a plurality of pages related to the URL of the electronic bookmark "cartoon-Tech official website-King navigation", or may be performed after the plurality of pages described below exit the browser, where step 102 is performed when the stored electronic bookmark "cartoon-Tech official website-King navigation" is opened.
In the embodiment of the present invention, when the saved electronic bookmark of "cartoon-Tech official website-navigation king" is opened, before executing step 102, it may be determined that the function of updating the URL of the electronic bookmark is in an open state once each browsing in the browser, that is, in a specific practical process, a function option of updating the URL of the electronic bookmark once each browsing may be set in the browser, and the function selection may be set by receiving a user operation and based on the user operation, for example, when the user selects the function option, the function of updating the URL of the electronic bookmark once each browsing of the browser is opened.
It should be noted that, the step of determining that the function of updating the URL of the electronic bookmark is required to be turned on for each browsing in the browser performed before the step 102 is an optional step, and is not a step that is necessarily performed.
Step 103: after a plurality of pages exit the browser, updating the URL of the electronic bookmark according to the browsing record of the browser.
In the embodiment of the invention, after the terminal equipment determines that the electronic bookmark of the cartoon-Tencent official website-navigation king is the electronic bookmark which needs to update the URL once in each browsing, and the URL of the electronic bookmark and a plurality of pages included by the domain name website exit the browser, the terminal equipment can acquire the browsing record of the browser and update the URL of the electronic bookmark according to the acquired browsing record, wherein the browser can be closed by the plurality of pages, so as to end the threads or processes corresponding to the plurality of pages, or the browser can be closed by the plurality of pages which are opened in the browser, so as to end the threads or processes corresponding to the plurality of pages.
In practical application, the browser in the terminal device has the function of storing the recent browsing record of the browser, such as one or more days, the browsing record can be stored in a local storage area of the terminal device, and also can be stored in a background server or a cloud center of the browser, when the browsing record is stored in the local storage area of the terminal device, the terminal device can directly obtain the browsing record of the browser from the local storage area, and when the browsing record is stored in the background server or the cloud center of the browser, the terminal device can send a request for obtaining the recent browsing record of the browser to the background server or the cloud center of the browser, and obtain the recent browsing record of the browser based on feedback of the background server or the cloud center of the browser.
In addition to storing recently browsed websites and time information of each recently browsed website, the browsing record may also store other content related to browsing, such as page image identification of each browsed website, browsing duration of each website, and so on. As shown in fig. 5, an example of a browsing record saved by a browser, which is provided in an embodiment of the present invention, is that in this example, the browsing record is saved for the same day as the terminal device, that is, "today. 2018, 5 month, 17 day, thursday" shown in fig. 5, a record of all pages browsed by the browser, and browsing time information of each page browsed.
According to the browsing record shown in fig. 5, the terminal device may determine the URL of the page that is the same as the domain name of the "cartoon-Tencertic website-navigation king" electronic bookmark and browsed at the latest, that is, the page browsed at 5:40 pm, where the URL of the page is: http:// ac.qq.com/comic view/index/id/505430/cid/908, the URL of the page is used to update the URL of the "cartoon-Tengmao official website-King of navigation" electronic bookmark.
Therefore, in the method for updating the electronic bookmark provided by the embodiment of the invention, when the browser is determined to open the electronic bookmark and display a plurality of pages related to the URL of the electronic bookmark, and when the electronic bookmark is determined to be the electronic bookmark which needs to be updated once for each browsing, the URL of the electronic bookmark is synchronously updated after the plurality of pages related to the URL of the electronic bookmark exit the browser, so that the URL pointed by the electronic bookmark is the URL of the latest browsed page, and further, the user can continue browsing the content next to the last browsing, if not, the electronic bookmark is not synchronously updated, and then the page of the original URL pointed by the electronic bookmark can be browsed, and therefore, the probability of displaying the page content really needed by the user through the electronic bookmark can be improved.
In the embodiment of the present invention, step 102 is described above: determining the electronic bookmark as the electronic bookmark which needs to update the URL once browsed at least can be realized in the following two ways:
as shown in fig. 6, the first method mainly includes the following steps:
step 201: acquiring a preset electronic bookmark list of which the URL needs to be updated once browsed;
step 202: judging whether the electronic bookmark list comprises an electronic bookmark, if so, executing a step 203, otherwise, executing a step 204;
step 203: determining the electronic bookmark as the electronic bookmark which needs to update the URL once browsed;
step 204: it is determined that the electronic bookmark is not an electronic bookmark that requires updating the URL once per browse.
In the embodiment of the present invention, an electronic bookmark list may be set in advance, in which information of an electronic bookmark suitable for updating a URL once per browsing is recorded, for example, a URL suitable for updating an electronic bookmark of a URL once per browsing is recorded in the electronic bookmark list, or a domain name of a URL suitable for updating an electronic bookmark of a URL once per browsing is recorded only in the electronic bookmark list, or a domain name, a directory name, a file name, and the like of a URL suitable for updating an electronic bookmark of a URL once per browsing are recorded in the electronic bookmark list.
The URL of the electronic bookmark recorded in the electronic bookmark list has strong correlation with a plurality of pages included in the website of the domain name, and in a specific practical process, the electronic bookmark list can be stored in a local storage unit of the terminal equipment or a background server of the browser.
For example, when the electronic bookmark list is stored in a storage unit local to the terminal device, the terminal opens the stored electronic bookmark of 'cartoon-Tech official website-navigation king' through the browser, and then the electronic bookmark list stored in the local storage unit can be directly read; when the electronic bookmark list is stored in the browser background server, the terminal opens the stored cartoon-Tencement official website-navigation king electronic bookmark through the browser, a request for acquiring the electronic bookmark list can be sent to the browser background server, and the preset electronic bookmark list is acquired through feedback of the browser background server.
After the terminal device obtains the electronic bookmark list, by comparing the information of the electronic bookmarks listed in the electronic bookmark list with the information of the electronic bookmarks of the "cartoon-Tech official website-voyage king", whether the electronic bookmarks of the "cartoon-Tech official website-voyage king" are included in the electronic bookmark category is judged, for example, when the URL suitable for updating the URL once browsed is recorded in the electronic bookmark list, as long as the URL recorded in the electronic bookmark list includes the URL of the electronic bookmarks of the "cartoon-Tech official website-voyage king", the electronic bookmarks of the "cartoon-Tech official website-voyage king" are electronic bookmarks which need to be updated once browsed, otherwise, the electronic bookmarks of the "cartoon-Tech official website-voyage king" which need to be updated are judged not once browsed.
For example, when a domain name of an electronic bookmark URL suitable for updating the URL once per browsing is recorded in the electronic bookmark list, as long as the domain name recorded in the electronic bookmark list includes the domain name of the URL of the "cartoon-Tech official website-navigation king" electronic bookmark, it may be determined that the "cartoon-Tech official website-navigation king" electronic bookmark is an electronic bookmark that needs to update the URL once per browsing, or else it may be determined that the "cartoon-Tech official website-navigation king" electronic bookmark is not an electronic bookmark that needs to update the URL once per browsing.
In the embodiment of the invention, the URL of the electronic bookmark suitable for updating the URL once is recorded in the electronic bookmark list, and the URL of the electronic bookmark including the cartoon-Tech official website-navigation king electronic bookmark is taken as an example in the electronic bookmark list, so that the terminal equipment can determine that the cartoon-Tech official website-navigation king electronic bookmark is the electronic bookmark needing to update the URL once.
As shown in fig. 7, the second mode mainly includes the following steps:
step 301: acquiring a storage position of an electronic bookmark;
step 302: judging whether the storage position is a preset storage position, if so, executing a step 303, otherwise, executing a step 304;
Step 303: determining the electronic bookmark as the electronic bookmark which needs to update the URL once browsed;
step 304: it is determined that the electronic bookmark is not an electronic bookmark that requires updating the URL once per browse.
The preset storage position has the characteristic of being convenient for a user to quickly open the electronic bookmark.
In the embodiment of the invention, the inventor fully considers the electronic bookmarks with stronger relativity among a plurality of pages under the same domain name of the website pointed by the URL in the electronic bookmarks, can store the electronic bookmarks in a display destination storage position in the terminal equipment for conveniently and quickly searching the electronic bookmarks, and can display and store the electronic bookmarks in the storage position such as a desktop and a control interface in the terminal equipment, for example, as shown in fig. 8, the electronic bookmarks of 'cartoon-Tech official website-navigation king' are directly stored in the desktop of the terminal equipment, so that the stored electronic bookmarks can be conveniently and quickly found and opened through the desktop of the terminal equipment, and in practical application, the electronic bookmarks of 'cartoon-Tech official website-navigation king' can also be stored in the control interface of the terminal equipment.
In the embodiment of the invention, specifically taking the example of storing the electronic bookmark of "cartoon-Tech official website-voyage king" in the desktop of the terminal device as shown in fig. 8, when the terminal opens the stored electronic bookmark of "cartoon-Tech official website-voyage king" through the browser, the storage position of the electronic bookmark of "cartoon-Tech official website-voyage king", namely the storage position is the desktop of the terminal device, can be obtained.
In the embodiment of the invention, the preset storage position with the characteristic of being convenient for a user to quickly open the electronic bookmark is assumed to be the desktop of the terminal equipment, so that whether the storage position is the preset storage position or not can be judged in the storage position of the acquired electronic bookmark of the cartoon-Tech official website-navigation king, namely the storage position is the desktop of the terminal equipment, and the acquired storage position of the electronic bookmark of the cartoon-Tech official website-navigation king is the same as the preset storage position, so that the terminal equipment can determine that the electronic bookmark of the URL needs to be updated once for each browsing.
Of course, in practical application, the preset storage location may also include a plurality of storage locations, for example, a desktop including a terminal device, and a control interface of the terminal device, and when the preset storage location includes a plurality of storage locations, the electronic bookmark of "cartoon-Tengmao official website-navigation king" can be determined as an electronic bookmark of which URL needs to be updated once each browsing.
In the embodiment of the present invention, in step 103, the terminal device updates the URL of the electronic bookmark according to the acquired browsing record of the browser, which may be specifically executed by a process shown in fig. 9, where the process shown in fig. 9 includes:
step 401: determining the URL of the page which is browsed for the latest time and is at least the same as the domain name, the directory name and the file name of the URL of the electronic bookmark from the browsed record;
step 402: replacing the URL of the electronic bookmark with the URL of the determined page;
step 403: and taking the URL of the electronic bookmark as an original URL and taking the URL of the determined page as the latest browsing URL, so that the electronic bookmark corresponds to the original URL and the latest browsing URL at the same time.
In the embodiment of the invention, the electronic bookmark of the cartoon-Tencerting official website-navigation king is as follows: in the electronic bookmark, "http:///" shows a protocol, "ac.qq.com" shows the domain name of the URL of the electronic bookmark, "ComicView/index/id" shows the directory name of the URL of the electronic bookmark, namely, the cartoon directory included in the vacation cartoon, "505430/cid" shows the file name of the URL of the electronic bookmark, namely, the navigation king, and "906" shows the 906 th chapter in the navigation king.
In the embodiment of the present invention, in order to further improve the probability of displaying the page content actually required by the user through the electronic bookmark, after obtaining the browsing record shown in fig. 5, determining the domain name, directory name and URL of the page having the same file name as at least the URL of the electronic bookmark "cartoon-Tengmao" which is browsed at the latest time from the browsing record, because the inventor of the present invention found through practice that the terminal device browses the URL of the electronic bookmark "cartoon-Tengmao website-Teghai" through the browser, there is a possibility that the same generic cartoon exists in a plurality of pages included in the web address of the domain name, but not the page of the Teghai, for example, in the process of browsing the cartoon-Teghai official website-Teghai Wang Yemian according to the electronic bookmark "cartoon-Teghai" which is browsed at the latest time, the terminal device returns to the cartoon-Tegho official website through the return function key on the page, and browses the cartoon in the web address, so that the cartoon-Tegho website exists in the browsing record.
Referring to fig. 10, the URL of navigation Wang Yemian and the URL of the fire shadow cryptoer page are listed in fig. 10, and comparing the URL of navigation Wang Yemian and the URL of the fire shadow cryptoer page listed in fig. 10, it is known that the URL of navigation Wang Yemian and the URL of the fire shadow cryptoer page have the same domain name, "ac.qq.com," the directory names are the same, "ComicView/index/id," and the file names are different, the file name of the URL of navigation Wang Yemian is "505430/cid," and the file name of the URL of the fire shadow cryptoer page is "505432/cid," so that in the embodiment of the present invention, the determined URL of the last browsed page needs to be the same as the domain name, directory name, and file name of the URL of the electronic bookmark, so as to further improve the probability of displaying the page content really required by the user quickly and conveniently.
As can be seen from the browsing record of the browser shown in fig. 5, the page that was browsed at the latest time and that is identical to the domain name, directory name, and file name of the URL of the electronic bookmark "cartoon-Tencertic website-navigation king" is a page browsed at 5:40 pm, and the URL of the page is: after determining the last browsed URL of the page that is the same as the URL of the electronic bookmark "cartoon-Tencer website-King", the name of the directory, and the name of the file, the terminal device may optionally execute step 402: replacing the URL of the electronic bookmark with the URL of the determined page, i.e. using the URL of the determined page: http:// ac.qq.com/comic view/index/id/505430/cid/908, replacing the URL of the "cartoon-Tengmao official website-navigation king" electronic bookmark: http:// ac.qq.com/ComicView/index/id/505430/cid/906, thereby completing the update of the electronic bookmark of the cartoon-Tencer website-King navigation, and after the update, the URL of the electronic bookmark of the cartoon-Tencer website-King navigation is: http:// ac.qq.com/ComicView/index/id/505430/cid/908.
In the embodiment of the present invention, after determining the URL of the page that is the same as the domain name, directory name, and file name of the URL of the electronic bookmark "cartoon-Tencer website-voyage king", the terminal device may also select to execute step 4203, i.e., the URL of the electronic bookmark "cartoon-Tencer website-voyage king": http:// ac.qq.com/comic view/index/id/505430/cid/906 as the original URL of the "cartoon-Tengmajordomo website-navigation king" electronic bookmark, the URL of the page determined in step 401: http:// ac.qq.com/comic view/index/id/505430/cid/908 as the newly added latest browsing URL of the electronic bookmark of "cartoon-Tencer website-navigation king", so that the electronic bookmark of "cartoon-Tencer website-navigation king" corresponds to two URLs simultaneously, namely the original URL: http:// ac.qq.com/ComicView/index/id/505430/cid/906, and newly added latest browse URL: http:// ac.qq.com/ComicView/index/id/505430/cid/908.
In the embodiment of the present invention, if the electronic bookmark list preset in step 201 is recorded, and the recorded information of the electronic bookmark suitable for updating the URL once in each browsing is specifically the URL of the electronic bookmark, before executing step 402 or step 403, it may also be determined whether the URL of the page determined in step 401 is also recorded in the electronic bookmark list, that is, whether the URL of the page determined in step 401 is also included in the electronic bookmark list is determined, if yes, step 402 or step 403 is executed again.
Therefore, in the method for updating the electronic bookmark provided by the embodiment of the invention, after the browsing record is obtained, the URL of the page which is browsed at least once and is at least the same as the domain name, the directory name and the file name of the URL of the electronic bookmark is determined from the browsing record, and the URL of the electronic bookmark is updated according to the URL of the page, so that the probability of displaying the page content really needed by the user through the electronic bookmark can be further improved.
Meanwhile, in the embodiment of the invention, after the URL of the page which is browsed at least once and is at least the same as the domain name, the directory name and the file name of the URL of the electronic bookmark is determined, the electronic bookmark can also correspond to two URLs simultaneously, namely the original URL and the newly added latest browsed URL, so that the storage mode of the electronic bookmark is enriched, and the beneficial effect of user experience is improved.
In practical application, the electronic bookmark updating method in the embodiment of the invention can be applied to application scenes related to saving the electronic bookmarks, such as browsing the saved novel electronic bookmarks through a browser, browsing the saved cartoon electronic bookmarks through the browser, and the like, so that the probability of displaying the real needed content of the user is improved through the electronic bookmark updating method in the embodiment of the invention.
In practical application, programming languages such as C language, C++ language, java language and the like can be used, and based on the electronic bookmark updating method provided by the embodiment of the invention, a program or APP special for updating the electronic bookmarks stored in various browsers in terminal equipment is developed, and then when the electronic bookmarks need to be updated, the program or APP is called to finish updating the electronic bookmarks.
Based on the same inventive concept, the embodiment of the present invention provides a device for updating an electronic bookmark, and the specific implementation of the method for updating an electronic bookmark of the device may refer to the description of the embodiment of the method, and the repetition is not repeated, as shown in fig. 11, where the device includes:
the determining unit 20 is configured to determine that the browser opens an electronic bookmark, displays a plurality of pages related to URL of the electronic bookmark, and determines that the electronic bookmark is an electronic bookmark that needs to update URL once browsed;
And the updating unit 21 is used for updating the URL of the electronic bookmark according to the browsing record of the browser after the plurality of pages exit the browser.
Optionally, the method is specifically used for:
acquiring a preset electronic bookmark list of which the URL needs to be updated once browsed;
if the electronic bookmark list comprises the electronic bookmarks, determining that the electronic bookmarks are electronic bookmarks which need to be updated with the URL once each time the electronic bookmarks are browsed.
Alternatively, the method specifically comprises the following steps:
acquiring a storage position of the electronic bookmark;
if the storage position is determined to be the preset storage position, determining that the electronic bookmark is the electronic bookmark which needs to be updated with the URL once browsed, wherein the preset storage position has the characteristic of being convenient for a user to quickly open the electronic bookmark.
Optionally, the updating unit is specifically configured to:
determining the URL of the page which is browsed at least once and is the same as the domain name, the directory name and the file name of the URL of the electronic bookmark from the browsing record;
and updating the URL of the electronic bookmark according to the determined URL of the page.
Optionally, the method is further used for:
replacing the URL of the electronic bookmark with the URL of the determined page; or,
And taking the URL of the electronic bookmark as an original URL and taking the URL of the determined page as a latest browsing URL, so that the electronic bookmark corresponds to the original URL and the latest browsing URL at the same time.
Optionally, the method is further used for:
the function that needs to update the electronic bookmark URL once browsed is determined to be in an on state.
Based on the same inventive concept, an embodiment of the present invention provides an electronic bookmark updating apparatus, as shown in fig. 12, including at least one processor 30 and at least one memory 31, wherein the memory 31 stores a program, and when the program is executed by the processor 30, the program causes the processor 30 to execute the steps of the electronic bookmark updating method as provided in the embodiment of the present invention.
Based on the same inventive concept, the embodiments of the present invention provide a storage medium storing computer instructions that, when run on a computer, cause the computer to perform the steps of the method for updating an electronic bookmark as provided in the embodiments of the present invention.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. The method for updating the electronic bookmark is characterized by comprising the following steps of:
determining that a browser opens an electronic bookmark, and displaying a plurality of pages related to a Uniform Resource Locator (URL) of the electronic bookmark;
acquiring a storage position of the electronic bookmark;
if the storage position is determined to be a preset storage position, determining that the electronic bookmark is the electronic bookmark which needs to be updated with the URL once browsed, wherein the preset storage position has the characteristic of being convenient for a user to quickly open the electronic bookmark;
After the plurality of pages exit the browser, obtaining a browsing record of the browser;
determining the URL of the page which is browsed at least once and is the same as the domain name, the directory name and the file name of the URL of the electronic bookmark from the browsing record;
and updating the URL of the electronic bookmark according to the determined URL of the page.
2. The method of claim 1, wherein the determining the electronic bookmark is an electronic bookmark that requires updating a URL for each browsing time, specifically comprising:
acquiring a preset electronic bookmark list of which the URL needs to be updated once browsed;
if the electronic bookmark list comprises the electronic bookmarks, determining that the electronic bookmarks are electronic bookmarks which need to be updated with the URL once each time the electronic bookmarks are browsed.
3. The method of claim 1, wherein the updating the URL of the electronic bookmark according to the determined URL of the page is specifically:
replacing the URL of the electronic bookmark with the URL of the determined page; or,
and taking the URL of the electronic bookmark as an original URL and taking the URL of the determined page as a latest browsing URL, so that the electronic bookmark corresponds to the original URL and the latest browsing URL at the same time.
4. The method of claim 1, wherein before determining that the electronic bookmark is an electronic bookmark that requires updating a URL once per browse, the method comprises:
the function that needs to update the electronic bookmark URL once browsed is determined to be in an on state.
5. An apparatus for electronic bookmark updating, comprising:
the determining unit is used for determining that the browser opens the electronic bookmark, displaying a plurality of pages related to the uniform resource locator URL of the electronic bookmark and acquiring the storage position of the electronic bookmark; if the storage position is determined to be a preset storage position, determining that the electronic bookmark is the electronic bookmark which needs to be updated with the URL once browsed, wherein the preset storage position has the characteristic of being convenient for a user to quickly open the electronic bookmark;
the updating unit is used for obtaining a browsing record of the browser after the plurality of pages exit the browser, and determining the URL of the page which is browsed at least once and is at least the same as the domain name, the directory name and the file name of the URL of the electronic bookmark from the browsing record; and updating the URL of the electronic bookmark according to the determined URL of the page.
6. The apparatus according to claim 5, wherein the determining unit is specifically configured to:
acquiring a preset electronic bookmark list of which the URL needs to be updated once browsed;
if the electronic bookmark list comprises the electronic bookmarks, determining that the electronic bookmarks are electronic bookmarks which need to be updated with the URL once each time the electronic bookmarks are browsed.
7. The apparatus of claim 6, wherein the updating unit is further to:
replacing the URL of the electronic bookmark with the URL of the determined page; or,
and taking the URL of the electronic bookmark as an original URL and taking the URL of the determined page as a latest browsing URL, so that the electronic bookmark corresponds to the original URL and the latest browsing URL at the same time.
8. The apparatus of claim 6, wherein the determining unit is further for:
the function that needs to update the electronic bookmark URL once browsed is determined to be in an on state.
9. An electronic book label updating device comprising at least one processor and at least one memory, wherein the memory stores a program that, when executed by the processor, causes the processor to perform the steps of the method of any one of claims 1-4.
10. A storage medium storing computer instructions which, when run on a computer, cause the computer to perform the steps of the method of any one of claims 1-4.
CN201810644825.5A 2018-06-21 2018-06-21 Electronic bookmark updating method, device and storage medium Active CN109086304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810644825.5A CN109086304B (en) 2018-06-21 2018-06-21 Electronic bookmark updating method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810644825.5A CN109086304B (en) 2018-06-21 2018-06-21 Electronic bookmark updating method, device and storage medium

Publications (2)

Publication Number Publication Date
CN109086304A CN109086304A (en) 2018-12-25
CN109086304B true CN109086304B (en) 2023-10-27

Family

ID=64840110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810644825.5A Active CN109086304B (en) 2018-06-21 2018-06-21 Electronic bookmark updating method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109086304B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309447B (en) * 2019-05-06 2020-04-21 掌阅科技股份有限公司 Electronic bookmark generation method, electronic equipment and computer storage medium
CN111914521A (en) * 2020-06-20 2020-11-10 北京海金格医药科技股份有限公司 Document bookmark creating method and device, electronic equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6041360A (en) * 1997-11-21 2000-03-21 International Business Machines Corporation Web browser support for dynamic update of bookmarks
JP2003141000A (en) * 2001-10-30 2003-05-16 Sony Communication Network Corp Method and device for contents display
CN102033887A (en) * 2009-09-29 2011-04-27 华为技术有限公司 Method for realizing electronic bookmark, user terminal and bookmark server
CN102087663A (en) * 2011-01-26 2011-06-08 优视科技有限公司 Mobile communication terminal, browser thereof, and method for processing network documents
CN102831144A (en) * 2012-06-12 2012-12-19 优视科技有限公司 Mobile terminal-based bookmark interactive processing method, device and system
CN104243429A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for achieving browser bookmark synchronization
CN105426403A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Bookmark synchronization method and apparatus
CN106777306A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 The update method and mobile terminal of a kind of Web page bookmark
CN106777294A (en) * 2016-12-29 2017-05-31 维沃移动通信有限公司 The update method and mobile terminal of a kind of browser bookmark

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981210B2 (en) * 2001-02-16 2005-12-27 International Business Machines Corporation Self-maintaining web browser bookmarks
US20030144984A1 (en) * 2002-01-30 2003-07-31 International Business Machines Corporation Automatic bookmark update method and apparatus
US8171109B2 (en) * 2007-05-30 2012-05-01 Red Hat, Inc. Mobile bookmarks

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6041360A (en) * 1997-11-21 2000-03-21 International Business Machines Corporation Web browser support for dynamic update of bookmarks
JP2003141000A (en) * 2001-10-30 2003-05-16 Sony Communication Network Corp Method and device for contents display
CN102033887A (en) * 2009-09-29 2011-04-27 华为技术有限公司 Method for realizing electronic bookmark, user terminal and bookmark server
CN102087663A (en) * 2011-01-26 2011-06-08 优视科技有限公司 Mobile communication terminal, browser thereof, and method for processing network documents
CN102831144A (en) * 2012-06-12 2012-12-19 优视科技有限公司 Mobile terminal-based bookmark interactive processing method, device and system
CN104243429A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Method, device and system for achieving browser bookmark synchronization
CN105426403A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Bookmark synchronization method and apparatus
CN106777294A (en) * 2016-12-29 2017-05-31 维沃移动通信有限公司 The update method and mobile terminal of a kind of browser bookmark
CN106777306A (en) * 2016-12-30 2017-05-31 维沃移动通信有限公司 The update method and mobile terminal of a kind of Web page bookmark

Also Published As

Publication number Publication date
CN109086304A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US10592515B2 (en) Surfacing applications based on browsing activity
US9916390B2 (en) Managing web browser cache for offline browsing
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
CN106598972B (en) Information display method and device and intelligent terminal
US20140026037A1 (en) Creating personalized networked documents
US20120060083A1 (en) Method for Use in Association With A Multi-Tab Interpretation and Rendering Function
WO2014032579A1 (en) A method and apparatus for displaying information
CN107291759B (en) Method and device for processing browser page resources
CN104423991A (en) Webpage loading and webpage data providing method and device of mobile terminal
CN109086304B (en) Electronic bookmark updating method, device and storage medium
CN107391534B (en) Page display method, page file return method, page display device, page file return device and computer storage medium
CN110020297A (en) A kind of loading method of web page contents, apparatus and system
CN105183763A (en) Background realization method and apparatus for search result page
CN108062352B (en) Webpage page caching processing method, mobile terminal equipment and medium product
CN111444448B (en) Data processing method, server and system
CN103390043A (en) Method for displaying network data and device for displaying network data
CN109074380B (en) Separation of work and personal content
CN105260463A (en) Detail page processing method and apparatus
US11886853B2 (en) Software widget installation on a client device
CN101257498A (en) Method, system, server and client for providing and playing multimedia files online
CN117591211A (en) Application page configuration method and device, electronic equipment and storage medium
CN120162044A (en) Page display method, electronic device, storage medium and program product
CN111258465A (en) Method and device for displaying browsing information
HK1235506B (en) Information display method and device as well as intelligent terminal

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