CN104866492B - The management method and device of bookmark - Google Patents

The management method and device of bookmark Download PDF

Info

Publication number
CN104866492B
CN104866492B CN201410062638.8A CN201410062638A CN104866492B CN 104866492 B CN104866492 B CN 104866492B CN 201410062638 A CN201410062638 A CN 201410062638A CN 104866492 B CN104866492 B CN 104866492B
Authority
CN
China
Prior art keywords
bookmark
network address
web page
current web
added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410062638.8A
Other languages
Chinese (zh)
Other versions
CN104866492A (en
Inventor
尚子峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410062638.8A priority Critical patent/CN104866492B/en
Publication of CN104866492A publication Critical patent/CN104866492A/en
Application granted granted Critical
Publication of CN104866492B publication Critical patent/CN104866492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of management method of bookmark and devices, belong to Internet technical field.Method includes: to obtain the network address of current web page;Whether the corresponding bookmark of the network address of asynchronous query current web page has been added;If the corresponding bookmark of the network address of current web page is not added, the operation for clicking bookmark interface alternation element is detected, and after detecting the operation for clicking bookmark interface alternation element, adds the corresponding bookmark of network address of current web page.Device includes: the first acquisition module, asynchronous query module, first detection module and adding module.Whether the present invention has been added by the corresponding bookmark of network address of asynchronous query current web page, if the corresponding bookmark of the network address of current web page is not added, after detecting the operation for clicking bookmark interface alternation element, adds the corresponding bookmark of network address of current web page.It can be continued to execute since bookmark management process withouts waiting for query result, the consuming time is shorter, and therefore, the efficiency of management of bookmark is higher.

Description

The management method and device of bookmark
Technical field
The present invention relates to Internet technical field, in particular to the management method and device of a kind of bookmark.
Background technique
With the continuous development of Internet technology, people often browse webpage, and work as and browse to the net liked When page, often the network address for the webpage liked is saved in a manner of adding bookmark.It needs to carry out the webpage when next time When browsing, directly opened by bookmark, furthermore it is also possible to which the bookmark added is deleted or modified.By being carried out to bookmark Management can facilitate user to browse webpage.Therefore, the management method of bookmark is the key that influence user's viewing experience.
A kind of management method of bookmark is provided in the related technology, in the method, obtains the network address of current web page, is inquired Whether the corresponding bookmark of the network address of current web page has been added.If the corresponding bookmark of the network address of current web page is not added, add Add the corresponding bookmark of the network address of current web page.
In the implementation of the present invention, inventor find the above method the prior art has at least the following problems:
When due to whether being added in the corresponding bookmark of network address for inquiring current web page, if the bookmark added is more, Then the inquiry velocity of bookmark is slower, and bookmark management process is needed to wait query result just and can be continued to execute, cause expend when Between it is longer, therefore, the efficiency of management of bookmark is not high.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of management method of bookmark and devices.Institute It is as follows to state technical solution:
On the one hand, a kind of management method of bookmark is provided, which comprises
Obtain the network address of current web page;
Whether the corresponding bookmark of the network address of asynchronous query current web page has been added;
If the corresponding bookmark of the network address of current web page is not added, the operation for clicking bookmark interface alternation element is detected, And after detecting the operation for clicking the bookmark interface alternation element, the corresponding bookmark of network address of current web page is added.
On the other hand, a kind of managing device of bookmark is provided, described device includes:
First obtains module, for obtaining the network address of current web page;
Whether asynchronous query module, the corresponding bookmark of network address for asynchronous query current web page have been added;
First detection module, when not being added for the corresponding bookmark of network address in current web page, bookmark circle is clicked in detection The operation of face interactive elements;
Adding module, for adding current web page after detecting the operation for clicking the bookmark interface alternation element The corresponding bookmark of network address.
Technical solution provided in an embodiment of the present invention has the benefit that
By obtaining the network address of current web page, whether the corresponding bookmark of the network address of asynchronous query current web page has been added, If the corresponding bookmark of the network address of current web page is not added, after detecting the operation for clicking bookmark interface alternation element, add Add the corresponding bookmark of the network address of current web page.Due to whether having been added by the corresponding bookmark of network address of asynchronous query current web page Add, when the bookmark added is more, bookmark management process, which withouts waiting for query result, to be continued to execute, expend the time compared with Short, therefore, the efficiency of management of bookmark is higher.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of management method flow chart for bookmark that the embodiment of the present invention one provides;
Fig. 2 is a kind of management method flow chart of bookmark provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of addition interface schematic diagram of bookmark provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of deletion interface schematic diagram of bookmark provided by Embodiment 2 of the present invention;
Fig. 5 is the deletion interface schematic diagram of another bookmark provided by Embodiment 2 of the present invention;
Fig. 6 is the addition interface schematic diagram of another bookmark provided by Embodiment 2 of the present invention;
Fig. 7 is the addition interface schematic diagram of another bookmark provided by Embodiment 2 of the present invention;
Fig. 8 is a kind of structural schematic diagram of the managing device for bookmark that the embodiment of the present invention three provides;
Fig. 9 is a kind of structural schematic diagram for terminal that the embodiment of the present invention four provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
Since existing the relevant technologies are in administration of bookmark, if the bookmark added is more, the inquiry velocity of bookmark compared with Slowly, and bookmark management process is needed to wait query result just and can be continued to execute, cause expend time it is longer, therefore, bookmark The efficiency of management is not high.
In order to improve the efficiency of management of bookmark, the embodiment of the invention provides a kind of management method of bookmark, this method can Applied to terminal, which includes but is not limited to mobile phone, computer, tablet computer etc., provided in this embodiment referring to Fig. 1 Method flow includes:
101: obtaining the network address of current web page;
Wherein, after the network address for obtaining current web page, further includes:
Whether the network address of detection current web page jumps;
If detecting that the network address of current web page jumps, using the network address after jumping as the network address of current web page, And the corresponding bookmark of network address for re-executing asynchronous query current web page the step of whether being added.
102: whether the corresponding bookmark of the network address of asynchronous query current web page has been added;
Wherein, after whether the corresponding bookmark of the network address of asynchronous query current web page has been added, further includes:
If the corresponding bookmark of the network address of current web page has been added, the operation of bookmark interface alternation element is clicked in detection, and After detecting the operation for clicking bookmark interface alternation element, the corresponding bookmark of the network address of the current web page added is deleted It removes.
Wherein, after deleting the corresponding bookmark of the network address of the current web page added, further includes:
The first notice of bookmark is deleted in display, and the bookmark information of deletion is carried in the first notice.
103: if the corresponding bookmark of the network address of current web page is not added, detecting the behaviour for clicking bookmark interface alternation element Make, and after detecting the operation for clicking bookmark interface alternation element, adds the corresponding bookmark of network address of current web page.
Wherein, after the operation of detection click bookmark interface alternation element, further includes:
It shows that bookmark adds window, and obtains the bookmark addition information inputted on bookmark addition window;
Add the corresponding bookmark of network address of current web page, comprising:
Information is added according to bookmark to be added the corresponding bookmark of the network address of current web page.
Wherein, after the corresponding bookmark of network address for adding current web page, further includes:
The second of display addition bookmark notifies, the bookmark information of addition is carried in the second notice.
Method provided in this embodiment, by obtaining the network address of current web page, the network address of asynchronous query current web page is corresponding Bookmark whether be added, if the corresponding bookmark of the network address of current web page is not added, detecting click bookmark interface After the operation of interactive elements, the corresponding bookmark of network address of current web page is added.Due to passing through the network address of asynchronous query current web page Whether corresponding bookmark has been added, and when the bookmark added is more, bookmark management process withouts waiting for query result just It can continue to execute, the consuming time is shorter, and therefore, the efficiency of management of bookmark is higher.
Embodiment two
The embodiment of the invention provides a kind of management methods of bookmark, in conjunction with the content of above-described embodiment one, to this implementation The method that example provides is illustrated.Referring to fig. 2, method flow provided in this embodiment includes:
201: obtaining the network address of current web page;
The present embodiment does not make specific restriction to the acquisition modes for the network address for obtaining current web page, including but not limited to: obtaining Network address in the column of current address, network address of the network address in the column of current address that will acquire as current web page.Wherein, current net Page is the focusing webpage of current browser, and the corresponding network address of webpage that focuses of current browser is the network address in the column of current address.
For example, the focusing webpage of current browser is webpage 1, the corresponding network address of webpage 1 is network address 1, then current position at this time Network address in the column of location is also network address 1.The network address 1 in the column of current address is obtained, the network address 1 in the current address column that will acquire is made For the network address of current web page.
202: whether the corresponding bookmark of the network address of asynchronous query current web page has been added;
The present embodiment is not made the inquiry mode whether corresponding bookmark of the network address of asynchronous query current web page has been added It is specific to limit, including but not limited to: asynchronous look into is carried out in the corresponding network address of bookmark added according to the network address of current web page It askes;If the network address of current web page is in the corresponding network address of bookmark added, it is determined that the corresponding bookmark of the network address of current web page It has been added.If the network address of current web page is not in being added the corresponding network address of bookmark, it is determined that the network address pair of current web page The bookmark answered is not added.
It is synchronous query mode due to defaulting the inquiry mode used, all operations are all by leading in synchronous query mode Thread executes, i.e., when main thread, which proceeds to, inquires this step, needs just to can be carried out after waiting query result to determine subsequent Operation.When too long between when queried, main thread can be blocked in always inquire this step without can be carried out subsequent operation, because This, the efficiency of inquiry is lower.In order to solve this problem, the present embodiment is by the way of asynchronous query, the realization of asynchronous query Method includes but is not limited to: when main thread, which proceeds to, inquires this step, an agents query thread is created, by agents query line The operation of Cheng Zhihang inquiry, main thread continues subsequent operation, when acting on behalf of information trunk journey and getting query result, will look into Inquiry result returns to main thread and is called by main thread.
Wherein, before carrying out asynchronous query in the corresponding network address of bookmark added according to the network address of current web page, The corresponding network address of bookmark added can be locally stored in advance.Preferably, such as that each bookmark added is corresponding Network address is stored in a manner of tables of data locally, as shown in table 1:
Table 1
The bookmark added Network address
Bookmark 1 Network address 1
Bookmark 2 Network address 2
If when in the network address that the network address of current web page stores in table 1, it is determined that the corresponding bookmark of the network address of current web page It has been added.If when in the network address that the network address of current web page does not store in table 1, it is determined that the corresponding book of the network address of current web page Label are not added.
Further, also one ID(identification, mark can be set for the bookmark each added), the ID's Value is not 0.If the corresponding bookmark of the network address of current web page after query steps not in the bookmark added, by current net The ID value of the corresponding bookmark of network address of page is set as 0, after the corresponding bookmark of the network address of current web page becomes the bookmark added, Its ID value is become into non-zero numerical value again, the present embodiment is not especially limited this.If the corresponding bookmark of the network address of current web page When ID is non-zero value, it is determined that the corresponding bookmark of the network address of current web page has been added, when the corresponding book of the network address of current web page When the ID of label is 0, it is determined that the corresponding bookmark of the network address of current web page is not added.
In addition, sometimes having the process jumped since webpage is when being loaded.For example, current web page is being opened When, server side detects that current web page has replaced domain name, at this point, the new domain name that can be jumped to, and load corresponding Webpage.In response to this, method provided in this embodiment is further comprising the steps of: after the network address for obtaining current web page, inspection Whether the network address for surveying current web page jumps.If detecting that the network address of current web page jumps, by the net after jumping Network address of the location as current web page, and whether the corresponding bookmark of network address that re-executes asynchronous query current web page has been added Step.Certainly, the situation jumped automatically for webpage can also use the management method of other subsequent bookmarks, the present embodiment This is not especially limited.
203: if the corresponding bookmark of the network address of current web page is not added, detecting the behaviour for clicking bookmark interface alternation element Make;
When the operation of bookmark interface alternation element is clicked in detection, can be detected according to specific input equipment.For example, When input equipment is touch panel device, then in bookmark interface alternation element, corresponding coordinate position detection clicks behaviour on the touchscreen Work, the present embodiment are not especially limited this.
In order to which whether the corresponding bookmark of network address for making user be more easier to distinguish current web page is added, to bookmark interface When interactive elements are shown, bookmark interface alternation element can be shown with the first pattern, wherein the first pattern is worked as identifying The corresponding bookmark of the network address of preceding webpage is not added.
The present embodiment not specific restriction of display format work to bookmark interface alternation element is shown with the first pattern, including but Be not limited to: if the corresponding bookmark of the network address of current web page is not added, bookmark interface alternation element with coloured figure into Row display, the size of figure can be with the size on reference address column.Wherein, figure can be planar graph, solid figure etc., color It can be solid color, composite coloured etc., the present embodiment is not especially limited this.
For example, as shown in figure 3, if the corresponding bookmark of the network address of current web page is not added, bookmark interface on the left of address field Interactive elements are shown with the star figure of white.
Further, in order to keep the experience for adding bookmark more humanized, the friendship of bookmark interface can also be provided in browser Interface is arranged in mutual element, which can allow user independently to set shape, color, size of bookmark interface alternation element etc. Other parameters, the present embodiment are not especially limited this.
It should be noted that the position of bookmark interface alternation element can be placed in the left side of address field, when user needs hand When the corresponding bookmark of network address in dynamic addition address field, bookmark interface alternation element on the left of address field is clicked, thus convenient User operates.Certainly, bookmark interface alternation element can also be placed in other positions, and the present embodiment does not limit this specifically It is fixed.
On the contrary, can be marked using another way if the corresponding bookmark of the network address of current web page has been added Know, bookmark interface alternation element is such as shown that the present embodiment does not make this to have with the second pattern for being different from the first pattern Body limits.The display methods for showing bookmark interface alternation element with the second pattern includes but is not limited to: bookmark interface alternation element To be shown that the size of figure can be with the size on reference address column with the figure with the first pattern different colours.Wherein, scheme Shape can be planar graph, solid figure etc., and color can be solid color, composite coloured etc., and the present embodiment does not make this to have Body limits.Which kind of, it should be noted that no matter specifically using color, size or shape in the second pattern, it is required to guarantee The first pattern can be visually distinguished over, but for the visual connecting of user, bookmark interface alternation element is in the second pattern Under corresponding shapes and sizes can be consistent with corresponding shapes and sizes under the first pattern, the present embodiment does not make this to have Body limits.
For example, as shown in figure 4, if the corresponding bookmark of the network address of current web page has been added, bookmark interface on the left of address field Interactive elements are shown with the star figure of black.
Further, when with the second pattern show bookmark interface alternation element after, can also to the bookmark added into Row is deleted, and the present embodiment is not especially limited this.Wherein, the delet method deleted the bookmark added includes but not Be limited to: the operation of bookmark interface alternation element is clicked in detection, and after detecting the operation for clicking bookmark interface alternation element, right The corresponding bookmark of the network address of the current web page added is deleted.
The corresponding bookmark of the network address of current web page in order to notify user to add has been deleted, to having added After the corresponding bookmark of the network address of current web page is deleted, the first notice for deleting bookmark, the present embodiment pair can also be shown This is not especially limited.Wherein, the bookmark information of deletion can be carried in the first notice, certainly, can also be carried in the first notice Other contents, the present embodiment are also not especially limited this.
Wherein, the first notice can be with the following method in display: content to be shown is obtained, in terminal screen center Show the content got, display is gradually faded away until disappearing after 1 second or so.Certainly, according to the possible operating habit of user and User experience, can also show the first notice using other methods, and the present embodiment does not make the display mode of the first notice specific It limits, content to be shown is not defined equally, when guaranteeing display first notice, user can be allowed to learn deletion book The operation of label.
For example, as shown in figure 5, when the user clicks black star figure when, show " being deleted " four in center Screen Printed words, for reminding the corresponding bookmark of network address of user's current web page to be deleted.
204: after detecting the operation for clicking bookmark interface alternation element, adding the corresponding book of network address of current web page Label;
After detecting the operation for clicking bookmark interface alternation element, the corresponding bookmark of the network address of current web page can be direct It is added, can also be needed to carry out some settings to the corresponding bookmark of the network address of current web page according to user, then be added. The present embodiment does not make specific restriction to the addition manner of the corresponding bookmark of network address of addition current web page, including but not limited to: aobvious Show that bookmark adds window, and obtain the bookmark addition information inputted on bookmark addition window, information is added to current according to bookmark The corresponding bookmark of the network address of webpage is added.
Wherein, bookmark can be inputted in bookmark addition window for user and adds information, such as input the input frame of bookmark name, Determine that addition bookmarks button etc., the present embodiment do not make specific limit to the content of bookmark addition information.
For example, as shown in fig. 6, when the user clicks white star figure when, display bookmark adds window, bookmark name is arranged Referred to as example, user can input bookmark name in input frame shown in Fig. 6, and clicking can be completed after determining to bookmark name Setting.
Further, in order to notify the corresponding bookmark of network address of user's current web page to be added, to current net After the corresponding bookmark of network address of page is added, the second notice of addition bookmark can also be shown, the present embodiment does not make this It is specific to limit.Wherein, the bookmark information of addition can be carried in the second notice, certainly, can also be carried in other in the second notice Hold, the present embodiment is also not especially limited this.
The present embodiment does not make specific restriction to the display mode that display second notifies, detailed process can refer to step 203 In first notice display mode, details are not described herein again.
For example, as shown in fig. 7, when the user clicks after white star figure, " being added " four is shown in center Screen Printed words, for reminding the corresponding bookmark of network address of user's current web page to be added.
Method provided in this embodiment, by obtaining the network address of current web page, the network address of asynchronous query current web page is corresponding Bookmark whether be added, if the corresponding bookmark of the network address of current web page is not added, detecting click bookmark interface After the operation of interactive elements, the corresponding bookmark of network address of current web page is added.Due to passing through the network address of asynchronous query current web page Whether corresponding bookmark has been added, and when the bookmark added is more, bookmark management process withouts waiting for query result just It can continue to execute, the consuming time is shorter, and therefore, the efficiency of management of bookmark is higher.
Embodiment three
The embodiment of the invention provides a kind of managing device of bookmark, the device is for executing above-described embodiment one or implementing The management method for the bookmark that example two provides.Referring to Fig. 8, which includes:
First obtains module 801, for obtaining the network address of current web page;
Whether asynchronous query module 802, the corresponding bookmark of network address for asynchronous query current web page have been added;
First detection module 803, when not being added for the corresponding bookmark of network address in current web page, bookmark is clicked in detection The operation of interface alternation element;
Adding module 804, for adding the net of current web page after detecting the operation for clicking bookmark interface alternation element The corresponding bookmark in location.
As a kind of preferred embodiment, the device further include:
Whether the second detection module, the network address for detecting current web page jump;
Asynchronous query module 802, for when the network address for detecting current web page jumps, then by the network address after jumping As the network address of current web page, and the step whether corresponding bookmark of network address for re-executing asynchronous query current web page has been added Suddenly.
As a kind of preferred embodiment, the device further include:
Display module, for showing that bookmark adds window;
Second obtains module, adds information for obtaining the bookmark inputted on bookmark addition window;
Adding module 804 is added the corresponding bookmark of the network address of current web page for adding information according to bookmark.
As a kind of preferred embodiment, the device further include:
Third detection module, when being added for the corresponding bookmark of network address in current web page, bookmark circle is clicked in detection The operation of face interactive elements;
Removing module, for detect click bookmark interface alternation element operation after, to the current web page added The corresponding bookmark of network address deleted.
As a kind of preferred embodiment, the device further include:
First display module carries the bookmark information of deletion for showing the first notice for deleting bookmark in the first notice.
As a kind of preferred embodiment, the device further include:
Second display module carries the bookmark information of addition for showing the second notice of addition bookmark in the second notice.
Device provided in this embodiment, by obtaining the network address of current web page, the network address of asynchronous query current web page is corresponding Bookmark whether be added, if the corresponding bookmark of the network address of current web page is not added, detecting click bookmark interface After the operation of interactive elements, the corresponding bookmark of network address of current web page is added.Due to passing through the network address of asynchronous query current web page Whether corresponding bookmark has been added, and when the bookmark added is more, bookmark management process withouts waiting for query result just It can continue to execute, the consuming time is shorter, and therefore, the efficiency of management of bookmark is higher.
Example IV
A kind of terminal is present embodiments provided, which can be used for executing the management method of bookmark in above-described embodiment. Referring to Fig. 9, which includes:
Terminal 900 may include RF(Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi(Wireless Fidelity, Wireless Fidelity) module 170, include one or more than one the processing of processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 9 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 900 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 900 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 9 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 900 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 900 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 9 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 900, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 900, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 900 further includes the power supply 190(such as battery powered to all parts), it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 900 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal is touch-screen display, and terminal further includes having memory and one or more than one Program, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of them Device executes.The one or more programs include instructions for performing the following operations:
Obtain the network address of current web page;
Whether the corresponding bookmark of the network address of asynchronous query current web page has been added;
If the corresponding bookmark of the network address of current web page is not added, the operation for clicking bookmark interface alternation element is detected, And after detecting the operation for clicking bookmark interface alternation element, the corresponding bookmark of network address of current web page is added.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of terminal, also include instructions for performing the following operations:
Whether the network address of detection current web page jumps;
If detecting that the network address of current web page jumps, using the network address after jumping as the network address of current web page, And the corresponding bookmark of network address for re-executing asynchronous query current web page the step of whether being added.
In the third the possible embodiment provided based on the first possible embodiment, terminal is deposited Also include instructions for performing the following operations in reservoir:
It shows that bookmark adds window, and obtains the bookmark addition information inputted on bookmark addition window;
Add the corresponding bookmark of network address of current web page, comprising:
Information is added according to bookmark to be added the corresponding bookmark of the network address of current web page.
In the 4th kind of possible embodiment provided based on the first possible embodiment, terminal is deposited Also include instructions for performing the following operations in reservoir:
If the corresponding bookmark of the network address of current web page has been added, the operation of bookmark interface alternation element is clicked in detection, and After detecting the operation for clicking bookmark interface alternation element, the corresponding bookmark of the network address of the current web page added is deleted It removes.
In the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment, terminal is deposited Also include instructions for performing the following operations in reservoir:
The first notice of bookmark is deleted in display, and the bookmark information of deletion is carried in the first notice.
In the 6th kind of possible embodiment provided based on the first possible embodiment, terminal is deposited Also include instructions for performing the following operations in reservoir:
The second of display addition bookmark notifies, the bookmark information of addition is carried in the second notice.
Terminal provided by the invention, by obtaining the network address of current web page, the network address of asynchronous query current web page is corresponding Whether bookmark has been added, if the corresponding bookmark of the network address of current web page is not added, is detecting that clicking bookmark interface hands over After the operation of mutual element, the corresponding bookmark of network address of current web page is added.Due to passing through the network address pair of asynchronous query current web page Whether the bookmark answered has been added, and when the bookmark added is more, bookmark management process withouts waiting for query result energy It continues to execute, the consuming time is shorter, and therefore, the efficiency of management of bookmark is higher.
Embodiment five
The embodiment of the invention also provides a kind of computer readable storage medium, which be can be Computer readable storage medium included in memory in above-described embodiment;It is also possible to individualism, eventually without supplying Computer readable storage medium in end.The computer-readable recording medium storage has one or more than one program, this one A or more than one program is used to execute the management method for realizing bookmark, this method by one or more than one processor Include:
Obtain the network address of current web page;
Whether the corresponding bookmark of the network address of asynchronous query current web page has been added;
If the corresponding bookmark of the network address of current web page is not added, the operation for clicking bookmark interface alternation element is detected, And after detecting the operation for clicking bookmark interface alternation element, the corresponding bookmark of network address of current web page is added.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, it is described obtain current web page network address after, further includes:
Whether the network address of detection current web page jumps;
If detecting that the network address of current web page jumps, using the network address after jumping as the network address of current web page, And the corresponding bookmark of network address for re-executing asynchronous query current web page the step of whether being added.
In the third the possible embodiment provided based on the first possible embodiment, the detection After the operation for clicking bookmark interface alternation element, further includes:
It shows that bookmark adds window, and obtains the bookmark addition information inputted on bookmark addition window;
Add the corresponding bookmark of network address of current web page, comprising:
Information is added according to bookmark to be added the corresponding bookmark of the network address of current web page.
It is described asynchronous in the 4th kind of possible embodiment provided based on the first possible embodiment After whether the corresponding bookmark of network address of inquiry current web page has been added, further includes:
If the corresponding bookmark of the network address of current web page has been added, the operation of bookmark interface alternation element is clicked in detection, and Detect click bookmark interface alternation element operation after, to the corresponding bookmark of the network address of the current web page added into Row is deleted.
It is described in the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment After the corresponding bookmark of the network address of the current web page of addition is deleted, further includes:
The first notice of bookmark is deleted in display, and the bookmark information of deletion is carried in the first notice.
In the 6th kind of possible embodiment provided based on the first possible embodiment, the addition After the corresponding bookmark of the network address of current web page, further includes:
The second of display addition bookmark notifies, the bookmark information of addition is carried in the second notice.
Computer readable storage medium provided in an embodiment of the present invention, by obtaining the network address of current web page, asynchronous query Whether the corresponding bookmark of the network address of current web page has been added, if the corresponding bookmark of the network address of current web page is not added, After detecting the operation for clicking bookmark interface alternation element, the corresponding bookmark of network address of current web page is added.Due to by asynchronous Whether the corresponding bookmark of network address of inquiry current web page has been added, and when the bookmark added is more, bookmark management process is not It needs to wait query result that can continue to execute, the consuming time is shorter, and therefore, the efficiency of management of bookmark is higher.
Embodiment six
The embodiment of the invention provides a kind of graphical user interface, the graphical user interface is used at the terminal, the end End includes touch-screen display, memory and one for executing one or more than one program or more than one Processor;The graphical user interface includes:
Obtain the network address of current web page;
Whether the corresponding bookmark of the network address of asynchronous query current web page has been added;
If the corresponding bookmark of the network address of current web page is not added, the operation for clicking bookmark interface alternation element is detected, And after detecting the operation for clicking bookmark interface alternation element, the corresponding bookmark of network address of current web page is added.
Graphical user interface provided in an embodiment of the present invention, by obtaining the network address of current web page, the current net of asynchronous query Whether the corresponding bookmark of network address of page has been added, if the corresponding bookmark of the network address of current web page is not added, is detecting After the operation for clicking bookmark interface alternation element, the corresponding bookmark of network address of current web page is added.Due to being worked as by asynchronous query Whether the corresponding bookmark of the network address of preceding webpage has been added, and when the bookmark added is more, bookmark management process is not needed Result to be checked can continue to execute, and the consuming time is shorter, and therefore, the efficiency of management of bookmark is higher.
It should be understood that the managing device of bookmark provided by the above embodiment is in administration of bookmark, only with above-mentioned each function Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions Module is completed, i.e., the internal structure of device is divided into different functional modules, described above all or part of to complete Function.In addition, the managing device of above-described embodiment bookmark and the management method embodiment of bookmark belong to same design, it is specific real Existing process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of management method of bookmark, which is characterized in that the described method includes:
Obtain the network address of current web page;
Whether the corresponding bookmark of the network address of asynchronous query current web page has been added;
If the corresponding bookmark of the network address of current web page is not added, detect click bookmark interface alternation element operation, and After detecting the operation for clicking the bookmark interface alternation element, the corresponding bookmark of network address of current web page is added,
If wherein the corresponding bookmark of the network address of current web page is not added, the bookmark interface alternation element is shown with the first pattern Show, if the corresponding bookmark of the network address of current web page has been added, by the bookmark interface alternation element to be different from described the Second pattern of one pattern is shown.
2. the method according to claim 1, wherein after the network address for obtaining current web page, further includes:
Whether the network address of detection current web page jumps;
If detecting that the network address of current web page jumps, using the network address after jumping as the network address of current web page, lay equal stress on The step of whether new corresponding bookmark of network address for executing asynchronous query current web page has been added.
3. the method according to claim 1, wherein it is described detection click bookmark interface alternation element operation it Afterwards, further includes:
It shows that bookmark adds window, and obtains the bookmark addition information inputted on the bookmark addition window;
The corresponding bookmark of network address of the addition current web page, comprising:
Information is added according to the bookmark to be added the corresponding bookmark of the network address of current web page.
4. the method according to claim 1, wherein the corresponding bookmark of network address of the asynchronous query current web page After whether being added, further includes:
If the corresponding bookmark of the network address of current web page has been added, the operation of bookmark interface alternation element is clicked in detection, and is being examined After measuring the operation for clicking the bookmark interface alternation element, to the corresponding bookmark of the network address of the current web page added into Row is deleted.
5. according to the method described in claim 4, it is characterized in that, the network address to the current web page added is corresponding Bookmark deleted after, further includes:
The first notice of bookmark is deleted in display, and the bookmark information of deletion is carried in first notice.
6. the method according to claim 1, wherein it is described addition current web page the corresponding bookmark of network address it Afterwards, further includes:
The second of display addition bookmark notifies, the bookmark information of addition is carried in second notice.
7. a kind of managing device of bookmark, which is characterized in that described device includes:
First obtains module, for obtaining the network address of current web page;
Whether asynchronous query module, the corresponding bookmark of network address for asynchronous query current web page have been added;
First detection module, when not being added for the corresponding bookmark of network address in current web page, detection is clicked bookmark interface and is handed over The operation of mutual element;
Adding module, for adding the network address of current web page after detecting the operation for clicking the bookmark interface alternation element Corresponding bookmark,
If wherein the corresponding bookmark of the network address of current web page is not added, the bookmark interface alternation element is shown with the first pattern Show, if the corresponding bookmark of the network address of current web page has been added, by the bookmark interface alternation element to be different from described the Second pattern of one pattern is shown.
8. device according to claim 7, which is characterized in that described device, further includes:
Whether the second detection module, the network address for detecting current web page jump;
The asynchronous query module, for when the network address for detecting current web page jumps, then the network address after jumping to be made For the network address of current web page, and the step whether corresponding bookmark of network address for re-executing asynchronous query current web page has been added Suddenly.
9. device according to claim 7, which is characterized in that described device, further includes:
Display module, for showing that bookmark adds window;
Second obtains module, adds information for obtaining the bookmark inputted on the bookmark addition window;
The adding module is added the corresponding bookmark of the network address of current web page for adding information according to the bookmark.
10. device according to claim 7, which is characterized in that described device, further includes:
Third detection module, when being added for the corresponding bookmark of network address in current web page, detection is clicked bookmark interface and is handed over The operation of mutual element;
Removing module, it is described current to what is added for after detecting the operation for clicking the bookmark interface alternation element The corresponding bookmark of the network address of webpage is deleted.
11. device according to claim 10, which is characterized in that described device, further includes:
First display module carries the bookmark information of deletion for showing the first notice for deleting bookmark in first notice.
12. device according to claim 7, which is characterized in that described device, further includes:
Second display module carries the bookmark information of addition for showing the second notice of addition bookmark in second notice.
CN201410062638.8A 2014-02-24 2014-02-24 The management method and device of bookmark Active CN104866492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410062638.8A CN104866492B (en) 2014-02-24 2014-02-24 The management method and device of bookmark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410062638.8A CN104866492B (en) 2014-02-24 2014-02-24 The management method and device of bookmark

Publications (2)

Publication Number Publication Date
CN104866492A CN104866492A (en) 2015-08-26
CN104866492B true CN104866492B (en) 2019-10-11

Family

ID=53912331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410062638.8A Active CN104866492B (en) 2014-02-24 2014-02-24 The management method and device of bookmark

Country Status (1)

Country Link
CN (1) CN104866492B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528626A (en) * 2016-09-30 2017-03-22 维沃移动通信有限公司 Webpage tag generation method and mobile terminal
CN112199612B (en) * 2020-10-10 2024-04-19 Vidaa美国公司 Bookmark adding and combining method and display equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751462A (en) * 2009-11-30 2010-06-23 华为终端有限公司 Network information storage and access methods, equipment and terminals
CN102467554A (en) * 2010-11-16 2012-05-23 英业达股份有限公司 Webpage data updating method and electronic device using same
CN102831252A (en) * 2012-09-21 2012-12-19 北京奇虎科技有限公司 Method and device for updating index database and search method and system
CN103019606A (en) * 2012-12-26 2013-04-03 北京百度网讯科技有限公司 Webpage management method and device for mobile terminal, and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120048886A (en) * 2010-11-08 2012-05-16 삼성전자주식회사 Method and apparatus for outputting a web page

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751462A (en) * 2009-11-30 2010-06-23 华为终端有限公司 Network information storage and access methods, equipment and terminals
CN102467554A (en) * 2010-11-16 2012-05-23 英业达股份有限公司 Webpage data updating method and electronic device using same
CN102831252A (en) * 2012-09-21 2012-12-19 北京奇虎科技有限公司 Method and device for updating index database and search method and system
CN103019606A (en) * 2012-12-26 2013-04-03 北京百度网讯科技有限公司 Webpage management method and device for mobile terminal, and mobile terminal

Also Published As

Publication number Publication date
CN104866492A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN106453053B (en) Group message display methods and device
CN105278937B (en) A kind of method and device showing pop-up box message
CN104112213B (en) The method and device of recommendation information
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN106933525B (en) A kind of method and apparatus showing image
CN106126411B (en) The method and apparatus that a kind of pair of tested program code is tested
CN104869465B (en) video playing control method and device
CN104021129B (en) Show the method and terminal of group picture
CN105955597B (en) Information display method and device
US9798713B2 (en) Method for configuring application template, method for launching application template, and mobile terminal device
CN105530239B (en) Multi-medium data acquisition methods and device
CN106371749A (en) Method and device for terminal control
CN104699501B (en) A kind of method and device for running application program
CN104598542B (en) The display methods and device of multimedia messages
CN103399706B (en) Page interaction, device and terminal
CN106155888A (en) The detection method of webpage loading performance and device in a kind of Mobile solution
CN104834655B (en) A kind of method and apparatus for the mass parameter for showing Internet resources
CN105094872B (en) A kind of method and apparatus showing web application
CN105677162B (en) The display methods and device of matching condition list
CN104965825B (en) A kind of method and terminal of data processing
CN104866492B (en) The management method and device of bookmark
CN105224159B (en) The method, apparatus and terminal of display window
CN107766351A (en) The recognition methods of file directory and device
CN104852944B (en) The display methods and device of login interface
CN105872041B (en) The processing method and processing device of operation object

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant