CN104965715A - Method and apparatus for updating built-in search engine - Google Patents

Method and apparatus for updating built-in search engine Download PDF

Info

Publication number
CN104965715A
CN104965715A CN201410148348.5A CN201410148348A CN104965715A CN 104965715 A CN104965715 A CN 104965715A CN 201410148348 A CN201410148348 A CN 201410148348A CN 104965715 A CN104965715 A CN 104965715A
Authority
CN
China
Prior art keywords
search engine
built
browser
configuration file
attribute information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410148348.5A
Other languages
Chinese (zh)
Inventor
陈威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201410148348.5A priority Critical patent/CN104965715A/en
Publication of CN104965715A publication Critical patent/CN104965715A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and apparatus for updating a built-in search engine, applicable to a browser which is provided with a built-in search engine. The invention relates to the field of communication. The method herein comprises: displaying the built-in search engine on the browser interface according to current attribute information of the built-in search engine; obtaining a configuration file from a server, parsing to obtain the attribute information of the built-in search engine; upon closing the browser, updating the current attribute information with the attribute information that has been obtained by parsing; upon restarting the browser, displaying the built-in search engine on the browser interface according to the updated attribute information. The apparatus herein comprises: a display module, an obtaining module, a parsing module and an updating module. The embodiments of the invention increase the flexibility and promptness in updating the built-in search engine, provide a more direct and efficient way of displaying the search engine for users, obviate the need for rewriting browser codes, and lower the development and maintenance of the browser.

Description

Upgrade the method and apparatus of built-in search engine
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus upgrading built-in search engine.
Background technology
One of important tool that browser is surfed the Net as user, possesses certain search capability usually.The search entrance that user can be provided by browser and built-in search engine realize information search, this search entrance comprises address field, search column, webpage word are chosen and pulled, after user inputs key word in search entrance, built-in search engine directly will open corresponding lookup result page.
The built-in search engine of browser is commonly search engine conventional at present, comprises Google search engine that Google releases, Baidu search engine that company of Baidu releases, must answer search engine etc. under Microsoft.Built-in search engine has become the important component part of browser, is one of critical function of browser.Usually, browser can enumerate out several built-in search engines on the page, and user therefrom can select the search engine search engine by default liked, and just can send request directly to this search engine when searching for.
But, the renewal of search engine is not expected, likely there is the changes such as search engine title, icon when there is great function correcting, in the browser of outgoing, the attribute of built-in search engine has write in the code of browser, cannot upgrade accordingly separately, can only waiting for that redaction issued by browser, the renewal of built-in search engine attribute could be realized by rewriting code, shortcoming dirigibility.
Summary of the invention
In view of this, embodiments provide a kind of method and apparatus upgrading built-in search engine, to improve the dirigibility upgrading built-in search engine.Described technical scheme is as follows:
On the one hand, provide a kind of method upgrading built-in search engine, be applied to browser, described browser has built-in search engine, and described method comprises:
The interface of described browser shows described built-in search engine according to the attribute information that described built-in search engine is current;
The configuration file for upgrading described built-in search engine attribute is obtained from server;
Resolve the attribute information that described configuration file obtains described built-in search engine;
When closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining;
When again starting described browser, on the interface of described browser, show described built-in search engine according to the described attribute information after upgrading.
On the other hand, provide a kind of device upgrading built-in search engine, be applied to browser, described browser has built-in search engine, and described device comprises:
Display module, shows described built-in search engine according to the attribute information that described built-in search engine is current on the interface at described browser;
Acquisition module, for obtaining the configuration file for upgrading described built-in search engine attribute from server;
Parsing module, obtains the attribute information of described built-in search engine for resolving described configuration file;
Update module, for when closing described browser, is updated to the described attribute information of resolving and obtaining by attribute information current for described built-in search engine;
Described display module also for, when again starting described browser, according to upgrade after described attribute information on the interface of described browser, show described built-in search engine.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: by showing described built-in search engine according to the attribute information that described built-in search engine is current on the interface of described browser, the configuration file for upgrading described built-in search engine attribute is obtained from server, resolve the attribute information that described configuration file obtains described built-in search engine, when closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining, when again starting described browser, on the interface of described browser, described built-in search engine is shown according to the described attribute information after upgrading, thus without the need to changing the attribute of code with regard to dynamic renewal built-in search engine, improve the dirigibility upgrading built-in search engine, and, need not wait for that browser redaction is issued, can carry out dynamically updating the built-in search engine of browser, improve the promptness upgrading built-in search engine, for user provides more directly effective search engine ways of presentation.Further, the code of browser need not be rewritten, reduce the development and maintenance cost of browser.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the renewal built-in search engine that the embodiment of the present invention 1 provides;
Fig. 2 is the method flow diagram of the renewal built-in search engine that the embodiment of the present invention 2 provides;
Fig. 3 is the schematic diagram of browser built-in search Engine Listing before the renewal that provides of the embodiment of the present invention 2;
Fig. 4 is the schematic diagram of browser built-in search Engine Listing after the renewal that provides of the embodiment of the present invention 2;
Fig. 5 is the method flow diagram of the renewal built-in search engine that the embodiment of the present invention 3 provides;
Fig. 6 is the structure drawing of device of the renewal built-in search engine that the embodiment of the present invention 4 provides;
Fig. 7 is the terminal structure figure that the embodiment of the present invention 5 provides;
Fig. 8 is the server architecture figure that the embodiment of the present invention 6 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1, present embodiments provide a kind of method upgrading built-in search engine, be applied to browser, this browser has built-in search engine, and the method comprises:
101: according to the attribute information display built-in search engine that built-in search engine is current on the interface of described browser;
102: obtain the configuration file for upgrading built-in search engine attribute from server;
103: resolve the attribute information that this configuration file obtains described built-in search engine;
Wherein, corresponding method can be adopted to carry out resolving to obtain attribute information according to the form of configuration file, not do too much explanation herein.
104: when closing browser, attribute information current for described built-in search engine is updated to the attribute information of resolving and obtaining;
105: when again starting browser, on the interface of browser, show described built-in search engine according to the attribute information after upgrading.
In the present embodiment, described browser is arranged in client, and has built-in search engine.This client can be carried out alternately, to obtain configuration file with server.
In the present embodiment, the attribute of described built-in search engine at least comprises following one: search engine classification, search engine mark, search engine title, search source, DISPLAY ORDER and icon information.
Wherein, search engine classification refers to and can divide search engine according to the specialty of industry or knowledge category, includes but not limited to: video class, picture category, music class, news category etc.Search engine mark can be used for mark search engine, and this mark can be digital or the expression such as character.Search engine title is as Baidu, search dog etc.The corresponding string in search source, corresponding with the address of search engine, after the key word of user's inputted search, by splicing this string and key word just can obtain a URL, the page that this URL is corresponding is exactly the result of page searching corresponding with this key word.DISPLAY ORDER refers to the order of browser display built-in search engine, can represent search engine relative position in lists with serial number.Icon information is all generally a picture, represents a search engine.Certainly, except above-mentioned attribute can also arrange other attribute as required, as coded format etc., the present embodiment is not specifically limited this.
In the present embodiment, described configuration file can adopt any form to write, and includes but not limited to: text, Json file, XML file, database file etc.In addition, the mode that described configuration file also can adopt multiple format jointly to define, to improve transfer efficiency and analyzing efficiency.Such as, use Json document definition character string type attribute, the icon resource of search engine is then only with in corresponding text message write configuration file, and resource is not comprised in configuration file itself.When upgrading according to configuration file, first download icon resource according to text message wherein, and then upgrade, this mode reduces the complicacy of configuration file, improves transfer efficiency and analyzing efficiency, more convenient.
In view of between Json form and actual program language, the degree of coupling is low, and its definition format is easy to safeguard and expand, and compatible good, therefore, preferably, Json form can be adopted to define configuration file, such as, the configuration file of a Json form is specific as follows:
Wherein, version1.0 represents the version information of current configuration file.The type of SearchEngineType search engine, ID is the mark of search engine, and SearchEngineString is the search source of search engine ... here do not list one by one.Above-mentioned definition mode is similar to the mode of key-value pair, simple and convenient, easily realizes.
In the present embodiment, described according to upgrade after described attribute information on the interface of described browser, show described built-in search engine, can comprise:
On the interface of described browser, show each built-in search engine according to the DISPLAY ORDER after upgrading, and the title of each built-in search engine described and icon are all shown as the title after renewal and icon.
In the present embodiment, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, can comprise:
Regularly the configuration file for upgrading described built-in search engine attribute is obtained from server according to the cycle of specifying.
In the present embodiment, this configuration file of described parsing obtains the configuration information of described built-in search engine, can comprise:
When determining that the form of this configuration file supported by described browser, resolve the attribute information that this configuration file obtains described built-in search engine.
In the present embodiment, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, can comprise:
Send inquiry request to server, acquisition request is for upgrading the configuration file of described built-in search engine attribute, and this inquiry request carries the information that local profile is first version;
Receive the configuration file of the second edition that this server returns, this second edition is higher than the version of this first version.
The said method that the present embodiment provides, by showing described built-in search engine according to the attribute information that described built-in search engine is current on the interface of described browser, the configuration file for upgrading described built-in search engine attribute is obtained from server, resolve the attribute information that described configuration file obtains described built-in search engine, when closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining, when again starting described browser, on the interface of described browser, described built-in search engine is shown according to the described attribute information after upgrading, thus without the need to changing the attribute of code with regard to dynamic renewal built-in search engine, improve the dirigibility upgrading built-in search engine, and, need not wait for that browser redaction is issued, can carry out dynamically updating the built-in search engine of browser, improve the promptness upgrading built-in search engine, for user provides more directly effective search engine ways of presentation.
Embodiment 2
See Fig. 2, present embodiments provide a kind of method upgrading built-in search engine, be applied to browser, this browser has built-in search engine, and the method comprises:
201: on the interface of browser, show described built-in search engine according to the attribute information that described built-in search engine is current;
202: obtain the configuration file for upgrading described built-in search engine attribute from server;
Preferably, regularly can obtain the configuration file for upgrading described built-in search engine attribute from server according to the cycle of specifying, thus ensure the promptness of renewal.
203: resolve the attribute information that this configuration file obtains described built-in search engine;
This step can comprise:
When determining that the form of this configuration file supported by described browser, resolve the attribute information that this configuration file obtains described built-in search engine.
Certainly, if determine that the form of this configuration file do not supported by described browser, then cannot resolve, current process terminates.
204: when closing this browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining;
Wherein, the attribute information of described built-in search engine at least comprises following one: search engine classification, search engine mark, search engine title, search source, DISPLAY ORDER and icon information.
Although attribute renewal can be carried out at once after parsing obtains attribute information, but the doubt of user is caused in order to avoid the display mode flip-flop due to browser built-in search engine, in the present embodiment, preferably, adopt the mode of carrying out built-in search engine attribute when browser cuts out and upgrading, be more easily easily accepted by a user.And, upgrade before current browser is closed, come into force when the startup of next browser, can natural transition, renewal process is more smooth, uses the impact of browser minimum, more meet the use habit of user to user.
Such as, see Fig. 3 and Fig. 4, for browser built-in search engine upgrades the schematic diagram of successively contrast.Wherein, Fig. 3 is the list of the built-in search engine shown after current startup browser, is from top to bottom followed successively by: search dog, Baidu, Google, Bing and SOSO.The renewal of built-in search engine had been carried out, when showing built-in search Engine Listing according to the result after renewal after again starting browser, as shown in Figure 4 before closing browser.Search engine list after renewal is from top to bottom followed successively by: Baidu, search dog and Bing.Can find out, when not changing existing code, realize the location swap of Baidu and search dog two search engines in drop-down list, Google and SOSO is hidden in addition, no longer shows.Visible, achieve dynamically updating of browser built-in search engine, just can realize without the need to the code changing browser, and renewal result is directly presented on the page, more intuitively.
205: when again starting this browser, on the interface of described browser, show each built-in search engine according to the DISPLAY ORDER after upgrading, and the title of each built-in search engine described and icon are all shown as the title after renewal and icon.
In the present embodiment, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, can comprise:
Send inquiry request to server, acquisition request is for upgrading the configuration file of described built-in search engine attribute, and this inquiry request carries the information that local profile is first version;
Receive the configuration file of the second edition that this server returns, this second edition is higher than the version of this first version.
The said method that the present embodiment provides, by showing described built-in search engine according to the attribute information that described built-in search engine is current on the interface of described browser, the configuration file for upgrading described built-in search engine attribute is obtained from server, resolve the attribute information that described configuration file obtains described built-in search engine, when closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining, when again starting described browser, on the interface of described browser, described built-in search engine is shown according to the described attribute information after upgrading, thus without the need to changing the attribute of code with regard to dynamic renewal built-in search engine, improve the dirigibility upgrading built-in search engine, and, need not wait for that browser redaction is issued, can carry out dynamically updating the built-in search engine of browser, improve the promptness upgrading built-in search engine, for user provides more directly effective search engine ways of presentation.
Embodiment 3
See Fig. 5, present embodiments provide a kind of method upgrading built-in search engine, be applied to the browser of client, this browser has built-in search engine, and the method comprises:
501: the browser of client sends inquiry request to server, and acquisition request is for upgrading the configuration file of described built-in search engine attribute, and this inquiry request carries the information that local profile is first version;
Wherein, preferably, the browser of client regularly can send inquiry request, to reach the effect of the built-in search engine that upgrades in time to server according to the cycle of specifying.
502: after server receives this inquiry request, the version information carried in the version information of the configuration file of this locality preservation and inquiry request is compared, if determine that the local configuration file preserved is the second edition and higher than the version of first version, then send the configuration file of this second edition to client;
Further, in order to improve security, server is handed down to client after configuration file can also being encrypted again, carries out corresponding deciphering and carry out resolving and subsequent operation again after client receives.
Wherein, the version information of configuration file can be comprised in the configuration file that server is preserved, as version number.Also the version information of the configuration file of the current preservation of client can be comprised in the inquiry request that client sends.After these two version informations compare by server, just can learn whether configuration file upgrades, if these two version informations are identical, then can determine not upgrading, if these two version differences, and the version of configuration file that the version of configuration file that server is preserved is preserved than client is high, then determine that configuration file is upgraded.
Such as, the configuration file that client is preserved is 1.0 versions, and the version of the configuration file that server is preserved is 2.0, and the version of the version of 2.0 than 1.0 is high, then server can determine that configuration file is upgraded, and therefore, sends to client to upgrade redaction 2.0.
In the present embodiment, configuration file upgrading can several scenes, include but not limited to: increase search engine, Delete Search engine, the DISPLAY ORDER changing search engine, the icon changing search engine, the title changing search engine etc., the present embodiment is not specifically limited this.
503: the configuration file of the second edition that the browser reception server of client returns;
504: the configuration file of this second edition of browser resolves of client obtains the attribute information of described built-in search engine;
Particularly, the browser of client first can judge self whether to support the form of this configuration file, when determining the form supporting this configuration file, resolves the attribute information that this configuration file obtains described built-in search engine.
505: attribute information current for described built-in search engine, when cutting out, is updated to the described attribute information of resolving and obtaining by the browser of client;
506: when described browser starts again, on the interface of described browser, show described built-in search engine according to the described attribute information after upgrading.
In the present embodiment, the attribute information of described built-in search engine at least comprises following one: search engine classification, search engine mark, search engine title, search source, DISPLAY ORDER and icon information.
The said method that the present embodiment provides, inquiry request is sent to server by the browser of client, acquisition request is for upgrading the configuration file of built-in search engine attribute, wherein carry the information that local profile is first version, after server receives, if determine that the local configuration file preserved is the second edition and higher than the version of first version, then send the configuration file of this second edition to client, the browser of client receives the attribute information that rear parsing obtains described built-in search engine, the browser of client is when cutting out, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining, when described browser starts again, on the interface of described browser, described built-in search engine is shown according to the described attribute information after upgrading, thus without the need to changing the attribute of code with regard to dynamic renewal built-in search engine, improve the dirigibility upgrading built-in search engine, and, need not wait for that browser redaction is issued, can carry out dynamically updating the built-in search engine of browser, improve the promptness upgrading built-in search engine, for user provides more directly effective search engine ways of presentation.
Embodiment 4
See Fig. 6, present embodiments provide a kind of device upgrading built-in search engine, be applied to browser, this browser has built-in search engine, and this device comprises:
Display module S01, shows described built-in search engine according to the attribute information that described built-in search engine is current on the interface at described browser;
Acquisition module S02, for obtaining the configuration file for upgrading described built-in search engine attribute from server;
Parsing module S03, obtains the attribute information of described built-in search engine for resolving this configuration file;
Update module S04, for when closing described browser, is updated to the described attribute information of resolving and obtaining by attribute information current for described built-in search engine;
Display module S01 also for, when again starting described browser, according to upgrade after described attribute information on the interface of described browser, show described built-in search engine.
In the present embodiment, display module S01 can comprise:
Upgrade display unit, for showing each built-in search engine according to the DISPLAY ORDER after upgrading on the interface of described browser, and the title of each built-in search engine described and icon are all shown as the title after renewal and icon.
In the present embodiment, acquisition module S02 can comprise:
Regular acquiring unit, for regularly obtaining the configuration file for upgrading described built-in search engine attribute from server according to the cycle of specifying.
In the present embodiment, above-mentioned parsing module S03 can comprise:
Resolution unit, for when determining that the form of this configuration file supported by described browser, resolves the attribute information that this configuration file obtains described built-in search engine.
In the present embodiment, above-mentioned acquisition module S02 can comprise:
Transmitting element, for sending inquiry request to server, acquisition request is for upgrading the configuration file of described built-in search engine attribute, and this inquiry request carries the information that local profile is first version;
Receiving element, for receiving the configuration file of the second edition that this server returns, this second edition is higher than the version of this first version.
In the present embodiment, the attribute information of described built-in search engine at least comprises following one: search engine classification, search engine mark, search engine title, search source, DISPLAY ORDER and icon information.
The said apparatus that the present embodiment provides can perform the method that above-mentioned either method embodiment provides, and detailed process refers to the description in embodiment of the method, does not repeat herein.
The said apparatus that the present embodiment provides, by showing described built-in search engine according to the attribute information that described built-in search engine is current on the interface of described browser, the configuration file for upgrading described built-in search engine attribute is obtained from server, resolve the attribute information that described configuration file obtains described built-in search engine, when closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining, when again starting described browser, on the interface of described browser, described built-in search engine is shown according to the described attribute information after upgrading, thus without the need to changing the attribute of code with regard to dynamic renewal built-in search engine, improve the dirigibility upgrading built-in search engine, and, need not wait for that browser redaction is issued, can carry out dynamically updating the built-in search engine of browser, improve the promptness upgrading built-in search engine, for user provides more directly effective search engine ways of presentation.
Embodiment 5
See Fig. 7, present embodiments provide a kind of terminal 600, communication unit 610 can be comprised, include the storer 620 of one or more non-volatile readable storage mediums, input block 630, display unit 640, sensor 650, voicefrequency circuit 660, WiFi (wireless fidelity, Wireless Fidelity) module 670, include the parts such as processor 680 and power supply 690 that more than or processes core.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 7, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Communication unit 610 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, and this communication unit 610 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodular unit, etc. network communication equipment.Especially, when communication unit 610 is RF circuit, after being received by the downlink information of base station, more than one or one processor 680 is transferred to process; In addition, base station is sent to by relating to up data.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, communication unit 610 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (CodeDivision Multiple Access, CDMA), WCDMA (Wideband Code Division MultipleAccess, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.Storer 620 can be used for storing software program and module, and processor 680 is stored in software program and the module of storer 620 by running, thus performs the application of various function and data processing.Storer 620 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 600.In addition, storer 620 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 620 can also comprise Memory Controller, to provide the access of processor 680 and input block 630 pairs of storeies 620.
Input block 630 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Alternatively, input block 630 can comprise Touch sensitive surface 630a and other input equipments 630b.Touch sensitive surface 630a, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 630a or near Touch sensitive surface 630a such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, Touch sensitive surface 630a can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 680, and the order that energy receiving processor 680 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 630a.Except Touch sensitive surface 630a, input block 630 can also comprise other input equipments 630b.Alternatively, other input equipments 630b can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 640 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 600 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 640 can comprise display panel 640a, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 640a.Further, Touch sensitive surface 630a can cover display panel 640a, when Touch sensitive surface 630a detects thereon or after neighbouring touch operation, send processor 680 to determine the type of touch event, on display panel 640a, provide corresponding vision to export with preprocessor 680 according to the type of touch event.Although in the figure 7, Touch sensitive surface 630a and display panel 640a be as two independently parts realize inputting and input function, in certain embodiments, can by integrated for Touch sensitive surface 630a and display panel 640a and realize input and output function.
Terminal 600 also can comprise at least one sensor 650, such as optical sensor, motion sensor and other sensors.Alternatively, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 640a, proximity transducer when terminal 600 moves in one's ear, can cut out display panel 640a and/or backlight.As the one of motion sensor; Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 600 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 660, loudspeaker 660a, microphone 660b can provide the audio interface between user and terminal 600.Voicefrequency circuit 660 can by receive voice data conversion after electric signal, be transferred to loudspeaker 660a, by loudspeaker 660a be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 660b, voice data is converted to after being received by voicefrequency circuit 660, after again voice data output processor 680 being processed, through RF circuit 610 to send to such as another terminal, or export voice data to storer 620 to process further.Voicefrequency circuit 660 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 600.
In order to realize radio communication, this terminal can be configured with wireless communication unit 670, this wireless communication unit 670 can be WiFi module.WiFi belongs to short range wireless transmission technology, and terminal 600 can help user to send and receive e-mail by wireless communication unit 670, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 7 shows wireless communication unit 670, be understandable that, it does not belong to must forming of terminal 600, can omit in the scope of essence not changing invention as required completely.
Processor 680 is control centers of terminal 600, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 620 and/or module is stored in by running or performing, and call the data be stored in storer 620, perform various function and the process data of terminal 600, thus integral monitoring is carried out to mobile phone.Optionally, processor 680 can comprise one or more process core; Preferably, processor 680 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 680.
Terminal 600 also comprises the power supply 690(such as battery of powering to all parts), preferably, power supply can be connected with processor 680 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 690 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 600 can also comprise camera, bluetooth module etc., does not repeat them here.
Above composition graphs 7 gives the alternate configurations of terminal 600, wherein one or more module stores are in described storer and be configured to be performed by described one or more processor, described one or more module application is in browser, described browser has built-in search engine, and described one or more module has following function:
The interface of described browser shows described built-in search engine according to the attribute information that described built-in search engine is current;
The configuration file for upgrading described built-in search engine attribute is obtained from server;
Resolve the attribute information that described configuration file obtains described built-in search engine;
When closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining;
When again starting described browser, on the interface of described browser, show described built-in search engine according to the described attribute information after upgrading.
Wherein, described according to upgrade after described attribute information on the interface of described browser, show described built-in search engine, comprising:
On the interface of described browser, show each built-in search engine according to the DISPLAY ORDER after upgrading, and the title of each built-in search engine described and icon are all shown as the title after renewal and icon.
Wherein, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, comprising:
Regularly the configuration file for upgrading described built-in search engine attribute is obtained from server according to the cycle of specifying.
Wherein, the described configuration file of described parsing obtains the attribute information of described built-in search engine, comprising:
When determining that the form of described configuration file supported by described browser, resolve the attribute information that described configuration file obtains described built-in search engine.
Wherein, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, comprising:
Send inquiry request to server, acquisition request is for upgrading the configuration file of described built-in search engine attribute, and described inquiry request carries the information that local profile is first version;
Receive the configuration file of the second edition that described server returns, the described second edition is higher than the version of described first version.
Wherein, the attribute information of described built-in search engine at least comprises following one: search engine classification, search engine mark, search engine title, search source, DISPLAY ORDER and icon information.
The above-mentioned terminal that the present embodiment provides, by showing described built-in search engine according to the attribute information that described built-in search engine is current on the interface of described browser, the configuration file for upgrading described built-in search engine attribute is obtained from server, resolve the attribute information that described configuration file obtains described built-in search engine, when closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining, when again starting described browser, on the interface of described browser, described built-in search engine is shown according to the described attribute information after upgrading, thus without the need to changing the attribute of code with regard to dynamic renewal built-in search engine, improve the dirigibility upgrading built-in search engine, and, need not wait for that browser redaction is issued, can carry out dynamically updating the built-in search engine of browser, improve the promptness upgrading built-in search engine, for user provides more directly effective search engine ways of presentation.
Embodiment 6
Present embodiments provide a kind of server, this server may be used for the method performing the renewal built-in search engine provided in above-described embodiment.See Fig. 8, this server 1900 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 1922(such as, one or more processors) and storer 1932, one or more store storage medium 1930(such as one or more mass memory units of application program 1942 or data 1944).Wherein, storer 1932 and storage medium 1930 can be of short duration storages or store lastingly.The program being stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate with storage medium 1930, and server 1900 performs a series of command operatings in storage medium 1930.
Server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more IO interface 1958, and/or, one or more operating systems 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Specifically in the present embodiment, be configured to perform described more than one or one routine package containing the instruction for carrying out following operation by more than one or one processor:
Receive the acquisition of client transmission for upgrading the inquiry request of the configuration file of built-in search engine attribute, the configuration file that this inquiry request carries client preservation is the information of first version, and described built-in search engine is arranged in the browser of described client;
The version information carried in the version information of the configuration file of this locality preservation and described inquiry request is compared, if determine that the local configuration file preserved is the second edition and higher than the version of first version, then send the configuration file of this second edition to client, so that client carries out attribute renewal according to the configuration file of this second edition to built-in search engine.
The above-mentioned server that the present embodiment provides, by receiving the inquiry request of client, when the configuration file determining upgrading client browser built-in search engine is upgraded, issue the configuration file of upgrading to client, make client according to the attribute of the configuration information update built-in search engine in this configuration file, without the need to changing the attribute of code with regard to dynamic renewal built-in search engine, improve the dirigibility upgrading built-in search engine, and, need not wait for that browser redaction is issued, can carry out dynamically updating the built-in search engine of browser, improve the promptness upgrading built-in search engine, for user provides more directly effective search engine ways of presentation.
Embodiment 7
Embodiments provide a kind of non-volatile readable storage medium, one or more module (programs) is stored in this storage medium, when this one or more module is employed the browser in a device with built-in search engine, this equipment can be made to perform the instruction (instructions) of following steps:
The interface of described browser shows described built-in search engine according to the attribute information that described built-in search engine is current;
The configuration file for upgrading described built-in search engine attribute is obtained from server;
Resolve the attribute information that described configuration file obtains described built-in search engine;
When closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining;
When again starting described browser, on the interface of described browser, show described built-in search engine according to the described attribute information after upgrading.
Wherein, described according to upgrade after described attribute information on the interface of described browser, show described built-in search engine, comprising:
On the interface of described browser, show each built-in search engine according to the DISPLAY ORDER after upgrading, and the title of each built-in search engine described and icon are all shown as the title after renewal and icon.
Wherein, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, comprising:
Regularly the configuration file for upgrading described built-in search engine attribute is obtained from server according to the cycle of specifying.
Wherein, the described configuration file of described parsing obtains the attribute information of described built-in search engine, comprising:
When determining that the form of described configuration file supported by described browser, resolve the attribute information that described configuration file obtains described built-in search engine.
Wherein, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, comprising:
Send inquiry request to server, acquisition request is for upgrading the configuration file of described built-in search engine attribute, and described inquiry request carries the information that local profile is first version;
Receive the configuration file of the second edition that described server returns, the described second edition is higher than the version of described first version.
Wherein, the attribute information of described built-in search engine at least comprises following one: search engine classification, search engine mark, search engine title, search source, DISPLAY ORDER and icon information.
The above-mentioned non-volatile readable storage medium that the present embodiment provides, by showing described built-in search engine according to the attribute information that described built-in search engine is current on the interface of described browser, the configuration file for upgrading described built-in search engine attribute is obtained from server, resolve the attribute information that described configuration file obtains described built-in search engine, when closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining, when again starting described browser, on the interface of described browser, described built-in search engine is shown according to the described attribute information after upgrading, thus without the need to changing the attribute of code with regard to dynamic renewal built-in search engine, improve the dirigibility upgrading built-in search engine, and, need not wait for that browser redaction is issued, can carry out dynamically updating the built-in search engine of browser, improve the promptness upgrading built-in search engine, for user provides more directly effective search engine ways of presentation.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of non-volatile readable storage medium, described non-volatile readable storage medium can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. upgrade a method for built-in search engine, it is characterized in that, be applied to browser, described browser has built-in search engine, and described method comprises:
The interface of described browser shows described built-in search engine according to the attribute information that described built-in search engine is current;
The configuration file for upgrading described built-in search engine attribute is obtained from server;
Resolve the attribute information that described configuration file obtains described built-in search engine;
When closing described browser, attribute information current for described built-in search engine is updated to the described attribute information of resolving and obtaining;
When again starting described browser, on the interface of described browser, show described built-in search engine according to the described attribute information after upgrading.
2. method according to claim 1, is characterized in that, described according to upgrade after described attribute information on the interface of described browser, show described built-in search engine, comprising:
On the interface of described browser, show each built-in search engine according to the DISPLAY ORDER after upgrading, and the title of each built-in search engine described and icon are all shown as the title after renewal and icon.
3. method according to claim 1, is characterized in that, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, comprising:
Regularly the configuration file for upgrading described built-in search engine attribute is obtained from server according to the cycle of specifying.
4. method according to claim 1, is characterized in that, the described configuration file of described parsing obtains the attribute information of described built-in search engine, comprising:
When determining that the form of described configuration file supported by described browser, resolve the attribute information that described configuration file obtains described built-in search engine.
5. method according to claim 1, is characterized in that, described from the configuration file of server acquisition for upgrading described built-in search engine attribute, comprising:
Send inquiry request to server, acquisition request is for upgrading the configuration file of described built-in search engine attribute, and described inquiry request carries the information that local profile is first version;
Receive the configuration file of the second edition that described server returns, the described second edition is higher than the version of described first version.
6. method according to claim 1, is characterized in that, the attribute information of described built-in search engine at least comprises following one: search engine classification, search engine mark, search engine title, search source, DISPLAY ORDER and icon information.
7. upgrade a device for built-in search engine, it is characterized in that, be applied to browser, described browser has built-in search engine, and described device comprises:
Display module, shows described built-in search engine according to the attribute information that described built-in search engine is current on the interface at described browser;
Acquisition module, for obtaining the configuration file for upgrading described built-in search engine attribute from server;
Parsing module, obtains the attribute information of described built-in search engine for resolving described configuration file;
Update module, for when closing described browser, is updated to the described attribute information of resolving and obtaining by attribute information current for described built-in search engine;
Described display module also for, when again starting described browser, according to upgrade after described attribute information on the interface of described browser, show described built-in search engine.
8. device according to claim 7, is characterized in that, described display module comprises:
Upgrade display unit, for showing each built-in search engine according to the DISPLAY ORDER after upgrading on the interface of described browser, and the title of each built-in search engine described and icon are all shown as the title after renewal and icon.
9. device according to claim 7, is characterized in that, described acquisition module comprises:
Regular acquiring unit, for regularly obtaining the configuration file for upgrading described built-in search engine attribute from server according to the cycle of specifying.
10. device according to claim 7, is characterized in that, described parsing module comprises:
Resolution unit, for when determining that the form of described configuration file supported by described browser, resolves the attribute information that described configuration file obtains described built-in search engine.
11. devices according to claim 7, is characterized in that, described acquisition module comprises:
Transmitting element, for sending inquiry request to server, acquisition request is for upgrading the configuration file of described built-in search engine attribute, and described inquiry request carries the information that local profile is first version;
Receiving element, for receiving the configuration file of the second edition that described server returns, the described second edition is higher than the version of described first version.
12. devices according to claim 7, is characterized in that, the attribute information of described built-in search engine at least comprises following one: search engine classification, search engine mark, search engine title, search source, DISPLAY ORDER and icon information.
CN201410148348.5A 2014-04-14 2014-04-14 Method and apparatus for updating built-in search engine Pending CN104965715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410148348.5A CN104965715A (en) 2014-04-14 2014-04-14 Method and apparatus for updating built-in search engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410148348.5A CN104965715A (en) 2014-04-14 2014-04-14 Method and apparatus for updating built-in search engine

Publications (1)

Publication Number Publication Date
CN104965715A true CN104965715A (en) 2015-10-07

Family

ID=54219749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410148348.5A Pending CN104965715A (en) 2014-04-14 2014-04-14 Method and apparatus for updating built-in search engine

Country Status (1)

Country Link
CN (1) CN104965715A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354067A (en) * 2015-12-02 2016-02-24 广东欧珀移动通信有限公司 Interface configuration method and device
CN106202296A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 The local updating method and system of webpage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299682A (en) * 2008-06-17 2008-11-05 腾讯科技(深圳)有限公司 Method for implementing browser collocation, apparatus as well as browser system
CN102221965A (en) * 2011-05-18 2011-10-19 惠州Tcl移动通信有限公司 Method for adjusting main menu layout and terminal device
CN102243589A (en) * 2010-11-02 2011-11-16 泗阳天琴软件科技有限公司 Software upgrading method
CN103631625A (en) * 2013-12-02 2014-03-12 腾讯科技(成都)有限公司 Data acquisition method, user terminal, server and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299682A (en) * 2008-06-17 2008-11-05 腾讯科技(深圳)有限公司 Method for implementing browser collocation, apparatus as well as browser system
CN102243589A (en) * 2010-11-02 2011-11-16 泗阳天琴软件科技有限公司 Software upgrading method
CN102221965A (en) * 2011-05-18 2011-10-19 惠州Tcl移动通信有限公司 Method for adjusting main menu layout and terminal device
CN103631625A (en) * 2013-12-02 2014-03-12 腾讯科技(成都)有限公司 Data acquisition method, user terminal, server and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354067A (en) * 2015-12-02 2016-02-24 广东欧珀移动通信有限公司 Interface configuration method and device
CN105354067B (en) * 2015-12-02 2019-05-17 Oppo广东移动通信有限公司 A kind of interface configuration method and device
CN106202296A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 The local updating method and system of webpage
CN106202296B (en) * 2016-06-30 2020-05-12 北京奇虎科技有限公司 Local updating method and system for webpage

Similar Documents

Publication Publication Date Title
CN105824958B (en) A kind of methods, devices and systems of inquiry log
US9241242B2 (en) Information recommendation method and apparatus
CN103455348B (en) Subarea adjustment, device, terminal, server and system
CN103455582A (en) Display method of navigation page of browser and mobile terminal
CN109154946A (en) A kind of method and terminal of display collection object
CN105320687A (en) Webpage display method and device
CN104281600B (en) The method and apparatus of Intelligent Selection word
CN104951432A (en) Information processing method and device
CN104572430A (en) Method, device and system for testing terminal application interface
CN103310009A (en) Method, device and terminal for updating webpage data
CN104571787A (en) Message display method and communication terminal
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN104951215A (en) Processing method and device for page operation
CN105630846A (en) Head portrait updating method and apparatus
CN106033467A (en) Image file sharing method and device
CN103945241A (en) Streaming data statistical method, system and related device
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN104965722A (en) Method and apparatus for displaying information
CN104267882A (en) Page suspension frame display method and device
CN103607431B (en) Mobile terminal resource processing method, device and equipment
CN103713943A (en) Native terminal operating system based application function realization method and device
CN103399911A (en) Access processing method, device and terminal device on basis of browser client
CN104699501A (en) Method and device for running application program
CN103399706A (en) Page interaction method, device and terminal
CN103383701A (en) Information retrieving method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151007