CN106776299A - Search engine test device and method - Google Patents
Search engine test device and method Download PDFInfo
- Publication number
- CN106776299A CN106776299A CN201611086651.2A CN201611086651A CN106776299A CN 106776299 A CN106776299 A CN 106776299A CN 201611086651 A CN201611086651 A CN 201611086651A CN 106776299 A CN106776299 A CN 106776299A
- Authority
- CN
- China
- Prior art keywords
- search
- test
- result information
- word
- search engine
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of search engine method of testing and device, the device includes:First acquisition module, for when test instruction is detected, acquisition to scan for the text unit of test;First generation module, for carrying out independent assortment to text unit, generates the search word of predetermined number;Second acquisition module, for utilizing search engine to be tested, scans for test to search word one by one, obtains corresponding search result information;Second generation module, for according to each search result information, generating test report.It is less efficient that the present invention solves manual test, it is impossible to covers most search word, and too subjective problem is judged to the good and bad of Search Results, so as to realize improving the purpose of testing efficiency and test accuracy.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of search engine test device and method.
Background technology
Search engine (search engine) refers to according to certain strategy, with specific computer program from interconnection
It is online to collect information, after information is organized and processed, retrieval service is provided the user, by the related information of user search
The system for showing user.In general, the renewal of search engine version be very frequently, and every time renewal finish after will
(relative to the legacy version search engine before renewal, and how validity (the bag of search engine is evaluated and tested to the search engine after renewal
Include the validity of Search Results) it is an important problem.The validity to search engine evaluates and tests general basis in the prior art
The more hot word of searching times in user's search record, treat search engine carries out manual test with reference to search engine, will search
Hitch is recorded by fruit one by one, is then contrasted, and to judge the validity of evaluation and test search engine, is tested due to manual test and imitated
Rate is relatively low, and hot word only more to searching times in user's search record scans for test, thus cannot cover major part
Search word, and the good and bad subjective understanding judged also to tester to Search Results is related, so as to easily cause test job
The problems such as efficiency and test accuracy not high.
The content of the invention
It is a primary object of the present invention to provide a kind of search engine test device, it is intended to solve existing search engine test
Technology cannot be accurate, the technical problem efficiently tested search engine.
To achieve the above object, the embodiment of the present invention provides a kind of search engine test device, the search engine test
Device includes:
First acquisition module, for when test instruction is detected, obtaining search engine to be tested in past preset duration
The historical search text for inside scanning for, and according to historical search text and default dictionary text, generate text unit;
First generation module, for according to the text unit, generating the search word of predetermined number;
Second acquisition module, for utilizing search engine to be tested, scans for test to search word one by one, obtains correspondence
Search result information;
Second generation module, for according to each search result information, generating test report.
Alternatively, the first acquisition module is used for:
The search word that will be obtained from the historical search text and the search word obtained from the default dictionary text
It is combined, generates the search word of predetermined number.
Alternatively, the search engine test device also includes:
3rd acquisition module, for according to preset reference search engine, test being scanned for the search word, obtains
Corresponding reference search result information;
3rd generation module, for generating corresponding reference test report with reference to search result information according to each;
Output module, test report and the reference test report for comparing search engine to be tested are generated and defeated
Go out corresponding comparison result report.
Alternatively, the output module includes:
Extraction unit, for extracting the search result information in the test report and with reference to the reference in test report
Search result information, wherein search result information are scanned for produced by test using search engine to be tested to search word
Search Results number, Search Results, search it is time-consuming in one or more result parameters, include basis with reference to search result information
One during Search Results number, Search Results, search with reference to produced by search engine scans for test to search word are time-consuming
Or multiple result parameters;
Acquiring unit, for comparing search result information and referring to search result information, obtains search result information and ginseng
Examine the comparison data of the similar result parameter of search result information;
Generation unit, for the ratio logarithm according to search result information result parameter similar with reference search result information
According to the corresponding comparison result report of generation;
Output unit, for by the comparison result report output to default evaluation and test terminal, so that reviewer enters
Row test performance is assessed.
Alternatively, second acquisition module includes:
Search test cell, for utilizing search engine to be tested, scans for test to search word one by one;
Recording unit, the search for scanning for test to a search word when search engine to be tested is time-consuming overtime or returns
When returning search result information error, record search takes the error daily record that the overtime daily record of time-out or search result information malfunction,
And the search test of next search word is carried out, until completing the search test to all search words.
To achieve the above object, the present invention also provides a kind of search engine method of testing, the search engine method of testing
Including:
When test instruction is detected, the history that acquisition search engine to be tested is scanned in past preset duration is searched
Suo Wenben, and according to historical search text and default dictionary text, generate text unit;
According to the text unit, the search word of predetermined number is generated;
Using search engine to be tested, test is scanned for search word one by one, obtain corresponding search result information;
According to each search result information, test report is generated.
Alternatively, described according to the text unit, the search word step for generating predetermined number includes:
The search word that will be obtained from the historical search text and the search word obtained from the default dictionary text
It is combined, generates the search word of predetermined number.
Alternatively, it is described according to each search result information, also include after generation test report step:
According to preset reference search engine, test is scanned for the search word, obtain corresponding with reference to search knot
Fruit information;
Corresponding reference test report is generated with reference to search result information according to each;
The test report and the reference test report of search engine to be tested are compared, is generated and is exported corresponding comparison and tie
Retribution is accused.
Alternatively, the test report and the reference test report for comparing search engine to be tested, generates and exports
Corresponding comparison result reporting step includes:
The reference search result information in the search result information and reference test report in the test report is extracted,
Wherein search result information using search engine to be tested to search word scan for test produced by Search Results number,
One or more result parameters during Search Results, search are time-consuming, include according to referring to search engine with reference to search result information
The Search Results number produced by test, Search Results, one or more results ginseng searched in taking are scanned for search word
Number;
Compare search result information and refer to search result information, obtain search result information and refer to search result information
The comparison data of similar result parameter;
According to the comparison data of search result information result parameter similar with reference search result information, corresponding ratio is generated
Result is reported;
By in the comparison result report output to default evaluation and test terminal, commented so that reviewer carries out test performance
Estimate.
Alternatively, it is described to utilize search engine to be tested, test is scanned for search word one by one, obtain corresponding search
Object information step includes:
Using search engine to be tested, test is scanned for search word one by one;
When the search that search engine to be tested scans for test to a search word takes time-out or returns to Search Results letter
During breath error, record search takes the error daily record of overtime daily record or the search result information error of time-out, and carries out next
The search test of search word, until completing the search test to all search words.
The present invention passes through the first acquisition module, for when test instruction is detected, acquisition to scan for the text of test
Unit;First generation module, for carrying out independent assortment to text unit, generates the search word of predetermined number;Second obtains mould
Block, for utilizing search engine to be tested, scans for test to search word one by one, obtains corresponding search result information;The
Two generation modules, for according to each search result information, generating test report.Due to when test instruction is detected, you can
Automatic search test is carried out to search engine, rather than manual test, it is thus possible to improve testing efficiency, and scan for test
Text unit both come from acquisition user input search word, also from default dictionary, it is thus possible to comprehensively covering
Most of search word, improves the accuracy of test, and the present invention also compares by with reference to search engine, objective so as to obtain
Test result, and then improve test accuracy.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the radio communication device schematic diagram of mobile terminal in Fig. 1;
Fig. 3 is the module diagram of search engine test device first embodiment of the present invention;
Fig. 4 is the module diagram of search engine test device second embodiment of the present invention;
Fig. 5 is the refinement module schematic diagram of output module in search engine test device fourth embodiment of the present invention;
Fig. 6 is the refinement module schematic diagram of the second acquisition module in the embodiment of search engine test device the 5th of the present invention;
Fig. 7 is the schematic flow sheet of search engine method of testing first embodiment of the present invention;
Fig. 8 is for, according to each search result information, generation is tested in search engine method of testing 3rd embodiment of the present invention
The refinement schematic flow sheet of report;
Fig. 9 is that the present invention moves the test report that search engine to be tested is compared in search engine method of testing fourth embodiment
With the reference test report, the refinement schematic flow sheet of corresponding comparison result reporting step is generated and exported;
Figure 10 be the embodiment of search engine method of testing the 5th of the present invention according to utilization search engine to be tested, it is right one by one
Search word scans for test, obtains the refinement schematic flow sheet of corresponding search result information step;
Figure 11 is the schematic diagram of a scenario of search engine test device test report of the present invention;
Figure 12 is a schematic diagram of a scenario of search engine test device comparison result report of the present invention;
Figure 13 is another schematic diagram of a scenario of search engine test device comparison result report of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for being conducive to explanation of the invention, itself
Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180, power subsystem 190,
First acquisition module 10, the first generation module 20, the second acquisition module 30, second generation module 40 etc..Fig. 1 shows to be had
The mobile terminal of various assemblies, it should be understood that being not required for implementing all components for showing.Can alternatively implement more
Many or less components.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and radio communication device
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module
112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting
Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB)
The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast
Receiver module 111 can receive signal and broadcast by using various types of broadcasters.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) data broadcasting device, received terrestrial digital broadcasting integrated service
Etc. (ISDB-T) digital broadcast apparatus receive digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively
Broadcast the various broadcasters and above-mentioned digital broadcast apparatus of signal.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice
Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module
Typical case be GPS (global pick device).According to current technology, GPS module 115 is calculated and comes from three or more satellites
Range information and correct time information and the Information application triangulation for calculating, so as to according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, defended using three for calculating the method for position and temporal information
Star and the position that is calculated by using other satellite correction and the error of temporal information.Additionally, GPS module 115
Can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input
Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch
Plate (for example, detection due to being touched caused by resistance, pressure value, electric capacity etc. change sensitive component), roller, rocking bar
Etc..Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape
State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal
100 orientation, the acceleration of mobile terminal 1 00 or by speed is mobile and direction etc., and generate for controlling mobile terminal 1 00
The order of operation or signal.In addition, sensing unit 140 can detect whether power subsystem 190 provides electric power or interface unit
Whether 170 couple with external device (ED).
Interface unit 170 is used as at least one external device (ED) and connecing of can passing through is connected with mobile terminal 1 00
Mouthful.For example, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charge
Device) it is port, wired or wireless FPDP, memory card port, defeated for connecting the port of device with identification module, audio
Enter/export (I/O) port, video i/o port, ear port etc..Identification module can be storage for verifying that user uses
The various information of mobile terminal 1 00 and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber can be included
Identification module (USIM) etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take smart card
Form, therefore, identifying device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can
Input for receiving the input (for example, data message, electric power etc.) from external device (ED) and will receive is transferred to
One or more elements in mobile terminal 1 00 can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity
Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it
It is transferred to the path of mobile terminal.Be can serve as recognizing that mobile terminal is from the various command signals or electric power of base input
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner
Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display
Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity
During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Download etc.) related user interface (UI) or graphic user interface
(GUI).When mobile terminal 1 00 is in video calling pattern or image capture mode, display unit 151 can be with
Show the image of capture and/or the image of reception, the UI or GUI that show video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit
151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect touch
Input pressure value and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode
The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement
The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed.
Dio Output Modules 152 can include sound pick-up, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit
153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating
Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm list
Unit 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if
When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection
The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data
Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers
The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control
Device 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Appropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180.
For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation
Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language
Implement, software code can be stored in memory 160 and performed by controller 180.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any
Line and radio communication device and satellite-based communicator are operated.
The communicator that mobile terminal wherein of the invention can be operated is described referring now to Fig. 2.
Such communicator can use different air interface and/or physical layer.For example, used by communicator
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress
Put (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication device, but such teaching is equally applicable to other types of device.
With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 1s 00, multiple base station (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
If any one in the interface that back haul link can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device can include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction
Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception
Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed
It is multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in device
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global pick device (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals
At least one of 100.
In fig. 2, multiple satellites 300 are depicted, but it is understood that, it is possible to use any number of satellite is obtained
Useful location information.Used as a typical operation of radio communication device, BS270 is received from various mobile terminal 1s 00
Reverse link signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received
Each reverse link signal processed in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC
The mobile management function of call resource allocation and the coordination including the soft switching process between BS270 is provided.BSC275 will also connect
The data for receiving are routed to MSC280, and it provides the extra route service for forming interface with PSTN290.Similarly,
PSTN290 and MSC280 form interface, and MSC and BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward direction
Link signal is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration, communication apparatus structure, each reality of search engine test device of the present invention is proposed
Example is applied, search engine test device is a part for mobile terminal.
Reference picture 3, the present invention provides a kind of search engine test device, in search engine test device first embodiment
In, the device includes:
First acquisition module 10, for when test instruction is detected, acquisition search engine to be tested to be when the past is default
The historical search text scanned in long, and according to historical search text and default dictionary text, generate text unit;
Search engine (search engine) refers to according to certain strategy, with specific computer program from interconnection
It is online to collect information, after information is organized and processed, retrieval service is provided the user, the renewal of search engine version is
Very frequently, and every time renewal finish after will to renewal after search engine test, with judge its whether satisfaction property
Can require, the search engine after renewal is properly termed as search engine to be tested, search engine to be tested need to refer to search engine
Compare (can be the legacy version search engine before updating with reference to search engine), so that reviewer is to search engine to be tested
Carry out test performance assessment.
When test instruction is detected, test instruction can artificially be triggered, or system trigger, wherein test instruction
Can clocked flip, such as can be set daily morning or specific time point triggering test instruction, when detect test instruction when, obtain
Take scan for test text unit, acquisition scan for test text unit can have various, single word, phrase or
The search word of person's user input all can be to scan for test text unit, when test is scanned for search engine, can be right
All text unit thorough search tests, also can extract part text unit therein, can such as be used by oneself being recorded in server
The hot word of family search is that the more text unit of searching times is extracted and scans for test.As long as due to detecting test instruction
Can carry out obtaining the text unit for scanning for test, and be not limited to artificial triggering command, thus automatic test can be realized,
And can clocked flip test instruction thus can realize timing automatic test is carried out to search engine.
Alternatively, when user scans in past preset duration in search engine to be tested, the search of its input
Word, the searching times to search word can be all recorded in corresponding memory, when test instruction is detected, obtain to be tested searching
Index holds up the historical search text scanned in past preset duration, and past preset duration can be one month, and 1 year even
More long, the historical search text of search includes the search word of user input, and scans for what is tested during test in the past
Search text, the search word of user input is including the hot word searched for etc..
First generation module 20, for according to text unit, generating the search word of predetermined number;
When do not prestored in search engine to be tested dictionary when, importing prestores dictionary, wherein the dictionary that prestores can be Chinese word
Storehouse or English dictionary, Japanese dictionary etc., the dictionary that prestores is not limited to a type;It is preset with when in search engine to be tested
Prestore dictionary when, call the dictionary that prestores.Word wherein single in dictionary can be a text unit, wherein Chinese vocabulary bank
Text unit can be word in one or more, the text unit of English dictionary can be one or more English alphabets, or
The word being made up of one or more English alphabets, the first generation module 20 is right for carrying out independent assortment to text unit
Text unit carries out independent assortment and can be to be combined word single in Chinese vocabulary bank, and the mode of combination has various, including with
Machine combination etc., independent assortment is carried out to text unit also to be included being combined letter single or multiple in English dictionary, group
The conventional word phrase of synthesis or sentence etc., additionally, text unit can also include simultaneously text unit in Chinese vocabulary bank with
Text unit in English dictionary.After carrying out independent assortment to text unit, the search word of predetermined number is generated, i.e., to text list
After unit carries out independent assortment, the search word of predetermined number related to text unit or close, different search are generated
Engine is different due to its Performance of Search Engine, and the search word of different numbers can be generated according to the text unit after independent assortment, with
Test is scanned for according to search word.
Second acquisition module 30, for utilizing search engine to be tested, scans for test to search word one by one, and it is right to obtain
The search result information answered;
After generation search word, search engine to be tested scans for test to search word one by one, i.e., to be measured according to search word
The search data obtained through various channels are converted into structural data by examination search engine, each in structured search data
Plant field and set up corresponding index, and returning result is to obtain corresponding search result information, wherein search result information can be
Search word, the corresponding Search Results number of search word, the corresponding Search Results of search word, search time etc., wherein Search Results believe
Breath is additionally included in the occupancy to resource when obtaining search result information, wherein including calculating money to CPU to the occupancy of resource
The common index such as the occupancy in source, the consumption to internal memory, the consumption to Internet resources.
Using search engine to be tested, test is scanned for search word one by one, you can the search word to generating all is carried out
Test search, obtains corresponding search result information.
Second generation module 40, for according to each search result information, generating test report.
According to each search result information, i.e., the Search Results number according to corresponding to each search word, Search Results, search
Time, obtain in search result information to occupancy of resource etc., automatically generate test report, the test report of generation can be such as figure
11, each search word is set out in test report, the corresponding Search Results number of each search word, Search Results, search time,
Obtain in search result information to occupancy of resource etc., so that reviewer is evaluated and tested according to test report, rather than hand
Move and search word is input into search engine to be tested, then the action that Search Results are recorded one by one, greatly improve work
Make efficiency.
In the present embodiment, the first acquisition module 10, for when test instruction is detected, acquisition to scan for test
Text unit;First generation module 20, for carrying out independent assortment to text unit, generates the search word of predetermined number;Second
Acquisition module 30, for utilizing search engine to be tested, scans for test to search word one by one, obtains corresponding Search Results
Information;Second generation module 40, for according to each search result information, generating test report.Test in the present embodiment refers to
Order by system trigger, and can be more than artificial triggering, and when test instruction is detected, search engine to be tested obtain automatically into
The text unit of line search test, the acquisition of wherein text unit is comprehensive, you can the most search word of generation covering, and according to
Search word obtains corresponding search result information, generates test report, completes the process of automatic test, realizes to search engine
Automatic test, improve the efficiency and accuracy of test.
Further, on the basis of search engine test device first embodiment of the present invention, search engine test is proposed
The second embodiment of device, in a second embodiment, first acquisition module 10 is used for:
The search word that will be obtained from the historical search text and the search word obtained from the default dictionary text
It is combined, generates the search word of predetermined number;
Default dictionary includes Chinese vocabulary bank and foreign language dictionary, from Chinese vocabulary bank and/or foreign language dictionary (such as outer cliction for prestoring
Storehouse includes English dictionary, German dictionary, Japanese dictionary etc.) in random extract dictionary text unit, word wherein single in dictionary
Can be a text unit, wherein the text unit of Chinese vocabulary bank can be word, the text of foreign language dictionary in one or more
Unit can be one or more English alphabets, or the word phrase being made up of one or more English alphabets, from what is prestored
The random dictionary text unit that extracts is to be extracted for composition at random from dictionary to scan in Chinese vocabulary bank and/or foreign language dictionary
The text unit of test.
Using historical search text and dictionary text unit as the text unit for scanning for test, will user in the past
The search word of search, scans for the search word of Self -adaptive in the past in duration, with the text unit extracted from the dictionary that prestores
As the text unit for scanning for test, so that search engine to be tested scans for test.
In the present embodiment, the search word by that will be obtained from the historical search text is literary with from the default dictionary
The search word obtained in this is combined, and generates the search word of predetermined number.Due to scan for test text unit not only
Search word including user input, also extracts text unit, it is thus possible to which Overall Acquisition is searched from Chinese with foreign language dictionary
The text unit of rope test, and test is scanned for according to the text unit generation search word that Overall Acquisition scans for test,
Generation test report, improves the accuracy of search test.
Further, on the basis of search engine test device first embodiment of the present invention, search engine test is proposed
The 3rd embodiment of device, reference picture 4, in the third embodiment, the search engine test device also includes:
3rd acquisition module 50, for according to preset reference search engine, test being scanned for the search word, obtains
Take corresponding reference search result information;
According to preset reference search engine, test is scanned for the search word, obtain corresponding with reference to search knot
Fruit information, preset reference search engine can be the legacy version search engine searched before index upgrade to be tested or with it is to be tested
The competitive search engine of search engine, one or more is can be with reference to search engine, and the search word is scanned for survey
Examination, i.e., scanned in search to be tested test search word all import scanned in preset reference search engine survey
Examination, obtains corresponding reference search result information.Wherein, can only obtain what user searched in a search engine in preset duration
Hot word is tested search engine to be tested, thus now also only need to be to the search hot word with reference to search engine, and it is right to obtain
The reference search result information answered, corresponding reference search result information includes Search Results number, Search Results, search time
Deng.
3rd generation module 60, for generating corresponding reference test report with reference to search result information according to each;
Output module 70, test report and the reference test report for comparing search engine to be tested, generation is simultaneously
Export corresponding comparison result report.
Corresponding reference test report is generated with reference to search result information according to each, i.e., according to each search word in reference
The reference search result information generated in search engine generates corresponding reference test report, and each is set out in test report
Search word, the corresponding Search Results number of each search word, Search Results, search time, to resource in acquisition search result information
Occupancy etc., using the test report and the reference test report of search engine to be tested, generation comparison result report, i.e.,
Reference of each search word respectively in search engine to be tested with reference search engine can be set out in comparison result report
Search result information, comparison result report can be as shown in Figure 12 scenes.
In the present embodiment, by the 3rd acquisition module 50, for according to preset reference search engine, to the search
Word scans for test, obtains corresponding reference search result information;3rd generation module 60, for according to each reference search
Object information generates corresponding reference test report;Output module 70, for compare search engine to be tested test report and
The reference test report, generates and exports corresponding comparison result report.Search word is entered by reference to search engine
Line search is tested, obtain corresponding reference search result information and with the corresponding Search Results obtained to search engine to be tested
Information is compared, and carries out validity evaluation and test, and more than reviewer searches according to search engine to be tested test acquisition
Rope object information carries out the evaluation and test of subjectivity, thus improves the accuracy of test result.
Further, on the basis of search engine test device 3rd embodiment of the present invention, search engine test is proposed
The fourth embodiment of device, reference picture 5, in the fourth embodiment, the output module 70 includes:
Extraction unit 71, for extracting the search result information in the test report and with reference to the ginseng in test report
Search result information is examined, wherein search result information is scanned for testing and produced using search engine to be tested to search word
One or more result parameters during raw Search Results number, Search Results, search are time-consuming, root is included with reference to search result information
According to the Search Results number produced by with reference to search engine test being scanned for search word, Search Results, search in time-consuming one
Individual or multiple result parameters;
Acquiring unit 72, for comparing search result information and referring to search result information, obtain search result information and
With reference to the comparison data of the similar result parameter of search result information;
The reference search result information in the search result information and reference test report in the test report is extracted,
One or more results ginseng during Search Results number, Search Results according to default evaluation and test Requirement Acquisition generation, search are time-consuming
Number, the parameter of acquisition is similar result parameter, i.e., be Search Results number, Search Results when search engine parameters to be tested are obtained
When, it is also Search Results number, Search Results time-consuming rather than Search Results, search to obtain with reference to search engine parameters, and acquisition is searched
The comparison data of rope object information result parameter similar with reference search result information, i.e., search to search engine to be tested with reference
Index is held up after similar result parameter is compared and generates comparison data.
Generation unit 73, for the ratio logarithm according to search result information result parameter similar with reference search result information
According to the corresponding comparison result report of generation;
Output unit 74, for by the comparison result report output to default evaluation and test terminal, for reviewer
Carry out test performance assessment.
According to the comparison data of search result information result parameter similar with reference search result information, corresponding ratio is generated
Result is reported, comparison result report can be as shown in figure 13, the comparison result report output is evaluated and tested in terminal to default,
So that reviewer carries out the property of test performance assessment, i.e. reviewer according to comparison result report evaluation and test search engine to be tested
Energy.
In the present embodiment, by extraction unit 71, for extract the search result information in the test report and
With reference to the reference search result information in test report, wherein search result information using search engine to be tested to search
Word scan for Search Results number produced by test, Search Results, search it is time-consuming in one or more result parameters, reference
Search result information includes Search Results number, the search knot according to produced by test is scanned for search word with reference to search engine
Really, one or more result parameters searched in taking;Acquiring unit 72, for comparing search result information and being tied with reference to search
Fruit information, obtains the comparison data of search result information result parameter similar with reference search result information;Generation unit 73, uses
In the comparison data according to search result information result parameter similar with reference search result information, corresponding comparison result is generated
Report;Output unit 74, for by the comparison result report output to default evaluation and test terminal, so that reviewer is carried out
Test performance is assessed.
Further, on the basis of search engine test device first embodiment of the present invention, search engine test is proposed
5th embodiment of device, reference picture 6, in the 5th embodiment, second acquisition module 30 includes:
Search test cell 31, for utilizing search engine to be tested, scans for test to search word one by one;
Recording unit 32, the time-consuming time-out of search for scanning for test to a search word when search engine to be tested or
When returning to search result information error, record search takes the error day that the overtime daily record of time-out or search result information malfunction
Will, and the search test of next search word is carried out, until completing the search test to all search words.
In test process, when scanning for test to search word one by one, the preset search time, judge to search search word
Whether the rope time is more than the preset search time, and one search word is entered when the search time of search word the preset search time is more than
The time-consuming time-out of search of line search test, record search takes the overtime daily record of time-out and exports, and developer is according to output
Overtime daily record, make a concrete analysis of these search times it is long the reason for and search engine is improved, with further Optimizing Search
Function.When search engine to be tested scans for test to a search word, returns to search result information error, search knot is returned
The error of fruit information includes that the search result information of error and return in returning result information process is wrong, finds therein
Error section, is recorded, and exploitation or program member are notified by various modes.Developer or project occupant according to
Actual search results and preset search result it is inconsistent be partially improved search engine to be measured, until obtaining corresponding Search Results
Information.In this embodiment, record search takes the error daily record of overtime daily record or the search result information error of time-out, goes forward side by side
The search test of the next search word of row, will not stop test until completing the search test to all search words.
In the present embodiment, by searching for test cell 31, for utilizing search engine to be tested, search word is entered one by one
Line search is tested;Recording unit 32, the search for scanning for test to a search word when search engine to be tested is time-consuming super
When or return search result information malfunction when, record search take time-out overtime daily record or search result information error error
Daily record, and the search test of next search word is carried out, until completing the search test to all search words.Due to test process
In test is scanned for a search word when search engine to be tested the time-consuming time-out of search or return to search result information error
When, record search take time-out overtime daily record or search result information error error daily record, be sent to developer or
Project personnel, developer or project personnel are improved to search engine to be tested, and will not stop test, i.e., to next
Individual search word proceeds search test, until completing the search test to all search words, it is thus possible to improve the work of test
Make efficiency.
The present invention also provides a kind of search engine method of testing, and the search engine method of testing is mainly used in mobile terminal
On, in search engine method of testing first embodiment is moved, reference picture 7, search engine method of testing includes:
Step S10, when test instruction is detected, obtains search engine to be tested and is scanned in past preset duration
Historical search text, and according to historical search text and default dictionary text, generate text unit;
Search engine (search engine) refers to according to certain strategy, with specific computer program from interconnection
It is online to collect information, after information is organized and processed, retrieval service is provided the user, the renewal of search engine version is
Very frequently, and every time renewal finish after will to renewal after search engine test, with judge its whether satisfaction property
Can require, the search engine after renewal is properly termed as search engine to be tested, search engine to be tested need to refer to search engine
Compare (can be the legacy version search engine before updating with reference to search engine), so that reviewer is to search engine to be tested
Carry out test performance assessment.
When test instruction is detected, test instruction can artificially be triggered, or system trigger, wherein test instruction
Can clocked flip, such as can be set daily morning or specific time point triggering test instruction, when detect test instruction when, obtain
Take scan for test text unit, acquisition scan for test text unit can have various, single word, phrase or
The search word of person's user input all can be to scan for test text unit, when test is scanned for search engine, can be right
All text unit thorough search tests, also can extract part text unit therein, can such as be used by oneself being recorded in server
The hot word of family search is that the more text unit of searching times is extracted and scans for test.
As long as carrying out obtaining the text unit for scanning for test by due to detecting test instruction, and it is not limited to artificial
Triggering command, thus automatic test can be realized, and can clocked flip test instruction thus can realize that timing is entered to search engine
Row automatic test.
Alternatively, when user scans in past preset duration in search engine to be tested, the search of its input
Word, the searching times to search word can be all recorded in corresponding memory, when test instruction is detected, obtain to be tested searching
Index holds up the historical search text scanned in past preset duration, and past preset duration can be one month, and 1 year even
More long, the historical search text of search includes the search word of user input, and scans for what is tested during test in the past
Search text, the search word of user input is including the hot word searched for etc..
Step S20, according to text unit, generates the search word of predetermined number;
When do not prestored in search engine to be tested dictionary when, importing prestores dictionary, wherein the dictionary that prestores can be Chinese word
Storehouse or English cliction storehouse, Japanese dictionary etc., the dictionary that prestores is not limited to a type;When default in search engine to be tested
Prestore dictionary when, call the dictionary that prestores.Word wherein single in dictionary can be a text unit, wherein Chinese word
The text unit in storehouse can be word in one or more, and the text unit of English dictionary can be one or more English alphabets, or
The word that person is made up of one or more English alphabets, the first generation module 20, for carrying out independent assortment to text unit,
Independent assortment is carried out to text unit and can be to be combined word single in Chinese vocabulary bank, the mode of combination has various, including
Random combine etc., independent assortment is carried out to text unit also to be included being combined letter single or multiple in English dictionary,
Conventional word phrase or sentence etc. is combined into, additionally, text unit also can simultaneously include the text unit in Chinese vocabulary bank
With the text unit in foreign language dictionary.After carrying out independent assortment to text unit, the search word of predetermined number is generated, i.e., to text
After unit carries out independent assortment, the search word of predetermined number related to text unit or close is generated, different searches
Index is held up because its Performance of Search Engine is different, and the search word of different numbers can be generated according to the text unit after independent assortment,
Test is scanned for according to search word.
Step S30, using search engine to be tested, scans for test to search word one by one, obtains corresponding search knot
Fruit information;
After generation search word, search engine to be tested scans for test to search word one by one, i.e., to be measured according to search word
The search data obtained through various channels are converted into structural data by examination search engine, each in structured search data
Plant field and set up corresponding index, and returning result is to obtain corresponding search result information, wherein search result information can be
Search word, the corresponding Search Results number of search word, the corresponding Search Results of search word, search time etc., wherein Search Results believe
Breath is additionally included in the occupancy to resource when obtaining search result information, wherein including calculating money to CPU to the occupancy of resource
The common index such as the occupancy in source, the consumption to internal memory, the consumption to Internet resources.
Using search engine to be tested, test is scanned for search word one by one, you can the search word to generating all is carried out
Test search, obtains corresponding search result information.
Step S40, according to each search result information, generates test report.
According to each search result information, i.e., the Search Results number according to corresponding to each search word, Search Results, search
Time, obtain in search result information to occupancy of resource etc., automatically generate test report, the test report of generation can be such as figure
11, each search word is set out in test report, the corresponding Search Results number of each search word, Search Results, search time,
Obtain in search result information to occupancy of resource etc., so that reviewer is evaluated and tested according to test report, rather than hand
Move and search word is input into search engine to be tested, then the action that Search Results are recorded one by one, greatly improve work
Make efficiency.
In the present embodiment, by step S10, when test instruction is detected, acquisition scans for the text list of test
Unit;Step S20, independent assortment is carried out to text unit, generates the search word of predetermined number;Step S30, using search to be tested
Engine, scans for test to search word one by one, obtains corresponding search result information;Step S40, according to each Search Results
Information, generates test report.Test instruction in the present embodiment by system trigger, and can be more than artificial triggering, and when detection
When test instruction, search engine to be tested obtains the text unit for scanning for test, the wherein acquisition of text unit automatically
Comprehensively, you can the most search word of generation covering, and according to search word corresponding search result information, generation test report are obtained
Accuse, complete the process of automatic test, realize the automatic test to search engine, improve the efficiency and accuracy of test.
Further, on the basis of search engine method of testing first embodiment of the present invention, search engine test is proposed
The second embodiment of method, in a second embodiment, according to historical search text and default dictionary text in the step S10,
Generation text unit step includes:
Step S11, the search word that will be obtained from the historical search text is obtained with from the default dictionary text
Search word be combined, generate predetermined number search word;
Default dictionary includes Chinese vocabulary bank and foreign language dictionary, from Chinese vocabulary bank and/or foreign language dictionary (such as outer cliction for prestoring
Storehouse includes English dictionary, German dictionary, Japanese dictionary etc.) in random extract dictionary text unit, word wherein single in dictionary
Can be a text unit, wherein the text unit of Chinese vocabulary bank can be word, the text of foreign language dictionary in one or more
Unit can be one or more English alphabets, or the word phrase being made up of one or more English alphabets, from what is prestored
The random dictionary text unit that extracts is to be extracted for composition at random from dictionary to scan in Chinese vocabulary bank and/or foreign language dictionary
The text unit of test.
Using historical search text and dictionary text unit as the text unit for scanning for test, will user in the past
The search word of search, scans for the search word of Self -adaptive in the past in duration, with the text unit extracted from the dictionary that prestores
As the text unit for scanning for test, so that search engine to be tested scans for test.
In the present embodiment, the search word by that will be obtained from the historical search text is literary with from the default dictionary
The search word obtained in this is combined, and generates the search word of predetermined number.Due to scan for test text unit not only
Search word including user input, also extracts text unit, it is thus possible to which Overall Acquisition is searched from Chinese with foreign language dictionary
The text unit of rope test, and test is scanned for according to the text unit generation search word that Overall Acquisition scans for test,
Generation test report, improves the accuracy of search test.
Further, on the basis of search engine method of testing first embodiment of the present invention, search engine test is proposed
The 3rd embodiment of method, reference picture 8, in the third embodiment, the search engine method of testing also includes:
Step S50, according to preset reference search engine, test is scanned for the search word, obtains corresponding ginseng
Examine search result information;
According to preset reference search engine, test is scanned for the search word, obtain corresponding with reference to search knot
Fruit information, preset reference search engine can be the legacy version search engine searched before index upgrade to be tested or with it is to be tested
The competitive search engine of search engine, one or more is can be with reference to search engine, and the search word is scanned for survey
Examination, i.e., scanned in search to be tested test search word all import scanned in preset reference search engine survey
Examination, obtains corresponding reference search result information.Wherein, can only obtain what user searched in a search engine in preset duration
Hot word is tested search engine to be tested, thus now also only need to be to the search hot word with reference to search engine, and it is right to obtain
The reference search result information answered, corresponding reference search result information includes Search Results number, Search Results, search time
Deng.
Step S60, corresponding reference test report is generated according to each with reference to search result information;
Step S70, compares the test report and the reference test report of search engine to be tested, generates and export correspondence
Comparison result report.
Corresponding reference test report is generated with reference to search result information according to each, i.e., according to each search word in reference
The reference search result information generated in search engine generates corresponding reference test report, and each is set out in test report
Search word, the corresponding Search Results number of each search word, Search Results, search time, to resource in acquisition search result information
Occupancy etc., using the test report and the reference test report of search engine to be tested, generation comparison result report, i.e.,
Reference of each search word respectively in search engine to be tested with reference search engine can be set out in comparison result report
Search result information, comparison result report can be as shown in Figure 12 scenes.
In the present embodiment, by step S50, according to preset reference search engine, the search word is scanned for
Test, obtains corresponding reference search result information;Step S60, corresponding ginseng is generated according to each with reference to search result information
Examine test report;Step S70, compares the test report and the reference test report of search engine to be tested, generates and exports
Corresponding comparison result report.By scanning for test to search word in reference to search engine, obtain corresponding reference and search
Rope object information is simultaneously compared with to the corresponding search result information that search engine to be tested is obtained, and carries out validity and comments
Survey, and more than reviewer carries out the evaluation and test of subjectivity according to the search result information to search engine to be tested test acquisition,
Thus improve the accuracy of test result.
Further, on the basis of search engine method of testing 3rd embodiment of the present invention, search engine test is proposed
The fourth embodiment of method, reference picture 9, in the fourth embodiment, step S70 compares the test report of search engine to be tested
With the reference test report, generating and export corresponding comparison result reporting step also includes:
Step S71, extracts the search result information in the test report and is searched for reference to the reference in test report
Object information, wherein search result information scan for searching produced by test to search word using search engine to be tested
One or more result parameters during rope number of results, Search Results, search are time-consuming, include according to reference with reference to search result information
Search engine search word is scanned for Search Results number produced by test, Search Results, search it is time-consuming in one or many
Individual result parameter;
Step S72, compares search result information and refers to search result information, obtains search result information and with reference to search
The comparison data of the similar result parameter of object information;
The reference search result information in the search result information and reference test report in the test report is extracted,
One or more results ginseng during Search Results number, Search Results according to default evaluation and test Requirement Acquisition generation, search are time-consuming
Number, the parameter of acquisition is similar result parameter, i.e., be Search Results number, Search Results when search engine parameters to be tested are obtained
When, it is also Search Results number, Search Results time-consuming rather than Search Results, search to obtain with reference to search engine parameters, and acquisition is searched
The comparison data of rope object information result parameter similar with reference search result information, i.e., search to search engine to be tested with reference
Index is held up after similar result parameter is compared and generates comparison data.
Step S73, according to the comparison data of search result information result parameter similar with reference search result information, generation
Corresponding comparison result report;
Step S74, the comparison result report output is evaluated and tested in terminal to default, so that reviewer is tested
Performance Evaluation.
According to the comparison data of search result information result parameter similar with reference search result information, corresponding ratio is generated
Result is reported, comparison result report can be as shown in figure 13, the comparison result report output is evaluated and tested in terminal to default,
So that reviewer carries out the property of test performance assessment, i.e. reviewer according to comparison result report evaluation and test search engine to be tested
Energy.
In the present embodiment, by step S71, the search result information in the test report and reference test are extracted
Reference search result information in report, wherein search result information are searched using search engine to be tested to search word
One or more result parameters during Search Results number, Search Results produced by rope test, search are time-consuming, with reference to Search Results
Information includes Search Results number, Search Results, the search according to produced by test is scanned for search word with reference to search engine
One or more result parameters in time-consuming;Step S72, compares search result information and refers to search result information, and acquisition is searched
The comparison data of rope object information result parameter similar with reference search result information;Step S73, according to search result information and
With reference to the comparison data of the similar result parameter of search result information, corresponding comparison result report is generated;Step S74, will be described
In comparison result report output to default evaluation and test terminal, so that reviewer carries out test performance assessment.
Further, on the basis of search engine method of testing first embodiment of the present invention, search engine test is proposed
5th embodiment of method, reference picture 10, in the 5th embodiment, step S30, utilization search engine to be tested, one by one
Test is scanned for search word, obtaining corresponding search result information step includes:
Step S31, using search engine to be tested, scans for test to search word one by one;
Step S32, searches when the search that search engine to be tested scans for test to a search word takes time-out or returns
When rope object information malfunctions, record search takes the error daily record of overtime daily record or the search result information error of time-out, goes forward side by side
The search test of the next search word of row, until completing the search test to all search words.
In test process, when scanning for test to search word one by one, the preset search time, judge to search search word
Whether the rope time is more than the preset search time, and one search word is entered when the search time of search word the preset search time is more than
The time-consuming time-out of search of line search test, record search takes the overtime daily record of time-out and exports, and developer is according to output
Overtime daily record, make a concrete analysis of these search times it is long the reason for and search engine is improved, with further Optimizing Search
Function.When search engine to be tested scans for test to a search word, returns to search result information error, search knot is returned
The error of fruit information includes that the search result information of error and return in returning result information process is wrong, finds therein
Error section, is recorded, and exploitation or program member are notified by various modes.Developer or project occupant according to
Actual search results and preset search result it is inconsistent be partially improved search engine to be measured, until obtaining corresponding Search Results
Information.In this embodiment, record search takes the error daily record of overtime daily record or the search result information error of time-out, goes forward side by side
The search test of the next search word of row, will not stop test until completing the search test to all search words.
In the present embodiment, by step S31, using search engine to be tested, test is scanned for search word one by one;
Step S32, when the search that search engine to be tested scans for test to a search word takes time-out or returns to Search Results letter
During breath error, record search takes the error daily record of overtime daily record or the search result information error of time-out, and carries out next
The search test of search word, until completing the search test to all search words.Due in test process when it is to be tested search draw
When holding up the time-consuming time-out of search or return search result information error that test is scanned for a search word, record search is time-consuming to surpass
When overtime daily record or search result information error error daily record, be sent to developer or project personnel, developer
Or project personnel are improved to search engine to be tested, and test will not be stopped, i.e., next search word be proceeded
Search test, until completing the search test to all search words, it is thus possible to improve the operating efficiency of test.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words
The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes
Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of search engine test device, it is characterised in that the search engine test device includes:
First acquisition module, for when test instruction is detected, obtaining search engine to be tested and entering in past preset duration
The historical search text of line search, and according to historical search text and default dictionary text, generate text unit;
First generation module, for according to the text unit, generating the search word of predetermined number;
Second acquisition module, for utilizing search engine to be tested, scans for test to search word one by one, obtains corresponding searching
Rope object information;
Second generation module, for according to each search result information, generating test report.
2. search engine test device as claimed in claim 1, it is characterised in that first acquisition module is used for:
The search word obtained from the historical search text is carried out with the search word obtained from the default dictionary text
Combination, generates the search word of predetermined number.
3. search engine test device as claimed in claim 1, it is characterised in that the search engine test device is also wrapped
Include:
3rd acquisition module, for according to preset reference search engine, test being scanned for the search word, obtains correspondence
Reference search result information;
3rd generation module, for generating corresponding reference test report with reference to search result information according to each;
Output module, test report and the reference test report for comparing search engine to be tested, it is right to generate and export
The comparison result answered is reported.
4. search engine test device as claimed in claim 3, it is characterised in that the output module includes:
Extraction unit, for extracting the search result information in the test report and being searched for reference to the reference in test report
Object information, wherein search result information scan for searching produced by test to search word using search engine to be tested
One or more result parameters during rope number of results, Search Results, search are time-consuming, include according to reference with reference to search result information
Search engine search word is scanned for Search Results number produced by test, Search Results, search it is time-consuming in one or many
Individual result parameter;
Acquiring unit, for comparing search result information and referring to search result information, obtains search result information and reference is searched
The comparison data of the similar result parameter of rope object information;
Generation unit, it is raw for the comparison data according to search result information result parameter similar with reference search result information
Into the report of corresponding comparison result;
Output unit, for by the comparison result report output to default evaluation and test terminal, so that reviewer is surveyed
Examination Performance Evaluation.
5. the search engine test device as described in Claims 1-4 any one, it is characterised in that described second obtains mould
Block includes:
Search test cell, for utilizing search engine to be tested, scans for test to search word one by one;
Recording unit, the time-consuming time-out of search or return for scanning for test to a search word when search engine to be tested are searched
When rope object information malfunctions, record search takes the error daily record of overtime daily record or the search result information error of time-out, goes forward side by side
The search test of the next search word of row, until completing the search test to all search words.
6. a kind of search engine method of testing, it is characterised in that the search engine method of testing includes:
When test instruction is detected, the historical search text that search engine to be tested is scanned in past preset duration is obtained
This, and according to historical search text and default dictionary text, generate text unit;
According to the text unit, the search word of predetermined number is generated;
Using search engine to be tested, test is scanned for search word one by one, obtain corresponding search result information;
According to each search result information, test report is generated.
7. search engine method of testing as claimed in claim 6, it is characterised in that described according to the text unit, generation
The search word step of predetermined number includes:
The search word obtained from the historical search text is carried out with the search word obtained from the default dictionary text
Combination, generates the search word of predetermined number.
8. search engine method of testing as claimed in claim 6, it is characterised in that described according to each search result information,
Also include after generation test report step:
According to preset reference search engine, test is scanned for the search word, obtain corresponding reference Search Results letter
Breath;
Corresponding reference test report is generated with reference to search result information according to each;
The test report and the reference test report of search engine to be tested are compared, corresponding comparison result report is generated and export
Accuse.
9. search engine method of testing as claimed in claim 8, it is characterised in that the survey of the comparison search engine to be tested
Examination report and the reference test report, generating and export corresponding comparison result reporting step includes:
The reference search result information in the search result information and reference test report in the test report is extracted, wherein
Search result information scans for Search Results number, the search produced by test using search engine to be tested to search word
As a result, one or more result parameters searched in taking, include according to reference search engine to searching with reference to search result information
Rope word scan for Search Results number produced by test, Search Results, search it is time-consuming in one or more result parameters;
Compare search result information and refer to search result information, obtain search result information similar with reference to search result information
The comparison data of result parameter;
According to the comparison data of search result information result parameter similar with reference search result information, generate corresponding comparison and tie
Retribution is accused;
The comparison result report output is evaluated and tested in terminal to default, so that reviewer carries out test performance assessment.
10. the search engine method of testing as described in claim 6 to 9 any one, it is characterised in that described using to be tested
Search engine, scans for test to search word one by one, and obtaining corresponding search result information step includes:
Using search engine to be tested, test is scanned for search word one by one;
When the search that search engine to be tested scans for test to a search word takes time-out or return to search result information
Stagger the time, record search takes the error daily record of overtime daily record or the search result information error of time-out, and carries out next search
The search test of word, until completing the search test to all search words.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611086651.2A CN106776299A (en) | 2016-11-30 | 2016-11-30 | Search engine test device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611086651.2A CN106776299A (en) | 2016-11-30 | 2016-11-30 | Search engine test device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106776299A true CN106776299A (en) | 2017-05-31 |
Family
ID=58914917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611086651.2A Pending CN106776299A (en) | 2016-11-30 | 2016-11-30 | Search engine test device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776299A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776333A (en) * | 2016-12-27 | 2017-05-31 | 努比亚技术有限公司 | The method of testing and mobile terminal of a kind of search engine |
CN108052442A (en) * | 2017-10-30 | 2018-05-18 | 努比亚技术有限公司 | A kind of engine test method, terminal and computer readable storage medium |
CN108776641A (en) * | 2018-05-28 | 2018-11-09 | 北京五八信息技术有限公司 | Hot word test method, device and the electronic equipment of application program |
CN108959067A (en) * | 2018-05-31 | 2018-12-07 | 康键信息技术(深圳)有限公司 | Test method, device and the computer readable storage medium of search engine |
CN109614326A (en) * | 2018-12-05 | 2019-04-12 | 广东小天才科技有限公司 | A kind of test method and server of searching algorithm |
CN110221971A (en) * | 2019-05-21 | 2019-09-10 | 口口相传(北京)网络技术有限公司 | The test method and device of search engine, electronic equipment, storage medium |
CN110309390A (en) * | 2018-03-15 | 2019-10-08 | 广东神马搜索科技有限公司 | Index column indention method, apparatus and server suitable for search |
CN111260965A (en) * | 2020-01-17 | 2020-06-09 | 宇龙计算机通信科技(深圳)有限公司 | Word stock generation method and related device |
CN112417264A (en) * | 2019-08-23 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Information searching method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120166466A1 (en) * | 2010-12-28 | 2012-06-28 | General Electric Company | Methods and apparatus for adaptive searching for healthcare information |
CN103544307A (en) * | 2013-11-04 | 2014-01-29 | 北京中搜网络技术股份有限公司 | Multi-search-engine automatic comparison and evaluation method independent of document library |
CN105093016A (en) * | 2015-07-28 | 2015-11-25 | 努比亚技术有限公司 | Automation testing method and device for mobile terminal |
CN105989152A (en) * | 2015-03-02 | 2016-10-05 | 深圳市腾讯计算机系统有限公司 | Search engine service quality monitoring methods, apparatus and system |
-
2016
- 2016-11-30 CN CN201611086651.2A patent/CN106776299A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120166466A1 (en) * | 2010-12-28 | 2012-06-28 | General Electric Company | Methods and apparatus for adaptive searching for healthcare information |
CN103544307A (en) * | 2013-11-04 | 2014-01-29 | 北京中搜网络技术股份有限公司 | Multi-search-engine automatic comparison and evaluation method independent of document library |
CN105989152A (en) * | 2015-03-02 | 2016-10-05 | 深圳市腾讯计算机系统有限公司 | Search engine service quality monitoring methods, apparatus and system |
CN105093016A (en) * | 2015-07-28 | 2015-11-25 | 努比亚技术有限公司 | Automation testing method and device for mobile terminal |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776333A (en) * | 2016-12-27 | 2017-05-31 | 努比亚技术有限公司 | The method of testing and mobile terminal of a kind of search engine |
CN108052442A (en) * | 2017-10-30 | 2018-05-18 | 努比亚技术有限公司 | A kind of engine test method, terminal and computer readable storage medium |
CN110309390B (en) * | 2018-03-15 | 2021-10-08 | 阿里巴巴(中国)有限公司 | Index reduction method and device suitable for search and server |
CN110309390A (en) * | 2018-03-15 | 2019-10-08 | 广东神马搜索科技有限公司 | Index column indention method, apparatus and server suitable for search |
CN108776641A (en) * | 2018-05-28 | 2018-11-09 | 北京五八信息技术有限公司 | Hot word test method, device and the electronic equipment of application program |
CN108959067A (en) * | 2018-05-31 | 2018-12-07 | 康键信息技术(深圳)有限公司 | Test method, device and the computer readable storage medium of search engine |
CN108959067B (en) * | 2018-05-31 | 2023-04-07 | 康键信息技术(深圳)有限公司 | Method and device for testing search engine and computer readable storage medium |
CN109614326A (en) * | 2018-12-05 | 2019-04-12 | 广东小天才科技有限公司 | A kind of test method and server of searching algorithm |
CN110221971A (en) * | 2019-05-21 | 2019-09-10 | 口口相传(北京)网络技术有限公司 | The test method and device of search engine, electronic equipment, storage medium |
CN110221971B (en) * | 2019-05-21 | 2023-01-24 | 口口相传(北京)网络技术有限公司 | Search engine testing method and device, electronic equipment and storage medium |
CN112417264A (en) * | 2019-08-23 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Information searching method and device |
CN112417264B (en) * | 2019-08-23 | 2024-01-30 | 腾讯科技(深圳)有限公司 | Information searching method and device |
CN111260965A (en) * | 2020-01-17 | 2020-06-09 | 宇龙计算机通信科技(深圳)有限公司 | Word stock generation method and related device |
CN111260965B (en) * | 2020-01-17 | 2021-11-16 | 宇龙计算机通信科技(深圳)有限公司 | Word stock generation method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106776299A (en) | Search engine test device and method | |
CN105094613B (en) | Terminal control mechanism and method | |
CN104808944B (en) | Touch operation inducing method and device | |
CN106156566A (en) | implicit authentication apparatus and method | |
CN106875181A (en) | A kind of barcode scanning payment processing method and mobile terminal | |
CN106383780A (en) | Monkey test method and device | |
CN104618605B (en) | Mobile terminal locating method and device | |
CN107341187A (en) | Search processing method, device, equipment and computer-readable storage medium | |
CN106161134A (en) | Mobile terminal automation testing method, device and mobile terminal | |
CN106657601A (en) | Guiding device and method for operation of intelligent terminal | |
CN107015756A (en) | Mobile terminal and its method for realizing full frame fingerprint interaction | |
CN107066290A (en) | A kind of method and apparatus for starting application according to associating policy | |
CN106447322A (en) | Mobile payment method and device | |
CN106331767A (en) | Data error correcting processing method, terminal, server, and system | |
CN106778165A (en) | Finger prints processing device and method | |
CN107066604A (en) | A kind of cleaning garbage files method and terminal | |
CN106534560A (en) | Mobile terminal control device and method | |
CN106024013A (en) | Voice data searching method and system | |
CN106682609A (en) | Detecting method and device for legality of additionally recorded fingerprints | |
CN106488035A (en) | A kind of mobile terminal and control method | |
CN106777248A (en) | A kind of search engine test evaluation method and apparatus | |
CN104915230B (en) | application control method and device | |
CN104898927B (en) | The method and device of information search | |
CN107192937B (en) | Fingerprint chip detecting method and device, electronic equipment and storage medium | |
CN106778167A (en) | Fingerprint identification device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |