CN111651298A - Webpage information backup method, device, equipment and medium - Google Patents

Webpage information backup method, device, equipment and medium Download PDF

Info

Publication number
CN111651298A
CN111651298A CN202010442368.9A CN202010442368A CN111651298A CN 111651298 A CN111651298 A CN 111651298A CN 202010442368 A CN202010442368 A CN 202010442368A CN 111651298 A CN111651298 A CN 111651298A
Authority
CN
China
Prior art keywords
folder
target
website
index
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010442368.9A
Other languages
Chinese (zh)
Inventor
董亢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Taikang Pension Insurance 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 Taikang Insurance Group Co Ltd, Taikang Pension Insurance Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN202010442368.9A priority Critical patent/CN111651298A/en
Publication of CN111651298A publication Critical patent/CN111651298A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Abstract

The invention discloses a method, a device, equipment and a medium for backing up webpage information, wherein in the method, if a file creating operation is detected, a first memorandum window is displayed in a current webpage; adding the received newly added content to a first memo window for displaying; if the creation completion operation is received, acquiring the current time and the website of the current webpage, creating a folder with the names of the current time and the website of the current webpage and the contents of the content displayed in the first memo window; and saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs. In the embodiment of the invention, the automatically acquired website of the current webpage and the current time can be used as the name of the folder, so that the URL of the website and the name of the folder can be quickly and accurately backed up to be unique.

Description

Webpage information backup method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for backing up web page information.
Background
With the rapid development of the internet technology, the internet information is gradually complicated, the webpage is an important carrier of the internet information, the information contained in the webpage is very rich, and the diversification of the information causes that a user cannot remember all the contents in the browsing process. Therefore, when a user needs to actively record web page information, there is usually no suitable means for quickly recording and backing up the web page information.
In the prior art, passive backup is usually performed when web page information is backed up, for example, a user account name and a password are backed up through a Cookie, the passive backup lacks freedom, and a user cannot determine information to be backed up. The web page information backup also comprises active backup, for example, a user backs up information through third-party software such as impression notes, words and other software, and the web page information is backed up to a folder of the third-party software in a manual copying and pasting mode. Firstly, part of third-party software such as impression notes can collect information, but a user needs to select names by himself, and if the names are repeated, the user cannot distinguish the information; secondly, when the user backs up the website URL, the user needs to back up the website URL to a folder of third-party software in a manual copying and pasting mode, and the method causes that the user cannot back up the website URL quickly and is easy to make mistakes.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for backing up webpage information, which are used for solving the problems that in the prior art, a user names a folder by himself and has repeated names and URL copying errors are easy to occur.
The embodiment of the invention provides a webpage information backup method, which comprises the following steps:
if the folder creating operation is detected, displaying a first memo window in the current webpage;
adding the received newly added content to the first memo window display;
if the creation completion operation is received, acquiring the current time and the website of the current webpage, creating a folder with the names of the current time and the website of the current webpage and the contents of the content displayed in the first memo window;
and saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs.
Further, the saving the folder to an index folder with a name containing the website of the current webpage or saving the folder to an index folder with a name containing the date to which the current time belongs includes:
searching whether an index folder with a name containing the website of the current webpage or the date to which the current time belongs exists;
if the index folder with the name containing the website of the current webpage or the date to which the current time belongs exists, storing the folder into the searched index folder;
if not, creating an index folder with the name containing the website of the current webpage or the date to which the current time belongs, and storing the folder into the created index folder.
Further, the index folder is located in a local storage space and/or a local storage.
Further, the method further comprises:
if receiving the query operation, displaying a second memo window;
searching a target index folder with a name containing a target website or a date to which the target time belongs according to the target website and/or the target time to be inquired received in the second memo window and the names of all stored index folders;
and searching a folder with a name containing the target website and/or the target time in the target index folder, and displaying the content of the searched folder in the second memo window.
Further, the method further comprises:
if the viewing operation of the contents of the folder displayed by the second memo window is received, determining a first target folder to be viewed;
and switching the current webpage to the webpage corresponding to the website according to the website contained in the name of the first target folder.
Further, the method further comprises:
if the deletion operation of the content of the folder displayed by the second memo window is received, determining a second target folder to be deleted;
deleting the second target folder, and deleting the contents of the second target folder in the second memo window.
Further, the method further comprises:
if the modification operation of the contents of the folder displayed by the second memo window is received, determining a third target folder to be modified;
and modifying the displayed content of the third target folder according to the content received in the second memo window, and modifying the stored content of the third target folder according to the modified content of the third target folder displayed in the second memo window.
The embodiment of the invention provides a webpage information backup device, which comprises:
the display unit is used for displaying a first memorandum window in the current webpage if the folder creation operation is detected; adding the received newly added content to the first memo window display;
a creating unit, configured to obtain a current time and a website of a current webpage if a creation completion operation is received, create a folder named as the current time and the website of the current webpage, where contents are contents displayed in the first memo window;
and the storage unit is used for saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs.
Further, the storage unit is specifically configured to search whether an index folder with a name including a website of the current webpage or a date to which the current time belongs exists; if the index folder with the name containing the website of the current webpage or the date to which the current time belongs exists, storing the folder into the searched index folder; if not, creating an index folder with the name containing the website of the current webpage or the date to which the current time belongs, and storing the folder into the created index folder.
Further, the display unit is further configured to display a second memo window if a query operation is received;
the device further comprises:
the searching unit is used for searching a target index folder with the name containing the target website or the date to which the target time belongs according to the target website and/or the target time to be inquired received in the second memo window and the names of all stored index folders; and searching a folder with a name containing the target website and/or the target time in the target index folder, and displaying the content of the searched folder in the second memo window.
Further, the apparatus further comprises:
the determining unit is further used for determining a first target folder to be viewed if the viewing operation of the contents of the folder displayed in the second memo window is received;
and the switching unit is used for switching the current webpage to the webpage corresponding to the website according to the website contained in the name of the first target folder.
Further, the apparatus further comprises:
a determining unit, configured to determine a second target folder to be deleted if a deletion operation for the contents of the folder displayed in the second memo window is received;
and the modifying unit is used for deleting the second target folder and deleting the content of the second target folder in the second memo window.
Further, the apparatus further comprises:
a determining unit, configured to determine a third target folder to be modified after receiving a modification operation on the content of the folder displayed in the second memo window;
and the modifying unit is used for modifying the displayed content of the third target folder according to the content received in the second memo window and modifying the stored content of the third target folder according to the modified content of the third target folder displayed in the second memo window.
An embodiment of the present invention provides an electronic device, where the electronic device includes a processor and a memory, where the memory is used to store program instructions, and the processor is used to implement the steps of any one of the above-mentioned methods for backing up web page information when executing a computer program stored in the memory.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of any one of the above-mentioned methods for backing up web page information.
The embodiment of the invention provides a method, a device, equipment and a medium for backing up webpage information, wherein in the method, if a file creating operation is detected, a first memorandum window is displayed in a current webpage; adding the received newly added content to a first memo window for displaying; if the creation completion operation is received, creating a folder with the name of the current time and the name of the website of the current webpage and the content of the content displayed in the first memo window; and saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs. In the embodiment of the invention, the automatically acquired website of the current webpage and the current time can be used as the name of the folder, so that the URL of the website and the name of the folder can be quickly and accurately backed up to be unique.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments 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 to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic process diagram of a method for backing up web page information according to an embodiment of the present invention;
FIG. 2A is a diagram illustrating a new memo window according to an embodiment of the present invention;
fig. 2B is a schematic diagram of a query memo window according to an embodiment of the present invention;
fig. 3 is a flowchart of a medical information query, modification and deletion according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a web page information backup device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. 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.
In order to realize the uniqueness of the website URL and the folder name, the embodiment of the invention provides a method, a device, equipment and a medium for backing up webpage information.
Example 1:
fig. 1 is a schematic diagram of a process for backing up web page information according to an embodiment of the present invention, where the process includes the following steps:
s101: and if the folder creating operation is detected, displaying a first memorandum window in the current webpage.
The webpage information backup method is applied to the electronic equipment comprising the browser. The electronic device can be a smart phone, a computer, a smart tablet and other devices capable of displaying webpage information. If the web page information displayed in the current web page needs to be backed up, the creation operation of the folder needs to be performed.
In order to facilitate creation of a folder, in the electronic device provided in the embodiment of the present invention, when displaying web page information, a button for creating a folder may be displayed in a current page, and the button may be a memo adding button, and when it is recognized that the memo adding button is triggered, creation of the folder is determined.
Or the operation of creating the folder may be other preset operations, such as setting operation for a blank area of a web page. Or when the setting operation is identified, the button is displayed on the current webpage, so that the folder is conveniently created.
When the folder creation operation is detected, a first memo window is displayed on the current webpage, the first memo window can be displayed at a set position of the current webpage, for example, the first memo window can be a central area of the current webpage or a relatively lower area of the webpage, and the specific display position can be preset according to user requirements, and certainly can be displayed according to the configuration of a webpage developer.
The first memo window is displayed in a set pattern, which may be a display pattern of an arbitrary shape, for example, a rectangular pattern.
S102: and adding the received newly added content to the first memo window for displaying.
The new content is part or all of the web page information displayed by the current web page, and the new content may be characters, pictures, videos, or the like, and this embodiment does not limit the new content.
The new content may be added to the first memo window by copying and pasting, or may be input into the first memo window by a keyboard, which is not limited in the embodiment of the present invention.
And displaying the newly added content in the first memo window after receiving the newly added content through the first memo window.
S103: and if the creation completion operation is received, acquiring the current time and the website of the current webpage, creating a folder with the names of the current time and the website of the current webpage and the contents of the contents displayed by the first memo window.
The creation completion operation may be a trigger operation on a creation completion button, and when the current electronic device recognizes that the creation completion button displayed at the set position is triggered, it is determined that the creation completion operation is received, where the creation completion button may be a new button displayed at the set position of the first memo window, and when it is recognized that the new button is triggered, it is determined that the folder creation completion operation is received, or the creation completion button may also be a close button of the first memo window, and when it is recognized that the first memo window is closed, it is determined that the folder creation completion operation is received.
And after receiving a folder creation completion operation, acquiring the current time and the website of the current webpage through a browser background, taking the current time and the website of the current webpage as the names of the folders, and simultaneously taking the content displayed by the first memo window as the content of the folders by the electronic equipment, namely creating the folders with the names of the current time and the website of the current webpage and the content of the content displayed by the first memo window.
S104: and saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs.
After the folder is created, the folder needs to be saved. For convenience of subsequent search, when saving the folder, the folder may be saved in an index folder whose name includes the website of the current web page, or the folder may be saved in an index folder whose name includes the date to which the current time belongs.
When saving a folder, the folder needs to be saved in a fixed storage space, and therefore the index folder is located in a fixed storage space, which may be, for example, a storage space of a local host.
Specifically, the folder is saved in a key value pair form. The key value pair is the simplest organization form of the database, the current electronic equipment combines the acquired current time and the current website of the webpage into a main key of the key value pair, the content displayed in the first memo window is used as the value of the key value pair, and the content is stored in a main key-value form.
In the embodiment of the invention, if a file creating operation is received, a first memorandum window is displayed in a current webpage; adding the received newly added content to a first memo window for displaying; if the creation completion operation is received, acquiring the current time and the website of the current webpage, creating a folder with the names of the current time and the website of the current webpage and the contents of the contents displayed by the first memo window; and saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs. In the embodiment of the invention, the automatically acquired website of the current webpage and the current time can be used as the name of the folder, so that the problems of repeated names, incapability of quickly backing up the URL and easiness in making mistakes are solved, and the uniqueness of quickly and accurately backing up the URL and the name of the folder is realized.
Example 2:
in order to facilitate subsequent searching after saving the folder, on the basis of the above embodiment, in an embodiment of the present invention, the saving the folder in the index folder whose name includes the website of the current webpage, or saving the folder in the index folder whose name includes the date to which the current time belongs includes:
searching whether an index folder with a name containing the website of the current webpage or the date to which the current time belongs exists;
if the index folder with the name containing the website of the current webpage or the date to which the current time belongs exists, storing the folder into the searched index folder;
if not, creating an index folder with the name containing the website of the current webpage or the date to which the current time belongs, and storing the folder into the created index folder.
In order to store the folder in the index folder, in the embodiment of the present invention, it is necessary to search in the storage space whether there is an index folder whose name includes the web address of the current web page or the date to which the current time belongs. The index folder may be an index folder with a website as a name, or an index folder with a date as a name. Preferably, in the embodiment of the present invention, only one name type of index folder exists in the storage space.
And if the index folder with the name containing the website of the current webpage or the date to which the current time belongs is searched in the storage space of the current electronic equipment, storing the folder into the searched index folder.
If the index folder with the name containing the website of the current webpage or the date to which the current time belongs does not exist in the current electronic equipment, the index folder with the name containing the website of the current webpage or the date to which the current time belongs needs to be created, and after the creation of the index folder is completed, the index folder is stored in the created index file.
In order to facilitate the saving of the folders, the names of the index folders are based on the web addresses of the web pages or based on the dates, generally, an index folder with a name type is selected in an application scene, and the names of specific index files are based on the web addresses or based on the dates, and the electronic device can know the names in advance. If the name of the index folder is based on the website, when the index folder is searched, whether the index folder with the name containing the website of the current webpage exists is searched, and when the index folder with the name containing the website of the current webpage is not searched, the index folder with the name containing the website of the current webpage is created. If the name of the index folder is based on the date, when the index folder is searched, whether the index folder with the name containing the date to which the current time belongs exists is searched, and when the index folder with the name not containing the date to which the current time belongs is not searched, the index folder with the name containing the date to which the current time belongs is created.
Example 2:
to save folders, on the basis of the above embodiments, in the embodiment of the present invention, the index folder is located in the local storage space and/or the local storage.
The local storage space may be a hard disk space of the local host or other storage spaces of the local host, and the index folder is located in the local storage space to implement persistent storage of the folder, so as to ensure integrity of the stored folder.
Or, the index folder is located in a local storage, which is a local storage LocalStorage of HTML5, where HTML5 is a specification of core language HTML in the Web, and in order to guarantee speed when performing folder reading, the index folder is located in the local storage LocalStorage in the browser.
Preferably, in the embodiment of the present invention, in order to simultaneously ensure the integrity of the saved folder and the speed in reading, the index folder is located in the local storage space and the local storage LocalStorage.
Example 3:
in order to implement the query on the contents of the saved folder, on the basis of the foregoing embodiments, in an embodiment of the present invention, the method further includes:
if receiving the query operation, displaying a second memo window;
searching a target index folder with a name containing a target website or a date to which the target time belongs according to the target website and/or the target time to be inquired received in the second memo window and the names of all stored index folders;
and searching a folder with a name containing the target website and/or the target time in the target index folder, and displaying the content of the searched folder in the second memo window.
After the content displayed in the first memo window is saved as the content of the folder, when a query operation of a user on the saved content of the folder is received, the second memo window is displayed, specifically, the query operation may be a click operation on a view backup button displayed on the current webpage or a preset other operation.
After the electronic device provided by the embodiment of the present invention receives the query operation, a second memo window is displayed on the currently displayed web page, and the second memo window may be displayed at a set position of the current web page, for example, the second memo window may be a central area of the current web page, or an area on the upper side of the current web page, and the specific display position may be preset according to a user requirement, and may of course be displayed according to a configuration of a web page developer.
The second memo window is displayed in a set pattern, which may be a display pattern of an arbitrary shape, for example, a rectangular pattern.
After the current electronic device receives the target website and/or the target time required by the content of the search folder in the second memo window, the electronic device queries the names of all stored index folders according to the target website and/or the target time, and determines that the index folder is the searched target index folder if the names of the index folders include the target website or the date to which the target time belongs.
After the target index folder is found, a folder with a name including the target website or the target time needs to be found in the target index folder.
If the current electronic equipment only receives the target website in the second memo window, searching a folder with the name including the target website in an index folder with the name including the target website, and displaying the content of the searched folder in the second memo window.
Specifically, the folder is saved to the index folder whose name includes the website of the current webpage when the folder is saved. Therefore, the names of the folders in the index folder all contain the target web address. Accordingly, the contents of all folders in the index folder are displayed in the second memo window.
If the current electronic equipment only receives the target time in the second memo window, searching a folder with the name including the target time in an index folder with the name including the date to which the target time belongs, and displaying the content of the searched folder in the second memo window.
Specifically, the folder is saved to the index folder whose name includes the date to which the current time belongs at the time of saving. Therefore, the times contained in the names of the folders in the index folder are different but all belong to the same date. And searching the folder with the name containing the target time in the index folder, and displaying the content of the searched folder in the second memo window.
If the current electronic device receives the target website and the target time in the second memo window, the folder with the name including the target website and the target time may be searched in the index folder with the name including the target website. Or searching a folder with a name containing the target website and the target time in an index folder with a name containing the date to which the current time belongs. And after the folder with the name including the target website and the target time is found in the index folder, displaying the content of the found folder in the second memo window.
In the embodiment of the present invention, since the reading speed of the folder is fast when the index folder is located in the local storage, when querying the content of the saved folder, the query is first performed in the local storage; however, since the folders stored in the local storage are easily lost, if no folder is queried in the local storage, it is indicated that the folder stored in the local storage is lost, and it is also necessary to query in the local storage space.
Specifically, when a stored folder is queried, a folder with a folder name including the target website and/or the target time is searched in an index folder stored in the local memory, the content of the folder in the local memory is read, and the content of the folder is displayed in the second memo window; and searching a folder which does not exist in the local memory and contains the target website and/or the target time in the folder name in the local memory space, reading the folder, storing the folder into the local memory, and displaying the content of the folder in the second memo window.
Example 4:
in order to realize the display of the detailed web page information corresponding to the contents of the queried folder, on the basis of the above embodiments, in an embodiment of the present invention, the method further includes:
if the viewing operation of the contents of the folder displayed by the second memo window is received, determining a first target folder to be viewed;
and switching the current webpage to the webpage corresponding to the website according to the website contained in the name of the first target folder.
After each folder is queried, since there may be one or more queried folders, the contents of each folder need to be displayed in the second memo window.
The viewing operation is a click operation on the contents of the folder displayed in the second memo window, and after the current electronic equipment receives the click operation on the contents of the folder displayed in the second memo window, the folder is determined to be a first target folder to be viewed.
After the first target folder to be viewed is determined, because the content of the first target folder to be viewed does not include detailed webpage information, in order to determine the detailed webpage information corresponding to the content of the first target folder and facilitate quick recall of a user, the current electronic device further needs to acquire a website of the first target folder to be viewed and switch to a webpage corresponding to the website according to the website in the name of the first target folder to be viewed.
Example 5:
to implement deletion of contents of a queried folder, on the basis of the foregoing embodiments, in an embodiment of the present invention, the method further includes:
if the deletion operation of the content of the folder displayed by the second memo window is received, determining a second target folder to be deleted;
deleting the second target folder, and deleting the contents of the second target folder in the second memo window.
The deleting operation can be a clicking operation on a deleting button displayed on the second memo window, the number of the deleting buttons can be only one, and by receiving the clicking operation of the user on the content of the folder, the current electronic equipment determines to receive the deleting operation after receiving the clicking operation on the deleting button again, and determines that the folder is a second target folder to be deleted; the number of the deletion buttons may also be multiple, each of the contents of the folders displayed in the second memo window has a corresponding deletion button, and after the current electronic device receives a click operation on the deletion button corresponding to the contents of the folder, it is determined that the folder is the second target folder to be deleted.
After the current electronic equipment receives the click operation of a deletion button corresponding to the content of the folder displayed by the second memo window, the folder is determined to be a second target folder to be deleted, the second target folder to be deleted is searched in the stored folder according to the name of the second target folder to be deleted, and the searched second target folder to be deleted is deleted in the storage space and the local storage of the local host. After determining that the deletion operation is received, in addition to deleting the storage space of the local host and the second target folder backed up in the local storage, the contents of the second target folder displayed in the second memo window need to be deleted.
Example 6:
in order to modify the contents of the queried folder, on the basis of the foregoing embodiments, in an embodiment of the present invention, the method further includes:
if the modification operation of the contents of the folder displayed by the second memo window is received, determining a third target folder to be modified;
and modifying the displayed content of the third target folder according to the content received in the second memo window, and modifying the stored content of the third target folder according to the modified content of the third target folder displayed in the second memo window.
The modification operation can be a click operation on a modification button displayed in the second memo window, the modification button can be only one, and by receiving the click operation of the user on the content of the folder, the current electronic equipment determines to receive the modification operation after receiving the click operation on the modification button again, and determines that the folder is a third target folder to be modified; the number of the modification buttons may also be multiple, each of the content of the folder displayed in the second memo window has a corresponding modification button, and after the current electronic device receives a click operation on the corresponding modification button of the content of the folder, it is determined that the folder is the third target folder to be modified.
And after the third target folder to be modified is determined, modifying the content displayed on the second memo window by the third target folder according to the content received at the third target folder display part to be modified of the second memo window. The modification may be a deletion, addition, or replacement of the contents of the third target folder.
After receiving the modification of the displayed content of the third target folder, the current electronic device also needs to modify the content of the third target folder stored in the local storage space and the local storage synchronously, so that after the third target folder to be modified is determined, the current electronic device searches for the stored folder according to the name of the third target folder, and performs the same modification on the searched content of the stored third target folder according to the modified content received in the second memo window.
The following describes the web page information backup method according to a specific embodiment, taking the web page information as the patient information recorded on the web page of the chronic disease health service platform as an example.
A large amount of treatment information is included on the webpage of the chronic disease health service platform, and in order to record the treatment information, taking the current electronic device as an example of a computer, after the computer receives the click operation of the user on the memo adding button displayed at the upper right corner (left, right, up and down in the figure) of the current webpage, a new memo window is displayed on the current web page, and fig. 2A is a schematic diagram of a new memo window according to an embodiment of the present invention, as shown in fig. 2A, the newly created memo window includes information such as address URL, time and contents, an information input box is displayed in the contents information portion, the information input box is used for receiving information to be backed up and receiving information to be saved for visiting a doctor, and the computer also automatically acquires the website and the current time of the current webpage in the background of the browser and respectively displays the website and the current time in an address URL item and a time item in a newly-built memorandum window.
After receiving the clicking operation of a user on a new button at the lower right corner (left, right, upper and lower in the figure) of the new memo window, the computer takes the acquired treatment information change content in the content item part as the value of the key value pair, combines the acquired website of the current webpage with the current time as the main key of the key value pair, and stores the acquired treatment information change content in an index folder with the name containing the website of the current webpage or the name containing the date to which the current time belongs in the main key-value mode. The index folder is located in the hard disk space and the local memory of the local host, and the main key of the key value pair is independently stored in the hard disk space of the local host.
After receiving the click operation of the user on the query memo button displayed at the upper right corner of the current webpage, the computer displays a query memo window on the chronic disease health service platform, and fig. 2B is a schematic diagram of the query memo window provided by the embodiment of the invention, as shown in fig. 2B, in the query memo window, the content of the folder with the name including the queried target website and/or target time is displayed in the query memo window through the target website and/or target time required for searching the content of the folder received in the query memo window.
After the computer receives the click operation on the displayed content of the folder in the memo inquiring window, the computer acquires the website in the folder name corresponding to the click operation and switches the current webpage to the webpage corresponding to the website.
After the computer receives the click operation of the corresponding deletion button of the displayed folder in the query memo window, the folder is determined to be the folder to be deleted, the display content corresponding to the folder to be deleted is deleted in the query memo window, and meanwhile, the folder to be deleted is determined and deleted in the hard disk space and the local memory of the local host.
After the computer receives the click operation of the corresponding modification button of the displayed folder in the query memorandum window, the computer determines that the folder is the folder to be modified, and modifies the displayed content of the folder to be modified according to the content received in the display part of the folder to be modified in the query memorandum window. And simultaneously determining the folder to be modified in the hard disk space and the local memory of the local host, and modifying the contents of the folder to be modified, which are stored in the hard disk space and the local memory of the local host, in the same way according to the modified contents of the folder to be modified, which are displayed in the query memorandum window.
Fig. 3 is a flowchart of inquiry, modification and deletion of treatment information according to an embodiment of the present invention, where folders for storing treatment information are stored in both a local storage and a hard disk space of a local host, as shown in fig. 3, the flowchart includes the following steps:
s301: and receiving the clicking operation of the user on the query memo button displayed on the current webpage.
S302: a query memo window is displayed.
S303: a target web address and/or a target time required to find the contents of the folder is received.
S304: and searching a target index folder with the name containing a target website or a target time belonging date in the index folder in the local memory, searching the folder with the name containing the target website and/or the target time in the target index folder, and reading the content in the folder.
S305: and searching a target index folder of which the name comprises a target website and/or a target time belonging date in the index folder name which does not exist in the local memory in the hard disk space of the local host, and searching a folder of which the name comprises the target website and/or the target time in the target index folder, reading and storing the folder into the local memory.
S306: the contents of the folder read in the local storage and the hard disk space of the local host are displayed in the query memo window.
S307: the computer receives a click operation on the contents of the displayed folder in the query memo window.
S308: and acquiring the website in the folder name corresponding to the clicking operation, and switching from the current webpage to the webpage corresponding to the website.
S309: and after the computer receives the click operation of the corresponding deletion button of the displayed folder contents in the query memo window, determining that the folder is the folder to be deleted.
S310: and deleting the displayed content corresponding to the folder to be deleted in the query memo window, and determining and deleting the folder to be deleted in the hard disk space and the local memory of the local host.
S311: and after the computer receives the click operation of the corresponding modification button on the content of the displayed folder in the query memo window, determining that the folder is the folder to be modified.
S312: and modifying the displayed content of the folder to be modified according to the content received at the folder to be modified display part of the query memorandum window. And simultaneously determining the folder to be modified in the hard disk space and the local memory of the local host, and modifying the contents of the folder to be modified, which are stored in the hard disk space and the local memory of the local host, in the same way according to the modified contents of the folder to be modified, which are displayed in the query memorandum window.
Example 7:
fig. 4 is a schematic structural diagram of a web page information backup device according to an embodiment of the present invention, and on the basis of the foregoing embodiments, an embodiment of the present invention further provides a web page information backup device, including:
a display unit 401, configured to display a first memo window in a current web page if a folder creation operation is detected; adding the received newly added content to the first memo window display;
a creating unit 402, configured to, if a creation completion operation is received, obtain a website of a current web page and a current time, create a folder with names of the current time and the website of the current web page, and contents of the folder being contents displayed in the first memo window;
a storage unit 403, configured to store the folder in an index folder whose name includes the website of the current webpage, or store the folder in an index folder whose name includes the date to which the current time belongs.
The storage unit 403 is specifically configured to search whether an index folder with a name including the website of the current webpage or the date to which the current time belongs exists; if the index folder with the name containing the website of the current webpage or the date to which the current time belongs exists, storing the folder into the searched index folder; if not, creating an index folder with the name containing the website of the current webpage or the date to which the current time belongs, and storing the folder into the created index folder.
The display unit 401 is further configured to display a second memo window if a query operation is received;
the device further comprises:
a searching unit 404, configured to search, according to the target website and/or target time to be queried received in the second memo window and names of all stored index folders, a target index folder whose name includes the target website or a date to which the target time belongs; and searching a folder with a name containing the target website and/or the target time in the target index folder, and displaying the content of the searched folder in the second memo window.
The device further comprises:
a determining unit 405, configured to determine a first target folder to be viewed if a viewing operation for the contents of the folder displayed in the second memo window is received;
the switching unit 406 is configured to switch the current webpage to the webpage corresponding to the website according to the website included in the name of the first target folder.
The device further comprises:
a determining unit 405, configured to determine a second target folder to be deleted if a deletion operation for the contents of the folder displayed in the second memo window is received;
a modifying unit 407, configured to delete the second target folder and delete the content of the second target folder in the second memo window.
The device further comprises:
a determining unit 405, configured to determine a third target folder to be modified after receiving a modification operation on the content of the folder displayed in the second memo window;
a modifying unit 407, configured to modify the displayed content of the third target folder according to the content received in the second memo window, and modify the stored content of the third target folder according to the modified content of the third target folder displayed in the second memo window.
Example 8:
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and on the basis of the foregoing embodiments, an electronic device according to an embodiment of the present invention further includes a processor 501 and a memory 502, where the processor 501 is configured to implement the steps of the above-mentioned web page information backup method when executing a computer program stored in the memory 502.
Alternatively, the processor 501 may be a CPU (central processing unit), an ASIC (Application specific integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).
A processor 501 for executing the following steps when following the computer program stored in the memory 502:
if the folder creating operation is detected, displaying a first memo window in the current webpage;
adding the received newly added content to the first memo window display;
if the creation completion operation is received, acquiring the website and the current time of the current webpage, creating a folder with the names of the current time and the website of the current webpage and the contents of the contents displayed by the first memo window;
and saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs.
The saving the folder into an index folder with a name containing the website of the current webpage or the saving the folder into an index folder with a name containing the date to which the current time belongs includes:
searching whether an index folder with a name containing the website of the current webpage or the date to which the current time belongs exists;
if the index folder with the name containing the website of the current webpage or the date to which the current time belongs exists, storing the folder into the searched index folder;
if not, creating an index folder with the name containing the website of the current webpage or the date to which the current time belongs, and storing the folder into the created index folder.
The index folder is located in a local storage space and/or a local storage.
If receiving the query operation, displaying a second memo window;
searching a target index folder with a name containing a target website or a date to which the target time belongs according to the target website and/or the target time to be inquired received in the second memo window and the names of all stored index folders;
and searching a folder with a name containing the target website and/or the target time in the target index folder, and displaying the content of the searched folder in the second memo window.
If the viewing operation of the contents of the folder displayed by the second memo window is received, determining a first target folder to be viewed;
and switching the current webpage to the webpage corresponding to the website according to the website contained in the name of the first target folder.
If the deletion operation of the content of the folder displayed by the second memo window is received, determining a second target folder to be deleted;
deleting the second target folder, and deleting the contents of the second target folder in the second memo window.
If the modification operation of the contents of the folder displayed by the second memo window is received, determining a third target folder to be modified;
and modifying the displayed content of the third target folder according to the content received in the second memo window, and modifying the stored content of the third target folder according to the modified content of the third target folder displayed in the second memo window.
Example 9:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to perform the following steps:
if the folder creating operation is detected, displaying a first memo window in the current webpage;
adding the received newly added content to the first memo window display;
if the creation completion operation is received, acquiring the website and the current time of the current webpage, creating a folder with the names of the current time and the website of the current webpage and the contents of the contents displayed by the first memo window;
and saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs.
The saving the folder into an index folder with a name containing the website of the current webpage or the saving the folder into an index folder with a name containing the date to which the current time belongs includes:
searching whether an index folder with a name containing the website of the current webpage or the date to which the current time belongs exists;
if the index folder with the name containing the website of the current webpage or the date to which the current time belongs exists, storing the folder into the searched index folder;
if not, creating an index folder with the name containing the website of the current webpage or the date to which the current time belongs, and storing the folder into the created index folder.
The index folder is located in a local storage space and/or a local storage.
If receiving the query operation, displaying a second memo window;
searching a target index folder with a name containing a target website or a date to which the target time belongs according to the target website and/or the target time to be inquired received in the second memo window and the names of all stored index folders;
and searching a folder with a name containing the target website and/or the target time in the target index folder, and displaying the content of the searched folder in the second memo window.
If the viewing operation of the contents of the folder displayed by the second memo window is received, determining a first target folder to be viewed;
and switching the current webpage to the webpage corresponding to the website according to the website contained in the name of the first target folder.
If the deletion operation of the content of the folder displayed by the second memo window is received, determining a second target folder to be deleted;
deleting the second target folder, and deleting the contents of the second target folder in the second memo window.
If the modification operation of the contents of the folder displayed by the second memo window is received, determining a third target folder to be modified;
and modifying the displayed content of the third target folder according to the content received in the second memo window, and modifying the stored content of the third target folder according to the modified content of the third target folder displayed in the second memo window.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for backing up webpage information is characterized by comprising the following steps:
if the folder creating operation is detected, displaying a first memo window in the current webpage;
adding the received newly added content to the first memo window display;
if the creation completion operation is received, acquiring the current time and the website of the current webpage, creating a folder with the names of the current time and the website of the current webpage and the contents of the content displayed in the first memo window;
and saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs.
2. The method for backing up information on web pages according to claim 1, wherein the saving the folder into an index folder whose name contains the website of the current web page or an index folder whose name contains the date to which the current time belongs comprises:
searching whether an index folder with a name containing the website of the current webpage or the date to which the current time belongs exists;
if the index folder with the name containing the website of the current webpage or the date to which the current time belongs exists, storing the folder into the searched index folder;
if not, creating an index folder with the name containing the website of the current webpage or the date to which the current time belongs, and storing the folder into the created index folder.
3. The method for backing up information of web pages according to claim 1 or 2, wherein the index folder is located in a local storage space and/or a local storage.
4. The method for backing up information on web pages according to claim 1, further comprising:
if receiving the query operation, displaying a second memo window;
searching a target index folder with a name containing a target website or a date to which the target time belongs according to the target website and/or the target time to be inquired received in the second memo window and the names of all stored index folders;
and searching a folder with a name containing the target website and/or the target time in the target index folder, and displaying the content of the searched folder in the second memo window.
5. The method for backing up information on web pages according to claim 4, further comprising:
if the viewing operation of the contents of the folder displayed by the second memo window is received, determining a first target folder to be viewed;
and switching the current webpage to the webpage corresponding to the website according to the website contained in the name of the first target folder.
6. The method for backing up information on web pages according to claim 4, further comprising:
if the deletion operation of the content of the folder displayed by the second memo window is received, determining a second target folder to be deleted;
deleting the second target folder, and deleting the contents of the second target folder in the second memo window.
7. The method for backing up information on web pages according to claim 4, further comprising:
if the modification operation of the contents of the folder displayed by the second memo window is received, determining a third target folder to be modified;
and modifying the displayed content of the third target folder according to the content received in the second memo window, and modifying the stored content of the third target folder according to the modified content of the third target folder displayed in the second memo window.
8. An apparatus for backing up information on a web page, the apparatus comprising:
the display unit is used for displaying a first memorandum window in the current webpage if the folder creation operation is detected; adding the received newly added content to the first memo window display;
a creating unit, configured to obtain a current time and a website of a current webpage if a creation completion operation is received, create a folder named as the current time and the website of the current webpage, where contents are contents displayed in the first memo window;
and the storage unit is used for saving the folder into an index folder with the name containing the website of the current webpage, or saving the folder into an index folder with the name containing the date to which the current time belongs.
9. An electronic device, characterized in that the electronic device comprises a processor and a memory for storing program instructions, the processor being adapted to carry out the steps of the method according to any of claims 1-7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010442368.9A 2020-05-22 2020-05-22 Webpage information backup method, device, equipment and medium Pending CN111651298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010442368.9A CN111651298A (en) 2020-05-22 2020-05-22 Webpage information backup method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010442368.9A CN111651298A (en) 2020-05-22 2020-05-22 Webpage information backup method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN111651298A true CN111651298A (en) 2020-09-11

Family

ID=72349564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010442368.9A Pending CN111651298A (en) 2020-05-22 2020-05-22 Webpage information backup method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111651298A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120026395A (en) * 2010-09-09 2012-03-19 엘지전자 주식회사 Mobile terminal and memo management method thereof
CN102831186A (en) * 2012-08-02 2012-12-19 深圳市同洲电子股份有限公司 Method and device for storing and searching webpage
KR20130082686A (en) * 2011-12-14 2013-07-22 (주)네오위즈게임즈 Method, apparatus, and system for managing web page
CN108959316A (en) * 2017-05-24 2018-12-07 北京搜狗科技发展有限公司 A kind of method and apparatus adding a webpage to collection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120026395A (en) * 2010-09-09 2012-03-19 엘지전자 주식회사 Mobile terminal and memo management method thereof
KR20130082686A (en) * 2011-12-14 2013-07-22 (주)네오위즈게임즈 Method, apparatus, and system for managing web page
CN102831186A (en) * 2012-08-02 2012-12-19 深圳市同洲电子股份有限公司 Method and device for storing and searching webpage
CN108959316A (en) * 2017-05-24 2018-12-07 北京搜狗科技发展有限公司 A kind of method and apparatus adding a webpage to collection

Similar Documents

Publication Publication Date Title
EP2758894B1 (en) Visual representation of supplemental information for a digital work
KR100932352B1 (en) Electronic device and program recording medium having a web page browsing function
US9116657B1 (en) Invariant referencing in digital works
US9158741B1 (en) Indicators for navigating digital works
US20080109762A1 (en) Visual document user interface system
US20030120655A1 (en) Document processing apparatus
JP2004507808A (en) A new book-like Internet browser for electronic information
WO2016016734A1 (en) Managing web browser cache for offline browsing
CN109740128B (en) Text editing auxiliary method, device and equipment
WO2017158243A1 (en) Information retrieval control
JP2002140216A (en) File management system
CN112947827A (en) Page display method and device, computer equipment and storage medium
CN111651298A (en) Webpage information backup method, device, equipment and medium
US20190243519A1 (en) Scrolling site search results display
US10452412B2 (en) Graphical user interface for non-hierarchical file system
US10911592B2 (en) Method and system for defining an offlinable model graph
US20140214701A1 (en) System and method for providing legal citations
JP2015141576A (en) Information processing device, information processing system, and program
JP6279969B2 (en) Communication device
JPH1115708A (en) Directory information management method and record medium recording program for execution of processing of the method
JP2015069597A (en) Related document search device, method, and program
JP6270263B2 (en) Information management system and information processing apparatus
JP6282051B2 (en) Data processing apparatus, data processing method, and program
CN107203521B (en) Information processing method and device
JP2000172712A (en) Database system, method for extracting data in the system and ordering 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