CN105589865A - Website icon management method and apparatus - Google Patents

Website icon management method and apparatus Download PDF

Info

Publication number
CN105589865A
CN105589865A CN201410566710.0A CN201410566710A CN105589865A CN 105589865 A CN105589865 A CN 105589865A CN 201410566710 A CN201410566710 A CN 201410566710A CN 105589865 A CN105589865 A CN 105589865A
Authority
CN
China
Prior art keywords
icon
network address
data
described network
browser
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.)
Granted
Application number
CN201410566710.0A
Other languages
Chinese (zh)
Other versions
CN105589865B (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.)
Shenzhen Yayue Technology 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 CN201410566710.0A priority Critical patent/CN105589865B/en
Publication of CN105589865A publication Critical patent/CN105589865A/en
Application granted granted Critical
Publication of CN105589865B publication Critical patent/CN105589865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a website icon management method. The website icon management method comprises the steps of receiving a website visiting instruction, and acquiring a website of a to-be-visited website assigned by the instruction; determining whether the local stores data of the icon of the website; if yes, drawing the icon of the website in a browser according to the data that is of the icon of the website and is stored in the local; and if not, acquiring the data of the icon of the website from a corresponding server according to the website, and drawing the icon of the website in the browser according to the acquired data of the icon of the website. The invention also provides a website icon management apparatus. Through adoption of the website icon management method and apparatus, the efficiency of drawing the website icon can be improved.

Description

The management method of the icon of network address and device
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of network address icon management method andDevice.
Background technology
Browser is the client browser of WWW (Web) service, can send to Web serverVarious requests, and the hypertext information of sending from Web server and various multimedia data format are enteredRow is explained, is shown and plays. Network address is station address, also claims URL (UniformResourceLocator, URL), be the address of the resource of standard on internet. Each network address canHave the icon (icon) of oneself, browser can show on label, bookmark hurdle the icon of this network address, to increaseAdd the discrimination between different network address. Prior art is generally understood the store path of the data of buffer memory icon,In the time that browser need to be drawn icon on label or bookmark hurdle, first from this icon's of Network CaptureData, draw this icon according to the data of this accessed icon. Because each browser starts allNeed to be from the data of Network Capture icon, this has just increased draws the time of waiting for. When bookmark hurdle bookmarkWhen more, download the data of obtaining more icon also can affect the loading velocity of website simultaneously.
Summary of the invention
In view of this, the invention provides a kind of management method and device of icon of network address, can improve and paintThe efficiency of the icon of network address processed.
The management method of the icon of the network address that the embodiment of the present invention provides, comprising: reception access websitesInstruction, obtains the network address of the website to be visited of described instruction sensing; Judge whether this locality stores to some extentState the data of the icon of network address; The data of the icon of the described network address of if so, storing according to this locality,The icon of described network address is plotted in browser; If not, according to described network address from corresponding serviceDevice obtains the data of the icon of described network address, according to the data of the icon of the described network address of obtaining, by instituteThe icon of stating network address is plotted in described browser.
The management devices of the icon of the network address that the embodiment of the present invention provides, comprising: receiver module, forReceive the instruction of access websites; Acquisition module, the described instruction receiving for obtaining described receiver moduleThe network address of the website to be visited of pointing to; Judge module, for judging this locality is obtained described in whether storingThe data of the icon of the described network address that delivery piece obtains; Drafting module, if for described judge moduleJudged result is yes, according to the data of the icon of the described network address of this locality storage, by described network addressIcon is plotted in browser; Described acquisition module, if also for the judged result of described judge moduleBe no, obtain the data of the icon of described network address according to described network address from corresponding server; DescribedDrafting module, also for the data of the icon of the described network address obtained according to described acquisition module, by instituteThe icon of stating network address is plotted in described browser.
The management method of the icon of the above-mentioned network address that the embodiment of the present invention provides and device, by drawingBefore the icon of network address, first judge the local data that whether store the icon of the network address of website to be visited,If the local data that store the icon of this network address, directly according to the icon of this network address of this locality storageData, this icon is plotted in browser, can save while drawing the icon of network address and wait for from serviceDevice is downloaded the time of the data of this icon, thereby can improve on the whole the speed of the icon of drawing network addressAnd efficiency.
For above and other object of the present invention, feature and advantage can be become apparent, cited below particularlyPreferred embodiment, and coordinate appended graphicly, be described in detail below.
Brief description of the drawings
The management method of icon and the applied environment of device of the network address that Fig. 1 provides for the embodiment of the present inventionFigure;
Fig. 2 shows a kind of structured flowchart of user terminal;
The flow chart of the management method of the icon of the network address that Fig. 3 provides for first embodiment of the invention;
The flow chart of the management method of the icon of the network address that Fig. 4 provides for second embodiment of the invention;
Icon database in the management method of the icon of the network address that Fig. 5 provides for second embodiment of the inventionSchematic diagram;
The structural representation of the management devices of the icon of the network address that Fig. 6 provides for third embodiment of the invention;
The structural representation of the management devices of the icon of the network address that Fig. 7 provides for fourth embodiment of the invention.
Detailed description of the invention
Technological means and the merit taked for realizing predetermined goal of the invention for further setting forth the present inventionEffect, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure,Feature and effect thereof, be described in detail as follows.
Refer to Fig. 1, management method and the device of the icon of the network address that Fig. 1 provides for the embodiment of the present inventionApplied environment figure. As shown in Figure 1, server 100 and user terminal 200 are positioned at wireless or wiredIn network, wireless or cable network by this, server 100 carries out data friendship with user terminal 200Mutually.
User terminal 200 receives the instruction of access websites, obtains the website to be visited that this instruction is pointed toNetwork address; Judge the local data that whether store the icon of this network address; If so, deposit according to this localityThe data of the icon of this network address of storage, are plotted in the icon of this network address in browser; If not, rootObtain the data of the icon of this network address from corresponding server 100 according to this network address, according to this net obtainingThe data of the icon of location, are plotted in the icon of this network address in this browser.
Above implementation, refers to the detailed description in following each embodiment.
Fig. 2 shows a kind of structured flowchart of user terminal. As shown in Figure 2, user terminal 200 wrapsDraw together: memory 202, storage control 204, one or more (only illustrating one in figure) processor206, Peripheral Interface 208, radio-frequency module 210, audio-frequency module 212, display module 214 and buttonModule 216. These assemblies are by the mutual communication of one or more communication bus/holding wire 218.
Be appreciated that the structure shown in Fig. 2 is only signal, user terminal 200 also can comprise and compares Fig. 2Shown in more or assembly still less, or have and configurations different shown in Fig. 2. Institute in Fig. 2The each assembly showing can adopt hardware, software or its combination to realize.
Memory 202 can be used for storing software program and module, as the network address in the embodiment of the present inventionIcon management method and install corresponding programmed instruction/module, processor 206 is stored by operationSoftware program in memory 202 and module, thus various function application and data place carried outManage, realize the management method of the icon of above-mentioned network address.
Memory 202 can comprise high speed random access memory, also can comprise nonvolatile memory, as oneIndividual or multiple magnetic storage devices, flash memory or other non-volatile solid state memories. At someIn example, memory 202 can further comprise the memory with respect to processor 206 long-range settings,These remote memories can be connected to user terminal 200 by network. The example of above-mentioned network comprise butBe not limited to internet, intranet, LAN, mobile radio communication and combination thereof. Processor 206And other possible assemblies can enter the access of memory 202 under the control of storage control 204OK.
Various softwares in processor 206 run memories 202, instruction are to carry out user terminal 200Various functions and carry out data processing.
Peripheral Interface 208 is for being coupled to various external equipments CPU and memory 202.
In certain embodiments, storage control 204, processor 206 and Peripheral Interface 208 canIn one single chip, realize. In some other example, they can be respectively realized by chip independently.
Radio-frequency module 210, for receiving and sending electromagnetic wave, is realized the mutual of electromagnetic wave and the signal of telecommunicationConversion, thus carry out communication with communication network or other equipment. Radio-frequency module 210 can comprise variousExisting for carrying out the component of these functions, for example, antenna, RF transceiver, numeral letterNumber processor, encrypt/decrypt chip, subscriber identity module (SIM) card, memory etc. Radio frequencyModule 210 can be carried out communication or logical as internet, intranet, wireless network with diverse networkCross wireless network and other equipment carries out communication. Above-mentioned wireless network can comprise cellular telephone networks,WLAN or Metropolitan Area Network (MAN). Above-mentioned wireless network can use various communication standards, agreement andTechnology, includes, but are not limited to global system for mobile communications (GlobalSystemforMobileCommunication, GSM), enhancement mode mobile communication technology (EnhancedDataGSMEnvironment, EDGE), Wideband CDMA Technology (widebandcodedivisionmultipleAccess, W-CDMA), CDMA (Codedivisionaccess, CDMA), timeDivision multiple access technology (timedivisionmultipleaccess, TDMA), bluetooth, Wireless FidelityTechnology (Wireless, Fidelity, WiFi) is (as IEEE-USA's standardIEEE802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), network electricityWords (Voiceoverinternetprotocol, VoIP), worldwide interoperability for microwave access (WorldwideInteroperabilityforMicrowaveAccess, Wi-Max), other for mail,The agreement of Shi Tongxin and short message, and any other suitable communications protocol, even can comprise thoseThe current agreement being developed not yet.
Audio-frequency module 212 provides COBBAIF to user, and it can comprise one or more microphones,Individual or multiple loudspeakers and voicefrequency circuit. Voicefrequency circuit receives sound number from Peripheral Interface 208According to, voice data is converted to telecommunications breath, telecommunications breath is transferred to loudspeaker. Loudspeaker ceases telecommunicationsChange the sound wave that can hear into people's ear. Voicefrequency circuit also receives telecommunications breath from microphone, by the signal of telecommunicationBe converted to voice data, and by data transmission in network telephony in Peripheral Interface 208 further to locateReason. Voice data can obtain from memory 202 or by radio-frequency module 210. In addition sound,Audio data also can be stored in memory 202 or by radio-frequency module 210 and send. OneIn a little examples, audio-frequency module 212 also can comprise that an earphone broadcasts hole, for establishing to earphone or otherThe standby COBBAIF that provides.
Display module 214 provides an output interface between user terminal 200 and user, to userDisplay video output, the content of these video outputs can comprise word, figure, video and anyCombination. Some Output rusults are corresponding to some user interface object. Understandable, display module214 can also provide an output and inputting interface between user terminal 200 and user simultaneously. SpecificallyGround, except to the output of user's display video, display module 214 also receives user's input, exampleAs user's the gesture operation such as click, slip, so that user interface object is done these users' inputGo out response. The technology that detects user input can be arbitrarily can based on resistance-type, condenser type or otherThe touch control detection technology of energy. The instantiation of display module 214 display units includes, but are not limited to liquidCrystal display or light emitting polymer display.
The interface that key-press module 216 provides user to input to user terminal 200 equally, Yong HukeWith by pressing different buttons so that user terminal 200 is carried out different functions.
User terminal 200 can comprise: network enabled transfer of data and have the intelligence of website visiting functionEnergy mobile phone, panel computer, E-book reader, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3), MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio layerFace 4) player, pocket computer on knee, vehicle-mounted computer, wearable device, navigator, oneMachine, desktop computer etc.
The first embodiment
Refer to Fig. 3, the management method of the icon of the network address that Fig. 3 provides for first embodiment of the inventionFlow chart. The management method of the icon of the network address that as shown in Figure 3, the present embodiment provides comprises:
Step S101, receives the instruction of access websites, obtains website to be visited that this instruction points toNetwork address;
In the present embodiment, in user terminal 200, preset browser. By this browser, receiveThe instruction of the access websites that user triggers, obtains the network address of the website to be visited of this instruction sensing, exampleIf: user is in the search column of this browser or the network address of Web address field input or according in this user's inputThe corresponding network address of literary composition domain Name acquisition, the net of clicking in certain webpage that user shows in this browserStand and link corresponding network address, user is in selected network address of the collection of browser etc.
Step S102, judges the local data that whether store the icon of this network address;
If so, perform step S103: according to the data of the icon of this network address of this locality storage, shouldThe icon of network address is plotted in browser;
If the local data that store the icon of the network address of website to be visited, directly load this locality and depositThe data of the icon of this network address of storage, and according to these data, the icon of this network address is plotted in to browserPreset position, this preset position can comprise: the label hurdle corresponding with this network address in browser is (generalBe positioned at the top of the display window of website corresponding to this network address) and bookmark hurdle (or collection hurdle).
If not, perform step S104: the figure that obtains this network address according to this network address from corresponding serverTarget data, according to the data of the icon of this network address of obtaining, are plotted in the icon of this network address that this is clearLook in device.
If the local data that do not store the icon of the network address of website to be visited, according to this network address,When the server 100 from corresponding obtains the resource data of this website, obtain from server 100The data of the icon of this network address, then search position corresponding with this network address in browser according to this network address,Then according to the data of the icon of this network address of obtaining from server 100, the icon of this network address is drawnThe position finding.
The management method of the icon of the network address that the embodiment of the present invention provides, by the icon drawing network addressFrontly first judge the local data that whether store the icon of the network address of website to be visited, if local storageThere are the data of the icon of this network address, directly according to the data of the icon of this network address of this locality storage, willThis icon is plotted in browser, can save the icon of drawing network address time, waits for and downloads this figure from serverThe time of target data, thus speed and the efficiency of icon of drawing network address can be improved on the whole.
The second embodiment
Refer to Fig. 4, the management method of the icon of the network address that Fig. 4 provides for second embodiment of the inventionFlow chart. The management method of the icon of the network address that as shown in Figure 4, the present embodiment provides comprises:
Step S201, starts browser by main thread;
User terminal 200 receives the instruction that starts browser, creates main thread, opens by this main threadMoving preset browser. The wherein instruction of this startup browser, can be because of the icon of user's click browserOperation and trigger, or because of calling that other application programs that plug-in unit of this browser is installed are carried outThe behavior of this browser and triggering.
Step S202, in the time detecting that this browser startup exceedes preset duration, by icon databaseData be loaded on internal memory;
User terminal 200 plays beginning timing successfully starting by main thread in this browser, works as warpWhen the duration of crossing exceedes preset duration (as: 10 seconds), the outside that is preset at user terminal 200 is depositedThe data of for example, storing in the icon database of reservoir (: hard disk) be loaded on user terminal 200 inPortion's memory (being internal memory). The data of storing in this icon database can comprise: network address, this network addressThe data of icon and the data of the icon of this network address and this network address between corresponding relation. PreferablyGround, as shown in Figure 5, can also store the domain name of this network address in this icon database, and by this netThe domain name of location is as the index of the data of the icon of this network address of inquiry.
Because the reading speed of internal memory is faster than external memory storage, therefore the data in icon database are addedBe loaded onto internal memory, can improve the speed that reads the data in icon database, and start at this browserAfter preset duration, be loaded on being preset at the data of storing in the icon database of external memory storage in advanceInternal memory, can make when icon corresponding to network address that stores website to be visited in this icon databaseData time, user terminal 200 can be directly according to being loaded in advance this icon database in internal memoryIn the data of this icon, this icon is plotted in browser, draw the stand-by period thereby can reduce,Improve speed and the efficiency of draw icons.
Step S203, receives the instruction of access websites, obtains the website to be visited that described instruction is pointed toNetwork address;
User terminal 200 receives the instruction of user in the access websites of this browser triggering, obtains this and refers toThe network address of the website that order is pointed to, for example: user is at the search column of this browser or the net of Web address field inputLocation or the corresponding network address of obtaining according to the Chinese domain name of this user's input, user is aobvious in this browserNetwork address corresponding to web site url of clicking in certain webpage showing, user is selected at the collection of browserNetwork address etc.
Step S204, obtains the domain name of this network address, inquires about local icon database, judges this iconIn database, whether store the data of the icon of this network address corresponding with this domain name;
Domain name (DomainName), by a string internet forming by the name that point is separated(Internet) upper a certain computer or calculate the title of unit, for mark meter when the transfer of dataThe electronic bearing of calculation machine. In the present embodiment, user terminal 200 is resolved the network address of website to be visited,Therefrom extract the domain name of this network address, and taking this domain name as index, inquire about this icon database, according to looking intoAsk result and judge the number that whether stores the icon of the network address corresponding with this domain name in this icon databaseAccording to. Because domain name can directly be extracted from network address, like this taking domain name as network address corresponding to search indexThe data of icon, can simplify query steps, improve inquiry velocity.
Step S205, if store the data of the icon of this network address in this icon database, searches thisLabel hurdle and the bookmark hurdle corresponding with this network address in browser, should according to what store in this icon databaseThe data of the icon of network address, are plotted in the icon of this network address in this label hurdle and this bookmark hurdle;
If store the figure of the network address corresponding with the domain name of website to be visited in local icon databaseTarget data, user terminal 200 directly reads the number of the icon of this network address from this icon databaseAccording to, search label hurdle corresponding with this network address in this browser and (or the collection of bookmark hurdle according to this network addressHurdle), then according to the data of the icon of this network address reading, this icon is plotted in to this label hurdle and is somebody's turn to doIn bookmark hurdle.
Step S206, if do not store the data of the icon of this network address in this icon database, startsWorker thread, downloads the icon of this network address from corresponding server according to this network address by this worker threadData;
If do not store the network address corresponding with the domain name of website to be visited in local icon databaseThe data of icon, user terminal 200 starts worker thread, by this worker thread, according to this netLocation, when the server 100 from corresponding is downloaded the resource data of this website to be visited, from clothesBusiness device 100 is downloaded the data of the icon of this network address.
Step S207, is stored in the data of the icon of this network address in this icon database, and main to thisThread sends the successful notification message of data of the icon of downloading this network address;
User terminal 200 by worker thread by the number of icon of the network address of the website to be visited of downloadingThe domain name of this network address is index according to this, and the icon database writing in local hard drive is stored, thenSend the successful notification message of data of the icon of downloading this network address to main thread.
Step S208, receives this notification message by this main thread, searches in this browser and this network addressCorresponding label hurdle and bookmark hurdle, according to the data of the icon of this network address of downloading, by the figure of this network addressMark and draw in this label hurdle and this bookmark hurdle.
Main thread is by the various message in the queue of message loop module searching message, when retrieving workWhen the successful notification message of data of icon of this this network address of download that thread sends, exist according to this network addressIn browser, search the label hurdle corresponding with this network address and bookmark hurdle, then according to this network address of downloadingThe data of icon, are plotted in the icon of this network address in this label hurdle and this bookmark hurdle.
Further, user terminal 200 also can be regularly or in the time that user terminal 200 is idle, according to thisEach domain name of storing in icon database, obtains respectively and each territory from server corresponding to each domain name respectivelyThe name latest data of the icon of each network address one to one, and be updated in this icon database, so thatWhat draw out when the icon of the each network address of next drafting is the up-to-date icon of each network address.
The management method of the icon of the network address that the embodiment of the present invention provides, by the icon drawing network addressFrontly first judge the local data that whether store the icon of the network address of website to be visited, if local storageThere are the data of the icon of this network address, directly according to the data of the icon of this network address of this locality storage, willThis icon is plotted in browser, can save the icon of drawing network address time, waits for and downloads this figure from serverThe time of target data, thus speed and the efficiency of icon of drawing network address can be improved on the whole, andCan further avoid in prior art bookmark when bookmark hurdle more time, because download multiple icons simultaneouslyData and the harmful effect of bringing to the loading velocity of website.
The 3rd embodiment
The structural representation of the management devices of the icon of the network address that Fig. 6 provides for third embodiment of the invention.The management devices of the icon of the network address that the present embodiment provides can run on the user terminal 200 shown in Fig. 1In, for realizing the management method of icon of network address of above-described embodiment. As shown in Figure 6, network addressThe management devices 30 of icon comprise:
Receiver module 31, for receiving the instruction of access websites;
Acquisition module 32, the website to be visited of pointing to for obtaining this instruction that receiver module 31 receivesNetwork address;
Judge module 33, for judging the local figure that whether stores this network address that acquisition module 32 obtainsTarget data;
Drafting module 34, if be yes for the judged result of judge module 33, stores according to this localityThe data of the icon of this network address, are plotted in the icon of this network address in browser;
Acquisition module 32, if be also no for the judged result of judge module 33, according to this network address fromCorresponding server obtains the data of the icon of this network address;
Drafting module 34, also for the data of the icon of this network address of obtaining according to acquisition module 32, willThe icon of this network address is plotted in this browser.
Each Implement of Function Module of the management devices 30 of the icon of the present embodiment to network address tool of function separatelyBody process, refers to the particular content of above-mentioned Fig. 1 to middle description embodiment illustrated in fig. 5, no longer hereinRepeat.
The management devices of the icon of the network address that the embodiment of the present invention provides, by the icon drawing network addressFrontly first judge the local data that whether store the icon of the network address of website to be visited, if local storageThere are the data of the icon of this network address, directly according to the data of the icon of this network address of this locality storage, willThis icon is plotted in browser, can save the icon of drawing network address time, waits for and downloads this figure from serverThe time of target data, thus speed and the efficiency of icon of drawing network address can be improved on the whole.
The 4th embodiment
The structural representation of the management devices of the icon of the network address that Fig. 7 provides for fourth embodiment of the invention.The management devices of the icon of the network address that the present embodiment provides can run on the user terminal 200 shown in Fig. 1In, for realizing the management method of icon of network address of above-described embodiment. As shown in Figure 7, network addressThe management devices 40 of icon comprise:
Receiver module 31, for receiving the instruction of access websites;
Acquisition module 32, the website to be visited of pointing to for obtaining this instruction that receiver module 31 receivesNetwork address;
Judge module 33, for judging the local figure that whether stores this network address that acquisition module 32 obtainsTarget data;
Drafting module 34, if be yes for the judged result of judge module 33, stores according to this localityThe data of the icon of this network address, are plotted in the icon of this network address in browser;
Acquisition module 32, if be also no for the judged result of judge module 33, according to this network address fromCorresponding server obtains the data of the icon of this network address;
Drafting module 34, also for the data of the icon of this network address of obtaining according to acquisition module 32, willThe icon of this network address is plotted in this browser.
Preferably, judge module 33 comprises:
Acquiring unit 331, for obtaining the domain name of this network address;
Query unit 332, for inquiring about local icon database;
Judging unit 333, for judging whether this icon database stores be somebody's turn to do corresponding with this domain nameThe data of the icon of network address.
Preferably, the management devices 40 of the icon of network address also comprises: start module 44, and main for passing throughThread starts this browser.
Preferably, acquisition module 32 comprises:
Start unit 321, if for the local data that do not store the icon of this network address, start workThread;
Download unit 322, should for downloading from corresponding server according to this network address by this worker threadThe data of the icon of network address, are stored in the data of the icon of this network address in local icon database;
Notification unit 323, successfully leads to for the data that send the icon of downloading this network address to this main threadKnow message;
Drafting module 34, also for receiving this notification message by this main thread, according to this net of downloadingThe data of the icon of location, are plotted in the icon of this network address in this browser.
Preferably, drafting module 34, also for searching the label hurdle that this browser is corresponding with this network addressAnd bookmark hurdle, the icon of this network address is plotted in this label hurdle and this bookmark hurdle.
Preferably, the management devices 40 of the icon of network address also comprises: load-on module 45, detects for working asWhile exceeding preset duration to this browser startup, the data in this icon database are loaded on to internal memory.
Each Implement of Function Module of the management devices 40 of the icon of the present embodiment to network address tool of function separatelyBody process, refers to the particular content of above-mentioned Fig. 1 to middle description embodiment illustrated in fig. 5, no longer hereinRepeat.
The management devices of the icon of the network address that the embodiment of the present invention provides, by the icon drawing network addressFrontly first judge the local data that whether store the icon of the network address of website to be visited, if local storageThere are the data of the icon of this network address, directly according to the data of the icon of this network address of this locality storage, willThis icon is plotted in browser, can save the icon of drawing network address time, waits for and downloads this figure from serverThe time of target data, thus speed and the efficiency of icon of drawing network address can be improved on the whole.
It should be noted that, each embodiment in this description all adopts the mode of going forward one by one to describe, everyWhat individual embodiment stressed is all and the difference of other embodiment, identical between each embodimentSimilar part mutually referring to. For device class embodiment, due to itself and embodiment of the methodSubstantially similar, so description is fairly simple, relevant part referring to the part explanation of embodiment of the method isCan.
It should be noted that, in this article, the relational terms such as the first and second grades is only usedAn entity or operation are separated with another entity or operating space, and not necessarily requirement orImply the relation or the order that between these entities or operation, there are any this reality. And, term" comprise ", " comprising " or its any other variant be intended to contain comprising of nonexcludability, therebyThe process, method, article or the device that make to comprise a series of key elements not only comprise those key elements, andAnd also comprise other key elements of clearly not listing, or be also included as this process, method, thingThe key element that product or device are intrinsic. In the situation that there is no more restrictions, " comprise one by statementIndividual ... " key element that limits, and be not precluded within the process, method, article or the device that comprise key elementIn also there is other identical element.
One of ordinary skill in the art will appreciate that to realize all or part of step of above-described embodiment passableComplete by hardware, also can carry out the hardware that instruction is relevant by program and complete, program can depositBe stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only storage,Disk or CD etc.
Above, be only preferred embodiment of the present invention, not the present invention is done any pro formaRestriction, although the present invention discloses as above with preferred embodiment, but be not in order to limit the present invention,Any those skilled in the art, are not departing within the scope of technical solution of the present invention, when utilizingThe technology contents of above-mentioned announcement is made a little change or is modified to the equivalent embodiment of equivalent variations, in every caseBe not depart from technical solution of the present invention content, according to technical spirit of the present invention, above embodiment doneAny simple modification, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (12)

1. a management method for the icon of network address, is characterized in that, comprising:
Receive the instruction of access websites, obtain the network address of the website to be visited of described instruction sensing;
Judge the local data that whether store the icon of described network address;
If so, according to the data of the icon of the described network address of this locality storage, by the icon of described network addressBe plotted in browser;
If not, obtain the data of the icon of described network address from corresponding server according to described network address,According to the data of the icon of the described network address of obtaining, the icon of described network address is plotted in to described browserIn.
2. method according to claim 1, describedly judges whether this locality stores described network addressThe data of icon comprise:
Obtain the domain name of described network address;
Inquire about local icon database, judge in described icon database and whether store and described territoryThe data of the icon of the described network address of name correspondence.
3. method according to claim 2, is characterized in that, the finger of described reception access websitesBefore order, comprise:
Start described browser by main thread.
4. method according to claim 3, is characterized in that, if not described, described in basisNetwork address is obtained the data of the icon of described network address from corresponding server, according to the described network address of obtainingThe data of icon, are plotted in described browser by the icon of described network address and comprise:
If the local data that do not store the icon of described network address, start worker thread;
Download the icon of described network address from corresponding server according to described network address by described worker threadData;
The data of the icon of described network address are stored in described icon database, and to described main threadSend the successful notification message of data of the icon of downloading described network address;
Receive described notification message by described main thread, according to the number of the icon of the described network address of downloadingAccording to, the icon of described network address is plotted in described browser.
5. according to the method described in right 4, it is characterized in that, the described icon by described network address is drawnComprise at described browser:
Search label hurdle corresponding with this network address in this browser and bookmark hurdle, by the icon of described network addressBe plotted in described label hurdle and described bookmark hurdle.
6. according to the method described in any one of claim 1 to 5, it is characterized in that described receptionBefore the instruction of access websites, comprise:
In the time detecting that described browser startup exceedes preset duration, by the number in described icon databaseAccording to being loaded on internal memory.
7. a management devices for the icon of network address, is characterized in that, comprising:
Receiver module, for receiving the instruction of access websites;
Acquisition module, the net to be visited pointing to for obtaining the described instruction of described receiver module receptionThe network address of standing;
Judge module, for judging the local described network address that described acquisition module obtains of whether storingThe data of icon;
Drafting module, if be yes for the judged result of described judge module, stores according to this localityThe data of the icon of described network address, are plotted in the icon of described network address in browser;
Described acquisition module, if be also no for the judged result of described judge module, described in basisNetwork address is obtained the data of the icon of described network address from corresponding server;
Described drafting module, also for the number of the icon of the described network address obtained according to described acquisition moduleAccording to, the icon of described network address is plotted in described browser.
8. device according to claim 7, described judge module comprises:
Acquiring unit, for obtaining the domain name of described network address;
Query unit, for inquiring about local icon database;
Judging unit is corresponding with domain name for judging whether described icon database storesThe data of the icon of described network address.
9. device according to claim 8, is characterized in that, described device also comprises:
Start module, for start described browser by main thread.
10. device according to claim 9, is characterized in that,
Described acquisition module comprises:
Start unit, if for the local data that do not store the icon of described network address, start workThread;
Download unit, for downloading from corresponding server according to described network address by described worker threadThe data of the icon of described network address, are stored in described icon database by the data of the icon of described network addressIn;
Notification unit, successful for the data of the icon to the described network address of described main thread transmission downloadNotification message;
Described drafting module, also for receiving described notification message by described main thread, according to downloadThe data of icon of described network address, the icon of described network address is plotted in described browser.
11. devices according to claim 10, is characterized in that, described drafting module also forSearch label hurdle corresponding with this network address in this browser and bookmark hurdle, the icon of described network address is drawnIn described label hurdle and described bookmark hurdle.
12. according to the device described in any one of claim 7 to 11, it is characterized in that described dressAlso put and comprise:
Load-on module, in the time detecting that described browser startup exceedes preset duration, by described figureData in mark database are loaded on internal memory.
CN201410566710.0A 2014-10-22 2014-10-22 Website icon management method and device Active CN105589865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410566710.0A CN105589865B (en) 2014-10-22 2014-10-22 Website icon management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410566710.0A CN105589865B (en) 2014-10-22 2014-10-22 Website icon management method and device

Publications (2)

Publication Number Publication Date
CN105589865A true CN105589865A (en) 2016-05-18
CN105589865B CN105589865B (en) 2020-10-02

Family

ID=55929452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410566710.0A Active CN105589865B (en) 2014-10-22 2014-10-22 Website icon management method and device

Country Status (1)

Country Link
CN (1) CN105589865B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088377A1 (en) * 2002-11-05 2004-05-06 Alberto Henriquez Icon marshalling via web services
CN102651021A (en) * 2012-03-31 2012-08-29 奇智软件(北京)有限公司 Icon content updating method and device
CN103077171A (en) * 2011-10-26 2013-05-01 腾讯科技(深圳)有限公司 Method and terminal for adding quick link
CN103309695A (en) * 2012-03-15 2013-09-18 腾讯科技(深圳)有限公司 Icon loading method and terminal
CN103678298A (en) * 2012-08-30 2014-03-26 腾讯科技(深圳)有限公司 Information display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088377A1 (en) * 2002-11-05 2004-05-06 Alberto Henriquez Icon marshalling via web services
CN103077171A (en) * 2011-10-26 2013-05-01 腾讯科技(深圳)有限公司 Method and terminal for adding quick link
CN103309695A (en) * 2012-03-15 2013-09-18 腾讯科技(深圳)有限公司 Icon loading method and terminal
CN102651021A (en) * 2012-03-31 2012-08-29 奇智软件(北京)有限公司 Icon content updating method and device
CN103678298A (en) * 2012-08-30 2014-03-26 腾讯科技(深圳)有限公司 Information display method and device

Also Published As

Publication number Publication date
CN105589865B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN104135501B (en) Page sharing method, Apparatus and system
CN107329985B (en) Page collection method and device and mobile terminal
CN104092723B (en) Document down loading method, Apparatus and system
US10095666B2 (en) Method and terminal for adding quick link
CN104423868A (en) E-book reading positioning method and device
CN105094861A (en) Webpage application program loading method, device and system
CN104243517A (en) Content sharing method and device used between different terminals
US10956653B2 (en) Method and apparatus for displaying page and a computer storage medium
CN103455582A (en) Display method of navigation page of browser and mobile terminal
CN104426919A (en) Page sharing method, device and system
CN104965848A (en) Front-end resource loading method and apparatus
CN104424241B (en) Web site url processing method based on two dimensional code, apparatus and system
CN104683456A (en) Service processing method, server and terminal
CN104731808A (en) Browser webpage loading method and browser webpage loading device
CN104243538A (en) Resource sharing method and system
CN103310007B (en) Webpage changing method, device and equipment
CN106547844A (en) A kind for the treatment of method and apparatus of user interface
CN105681561A (en) Advertisement blocking device and method
CN106033467A (en) Image file sharing method and device
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN104735132A (en) Information inquiry method, servers and terminal
CN106547833A (en) Web browser method and device
CN108038244B (en) Method and device for displaying cover of work by utilizing widget and mobile terminal
CN105095253A (en) Webpage display method and webpage display device
CN106980654B (en) Road condition updating method, device and computer equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221121

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right