Summary of the invention
The application's is designed to provide a kind of Web page bookmark method for sorting and system, can clear up the webpage of failure automaticallyBookmark improves the efficiency for arranging bookmark, mitigates the operating quantity of user, and then improve operating experience.
To achieve the above object, Web page bookmark method for sorting provided by the present application, comprising:
Obtain at least one Web page bookmark;
Network request is initiated to the target network address of Web page bookmark record;
According to request results, judge whether target network address is effective;
If target network address is invalid, the corresponding Web page bookmark of delete target network address, or issue and remind to prompt user to deleteExcept Web page bookmark.
In the above-mentioned technical solutions, further, according to request results, judge whether target network address is effective, specifically includes:
Judge whether target network address is effective according to the return code of network request.
In the above-mentioned technical solutions, further, if target network address is invalid, further includes:
Selection based on user utilizes heading message search and the close replacement net of target network address for including in Web page bookmarkLocation;The replacement network address is saved as into new Web page bookmark.
In the above-mentioned technical solutions, further, judge whether target network address is effective according to request results, further includes:
Web page contents are identified according to semantics recognition technology;
Judge whether the target network address is deactivated according to recognition result;
If deactivated, determine that target network address is invalid.
In the above-mentioned technical solutions, further, comprising:
Judge whether the target network address has replaced new network address according to recognition result;
If having replaced new network address, the new network address is saved as into new Web page bookmark.
In the above-mentioned technical solutions, further, further includes:
Count the access times of the Web page bookmark within the period;
When access times are lower than preset threshold, then Web page bookmark is deleted, or issues and remind to prompt user to delete netPage bookmark.
In the above-mentioned technical solutions, further, statistics is within the period after the access times of Web page bookmark, further includes:
Web page bookmark is ranked up according to access times.
In the above-mentioned technical solutions, further, at least one Web page bookmark is obtained, is referred to:
At regular intervals, Web page bookmark is obtained automatically;
Alternatively, the selection based on user, obtains Web page bookmark.
In the above-mentioned technical solutions, further, all Web page bookmarks letter stored in the bookmark file of browser is obtainedBreath;
Network request successively is initiated to the target network address recorded in every Web page bookmark information;
By all invalid Web page bookmark information be stored in bookmark file to management area.
In addition, the application also provides a kind of Web page bookmark clearing system, comprising:
One memory, is configured as storing data and instruction;
One is established the processor communicated with memory, wherein when executing the instruction in memory, the processor quiltIt is configured that
Obtain at least one Web page bookmark;
Network request is initiated to the target network address of Web page bookmark record;
According to request results, judge whether target network address is effective;
If target network address is invalid, the corresponding Web page bookmark of delete target network address, or issue and remind to prompt user to deleteExcept Web page bookmark.
Compared to the prior art, Web page bookmark method for sorting provided by the present application, being capable of automatic identification and cleaning mistake in timeThe Web page bookmark of effect can efficiently and easily arrange Web page bookmark, save the operation of user, improve the usage experience of user.
The additional aspect and advantage of the application will become obviously in following description section, or the practice for passing through the applicationRecognize.
Specific embodiment
It is described as the application defined in requirement and its equivalent that has the right convenient for Integrated Understanding below with reference to attached drawingVarious embodiments.These embodiments include various specific details in order to understand, but these are considered only as illustratively.CauseThis, it will be appreciated by those skilled in the art that carrying out variations and modifications without departing from this to various embodiments described hereinThe scope and spirit of application.In addition, briefly and to be explicitly described the application, the application will be omitted to known function and structureDescription.
The term used in following description and claims and phrase are not limited to literal meaning, and being merely canUnderstand and consistently understands the application.Therefore, for those skilled in the art, it will be understood that provide to the various implementations of the applicationThe description of example is only the purpose to illustrate, rather than limits the application of appended claims and its Equivalent definitions.
Below in conjunction with the attached drawing in some embodiments of the application, technical solutions in the embodiments of the present application carries out clearChu is fully described by, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts allOther embodiments shall fall in the protection scope of this application.
It should be noted that the term used in the embodiment of the present application is the mesh for being only in description specific embodiment, it is not intended to be limiting the application." one " of the embodiment of the present application and singular used in the attached claims,"one", "an", " described " and "the" be also intended to including most forms, unless the context clearly indicates other meaning.AlsoIt should be appreciated that term "and/or" used herein refer to and include one or more mutually bindings list any of project orAll possible combinations.Express " first ", " second ", " first " and " second " is for modifying respective element without examiningWorry sequence or importance are used only for distinguishing a kind of element and another element, without limiting respective element.
Can be electronic equipment according to the terminal of some embodiments of the application, the electronic equipment may include smart phone,PC (PC, such as tablet computer, desktop computer, notebook, net book, palm PC PDA), mobile phone, e-bookReader, portable media player (PMP), audio/video player (MP3/MP4), video camera, virtual reality device(VR) and the combination of one or more of wearable device etc..According to some embodiments of the present application, the wearable deviceIncluding type of attachment (such as wrist-watch, ring, bracelet, eyes or wear-type device (HMD)), integrated type (such as electronics clothesDress), decorated type (such as pad skin, tatoo or built in electronic device) etc. one or more of combination.The application'sIn some embodiments, the electronic equipment be can be flexibly, be not limited to above equipment, or can be in above-mentioned various equipmentOne or more of combinations.In this application, term " user " can indicate the people using electronic equipment or use electronic equipmentEquipment (such as artificial intelligence electronic equipment).
The embodiment of the present application provides a kind of Web page bookmark method for sorting.The embodiment of the present application in order to facilitate understanding, belowThe embodiment of the present application will be described in detail with reference to attached drawing.
Fig. 1 is the illustrative diagram of the Environment System 100 provided according to some embodiments of the present application.Such as Fig. 1Shown, Environment System 100 may include electronic equipment 110, network 120 and server 130 etc..Electronic equipment 110 can be withIncluding bus 111, processor 112, memory 113, input/output module 114, display 115, communication module 116 and physicsKey 117 etc..In some embodiments of the present application, electronic equipment 110 can be omitted one or more elements, or can be into oneStep includes one or more other elements.
Bus 111 may include circuit.The circuit can be with one or more element (examples in interconnection electronics 110Such as, bus 111, processor 112, memory 113, input/output module 114, display 115 and communication module 116).It is describedCircuit can also realize communication (for example, obtaining and/or sending number between one or more elements in electronic equipment 110According to).
Memory 113 can store data.The data may include other with one or more of electronic equipment 110The relevant instruction of element or data.For example, the data may include the initial data before processor 112 is handled, intermediate dataAnd/or treated data.Specifically, memory 113 can store photo, image, iris information etc..Memory 113 canTo include impermanent memory memory and/or permanent memory memory.
According to some embodiments of the present application, memory 113 can store software and/or program.Described program can wrapIt includes kernel, middleware, Application Programming Interface (API, Application Programming Interface) and/or applies journeySequence.At least part of the kernel, the middleware or the Application Programming Interface may include operating system (OS,Operating System).As an example, the kernel be can control or be managed for executing other programs (for example, intermediatePart, Application Programming Interface and application program) in realize operation or function system resource (for example, bus 111, processor112, memory 113 etc.).In addition, the kernel can provide interface.The interface can by the middleware, described answerWith one or more elements of programming interface or application program access electronic equipment 110 to control or management system resource.
The middleware can be used as the middle layer of data transmission.Data transmission can permit Application Programming Interface orApplication program is with the kernel communication to exchange data.As an example, the middleware can handle from the application programOne or more task requests of acquisition.For example, the middleware can distribute electronic equipment to one or more application programThe priority of 110 system resource (for example, bus 111, processor 112, memory 113 etc.), and processing it is one orMultiple tasks request.The Application Programming Interface can be the application program for control from the kernel or the middlewareThe interface of function is provided.The Application Programming Interface also may include one or more interfaces or function.The function can be usedIn security control, communication control, document control, window control, text control, image procossing, signal processing etc..
What input/output module 114 can be inputted to the transmission of the other elements of electronic equipment 110 from user or external equipmentInstruction or data.Input/output module 114 can also be defeated by the instruction or data that obtain from the other elements of electronic equipment 110Out to user or external equipment.
Display 115 can show content.The content can to user show various types (for example, text, image,Video, icon and/or symbol).Display 115 may include liquid crystal display (LCD, Liquid Crystal Display),Light emitting diode (LED, Light-Emitting Diode) display, Organic Light Emitting Diode (OLED, Organic LightEmitting Diode) display, Micro Electro Mechanical System (MEMS, Micro Electro Mechanical Systems) displayDevice or electric paper display etc. or several combinations.Display 115 may include touch screen.In some embodiments, display115 can show virtual key.The input of the available virtual key of touch screen.Display 115 can pass through the touchingIt touches screen and obtains input.The input may include touch input, gesture input, action input, close input, electronic pen or userThe input of body part.
Communication module 116 can configure the communication between equipment.In some embodiments, network environment 100 can be into oneStep includes electronic equipment 140.As an example, the communication between the equipment may include electronic equipment 110 and other equipment (exampleSuch as, server 130 or electronic equipment 140) between communication.For example, communication module 116 can by wireless communication or cable modemLetter is connected to network 120, communicates with other equipment (for example, server 130 or electronic equipment 140) realization.
The wireless communication may include microwave communication and/or satellite communication etc..The wireless communication may include honeycombCommunication is (for example, global mobile communication (GSM, Global System for Mobile Communications), CDMA(CDMA, Code Division Multiple Access), 3G (Third Generation) Moblie (3G, The 3rd GenerationTelecommunication), forth generation mobile communication (4G), the 5th third-generation mobile communication (5G)), Long Term Evolution (LTE,Long Term Evolution), Long Term Evolution upgrade version (LTE-A, LTE-Advanced), wideband code division multiple access(WCDMA, Wideband Code Division Multiple Access), Universal Mobile Communication System (UMTS,Universal Mobile Telecommunications System), WiMAX (WiBro, Wireless) etc. or several combinations Broadband.According to some embodiments of the present application, the wireless communication may include wireless local areaNet (WiFi, Wireless Fidelity), bluetooth, low-power consumption bluetooth (BLE, Bluetooth Low Energy), ZigBee protocol(ZigBee), near-field communication (NFC, Near Field Communication), magnetic safe transmission, radio frequency and body area network (BAN,Body Area Network) etc. or several combinations.According to some embodiments of the present application, the wire communication may includeGlobal Navigation Satellite System (Glonass/GNSS, Global Navigation Satellite System), global positioning systemSystem (GPS, Global Position System), Beidou navigation satellite system or Galileo (European Global Satellite Navigation System)Deng.The wire communication may include universal serial bus (USB, Universal Serial Bus), high-definition media interface(HDMI, High-Definition Multimedia Interface), proposed standard 232 (RS-232, Recommend), and/or one in plain old telephone service (POTS, Plain Old Telephone Service) etc. Standard232Kind or several combinations.
Secondary or physical bond 117 can be used for user's interaction.Secondary or physical bond 117 may include one or more entity keys.In some realitiesIt applies in example, user can be with the function of customized secondary or physical bond 117.
Network 120 may include communication network.The communication network may include computer network (for example, local area network(LAN, Local Area Network) or wide area network (WAN, Wide Area Network)), internet and/or telephone networkDeng or several combinations.Network 120 can be to the other equipment in Environment System 100 (for example, electronic equipment 110, clothesBusiness device 130, electronic equipment 140 etc.) send information.
Server 130 can connect the other equipment in Environment System 100 (for example, electronic equipment by network 120110, electronic equipment 140 etc.).
Electronic equipment 140 can be identical or different with electronic equipment 110 type.According to some embodiments of the present application,Some or all of execution operation can be in another equipment or multiple equipment (for example, electronic equipment 140 in electronic equipment 110And/or server 130) in execute.In some embodiments, when electronic equipment 110 be automatically or in response to request execute it is a kind of orWhen multiple functions and/or service, electronic equipment 110 can request other equipment (for example, electronic equipment 140 and/or server130) substitution executes function and/or service.In some embodiments, electronic equipment 110 is in addition to executing function or service, furtherExecute relative one or more functions.In some embodiments, other equipment are (for example, electronic equipment 140 and/or clothesBusiness device 130) requested function or other relevant one or more functions can be executed, implementing result can be sent to electricitySub- equipment 110.Electronic equipment 110 can repeat result or be further processed implementing result, to provide requested functionOr service.
It should be noted that the description for Environment System 100 above only for convenience of description can not be this ShenIt please be limited within the scope of illustrated embodiment.It is appreciated that the principle based on this system can for those skilled in the artAny combination can be carried out to each element, or constitute subsystem and connect with other elements under the premise of without departing substantially from the principle,Various modifications and variations in form and details are carried out to the implementation above method and systematic difference field.For example, network environmentSystem 100 may further include database etc..Suchlike deformation, within the scope of protection of this application.
Fig. 2 is the exemplary cell block diagram of the electronic functionalities configuration provided according to some embodiments of the present application.Such asShown in Fig. 2, processor 112 may include processing module 200, and the processing module 200 may include acquiring unit 210, analysisUnit 220, control unit 230.
According to some embodiments of the present application, the available information of acquiring unit 210.The information may include but unlimitedIn text, picture, audio, video, movement, gesture etc. or several combinations.In some embodiments, acquiring unit 210 can be withInput information is obtained by input/output module 114, the touch screen of display 115 and/or secondary or physical bond 117.As an example, obtainingTake the input information of the available electronic equipment 110 of unit 210.The input information may include key-press input, touch-control input,Gesture input, action input, remote input, transmission input etc. or several combinations.
In some embodiments, the available Web page bookmark of acquiring unit 210 includes network address and title in Web page bookmark.In some embodiments, acquiring unit can obtain all Web page bookmark information stored in the bookmark file of browser.OneIn a little embodiments, the return code of the available network request of acquiring unit 210.In some embodiments, acquiring unit 210 can be withIt obtains Web page bookmark and corresponds to the web page contents in network address.
According to some embodiments of the present application, analytical unit 220 can at least be carried out the information that acquiring unit 210 obtainsAnalysis.In some embodiments, analytical unit 220 can analyze the return code or web page contents of the acquisition of acquiring unit 210,To judge whether network address is effective.
According to some embodiments of the present application, control unit 230 can control electronic equipment 110 and execute set action.?In some embodiments, control unit 230 can according to analytical unit 220 to the analysis of return code or web page contents as a result, deletingExcept Web page bookmark, or issues and remind to prompt user to delete Web page bookmark.
It should be noted that the unit in processing module 200 is described above, it only for convenience of description, can not be thisApplication is limited within the scope of illustrated embodiment.It is appreciated that for those skilled in the art, the principle based on this system,Any combination may be carried out to each unit, or constitute submodule and other units company under the premise of without departing substantially from the principleIt connects, various modifications and variations in form and details is carried out to the function of implementing above-mentioned module and unit.For example, electronic equipment110 may further include sensor etc., and acquiring unit 210 can obtain information by sensor.In another example processing unit220 may further include division subelement etc..Suchlike deformation, within the scope of protection of this application.
Fig. 3 is the exemplary process diagram of the Web page bookmark method for sorting provided according to some embodiments of the present application.Such as Fig. 3Shown, process 300 can be realized by processing module 200.
In step 310, at least one Web page bookmark is obtained.
In some embodiments, the mode for obtaining Web page bookmark is that system obtains automatically at regular intervals, to realize netThe regular arrangement of page bookmark.In some embodiments, based on the selection of user, i.e. user manually boots there are when arrangement demandArrangement function, i.e. acquisition Web page bookmark.In some embodiments, Web page bookmark is obtained from the bookmark clip of browser.
In step 320, network request is initiated to the target network address of Web page bookmark record.
In some embodiments, during the free time of equipment, during preferred network is idle, to save network and system moneySource.Specifically, request can not show request process and result to user in running background.
In step 330, according to request results, judge whether target network address is effective.
In some embodiments, judge whether target network address is effective according to the return code of network request.In some embodimentsIn, the content shown on webpage is identified according to semantics recognition technology, whether effective target network address is judged, for example, in web page contentsShow " current network address is deactivated " " current network address because there are risks, to be forbidden to use " etc., then determine target network address withoutEffect.
In some embodiments, it can also be judged according to the frequency of use of Web page bookmark, decide whether to delete the webpageBookmark.Specifically, the access times of statistics Web page bookmark within the period;When access times are lower than preset threshold, then deleteWeb page bookmark, or issue and remind to prompt user to delete Web page bookmark.In addition, can also according to access times to Web page bookmark intoRow sequence in order to which the deletion frequency of use of user's selectivity is low, but is not yet lower than the Web page bookmark of preset threshold.
In step 340, if target network address is invalid, the corresponding Web page bookmark of delete target network address.
The deletion in the present embodiment, can be system and directly deletes, and is also possible to system and issues prompting to promptUser deletes Web page bookmark.
Compared to the prior art, Web page bookmark method for sorting provided by the present application, being capable of automatic identification and cleaning mistake in timeThe Web page bookmark of effect can efficiently and easily arrange Web page bookmark, save the operation of user, improve the usage experience of user.
Fig. 4 is the exemplary process diagram of the Web page bookmark method for sorting provided according to some embodiments of the present application.Such as Fig. 4Shown, process 400 can be realized by processing module 200.
In step 410, the bookmark file of browser is obtained, extracts each Web page bookmark.
In step 420, network request is initiated to the target network address recorded in every Web page bookmark information.
In step 430, according to network request return code, judge whether target network address is effective.
When active, 460 are jumped to;When invalid, it can inquire consumers' opinions, according to the user's choice, jump to stepRapid 440 or step 450.
In step 440, Web page bookmark is deleted.
In step 450, heading message search and the close replacement network address of target network address for including in Web page bookmark are utilized.
It is close with target network address, including content close to and function close to two aspects.In some embodiments, network address is replacedIt can inquire the opinion of user, be sorted first by system according to network address of the degree of closeness to search, then by the selection based on user,Determine that wherein a network address is replacement network address.
In step 460, web page contents are identified according to semantics recognition technology.
In step 470, which is judged according to recognition result, if replaced new network address.
For example, when web page contents are shown: " network address is deactivated, and new network address is XXX " or " network address will stopWith new network address is XXX " etc., then can determine whether to have replaced new network address, can delete current web page bookmark at this time, and jump to stepRapid 480.If not extracting above-mentioned similar information, then the network address not renewed is judged, then retain the corresponding webpage book of the network addressLabel.
In step 480, new network address is saved as to new Web page bookmark.
In step 490, Web page bookmark is arranged, and imports browser bookmark file.
Web page bookmark after being handled by step 440, step 450 and step 480, and through protecting after step 470The Web page bookmark stayed is imported into again in the storage file of browser bookmark.
It should be noted that the above embodiments are intended merely as example, the application is not limited to such example, but canTo carry out various change.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended toNon-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including thoseElement, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipmentIntrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded thatThere is also other identical elements in process, method, article or equipment including the element.
Finally, it is to be noted that, it is above-mentioned it is a series of processing not only include with sequence described here in temporal sequenceThe processing of execution, and the processing including executing parallel or respectively rather than in chronological order.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be withIt is completed by the relevant hardware of computer program instructions, the program can be stored in a computer-readable storage media,The program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can for magnetic disk,CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM)Deng.
Above disclosed is only some preferred embodiments of the application, and the right model of the application cannot be limited with thisIt encloses, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and wants according to the application rightMade equivalent variations is sought, is still belonged to the scope covered by the invention.